/* FarmWallet public site — brand layer
   Loaded last so it can override the exported Tailwind styles. */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/outfit-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
}

:root {
  --fw-green: #008f45;
  --fw-green-deep: #0b8043;
  --fw-green-dark: #064e3b;
  --fw-green-soft: #e8f7ef;
  --fw-gold: #fbc02d;
  --fw-yellow: #fdfb76;
  --fw-ink: #0f172a;
  --fw-muted: #64748b;
  --fw-surface: #ffffff;
  --fw-bg: #f7faf8;
  --fw-ring: rgba(0, 143, 69, 0.28);
  --fw-shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --fw-shadow-md: 0 18px 45px rgba(15, 23, 42, 0.10);
  --fw-shadow-lg: 0 28px 70px rgba(15, 23, 42, 0.16);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
  color: var(--fw-ink);
  font-family: "Inter", Arial, Helvetica, sans-serif !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Outfit", "Inter", Arial, sans-serif !important;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

p {
  line-height: 1.75;
}

::selection {
  background: rgba(251, 192, 45, 0.32);
  color: var(--fw-green-dark);
}

a, button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--fw-gold);
  outline-offset: 3px;
}

section {
  position: relative;
}

/* The exported pages ship with the header translated off-screen and reveal
   wrappers stuck at opacity:0. Make both visible without touching the React
   markup, so the static export is usable even before/without hydration. */
header {
  transform: none !important;
}
header[style*="translateY(-100px)"] {
  transform: translateY(0) !important;
}
[style*="opacity:0"] {
  opacity: 1 !important;
  transform: none !important;
}

/* Header / navigation ---------------------------------------------------- */
header nav {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(11, 128, 67, 0.12);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.09);
  padding: 0.55rem 0.9rem;
}

header .fw-scrolled nav,
header.fw-scrolled nav {
  box-shadow: 0 16px 40px rgba(6, 78, 59, 0.16);
  border-color: rgba(11, 128, 67, 0.24);
}

header nav a[href] {
  transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

header nav .font-bold.text-xl {
  color: var(--fw-green-deep);
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.03em;
}

header nav a.text-black {
  color: #253043 !important;
}

header nav a.text-black:hover,
header nav a[href="/about"]:hover,
header nav a[href="/products"]:hover,
header nav a[href="/impact"]:hover,
header nav a[href="/contact"]:hover {
  color: var(--fw-green) !important;
  background: var(--fw-green-soft) !important;
}

header nav .bg-green-600 {
  background: linear-gradient(135deg, var(--fw-green-deep) 0%, #16a34a 100%) !important;
  box-shadow: 0 10px 24px rgba(11, 128, 67, 0.28);
  color: #fff !important;
}

header nav .bg-green-600:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(11, 128, 67, 0.38);
}

header nav button[aria-label="Toggle menu"] {
  color: var(--fw-green-deep);
}

/* Mobile menu (opened by /site.js) */
@media (max-width: 1023px) {
  header nav {
    flex-wrap: wrap;
    border-radius: 26px;
  }
  header nav > div.hidden {
    display: none !important;
  }
  header[data-menu-open="true"] nav > div.hidden {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.35rem;
    margin-top: 0.7rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(11, 128, 67, 0.14);
  }
  header[data-menu-open="true"] nav > div.hidden a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Hero ------------------------------------------------------------------- */
#home {
  isolation: isolate;
  border-bottom-left-radius: 34px !important;
  border-bottom-right-radius: 34px !important;
}

#home::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 520px at 8% 18%, rgba(11, 128, 67, 0.34), transparent 58%),
    radial-gradient(760px 420px at 92% 28%, rgba(251, 192, 45, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(2, 20, 12, 0.18) 0%, rgba(2, 20, 12, 0.62) 100%);
  z-index: 1;
  pointer-events: none;
}

#home > .absolute.inset-0 {
  background: linear-gradient(120deg, rgba(3, 24, 14, 0.52) 0%, rgba(4, 32, 18, 0.22) 48%, rgba(3, 24, 14, 0.48) 100%) !important;
}

#home > div.relative {
  z-index: 2;
}

#home h1 {
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.32);
  line-height: 1.08;
  font-weight: 800;
}

#home p {
  color: rgba(255, 255, 255, 0.92) !important;
}

.hero-badge {
  box-shadow: 0 12px 28px rgba(251, 192, 45, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
}

.hero-cta-primary,
.hero-cta-secondary {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.hero-cta-primary {
  background: #fff !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}
.hero-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(251, 192, 45, 0.34);
}
.hero-cta-primary a {
  color: var(--fw-green-dark) !important;
}

.hero-cta-secondary {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.42) !important;
  backdrop-filter: blur(8px);
}
.hero-cta-secondary:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.22) !important;
}

