/* =====================================================================
   I AM FAMOUS — styles.css
   Foster Youth Achieving Meaningful Opportunities Through Unwavering Support

   SINGLE SOURCE OF TRUTH.
   Every color, font size, radius, shadow and spacing value is a CSS
   variable declared once in the :root block below. Never hardcode a hex
   value anywhere else in this file or in any HTML page.

   Theme: "True North" — light, airy, purple-anchored. Purple carries the
   brand, teal carries support + navigation, gold is the optimistic accent,
   magenta is used sparingly for energy.

   TABLE OF CONTENTS
     1.  Design tokens
     2.  Reset + base elements
     3.  Layout primitives (container, section, grid)
     4.  Typography helpers (eyebrow, display, lede, section head)
     5.  Buttons + links
     6.  Header + navigation
     7.  Hero
     8.  Compass band (WORTH / PURPOSE / BELONGING / DIRECTION)
     9.  Impact strip
     10. Mission / momentum
     11. Program cards + grid
     12. Compass Guide feature + steps
     13. Donation (True North Circle, selector, tiers)
     14. Events + gallery
     15. Board members
     16. Youth needs + testimonial
     17. Forms
     18. Final CTA + audience pathways
     19. Footer
     20. Utilities, notes, empty states
     21. Motion + reduced motion
   ===================================================================== */


/* ------------------------------------------------------------------
   1. DESIGN TOKENS
   ------------------------------------------------------------------ */
:root {
  /* ---- Brand core -------------------------------------------------- */
  /* Sampled from the official F.A.M.O.U.S. logo artwork. */
  --purple:        #5B2A86;  /* primary purple — anchors the brand      */
  --purple-vivid:  #5F26A9;  /* logo purple — brighter, for gradients   */
  --purple-deep:   #3B1A5C;  /* deep purple — dark sections             */
  --purple-night:  #250F3B;  /* deepest purple — gradient depth         */
  --teal:          #00B4C2;  /* logo teal — support + action            */
  --teal-logo:     #00B4C2;  /* alias, kept for clarity                 */
  --teal-deep:     #00757F;  /* darkened teal — teal text on light (AA) */
  --gold:          #FEC502;  /* logo gold — optimistic accent           */
  --gold-deep:     #8A6A00;  /* darkened gold — gold text on light (AA) */
  --magenta:       #E00273;  /* logo magenta — energetic, used sparingly */
  --magenta-deep:  #B8005E;  /* darkened magenta — magenta text (AA)    */

  /* ---- Neutrals ---------------------------------------------------- */
  --ink:           #27313A;  /* primary text                            */
  --gray:          #5F6B73;  /* secondary text                          */
  --white:         #FFFFFF;
  --paper:         #FBFAFD;  /* page background — faint purple tint     */
  --paper-2:       #FFFFFF;  /* raised cards on light                   */
  --mist:          #F4F1FA;  /* light purple panel                      */
  --mist-teal:     #EBF8F9;  /* light teal panel                        */
  --mist-gold:     #FFF8E0;  /* light gold panel                        */

  /* ---- Derived tints (built only from the colors above) ------------ */
  --ink-80:        rgba(39, 49, 58, 0.80);
  --ink-70:        rgba(39, 49, 58, 0.70);
  --ink-55:        rgba(39, 49, 58, 0.55);
  --ink-16:        rgba(39, 49, 58, 0.16);
  --ink-10:        rgba(39, 49, 58, 0.10);
  --ink-06:        rgba(39, 49, 58, 0.06);

  --white-85:      rgba(255, 255, 255, 0.85);
  --white-70:      rgba(255, 255, 255, 0.70);
  --white-55:      rgba(255, 255, 255, 0.55);
  --white-22:      rgba(255, 255, 255, 0.22);
  --white-14:      rgba(255, 255, 255, 0.14);
  --white-08:      rgba(255, 255, 255, 0.08);

  --purple-30:     rgba(91, 42, 134, 0.30);
  --purple-18:     rgba(91, 42, 134, 0.18);
  --purple-10:     rgba(91, 42, 134, 0.10);
  --purple-06:     rgba(91, 42, 134, 0.06);

  --teal-30:       rgba(0, 180, 194, 0.30);
  --teal-18:       rgba(0, 180, 194, 0.18);
  --teal-10:       rgba(0, 180, 194, 0.10);

  --gold-30:       rgba(254, 197, 2, 0.30);
  --gold-16:       rgba(254, 197, 2, 0.16);

  --magenta-18:    rgba(224, 2, 115, 0.18);
  --magenta-10:    rgba(224, 2, 115, 0.08);

  /* ---- Typography -------------------------------------------------- */
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-display:  clamp(2.25rem, 1.6rem + 1.95vw, 3.5rem);  /* hero h1     */
  --fs-h1:       clamp(2.1rem, 1.35rem + 2.9vw, 3.4rem);   /* page h1     */
  --fs-h2:       clamp(1.8rem, 1.25rem + 2.1vw, 2.75rem);  /* section h2  */
  --fs-h3:       clamp(1.25rem, 1.08rem + 0.65vw, 1.6rem); /* card title  */
  --fs-h4:       clamp(1.05rem, 0.99rem + 0.28vw, 1.2rem);
  --fs-lede:     clamp(1.06rem, 0.99rem + 0.34vw, 1.28rem);
  --fs-body:     1.0625rem;   /* 17px — comfortable minimum reading size */
  --fs-small:    0.9375rem;
  --fs-eyebrow:  0.78rem;

  --lh-tight:    1.08;
  --lh-snug:     1.2;
  --lh-body:     1.65;

  /* ---- Space ------------------------------------------------------- */
  --gap-xs:  0.5rem;
  --gap-sm:  0.875rem;
  --gap:     1.25rem;
  --gap-md:  1.75rem;
  --gap-lg:  2.5rem;
  --gap-xl:  4rem;
  --section-y: clamp(3.75rem, 2rem + 6vw, 7rem);
  --container:  1200px;
  --container-narrow: 820px;
  --gutter: clamp(1.15rem, 0.6rem + 2vw, 2.5rem);

  /* ---- Shape ------------------------------------------------------- */
  --r-sm:   8px;
  --r:      14px;
  --r-md:   20px;
  --r-lg:   28px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(39, 49, 58, 0.05), 0 2px 8px rgba(39, 49, 58, 0.04);
  --shadow:    0 2px 6px rgba(39, 49, 58, 0.05), 0 12px 28px rgba(39, 49, 58, 0.07);
  --shadow-lg: 0 6px 14px rgba(39, 49, 58, 0.06), 0 26px 60px rgba(39, 49, 58, 0.11);
  --shadow-purple: 0 14px 34px rgba(91, 42, 134, 0.22);

  --ring: 0 0 0 3px var(--white), 0 0 0 6px var(--teal);
  --ring-dark: 0 0 0 3px var(--purple-night), 0 0 0 6px var(--gold);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 140ms var(--ease);
  --t:      220ms var(--ease);

  --header-h: 76px;
}


