/* ============================================================
   Yaleh website stylesheet
   See yaleh_website_specification.md §2, §13, §14
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

/* ---------- Tokens (palette §2.2, type §2.3) ---------- */
:root {
  --forest:  #143D2C;
  --deep:    #0B261B;
  --ochre:   #B8792A;       /* brand ochre — for backgrounds, borders, decoration */
  --ochre-text: #7A4C1A;    /* darker ochre — for TEXT on light bgs (AA-compliant) */
  --ochre-dim: #966222;
  --sand:    #E8D6B8;
  --cream:   #F8F1E7;
  --brown:   #3A2810;
  --white:   #FFFFFF;
  --amber:   #D99000;
  --red:     #B43A2F;
  --success: #2E7D32;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(11,38,27,.06), 0 2px 6px rgba(11,38,27,.04);
  --shadow:    0 4px 12px rgba(11,38,27,.08), 0 12px 32px rgba(11,38,27,.06);
  --shadow-lg: 0 12px 32px rgba(11,38,27,.12), 0 24px 64px rgba(11,38,27,.10);

  --container: 1180px;
  --gutter:    24px;

  --t-fast: 160ms ease;
  --t:      240ms ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ochre-text); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--forest);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
h4 { font-size: 18px; }
p  { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 600;
  color: var(--ochre-text);
  margin-bottom: 14px;
  display: inline-block;
}
.lede {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(58,40,16,.85);
  max-width: 64ch;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { padding: clamp(56px, 9vw, 112px) 0; }
section.tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248,241,231,.92);
  backdrop-filter: saturate(150%) blur(8px);
  -webkit-backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid rgba(20,61,44,.08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--forest);
}
.brand__logo { height: 52px; width: auto; border-radius: 6px; }
.brand__fallback {
  display: none;
  height: 44px; width: 44px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  align-items: center;
  justify-content: center;
}
.brand__logo[hidden] + .brand__fallback { display: inline-flex; }

.primary-nav {
  margin-left: auto;
  display: flex;
  gap: 4px;
  align-items: center;
}
.primary-nav a {
  text-decoration: none;
  color: var(--brown);
  font-weight: 500;
  font-size: 15px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast), color var(--t-fast);
}
.primary-nav a:hover { background: rgba(20,61,44,.06); color: var(--forest); }
.primary-nav a[aria-current="page"] {
  color: var(--forest);
  background: rgba(184,121,42,.10);
}

.header-tools { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  display: inline-flex;
  background: transparent;
  border: 1px solid rgba(20,61,44,.18);
  border-radius: 999px;
  padding: 3px;
  font-size: 12px;
  font-weight: 600;
}
.lang-toggle button,
.lang-toggle a {
  background: transparent;
  border: 0;
  color: var(--brown);
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: .04em;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
}
.lang-toggle button[aria-pressed="true"],
.lang-toggle a[aria-current="page"] {
  background: var(--forest);
  color: var(--cream);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(20,61,44,.18);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--forest);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform var(--t-fast), background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary    { background: var(--forest); color: var(--cream); }
.btn--primary:hover { background: var(--deep); color: var(--cream); }
/* Ochre + WhatsApp buttons use --deep text on bright brand backgrounds
   to pass WCAG2AA (4.5:1) contrast. */