.fw-ussd-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1.6rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--fw-gold);
  color: #26320a;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(251, 192, 45, 0.3);
}
.fw-ussd-pill strong {
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Buttons / brand colour utilities -------------------------------------- */
.bg-green-600,
.bg-\[\#008F45\],
.bg-\[\#4DAA57\] {
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, background 0.25s ease;
}
.bg-green-600:hover,
.bg-\[\#008F45\]:hover,
.bg-\[\#4DAA57\]:hover {
  filter: saturate(1.08) brightness(1.03);
  box-shadow: var(--fw-shadow-md);
}

/* Cards ------------------------------------------------------------------ */
.rounded-xl,
.rounded-2xl,
.rounded-3xl {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.shadow,
.shadow-md,
.shadow-lg,
.shadow-xl {
  box-shadow: var(--fw-shadow-sm);
}
.hover\:shadow-lg:hover,
.hover\:shadow-xl:hover {
  box-shadow: var(--fw-shadow-md) !important;
}

article.bg-white,
div.bg-white.rounded-2xl,
div.bg-white.rounded-3xl,
div.bg-white.rounded-xl {
  border: 1px solid rgba(11, 128, 67, 0.08);
}
article.bg-white:hover,
div.bg-white.rounded-2xl:hover,
div.bg-white.rounded-3xl:hover {
  transform: translateY(-4px);
  box-shadow: var(--fw-shadow-md);
  border-color: rgba(11, 128, 67, 0.2);
}

/* Stat cards on the dark band */
.bg-white\/5 {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(251, 192, 45, 0.16) !important;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.bg-white\/5:hover {
  transform: translateY(-5px);
  background: rgba(11, 128, 67, 0.18) !important;
  border-color: rgba(251, 192, 45, 0.5) !important;
}
.bg-gray-900 .text-green-400,
.bg-gray-900 .text-\[\#008F45\] {
  color: var(--fw-gold) !important;
}

/* Section backgrounds ---------------------------------------------------- */
.bg-gray-50 {
  background: linear-gradient(180deg, #f8fbf9 0%, #f1f7f3 100%) !important;
}
.bg-gray-900 {
  background:
    radial-gradient(1000px 420px at 18% 0%, rgba(11, 128, 67, 0.28), transparent 48%),
    radial-gradient(700px 360px at 88% 100%, rgba(251, 192, 45, 0.12), transparent 50%),
    linear-gradient(180deg, #072016 0%, #0b1a14 100%) !important;
}

/* Inner page headers */
main > section.pt-32 {
  background:
    radial-gradient(880px 400px at 14% 18%, rgba(11, 128, 67, 0.34), transparent 52%),
    radial-gradient(680px 320px at 86% 12%, rgba(251, 192, 45, 0.12), transparent 48%),
    linear-gradient(180deg, #072016 0%, #0d1c15 100%) !important;
}
main > section.pt-32 p {
  color: rgba(226, 232, 240, 0.9) !important;
}
main > section.pt-32 span.text-\[\#008F45\] {
  color: var(--fw-gold) !important;
}

/* Forms ------------------------------------------------------------------ */
input, textarea, select {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
input:focus, textarea:focus, select:focus {
  border-color: rgba(11, 128, 67, 0.55) !important;
  box-shadow: 0 0 0 4px var(--fw-ring) !important;
}

/* Gallery ---------------------------------------------------------------- */
#gallery {
  background:
    radial-gradient(900px 350px at 10% 0%, rgba(11, 128, 67, 0.09), transparent 45%),
    linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
}
#gallery .gallery-grid {
  gap: 1.25rem;
}
.gallery-card {
  border: 1px solid rgba(11, 128, 67, 0.1);
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transform: translateZ(0);
}
.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 45px rgba(6, 78, 59, 0.18);
}
.gallery-card .gallery-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}
.gallery-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.06) contrast(1.02);
}
.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0) 45%, rgba(2, 6, 23, 0.18) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.gallery-card:hover::after {
  opacity: 1;
}

/* Footer ----------------------------------------------------------------- */
footer#footer {
  background:
    radial-gradient(800px 300px at 82% 0%, rgba(11, 128, 67, 0.22), transparent 46%),
    linear-gradient(180deg, #072016 0%, #0b1712 100%) !important;
  border-top: 4px solid var(--fw-gold);
}
footer#footer h1,
footer#footer h3,
footer#footer h4 {
  color: #fff;
}
footer#footer a:hover {
  color: var(--fw-gold) !important;
}
footer img[alt="facebook"],
footer img[alt="twitter"],
footer img[alt="instagram"],
footer img[alt="linkedin"] {
  width: 40px !important;
  height: 40px !important;
  padding: 7px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease, background 0.25s ease;
}
footer img[alt="facebook"]:hover,
footer img[alt="twitter"]:hover,
footer img[alt="instagram"]:hover,
footer img[alt="linkedin"]:hover {
  transform: translateY(-3px);
  background: rgba(251, 192, 45, 0.2);
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 768px) {
  #home h1 {
    font-size: 2.6rem !important;
    line-height: 1.12;
  }
  #home .max-w-xl {
    margin-top: 7rem !important;
  }
  main > section.pt-32 h1 {
    font-size: 2.2rem !important;
  }
  header nav {
    padding: 0.5rem 0.75rem;
  }
}

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

