/* ==========================================================================
   HushedHope Nigeria — Design System
   Colours are sampled directly from the supplied brand logo artwork.
   ========================================================================== */

:root {
  /* --- Brand colour palette (extracted from logo) --- */
  --plum-900: #241429;   /* deepest plum — footer, dark sections (from logo backdrop) */
  --plum-800: #2E1B33;   /* deep plum */
  --plum-700: #4C2E58;   /* deep plum mid — headings, buttons */
  --plum-600: #5E3A6C;
  --plum-500: #7B5BA6;   /* medium purple — from wordmark subtitle */
  --lavender-500: #9A78C5; /* soft lavender — from icon linework */
  --lavender-300: #C9B3E2;
  --lavender-200: #E7DCF3; /* light lavender section tint */
  --lavender-100: #F3ECFA;
  --blush-600: #DD6B98;
  --blush-500: #F189AF;   /* blush pink — from heart / script */
  --blush-400: #F5A3C0;
  --blush-300: #F7BED2;   /* light blush tint */
  --blush-100: #FDEAF1;
  --ivory-100: #FBF6EF;   /* warm ivory — page background */
  --ivory-50:  #FFFDF9;   /* card background */
  --white: #FFFFFF;
  --ink: #2B2230;         /* body text */
  --grey-warm: #6E6472;   /* secondary / muted text */
  --grey-line: #E4DCE6;   /* hairline borders */

  /* --- Typography --- */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Karla", -apple-system, "Segoe UI", sans-serif;
  --font-script: "Beau Rivage", cursive;

  /* --- Spacing scale --- */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* --- Layout --- */
  --container-max: 1240px;
  --container-pad: 1.25rem;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* --- Shadow --- */
  --shadow-soft: 0 4px 24px rgba(46, 27, 51, 0.08);
  --shadow-card: 0 10px 40px rgba(46, 27, 51, 0.10);
  --shadow-lift: 0 18px 50px rgba(46, 27, 51, 0.16);

  /* --- Motion --- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.2s;
  --dur-med: 0.5s;
}

@media (min-width: 768px) {
  :root { --container-pad: 2rem; }
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory-100);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
svg[aria-hidden="true"] { width: 1em; height: 1em; flex-shrink: 0; }
.btn svg { width: 1.15em; height: 1.15em; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--plum-800);
  text-wrap: balance;
}

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

/* ==========================================================================
   Accessibility helpers
   ========================================================================== */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -60px;
  background: var(--plum-800); color: var(--ivory-50);
  padding: 0.85rem 1.5rem; border-radius: var(--radius-sm);
  z-index: 1000; transition: top var(--dur-fast) var(--ease);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--blush-500);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible { outline-color: var(--plum-700); }

/* ==========================================================================
   Typography helpers
   ========================================================================== */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--blush-600);
}
.h1 { font-size: clamp(2.1rem, 4.4vw + 1rem, 3.6rem); font-weight: 600; }
.h2 { font-size: clamp(1.7rem, 2.6vw + 1rem, 2.5rem); font-weight: 600; }
.h3 { font-size: clamp(1.3rem, 1.4vw + 1rem, 1.65rem); font-weight: 600; }
.h4 { font-size: 1.15rem; font-weight: 700; }
.lede {
  font-size: clamp(1.05rem, 0.6vw + 1rem, 1.25rem);
  color: var(--grey-warm);
  max-width: 62ch;
}
.script-accent {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--blush-500);
}
.text-center { text-align: center; }
.muted { color: var(--grey-warm); }
.max-prose { max-width: 68ch; }
.center-col { margin-left: auto; margin-right: auto; }