/* Black text on --ochre — --deep was 4.44:1 (knife-edge AA fail); #000 → ~5.4:1. */
.btn--ochre      { background: var(--ochre); color: #000; }
.btn--ochre:hover { background: #CC8531; color: #000; }
.btn--whatsapp   { background: #25D366; color: var(--deep); }
.btn--whatsapp:hover { background: #1FB857; color: var(--deep); }
.btn--outline    { background: transparent; border-color: rgba(20,61,44,.25); color: var(--forest); }
.btn--outline:hover { border-color: var(--forest); background: rgba(20,61,44,.04); color: var(--forest); }
.btn--ghost      { background: transparent; color: var(--forest); padding: 10px 6px; border-radius: 4px; }
.btn--ghost:hover { color: var(--ochre-text); }
.btn--on-dark    { color: var(--cream); border-color: rgba(248,241,231,.30); background: transparent; }
.btn--on-dark:hover { background: rgba(248,241,231,.08); color: var(--cream); border-color: rgba(248,241,231,.55); }

/* ---------- Hero (homepage) ----------
   Background: Sentinel-2 cloudless tile of Lake Chad / Logone delta
   layered under a dark forest-green overlay for text legibility.
*/
.hero {
  position: relative;
  background:
    linear-gradient(95deg, rgba(11,38,27,.92) 0%, rgba(11,38,27,.78) 38%, rgba(11,38,27,.45) 68%, rgba(20,61,44,.30) 100%),
    radial-gradient(1100px 600px at 85% -10%, rgba(184,121,42,.20), transparent 60%),
    url('/assets/hero-sahel.jpg') center 30%/cover no-repeat,
    linear-gradient(160deg, var(--deep) 0%, var(--forest) 60%, #102E22 100%);
  color: var(--cream);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(232,214,184,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(232,214,184,.05) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(232,214,184,.12) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%);
  opacity: .35;
  pointer-events: none;
}
.hero__credit {
  position: absolute;
  right: 16px;
  bottom: 12px;
  z-index: 2;
  font-size: 10.5px;
  letter-spacing: .04em;
  color: rgba(248,241,231,.55);
  font-family: var(--sans);
  pointer-events: auto;
}
.hero__credit a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.hero__credit a:hover { color: var(--cream); }
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding: clamp(72px, 12vw, 128px) var(--gutter) clamp(72px, 10vw, 120px);
  max-width: var(--container);
  margin: 0 auto;
}
.hero__eyebrow { color: var(--sand); }
.hero h1 { color: var(--cream); }
.hero h1 em { font-style: italic; color: var(--sand); font-weight: 500; }
.hero__sub {
  font-size: clamp(17px, 1.5vw, 20px);
  color: rgba(248,241,231,.86);
  max-width: 58ch;
  margin-bottom: 16px;
}
.hero__strapline {
  font-style: italic;
  color: rgba(248,241,231,.55);
  font-size: 14px;
  letter-spacing: .03em;
  margin-bottom: 32px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__tertiary {
  color: rgba(248,241,231,.85);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 14px;
  margin-left: 4px;
}
.hero__tertiary:hover { color: var(--cream); }

.hero__visual {
  position: relative;
  display: grid;
  gap: 16px;
}
.stat-card {
  background: rgba(248,241,231,.06);
  border: 1px solid rgba(248,241,231,.16);
  border-radius: var(--radius);
  padding: 22px 22px;
  color: var(--cream);
  backdrop-filter: blur(4px);
}
.stat-card--highlight {
  background: rgba(184,121,42,.18);
  border-color: rgba(184,121,42,.4);
}
.stat-card__label {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(248,241,231,.7);
  margin-bottom: 8px;
}
.stat-card__value {
  font-family: var(--serif);
  font-size: 30px;
  margin-bottom: 6px;
  color: var(--cream);
  line-height: 1.05;
}
.stat-card__sub { font-size: 14px; color: rgba(248,241,231,.78); }

.advisory-card {
  background: var(--cream);
  color: var(--brown);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 1px solid rgba(20,61,44,.08);
}
.advisory-card__title {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--forest);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.advisory-card__title::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(46,125,50,.18);
}
.advisory-card__row {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  font-size: 14.5px;
  border-bottom: 1px dashed rgba(20,61,44,.12);
}
.advisory-card__row:last-of-type { border-bottom: 0; padding-bottom: 0; }
.advisory-card__key { color: var(--ochre-text); font-weight: 600; min-width: 110px; }
.advisory-card__val { color: var(--brown); }

.advisory-card--floating {
  position: absolute;
  right: -8px;
  bottom: -32px;
  width: clamp(280px, 30vw, 340px);
  z-index: 2;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(184,121,42,.16), transparent 60%),
    linear-gradient(160deg, var(--deep), var(--forest));
  color: var(--cream);
  padding: clamp(72px, 10vw, 120px) 0 clamp(56px, 8vw, 88px);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(232,214,184,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(232,214,184,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 820px; }
.page-hero h1 { color: var(--cream); }
.page-hero__sub {
  font-size: clamp(17px, 1.4vw, 20px);
  color: rgba(248,241,231,.86);
  max-width: 62ch;
  margin-bottom: 28px;
}
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections / surfaces ---------- */
.section-title { color: var(--forest); }
.section-sub { color: rgba(58,40,16,.75); font-size: 17px; max-width: 62ch; }

.bg-sand { background: var(--sand); }
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }
.bg-forest { background: var(--forest); color: var(--cream); }
.bg-deep { background: var(--deep); color: var(--cream); }
.bg-forest h2, .bg-deep h2, .bg-forest h3, .bg-deep h3 { color: var(--cream); }
.bg-forest p, .bg-deep p { color: rgba(248,241,231,.82); }
.bg-forest .eyebrow, .bg-deep .eyebrow { color: var(--sand); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(20,61,44,.08);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 6px; }
.card p { color: rgba(58,40,16,.78); margin: 0; }
.card--sand { background: var(--sand); border-color: rgba(20,61,44,.10); }
.card--outline { background: transparent; border: 1px solid rgba(20,61,44,.16); box-shadow: none; }
.card__icon {
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(184,121,42,.12);
  color: var(--ochre);
  font-size: 22px;
}

/* Step cards */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.step {
  background: var(--white);
  border: 1px solid rgba(20,61,44,.08);
  border-radius: var(--radius);
  padding: 28px;
}
.step__num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; font-size: 19px; }
.step p { margin: 0; color: rgba(58,40,16,.78); }

/* ---------- Sample advisory ---------- */
.sample-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.sample-advisory {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid rgba(20,61,44,.10);
  box-shadow: var(--shadow);
  font-size: 15.5px;
  line-height: 1.6;
}
.sample-advisory .line {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(20,61,44,.10);
}
.sample-advisory .line:last-child { border-bottom: 0; padding-bottom: 0; }
.sample-advisory .ico { font-size: 17px; line-height: 1.2; }
.sample-advisory .conf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ochre-text);
}
.sample-detail {
  margin-top: 18px;
  padding: 14px 16px;
  background: rgba(20,61,44,.04);
  border-left: 3px solid var(--ochre);
  border-radius: 8px;
  font-size: 14.5px;
  color: rgba(58,40,16,.85);
}

/* ---------- Pilot disclaimer banner ---------- */
.pilot-banner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(217,144,0,.10);
  border: 1px solid rgba(217,144,0,.30);
  border-radius: var(--radius);
  padding: 18px 22px;
  color: rgba(58,40,16,.92);
  font-size: 15px;
}
.pilot-banner__tag {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--amber);
  color: var(--deep);            /* AA on amber */
  padding: 5px 10px;
  border-radius: 999px;
  margin-top: 2px;
  white-space: nowrap;
}