/* Climate & Carbon page -------------------------------------------------- */
.fw-page-hero {
  position: relative;
  overflow: hidden;
  padding: 170px 0 96px;
  background:
    radial-gradient(900px 460px at 12% 10%, rgba(11, 128, 67, 0.42), transparent 58%),
    radial-gradient(700px 380px at 88% 26%, rgba(251, 192, 45, 0.16), transparent 52%),
    linear-gradient(180deg, #062117 0%, #0b1c15 100%);
  color: #fff;
}
.fw-page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 90px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.96));
  pointer-events: none;
}
.fw-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.fw-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(251, 192, 45, 0.16);
  border: 1px solid rgba(251, 192, 45, 0.45);
  color: var(--fw-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.fw-page-hero h1 {
  max-width: 850px;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.03;
  margin: 0 0 1.4rem;
}
.fw-page-hero h1 em {
  font-style: normal;
  color: var(--fw-gold);
}
.fw-lede {
  max-width: 760px;
  font-size: 1.12rem;
  line-height: 1.8;
  color: rgba(226, 232, 240, 0.9);
  margin: 0 0 2.4rem;
}
.fw-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.fw-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(251, 192, 45, 0.2);
  border-radius: 20px;
  padding: 1.1rem 1.2rem;
}
.fw-stat b {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 1.8rem;
  line-height: 1.1;
  color: var(--fw-gold);
}
.fw-stat span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: rgba(226, 232, 240, 0.8);
}
.fw-section {
  padding: 88px 0;
  background: #fff;
}
.fw-section.alt {
  background: linear-gradient(180deg, #f8fbf9 0%, #f1f7f3 100%);
}
.fw-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--fw-ink);
  margin: 0 0 1rem;
}
.fw-section h2 em {
  font-style: normal;
  color: var(--fw-green);
}
.fw-section-intro {
  max-width: 780px;
  font-size: 1.05rem;
  color: var(--fw-muted);
  margin: 0 0 2.6rem;
}
.fw-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
.fw-card {
  background: #fff;
  border: 1px solid rgba(11, 128, 67, 0.12);
  border-radius: 24px;
  padding: 1.7rem;
  box-shadow: var(--fw-shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.fw-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--fw-shadow-md);
  border-color: rgba(11, 128, 67, 0.3);
}
.fw-card .fw-num {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--fw-green-soft);
  color: var(--fw-green-deep);
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  margin-bottom: 1rem;
}
.fw-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.7rem;
  color: var(--fw-ink);
}
.fw-card p {
  color: var(--fw-muted);
  font-size: 0.94rem;
  margin: 0;
}
.fw-chain {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
  align-items: stretch;
}
.fw-chain-step {
  position: relative;
  background: #fff;
  border-top: 5px solid var(--fw-green);
  border-radius: 18px;
  padding: 1.3rem 1.1rem;
  box-shadow: var(--fw-shadow-sm);
}
.fw-chain-step:last-child {
  border-top-color: var(--fw-gold);
}
.fw-chain-step b {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 1.12rem;
  color: var(--fw-green-deep);
  margin-bottom: 0.5rem;
}
.fw-chain-step span {
  font-size: 0.85rem;
  color: var(--fw-muted);
  line-height: 1.6;
}
.fw-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}
.fw-callout {
  background: linear-gradient(145deg, #072016, #0b4a2c);
  color: #fff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--fw-shadow-md);
}
.fw-callout h3 {
  color: var(--fw-gold);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}
.fw-callout p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}
.fw-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fw-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.9rem;
  color: var(--fw-muted);
}
.fw-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--fw-green);
  box-shadow: 0 0 0 4px var(--fw-green-soft);
}
.fw-list li strong {
  color: var(--fw-ink);
}
.fw-cta {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--fw-green-deep), #16a34a);
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(11, 128, 67, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fw-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(11, 128, 67, 0.38);
}
@media (max-width: 980px) {
  .fw-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fw-chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fw-split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .fw-page-hero { padding-top: 140px; }
  .fw-stats, .fw-grid, .fw-chain { grid-template-columns: 1fr; }
  .fw-section { padding: 64px 0; }
}

