/* ==========================================================================
   AIKKIA — Agricultural Development and Empowerment Initiatives
   Single-page site. No framework, no build step.
   Palette is sampled from the organisation's logo.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
  /* brand */
  --green-900: #14401F;
  --green-800: #17552A;
  --green-700: #1F6B32;
  --green-600: #2C8140;
  --leaf-500:  #4C9A2A;
  --gold-500:  #F0A81E;
  --gold-600:  #D98E12;
  /* Deep enough to clear 4.5:1 on cream — the brighter golds above are for
     fills, rules and dark-background text only, never small text on light. */
  --gold-800:  #9A6206;
  --earth-700: #5A3A1E;
  --orange-500:#EC6B22;

  /* surfaces + text */
  --cream:     #FBF8F1;
  --cream-alt: #F4EEE1;
  --white:     #FFFFFF;
  --ink:       #1E2620;
  --ink-soft:  #4A554D;
  --line:      #E2DACA;

  --bg:        var(--cream);
  --surface:   var(--white);
  --surface-2: var(--cream-alt);
  --text:      var(--ink);
  --text-soft: var(--ink-soft);
  --border:    var(--line);
  --accent:    var(--green-700);
  --accent-ink:#FFFFFF;

  /* type */
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system,
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --h1: clamp(2.05rem, 1.4rem + 2.5vw, 3.4rem);
  --h2: clamp(1.65rem, 1.2rem + 1.9vw, 2.6rem);
  --h3: clamp(1.1rem, 1rem + .45vw, 1.32rem);
  --lead: clamp(1.02rem, .97rem + .3vw, 1.18rem);

  /* space + shape */
  --container: 1180px;
  --gutter: clamp(1.15rem, .6rem + 2.2vw, 2.5rem);
  --section-y: clamp(3.75rem, 2.5rem + 5vw, 7rem);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(20, 64, 31, .06), 0 4px 14px rgba(20, 64, 31, .05);
  --shadow-md: 0 3px 8px rgba(20, 64, 31, .07), 0 18px 44px rgba(20, 64, 31, .09);
  --header-h: 78px;
}

/* This site is deliberately light-only. The logo carries dark-green lettering
   and brown descriptor text baked into the artwork, which disappears against a
   dark surface — so we pin the scheme rather than ship an unreadable mark. */

/* ------------------------------------------------------------- baseline */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: 1.14;
  letter-spacing: -.018em;
  font-weight: 800;
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); letter-spacing: -.012em; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

ul, ol { margin: 0; padding: 0; }

/* Green clears 3:1 against every light surface here; the bright gold does not,
   so the dark sections flip to gold instead of keeping an invisible ring. */
:focus-visible {
  outline: 3px solid var(--green-700);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--dark :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold-500);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--green-700);
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 700;
  text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; }

.eyebrow {
  margin: 0 0 .85rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--green-600);
}

/* --------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--green-700);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .72rem 1.35rem;
  border: 2px solid var(--btn-bg);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.btn:hover  { background: var(--green-800); border-color: var(--green-800); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--green-700);
  border-color: var(--green-700);
}
.btn--ghost:hover { background: var(--green-700); color: #fff; }

.btn--lg { padding: .9rem 1.7rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  color: var(--accent);
}
.link-arrow span { transition: transform .18s ease; }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 18px rgba(20, 64, 31, .06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

/* The supplied logo lockup is nearly square, so at header height its descriptor
   line renders about five pixels tall. The emblem plus live text stays crisp. */
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex: 0 0 auto;
  text-decoration: none;
  color: inherit;
}
.brand__mark { width: 46px; height: 46px; flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--green-700);
}
.brand__sub {
  display: none;
  max-width: 25ch;
  font-size: .625rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .035em;
  text-transform: uppercase;
  color: var(--earth-700);
}
@media (min-width: 560px) {
  .brand__mark { width: 52px; height: 52px; }
  .brand__name { font-size: 1.55rem; }
  .brand__sub { display: block; }
}

.primary-nav { margin-left: auto; }
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(.55rem, .1rem + 1vw, 1.5rem);
  list-style: none;
}
/* Scoped to the list: the CTA is a sibling of the <ul>, and an unscoped
   `.primary-nav a` would outrank .btn and paint its label dark on green. */