/* ------------------------------------------------------------------
   2. RESET + BASE
   ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: var(--lh-snug);
  letter-spacing: -0.022em;
  margin: 0 0 0.5em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-tight); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-weight: 700; }

p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--purple); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--purple-vivid); }

img, svg, video { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

hr { border: 0; border-top: 1px solid var(--ink-10); margin: var(--gap-lg) 0; }

strong { font-weight: 700; }

/* Visible focus everywhere — never remove without replacing. */
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
.on-dark :focus-visible { outline-color: var(--gold); }

::selection { background: var(--gold-30); color: var(--ink); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 999;
  background: var(--purple);
  color: var(--white);
  padding: 0.8rem 1.2rem;
  border-radius: var(--r-sm);
  font-weight: 700;
  text-decoration: none;
  transition: top var(--t);
}
.skip-link:focus { top: 1rem; color: var(--white); }


/* ------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   ------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight  { padding-block: calc(var(--section-y) * 0.62); }
.section--mist   { background: var(--mist); }
.section--teal   { background: var(--mist-teal); }
.section--white  { background: var(--paper-2); }

/* Dark purple sections — set .on-dark on the same element for text color */
.section--dark {
  background:
    radial-gradient(120% 90% at 12% 0%, var(--purple-vivid) 0%, transparent 55%),
    radial-gradient(90% 80% at 92% 100%, var(--purple) 0%, transparent 58%),
    linear-gradient(160deg, var(--purple-deep) 0%, var(--purple-night) 100%);
  color: var(--white);
}
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }
.on-dark p  { color: var(--white-85); }
.on-dark a  { color: var(--gold); }
.on-dark .eyebrow { color: var(--gold); }
.on-dark .eyebrow::before { background: var(--gold); }

.grid { display: grid; gap: var(--gap-md); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

/* Two-column editorial split: content + media */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.split--narrow-media { grid-template-columns: 1.1fr 0.9fr; }
@media (max-width: 900px) {
  .split, .split--narrow-media { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .split--media-last .split__media { order: 0; }
}


/* ------------------------------------------------------------------
   4. TYPOGRAPHY HELPERS
   ------------------------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  flex: none;
}
.eyebrow--purple { color: var(--purple); }
.eyebrow--purple::before { background: var(--purple); }
.eyebrow--gold { color: var(--gold-deep); }
.eyebrow--gold::before { background: var(--gold); }
.eyebrow--plain::before { display: none; }

.lede {
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: var(--gray);
  max-width: 62ch;
}
.on-dark .lede { color: var(--white-85); }

.display { font-size: var(--fs-display); line-height: var(--lh-tight); letter-spacing: -0.03em; }

.section-head { max-width: 46rem; margin-bottom: var(--gap-lg); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lede { margin-inline: auto; }

.text-center { text-align: center; }
.measure { max-width: 62ch; }

/* Oversized editorial numeral used on programs + steps */
.numeral {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--purple);
  font-variant-numeric: tabular-nums;
}


/* ------------------------------------------------------------------
   5. BUTTONS
   ------------------------------------------------------------------ */
.btn {
  --btn-bg: var(--purple);
  --btn-fg: var(--white);
  --btn-bd: var(--purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;                 /* large tap target */
  padding: 0.8rem 1.5rem;
  border: 2px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 0.975rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow-purple); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn[aria-disabled="true"] {
  opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none;
}

.btn--primary { --btn-bg: var(--purple); --btn-bd: var(--purple); }
.btn--primary:hover { --btn-bg: var(--purple-vivid); --btn-bd: var(--purple-vivid); }

.btn--teal { --btn-bg: var(--teal); --btn-bd: var(--teal); --btn-fg: var(--purple-night); }
.btn--teal:hover { --btn-bg: var(--teal-logo); --btn-bd: var(--teal-logo); box-shadow: 0 14px 34px var(--teal-30); }

.btn--gold { --btn-bg: var(--gold); --btn-bd: var(--gold); --btn-fg: var(--purple-night); }
.btn--gold:hover { box-shadow: 0 14px 34px var(--gold-30); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--purple); --btn-bd: var(--purple-30); }
.btn--outline:hover { --btn-bg: var(--purple-06); --btn-bd: var(--purple); box-shadow: none; }

.btn--white { --btn-bg: var(--white); --btn-fg: var(--purple); --btn-bd: var(--white); }
.btn--white:hover { --btn-fg: var(--purple-vivid); box-shadow: 0 14px 34px rgba(0,0,0,0.18); }

.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: var(--white-22); }
.btn--ghost-light:hover { --btn-bg: var(--white-08); --btn-bd: var(--white); box-shadow: none; }

.btn--sm { min-height: 42px; padding: 0.55rem 1.1rem; font-size: 0.9rem; }
.btn--lg { min-height: 56px; padding: 1rem 1.65rem; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  align-items: center;
}
.btn-row--center { justify-content: center; }

/* Quiet text link with an arrow that slides on hover */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--purple);
  text-decoration: none;
  min-height: 32px;
}
.arrow-link::after {
  content: "";
  width: 1.05em; height: 1.05em;
  background: currentColor;
  -webkit-mask: var(--icon-arrow) center / contain no-repeat;
  mask: var(--icon-arrow) center / contain no-repeat;
  transition: transform var(--t);
}
.arrow-link:hover { text-decoration: underline; }
.arrow-link:hover::after { transform: translateX(4px); }
.on-dark .arrow-link { color: var(--gold); }

:root {
  --icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}