/* Section brand-line divider — echoes the line–heart–line mark in the logo */
.brand-divider {
  display: flex; align-items: center; gap: var(--space-sm);
  width: 100%; max-width: 360px; margin: var(--space-md) auto;
}
.brand-divider::before, .brand-divider::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0.55;
}
.brand-divider svg { flex-shrink: 0; width: 14px; height: 14px; color: var(--blush-500); }
.brand-divider.light { color: var(--ivory-100); }
.brand-divider.plum { color: var(--plum-500); }

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.section { padding-block: var(--space-2xl); }
.section-sm { padding-block: var(--space-xl); }
@media (max-width: 640px) {
  .section { padding-block: var(--space-xl); }
  .section-sm { padding-block: var(--space-lg); }
}
.bg-ivory { background: var(--ivory-100); }
.bg-white { background: var(--ivory-50); }
.bg-lavender { background: var(--lavender-100); }
.bg-blush { background: var(--blush-100); }
.bg-plum {
  background: linear-gradient(160deg, var(--plum-800), var(--plum-900) 70%);
  color: var(--ivory-100);
}
.bg-plum h1, .bg-plum h2, .bg-plum h3, .bg-plum h4 { color: var(--ivory-50); }
.bg-plum .lede { color: var(--lavender-200); }

.stack { display: flex; flex-direction: column; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.grid { display: grid; gap: var(--space-lg); }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.section-head { max-width: 700px; margin-bottom: var(--space-xl); }
.section-head.center { margin-inline: auto; text-align: center; }

/* Decorative soft atmosphere orb — CSS only, no image weight */
.atmosphere { position: relative; isolation: isolate; overflow: hidden; }
.atmosphere::before {
  content: ""; position: absolute; inset: -10% -10% auto auto;
  width: 480px; height: 480px; max-width: 60vw; max-height: 60vw;
  background: radial-gradient(circle, rgba(154,120,197,0.28), transparent 70%);
  border-radius: 50%; z-index: -1; pointer-events: none;
}
.atmosphere::after {
  content: ""; position: absolute; inset: auto auto -15% -10%;
  width: 420px; height: 420px; max-width: 55vw; max-height: 55vw;
  background: radial-gradient(circle, rgba(241,137,175,0.22), transparent 70%);
  border-radius: 50%; z-index: -1; pointer-events: none;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  min-height: 48px;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--blush-500); color: var(--plum-900);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--blush-400); box-shadow: var(--shadow-card); }

.btn-secondary {
  background: transparent; color: var(--plum-700); border-color: var(--plum-700);
}
.btn-secondary:hover { background: var(--plum-700); color: var(--ivory-50); }

.btn-light {
  background: var(--ivory-50); color: var(--plum-800);
}
.btn-light:hover { background: var(--white); box-shadow: var(--shadow-card); }

.btn-outline-light {
  background: transparent; color: var(--ivory-50); border-color: rgba(251,246,239,0.55);
}
.btn-outline-light:hover { background: rgba(251,246,239,0.12); border-color: var(--ivory-50); }

.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.88rem; min-height: 40px; }
.btn-block { width: 100%; }

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

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 246, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-md);
  padding-block: 0.7rem;
}
.brand-lockup { display: flex; align-items: center; gap: 0.65rem; flex-shrink: 0; }
.brand-lockup img { height: 42px; width: auto; }
.brand-wordmark { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; color: var(--plum-800); line-height: 1; }
.brand-wordmark .script-accent { font-size: 1.5rem; margin-left: 0.05em; }
.brand-tagline-tiny { display: block; font-family: var(--font-body); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-warm); font-weight: 600; margin-top: 1px; }

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 1.85rem; }
.main-nav a {
  font-weight: 600; font-size: 0.98rem; color: var(--plum-700);
  padding-block: 0.4rem; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--blush-500); transition: right var(--dur-fast) var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.main-nav a.active { color: var(--plum-900); }

.header-ctas { display: none; align-items: center; gap: 0.6rem; }
.header-ctas .btn { padding: 0.75rem 1.3rem; font-size: 0.9rem; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  background: var(--lavender-100); border: none; flex-shrink: 0;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--plum-800); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (min-width: 1040px) {
  .main-nav { display: block; }
  .header-ctas { display: flex; }
  .nav-toggle { display: none; }
}

/* Mobile menu panel */
.mobile-menu {
  position: fixed; inset: 0; top: 0;
  background: var(--plum-900);
  z-index: 99;
  padding: 6.5rem var(--container-pad) var(--space-xl);
  transform: translateY(-100%);
  transition: transform var(--dur-med) var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: var(--space-lg); }
