:root {
  color-scheme: light;
  --ink: #14211a;
  --muted: #5d6b61;
  --paper: #fbfaf4;
  --surface: #ffffff;
  --field: #287548;
  --field-dark: #15452d;
  --youth: #f2b84b;
  --sun: #f2b84b;
  --clay: #b85c38;
  --aqua: #287548;
  --mint: #dff1df;
  --line: rgba(20, 33, 26, 0.14);
  --shadow: 0 24px 70px rgba(20, 33, 26, 0.16);
  --radius: 8px;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(242, 184, 75, 0.12), transparent 26%),
    radial-gradient(circle at 96% 10%, rgba(40, 117, 72, 0.1), transparent 28%),
    var(--paper);
}

body.nav-open {
  overflow: hidden;
}

/* ── Scroll-reveal ─────────────────────────────── */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}

[data-reveal].is-visible {
  animation: reveal-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── Scroll hint animation ──────────────────────── */
@keyframes scroll-bob {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60%       { transform: translateY(8px); opacity: 0.4; }
}

.scroll-dot {
  animation: scroll-bob 2s ease-in-out infinite;
}

/* ── Icon sprite ────────────────────────────────── */
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ── Header ─────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 5vw, 64px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  color: var(--ink);
  background: rgba(251, 250, 244, 0.94);
  box-shadow: 0 16px 44px rgba(20, 33, 26, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: 132px;
  height: auto;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 30px rgba(20, 33, 26, 0.16);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  font-weight: 700;
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled .site-nav,
.site-header.nav-active .site-nav {
  border-color: var(--line);
  background: rgba(251, 250, 244, 0.82);
}

.site-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  opacity: 0.9;
  transition: background 150ms ease, color 150ms ease, opacity 150ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
  background: var(--youth);
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  place-items: center;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px auto;
  background: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav-active .nav-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-active .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-active .nav-toggle span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  z-index: -3;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(9, 33, 20, 0.96) 0%, rgba(9, 33, 20, 0.78) 42%, rgba(9, 33, 20, 0.16) 100%),
    linear-gradient(0deg, rgba(9, 33, 20, 0.76) 0%, rgba(9, 33, 20, 0.04) 48%);
}

.hero-content {
  width: min(820px, calc(100% - 36px));
  margin: 0;
  margin-left: clamp(18px, 5vw, 64px);
  padding: 118px 0 76px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  right: clamp(18px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.52);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Typography ─────────────────────────────────── */
.eyebrow {
  margin: 0 0 16px;
  color: var(--aqua);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--youth);
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 900;
}

h1 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 5.4vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 700;
}

.hero-lede {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.6;
}

/* ── Buttons ────────────────────────────────────── */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  padding: 0 22px;
  font-weight: 800;
  font-size: 0.95rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(20, 33, 26, 0.2);
}

.button:focus-visible {
  outline: 3px solid var(--youth);
  outline-offset: 3px;
}

.button.primary {
  border-color: var(--youth);
  color: var(--ink);
  background: var(--youth);
}

.button.primary:hover {
  background: #f5c55e;
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

/* ── Hero metrics ───────────────────────────────── */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 780px;
  margin-top: 32px;
}

.hero-metrics span {
  min-height: 92px;
  display: grid;
  align-content: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.13);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
  backdrop-filter: blur(12px);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 6px;
  color: var(--youth);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
}

/* ── Sections ───────────────────────────────────── */
.section {
  padding: clamp(70px, 10vw, 130px) clamp(18px, 5vw, 64px);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 90px);
  width: min(1180px, 100%);
  margin: 0 auto;
  align-items: start;
}