/* ---------- Data sources list ---------- */
.data-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 8px;
}
.data-list li {
  background: var(--white);
  border: 1px solid rgba(20,61,44,.08);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 15px;
  display: grid;
  grid-template-columns: minmax(180px, max-content) 1fr;
  gap: 16px;
  align-items: baseline;
}
.data-list strong { font-weight: 600; color: var(--forest); font-family: var(--serif); }
.data-list li .dev { color: var(--ochre); font-style: italic; }
.data-list li.is-dev strong { color: var(--ochre); }

/* ---------- Data-to-decision table ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(20,61,44,.10);
  font-size: 15px;
}
.data-table th, .data-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(20,61,44,.08);
  vertical-align: top;
}
.data-table th {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  background: var(--sand);
  color: var(--forest);
}
.data-table tr:last-child td { border-bottom: 0; }
.data-table td em { color: var(--ochre); font-style: italic; }

/* ---------- Bands (crops + zones) ---------- */
.band {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.band h3 { margin-bottom: 8px; }
.band p { margin: 0; color: rgba(58,40,16,.82); }
.band__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag {
  background: var(--white);
  color: var(--forest);
  border: 1px solid rgba(20,61,44,.14);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 500;
}
.tag--progress {
  background: rgba(217,144,0,.10);
  border-color: rgba(217,144,0,.40);
  color: var(--ochre-dim);
}
.tag--progress::after {
  content: ' · ' attr(data-status);
  font-style: italic;
  font-weight: 400;
  opacity: .85;
}

/* ---------- Methodology blocks ---------- */
.method-block {
  border-top: 1px solid rgba(20,61,44,.10);
  padding: 36px 0;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
}
.method-block:first-of-type { border-top: 0; padding-top: 0; }
.method-block__num {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ochre);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
}
.method-block__num span {
  display: block;
  font-family: var(--serif);
  font-size: 40px;
  color: var(--forest);
  letter-spacing: -.02em;
  text-transform: none;
  margin-top: 6px;
  font-weight: 500;
}
.method-block h3 { font-size: 22px; margin-bottom: 12px; }
.method-block p { color: rgba(58,40,16,.85); font-size: 16px; }
.scientific-note {
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(20,61,44,.04);
  border-left: 3px solid var(--forest);
  border-radius: 8px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(58,40,16,.88);
}
.scientific-note::before {
  content: attr(data-label);
  display: block;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ochre);
  font-weight: 700;
  margin-bottom: 6px;
}

.confidence-stack {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.confidence-stack li {
  background: var(--white);
  border: 1px solid rgba(20,61,44,.08);
  border-radius: 8px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 14px;
  align-items: center;
  font-size: 14.5px;
}

/* ---------- Confidence badge §14.3 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--white);
}
.badge--high   { background: var(--success); }
.badge--medium { background: var(--amber); color: var(--deep); }   /* AA on amber */
.badge--low    { background: var(--red); }
.badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: .55;
}