.primary-nav ul a {
  position: relative;
  display: block;
  padding: .4rem .15rem;
  color: var(--text);
  font-weight: 600;
  font-size: .94rem;
  text-decoration: none;
  white-space: nowrap;
}
.primary-nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.primary-nav ul a:hover::after,
.primary-nav ul a.is-active::after { transform: scaleX(1); }
.primary-nav ul a.is-active { color: var(--accent); }

.primary-nav__cta { display: none; }

.nav-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
}
.nav-toggle__bars {
  position: relative;
  width: 17px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: background-color .15s ease;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* mobile nav panel */
@media (max-width: 899px) {
  .primary-nav {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    top: calc(var(--header-h) - 4px);
    display: none;
    flex-direction: column;
    gap: .35rem;
    padding: .85rem;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface);
    box-shadow: var(--shadow-md);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav li + li { border-top: 1px solid var(--border); }
  .primary-nav ul a { padding: .78rem .4rem; font-size: 1rem; }
  .primary-nav ul a::after { display: none; }
  .primary-nav__cta { display: inline-flex; margin-top: .6rem; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; align-items: center; gap: 1.4rem; }
  .primary-nav__cta { display: inline-flex; }
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(2.5rem, 1.4rem + 4vw, 5rem) 0 0;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 88% 0%, color-mix(in srgb, var(--gold-500) 16%, transparent) 0%, transparent 58%),
    radial-gradient(90% 80% at 6% 10%, color-mix(in srgb, var(--leaf-500) 12%, transparent) 0%, transparent 55%),
    var(--bg);
}

.hero__inner {
  display: grid;
  gap: clamp(1.6rem, .8rem + 3vw, 3.5rem);
  align-items: center;
  padding-bottom: clamp(3.5rem, 2rem + 6vw, 7rem);
}
@media (min-width: 940px) {
  .hero__inner { grid-template-columns: 1.05fr .95fr; }
}

.hero h1 { margin-bottom: .55em; }

.hero__lead {
  max-width: 34em;
  font-size: var(--lead);
  color: var(--text-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 1.7rem 0 2rem;
}
/* On the narrowest screens two differently-sized pills look accidental. */
@media (max-width: 479px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1.4rem;
  list-style: none;
  padding-top: 1.3rem;
  border-top: 1px solid var(--border);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-soft);
}
.hero__facts li { display: flex; align-items: center; gap: .5rem; }
.hero__facts li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
}

.hero__art { position: relative; display: flex; justify-content: center; }
.hero__art img {
  width: min(100%, 460px);
  filter: drop-shadow(0 22px 40px rgba(20, 64, 31, .14));
}
.hero__glow {
  position: absolute;
  z-index: -1;
  top: -18%;
  right: -8%;
  width: min(62vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold-500) 26%, transparent) 0%, transparent 66%);
  pointer-events: none;
}
.hero__fields {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: -1;
  width: 100%;
  height: clamp(60px, 9vw, 120px);
}

/* -------------------------------------------------------------- sections */
.section { padding: var(--section-y) 0; }
.section--tint { background: var(--surface-2); }

.section--dark {
  background:
    radial-gradient(90% 70% at 85% 8%, rgba(240, 168, 30, .13) 0%, transparent 60%),
    var(--green-900);
  color: #E9F1E7;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: var(--gold-500); }
.section--dark .section__lead { color: #C6D8C3; }

.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 1.2rem + 2.4vw, 3.4rem); }
.section__lead { font-size: var(--lead); color: var(--text-soft); }

/* --------------------------------------------------------------- about */
.about__grid {
  display: grid;
  gap: clamp(1.5rem, .8rem + 2.4vw, 3rem);
  align-items: start;
}
@media (min-width: 880px) {
  .about__grid { grid-template-columns: 1.15fr .85fr; }
}

.about__prose p { font-size: 1.03rem; color: var(--text-soft); }
.about__prose strong { color: var(--text); }

.about__pillars { display: grid; gap: 1rem; }

.minicard {
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--r-sm);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.minicard h3 { margin-bottom: .45em; color: var(--accent); }
.minicard p { font-size: .96rem; color: var(--text-soft); }