.intro-band {
  background: linear-gradient(180deg, #fff, rgba(251, 250, 244, 0.86));
}

/* ── Visual story ───────────────────────────────── */
.visual-story {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 0.95fr;
  gap: 18px;
  width: min(1180px, calc(100% - 36px));
  margin: 56px auto 0;
}

.visual-story figure {
  position: relative;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(20, 33, 26, 0.13);
}

.visual-story figure:nth-child(2) {
  transform: translateY(34px);
}

.visual-story img,
.featured-program img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.visual-story figure:hover img {
  transform: scale(1.04);
}

.visual-story figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 32px);
  padding: 12px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(12, 35, 22, 0.78);
  font-size: 0.86rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.prose {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

/* ── Split: Vision / Mission ────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
}

.statement {
  min-height: 360px;
  padding: clamp(44px, 8vw, 96px);
  background: linear-gradient(135deg, rgba(227, 247, 223, 0.98), rgba(255, 255, 255, 0.84));
}

.statement.dark {
  color: #fff;
  background: linear-gradient(135deg, var(--field-dark), #1f6d42 68%, var(--field));
}

.statement h3 {
  max-width: 620px;
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
}

.statement p {
  max-width: 560px;
  color: inherit;
  opacity: 0.78;
  font-size: 1.08rem;
  line-height: 1.6;
}

.label {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--aqua);
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.statement.dark .label {
  color: var(--youth);
}

/* ── Section headings ───────────────────────────── */
.section-heading {
  width: min(920px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.identity,
.focus,
.partnership {
  background: var(--paper);
}

/* ── Role cards ─────────────────────────────────── */
.role-grid,
.metric-grid,
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.role-card {
  position: relative;
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--field);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(20, 33, 26, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.role-card:nth-child(2) {
  border-top-color: var(--aqua);
}

.role-card:nth-child(3) {
  border-top-color: var(--sun);
}

.role-card:hover,
.program-list article:hover,
.focus-card:hover,
.value-list p:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(20, 33, 26, 0.14);
}

.role-icon,
.program-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  padding: 12px;
  border-radius: 50%;
  color: var(--field-dark);
  background: var(--mint);
}

.role-card:nth-child(2) .role-icon,
.program-list article:nth-child(2) .program-icon,
.program-list article:nth-child(5) .program-icon {
  color: var(--field-dark);
  background: var(--mint);
}

.role-card:nth-child(3) .role-icon,
.program-list article:nth-child(3) .program-icon,
.program-list article:nth-child(6) .program-icon {
  color: #654500;
  background: #faedc7;
}

.role-number {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--aqua);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}

.role-card ul,
.strategy ul,
.pathway-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.role-card li {
  position: relative;
  margin-top: 12px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.role-card li::before {
  position: absolute;
  left: 0;
  content: "/";
  color: var(--field);
  font-weight: 900;
}

/* ── Programs ───────────────────────────────────── */
.programs,
.value,
.strategy {
  background: #f2f5ea;
}

.program-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto;
  border-radius: var(--radius);
}

.program-list article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 4px solid var(--field);
  padding: clamp(24px, 4vw, 40px);
  background: var(--surface);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.program-list article.featured-program {
  border-top: 0;
  min-height: 460px;
  display: grid;
  align-content: end;
  color: #fff;
}

.featured-program img {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform 400ms ease;
}

.featured-program:hover img {
  transform: scale(1.04);
}

.featured-program::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(0deg, rgba(8, 29, 18, 0.96), rgba(8, 29, 18, 0.74) 44%, rgba(8, 29, 18, 0.18) 100%),
    linear-gradient(90deg, rgba(8, 29, 18, 0.48), rgba(8, 29, 18, 0));
}

.program-list article > :not(img) {
  position: relative;
  z-index: 2;
}