.mobile-menu a {
  display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600;
  color: var(--ivory-50); padding-block: 0.65rem; border-bottom: 1px solid rgba(251,246,239,0.12);
}
.mobile-menu .btn-row { flex-direction: column; }
.mobile-menu .btn-row .btn { width: 100%; display: inline-flex; font-size: 1rem; }
@media (min-width: 1040px) { .mobile-menu { display: none; } }

body.menu-open { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(175deg, var(--lavender-100) 0%, var(--ivory-100) 45%);
  padding-block: var(--space-2xl) var(--space-xl);
}
.hero::before {
  content: ""; position: absolute; top: -20%; right: -12%;
  width: 620px; height: 620px; max-width: 75vw; max-height: 75vw;
  background: radial-gradient(circle, rgba(154,120,197,0.30), transparent 68%);
  border-radius: 50%; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; bottom: -25%; left: -15%;
  width: 460px; height: 460px; max-width: 60vw; max-height: 60vw;
  background: radial-gradient(circle, rgba(241,137,175,0.24), transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero-inner { position: relative; text-align: center; max-width: 780px; margin-inline: auto; }
.hero .eyebrow { display: inline-block; margin-bottom: var(--space-sm); }
.hero h1 { margin-bottom: var(--space-md); }
.hero .lede { margin-inline: auto; margin-bottom: var(--space-md); }
.hero .btn-row { justify-content: center; margin-top: var(--space-lg); }
.hero-page {
  padding-block: var(--space-xl) var(--space-lg);
  text-align: center;
}
.hero-page .eyebrow { display: inline-block; margin-bottom: var(--space-sm); }
.hero-page h1 { max-width: 820px; margin-inline: auto; }
.hero-page .lede { margin-inline: auto; margin-top: var(--space-sm); }

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  background: var(--ivory-50);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(46,27,51,0.05);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--lavender-100); color: var(--plum-700);
  margin-bottom: var(--space-sm);
  flex-shrink: 0;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.card p { color: var(--grey-warm); font-size: 0.96rem; }
.card ul { margin-top: 0.75rem; }
.card ul li {
  padding-left: 1.4rem; position: relative; font-size: 0.94rem; color: var(--grey-warm);
  margin-bottom: 0.45rem; line-height: 1.5;
}
.card ul li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--blush-500);
}
.card-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin-top: var(--space-sm); font-weight: 700; color: var(--plum-700); font-size: 0.92rem;
}
.card-link svg { width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }

.card.tint-lavender { background: var(--lavender-100); }
.card.tint-blush { background: var(--blush-100); }
.card.static:hover { transform: none; box-shadow: var(--shadow-soft); }
.card.center { text-align: center; }
.card.center .card-icon { margin-inline: auto; }
button.card {
  border: none; cursor: pointer; font: inherit; color: inherit;
  width: 100%; display: block; -webkit-appearance: none; appearance: none;
}
button.card:focus-visible { outline: 3px solid var(--blush-500); outline-offset: 3px; }

/* Audience / who-we-support pill cards */
.audience-card {
  display: flex; align-items: flex-start; gap: var(--space-sm);
  background: var(--ivory-50); border-radius: var(--radius-md);
  padding: var(--space-md); box-shadow: var(--shadow-soft);
  border: 1px solid rgba(46,27,51,0.05);
  height: 100%;
}
.audience-card .card-icon { margin-bottom: 0; }
.audience-card h3 { font-size: 1.02rem; margin-bottom: 0.25rem; }
.audience-card p { font-size: 0.88rem; color: var(--grey-warm); }

/* ==========================================================================
   Approach / values list
   ========================================================================== */
.value-row {
  display: flex; gap: var(--space-md); padding-block: var(--space-md);
  border-bottom: 1px solid var(--grey-line);
}
.value-row:last-child { border-bottom: none; }
.value-mark {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--blush-100); color: var(--blush-600);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700;
}
.value-row h3 { font-size: 1.08rem; margin-bottom: 0.2rem; }
.value-row p { color: var(--grey-warm); font-size: 0.95rem; }