/* ------------------------------------------------------------------
   6. HEADER + NAVIGATION
   ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white-85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--ink-06);
  transition: box-shadow var(--t), background var(--t);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); background: var(--white); }

.site-header > .container {
  display: flex;
  align-items: center;
  gap: var(--gap);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--purple);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin-right: auto;
  padding: 0.25rem 0;
}
.brand__logo { width: 46px; height: 46px; flex: none; }
.brand__name { font-size: 1.02rem; display: block; }
.brand__tag {
  display: block;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: var(--gap); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links li { margin: 0; }
.nav__links a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: var(--r-sm);
  color: var(--ink-80);
  font-size: 0.925rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__links a:hover { color: var(--purple); background: var(--purple-06); }
.nav__links a[aria-current="page"] { color: var(--purple); }
.nav__links a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  margin: 3px 0.7rem 0;
  border-radius: 2px;
  background: var(--teal);
}
.nav__cta { margin-left: 0.4rem; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--ink-10);
  border-radius: var(--r-sm);
  background: var(--white);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--purple);
  transition: transform var(--t), opacity var(--t-fast);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nine nav items + Donate share the 1200px container with the brand, so
   desktop links use slightly tighter spacing at every width. */
.nav__links a { padding: 0.55rem 0.4rem; font-size: 0.86rem; }
.nav { gap: 0.75rem; }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: block;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: var(--gap) var(--gutter) calc(var(--gap-lg) + env(safe-area-inset-bottom));
    background: var(--white);
    border-bottom: 1px solid var(--ink-10);
    box-shadow: var(--shadow-lg);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t), transform var(--t), visibility var(--t);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links { display: block; }
  .nav__links a {
    padding: 0.95rem 0.25rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--ink-06);
    border-radius: 0;
  }
  .nav__links a[aria-current="page"]::after { margin-inline: 0; width: 26px; }
  .nav__cta { display: flex; margin: var(--gap) 0 0; }
  .brand__tag { display: block; }
}


/* ------------------------------------------------------------------
   7. HERO
   ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 1.5rem + 5vw, 5.5rem) clamp(3.5rem, 2rem + 5vw, 6rem);
  background:
    radial-gradient(70% 60% at 88% 12%, var(--teal-10) 0%, transparent 60%),
    radial-gradient(60% 55% at 4% 88%, var(--purple-06) 0%, transparent 60%),
    var(--paper);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 1rem + 3.4vw, 3.5rem);
  align-items: center;
}
.hero__title { font-size: var(--fs-display); letter-spacing: -0.032em; margin-bottom: 0.55em; }
.hero__title em {
  font-style: normal;
  color: var(--purple);
  position: relative;
  white-space: nowrap;
}
.hero__statement {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  max-width: 36rem;
  margin-bottom: 1rem;
}
.hero__statement em { font-style: normal; color: var(--purple); }
.hero__lede { margin-bottom: var(--gap-md); max-width: 34rem; }
.hero .btn-row { margin-bottom: var(--gap); }

.hero__give {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-small);
  color: var(--gray);
}
.hero__give a { font-weight: 700; color: var(--purple); }

/* Compass ring watermark behind hero art */
.hero__ring {
  position: absolute;
  right: -12%;
  top: -18%;
  width: min(52vw, 640px);
  aspect-ratio: 1;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

/* Layered editorial media composition */
.media-stack { position: relative; }
.media-stack__main {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--mist);
}
.media-stack__main img { width: 100%; height: 100%; object-fit: cover; }
.media-stack__main .ph { padding-bottom: 26%; }
.media-stack__inset {
  position: absolute;
  left: -8%;
  bottom: 8%;
  width: 46%;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1;
  background: var(--mist-teal);
}
.media-stack__inset img { width: 100%; height: 100%; object-fit: cover; }

/* Floating "true north" badge over the composition */
.float-badge {
  position: absolute;
  right: -4%;
  top: 8%;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.05rem;
  border-radius: var(--r-pill);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
  max-width: 62%;
}
.float-badge svg { width: 26px; height: 26px; flex: none; }
.float-badge span { line-height: 1.25; }
.float-badge small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 460px; margin-inline: auto; width: 100%; }
  .media-stack__inset { width: 40%; left: -4%; }
  .float-badge { right: 0; }
}
@media (max-width: 520px) {
  .media-stack__inset { display: none; }
  .float-badge { position: static; max-width: none; margin-top: var(--gap); }
}

/* Page hero — used on every interior page */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.75rem, 1.5rem + 4.5vw, 5rem);
  background:
    radial-gradient(80% 120% at 90% 0%, var(--purple-vivid) 0%, transparent 62%),
    linear-gradient(150deg, var(--purple-deep) 0%, var(--purple-night) 100%);
  color: var(--white);
}
.page-hero__inner { position: relative; z-index: 2; max-width: 54rem; }
.page-hero h1 { color: var(--white); margin-bottom: 0.45em; }
.page-hero .lede { color: var(--white-85); }
.page-hero .btn-row { margin-top: var(--gap-md); }
.page-hero__ring {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(46vw, 460px);
  aspect-ratio: 1;
  opacity: 0.16;
  pointer-events: none;
}

/* Breadcrumb-ish trail line under the header on interior pages */
.trail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  font-size: 0.82rem;
  color: var(--white-70);
}
.trail li { margin: 0; display: flex; align-items: center; gap: 0.6rem; }
.trail li + li::before { content: "/"; color: var(--white-70); }
.trail a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.15rem 0;
  color: var(--white-85);
  text-decoration: none;
}
.trail a:hover { color: var(--gold); text-decoration: underline; }


/* ------------------------------------------------------------------
   8. COMPASS BAND — signature moment
   ------------------------------------------------------------------ */
.compass-band { position: relative; overflow: hidden; }
.compass-band__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.compass-band__statement {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -0.034em;
  margin: 0 0 0.6em;
}
.compass-band__statement span { display: block; }
.compass-band__statement .becoming { color: var(--gold); }

.compass-words {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  list-style: none;
  margin: 0 0 var(--gap-md);
  padding: 0;
}
.compass-words li { margin: 0; }
.compass-words span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--white-22);
  border-radius: var(--r-pill);
  background: var(--white-08);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
}
.compass-words span::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
}
.compass-words li:nth-child(2) span::before { background: var(--gold); }
.compass-words li:nth-child(3) span::before { background: var(--magenta); }
.compass-words li:nth-child(4) span::before { background: var(--white); }