.objectives__title {
  margin: clamp(2.5rem, 1.6rem + 2.5vw, 4rem) 0 1.5rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.objectives { display: grid; gap: 1.1rem; }
@media (min-width: 780px) { .objectives { grid-template-columns: 1fr 1fr; } }

.objcard {
  position: relative;
  padding: 1.8rem 1.7rem 1.7rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.objcard::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--leaf-500), var(--green-700));
}
.objcard__num {
  display: block;
  margin-bottom: .5rem;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  color: #BE7D0E;
}
.objcard h4 { margin-bottom: .6em; font-size: 1.06rem; font-weight: 700; }
.objcard blockquote {
  margin: 0;
  font-size: .98rem;
  color: var(--text-soft);
  font-style: italic;
}
.objectives__cite {
  margin-top: 1rem;
  font-size: .85rem;
  color: var(--text-soft);
}

/* ---------------------------------------------------------------- cards */
.cards { display: grid; gap: 1.1rem; }
@media (min-width: 640px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex;
  flex-direction: column;
  padding: 1.7rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: color-mix(in srgb, var(--leaf-500) 15%, transparent);
  color: var(--green-700);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .5em; }
.card p { font-size: .96rem; color: var(--text-soft); }

/* -------------------------------------------------------------- pillars */
.pillars {
  display: grid;
  gap: 1.5rem 2rem;
  list-style: none;
  counter-reset: pillar;
}
@media (min-width: 700px)  { .pillars { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .pillars { grid-template-columns: repeat(4, 1fr); gap: 1.75rem; } }

.pillar { counter-increment: pillar; padding-top: 1.1rem; border-top: 3px solid var(--gold-500); }
.pillar h3::before {
  content: "0" counter(pillar);
  display: block;
  margin-bottom: .5rem;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--gold-800);
}
.pillar p { font-size: .95rem; color: var(--text-soft); }

.note {
  margin-top: clamp(2.5rem, 1.6rem + 2.5vw, 4rem);
  padding: clamp(1.6rem, 1rem + 1.8vw, 2.6rem);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: var(--r-lg);
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--leaf-500) 9%, transparent),
      color-mix(in srgb, var(--gold-500) 8%, transparent));
}
.note h3 { color: var(--accent); }
.note p { max-width: 68ch; font-size: 1rem; color: var(--text-soft); }
.note .btn { margin-top: .9rem; }

/* ------------------------------------------------------------ governance */
.trustees {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2.2rem, 1.4rem + 2.4vw, 3.6rem);
}
@media (min-width: 700px) { .trustees { grid-template-columns: repeat(3, 1fr); } }