/* ==========================================================================
   Circle of Loss / Circle of Support visual
   ========================================================================== */
.circle-wrap {
  position: relative; width: 100%; max-width: 460px; aspect-ratio: 1/1; margin-inline: auto;
}
.circle-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px dashed rgba(154,120,197,0.45);
}
.circle-ring.inner { inset: 15%; border-style: solid; border-color: rgba(241,137,175,0.35); }
.circle-center {
  position: absolute; inset: 30%; border-radius: 50%;
  background: var(--ivory-50); box-shadow: var(--shadow-card);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: var(--space-sm); font-family: var(--font-display); font-weight: 600; color: var(--plum-800);
  font-size: clamp(0.85rem, 2vw, 1.05rem);
}
.circle-node {
  position: absolute; width: 92px; height: 92px; margin: -46px;
  border-radius: 50%; background: var(--ivory-50); box-shadow: var(--shadow-soft);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 0.72rem; font-weight: 700; color: var(--plum-700); padding: 0.5rem;
  border: 1px solid var(--grey-line);
}
@media (max-width: 480px) {
  .circle-node { width: 74px; height: 74px; margin: -37px; font-size: 0.62rem; padding: 0.35rem; }
}

/* ==========================================================================
   Brand philosophy (Remember / Heal / Hope)
   ========================================================================== */
.philosophy-grid { display: grid; gap: var(--space-md); grid-template-columns: 1fr; }
@media (min-width: 800px) { .philosophy-grid { grid-template-columns: repeat(3,1fr); } }
.philosophy-card {
  text-align: center; padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--ivory-50);
  box-shadow: var(--shadow-soft);
  position: relative;
}
.philosophy-card .num {
  font-family: var(--font-script); color: var(--blush-500); font-size: 2.2rem; display: block; margin-bottom: 0.25rem;
}
.philosophy-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.philosophy-card p { color: var(--grey-warm); font-size: 0.95rem; }

/* ==========================================================================
   Impact placeholder section
   ========================================================================== */
.impact-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--space-md); }
@media (min-width: 720px) { .impact-grid { grid-template-columns: repeat(4,1fr); } }
.impact-tile {
  text-align: center; padding: var(--space-md); border-radius: var(--radius-md);
  border: 1.5px dashed var(--lavender-300); background: var(--lavender-100);
}
.impact-tile .impact-value {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--plum-500);
  display: block;
}
.impact-tile p { font-size: 0.82rem; color: var(--grey-warm); margin-top: 0.35rem; }
.impact-note {
  margin-top: var(--space-md); font-size: 0.88rem; color: var(--grey-warm);
  display: flex; gap: 0.5rem; align-items: flex-start; max-width: 620px; margin-inline: auto; text-align: left;
  background: var(--blush-100); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-sm);
}
.impact-note svg { width: 20px; height: 20px; color: var(--blush-600); flex-shrink: 0; margin-top: 2px; }

/* ==========================================================================
   Safety notice callout
   ========================================================================== */
.notice {
  display: flex; gap: var(--space-sm); align-items: flex-start;
  background: var(--lavender-100); border: 1px solid var(--lavender-300);
  border-radius: var(--radius-md); padding: var(--space-md) var(--space-lg);
}
.notice svg { width: 26px; height: 26px; color: var(--plum-700); flex-shrink: 0; margin-top: 2px; }
.notice h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.notice p { font-size: 0.94rem; color: var(--ink); }
.notice p + p { margin-top: 0.5rem; }

/* ==========================================================================
   Sub-nav pills (used within hub pages: Get Support, Donate)
   ========================================================================== */