.program-list span {
  color: var(--aqua);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-program span,
.featured-program p {
  color: rgba(255, 255, 255, 0.84);
}

.featured-program .program-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.program-list p,
.pathway-copy p,
.value-list p,
.strategy li {
  color: var(--muted);
  line-height: 1.62;
}

.featured-program h3,
.featured-program p {
  max-width: 560px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.featured-program p {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 500;
}

/* ── Pathway ────────────────────────────────────── */
.pathway {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.pathway-steps {
  display: grid;
  gap: 12px;
  counter-reset: steps;
}

.pathway-steps li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border-left: 6px solid var(--field);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 30px rgba(20, 33, 26, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.pathway-steps li:hover {
  transform: translateX(4px);
  border-color: var(--youth);
  box-shadow: 0 18px 40px rgba(20, 33, 26, 0.12);
}

.pathway-steps strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.pathway-steps span {
  color: var(--muted);
}

/* ── Focus grid ─────────────────────────────────── */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 260px;
  gap: 14px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.focus-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--field-dark);
  box-shadow: 0 16px 40px rgba(20, 33, 26, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.focus-card.large {
  grid-column: span 2;
}

.focus-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.focus-card:hover img {
  transform: scale(1.06);
}

.focus-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(9, 33, 20, 0.84), rgba(9, 33, 20, 0.08) 62%);
}

.focus-card div {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
}

.focus-card .icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.focus-grid .icon,
.partner-grid .icon {
  color: var(--field);
}

.focus-card .icon {
  color: #fff;
}

/* ── Impact ─────────────────────────────────────── */
.impact {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(21, 69, 45, 0.94), rgba(21, 69, 45, 0.86)),
    url("assets/climate-smart.png") center / cover;
}

.impact .eyebrow {
  color: var(--youth);
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-grid article {
  min-height: 190px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(12px);
  transition: background 200ms ease, transform 200ms ease;
}

.metric-grid article:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

.metric-grid strong {
  display: block;
  margin-bottom: 18px;
  color: var(--youth);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 0.9;
}

.metric-grid span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  line-height: 1.4;
}

/* ── Partnership ────────────────────────────────── */
.partner-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.partner-grid span {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-bottom: 4px solid rgba(184, 92, 56, 0.28);
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 700;
  transition: border-color 180ms ease, transform 180ms ease;
}

.partner-grid span:hover {
  border-bottom-color: var(--field);
  transform: translateY(-3px);
}

/* ── Value ──────────────────────────────────────── */
.value {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
  background:
    linear-gradient(135deg, rgba(242, 245, 234, 0.94), rgba(255, 255, 255, 0.78)),
    url("assets/market-access.png") center / cover;
}

.value-copy,
.value-list,
.strategy > div,
.strategy ul {
  width: min(100%, 620px);
}

.value-list {
  display: grid;
  gap: 16px;
}

.value-list p {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  padding: 20px;
  border-left: 5px solid var(--field);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 30px rgba(20, 33, 26, 0.08);
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.value-list .icon {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 50%;
  color: var(--field-dark);
  background: var(--mint);
}

.value-visual {
  position: relative;
  margin: 32px 0 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.value-visual img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.value-visual figcaption {
  position: absolute;
  inset: auto 16px 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  color: #fff;
  background: rgba(10, 34, 21, 0.8);
  font-weight: 700;
  line-height: 1.35;
  backdrop-filter: blur(12px);
}

/* ── Strategy ───────────────────────────────────── */
.strategy {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 80px);
  background:
    linear-gradient(90deg, rgba(242, 245, 234, 0.96), rgba(242, 245, 234, 0.82)),
    url("assets/digital-agriculture.png") center / cover;
}

.strategy li {
  position: relative;
  margin-bottom: 14px;
  padding: 18px 20px 18px 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(20, 33, 26, 0.08);
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.strategy li:hover {
  transform: translateX(4px);
  box-shadow: 0 16px 36px rgba(20, 33, 26, 0.12);
}

.strategy li::before {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--youth);
  content: "✓";
  font-weight: 900;
}

/* ── CTA / Contact ──────────────────────────────── */
.cta {
  display: grid;
  /* Left: copy + contact info | Right: image + form */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  grid-template-rows: auto;
  grid-template-areas:
    "copy  image"
    "info  form";
  gap: clamp(28px, 4vw, 56px) clamp(36px, 6vw, 80px);
  align-items: start;
  padding: clamp(70px, 10vw, 120px) clamp(18px, 5vw, 64px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(21, 69, 45, 0.96), rgba(31, 109, 66, 0.9) 58%, rgba(184, 92, 56, 0.82)),
    url("assets/aglead-hero.png") center / cover;
}

.cta-copy {
  grid-area: copy;
}

.cta-image {
  grid-area: image;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  /* Match the height of the copy column naturally */
  min-height: 280px;
  max-height: 380px;
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Info card sits below the copy */
.contact-card {
  grid-area: info;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.11);
  font-style: normal;
  backdrop-filter: blur(12px);
  align-self: start;
}

/* Form sits below the image */
.contact-panel {
  grid-area: form;
  display: contents; /* let .contact-card and .contact-form sit in their own grid areas */
}

.cta h2 {
  margin-bottom: 14px;
}

.cta p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.cta .eyebrow {
  color: var(--youth);
}

.contact-card a,
.contact-card span {
  display: block;
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.4;
}

.contact-card a:hover {
  color: var(--youth);
}

/* ── Contact form ───────────────────────────────── */
.contact-form {
  grid-area: form;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
  align-self: start;
}

/* Full-width fields */
.contact-form label:nth-child(3),
.contact-form label:nth-child(4),
.contact-form .form-submit,
.contact-form .form-feedback {
  grid-column: 1 / -1;
}

.contact-form label {
  display: grid;
  gap: 5px;
}

.contact-form label span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.93rem;
  transition: border-color 150ms ease, background 150ms ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.contact-form select option {
  background: var(--field-dark);
  color: #fff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--youth);
  background: rgba(255, 255, 255, 0.18);
}

.contact-form textarea {
  resize: vertical;
  min-height: 90px;
}

.contact-form .form-submit {
  justify-self: start;
  margin-top: 4px;
  border-radius: 6px;
}

.form-feedback {
  margin: 0;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
}

.form-feedback.success {
  background: rgba(40, 117, 72, 0.3);
  color: #b6ffd4;
}

.form-feedback.error {
  background: rgba(184, 92, 56, 0.3);
  color: #ffd4b6;
}

/* ── Footer ─────────────────────────────────────── */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 64px);
  color: var(--muted);
  background: var(--surface);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--field-dark);
  font-weight: 800;
  transition: color 150ms ease;
}