.compass-band__art { display: flex; justify-content: center; }
.compass-band__art svg { width: min(100%, 440px); height: auto; }

@media (max-width: 900px) {
  .compass-band__inner { grid-template-columns: 1fr; }
  .compass-band__art { order: -1; }
  .compass-band__art svg { width: min(72%, 320px); }
}


/* ------------------------------------------------------------------
   9. IMPACT STRIP
   ------------------------------------------------------------------ */
.impact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ink-10);
  border: 1px solid var(--ink-10);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.impact__item {
  background: var(--paper-2);
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.4rem) var(--gap);
  text-align: center;
}
.impact__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 1.2rem + 2.1vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--purple);
  margin-bottom: 0.3rem;
}
.impact__item:nth-child(2) .impact__value { color: var(--teal-deep); }
.impact__item:nth-child(3) .impact__value { color: var(--magenta-deep); }
.impact__item:nth-child(4) .impact__value { color: var(--purple-vivid); font-size: clamp(1.4rem, 1rem + 1.5vw, 2.1rem); }
.impact__label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gray);
}
@media (max-width: 780px) { .impact { grid-template-columns: repeat(2, 1fr); } }


/* ------------------------------------------------------------------
   10. MISSION / MOMENTUM
   ------------------------------------------------------------------ */
.momentum {
  display: grid;
  gap: var(--gap);
  counter-reset: momentum;
}
.momentum__step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--gap);
  align-items: start;
  padding: var(--gap-md);
  background: var(--paper-2);
  border: 1px solid var(--ink-06);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.momentum__step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.momentum__dot {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--purple-10);
  color: var(--purple);
  flex: none;
}
.momentum__step:nth-child(2) .momentum__dot { background: var(--teal-10); color: var(--teal-deep); }
.momentum__step:nth-child(3) .momentum__dot { background: var(--gold-16); color: var(--gold-deep); }
.momentum__dot svg { width: 22px; height: 22px; }
.momentum__step h3 { margin-bottom: 0.3em; font-size: var(--fs-h4); }
.momentum__step p { color: var(--gray); font-size: var(--fs-small); }


/* ------------------------------------------------------------------
   11. PROGRAM CARDS
   ------------------------------------------------------------------ */
.prog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: var(--gap-md);
}
.prog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: var(--gap-md);
  background: var(--paper-2);
  border: 1px solid var(--ink-06);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.prog-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.prog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--purple-18); }
.prog-card:hover::after { transform: scaleX(1); }

.prog-card__top { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-sm); }
.prog-card__icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--r);
  background: var(--purple-06);
  color: var(--purple);
  flex: none;
}
.prog-card__icon svg { width: 26px; height: 26px; }
.prog-card__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.15rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink-10);
  font-variant-numeric: tabular-nums;
}
.prog-card h3 { margin: 0; font-size: var(--fs-h3); }
.prog-card p { color: var(--gray); font-size: var(--fs-small); margin: 0; }
.prog-card__foot { margin-top: auto; padding-top: 0.35rem; }

/* Category tag — color-coded by program family */
.tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.28rem 0.7rem;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  background: var(--purple-06);
  color: var(--purple);
  border: 1px solid var(--purple-18);
}
.tag--stability   { background: var(--purple-06);  color: var(--purple);     border-color: var(--purple-18); }
.tag--life-skills { background: var(--mist-teal);  color: var(--teal-deep);  border-color: var(--teal-18); }
.tag--career      { background: var(--mist-gold);  color: var(--gold-deep);  border-color: var(--gold-30); }
.tag--education   { background: var(--magenta-10); color: var(--magenta-deep); border-color: var(--magenta-18); }
.tag--connection  { background: var(--mist);       color: var(--purple-vivid); border-color: var(--purple-18); }

/* Category filter row on the Programs page */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--gap-lg);
}
.filter-btn {
  min-height: 42px;
  padding: 0.5rem 1.05rem;
  border: 1px solid var(--ink-16);
  border-radius: var(--r-pill);
  background: var(--paper-2);
  color: var(--gray);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--t-fast);
}
.filter-btn:hover { border-color: var(--purple); color: var(--purple); }
.filter-btn[aria-pressed="true"] {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}


/* ------------------------------------------------------------------
   12. COMPASS GUIDE FEATURE + STEPS
   ------------------------------------------------------------------ */
.guide-feature { position: relative; overflow: hidden; }
.guide-points { list-style: none; margin: var(--gap-md) 0; padding: 0; display: grid; gap: 0.85rem; }
.guide-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  margin: 0;
  font-size: var(--fs-small);
  color: var(--white-85);
}
.guide-points li::before {
  content: "";
  width: 22px; height: 22px;
  margin-top: 1px;
  flex: none;
  background: var(--gold);
  -webkit-mask: var(--icon-star) center / contain no-repeat;
  mask: var(--icon-star) center / contain no-repeat;
}
:root {
  --icon-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 1.6l2.35 6.35a1 1 0 0 0 .59.59L21.3 10.9a1.2 1.2 0 0 1 0 2.2l-6.36 2.36a1 1 0 0 0-.59.59L12 22.4l-2.35-6.35a1 1 0 0 0-.59-.59L2.7 13.1a1.2 1.2 0 0 1 0-2.2l6.36-2.36a1 1 0 0 0 .59-.59z'/%3E%3C/svg%3E");
}

