/* ============================================================
   Design tokens -- implementing the approved visual direction
   (oak beside living water: rootedness, growth, wisdom, strength,
   calm editorial feel), refined toward an "Apple simplicity +
   Airbnb discovery + Notion organization + Stripe trust +
   Patagonia mission + Bible Project thoughtfulness" execution.
   Colors are unchanged from the approved, contrast-checked
   palette -- only typography, spacing, motion, and shadow systems
   are new. Nothing here is copy/content.
   ============================================================ */
:root {
  --color-navy: #142B3C;
  --color-navy-ink: #0D1E2B;
  --color-ivory: #F8F3E9;
  --color-white: #FFFFFF;
  --color-gold: #A9822F;
  --color-gold-text: #846426;
  --color-slate: #52616B;
  --color-forest: #3B5245;
  --color-border: #E4DCC9;

  --font-serif: "Fraunces", Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --space-7: 8rem;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --max-width: 1180px;
  --max-width-narrow: 760px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --dur-fast: 0.18s;
  --dur: 0.4s;
  --dur-slow: 0.7s;

  --shadow-xs: 0 1px 2px rgba(13, 30, 43, 0.06);
  --shadow-sm: 0 2px 8px rgba(13, 30, 43, 0.06), 0 1px 2px rgba(13, 30, 43, 0.05);
  --shadow-md: 0 12px 28px rgba(13, 30, 43, 0.10), 0 2px 6px rgba(13, 30, 43, 0.06);
  --shadow-lg: 0 24px 56px rgba(13, 30, 43, 0.16), 0 4px 12px rgba(13, 30, 43, 0.08);

  --focus-ring: 3px solid var(--color-gold);
}

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

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-navy-ink);
  background: var(--color-white);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  color: var(--color-navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-2);
  font-weight: 600;
}
h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 var(--space-2); }
a { color: var(--color-navy); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-1) var(--space-2);
  z-index: 100;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
  position: relative;
}

.section { padding: var(--space-7) 0; position: relative; }
.section--tight { padding: var(--space-5) 0; }
.section--ivory { background: var(--color-ivory); }
.section--navy { background: var(--color-navy); color: var(--color-ivory); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--color-white); }
.section--navy p { color: rgba(248, 243, 233, 0.86); }

/* scroll-reveal (progressive enhancement -- content is fully visible
   without JS; see main.js for the observer that adds .is-visible) */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.no-js [data-reveal], [data-reveal].no-observe { opacity: 1; transform: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-gold-text);
  margin-bottom: var(--space-2);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.section--navy .eyebrow { color: var(--color-ivory); }
.section--navy .eyebrow::before { background: var(--color-gold); opacity: 1; }

.section-head {
  max-width: var(--max-width-narrow);
  margin: 0 auto var(--space-5);
  text-align: center;
}
.section-head p { color: var(--color-slate); font-size: 1.15rem; }
.section--navy .section-head p { color: rgba(248, 243, 233, 0.86); }

/* Header / nav */
.site-header {
  border-bottom: 1px solid transparent;
  background: rgba(248, 243, 233, 0.001);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-navy);
  text-decoration: none;
}
.site-logo .mark { color: var(--color-forest); flex-shrink: 0; }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease);
}
.nav-toggle:hover { background: var(--color-ivory); }
.main-nav { display: flex; }
.main-nav > ul {
  display: flex;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.main-nav a {
  text-decoration: none;
  color: var(--color-navy-ink);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.1rem;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0.2rem;
  height: 1.5px;
  background: var(--color-gold-text);
  transition: right var(--dur) var(--ease);
}
.main-nav a:hover::after { right: 0; }
.main-nav a:hover { color: var(--color-navy); }
.has-children { position: relative; }
.has-children > button {
  background: none;
  border: none;
  font: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-navy-ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.1rem;
}
.has-children > button svg { transition: transform var(--dur-fast) var(--ease); }
.has-children:hover > button svg, .has-children.is-open > button svg { transform: rotate(180deg); }
.submenu {
  list-style: none;
  margin: 0;
  padding: var(--space-1);
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  min-width: 250px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast);
  z-index: 60;
}
.has-children:hover .submenu,
.has-children:focus-within .submenu,
.has-children.is-open .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu li a { display: block; padding: 0.55rem 0.8rem; border-radius: 8px; font-size: 0.92rem; }
.submenu li a::after { display: none; }
.submenu li a:hover { background: var(--color-ivory); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-2);
    box-shadow: var(--shadow-md);
  }
  .main-nav.is-open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .submenu { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; border: none; padding-left: var(--space-2); }
  .has-children.is-open .submenu { display: block; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--color-navy); color: var(--color-white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-navy-ink); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--color-navy); border-color: var(--color-border); }