.site-footer a:hover {
  color: var(--field);
}

/* ── Responsive: tablet ─────────────────────────── */
@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    inset: 74px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
  }

  .site-header.nav-active .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
    color: var(--ink);
  }

  .nav-toggle {
    display: grid;
  }

  .section-grid,
  .split,
  .pathway,
  .value,
  .strategy {
    grid-template-columns: 1fr;
  }

  .cta {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "image"
      "info"
      "form";
  }

  .cta-image {
    min-height: 260px;
    max-height: 320px;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form label:nth-child(3),
  .contact-form label:nth-child(4),
  .contact-form .form-submit,
  .contact-form .form-feedback {
    grid-column: 1;
  }

  .role-grid,
  .metric-grid,
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .focus-card.large {
    grid-column: auto;
    grid-row: auto;
  }

  .visual-story {
    grid-template-columns: 1fr 1fr;
  }

  .visual-story figure:nth-child(2) {
    transform: none;
  }

  .visual-story figure:last-child {
    grid-column: 1 / -1;
  }
}

/* ── Responsive: mobile ─────────────────────────── */
@media (max-width: 680px) {
  .site-header {
    padding-block: 10px;
  }

  .brand-logo {
    width: 112px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding: 108px 0 72px;
  }

  h1 {
    font-size: 2.8rem;
  }

  .hero-scroll-hint {
    display: none;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics span {
    min-height: auto;
  }

  .role-grid,
  .metric-grid,
  .focus-grid,
  .partner-grid,
  .program-list,
  .visual-story {
    grid-template-columns: 1fr;
  }

  .focus-grid {
    grid-auto-rows: 310px;
  }

  .visual-story figure,
  .program-list article.featured-program {
    min-height: 360px;
  }

  .value-visual img,
  .cta-image {
    height: 300px;
    min-height: 300px;
  }

  .visual-story figure:last-child {
    grid-column: auto;
  }

  .pathway-steps li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .statement {
    min-height: 300px;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  .contact-form .form-submit {
    justify-self: stretch;
    text-align: center;
  }
}

/* ── Reduced motion ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  [data-reveal].is-visible {
    animation: none;
  }
  .scroll-dot {
    animation: none;
  }
  .visual-story figure:hover img,
  .featured-program:hover img,
  .focus-card:hover img {
    transform: none;
  }
}