/* Q&A cards on the Compass Guide page */
.qa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--gap-md);
}
.qa-card {
  position: relative;
  padding: var(--gap-md);
  padding-top: calc(var(--gap-md) + 0.4rem);
  background: var(--paper-2);
  border: 1px solid var(--ink-06);
  border-left: 3px solid var(--teal);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.qa-card:nth-child(even) { border-left-color: var(--purple); }
.qa-card h3 {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.7em;
}
.qa-card p, .qa-card li { color: var(--gray); font-size: var(--fs-small); }
.qa-card ul { padding-left: 1.1em; margin-bottom: 0; }

/* Numbered application steps, connected by a "journey" line */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: var(--gap-md);
  counter-reset: step;
  position: relative;
}
.step {
  position: relative;
  padding: var(--gap-md);
  background: var(--paper-2);
  border: 1px solid var(--ink-06);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step__num {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: var(--gap-sm);
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}
.step:nth-child(2) .step__num { background: var(--purple-vivid); }
.step:nth-child(3) .step__num { background: var(--magenta); }
.step:nth-child(4) .step__num { background: var(--teal); color: var(--purple-night); }
.step:nth-child(5) .step__num { background: var(--teal-deep); }
.step:nth-child(6) .step__num { background: var(--gold); color: var(--purple-night); }
.step h3 { font-size: var(--fs-h4); margin-bottom: 0.35em; }
.step p { color: var(--gray); font-size: var(--fs-small); margin: 0; }


/* ------------------------------------------------------------------
   13. DONATION
   ------------------------------------------------------------------ */
.donate-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  align-items: start;
}
@media (max-width: 900px) { .donate-panel { grid-template-columns: 1fr; } }

/* The selector card (monthly / one-time + amounts) */
.donate-card {
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.25rem);
  background: var(--paper-2);
  border: 1px solid var(--ink-10);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.donate-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--gap-sm);
  margin-bottom: var(--gap);
}
.donate-card__head h3 { margin: 0; font-size: var(--fs-h4); }

/* Frequency toggle */
.freq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin-bottom: var(--gap);
  background: var(--mist);
  border-radius: var(--r-pill);
}
/* Real radio inputs (visually hidden) drive the toggle so keyboard and
   screen-reader behaviour comes from the browser, not from script. */
.freq__btn {
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: 0.6rem 0.5rem;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--gray);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--t), color var(--t), box-shadow var(--t);
}
.freq__btn:hover { color: var(--purple); }
.freq input:checked + .freq__btn {
  background: var(--purple);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.freq input:focus-visible + .freq__btn { outline: 3px solid var(--teal); outline-offset: 2px; }
.freq__flag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-top: 1px;
  text-transform: none;
}
.freq input:not(:checked) + .freq__btn .freq__flag { color: var(--gold-deep); }

/* Amount grid */
.amounts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 0.6rem;
  margin-bottom: var(--gap);
}
.amount-btn {
  min-height: 60px;
  padding: 0.6rem 0.4rem;
  border: 2px solid var(--ink-16);
  border-radius: var(--r);
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--t-fast);
}
.amount-btn:hover { border-color: var(--purple); color: var(--purple); }
.amount-btn[aria-pressed="true"] {
  border-color: var(--purple);
  background: var(--purple);
  color: var(--white);
  box-shadow: var(--shadow-purple);
}
.amount-btn small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.amount-other { margin-bottom: var(--gap); }
.amount-other[hidden] { display: none; }
.amount-other__wrap { position: relative; }
.amount-other__wrap span {
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--gray);
}
.amount-other input { padding-left: 2.1rem; }

/* Live impact readout under the amounts */
.impact-note {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: var(--gap-sm) var(--gap);
  margin-bottom: var(--gap);
  background: var(--mist-teal);
  border-radius: var(--r);
  border-left: 3px solid var(--teal);
}
.impact-note svg { width: 22px; height: 22px; flex: none; color: var(--teal-deep); margin-top: 2px; }
.impact-note p { margin: 0; font-size: var(--fs-small); color: var(--ink-80); }
.impact-note strong { display: block; color: var(--ink); }

.donate-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--gap-sm);
  padding-top: var(--gap-sm);
  margin-bottom: var(--gap);
  border-top: 1px dashed var(--ink-16);
  font-family: var(--font-display);
  font-weight: 800;
}
.donate-total__label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); }
.donate-total__value { font-size: 1.5rem; color: var(--purple); }

.fineprint { font-size: 0.8rem; line-height: 1.55; color: var(--gray); margin: 0; }

/* Monthly impact tier list */
.tiers { display: grid; gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.tiers li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--gap);
  align-items: center;
  margin: 0;
  padding: var(--gap-sm) var(--gap);
  background: var(--white-08);
  border: 1px solid var(--white-14);
  border-radius: var(--r);
  transition: background var(--t), border-color var(--t);
}
.tiers li:hover { background: var(--white-14); border-color: var(--white-22); }
.tiers__amt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--gold);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.tiers__amt small { display: block; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white-70); font-family: var(--font-body); font-weight: 600; }
.tiers p { margin: 0; font-size: var(--fs-small); }

/* Light-background variant of the tier list */
.tiers--light li { background: var(--paper-2); border-color: var(--ink-06); box-shadow: var(--shadow-sm); }
.tiers--light li:hover { border-color: var(--purple-18); background: var(--paper-2); }
.tiers--light .tiers__amt { color: var(--purple); }
.tiers--light .tiers__amt small { color: var(--gray); }
.tiers--light p { color: var(--gray); }

/* Reusable inline donation CTA band */
.donate-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--gap-md);
  align-items: center;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--r-lg);
  background:
    radial-gradient(80% 140% at 100% 0%, var(--purple-vivid) 0%, transparent 60%),
    linear-gradient(120deg, var(--purple) 0%, var(--purple-deep) 100%);
  color: var(--white);
  box-shadow: var(--shadow-purple);
}
.donate-cta h2, .donate-cta h3 { color: var(--white); margin-bottom: 0.35em; font-size: var(--fs-h3); }
.donate-cta p { color: var(--white-85); margin: 0; font-size: var(--fs-small); max-width: 52ch; }
@media (max-width: 760px) {
  .donate-cta { grid-template-columns: 1fr; }
}


