/* =========================================================
   NLABS — New Life Association of Bible Schools
   Website — shared design system
   Warm · credible · restrained · ministry-appropriate
   Mobile-first · accessible · no external dependencies
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette — deep green + gold + cream */
  --green-900: #0e2a20;
  --green-850: #123326;
  --green-800: #17412f;
  --green-700: #1f5239;
  --green-600: #2a6a4b;
  --green-100: #dfeae2;
  --green-050: #eef4f0;

  --gold-800: #6f4f1b;
  --gold-700: #8a6424;
  --gold-600: #a97b2f;
  --gold-500: #c19a4f;
  --gold-300: #e0c894;
  --gold-200: #ecd9b5;
  --gold-100: #f6eeda;

  --cream: #faf6ee;
  --cream-deep: #f3ecdd;
  --paper: #ffffff;
  --ink: #1c2732;
  --muted: #566270;
  --muted-2: #515c69;
  --line: #e6dfd0;
  --line-soft: #efe9db;
  --danger: #9b2c2c;
  --focus: #b45309;

  /* Type */
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Shape & depth */
  --radius-lg: 16px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(16, 31, 46, 0.06);
  --shadow-sm: 0 1px 2px rgba(16, 31, 46, 0.06), 0 4px 12px rgba(16, 31, 46, 0.06);
  --shadow-md: 0 6px 18px rgba(16, 31, 46, 0.10);
  --shadow-lg: 0 18px 44px rgba(16, 31, 46, 0.16);

  --container: 1140px;
  --header-h: 68px;
  --ribbon-h: 46px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--ribbon-h) + 12px);
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.16;
  color: var(--green-900);
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 4.6vw, 3.15rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.15rem); }
h3 { font-size: 1.28rem; }
h4 { font-size: 1.06rem; }
p { margin: 0 0 1.05em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--green-700); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-600); }
.section--green a:not(.btn):hover, .page-hero a:not(.btn):hover, .hero a:not(.btn):hover, .path--partner a:not(.btn):hover { color: #fff; }
img, svg, video { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.25em; margin: 0 0 1.1em; }
li { margin-bottom: 0.35em; }
strong, b { color: var(--green-900); font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
::selection { background: var(--gold-200); color: var(--green-900); }

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--green-900); color: #fff; padding: 0.7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) 0; text-decoration: none; font-weight: 600;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
@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; }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.container--narrow { max-width: 780px; }
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section--alt { background: var(--paper); border-block: 1px solid var(--line-soft); }
.section--cream { background: var(--cream); }
.section--green { background: var(--green-900); color: #e3ece5; position: relative; overflow: hidden; }
.section--green::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 82% 12%, rgba(193, 154, 79, 0.16), transparent 42%),
              radial-gradient(circle at 8% 90%, rgba(42, 106, 75, 0.24), transparent 46%);
}
.section--green > .container { position: relative; z-index: 1; }
.section--green h2, .section--green h3, .section--green h4 { color: #fff; }
.section--green p { color: #c3d3c7; }
.section--green a { color: #e7f0e9; }

.eyebrow {
  display: inline-block; font-family: var(--font-sans);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-700); margin-bottom: 0.7rem;
}
.eyebrow--center { display: block; }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--muted); max-width: 46rem; }
.section--green .lead { color: #c3d3c7; }
.measure { max-width: 46rem; }
.center { text-align: center; }
.center .lead, .center.content { margin-inline: auto; }
.section-head { max-width: 46rem; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.section-head.center { margin-inline: auto; }
.section-head p:last-child { margin-bottom: 0; }

.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.5rem); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-2--wide { grid-template-columns: 1.15fr 0.85fr; }
  .align-center { align-items: center; }
}

/* ---------- Header / nav ---------- */
.prototype-badge {
  background: #0e2a20; color: var(--gold-300);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em;
  text-align: center; padding: 0.4rem 1rem;
}
.prototype-badge strong { color: #fff; font-weight: 700; }
.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
  transition: box-shadow 0.2s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; padding-block: 0.7rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; margin-right: auto; }