.subnav {
  position: sticky; top: 73px; z-index: 40;
  background: var(--ivory-100);
  border-bottom: 1px solid var(--grey-line);
  padding-block: var(--space-xs);
  overflow-x: auto;
  -ms-overflow-style: none; scrollbar-width: none;
}
.subnav::-webkit-scrollbar { display: none; }
.subnav ul { display: flex; gap: 0.5rem; width: max-content; margin-inline: auto; }
.subnav a {
  display: inline-block; padding: 0.55rem 1.1rem; border-radius: var(--radius-pill);
  font-size: 0.86rem; font-weight: 700; color: var(--plum-700);
  background: var(--lavender-100); white-space: nowrap;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.subnav a:hover, .subnav a.active { background: var(--plum-700); color: var(--ivory-50); }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card {
  background: var(--ivory-50); border-radius: var(--radius-lg);
  padding: var(--space-lg); box-shadow: var(--shadow-card);
}
.form-grid { display: grid; gap: var(--space-md); grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid.two-col { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.9rem; color: var(--plum-800); }
.field .hint { font-size: 0.78rem; color: var(--grey-warm); font-weight: 400; }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--grey-line); border-radius: var(--radius-sm);
  padding: 0.8rem 1rem; background: var(--white); font-size: 0.98rem; color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--lavender-500); box-shadow: 0 0 0 4px rgba(154,120,197,0.18); outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field-required::after { content: " *"; color: var(--blush-600); }
.form-note {
  font-size: 0.82rem; color: var(--grey-warm); margin-top: var(--space-sm);
  display: flex; gap: 0.5rem; align-items: flex-start;
}
.form-note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.form-status {
  display: none; margin-top: var(--space-md); padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm); background: var(--blush-100); color: var(--plum-800);
  font-size: 0.92rem; font-weight: 600;
}
.form-status.is-visible { display: flex; gap: 0.55rem; align-items: flex-start; }
.form-status svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--blush-600); }

/* ==========================================================================
   Donation / involvement option cards
   ========================================================================== */
.option-card {
  background: var(--ivory-50); border-radius: var(--radius-md); padding: var(--space-lg);
  box-shadow: var(--shadow-soft); display: flex; flex-direction: column; height: 100%;
  border: 1px solid rgba(46,27,51,0.05);
}
.option-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.option-card p { color: var(--grey-warm); font-size: 0.92rem; flex-grow: 1; margin-bottom: var(--space-md); }
.option-card.featured { background: linear-gradient(160deg, var(--plum-800), var(--plum-700)); color: var(--ivory-50); }
.option-card.featured h3 { color: var(--ivory-50); }
.option-card.featured p { color: var(--lavender-200); }

/* ==========================================================================
   Above-footer CTA band (shared across all pages)
   ========================================================================== */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, var(--plum-800), var(--plum-900) 75%);
  color: var(--ivory-50);
  padding-block: var(--space-2xl);
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px; max-width: 90vw;
  background: radial-gradient(circle, rgba(241,137,175,0.16), transparent 65%);
  pointer-events: none;
}
.cta-band-inner { position: relative; max-width: 700px; margin-inline: auto; }
.cta-band h2 { color: var(--ivory-50); margin-bottom: var(--space-sm); }
.cta-band p { color: var(--lavender-200); margin-bottom: var(--space-lg); font-size: 1.05rem; }
.cta-band .btn-row { justify-content: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--plum-900); color: var(--lavender-200); }
.footer-top { padding-block: var(--space-xl); }
.footer-grid {
  display: grid; gap: var(--space-lg); grid-template-columns: 1fr;
}
@media (min-width: 780px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-brand img { height: 46px; margin-bottom: var(--space-sm); }
.footer-brand p { font-size: 0.9rem; color: var(--lavender-200); max-width: 32ch; }
.footer-brand .footer-tagline { color: var(--blush-400); font-weight: 700; margin-top: 0.4rem; font-family: var(--font-display); }
.footer-col h4 {
  color: var(--ivory-50); font-family: var(--font-body); font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--space-sm); font-weight: 700;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a, .footer-col button.link-like {
  font-size: 0.92rem; color: var(--lavender-200); background: none; border: none; padding: 0; text-align: left;
  font-family: var(--font-body);
}
.footer-col a:hover, .footer-col button.link-like:hover { color: var(--blush-400); text-decoration: underline; }
.footer-placeholder { font-size: 0.85rem; color: rgba(231,220,243,0.55); font-style: italic; }
.footer-bottom {
  border-top: 1px solid rgba(231,220,243,0.14);
  padding-block: var(--space-md);
  display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: rgba(231,220,243,0.65);
}
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }
.footer-bottom button.link-like {
  background: none; border: none; color: rgba(231,220,243,0.65); font-size: 0.82rem; padding: 0; font-family: var(--font-body);
}
.footer-bottom button.link-like:hover { color: var(--blush-400); text-decoration: underline; }