.btn-secondary:hover { background: var(--color-navy); color: var(--color-white); border-color: var(--color-navy); }
.section--navy .btn-secondary { color: var(--color-white); border-color: rgba(255,255,255,0.4); }
.section--navy .btn-secondary:hover { background: var(--color-white); color: var(--color-navy); }
.button-row { display: flex; gap: var(--space-2); flex-wrap: wrap; }

/* Hero */
.hero {
  padding: var(--space-7) 0 var(--space-6);
  text-align: center;
  background: linear-gradient(180deg, var(--color-ivory) 0%, #FBF8F1 55%, var(--color-white) 100%);
  position: relative;
  overflow: hidden;
}
.hero-illustration {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}
.hero .container { max-width: var(--max-width-narrow); position: relative; z-index: 1; }
.hero .button-row { justify-content: center; margin-top: var(--space-4); }
.hero p.intro { font-size: 1.2rem; color: var(--color-slate); max-width: 620px; margin-left: auto; margin-right: auto; }
.hero .subheadline { font-size: 1.2rem; color: var(--color-slate); margin-top: -0.4rem; font-family: var(--font-serif); font-style: italic; }

/* Photo hero variant -- real photography with an accessible scrim so
   white text stays >= 4.5:1 against the brightest parts of the photo
   (checked against a bright sky/water tone, not just the average).
   Scrim lightened on request so the photo reads closer to its original
   brightness; still darkest at the bottom where the buttons sit. */
.hero--photo {
  padding-top: var(--space-7);
  padding-bottom: var(--space-7);
  min-height: 640px;
  display: flex;
  align-items: center;
  background: var(--color-navy);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  display: block;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 30, 43, 0.26) 0%, rgba(13, 30, 43, 0.32) 45%, rgba(13, 30, 43, 0.5) 100%);
}
.hero--photo .eyebrow { color: var(--color-ivory); text-shadow: 0 1px 12px rgba(13, 30, 43, 0.4); }
.hero--photo .eyebrow::before { background: var(--color-gold); opacity: 1; }
.hero--photo h1 { color: var(--color-white); text-shadow: 0 2px 20px rgba(13, 30, 43, 0.45); }
.hero--photo .subheadline { color: rgba(248, 243, 233, 0.92); text-shadow: 0 1px 14px rgba(13, 30, 43, 0.4); }
.hero--photo p.intro { color: rgba(248, 243, 233, 0.86); text-shadow: 0 1px 14px rgba(13, 30, 43, 0.4); }
.hero--photo .btn-primary { background: var(--color-white); color: var(--color-navy); }
.hero--photo .btn-primary:hover { background: var(--color-ivory); }
.hero--photo .btn-secondary { color: var(--color-white); border-color: rgba(255, 255, 255, 0.55); }
.hero--photo .btn-secondary:hover { background: var(--color-white); color: var(--color-navy); }
.hero--photo .scroll-cue { color: rgba(248, 243, 233, 0.85); }

.scroll-cue {
  display: inline-flex;
  margin-top: var(--space-5);
  color: var(--color-slate);
  opacity: 0.7;
  animation: bob 2.2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .scroll-cue { animation: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

.divider { display: block; width: 100%; height: auto; color: var(--color-border); }
.divider--ivory-white { color: var(--color-ivory); }

/* Grids */
.grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
.grid--pillars { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--space-5); position: relative; }

/* Editorial split layout -- text on one side, preview media on the other.
   Physical left/right order is just DOM order (first child = left), so
   the same two classes produce a mirrored layout depending on which
   child (.split-content or .split-media) is written first in the
   template -- no layout-direction modifier class needed. */
.split { display: flex; flex-direction: column; gap: var(--space-4); align-items: center; }
@media (min-width: 881px) {
  .split { flex-direction: row; align-items: center; gap: var(--space-6); }
  .split > * { flex: 1 1 0; min-width: 0; }
}
.split-content { text-align: left; max-width: 480px; }
.split-content .eyebrow, .split-content h2 { margin-bottom: var(--space-2); }
.split-content p { color: var(--color-slate); font-size: 1.15rem; }
.split-content .btn { margin-top: var(--space-2); }
.split-media { width: 100%; max-width: 460px; }

/* Simple vertical stack utility (Partners category cards inside a split). */
.stack { display: flex; flex-direction: column; gap: var(--space-3); }

/* Search / quick-find */
.quickfind {
  max-width: 480px;
  margin: 0 auto var(--space-4);
  position: relative;
}
.quickfind input {
  width: 100%;
  padding: 0.9rem 1.2rem 0.9rem 2.8rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-border);
  font: inherit;
  font-size: 0.98rem;
  background: var(--color-white);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.quickfind input:focus-visible { outline: none; border-color: var(--color-gold); box-shadow: 0 0 0 4px rgba(169, 130, 47, 0.18); }
.quickfind svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--color-slate); }
.quickfind .results-count { text-align: center; margin-top: var(--space-1); }