/* ------------------------------------------------------------------
   14. EVENTS + GALLERY
   ------------------------------------------------------------------ */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: var(--gap-md);
}
.event-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--ink-06);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.event-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--mist);
  overflow: hidden;
}
.event-card__media img { width: 100%; height: 100%; object-fit: cover; }
.event-card__date {
  position: absolute;
  left: var(--gap-sm);
  top: var(--gap-sm);
  display: grid;
  place-items: center;
  min-width: 58px;
  padding: 0.5rem 0.6rem;
  border-radius: var(--r-sm);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  text-align: center;
  line-height: 1.05;
}
.event-card__date .m {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--magenta-deep);
}
.event-card__date .d {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.event-card__body { display: flex; flex-direction: column; gap: 0.6rem; padding: var(--gap-md); flex: 1; }
.event-card__body h3 { margin: 0; font-size: var(--fs-h4); }
.event-card__body p { margin: 0; font-size: var(--fs-small); color: var(--gray); }
.event-card__meta {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--gray);
}
.event-card__meta li { display: flex; gap: 0.5rem; align-items: center; margin: 0; }
.event-card__meta svg { width: 15px; height: 15px; flex: none; color: var(--teal-deep); }
.event-card__foot { margin-top: auto; padding-top: 0.4rem; display: flex; align-items: center; justify-content: space-between; gap: var(--gap-sm); flex-wrap: wrap; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--ink-06);
  color: var(--gray);
  border: 1px solid var(--ink-10);
}
.status-pill--open   { background: var(--mist-teal);  color: var(--teal-deep); border-color: var(--teal-18); }
.status-pill--soon   { background: var(--mist-gold);  color: var(--gold-deep); border-color: var(--gold-30); }
.status-pill--closed { background: var(--ink-06);     color: var(--gray); }

/* Demo/sample content ribbon so placeholder events are never mistaken for real ones */
.demo-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--r-sm);
  background: var(--magenta-10);
  border: 1px dashed var(--magenta);
  color: var(--magenta-deep);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.event-card__media .demo-flag { position: absolute; right: var(--gap-sm); top: var(--gap-sm); background: var(--white); }

/* Gallery — editorial masonry via CSS columns */
.gallery { columns: 3 220px; column-gap: var(--gap); }
.gallery__item {
  break-inside: avoid;
  margin-bottom: var(--gap);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--mist);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.gallery__item img { width: 100%; display: block; }
.gallery__item figcaption {
  padding: 0.7rem var(--gap-sm);
  font-size: 0.82rem;
  color: var(--gray);
  background: var(--paper-2);
}

/* IAF Circle — private calendar teaser */
.circle-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--gap-md);
  align-items: center;
  padding: clamp(1.4rem, 1rem + 1.6vw, 2.25rem);
  border: 1px dashed var(--purple-30);
  border-radius: var(--r-lg);
  background: var(--mist);
}
.circle-panel__icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  flex: none;
}
.circle-panel__icon svg { width: 26px; height: 26px; }
.circle-panel h3 { margin-bottom: 0.3em; }
.circle-panel p { margin: 0; color: var(--gray); font-size: var(--fs-small); }
@media (max-width: 760px) { .circle-panel { grid-template-columns: 1fr; text-align: left; } }


/* ------------------------------------------------------------------
   15. BOARD MEMBERS
   ------------------------------------------------------------------ */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: var(--gap-md);
}
.board-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--ink-06);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.board-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.board-card__photo {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--mist) 0%, var(--mist-teal) 100%);
  color: var(--purple-30);
  position: relative;
}
.board-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.board-card__initials {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: 0.02em;
  color: var(--purple);
  opacity: 0.5;
}
.board-card__body { padding: var(--gap-md); display: grid; gap: 0.3rem; }
.board-card__body h3 { margin: 0; font-size: var(--fs-h4); }
.board-card__role {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.board-card__bio { font-size: var(--fs-small); color: var(--gray); font-style: italic; margin: 0.4rem 0 0; }


/* ------------------------------------------------------------------
   16. YOUTH NEEDS + TESTIMONIAL
   ------------------------------------------------------------------ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--gap-md);
}
.audience-card {
  position: relative;
  padding: var(--gap-md);
  padding-top: calc(var(--gap-md) + 0.35rem);
  background: var(--paper-2);
  border: 1px solid var(--ink-06);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.audience-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--teal);
}
.audience-card:nth-child(2)::before { background: var(--gold); }
.audience-card:nth-child(3)::before { background: var(--magenta); }
.audience-card h3 {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.65em;
}
.audience-card p { margin: 0; color: var(--gray); font-size: var(--fs-small); }

/* Selectable need cards — real checkboxes, styled */
.needs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: var(--gap-sm);
  margin: 0;
  padding: 0;
  border: 0;
}
.need {
  position: relative;
  display: block;
}
.need input {
  position: absolute;
  opacity: 0;
  width: 100%; height: 100%;
  margin: 0;
  cursor: pointer;
}
.need__box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
  min-height: 68px;
  padding: var(--gap-sm) var(--gap);
  background: var(--paper-2);
  border: 2px solid var(--ink-10);
  border-radius: var(--r);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  transition: all var(--t-fast);
}
.need__box svg { width: 22px; height: 22px; color: var(--teal-deep); flex: none; }
.need input:hover + .need__box { border-color: var(--purple-30); }
.need input:focus-visible + .need__box { outline: 3px solid var(--teal); outline-offset: 3px; }
.need input:checked + .need__box {
  border-color: var(--purple);
  background: var(--purple-06);
  color: var(--purple);
  box-shadow: var(--shadow-sm);
}
.need input:checked + .need__box svg { color: var(--purple); }

/* Testimonial */
.testimonial {
  position: relative;
  max-width: 44rem;
  margin-inline: auto;
  padding: clamp(1.75rem, 1rem + 2.4vw, 3rem);
  background: var(--paper-2);
  border: 1px solid var(--ink-06);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  text-align: center;
}
.testimonial__mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.6;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.testimonial blockquote {
  margin: 0 0 var(--gap);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.testimonial figcaption { font-size: var(--fs-small); color: var(--gray); font-weight: 600; }


/* ------------------------------------------------------------------
   17. FORMS
   ------------------------------------------------------------------ */
.form-card {
  padding: clamp(1.5rem, 1rem + 1.8vw, 2.5rem);
  background: var(--paper-2);
  border: 1px solid var(--ink-10);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--gap); }
.form-grid--full { grid-template-columns: 1fr; }
.field { display: grid; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }

.field > label, .fieldset-legend {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}
.field .req { color: var(--magenta-deep); }
.field .hint { font-size: 0.8rem; color: var(--gray); font-weight: 400; font-family: var(--font-body); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="date"],
.field select,
.field textarea,
.amount-other input {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.95rem;
  border: 2px solid var(--ink-10);
  border-radius: var(--r);
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F6B73' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px;
  padding-right: 2.6rem;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-16); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px var(--purple-10);
}
.field input::placeholder, .field textarea::placeholder { color: var(--gray); opacity: 0.7; }

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--magenta); }
.field-error {
  display: none;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--magenta-deep);
}
.field.has-error .field-error { display: flex; }