/* ==========================================================================
   Modal (policy placeholders)
   ========================================================================== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(36, 20, 41, 0.55);
  display: flex; align-items: center; justify-content: center; padding: var(--space-md);
  z-index: 200; opacity: 0; pointer-events: none; transition: opacity var(--dur-fast) var(--ease);
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--ivory-50); border-radius: var(--radius-lg); padding: var(--space-lg);
  max-width: 440px; width: 100%; box-shadow: var(--shadow-lift); text-align: center;
  transform: translateY(12px); transition: transform var(--dur-fast) var(--ease);
}
.modal-overlay.is-open .modal-box { transform: translateY(0); }
.modal-box .card-icon { margin-inline: auto; }
.modal-box h3 { margin-bottom: 0.6rem; }
.modal-box p { color: var(--grey-warm); margin-bottom: var(--space-md); font-size: 0.95rem; }

/* ==========================================================================
   Scroll reveal — content is always visible by default (never hidden behind
   JS/IntersectionObserver timing, so the page renders correctly even for
   crawlers, print, PDF export, or JS-disabled contexts). Where supported,
   a very subtle entrance transition is layered on as a progressive
   enhancement only, and never delays or hides content.
   ========================================================================== */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: transform 0.6s var(--ease); }
  .reveal:not(.is-visible) { transform: translateY(14px); }
  .reveal.is-visible { transform: none; }
}

/* ==========================================================================
   Misc utilities
   ========================================================================== */
.pill-tag {
  display: inline-block; padding: 0.3rem 0.8rem; border-radius: var(--radius-pill);
  background: var(--blush-100); color: var(--blush-600); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.03em;
}
hr.soft { border: none; border-top: 1px solid var(--grey-line); margin-block: var(--space-lg); }
.leaf-divider { display: flex; justify-content: center; margin-block: var(--space-lg); color: var(--lavender-500); opacity: 0.7; }
.leaf-divider svg { width: 120px; height: auto; }

/* ==========================================================================
   Photography — real imagery sourced from Unsplash
   ========================================================================== */
.photo-mosaic {
  display: grid; gap: var(--space-sm);
  grid-template-columns: 1fr;
}
.photo-mosaic .ph { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); background: var(--lavender-100); }
.photo-mosaic .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-mosaic .ph-main { aspect-ratio: 4/3; }
.photo-mosaic .ph-side { aspect-ratio: 4/3; }
@media (min-width: 760px) {
  .photo-mosaic {
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .photo-mosaic .ph-main { grid-row: 1 / 3; aspect-ratio: auto; height: 100%; }
  .photo-mosaic .ph-side { aspect-ratio: auto; height: 100%; }
}

.page-hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 16/7;
  background: var(--lavender-100);
}
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) {
  .page-hero-photo { aspect-ratio: 4/3; }
}

/* Reusable fixed-ratio photo box for in-content images (e.g. two-col-media) */
.media-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/3;
  background: var(--lavender-100);
  max-height: 420px;
}
.media-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) {
  .media-photo { aspect-ratio: 4/3; max-height: 300px; }
}

.two-col-media {
  display: grid; gap: var(--space-xl); grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 900px) { .two-col-media { grid-template-columns: 1fr 1fr; } }
.two-col-media > * { min-width: 0; }
.photo-mosaic > * { min-width: 0; }
.two-col-media.reverse .media-col { order: -1; }
@media (min-width: 900px) {
  .two-col-media.reverse .media-col { order: 2; }
}

.quote-block {
  border-left: 3px solid var(--blush-500); padding-left: var(--space-md);
  font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--plum-700);
}

table.resource-table { width: 100%; border-collapse: collapse; }