/* Make the climate programme link unmistakable in the nav */
header nav a[href="/climate"]:not(.bg-green-600) {
  color: var(--fw-green-deep) !important;
  font-weight: 600;
}
header nav a[href="/climate"]::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--fw-gold);
  box-shadow: 0 0 0 3px rgba(251, 192, 45, 0.18);
  vertical-align: middle;
}
header nav a[href="/climate"].bg-green-600::before {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

/* xl:flex is not present in the precompiled Tailwind bundle */
@media (min-width: 1280px) {
  header nav > div.hidden.xl\:flex {
    display: flex !important;
  }
}

/* Climate page photography ----------------------------------------------- */
.fw-climate-hero {
  background-image:
    linear-gradient(90deg, rgba(4, 28, 17, 0.92) 0%, rgba(4, 28, 17, 0.62) 52%, rgba(4, 28, 17, 0.34) 100%),
    url("/farm-hero.jpg") !important;
  background-size: cover !important;
  background-position: center 42% !important;
}
.fw-photo {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--fw-shadow-md);
  background: #0b1c15;
}
.fw-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.fw-photo:hover img {
  transform: scale(1.06);
}
.fw-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(3, 24, 14, 0.72) 100%);
  pointer-events: none;
}
.fw-photo figcaption {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1rem;
  z-index: 2;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}
.fw-photo figcaption span {
  display: block;
  color: var(--fw-gold);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.fw-photo-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.fw-photo-strip .fw-photo {
  height: 250px;
}
.fw-arch-image {
  min-height: 380px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--fw-shadow-md);
}
.fw-arch-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fw-faq {
  display: grid;
  gap: 0.8rem;
}
.fw-faq details {
  background: #fff;
  border: 1px solid rgba(11, 128, 67, 0.14);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  box-shadow: var(--fw-shadow-sm);
}
.fw-faq summary {
  cursor: pointer;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  color: var(--fw-green-deep);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.fw-faq summary::-webkit-details-marker {
  display: none;
}
.fw-faq summary::after {
  content: "+";
  color: var(--fw-gold);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
}
.fw-faq details[open] summary::after {
  content: "−";
}
.fw-faq p {
  color: var(--fw-muted);
  margin: 0.8rem 0 0;
  font-size: 0.94rem;
}
@media (max-width: 980px) {
  .fw-photo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .fw-photo-strip { grid-template-columns: 1fr; }
  .fw-arch-image { min-height: 240px; }
}

/* Site-wide brand reinforcement ------------------------------------------ */
header nav {
  box-shadow: inset 0 3px 0 var(--fw-gold), 0 12px 34px rgba(15, 23, 42, 0.09) !important;
}
header.fw-scrolled nav,
header .fw-scrolled nav {
  box-shadow: inset 0 3px 0 var(--fw-gold), 0 16px 40px rgba(6, 78, 59, 0.16) !important;
}

/* Subtle field-photo wash on inner-page headers */
main > section.pt-32::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 28, 17, 0.88), rgba(4, 28, 17, 0.52)), url("/farm-hero.jpg") center/cover no-repeat;
  opacity: 0.28;
  pointer-events: none;
}
main > section.pt-32 > * {
  position: relative;
  z-index: 1;
}

/* Fixed USSD shortcut injected by site.js */
.fw-floating-ussd {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--fw-gold);
  color: #26320a !important;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(251, 192, 45, 0.36);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fw-floating-ussd:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(251, 192, 45, 0.46);
}
.fw-floating-ussd::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #26320a;
}
@media (max-width: 767px) {
  .fw-floating-ussd {
    right: 14px;
    bottom: 14px;
    padding: 0.6rem 0.9rem;
    font-size: 0.75rem;
  }
}