/* Cards */
.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-3);
  text-decoration: none;
  color: inherit;
  height: 100%;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: #D8CDA8; }
.card .icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(155deg, var(--color-ivory), var(--color-white));
  border: 1px solid var(--color-border);
  color: var(--color-forest);
  margin-bottom: var(--space-2);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover .icon-badge { transform: scale(1.06) rotate(-2deg); border-color: var(--color-gold); }
.card h3 { margin-bottom: 0.35rem; font-size: 1.18rem; }
.card p { color: var(--color-slate); font-size: 0.96rem; margin-bottom: 0; }
.card .placeholder { font-style: italic; color: var(--color-slate); opacity: 0.75; }
.card-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 var(--space-1); }
.tag {
  font-size: 0.75rem;
  background: var(--color-ivory);
  border: 1px solid var(--color-border);
  color: var(--color-navy);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

/* Stewardship Area finder cards (homepage) -- scoped modifiers layered on
   top of the shared .card so resource/partner cards elsewhere are untouched. */
.area-card {
  padding: var(--space-4);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.area-card h3 { font-size: 1.28rem; }
.area-card:hover,
.area-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #D8CDA8;
}
.area-card p { flex-grow: 1; }
.card-cta {
  margin-top: var(--space-2);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-forest);
  transition: color 0.2s var(--ease);
}
.card-cta span { display: inline-block; transition: transform var(--dur-fast) var(--ease); }
.area-card:hover .card-cta,
.area-card:focus-visible .card-cta {
  color: var(--color-gold-text);
}
.area-card:hover .card-cta span,
.area-card:focus-visible .card-cta span {
  transform: translateX(3px);
}

.grid--areas { grid-template-columns: 1fr; }
@media (min-width: 641px) {
  .grid--areas { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1025px) {
  .grid--areas { grid-template-columns: repeat(3, 1fr); }
}

/* Community preview grid -- one taller "featured" tile (Community Groups)
   beside two stacked smaller tiles, instead of three equal-width cards,
   for a bit of magazine-style asymmetry. Collapses to a single column
   below the split breakpoint. */
@media (min-width: 761px) {
  .grid--community { grid-template-columns: 1.15fr 1fr; grid-template-rows: repeat(2, 1fr); }
  .grid--community > *:first-child { grid-row: 1 / 3; }
}

/* Editorial "coming soon" preview components -- homepage Community /
   Partners / Academy tiles and the featured Resource / Good & Faithful
   cards. Deliberately plain: no photography, no gradients beyond the
   existing soft icon-badge tile, no stats or busy chrome. */
.tag--soon {
  display: inline-block;
  background: var(--color-white);
  border: 1px solid var(--color-gold);
  color: var(--color-gold-text);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
}
.preview-tile .tag--soon { margin-top: var(--space-1); }

/* Cards embedded in a navy section (e.g. Community previews) keep their
   own white background, so their heading needs to stay dark -- the
   broader `.section--navy h2/h3` rule is scoped past by specificity here.
   Paragraph text already resolves correctly via the existing, more
   specific `.card p` rule declared above. */
.section--navy .card h3 { color: var(--color-navy-ink); }

.featured-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
a.featured-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: #D8CDA8; }
.featured-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 240px;
  background: linear-gradient(155deg, var(--color-ivory), var(--color-white));
  color: var(--color-forest);
  border-bottom: 1px solid var(--color-border);
}
.featured-card-texture {
  position: absolute;
  inset: 0;
  color: var(--color-forest);
  opacity: 0.1;
  pointer-events: none;
}
.featured-card-texture svg { width: 100%; height: 100%; display: block; }
.featured-card-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  transition: transform var(--dur) var(--ease);
}
a.featured-card:hover .featured-card-icon { transform: scale(1.06); }
.featured-card-body { padding: var(--space-4); }
.featured-card-body .eyebrow { margin-bottom: var(--space-1); }
.featured-card-body h3 { font-size: 1.6rem; margin-bottom: var(--space-2); }
.featured-card-body p { font-size: 1.05rem; }
.featured-card-body .tag--soon { margin-bottom: var(--space-2); }

/* --full: default side-by-side panel, meant for a full-container-width
   placement (Good & Faithful). --stacked: media always stays above the
   body, used inside a half-width .split-media column where a forced
   row layout would get cramped (Resources). */
