/* ==========================================================================
   BRAVE — Building Resilient And Violence-free Environments
   Design system & shared styles
   ========================================================================== */

:root {
  /* Brand */
  --purple: #50147D;
  --purple-deep: #2E0B4A;
  --purple-soft: #EFE6F7;
  --teal: #079C9B;
  --teal-text: #05706F;      /* AA-compliant teal for text on light backgrounds */
  --teal-soft: #E1F4F3;
  --orange: #F47721;
  --orange-soft: #FDEBDD;

  /* Neutrals */
  --white: #FFFFFF;
  --cream: #FBF7F0;
  --cream-2: #F5EEE2;
  --ink: #241A2E;            /* body text */
  --ink-muted: #5B5266;
  --line: #E7DFD2;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 2px 8px rgba(46, 11, 74, .06);
  --shadow: 0 18px 50px -20px rgba(46, 11, 74, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--purple); text-underline-offset: 3px; }
a:hover { color: var(--teal-text); }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--purple);
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
  font-variation-settings: "SOFT" 50, "opsz" 96;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--purple); color: #fff; padding: .75rem 1.25rem; border-radius: 10px;
}
.skip-link:focus { top: 1rem; color: #fff; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.section--white { background: var(--white); }
.section--cream2 { background: var(--cream-2); }

/* ---------- Eyebrow / tagline motif ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal-text); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 34px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--purple) 0 33%, var(--teal) 33% 66%, var(--orange) 66%);
}
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head .lead { margin-bottom: 0; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.lead { font-size: 1.2rem; color: var(--ink-muted); }

.tagline { display: inline-flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.tagline li {
  font-weight: 700; font-size: .85rem; letter-spacing: .14em;
  padding: .4rem .9rem; border-radius: 999px;
}
.tagline li:nth-child(1) { background: var(--purple-soft); color: var(--purple); }
.tagline li:nth-child(2) { background: var(--teal-soft); color: var(--teal-text); }
.tagline li:nth-child(3) { background: var(--orange-soft); color: #9A410A; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--orange); --fg: var(--purple-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(244, 119, 33, .7); color: var(--fg); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--outline { --bg: transparent; --fg: var(--purple); border-color: var(--purple); }
.btn--outline:hover { background: var(--purple); color: #fff; box-shadow: 0 12px 24px -12px rgba(80, 20, 125, .6); }
.btn--light { --bg: #fff; --fg: var(--purple); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Photo frames ----------
   Each .photo uses a real image when present (data-src → background-image).
   Until real photos are added, an art-directed placeholder with a label is shown. */
.photo {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 25% 30%, rgba(244, 119, 33, .35), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(7, 156, 155, .35), transparent 50%),
    linear-gradient(135deg, #E9DDF3, #FBE5D3);
  background-size: cover; background-position: center;
  isolation: isolate;
}
.photo { margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
/* Unified photo grade: gives photos from different photographers one warm, consistent look.
   (The homepage hero photograph is intentionally left untouched.) */
.photo img, .page-hero .hero-media img { filter: saturate(.92) contrast(1.04) sepia(.07); }
.photo.is-placeholder::after {
  content: attr(data-label);
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  font-size: .78rem; font-weight: 600; line-height: 1.4; color: var(--purple-deep);
  background: rgba(255, 255, 255, .82); padding: .55rem .8rem; border-radius: 10px;
  border: 1px dashed rgba(80, 20, 125, .35);
}
.photo.is-quiet::after { content: none; }
.photo.is-placeholder::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(80, 20, 125, .18) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
}

/* ---------- Header: orange contact bar + logo + two-row navigation ----------
   Sticky: it stays at the top while visitors scroll. Over the photo banner it is transparent;
   once the page scrolls it becomes a compact, solid cream bar so it covers as little content as possible. */
.site-header {
  position: fixed; left: 0; right: 0; top: 0; z-index: 100;
  transition: background .35s, box-shadow .35s;
}
.site-header.is-scrolled {
  background: rgba(251, 247, 240, .97); box-shadow: 0 6px 24px -12px rgba(28, 7, 48, .35);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
}

/* Contact bar — deeper BRAVE orange so white text meets WCAG AA contrast (4.5:1) */
.topbar { background: #C2560F; color: #fff; font-size: .84rem; font-weight: 600; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 1rem; transition: height .35s var(--ease); }
.topbar-motto { margin: 0; letter-spacing: .14em; text-transform: uppercase; font-size: .7rem; font-weight: 700; color: #fff; }
.topbar-contact { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.topbar-contact li { display: flex; align-items: center; gap: .45rem; }
.topbar-contact svg { width: 15px; height: 15px; color: #fff; }
.topbar-contact a { color: #fff; text-decoration: none; }
.topbar-contact a:hover { color: #fff; text-decoration: underline; }
.topbar a:focus-visible { outline-color: #fff; }
.is-scrolled .topbar-inner { height: 32px; }
.is-scrolled .topbar { font-size: .8rem; }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 112px; transition: height .35s var(--ease); }
.is-scrolled .nav { height: 80px; }

/* Logo: the original transparent artwork, unchanged. Over dark photographs a soft light glow follows the logo's
   own shape so the purple lettering stays legible; on the light scrolled bar it is shown with no effect. */
.brand { display: inline-flex; flex-shrink: 0; text-decoration: none; }
.brand-logo { height: 92px; width: auto; transition: height .35s var(--ease), filter .35s; }
.site-header:not(.is-scrolled) .brand-logo, .brand--footer .brand-logo {
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, .95)) drop-shadow(0 0 5px rgba(255, 255, 255, .8)) drop-shadow(0 0 14px rgba(255, 255, 255, .45));
}
.is-scrolled .brand-logo { height: 66px; }
body.nav-open .site-header .brand-logo { filter: none; }

.nav-panel { display: flex; align-items: center; gap: 1.25rem; }
.nav-menu {
  display: grid; grid-template-columns: repeat(4, auto); gap: .15rem .25rem;
  list-style: none; margin: 0; padding: .4rem; border-radius: 18px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  transition: background .35s, border-color .35s;
}
.nav-menu a {
  display: block; position: relative; text-align: center; white-space: nowrap;
  padding: .45rem .95rem; border-radius: 12px;
  font-size: .93rem; font-weight: 500; text-decoration: none; color: rgba(255, 255, 255, .94);
  transition: background .2s, color .2s, padding .35s;
}
.nav-menu a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.nav-menu a[aria-current="page"] { font-weight: 700; color: #fff; background: rgba(255, 255, 255, .12); }
.nav-menu a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: .18rem; width: 20px; height: 3px; margin-left: -10px; border-radius: 3px; background: var(--orange);
}
/* compact light menu once scrolled */
.is-scrolled .nav-menu { background: #fff; border-color: var(--line); padding: .3rem; }
.is-scrolled .nav-menu a { color: var(--ink); padding: .26rem .9rem; font-size: .9rem; }
.is-scrolled .nav-menu a:hover { background: var(--purple-soft); color: var(--purple); }
.is-scrolled .nav-menu a[aria-current="page"] { color: var(--purple); background: var(--purple-soft); }
.is-scrolled .nav-menu a[aria-current="page"]::after { bottom: .08rem; }

.nav-donate { padding: 1.1rem 1.6rem; font-size: 1rem; box-shadow: 0 14px 28px -14px rgba(244, 119, 33, .9); transition: padding .35s, transform .25s var(--ease), box-shadow .25s; }
.nav-donate svg { width: 18px; height: 18px; }
.nav-donate:hover svg { transform: scale(1.12); }
.is-scrolled .nav-donate { padding: .85rem 1.4rem; }

/* Small Donate button in the bar on tablets & phones (the full menu is behind the menu button) */
.nav-donate-mobile { display: none; padding: .6rem 1rem; font-size: .88rem; gap: .35rem; }
.nav-donate-mobile svg { width: 15px; height: 15px; }
.nav-actions { display: none; align-items: center; gap: .6rem; }

.nav-toggle {
  display: inline-flex; width: 46px; height: 46px; border-radius: 12px; cursor: pointer;
  align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .4);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px;
  position: relative; transition: transform .3s var(--ease), background .3s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent !important; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
.is-scrolled .nav-toggle, body.nav-open .nav-toggle { background: #fff; border-color: var(--line); }
.is-scrolled .nav-toggle span, .is-scrolled .nav-toggle span::before, .is-scrolled .nav-toggle span::after,
body.nav-open .nav-toggle span::before, body.nav-open .nav-toggle span::after { background: var(--purple); }

@media (min-width: 860px) and (max-width: 1180px) {
  .nav { gap: 1rem; }
  .nav-menu a { padding: .45rem .7rem; font-size: .9rem; }
  .is-scrolled .nav-menu a { padding: .26rem .65rem; }
  .nav-donate { padding: 1rem 1.25rem; }
  .brand-logo { height: 80px; }
}

/* Narrow laptop windows (860–1023px): same two-row menu, slightly tighter */
@media (min-width: 860px) and (max-width: 1023px) {
  .nav { gap: .75rem; }
  .nav-menu a { padding: .42rem .55rem; font-size: .86rem; }
  .is-scrolled .nav-menu a { padding: .24rem .5rem; font-size: .84rem; }
  .nav-donate, .is-scrolled .nav-donate { padding: .85rem 1.05rem; font-size: .92rem; }
  .brand-logo { height: 72px; }
  .is-scrolled .brand-logo { height: 60px; }
}

/* Tablets (portrait) & phones: compact bar (logo · Donate · menu) and a two-column menu */
@media (max-width: 859px) {
  .nav { height: 84px; }
  .is-scrolled .nav { height: 62px; }
  .brand-logo { height: 64px; }
  .is-scrolled .brand-logo { height: 48px; }
  .nav-actions { display: flex; }
  .nav-donate-mobile { display: inline-flex; }
  .is-scrolled .nav-toggle { width: 42px; height: 42px; }
  .nav-panel {
    position: fixed; left: 0; right: 0; top: 124px; bottom: auto; max-height: calc(100vh - 124px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: var(--cream); padding: 1.25rem 1.25rem 1.5rem; box-shadow: 0 30px 40px -20px rgba(28, 7, 48, .35);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .35s var(--ease), opacity .35s, visibility .35s;
  }
  .nav-panel.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-menu, .is-scrolled .nav-menu { grid-template-columns: 1fr 1fr; gap: .55rem; padding: 0; background: none; border: 0; }
  .nav-menu a, .is-scrolled .nav-menu a {
    text-align: left; color: var(--purple-deep); background: #fff; border: 1px solid var(--line);
    padding: .85rem 1rem; font-size: .98rem; font-weight: 600;
  }
  .nav-menu a:hover { background: var(--purple-soft); color: var(--purple); }
  .nav-menu a[aria-current="page"], .is-scrolled .nav-menu a[aria-current="page"] { background: var(--purple); border-color: var(--purple); color: #fff; }
  .nav-menu a[aria-current="page"]::after { display: none; }
  .nav-donate, .is-scrolled .nav-donate { width: 100%; padding: 1rem; }
  body.nav-open .site-header { background: var(--cream); }
}
@media (min-width: 860px) { .nav-toggle { display: none; } }
@media (max-width: 900px) {
  .topbar-motto { display: none; }
  .topbar-inner { justify-content: center; }
}
@media (max-width: 760px) {
  .topbar-inner { height: 34px; }
  .is-scrolled .topbar-inner { height: 28px; }
  .topbar-contact { gap: 1.1rem; font-size: .78rem; }
}
@media (max-width: 380px) {
  .topbar-contact { font-size: .7rem; gap: .7rem; }
  .nav-donate-mobile { padding: .55rem .8rem; font-size: .82rem; }
  .nav-donate-mobile svg { display: none; }
}

/* Quick exit (safety) */
.quick-exit {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 90;
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--purple-deep); color: #fff; text-decoration: none;
  font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  padding: .65rem 1rem; border-radius: 999px; box-shadow: var(--shadow);
  border: 2px solid rgba(255, 255, 255, .25);
}
.quick-exit svg { width: 16px; height: 16px; }
.quick-exit:hover { background: #000; color: #fff; }
@media (max-width: 600px) {
  /* compact round button on phones so it doesn't cover page buttons; the label stays available to screen readers */
  .quick-exit { width: 46px; height: 46px; padding: 0; justify-content: center; font-size: 0; right: .75rem; bottom: .75rem; }
  .quick-exit svg { width: 20px; height: 20px; }
}

/* ---------- Hero banner (full width, photo background) ---------- */
.hero-banner {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(640px, 94vh, 900px);
  display: flex; align-items: center;
  padding: calc(152px + 3rem) 0 6rem;
  background: #1C0730; color: #fff;
}
.hero-media { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero-media img {
  position: absolute; top: 0; right: 0; height: 100%; width: auto; max-width: none;
  animation: heroZoom 14s var(--ease) both; transform-origin: 70% 40%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, #1C0730 0%, rgba(28, 7, 48, .94) 28%, rgba(36, 9, 60, .72) 46%, rgba(46, 11, 74, .28) 68%, rgba(46, 11, 74, .08) 100%),
    linear-gradient(0deg, rgba(28, 7, 48, .65) 0%, rgba(28, 7, 48, 0) 38%),
    linear-gradient(180deg, rgba(28, 7, 48, .55) 0%, rgba(28, 7, 48, 0) 24%);
}
.hero-orb { position: absolute; border-radius: 50%; z-index: -1; pointer-events: none; }
.hero-orb--1 { width: 420px; height: 420px; left: -160px; top: 18%; border: 46px solid rgba(7, 156, 155, .14); animation: drift 18s ease-in-out infinite; }
.hero-orb--2 { width: 180px; height: 180px; left: 38%; bottom: -70px; background: radial-gradient(circle, rgba(244, 119, 33, .35), transparent 70%); animation: drift 14s ease-in-out infinite reverse; }

.hero-content { position: relative; }
.hero-content > * { max-width: 640px; }
.hero-banner h1 { color: #fff; font-size: clamp(2.6rem, 5.4vw, 4.6rem); margin: 1.4rem 0 1.25rem; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero-banner h1 em { font-style: italic; font-weight: 500; color: #FFA766; }
.hero-lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.75; color: rgba(255, 255, 255, .88); max-width: 580px; margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.tagline--dark li:nth-child(1) { background: rgba(255, 255, 255, .14); color: #fff; }
.tagline--dark li:nth-child(2) { background: rgba(7, 156, 155, .3); color: #fff; }
.tagline--dark li:nth-child(3) { background: rgba(244, 119, 33, .3); color: #fff; }

.btn--caps { text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; padding: 1.05rem 1.8rem; }
.btn--ghost { --bg: rgba(255, 255, 255, .08); --fg: #fff; border-color: rgba(255, 255, 255, .75); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--purple); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .5); }
.btn svg { flex-shrink: 0; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 2.2rem; transform: translateX(-50%);
  width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 20px;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; border-radius: 3px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
.brand-stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--purple) 0 33.3%, var(--teal) 33.3% 66.6%, var(--orange) 66.6%); }

/* load-in animation */
.hero-anim { opacity: 0; transform: translateY(26px); animation: rise .9s var(--ease) forwards; }
.hero-anim:nth-child(2) { animation-delay: .12s; }
.hero-anim:nth-child(3) { animation-delay: .26s; }
.hero-anim:nth-child(4) { animation-delay: .4s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(18px, -16px); } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 859px) { .hero-banner { padding-top: calc(124px + 2.5rem); } }
@media (max-width: 960px) {
  .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; -webkit-mask-image: none; mask-image: none; }
  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(28, 7, 48, .97) 0%, rgba(28, 7, 48, .88) 42%, rgba(28, 7, 48, .25) 66%, rgba(28, 7, 48, .1) 82%, rgba(28, 7, 48, .5) 100%);
  }
  .hero-banner { align-items: flex-end; min-height: max(760px, 100svh); padding-bottom: 4.5rem; }
  .hero-media img { object-position: 62% 0; }
  .scroll-cue { display: none; }
}
@media (max-width: 480px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Welcome ---------- */
.welcome-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.welcome h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.intro-accent { border-left: 4px solid var(--purple); padding: .2rem 0 .2rem 1.25rem; color: var(--ink-muted); font-size: 1.08rem; margin: 1.5rem 0 2rem; }
.intro-accent strong { color: var(--purple-deep); }
.motto-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.motto-cols h3 { font-size: 1.15rem; display: flex; align-items: center; gap: .55rem; margin-bottom: .4rem; color: var(--purple-deep); }
.motto-cols p { font-size: .94rem; line-height: 1.6; color: var(--ink-muted); margin: 0; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 4px var(--dot-ring); }
.dot--purple { background: var(--purple); --dot-ring: var(--purple-soft); }
.dot--teal { background: var(--teal); --dot-ring: var(--teal-soft); }
.dot--orange { background: var(--orange); --dot-ring: var(--orange-soft); }
/* Homepage rhythm: introduction → name cards → Mission & Vision */
.welcome { padding-bottom: clamp(3.5rem, 6vw, 5rem); }
.welcome + .section { padding-top: clamp(4rem, 7vw, 5.75rem); }
.acronym-label + .acronym-band { margin-top: 0; }
.acronym-label { display: flex; align-items: center; gap: 1rem; margin: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-text); }
.acronym-label::before, .acronym-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.acronym-band { list-style: none; margin: clamp(3.5rem, 7vw, 5.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.acronym-band li {
  display: flex; flex-direction: column; align-items: center; gap: .8rem; text-align: center;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1rem 1.4rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s;
}
.acronym-band li:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: #fff; }
.acronym-band .letter {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; width: 64px; height: 64px;
  display: grid; place-items: center; border-radius: 18px; color: #fff; background: var(--purple);
}
.acronym-band li:nth-child(2) .letter, .acronym-band li:nth-child(5) .letter { background: var(--teal-text); }
.acronym-band li:nth-child(3) .letter { background: var(--orange); color: var(--purple-deep); }
.acronym-band .word { font-family: var(--font-display); font-size: 1.2rem; color: var(--purple-deep); font-weight: 500; }
@media (max-width: 800px) {
  .acronym-band { grid-template-columns: 1fr; gap: .6rem; }
  .acronym-band li { flex-direction: row; padding: .8rem 1.1rem; text-align: left; }
  .acronym-band .letter { width: 52px; height: 52px; font-size: 1.8rem; border-radius: 14px; }
}

.welcome-media { position: relative; aspect-ratio: 1 / .95; }
.wm-main { position: absolute; top: 0; right: 0; width: 76%; height: 76%; box-shadow: var(--shadow); border-radius: 28px; }
.wm-main img { object-position: center 30%; }
.wm-inset { position: absolute; left: 0; bottom: 0; width: 50%; height: 48%; border: 8px solid #fff; border-radius: 28px; box-shadow: var(--shadow); }
.wm-bar-v { position: absolute; top: 5%; left: calc(24% - 30px); width: 14px; height: 40%; border-radius: 8px; background: var(--purple); }
.wm-bar-h { position: absolute; right: 0; top: calc(76% + 18px); width: 42%; height: 14px; border-radius: 8px; background: var(--orange); }
.wm-badge {
  position: absolute; right: -22px; top: -26px; width: 124px; height: 124px; border-radius: 50%;
  background: var(--teal-text); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
}
.wm-badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.wm-badge-ring text { fill: #fff; font-size: 10px; font-weight: 700; font-family: var(--font-body); }
.wm-badge-heart { width: 30px; height: 30px; color: #FFB27A; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 960px) {
  .welcome-grid { grid-template-columns: 1fr; }
  .welcome-media { max-width: 600px; width: 100%; margin: 1rem auto 0; }
}
@media (max-width: 560px) {
  .motto-cols { grid-template-columns: 1fr; gap: 1rem; }
  .wm-badge { width: 96px; height: 96px; right: -6px; top: -20px; }
  .wm-bar-v { left: calc(24% - 22px); width: 10px; }
}

/* ---------- Mission & Vision ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.mv-card {
  position: relative; padding: clamp(2rem, 4vw, 3.25rem); border-radius: var(--radius-lg); overflow: hidden;
  color: #fff;
}
.mv-card h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.mv-card p { font-size: 1.15rem; line-height: 1.75; margin: 0; color: rgba(255, 255, 255, .92); }
.mv-card .label { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .85; margin-bottom: .8rem; display: block; }
.mv-card--mission { background: linear-gradient(150deg, var(--purple) 0%, #3A0E5E 100%); }
.mv-card--vision { background: linear-gradient(150deg, #068887 0%, #045E5D 100%); }
.mv-card::after {
  content: ""; position: absolute; width: 260px; height: 260px; right: -80px; bottom: -110px;
  border-radius: 50%; border: 36px solid rgba(255, 255, 255, .07);
}
.mv-card .icon { width: 58px; height: 58px; border-radius: 16px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; margin-bottom: 1.5rem; }
.mv-card .icon svg { width: 28px; height: 28px; }
@media (max-width: 800px) { .mv-grid { grid-template-columns: 1fr; } }

/* ---------- Core values ---------- */
.values { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.value {
  flex: 1 1 150px; max-width: 168px; text-align: center;
  background: #fff; border-radius: var(--radius); padding: 1.75rem 1rem 1.5rem;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.value .icon { width: 60px; height: 60px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; }
.value .icon svg { width: 28px; height: 28px; }
.value:nth-child(3n+1) .icon { background: var(--purple-soft); color: var(--purple); }
.value:nth-child(3n+2) .icon { background: var(--teal-soft); color: var(--teal-text); }
.value:nth-child(3n+3) .icon { background: var(--orange-soft); color: #B4520F; }
.value h3 { font-size: 1.1rem; margin: 0; color: var(--purple-deep); }
/* Seven values: where all seven cannot share one row, show a balanced 4 + 3 (so Prevention never sits alone) */
@media (min-width: 640px) and (max-width: 1279px) { .values { max-width: calc(4 * 168px + 3rem); margin-inline: auto; } }

/* ---------- Focus area cards ---------- */
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.focus-card {
  position: relative; background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.focus-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.focus-card .photo { aspect-ratio: 3 / 2; border-radius: 0; }
.focus-card .photo img { object-position: center 30%; }
.focus-card:hover .photo img { transform: scale(1.05); }
.focus-card .num {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  background: #fff; color: var(--purple); border-radius: 999px; padding: .25rem .8rem;
}
.focus-card .body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.focus-card h3 { font-size: 1.3rem; }
.focus-card p { color: var(--ink-muted); font-size: .98rem; flex: 1; }
.focus-card .more { font-weight: 700; color: var(--purple); text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.focus-card .more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.focus-card:hover .more svg { transform: translateX(4px); }
.focus-card::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; z-index: 2;
  background: var(--accent, var(--orange)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.focus-card:hover::before { transform: scaleX(1); }
.focus-card:nth-child(3n+1) { --accent: var(--purple); }
.focus-card:nth-child(3n+2) { --accent: var(--teal); }
@media (max-width: 1000px) { .focus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .focus-grid { grid-template-columns: 1fr; } }

/* ---------- Impact ---------- */
.impact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.impact-visual { position: relative; padding: 2.5rem 9% 3rem 0; }
.photo--impact-main { aspect-ratio: 6 / 5; border-radius: 36px 36px 36px 200px; box-shadow: var(--shadow); }
.photo--impact-main img { object-position: center 30%; }
.photo--impact-inset {
  position: absolute; right: 0; top: 0; width: 38%; aspect-ratio: 1;
  border-radius: 50%; border: 8px solid #fff; box-shadow: var(--shadow);
}
.photo--impact-inset img { object-position: 40% center; }
.impact-quote {
  position: absolute; right: 4%; bottom: 0; max-width: 300px;
  background: var(--purple); color: #fff; border-radius: 20px; padding: 1.25rem 1.4rem; box-shadow: var(--shadow);
}
.impact-quote svg { width: 26px; height: 26px; color: var(--orange); margin-bottom: .4rem; }
.impact-quote p { margin: 0; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.4; font-style: italic; }

.pathway { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.pathway li { position: relative; padding: 0 0 2rem 4.5rem; counter-increment: step; }
.pathway li:last-child { padding-bottom: 0; }
.pathway li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: .9rem;
  background: var(--purple); color: #fff;
}
.pathway li:nth-child(2)::before { background: var(--teal-text); }
.pathway li:nth-child(3)::before { background: var(--orange); color: var(--purple-deep); }
.pathway li::after { content: ""; position: absolute; left: 24px; top: 56px; bottom: 6px; width: 2px; background: var(--line); }
.pathway li:last-child::after { display: none; }
.pathway h3 { font-size: 1.3rem; margin-bottom: .3rem; padding-top: .55rem; }
.pathway p { color: var(--ink-muted); margin: 0; }

.impact-strip { margin-top: clamp(3.5rem, 7vw, 5.5rem); background: var(--cream); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { background: #fff; border: 2px dashed #CDBFE0; border-radius: var(--radius); padding: 1.4rem 1.3rem; }
.stat .figure { font-family: var(--font-display); font-size: 2.2rem; color: var(--purple); line-height: 1; margin-bottom: .5rem; }
.stat p { margin: 0; font-weight: 600; font-size: .95rem; line-height: 1.45; color: var(--purple-deep); }
.placeholder-note {
  display: flex; gap: .7rem; align-items: flex-start; margin: 1.1rem 0 0;
  background: var(--orange-soft); color: #7A3608; border-radius: 14px; padding: .9rem 1.1rem; font-size: .9rem; line-height: 1.5;
}
.placeholder-note svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
@media (max-width: 960px) {
  .impact-grid { grid-template-columns: 1fr; }
  .impact-visual { max-width: 640px; margin-inline: auto; width: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .impact-visual { padding: 2rem 6% 5.5rem 0; }
  .photo--impact-main { border-radius: 28px 28px 28px 120px; }
  .impact-quote { right: 0; left: 12%; max-width: none; }
  .stats { grid-template-columns: 1fr; }
}

/* ---------- Get involved ---------- */
.involve-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.involve-card {
  grid-column: span 2; background: #fff; border-radius: var(--radius); padding: 2rem 1.75rem;
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.involve-card:nth-child(4), .involve-card:nth-child(5) { grid-column: span 3; }
.involve-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.involve-card .icon { width: 54px; height: 54px; border-radius: 14px; background: var(--teal-soft); color: var(--teal-text); display: grid; place-items: center; margin-bottom: 1.25rem; }
.involve-card .icon svg { width: 26px; height: 26px; }
.involve-card p { color: var(--ink-muted); flex: 1; }
.involve-card a { font-weight: 700; text-decoration: none; }
.involve-card--feature { background: linear-gradient(150deg, var(--orange) 0%, #F99A57 100%); border: 0; }
.involve-card--feature h3, .involve-card--feature p, .involve-card--feature a { color: var(--purple-deep); }
.involve-card--feature .icon { background: rgba(255, 255, 255, .45); color: var(--purple-deep); }
@media (max-width: 1000px) {
  .involve-grid { grid-template-columns: repeat(2, 1fr); }
  .involve-card, .involve-card:nth-child(4), .involve-card:nth-child(5) { grid-column: span 1; }
  .involve-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .involve-grid { grid-template-columns: 1fr; } .involve-card:last-child { grid-column: auto; } }

/* ---------- Closing ---------- */
.closing {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: linear-gradient(140deg, var(--purple) 0%, #3B0F60 55%, #0A6F6E 130%);
  padding: clamp(5rem, 10vw, 8rem) 0;
}
.closing::before, .closing::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.closing::before { width: 420px; height: 420px; left: -140px; top: -160px; border: 50px solid rgba(244, 119, 33, .18); }
.closing::after { width: 300px; height: 300px; right: -80px; bottom: -120px; background: rgba(7, 156, 155, .25); }
.closing blockquote { margin: 0 auto 2.5rem; max-width: 900px; position: relative; z-index: 1; }
.closing blockquote p {
  font-family: var(--font-display); font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.15; color: #fff; margin: 0; font-weight: 500;
}
.closing blockquote p span { display: block; }
.closing blockquote p span:nth-child(2) { color: #FFB27A; font-style: italic; }
.closing .tagline { justify-content: center; margin-bottom: 2.5rem; position: relative; z-index: 1; }
.closing .tagline li { background: rgba(255, 255, 255, .12); color: #fff; }
.closing .hero-actions { justify-content: center; position: relative; z-index: 1; }
.closing .btn--outline { --fg: #fff; border-color: rgba(255, 255, 255, .7); }
.closing .btn--outline:hover { background: #fff; color: var(--purple); }

/* ---------- Newsletter ---------- */
.newsletter {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: center;
  background: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.newsletter h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: .3rem; }
.newsletter p { margin: 0; color: var(--ink-muted); }
.inline-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.inline-form input[type="email"] { flex: 1 1 240px; }
@media (max-width: 800px) { .newsletter { grid-template-columns: 1fr; } }

/* ---------- Forms (shared) ---------- */
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-weight: 600; font-size: .95rem; color: var(--purple-deep); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: .9rem 1.1rem; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(7, 156, 155, .15); }
.hp-field { display: none !important; }
.form-status { margin-top: .9rem; font-size: .92rem; font-weight: 600; min-height: 1.4em; flex-basis: 100%; }
.form-status.is-success { color: var(--teal-text); }
.form-status.is-error { color: #B3261E; }

/* ---------- Footer ---------- */
.site-footer { background: var(--purple-deep); color: rgba(255, 255, 255, .78); padding: 5rem 0 2rem; font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #FFB27A; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.brand--footer .brand-logo { height: 104px; }
.footer-fullname { font-family: var(--font-display); font-size: 1.05rem; color: #fff; margin: 1.1rem 0 .4rem !important; }
.footer-contact { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: .3rem; color: var(--orange); }
.footer-brand p { margin: 1.25rem 0; max-width: 320px; }
.footer-brand .tagline li { background: rgba(255, 255, 255, .1); color: #fff; font-size: .72rem; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.socials { display: flex; gap: .6rem; margin-top: 1.25rem; list-style: none; padding: 0; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); transition: background .25s, transform .25s var(--ease);
}
.socials a:hover { background: var(--orange); transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; fill: currentColor; }
.socials a:hover svg { color: var(--purple-deep); }
.footer-bottom {
  margin-top: 4rem; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem;
}
.placeholder-text { border-bottom: 1px dashed rgba(255, 255, 255, .45); }
.photo-note { flex-basis: 100%; margin: 0; font-size: .78rem; color: rgba(255, 255, 255, .55); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Inner pages
   ========================================================================== */

/* ---------- Page banner (photo, same treatment as the homepage hero) ---------- */
.page-hero { min-height: clamp(460px, 64vh, 600px); padding-bottom: 4.5rem; }
.page-hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); margin: 1rem 0 1rem; }
.page-hero .hero-lead { margin-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; font-size: .85rem; font-weight: 600; color: rgba(255, 255, 255, .75); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--orange); }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: #fff; }
@media (max-width: 960px) { .page-hero { min-height: 520px; } }

/* ---------- Split: text + photo ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.split + .split { margin-top: clamp(4rem, 8vw, 6.5rem); }
.split--reverse .split-media { order: -1; }
.split-media { position: relative; padding: 0 0 1.5rem 1.5rem; }
.split-media .photo { aspect-ratio: 6 / 5; box-shadow: var(--shadow); border-radius: 28px; }
.split-media .photo img { object-position: center 30%; }
.split-media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 55%; height: 55%; border-radius: 28px; background: var(--accent-soft, var(--teal-soft)); z-index: -1; }
.split--reverse .split-media { padding: 0 1.5rem 1.5rem 0; }
.split--reverse .split-media::before { left: auto; right: 0; background: var(--orange-soft); }
.split h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.split .section-num { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--orange); letter-spacing: .1em; display: block; margin-bottom: .5rem; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .split-media { max-width: 620px; }
}

/* ---------- Lists ---------- */
.check-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 2.1rem; line-height: 1.55; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .15rem; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2305706F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.check-list--2 { grid-template-columns: 1fr 1fr; gap: .8rem 1.5rem; }
@media (max-width: 640px) { .check-list--2 { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.75rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.section--white .info-card { background: var(--cream); }
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.info-card .icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.25rem; background: var(--purple-soft); color: var(--purple); }
.info-card:nth-child(3n+2) .icon { background: var(--teal-soft); color: var(--teal-text); }
.info-card:nth-child(3n+3) .icon { background: var(--orange-soft); color: #B4520F; }
.info-card .icon svg { width: 26px; height: 26px; }
.info-card h3 { font-size: 1.3rem; }
.info-card p { color: var(--ink-muted); margin: 0; }
.info-card .check-list { margin-top: 1rem; font-size: .95rem; }
@media (max-width: 1000px) { .card-grid, .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid, .card-grid--2, .card-grid--4 { grid-template-columns: 1fr; } }

/* Motto cards (Speak / Heal / Prevent) */
.motto-card { border-radius: var(--radius-lg); padding: 2.4rem 2rem; color: #fff; position: relative; overflow: hidden; }
.motto-card h3 { color: #fff; font-size: 2rem; margin-bottom: .6rem; }
.motto-card p { color: rgba(255, 255, 255, .9); margin: 0; }
.motto-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%; border: 28px solid rgba(255, 255, 255, .1); }
.motto-card--purple { background: linear-gradient(150deg, var(--purple), #3A0E5E); }
.motto-card--teal { background: linear-gradient(150deg, #068887, #045E5D); }
.motto-card--orange { background: linear-gradient(150deg, #E5681A, #B9500C); }

/* Value detail rows */
.value-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.value-item { display: flex; gap: 1.25rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.value-item .icon { width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--purple-soft); color: var(--purple); }
.value-item:nth-child(3n+2) .icon { background: var(--teal-soft); color: var(--teal-text); }
.value-item:nth-child(3n+3) .icon { background: var(--orange-soft); color: #B4520F; }
.value-item .icon svg { width: 26px; height: 26px; }
.value-item h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.value-item p { margin: 0; color: var(--ink-muted); font-size: .98rem; }
.value-list .value-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 760px) { .value-list { grid-template-columns: 1fr; } }

/* Mission pillars */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: pillar; list-style: none; padding: 0; margin: 0; }
.pillars li { background: #fff; border-radius: var(--radius); padding: 1.6rem 1.3rem; border-top: 5px solid var(--purple); counter-increment: pillar; box-shadow: var(--shadow-sm); }
.pillars li:nth-child(2) { border-color: var(--teal); }
.pillars li:nth-child(3) { border-color: var(--orange); }
.pillars li:nth-child(4) { border-color: var(--purple); }
.pillars li:nth-child(5) { border-color: var(--teal); }
.pillars li::before { content: counter(pillar, decimal-leading-zero); display: block; font-family: var(--font-display); font-weight: 700; color: var(--orange); margin-bottom: .5rem; }
.pillars h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.pillars p { font-size: .93rem; color: var(--ink-muted); margin: 0; line-height: 1.55; }
@media (max-width: 1100px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .pillars { grid-template-columns: 1fr; } }

/* Jump-link chips */
.subnav { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; list-style: none; padding: 0; margin: 0; }
.subnav a {
  display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.1rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--purple-deep);
  transition: background .2s, color .2s, border-color .2s;
}
.subnav a:hover { background: var(--purple); border-color: var(--purple); color: #fff; }
.subnav .n { font-family: var(--font-display); color: var(--orange); font-weight: 700; }
.subnav a:hover .n { color: #FFB27A; }
.subnav-band { padding: 2rem 0; background: var(--cream-2); border-bottom: 1px solid var(--line); }
/* Anchor targets land below the sticky header (its live height is set by main.js) */
[id] { scroll-margin-top: calc(var(--header-h, 120px) + 1.25rem); }

/* Placeholder team cards */
.team-card { text-align: center; background: #fff; border: 2px dashed #CDBFE0; border-radius: var(--radius); padding: 2rem 1.25rem; }
.team-card .avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center; background: var(--purple-soft); color: var(--purple); }
.team-card .avatar svg { width: 44px; height: 44px; }
.team-card h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.team-card p { margin: 0; color: var(--ink-muted); font-size: .9rem; }

/* Notices */
.notice {
  display: flex; gap: 1rem; align-items: flex-start; border-radius: var(--radius); padding: 1.4rem 1.5rem;
  background: var(--purple-soft); color: var(--purple-deep); border-left: 5px solid var(--purple);
}
.notice svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--purple); margin-top: .1rem; }
.notice p { margin: 0; }
.notice strong { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: .25rem; color: var(--purple); }
.notice--orange { background: var(--orange-soft); border-color: var(--orange); color: #6B2F07; }
.notice--orange svg, .notice--orange strong { color: #A9480B; }
.notice--teal { background: var(--teal-soft); border-color: var(--teal); color: #04403F; }
.notice--teal svg, .notice--teal strong { color: var(--teal-text); }

/* CTA band (smaller version of the closing banner) */
.cta-band { padding: clamp(4rem, 8vw, 6rem) 0; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); max-width: 800px; margin: 0 auto 1rem; position: relative; z-index: 1; }
.cta-band p { color: rgba(255, 255, 255, .85); max-width: 640px; margin: 0 auto 2.25rem; position: relative; z-index: 1; font-size: 1.1rem; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 3rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field .req { color: #B3261E; }
.field .hint { font-size: .85rem; color: var(--ink-muted); }
fieldset { border: 0; padding: 0; margin: 0 0 1.25rem; }
legend { font-weight: 600; font-size: .95rem; color: var(--purple-deep); margin-bottom: .6rem; padding: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem; }
@media (max-width: 520px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { display: flex; gap: .65rem; align-items: center; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream); cursor: pointer; font-size: .95rem; transition: border-color .2s, background .2s; }
.choice:hover { border-color: var(--teal); }
.choice input { width: 18px; height: 18px; accent-color: var(--purple); flex-shrink: 0; }
.choice:has(input:checked) { border-color: var(--purple); background: var(--purple-soft); }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--ink-muted); margin: .5rem 0 1.5rem; }
.consent input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--purple); flex-shrink: 0; }
textarea { min-height: 140px; resize: vertical; }
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='%2350147D' 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 1rem center; background-size: 18px; padding-right: 2.8rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: flex; gap: 1.1rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.contact-card .icon { width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0; display: grid; place-items: center; background: var(--orange-soft); color: #B4520F; }
.contact-card:nth-child(2) .icon { background: var(--teal-soft); color: var(--teal-text); }
.contact-card:nth-child(3) .icon { background: var(--purple-soft); color: var(--purple); }
.contact-card .icon svg { width: 26px; height: 26px; }
.contact-address { font-size: .9rem; color: var(--ink-muted); }
.contact-address .placeholder-text { border-color: #CDBFE0; }
.contact-card small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.contact-card strong { font-size: 1.1rem; color: var(--purple-deep); word-break: break-word; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Donate ---------- */
.donate-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 960px) { .donate-grid { grid-template-columns: 1fr; } }
.donate-panel { position: relative; }
.toggle-group { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; background: var(--cream); padding: .35rem; border-radius: 999px; margin-bottom: 1.5rem; border: 1px solid var(--line); }
.toggle-group button { border: 0; background: transparent; border-radius: 999px; padding: .75rem; font-weight: 700; cursor: pointer; color: var(--ink-muted); }
.toggle-group button[aria-pressed="true"] { background: var(--purple); color: #fff; }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1.25rem; }
.amounts button {
  border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: .95rem .5rem; cursor: pointer;
  font-weight: 700; font-size: 1.05rem; color: var(--purple-deep); transition: border-color .2s, background .2s;
}
.amounts button:hover { border-color: var(--teal); }
.amounts button[aria-pressed="true"] { border-color: var(--purple); background: var(--purple-soft); color: var(--purple); }
.amounts small { display: block; font-size: .72rem; font-weight: 600; color: var(--ink-muted); }
@media (max-width: 420px) { .amounts { grid-template-columns: repeat(2, 1fr); } }
.status-pill { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--orange-soft); color: #8A3C08; padding: .4rem .85rem; border-radius: 999px; margin-bottom: 1rem; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.btn-block { width: 100%; }
.pay-methods { display: grid; gap: 1rem; }
.pay-method { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.pay-method .icon { width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-text); }
.pay-method .icon svg { width: 24px; height: 24px; }
.pay-method h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.pay-method p { margin: 0; color: var(--ink-muted); font-size: .95rem; }

/* ---------- 404 ---------- */
.error-code { font-family: var(--font-display); font-size: clamp(5rem, 14vw, 9rem); line-height: 1; color: #FFA766; margin: 0; }


/* ==========================================================================
   Homepage rhythm (homepage only)
   Hero ≈ 80% of the screen so the next section peeks in; tighter, even spacing between sections.
   ========================================================================== */
.newsletter-section { padding-block: 4.5rem; }
/* About one inch (~96px) taller than the previous version, but always leaving ~100px of the screen
   so the start of "Welcome to BRAVE" is visible below the banner on desktop */
body.home .hero-banner { min-height: min(clamp(656px, calc(78vh + 96px), 856px), calc(100vh - 112px)); padding: calc(152px + 2.25rem) 0 3.25rem; }
body.home .hero-banner h1 { margin: 1rem 0 1rem; }
body.home .hero-content > .hero-lead { max-width: 680px; margin-bottom: 1.75rem; }
body.home .scroll-cue { bottom: 1rem; width: 24px; height: 40px; }
/* Shorter laptop screens (e.g. 1366×768): same typeface, slightly smaller headline so the banner still fits */
@media (min-width: 1024px) and (max-height: 820px) {
  body.home .hero-banner { padding: calc(152px + 1.25rem) 0 2.25rem; }
  body.home .hero-banner h1 { font-size: clamp(2.6rem, 4.4vw, 3.8rem); }
  body.home .scroll-cue { display: none; }
}
@media (max-width: 859px) {
  body.home .hero-banner { min-height: max(600px, 82svh); padding-top: calc(124px + 2rem); padding-bottom: 3.25rem; }
}
/* Phones: show the full width of the photograph just below the logo bar so all three children's faces
   are visible, fading into the purple background behind the headline and buttons */
@media (max-width: 600px) {
  body.home .hero-banner { min-height: 0; align-items: flex-start; padding: calc(118px + 74vw - 2.75rem) 0 2.5rem; }
  body.home .hero-media { top: 118px; bottom: auto; height: 74vw; }
  body.home .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 36%; }
  body.home .hero-overlay {
    background: linear-gradient(180deg, #1C0730 0, #1C0730 118px, rgba(28, 7, 48, .08) calc(118px + 1.5rem),
      rgba(28, 7, 48, .05) calc(118px + 46vw), #1C0730 calc(118px + 74vw), #1C0730 100%);
  }
  body.home .hero-orb--1 { display: none; }
  body.home .hero-banner .hero-actions .btn { flex: 1 1 0; padding: .95rem .6rem; font-size: .82rem; letter-spacing: .05em; }
}

body.home .section { padding: clamp(3.5rem, 6.5vw, 5.25rem) 0; }
body.home .section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
body.home .welcome { padding-top: clamp(2.25rem, 3vw, 2.5rem); padding-bottom: clamp(2rem, 3.5vw, 2.75rem); }
body.home .welcome + .section { padding-top: clamp(3.5rem, 6vw, 4.75rem); }
body.home .acronym-label { margin-top: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 1.25rem; }
body.home .closing { padding: clamp(4rem, 7.5vw, 6rem) 0; }
body.home .newsletter-section { padding-block: 3.5rem; }
/* Tighter transitions requested: name cards → Mission & Vision → Core Values; above Impact; Impact notice → Get Involved */
body.home #mission { padding-top: clamp(2.5rem, 4vw, 3.25rem); padding-bottom: clamp(2.25rem, 3.5vw, 3rem); }
body.home section[aria-labelledby="values-title"] { padding-top: clamp(2.5rem, 4vw, 3.25rem); }
body.home section[aria-labelledby="focus-title"] { padding-bottom: clamp(2.5rem, 4vw, 3.25rem); }
body.home section[aria-labelledby="impact-title"] { padding-top: clamp(2.5rem, 4vw, 3.25rem); padding-bottom: clamp(2.25rem, 3.5vw, 3rem); }
body.home #get-involved { padding-top: clamp(2.5rem, 4vw, 3.25rem); }

/* ---------- Small-screen safety ---------- */
/* Grid columns may shrink below their content's natural width (prevents sideways scrolling) */
.split > *, .donate-grid > *, .contact-grid > *, .impact-grid > *, .welcome-grid > *, .form-grid > *, .card-grid > * { min-width: 0; }
@media (max-width: 600px) {
  /* long button labels wrap onto two lines instead of widening the page */
  main .btn { white-space: normal; text-align: center; line-height: 1.3; }
}
@media (max-width: 1100px) { .wm-badge { right: -6px; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .40s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: .48s; }
.no-js .reveal, .no-js .reveal-stagger > * { opacity: 1; transform: none; }

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