/* Page heroes built from the supplied field-photo folder ----------------- */
.fw-page-hero.fw-hero-about,
.fw-page-hero.fw-hero-services,
.fw-page-hero.fw-hero-impact,
.fw-page-hero.fw-hero-contact {
  background-size: cover !important;
  background-position: center 44% !important;
}
.fw-page-hero.fw-hero-about {
  background-image: linear-gradient(90deg, rgba(4, 28, 17, .93) 0%, rgba(4, 28, 17, .70) 52%, rgba(4, 28, 17, .40) 100%), url("/field/about-hero.jpg") !important;
}
.fw-page-hero.fw-hero-services {
  background-image: linear-gradient(90deg, rgba(4, 28, 17, .93) 0%, rgba(4, 28, 17, .70) 52%, rgba(4, 28, 17, .40) 100%), url("/field/services-hero.jpg") !important;
}
.fw-page-hero.fw-hero-impact {
  background-image: linear-gradient(90deg, rgba(4, 28, 17, .93) 0%, rgba(4, 28, 17, .70) 52%, rgba(4, 28, 17, .40) 100%), url("/field/impact-hero.jpg") !important;
}
.fw-page-hero.fw-hero-contact {
  background-image: linear-gradient(90deg, rgba(4, 28, 17, .93) 0%, rgba(4, 28, 17, .70) 52%, rgba(4, 28, 17, .40) 100%), url("/field/contact-hero.jpg") !important;
}
.fw-page-hero .text-gray-600,
.fw-page-hero .text-gray-400 {
  color: rgba(226, 232, 240, .88) !important;
}
.fw-page-hero .bg-green-600\/20 {
  background: rgba(251, 192, 45, .16) !important;
  border: 1px solid rgba(251, 192, 45, .45);
  color: var(--fw-gold) !important;
}
#home { background-image: url("/field/home-hero.jpg") !important; }

/* Consistent active-page treatment across every nav ---------------------- */
header nav a.fw-nav-active {
  background: var(--fw-green) !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: inset 0 -3px 0 var(--fw-gold), 0 6px 18px rgba(11, 128, 67, .28);
}
header nav a.fw-nav-active::before {
  background: var(--fw-gold);
  box-shadow: 0 0 0 3px rgba(251, 192, 45, .25);
}

/* Field-photo feature band used on the main pages ------------------------ */
.fw-field-band {
  position: relative;
  background: linear-gradient(135deg, #062117 0%, #0b4a2c 100%);
  color: #fff;
  padding: 88px 0;
  overflow: hidden;
}
.fw-field-band::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 192, 45, .18), transparent 68%);
  pointer-events: none;
}
.fw-field-band h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1rem;
}
.fw-field-band h2 em { font-style: normal; color: var(--fw-gold); }
.fw-field-band p.fw-section-intro { color: rgba(226, 232, 240, .86); }
.fw-field-band .fw-photo { background: #042115; border: 1px solid rgba(251, 192, 45, .18); }
@media (max-width: 640px) { .fw-field-band { padding: 64px 0; } }

/* One gold-coated navigation, identical on every page -------------------- */
header nav a.fw-nav-link {
  color: #0b3d26 !important;
  font-weight: 700 !important;
  white-space: nowrap;
  background: rgba(251, 192, 45, .10) !important;
  box-shadow: inset 0 -3px 0 rgba(251, 192, 45, .72) !important;
  border: 1px solid rgba(251, 192, 45, .35) !important;
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease !important;
}
header nav a.fw-nav-link:hover {
  background: rgba(251, 192, 45, .30) !important;
  box-shadow: inset 0 -3px 0 var(--fw-gold), 0 8px 18px rgba(251, 192, 45, .30) !important;
  transform: translateY(-1px);
}
header nav a.fw-nav-link.fw-nav-active {
  background: var(--fw-gold) !important;
  color: #062117 !important;
  border-color: var(--fw-gold) !important;
  box-shadow: inset 0 -3px 0 var(--fw-green-deep), 0 10px 22px rgba(251, 192, 45, .38) !important;
}
header nav a.fw-climate-pill {
  background: linear-gradient(135deg, #fff3cf 0%, #fbd97a 100%) !important;
  border: 1px solid var(--fw-gold) !important;
  color: #062117 !important;
  box-shadow: inset 0 -3px 0 var(--fw-green), 0 8px 20px rgba(251, 192, 45, .32) !important;
}
header nav a.fw-climate-pill::before {
  background: var(--fw-green-deep) !important;
  box-shadow: 0 0 0 3px rgba(11, 128, 67, .18) !important;
}
/* Highest-specificity fix so the climate pill keeps dark text on gold */
header nav a[href="/climate"].fw-climate-pill {
  color: #062117 !important;
}