/* ---------- References ---------- */
.refs {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 30px;
  border: 1px solid rgba(20,61,44,.08);
  font-size: 14px;
}
.refs h3 { margin-bottom: 14px; font-size: 20px; }
.refs ol { margin: 0; padding-left: 18px; color: rgba(58,40,16,.85); line-height: 1.55; }
.refs li { margin-bottom: 10px; }
.refs em { color: var(--forest); }

/* ---------- Closing CTA strip ---------- */
.cta-strip {
  background: linear-gradient(135deg, var(--forest), var(--deep));
  color: var(--cream);
  text-align: center;
  padding: clamp(56px, 9vw, 96px) var(--gutter);
}
.cta-strip h2 { color: var(--cream); margin-bottom: 12px; }
.cta-strip p { color: rgba(248,241,231,.85); font-size: 17px; max-width: 60ch; margin: 0 auto 28px; }

/* ---------- Routing cards (contact) ---------- */
.route-card {
  background: var(--white);
  border: 1px solid rgba(20,61,44,.10);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}
.route-card h3 { margin: 0; }
.route-card p { color: rgba(58,40,16,.78); margin: 0; flex: 1; }
.route-card .btn { align-self: flex-start; margin-top: 8px; }
.route-card__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(20,61,44,.08);
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

/* ---------- Form ---------- */
.form-card {
  background: var(--white);
  border: 1px solid rgba(20,61,44,.10);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: .02em;
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--brown);
  background: var(--white);
  border: 1px solid rgba(20,61,44,.18);
  border-radius: 8px;
  padding: 11px 14px;
  transition: border-color var(--t-fast);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(20,61,44,.36); }
.field textarea { resize: vertical; min-height: 120px; }
.field--honey { position: absolute; left: -9999px; }
.form-note { font-size: 13px; color: rgba(58,40,16,.65); margin-top: 12px; }

/* ---------- Founder block ---------- */
.founder {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(20,61,44,.08);
  border-radius: var(--radius);
  padding: 36px;
}
.founder__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 30%, rgba(184,121,42,.40), transparent 55%),
    linear-gradient(160deg, var(--forest), var(--deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 84px;
  color: var(--sand);
}
.founder p { color: rgba(58,40,16,.85); font-size: 16.5px; }
.founder__institution {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ochre-text);
  font-weight: 600;
}

/* ---------- Pillars block ---------- */
.pillar {
  background: var(--white);
  border: 1px solid rgba(20,61,44,.08);
  border-radius: var(--radius);
  padding: 28px;
}
.pillar__index {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ochre-text);
  margin-bottom: 8px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--deep);
  color: rgba(248,241,231,.78);
  padding: 64px 0 28px;
}
.site-footer a { color: rgba(248,241,231,.88); text-decoration: none; }
.site-footer a:hover { color: var(--sand); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--cream);
  letter-spacing: .01em;
  margin-bottom: 10px;
  font-weight: 500;
}
.footer-tag {
  font-style: italic;
  color: rgba(248,241,231,.55);
  font-size: 13px;
  margin-bottom: 16px;
  letter-spacing: .02em;
}
.footer-desc { font-size: 14px; line-height: 1.55; max-width: 38ch; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(248,241,231,.55);
  margin: 0 0 14px;
  font-weight: 600;
}
.footer-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(248,241,231,.10);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: rgba(248,241,231,.55);
  flex-wrap: wrap;
}
.footer-disclaimer {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(248,241,231,.60);
  line-height: 1.55;
  max-width: 80ch;
}

/* ---------- Focus state §13 ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Mobile menu ---------- */
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px var(--gutter);
    background: var(--cream);
    border-bottom: 1px solid rgba(20,61,44,.10);
    box-shadow: var(--shadow);
    display: none;
  }
  .primary-nav[data-open="true"] { display: flex; }
  .primary-nav a { padding: 12px 14px; font-size: 16px; }
  .header-tools .btn { display: none; }
  .primary-nav[data-open="true"] ~ .header-tools .btn { display: inline-flex; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 96px; }
  .advisory-card--floating { position: static; width: 100%; margin-top: 10px; }
  .sample-wrap { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .method-block { grid-template-columns: 1fr; gap: 14px; }
  .founder { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .founder__photo { max-width: 220px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .steps   { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .data-list li { grid-template-columns: 1fr; gap: 4px; }
  .footer-bottom { flex-direction: column; }
  .pilot-banner { flex-direction: column; gap: 10px; }
}

/* Visually-hidden */
.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-to-content link — off-screen until focused */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 100;
  background: var(--forest);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 12px; outline: 3px solid var(--ochre); outline-offset: 3px; }
.skip-link:hover { color: var(--cream); }