fieldset { border: 0; margin: 0; padding: 0; }
.fieldset-legend { display: block; margin-bottom: 0.6rem; padding: 0; }

.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: var(--fs-small);
  color: var(--gray);
  cursor: pointer;
}
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--purple); cursor: pointer; }

.privacy-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: var(--gap-sm) var(--gap);
  border-radius: var(--r);
  background: var(--mist);
  border-left: 3px solid var(--purple);
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--gray);
}
.privacy-note svg { width: 20px; height: 20px; color: var(--purple); flex: none; margin-top: 2px; }
.privacy-note p { margin: 0; }
.privacy-note strong { color: var(--ink); }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap-sm); margin-top: var(--gap-md); }

/* Honeypot field — visually hidden but not display:none (bots fill it) */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::before {
  content: "";
  position: absolute;
  width: 20px; height: 20px;
  border: 2.5px solid var(--white-55);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Success + status states */
.form-status[hidden] { display: none; }
.form-status {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--gap);
  align-items: start;
  padding: var(--gap-md);
  border-radius: var(--r-md);
  background: var(--mist-teal);
  border: 1px solid var(--teal-18);
}
.form-status__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  flex: none;
}
.form-status__icon svg { width: 24px; height: 24px; }
.form-status h3 { margin-bottom: 0.3em; font-size: var(--fs-h4); }
.form-status p { margin: 0; font-size: var(--fs-small); color: var(--ink-80); }
.form-status--warn { background: var(--mist-gold); border-color: var(--gold-30); }
.form-status--warn .form-status__icon { background: var(--gold); color: var(--purple-night); }


/* ------------------------------------------------------------------
   18. FINAL CTA + AUDIENCE PATHWAYS
   ------------------------------------------------------------------ */
.paths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: var(--gap);
}
.path {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: var(--gap-md);
  border: 1px solid var(--white-14);
  border-radius: var(--r-md);
  background: var(--white-08);
  color: var(--white);
  text-decoration: none;
  transition: transform var(--t), background var(--t), border-color var(--t);
}
.path:hover { transform: translateY(-4px); background: var(--white-14); border-color: var(--white-22); color: var(--white); }
.path__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: var(--r);
  background: var(--white-14);
  color: var(--gold);
}
.path__icon svg { width: 22px; height: 22px; }
.path h3 { margin: 0; font-size: var(--fs-h4); color: var(--white); }
.path p { margin: 0; font-size: 0.88rem; color: var(--white-70); }
.path__go { margin-top: auto; padding-top: 0.5rem; font-size: 0.85rem; font-weight: 700; color: var(--gold); font-family: var(--font-display); }


/* ------------------------------------------------------------------
   19. FOOTER
   ------------------------------------------------------------------ */
.site-footer {
  background: linear-gradient(165deg, var(--purple-deep) 0%, var(--purple-night) 100%);
  color: var(--white-85);
  padding-block: var(--gap-xl) var(--gap-md);
  font-size: var(--fs-small);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: var(--gap-lg);
  padding-bottom: var(--gap-lg);
  border-bottom: 1px solid var(--white-14);
}
.footer-brand .brand { color: var(--white); margin: 0 0 var(--gap) 0; }
.footer-brand .brand__tag { color: var(--gold); }
.footer-brand p { color: var(--white-70); margin-bottom: 0.9em; max-width: 32ch; }
.footer-brand address { font-style: normal; color: var(--white-70); line-height: 1.6; }

.footer-col h3 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.footer-col li { margin: 0; }
.footer-col a {
  display: flex;
  align-items: center;
  min-height: 44px;                 /* minimum comfortable tap target */
  padding: 0.35rem 0;
  color: var(--white-85);
  text-decoration: none;
  transition: color var(--t-fast), transform var(--t-fast);
}
.footer-col a:hover { color: var(--gold); transform: translateX(3px); }

.footer-social { display: flex; gap: 0.6rem; margin-top: var(--gap); }
.footer-social a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--white-22);
  border-radius: 50%;
  color: var(--white);
  transition: all var(--t-fast);
}
.footer-social a:hover { background: var(--white-14); border-color: var(--gold); color: var(--gold); transform: none; }
.footer-social svg { width: 19px; height: 19px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm) var(--gap-md);
  align-items: center;
  justify-content: space-between;
  padding-top: var(--gap-md);
  font-size: 0.82rem;
  color: var(--white-55);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.footer-bottom li { margin: 0; }
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--white-70);
  text-decoration: none;
}
.footer-bottom a:hover { color: var(--gold); text-decoration: underline; }
.footer-bottom [aria-disabled="true"] { color: var(--white-55); cursor: not-allowed; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-top { grid-template-columns: 1fr; gap: var(--gap-md); }
}


/* ------------------------------------------------------------------
   20. UTILITIES, NOTES, EMPTY STATES
   ------------------------------------------------------------------ */
.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;
}

.card {
  padding: var(--gap-md);
  background: var(--paper-2);
  border: 1px solid var(--ink-06);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

/* "Coming soon / not yet connected" note — honest placeholder styling */
.note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: var(--gap-sm) var(--gap);
  border-radius: var(--r);
  border: 1px dashed var(--ink-16);
  background: var(--paper-2);
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--gray);
}
.note svg { width: 19px; height: 19px; color: var(--gold-deep); flex: none; margin-top: 2px; }
.note p { margin: 0; }
.note strong { color: var(--ink); }
.on-dark .note { background: var(--white-08); border-color: var(--white-22); color: var(--white-85); }
.on-dark .note strong { color: var(--white); }
.on-dark .note svg { color: var(--gold); }

.empty-state {
  display: grid;
  place-items: center;
  gap: 0.35rem;
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) var(--gap-md);
  text-align: center;
  border: 1px dashed var(--purple-30);
  border-radius: var(--r-lg);
  background: var(--mist);
}
.empty-state__icon {
  width: 62px; height: 62px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--purple);
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.5rem;
}
.empty-state__icon svg { width: 28px; height: 28px; }
.empty-state h3 { margin: 0; }
.empty-state p { margin: 0; max-width: 44ch; color: var(--gray); font-size: var(--fs-small); }