@media (min-width: 761px) {
  .featured-card--full { flex-direction: row; align-items: stretch; }
  .featured-card--full .featured-card-media { width: 40%; min-height: 320px; border-bottom: none; border-right: 1px solid var(--color-border); }
  .featured-card--full .featured-card-body { flex: 1; padding: var(--space-6) var(--space-5); display: flex; flex-direction: column; justify-content: center; }
}
.featured-full-wrap { margin: var(--space-5) auto 0; text-align: left; }

/* Academy learning-pathway row -- reuses .card for all its base styling
   (padding, border, hover lift, icon-badge) and adds a numbered index plus
   a thin connecting line across the row on wider screens, implying a
   progression rather than three unrelated options. */
.path-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-4); margin-bottom: var(--space-4); position: relative; }
@media (min-width: 761px) {
  .path-row::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 12%;
    right: 12%;
    height: 1px;
    background: var(--color-border);
    z-index: 0;
  }
}
.path-card { position: relative; z-index: 1; }
.path-card-index {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-gold-text);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.35rem;
}

/* Pillars (Stripe-style numbered feature row) */
.pillar { text-align: center; padding: var(--space-2); position: relative; }
.pillar .icon-badge {
  width: 64px; height: 64px;
  margin: 0 auto var(--space-2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, var(--color-ivory), var(--color-white));
  border: 1px solid var(--color-border);
  color: var(--color-forest);
}
.pillar .step-number {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-gold-text);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.35rem;
}

/* Coming soon */
.coming-soon {
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-4);
  text-align: center;
  color: var(--color-slate);
  background: var(--color-ivory);
}
.coming-soon strong { color: var(--color-navy); display: block; margin-bottom: 0.3rem; font-family: var(--font-serif); font-size: 1.2rem; }

/* Statement callout */
.statement-wrap { max-width: 620px; margin: var(--space-3) auto 0; text-align: center; }
.statement {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--color-navy);
  line-height: 1.4;
}
.section--navy .statement { color: var(--color-white); }
.statement-mark { color: var(--color-gold); opacity: 0.5; display: block; margin: 0 auto var(--space-1); }

/* Filters (resource / partner directories) */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  padding: var(--space-3);
  background: var(--color-ivory);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
.filters .field { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.85rem; }
.filters label { font-weight: 600; color: var(--color-navy); }
.filters select, .filters input[type="search"] {
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font: inherit;
  min-width: 180px;
  background: var(--color-white);
  transition: border-color var(--dur-fast) var(--ease);
}
.filters select:focus-visible, .filters input:focus-visible { outline: none; border-color: var(--color-gold); }
.filters .field--search { flex: 1 1 240px; }

.results-count { color: var(--color-slate); margin-bottom: var(--space-2); font-size: 0.9rem; }
[data-empty-state] { display: none; }

/* Footer */
.site-footer {
  background: var(--color-navy);
  color: var(--color-ivory);
  /* Extra top padding (beyond the standard --space-7 section rhythm) now
     that the footer is the homepage's natural conclusion rather than
     following a closing CTA section -- gives the ending room to breathe
     instead of feeling abrupt. */
  padding: 10rem 0 var(--space-3);
  position: relative;
}
.site-footer a { color: var(--color-ivory); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-mission { text-align: center; margin-bottom: var(--space-5); }
.footer-mark { display: inline-flex; color: var(--color-gold); margin-bottom: var(--space-2); }
.footer-org { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; color: var(--color-white); margin-bottom: 0.2rem; }
.footer-tagline { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: rgba(248, 243, 233, 0.85); margin-bottom: 0; }
.footer-divider { height: 1px; background: rgba(255, 255, 255, 0.15); max-width: 140px; margin: 0 auto var(--space-6); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.footer-grid h4 { color: var(--color-white); font-family: var(--font-sans); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--space-2); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.5rem; font-size: 0.94rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(248,243,233,0.7);
}
.footer-bottom ul { list-style: none; display: flex; gap: var(--space-2); flex-wrap: wrap; margin: 0; padding: 0; }
.footer-bottom a { color: rgba(248,243,233,0.7); }

/* Utility */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.prose { max-width: var(--max-width-narrow); margin: 0 auto; }
.prose h2 { margin-top: var(--space-4); }
.text-center { text-align: center; }
.breadcrumb { font-size: 0.85rem; color: var(--color-slate); margin-bottom: var(--space-2); }
.breadcrumb a { color: var(--color-slate); }
.area-hero-badge { width: 76px; height: 76px; margin: 0 auto var(--space-2); border-radius: var(--radius); background: linear-gradient(155deg, var(--color-ivory), var(--color-white)); border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; color: var(--color-forest); }