.brand:hover { text-decoration: none; }
.logo {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--green-800), var(--green-900));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.logo svg { width: 22px; height: 22px; color: var(--gold-300); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-mark {
  font-family: var(--font-serif); font-weight: 700; font-size: 1.32rem;
  color: var(--green-900); letter-spacing: 0.02em;
}
.brand-mark .accent { color: var(--gold-600); }
.brand-sub { font-size: 0.75rem; color: var(--muted-2); letter-spacing: 0.02em; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-sans); font-size: 1rem; font-weight: 600;
  color: var(--green-900); background: var(--cream); border: 1px solid var(--line);
  padding: 0.5rem 0.85rem; border-radius: var(--radius-sm); cursor: pointer;
}
.nav-toggle:hover { background: var(--green-050); }
.site-nav { flex-basis: 100%; display: none; }
.site-nav.is-open { display: block; padding-bottom: 0.6rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.1rem; }
.site-nav a {
  display: block; text-decoration: none; color: var(--green-800); font-weight: 600;
  padding: 0.55rem 0.7rem; border-radius: var(--radius-sm); font-size: 1.05rem;
  border-left: 2px solid transparent; white-space: nowrap;
}
.site-nav a:hover { background: var(--green-050); color: var(--green-900); }
.site-nav a[aria-current="page"] { color: var(--green-800); background: var(--gold-100); }
@media (min-width: 1140px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; flex: 1; flex-basis: auto; }
  .site-nav ul { flex-direction: row; align-items: center; justify-content: flex-end; gap: 0.1rem; flex-wrap: wrap; }
  .site-nav a { padding: 0.5rem 0.4rem; font-size: 1rem; border-left: 0; border-bottom: 2px solid transparent; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
  .site-nav a[aria-current="page"] { background: transparent; border-bottom-color: var(--gold-500); color: var(--green-900); }
}
.site-nav a.btn { display: inline-block; padding: 0.5rem 0.95rem; line-height: 1.3; border: 1px solid transparent; border-radius: var(--radius-pill); }
.section--green .btn, .hero .btn, .page-hero .btn, .path--partner .btn { box-shadow: none; }
.site-nav a.btn-outline { background: transparent; color: var(--green-800); border-color: var(--green-800); }
.site-nav a.btn-outline:hover { background: var(--green-800); color: #fff; }
.site-nav a.btn-gold { background: var(--gold-700); color: #fff; border-color: var(--gold-700); }
.site-nav a.btn-gold:hover { background: var(--gold-800); color: #fff; }
@media (max-width: 1139px) {
  .site-nav a.btn { display: block; text-align: center; margin-top: 0.4rem; border-bottom: 0; }
}

/* ---------- Dual-brand header (Formation Missions + NLABS) ----------
   Option A (data-brand="ribbon"): thin top ribbon — Formation Missions left,
     NLABS right — with the primary nav in a row below.
   Option B (data-brand="inline"): single row — FM wordmark · nav · NLABS wordmark.
   Below 1140px both options collapse to the ribbon + "Menu" toggle. */
.brand-ribbon {
  background-color: var(--green-900);
  background-image: linear-gradient(180deg, var(--green-900) 0%, var(--green-850) 100%);
  color: #eef4ef;
  border-bottom: 1px solid var(--gold-600);
  padding-block: 0.4rem;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}
.brand-ribbon .container { padding-inline: 0; }
.brand-ribbon__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem 1.25rem; min-height: 34px;
}
.brand-ribbon .brand { margin: 0; color: inherit; gap: 0.6rem; }
.brand-ribbon .brand-mark { color: #fff; font-size: 1.12rem; }
.brand-ribbon .brand-mark .accent { color: var(--gold-300); }
.brand-ribbon .brand-sub { color: rgba(238, 244, 239, 0.6); }
.logo-fm {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(150deg, var(--gold-600), var(--gold-700));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.logo-fm svg { width: 19px; height: 19px; color: #fff; }
.logo-nl {
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.logo-nl svg { width: 19px; height: 19px; color: var(--gold-300); }
.site-header > .header-inner { padding-block: 0.55rem; }

/* --- Option visibility --- */
.brand--inline { display: none; }
.site-header[data-brand="ribbon"] .brand--inline { display: none; }
.site-header[data-brand="inline"] .brand-ribbon { display: none; }

/* --- Option B: inline brands (scoped to .brand--inline so the ribbon
       brands are never affected when the ribbon shows on narrow screens) --- */
.site-header[data-brand="inline"] .brand--inline { display: flex; }
.site-header[data-brand="inline"] .brand--inline .brand-mark { color: var(--green-900); }
.site-header[data-brand="inline"] .brand--inline .brand-sub { color: var(--muted-2); }
.site-header[data-brand="inline"] .brand--inline.brand-nl { margin-left: 0.6rem; }
.site-header[data-brand="inline"] .brand--inline.brand-nl .logo-nl {
  background: linear-gradient(150deg, var(--green-800), var(--green-900));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.site-header[data-brand="inline"] .brand--inline.brand-nl .logo-nl svg { color: var(--gold-300); }
@media (min-width: 1140px) {
  .site-header[data-brand="inline"] .header-inner { flex-wrap: nowrap; }
  .site-header[data-brand="inline"] .site-nav { flex: 1 1 auto; min-width: 0; }
  .site-header[data-brand="inline"] .site-nav ul { justify-content: center; row-gap: 0.15rem; }
  .site-header[data-brand="inline"] .brand--inline.brand-fm { margin-right: 0; }
  .site-header[data-brand="inline"] .brand--inline .brand-sub { display: none; }
  .site-header[data-brand="inline"] .brand--inline .brand-mark { font-size: 1.2rem; }
  .site-header[data-brand="inline"] .brand--inline .logo-fm,
  .site-header[data-brand="inline"] .brand--inline .logo-nl { width: 38px; height: 38px; }
  .site-header[data-brand="inline"] .site-nav a { padding: 0.5rem 0.34rem; font-size: 0.95rem; }
  .site-header[data-brand="inline"] .site-nav a.btn { padding: 0.46rem 0.6rem; font-size: 0.9rem; }
}

/* --- Narrow screens: both options fall back to the ribbon layout --- */
.site-header[data-brand="ribbon"] .nav-toggle { margin-left: auto; }
@media (max-width: 1139px) {
  .site-header[data-brand="inline"] .brand-ribbon { display: block; }
  .site-header[data-brand="inline"] .brand--inline { display: none; }
  .site-header[data-brand="inline"] .nav-toggle { margin-left: auto; }
}
@media (max-width: 560px) {
  .brand-ribbon .brand-sub { display: none; }
  .brand-ribbon .brand-mark { font-size: 1rem; }
  .brand-ribbon .logo-fm, .brand-ribbon .logo-nl { width: 30px; height: 30px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-sans); font-weight: 700; text-decoration: none; text-align: center; cursor: pointer;
  padding: 0.75rem 1.35rem; border-radius: var(--radius-pill); font-size: 0.97rem;
  border: 1.5px solid transparent; line-height: 1.2;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--green-800); color: #fff; box-shadow: none; }
.btn-primary:hover { background: var(--green-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-gold { background: var(--gold-700); color: #fff; box-shadow: none; }
.btn-gold:hover { background: var(--gold-800); color: #fff; box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; color: var(--green-800); border-color: var(--green-800); }
.btn-outline:hover { background: var(--green-800); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-outline-light:hover { background: #fff; color: var(--green-900); border-color: #fff; }
.btn-light { background: #fff; color: var(--green-900); }
.btn-light:hover { background: var(--cream); color: var(--green-900); }
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.86rem; }
.btn-lg { padding: 0.9rem 1.7rem; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.btn-group--center { justify-content: center; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  --ph-scrim:
    radial-gradient(circle at 86% 8%, rgba(193, 154, 79, 0.16), transparent 44%),
    linear-gradient(96deg, rgba(10, 29, 22, 0.90) 0%, rgba(10, 29, 22, 0.84) 46%, rgba(10, 29, 22, 0.60) 78%, rgba(10, 29, 22, 0.44) 100%);
  background-color: var(--green-900);
  background-image: var(--ph-scrim), url("../img/hero-village-1280.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 45%;
  color: #e9f1ea;
  padding: clamp(2.6rem, 6vw, 4rem) 0;
  border-bottom: 2px solid var(--gold-500);
  position: relative; overflow: hidden;
}
/* Narrow screens: banner text spans the width, so use one darker scrim + smaller asset. */
@media (max-width: 899px) {
  .page-hero {
    --ph-scrim:
      radial-gradient(circle at 86% 8%, rgba(193, 154, 79, 0.16), transparent 46%),
      linear-gradient(180deg, rgba(10, 29, 22, 0.90) 0%, rgba(10, 29, 22, 0.80) 60%, rgba(10, 29, 22, 0.64) 100%);
    background-image: var(--ph-scrim), url("../img/hero-village-960.jpg");
  }
}
/* Prefer WebP (JPEG fallback retained for browsers without image-set()). */
.page-hero { background-image: var(--ph-scrim), image-set(url("../img/hero-village-1280.webp") 1x type("image/webp"), url("../img/hero-village-1280.jpg") 1x type("image/jpeg")); }
@media (max-width: 899px) { .page-hero { background-image: var(--ph-scrim), image-set(url("../img/hero-village-960.webp") 1x type("image/webp"), url("../img/hero-village-960.jpg") 1x type("image/jpeg")); } }
.page-hero .eyebrow { color: var(--gold-300); }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .lead { color: #c3d3c7; margin-bottom: 0; }
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center .lead { margin-inline: auto; }

/* ---------- Home hero (showpiece) ----------
   Background photograph: women and children gathered in a village — Pexels (free license).
   The scrim is directional: dark under the text column, lighter on the right so the
   photograph reads. Guarantees WCAG AA for the light hero text. */
.hero {
  --hero-scrim:
    radial-gradient(circle at 88% 14%, rgba(193, 154, 79, 0.16), transparent 44%),
    linear-gradient(180deg, rgba(9, 25, 19, 0.26) 0%, rgba(9, 25, 19, 0) 28%, rgba(9, 25, 19, 0.30) 100%),
    linear-gradient(96deg, rgba(9, 25, 19, 0.90) 0%, rgba(9, 25, 19, 0.85) 46%, rgba(9, 25, 19, 0.72) 64%, rgba(9, 25, 19, 0.26) 84%, rgba(9, 25, 19, 0.06) 100%);
  background-color: var(--green-900);
  background-image: var(--hero-scrim), url("../img/hero-village-960.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  color: #e9f1ea; position: relative; overflow: hidden;
  padding: clamp(3.2rem, 8vw, 6rem) 0 clamp(3.4rem, 8vw, 5.5rem);
}
/* Narrow screens: hero text spans the full width, so use one darker scrim. */
@media (max-width: 899px) {
  .hero {
    --hero-scrim:
      radial-gradient(circle at 82% 10%, rgba(193, 154, 79, 0.16), transparent 52%),
      linear-gradient(180deg, rgba(9, 25, 19, 0.90) 0%, rgba(9, 25, 19, 0.86) 70%, rgba(9, 25, 19, 0.60) 88%, rgba(9, 25, 19, 0.34) 100%);
  }
}
@media (min-width: 900px) { .hero { background-image: var(--hero-scrim), url("../img/hero-village-1280.jpg"); } }
@media (min-width: 1400px) { .hero { background-image: var(--hero-scrim), url("../img/hero-village-1920.jpg"); } }
/* Prefer WebP; browsers without image-set() keep the JPEG declarations above. */
.hero { background-image: var(--hero-scrim), image-set(url("../img/hero-village-960.webp") 1x type("image/webp"), url("../img/hero-village-960.jpg") 1x type("image/jpeg")); }
@media (min-width: 900px) { .hero { background-image: var(--hero-scrim), image-set(url("../img/hero-village-1280.webp") 1x type("image/webp"), url("../img/hero-village-1280.jpg") 1x type("image/jpeg")); } }
@media (min-width: 1400px) { .hero { background-image: var(--hero-scrim), image-set(url("../img/hero-village-1920.webp") 1x type("image/webp"), url("../img/hero-village-1920.jpg") 1x type("image/jpeg")); } }
.hero > .container { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--gold-300); }
.hero h1 { color: #fff; max-width: 22ch; }
.hero .lead { color: #cddbd0; max-width: 42rem; }
.hero-actions { margin-top: 1.8rem; }
.hero-inner { display: grid; gap: clamp(2rem, 5vw, 3.2rem); align-items: center; }
@media (min-width: 960px) { .hero-inner { grid-template-columns: 1.05fr 0.95fr; } }
/* Graphic spot — real portrait photograph in a framed panel (Pexels). */
.hero-art { position: relative; }
.hero-art__media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.20); background: rgba(9, 25, 19, 0.55);
}
.hero-art__media picture, .hero-art__media img { display: block; width: 100%; height: 100%; }
.hero-art__media img { object-fit: cover; aspect-ratio: 4 / 5; }
.hero-art__chips { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 0.9rem; }
.hero-chip {
  background: rgba(9, 25, 19, 0.62); border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--radius); padding: 0.6rem 0.85rem;
}
.hero-chip .v { font-family: var(--font-serif); font-weight: 700; font-size: 1.05rem; color: #fff; display: block; }
.hero-chip .k { font-size: 0.72rem; color: #c8d6cb; text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- Cards ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.3rem, 2.4vw, 1.75rem); box-shadow: var(--shadow-xs);
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.card h3 { margin-top: 0.15rem; }
.card--link { text-decoration: none; color: inherit; display: block; }
.card--link:hover { box-shadow: var(--shadow-md); border-color: var(--gold-300); transform: translateY(-2px); text-decoration: none; }
.card .card-cta { color: var(--green-700); font-weight: 700; display: inline-flex; align-items: center; gap: 0.35rem; }
.card--flush { padding: 0; overflow: hidden; }
.card--flush .card-body { padding: clamp(1.2rem, 2.4vw, 1.6rem); }
.card--flat { box-shadow: none; background: transparent; border-color: var(--line-soft); }
.card--ghost { background: var(--cream); border-style: dashed; }
.card-icon {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: var(--gold-100); color: var(--gold-700); margin-bottom: 0.8rem;
}
.card-icon svg { width: 22px; height: 22px; }

/* ---------- Stats ---------- */
.stats { display: grid; gap: clamp(1rem, 2vw, 1.3rem); grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem 1.1rem; text-align: center; box-shadow: var(--shadow-xs);
}
.stat .stat-value { font-family: var(--font-serif); font-size: clamp(1.5rem, 3.6vw, 2.2rem); font-weight: 700; color: var(--green-900); line-height: 1.1; }
.stat .stat-label { color: var(--muted); font-size: 0.9rem; margin-top: 0.3rem; }
.section--green .stat { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); box-shadow: none; }
.section--green .stat .stat-value { color: #fff; }
.section--green .stat .stat-label { color: #b8c9bb; }

/* ---------- Two-path band ---------- */
.path-band { display: grid; gap: clamp(1.1rem, 2.4vw, 1.5rem); grid-template-columns: 1fr; }
@media (min-width: 800px) { .path-band { grid-template-columns: 1fr 1fr; } }
.path {
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.2rem); position: relative; overflow: hidden;
  color: var(--ink); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.path--give { background: linear-gradient(170deg, var(--cream), var(--gold-100)); border-color: var(--gold-200); }
.path--partner { background-color: var(--green-900); background-image: linear-gradient(160deg, var(--green-900), var(--green-700)); color: #e9f1ea; border-color: var(--green-700); box-shadow: none; }
.path--partner h3 { color: #fff; }
.path--partner p { color: #c3d3c7; }
.path .tag { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.8rem; }
.path--give .tag { color: var(--gold-700); }
.path--partner .tag { color: var(--gold-300); }
.path .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Designed media placeholders ---------- */
.media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(150deg, #edf1ea, #fbfaf6 70%);
  min-height: 220px; display: grid; place-items: center; text-align: center;
}
.media__inner { position: relative; z-index: 1; padding: 1.4rem; max-width: 30rem; }
.media__icon { width: 40px; height: 40px; margin: 0 auto 0.7rem; color: var(--green-600); opacity: 0.7; }
.media__label { display: inline-block; font-size: 0.86rem; font-weight: 600; color: var(--green-700); }
.media--tall { min-height: 300px; }
.media--short { min-height: 160px; }
.media--gold { border-color: var(--gold-200); background: linear-gradient(150deg, var(--gold-100), #fdf7ea 70%); }
.media--gold .media__icon { color: var(--gold-700); }

/* Real photograph inside a media panel */
.media--photo { padding: 0; display: block; background: var(--green-050); aspect-ratio: 4 / 5; }
.media--photo picture, .media--photo img { display: block; width: 100%; height: 100%; }
.media--photo img { object-fit: cover; }

/* Map placeholder */
.media--map {
  min-height: 340px; border-color: var(--green-100);
  background: radial-gradient(circle at 50% 42%, #ffffff, #eef3ee 76%);
}
.media--map .media__icon { width: 46px; height: 46px; color: var(--green-700); opacity: 0.8; }
.map-dots { position: absolute; inset: 0; opacity: 0.5; }

/* Hatch utility (thumbnails in cards) */
.thumb {
  border-radius: var(--radius) var(--radius) 0 0; overflow: hidden;
  background: linear-gradient(150deg, #edf1ea, #fbfaf6 70%); border-bottom: 1px solid var(--line);
  display: grid; place-items: center; min-height: 150px; position: relative;
}
.thumb svg { position: relative; z-index: 1; width: 30px; height: 30px; color: var(--green-600); opacity: 0.6; }
.thumb span { position: relative; z-index: 1; }

/* ---------- Placeholders (TBD) ---------- */
.ph {
  font-family: var(--font-sans); font-size: max(0.8em, 0.75rem); font-weight: 600;
  background: var(--gold-100); color: var(--gold-800);
  border: 1px dashed var(--gold-500); border-radius: var(--radius-pill);
  padding: 0.06em 0.55em; white-space: nowrap; letter-spacing: 0;
}
.stat .ph, h1 .ph, h2 .ph { white-space: normal; }
.ph-note {
  font-size: 0.82rem; color: var(--gold-800); font-style: italic;
  background: var(--gold-100); border: 1px solid var(--gold-500);
  padding: 0.6rem 0.85rem; border-radius: var(--radius-sm); margin: 0.9rem 0 0;
}
.ph-inline-note { color: var(--gold-800); font-size: max(0.86em, 0.75rem); font-style: italic; }
.disclaimer {
  background: var(--paper); border: 1px dashed var(--gold-500); border-radius: var(--radius);
  padding: 1rem 1.2rem; color: var(--muted); font-size: 0.9rem; margin: 1.5rem 0; display: flex; gap: 0.8rem; align-items: flex-start;
}
.disclaimer svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--gold-700); margin-top: 0.15rem; }
.disclaimer strong { color: var(--green-900); }

/* ---------- Steps / lists ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps > li { counter-increment: step; position: relative; padding-left: 3.2rem; padding-bottom: 1.5rem; }
.steps > li:not(:last-child)::after {
  content: ""; position: absolute; left: 15px; top: 2.2rem; bottom: 0.2rem; width: 2px;
  background: linear-gradient(var(--gold-300), var(--line-soft));
}
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green-800); color: #fff; font-weight: 700; font-family: var(--font-sans);
  display: grid; place-items: center; font-size: 0.92rem; box-shadow: var(--shadow-xs);
}
.steps h3 { margin: 0.1rem 0 0.35rem; }
.steps p { margin-bottom: 0; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding-left: 1.7rem; position: relative; margin-bottom: 0.65rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.42em;
  width: 1.05em; height: 0.6em; border-left: 2px solid var(--green-600); border-bottom: 2px solid var(--green-600);
  transform: rotate(-45deg);
}
.check-list--gold li::before { border-color: var(--gold-600); }

/* ---------- Curriculum ---------- */
.track { margin-bottom: clamp(2rem, 4vw, 3rem); }
.track:last-child { margin-bottom: 0; }
.track-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.75rem;
  border-bottom: 2px solid var(--gold-500); padding-bottom: 0.6rem; margin-bottom: 1.2rem;
}
.track-head h2 { margin: 0; font-size: clamp(1.35rem, 2.8vw, 1.75rem); }
.track-head .count { color: var(--muted); font-size: 0.88rem; }
.track-head .count::before { content: "·"; margin-right: 0.5rem; color: var(--line); }
.courses { display: grid; gap: 0.8rem; }
@media (min-width: 720px) { .courses { grid-template-columns: 1fr 1fr; } }
.course {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.05rem 1.2rem; box-shadow: var(--shadow-xs); display: flex; gap: 0.9rem;
}
.course .num {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px; background: var(--green-050);
  color: var(--green-700); font-weight: 700; font-size: 0.85rem; display: grid; place-items: center;
  font-family: var(--font-sans);
}
.course h3 { font-size: 1.02rem; margin: 0 0 0.15rem; font-family: var(--font-sans); font-weight: 700; color: var(--green-900); }
.course p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* ---------- Funnel strip ---------- */
.funnel { display: flex; flex-direction: column; gap: 0.6rem; counter-reset: fun; }
.funnel-step {
  display: flex; align-items: center; gap: 0.9rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 0.85rem 1.05rem;
  box-shadow: var(--shadow-xs);
}
.funnel-step .dot {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--green-700); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; font-family: var(--font-sans);
}
.funnel-step .dot--end { background: var(--gold-700); }
.funnel-step span { font-weight: 600; }
.funnel .funnel-arrow { display: none; }
@media (min-width: 820px) {
  .funnel { flex-direction: row; align-items: center; }
  .funnel-step { flex: 1 1 auto; flex-direction: column; text-align: center; justify-content: center; gap: 0.6rem; padding: 1.1rem 0.8rem; }
  .funnel .funnel-arrow {
    display: block; flex: 0 0 auto; color: var(--gold-500); font-size: 1.1rem; line-height: 1;
  }
}
.section--green .funnel-step { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.18); box-shadow: none; }
.section--green .funnel-step .dot { background: var(--gold-700); }
.section--green .funnel-step span { color: #e9f1ea; }
.section--green .funnel .funnel-arrow { color: var(--gold-300); }

/* ---------- Feature / split ---------- */
.split { display: grid; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; } .split--media-first > *:first-child { order: 2; } }
.badge-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--green-050); border: 1px solid var(--line); color: var(--green-800);
  border-radius: var(--radius-pill); padding: 0.35rem 0.85rem; font-size: 0.82rem; font-weight: 600;
}
.pill--gold { background: var(--gold-100); border-color: var(--gold-200); color: var(--gold-800); }
.pill svg { width: 15px; height: 15px; }

/* ---------- Callout band ---------- */
.callout {
  background: linear-gradient(150deg, var(--cream-deep), var(--gold-100));
  border: 1px solid var(--gold-200); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.4rem);
}

/* ---------- Photographic section band (closing CTA) ---------- */
.section--photo {
  --band-scrim:
    radial-gradient(130% 150% at 50% 46%, rgba(9, 25, 19, 0.90) 0%, rgba(9, 25, 19, 0.78) 44%, rgba(9, 25, 19, 0.50) 100%),
    linear-gradient(180deg, rgba(9, 25, 19, 0.34), rgba(9, 25, 19, 0.46));
  position: relative; overflow: hidden;
  color: #eaf2eb;
  background-color: var(--green-900);
  background-image: var(--band-scrim), url("../img/path-band-1280.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 44%;
}
.section--photo > .container { position: relative; z-index: 1; }
.section--photo h2 { color: #fff; }
.section--photo .lead { color: #d3e0d6; }
/* Prefer WebP (JPEG fallback retained for browsers without image-set()). */
.section--photo { background-image: var(--band-scrim), image-set(url("../img/path-band-1280.webp") 1x type("image/webp"), url("../img/path-band-1280.jpg") 1x type("image/jpeg")); }
@media (min-width: 1200px) { .section--photo { background-image: var(--band-scrim), image-set(url("../img/path-band-1920.webp") 1x type("image/webp"), url("../img/path-band-1920.jpg") 1x type("image/jpeg")); } }
@media (max-width: 899px) { .section--photo { background-image: var(--band-scrim), image-set(url("../img/path-band-960.webp") 1x type("image/webp"), url("../img/path-band-960.jpg") 1x type("image/jpeg")); } }

/* ---------- Forms ---------- */
.form { max-width: 34rem; }
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-weight: 600; margin-bottom: 0.35rem; color: var(--green-900); font-size: 0.94rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; font-family: var(--font-sans); font-size: 1rem; color: var(--ink);
  padding: 0.7rem 0.85rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.18);
}
.form-hint { font-size: 0.82rem; color: var(--muted); margin-top: 0.35rem; }
.form-field .required { color: var(--danger); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #b9c9bc; padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.8rem; position: relative; }
.site-footer a { color: #dce8de; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.footer-grid { display: grid; gap: clamp(1.8rem, 4vw, 3rem); grid-template-columns: 1fr; }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.7fr 1fr 1fr; } }
.site-footer h3 { color: #fff; font-family: var(--font-sans); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.55rem; font-size: 0.93rem; }
.footer-brand .logo { margin-bottom: 0.9rem; }
.footer-brand .brand-mark { color: #fff; }
.footer-parent {
  color: var(--gold-300); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.04em; margin: 0.15rem 0 0.55rem;
}
.footer-tagline { color: #9eb2a1; font-size: 0.9rem; max-width: 30rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: clamp(1.8rem, 4vw, 2.6rem);
  padding-top: 1.4rem; font-size: 0.8rem; color: #879c8b; display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between;
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1.5rem; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.flow > * + * { margin-top: 1.1rem; }
.stack-tight > * + * { margin-top: 0.5rem; }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .prototype-badge, .skip-link, .btn, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .page-hero, .hero { padding: 1rem 0; }
  a { color: #000; text-decoration: none; }
}