/* Image placeholder — clearly a placeholder, never fake photography */
.ph {
  display: grid;
  place-items: center;
  place-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 100%;
  padding: var(--gap);
  text-align: center;
  background:
    repeating-linear-gradient(135deg, var(--purple-06) 0 12px, transparent 12px 24px),
    linear-gradient(150deg, var(--mist) 0%, var(--mist-teal) 100%);
  color: var(--purple);
}
.ph svg { width: 34px; height: 34px; opacity: 0.6; }
.ph span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
  max-width: 22ch;
  line-height: 1.4;
}

.divider-arc {
  display: block;
  width: 100%;
  height: clamp(40px, 5vw, 80px);
  color: var(--paper);
}


/* ------------------------------------------------------------------
   21. MOTION
   ------------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

.compass-spin { transform-origin: 50% 50%; animation: drift 26s linear infinite; }
@keyframes drift { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}


/* ------------------------------------------------------------------
   22. COMPONENT ADJUSTMENTS
   Small rules that belong with the components above but were added
   once the pages were assembled. Keep them here rather than inline.
   ------------------------------------------------------------------ */

/* Icon slots filled by main.js — keep them from collapsing before load. */
[data-icon] { display: inline-flex; align-items: center; justify-content: center; }
[data-icon]:empty { width: 1em; height: 1em; }

.hero__give-icon svg { width: 18px; height: 18px; color: var(--magenta); }

.float-badge > [data-icon] svg { width: 26px; height: 26px; color: var(--purple); }
.float-badge small { margin-bottom: 1px; }

.status-pill [data-icon] svg { width: 14px; height: 14px; }

.need__box > [data-icon] svg { width: 22px; height: 22px; }

.circle-panel__icon [data-icon] svg,
.circle-panel__icon svg { width: 26px; height: 26px; }

.momentum__dot [data-icon] svg { width: 22px; height: 22px; }

.empty-state__icon [data-icon] svg { width: 28px; height: 28px; }

.note > [data-icon] svg,
.privacy-note > [data-icon] svg { width: 19px; height: 19px; }

.form-status__icon [data-icon] svg { width: 24px; height: 24px; }

/* A .card used as a mini feature block: give the icon dot some air. */
.card > .momentum__dot { margin-bottom: 0.25rem; }
.card .btn--block { margin-top: var(--gap); }

/* The .ph placeholder is used both as a flex child and a grid child. */
.ph > [data-icon] svg { width: 34px; height: 34px; opacity: 0.6; }

/* Gallery placeholder tiles keep their own aspect ratio. */
.gallery__item > div { display: grid; }

/* Program cards used without a description/CTA (Volunteer page). */
.prog-card .prog-card__top:only-child { margin-bottom: 0.2rem; }


/* ------------------------------------------------------------------
   23. FULL LOGO LOCKUP
   The complete F.A.M.O.U.S. artwork. Only ever place it on a light
   background — its wordmark is brand purple and teal, which disappear
   against the dark purple sections.
   ------------------------------------------------------------------ */
.brand-lockup {
  display: block;
  width: min(100%, 430px);
  height: auto;
  margin-inline: auto;
}
.brand-lockup-band { text-align: center; }
.brand-lockup-band p {
  margin: var(--gap) auto 0;
  max-width: 46ch;
  color: var(--gray);
  font-size: var(--fs-small);
}


/* ------------------------------------------------------------------
   F.A.M.O.U.S. wordmark — "I Am F.A.M.O.U.S." set in the logo's
   letter colors, on a white chip so the purple letters stay legible
   on dark page heroes.
   ------------------------------------------------------------------ */
.famous {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem 0.55rem;
  margin: 0 0 1.1rem;
  padding: 0.45rem 1rem 0.5rem;
  background: var(--white);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem);
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
}
.famous__lead { color: var(--purple); }
.famous__word { display: inline-flex; align-items: baseline; letter-spacing: 0.01em; }
.famous .f-p, .famous .f-p + .f-dot { color: var(--purple-vivid); }
.famous .f-t, .famous .f-t + .f-dot { color: var(--teal); }
.famous .f-g, .famous .f-g + .f-dot { color: var(--gold); }
.famous__heart { width: 0.95em; height: 0.86em; color: var(--magenta); align-self: center; margin-inline: 0.04em; }
.famous__heart + .f-dot { color: var(--magenta); }

/* Fixes: buttons and white badges inside dark sections were inheriting
   the .on-dark text colors (gold links / white paragraphs). */
.on-dark .btn, .on-dark .btn:hover { color: var(--btn-fg); }
.on-dark .float-badge, .on-dark p.float-badge { color: var(--ink); }


/* ------------------------------------------------------------------
   OUR TEAM page — one row per member: photo beside full biography.
   Rows alternate sides on wide screens; stack on phones.
   ------------------------------------------------------------------ */
.board-card__link { margin-top: 0.5rem; }

.team-list { display: grid; gap: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.team-member {
  display: grid;
  grid-template-columns: minmax(0, 320px) 1fr;
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  align-items: start;
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.team-member:nth-child(even) { grid-template-columns: 1fr minmax(0, 320px); }
.team-member:nth-child(even) .team-member__photo { order: 2; }
.team-member + .team-member {
  padding-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
  border-top: 1px solid var(--ink-10);
}
.team-member__photo {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(150deg, var(--mist) 0%, var(--mist-teal) 100%);
  box-shadow: var(--shadow);
}
.team-member__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-member__photo .board-card__initials { font-size: 3.4rem; }
.team-member__body h2 { font-size: var(--fs-h3); margin-bottom: 0.25em; }
.team-member__body .board-card__role { display: block; margin-bottom: var(--gap); }
.team-member__bio { max-width: 68ch; }
.team-member__bio p { color: var(--ink-80); }
.team-member__soon { color: var(--gray); font-style: italic; }

@media (max-width: 760px) {
  .team-member,
  .team-member:nth-child(even) { grid-template-columns: 1fr; }
  .team-member:nth-child(even) .team-member__photo { order: 0; }
  .team-member__photo { max-width: 260px; }
}