.trustee {
  padding: 1.5rem 1.5rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .055);
}
.trustee h3 { margin-bottom: .3em; font-size: 1.12rem; }
.trustee__role {
  margin: 0;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.gov__grid { display: grid; gap: clamp(1.8rem, 1rem + 2.6vw, 3.2rem); }
@media (min-width: 900px) { .gov__grid { grid-template-columns: 1.2fr .8fr; } }

.gov__subtitle { font-size: 1.1rem; margin-bottom: 1.1rem; }

.checklist { list-style: none; display: grid; gap: .85rem; }
.checklist li {
  position: relative;
  padding-left: 2rem;
  font-size: .97rem;
  color: #D5E4D2;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .34em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--gold-500);
  /* checkmark */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 82% no-repeat,
          linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 82% no-repeat,
          linear-gradient(#000, #000);
          mask-composite: exclude;
}
.checklist strong { color: #fff; }

.factbox {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .055);
  align-self: start;
}
.factbox > div { padding: .95rem 0; }
.factbox > div + div { border-top: 1px solid rgba(255, 255, 255, .13); }
.factbox > div:first-child { padding-top: 0; }
.factbox > div:last-child { padding-bottom: 0; }
.factbox dt {
  margin-bottom: .25rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.factbox dd { margin: 0; font-size: .95rem; color: #E4EEE2; }

/* ----------------------------------------------------------------- ways */
.ways { display: grid; gap: 1.1rem; }
@media (min-width: 640px)  { .ways { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .ways { grid-template-columns: repeat(4, 1fr); } }

.way {
  display: flex;
  flex-direction: column;
  padding: 1.7rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.way:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.way h3 { margin-bottom: .55em; }
.way p { font-size: .95rem; color: var(--text-soft); }
.way .link-arrow { margin-top: auto; padding-top: 1.2rem; }

/* -------------------------------------------------------------- contact */
.contact__grid { display: grid; gap: clamp(1.8rem, 1rem + 3vw, 3.5rem); }
@media (min-width: 900px) { .contact__grid { grid-template-columns: .85fr 1.15fr; } }

.contact__details h3 {
  margin-bottom: .7em;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.contact__details h3 + * { margin-bottom: 2rem; }
.contact__details address {
  font-style: normal;
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.6;
}
.contact__list { list-style: none; display: grid; gap: .9rem; }
.contact__list a { font-weight: 600; text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
.contact__label {
  display: block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.contact__hours { font-size: .9rem; color: var(--text-soft); }

.contact__form {
  padding: clamp(1.4rem, 1rem + 1.4vw, 2.3rem);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.contact__form h3 { margin-bottom: 1.3em; }

.field { margin-bottom: 1.05rem; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field label {
  display: block;
  margin-bottom: .4rem;
  font-size: .875rem;
  font-weight: 700;
}
.req { color: var(--orange-500); }
.opt { font-weight: 500; color: var(--text-soft); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .72rem .85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: .97rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 8.5rem; }
.field select {
  appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A554D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  background-size: 18px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--orange-500); }

/* honeypot — kept out of view and out of the tab order */
.field--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 1rem 0 0;
  padding: .8rem 1rem;
  border-radius: var(--r-sm);
  font-size: .95rem;
  font-weight: 600;
}
.form-status:empty { display: none; }
.form-status.is-ok {
  color: var(--green-800);
  background: color-mix(in srgb, var(--leaf-500) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--leaf-500) 40%, transparent);
}
.form-status.is-error {
  color: #97310C;
  background: color-mix(in srgb, var(--orange-500) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--orange-500) 40%, transparent);
}
.form-note { margin: 1rem 0 0; font-size: .84rem; color: var(--text-soft); }

/* ---------------------------------------------------------------- footer */
.site-footer {
  padding: clamp(2.8rem, 2rem + 2.6vw, 4.5rem) 0 1.8rem;
  background: var(--green-900);
  color: #CBD9C7;
  font-size: .95rem;
}
.site-footer__inner {
  display: grid;
  gap: clamp(1.8rem, 1rem + 2.6vw, 3rem);
  padding-bottom: clamp(1.8rem, 1.2rem + 2vw, 2.8rem);
}
@media (min-width: 780px) {
  .site-footer__inner { grid-template-columns: 1.4fr .7fr 1fr; }
}

.site-footer h2 {
  margin-bottom: 1rem;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.site-footer a { color: #E4EEE2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.site-footer__brand { display: flex; align-items: flex-start; gap: 1rem; }
.site-footer__brand img { width: 72px; height: 72px; flex: 0 0 auto; }
.site-footer__name {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1.1;
}
.site-footer__full { margin: .2rem 0 .55rem; font-size: .9rem; font-weight: 600; color: #DCE8D9; }
.site-footer__tag { margin: 0; font-size: .88rem; font-style: italic; color: var(--gold-500); }

.site-footer__nav ul { list-style: none; display: grid; gap: .6rem; }
.site-footer__contact address { font-style: normal; margin-bottom: .9rem; line-height: 1.6; }
.site-footer__contact ul { list-style: none; display: grid; gap: .5rem; }

.site-footer__legal {
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .82rem;
  color: #A9BBA5;
}
.site-footer__legal p { margin: 0 0 .5rem; }
.site-footer__legal p:last-child { margin: 0; max-width: 78ch; }

/* -------------------------------------------------------- reveal on scroll */
/* Only hide these when JS is running to bring them back — see the inline
   class-setting script in the document head. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* offset anchors so the sticky header never covers a heading */
[id] { scroll-margin-top: calc(var(--header-h) + 14px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .nav-toggle, .hero__glow, .hero__fields, .contact__form { display: none !important; }
  body { background: #fff; color: #000; }
  .js .reveal { opacity: 1; transform: none; }
}
