@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --page: #f5f1e7;
  --surface: rgba(255, 251, 245, 0.86);
  --surface-strong: #ffffff;
  --ink: #193325;
  --muted: #5f705f;
  --line: rgba(25, 51, 37, 0.12);
  --leaf: #3d7b3d;
  --leaf-deep: #295c30;
  --moss: #7d9150;
  --gold: #f0b35f;
  --terracotta: #c46d41;
  --pearl: #edf3e4;
  --shadow: 0 22px 60px rgba(37, 55, 33, 0.14);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(240, 179, 95, 0.28), transparent 28%),
    radial-gradient(circle at top right, rgba(61, 123, 61, 0.18), transparent 24%),
    linear-gradient(180deg, #fbf6ea 0%, #f4f0e4 52%, #eef4e8 100%);
  min-height: 100vh;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 12px 16px;
  background: var(--ink);
  color: white;
  border-radius: 999px;
}

.skip-link:focus {
  top: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(245, 241, 231, 0.72);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(250, 247, 239, 0.94);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(36, 59, 38, 0.08);
}

.site-header-inner,
.site-footer-inner,
.page-shell,
.hero-band,
.section-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.site-header-inner {
  width: min(calc(100% - 24px), 1320px);
}

.site-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fcfff8;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.38), transparent 40%),
    linear-gradient(135deg, #2a5c2f, #77a24a 74%, #f0b35f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.brand-copy strong,
h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-copy small {
  color: var(--muted);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 10px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.96rem;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(61, 123, 61, 0.11);
  color: var(--leaf-deep);
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--surface-strong);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fefdf9;
  background: linear-gradient(135deg, #2c6633, #568c3d 74%, #ccad4d);
  box-shadow: 0 16px 32px rgba(61, 123, 61, 0.22);
}

.button.secondary {
  color: var(--leaf-deep);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(41, 92, 48, 0.18);
}

.button.ghost {
  color: var(--ink);
  background: transparent;
  border-color: rgba(25, 51, 37, 0.16);
}

.nav-cta {
  white-space: nowrap;
}

.page-shell {
  padding: 34px 0 72px;
}

.hero-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  padding-top: 20px;
}

.hero-copy,
.panel,
.feature-card,
.step-card,
.market-card,
.story-card,
.faq-card,
.contact-card,
.resource-card,
.timeline-card,
.portal-panel,
.stats-strip article,
.trust-badge,
.ecosystem-node,
.portal-metric {
  background: var(--surface);
  border: 1px solid rgba(25, 51, 37, 0.09);
  box-shadow: var(--shadow);
}

.hero-copy,
.panel,
.feature-card,
.step-card,
.market-card,
.story-card,
.faq-card,
.contact-card,
.resource-card,
.timeline-card,
.portal-panel,
.ecosystem-node {
  border-radius: var(--radius-xl);
}

.hero-copy {
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -70px -70px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 179, 95, 0.35), transparent 70%);
}

.eyebrow {
  margin: 0 0 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.76rem;
  color: var(--leaf);
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
}

.hero-copy p,
.page-intro p,
.section-copy,
.panel p,
.story-card p,
.resource-card p,
.faq-content,
li,
td,
th {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.stats-strip article {
  padding: 18px;
  border-radius: var(--radius-lg);
}

.stats-strip strong,
.portal-metric strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--leaf-deep);
}

.hero-visual-stack {
  display: grid;
  gap: 20px;
}

.photo-frame {
  min-height: 340px;
  border-radius: 34px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.photo-frame::before {
  content: "Organic network visual";
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
  background: rgba(25, 51, 37, 0.56);
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 24, 15, 0.04), rgba(12, 24, 15, 0.48));
}

.photo-frame--hero {
  min-height: 430px;
  background-image:
    linear-gradient(135deg, rgba(29, 82, 38, 0.46), rgba(215, 186, 84, 0.12)),
    url("images/hero-network.png");
}

.photo-frame--farmers {
  background-image:
    linear-gradient(135deg, rgba(22, 63, 34, 0.34), rgba(240, 179, 95, 0.1)),
    url("images/farmers-cohort.png");
}

.photo-frame--buyers {
  background-image:
    linear-gradient(135deg, rgba(28, 52, 70, 0.32), rgba(240, 179, 95, 0.08)),
    url("images/buyers-warehouse.png");
}

.photo-frame--ecosystem {
  background-image:
    linear-gradient(135deg, rgba(32, 69, 39, 0.36), rgba(244, 179, 95, 0.08)),
    url("images/ecosystem-hub.png");
}

.photo-frame--knowledge {
  background-image:
    linear-gradient(135deg, rgba(34, 55, 42, 0.38), rgba(244, 179, 95, 0.12)),
    url("images/knowledge-hub.png");
}

.floating-card {
  padding: 26px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(238, 245, 230, 0.86));
  border: 1px solid rgba(41, 92, 48, 0.1);
  box-shadow: var(--shadow);
}

.floating-card h2,
.section-heading h2,
.page-intro h1,
.panel h2,
.timeline-card h3,
.feature-card h3,
.market-card h3,
.story-card h3,
.contact-card h3,
.resource-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.floating-card ul,
.panel ul,
.feature-card ul,
.timeline-card ul {
  margin: 0;
  padding-left: 18px;
}

.trust-grid,
.feature-grid,
.steps-grid,
.story-grid,
.contact-grid,
.resource-grid,
.market-grid,
.timeline-grid,
.portal-grid,
.pillar-grid {
  display: grid;
  gap: 20px;
}

.trust-grid,
.feature-grid,
.story-grid,
.contact-grid,
.resource-grid,
.portal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps-grid,
.timeline-grid,
.market-grid,
.pillar-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-shell {
  padding-top: 82px;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.section-heading p,
.page-intro p {
  max-width: 760px;
}

.feature-card,
.step-card,
.market-card,
.story-card,
.contact-card,
.resource-card,
.timeline-card,
.portal-panel {
  padding: 24px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(61, 123, 61, 0.12);
  color: var(--leaf-deep);
  font-size: 0.86rem;
  font-weight: 800;
}

.feature-card strong,
.story-card strong,
.timeline-card strong {
  color: var(--ink);
}

.page-intro {
  margin-bottom: 30px;
}

.page-intro h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.band-surface {
  padding: 28px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(239, 247, 231, 0.88));
  border: 1px solid rgba(25, 51, 37, 0.08);
  box-shadow: var(--shadow);
}

.list-ticks {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.list-ticks li {
  position: relative;
  padding-left: 30px;
}

.list-ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--leaf), var(--gold));
  box-shadow: 0 0 0 6px rgba(61, 123, 61, 0.1);
}

.market-meta,
.portal-metrics {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.market-badge,
.trust-badge,
.portal-metric {
  padding: 18px;
  border-radius: var(--radius-lg);
}

.market-badge span,
.trust-badge span,
.portal-metric span {
  color: var(--muted);
  font-size: 0.94rem;
}

.chip-row,
.tab-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip,
.tab-button {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(25, 51, 37, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.chip.is-active,
.tab-button.is-active {
  background: linear-gradient(135deg, #2d6535, #6f9448);
  border-color: transparent;
  color: #fbfff8;
}

.market-card small,
.contact-card small,
.resource-card small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.market-card ul,
.timeline-card ul {
  padding-left: 18px;
}

.ecosystem-map {
  position: relative;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ecosystem-node {
  padding: 22px;
}

.ecosystem-node h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.ecosystem-node--core {
  background: linear-gradient(180deg, rgba(44, 102, 51, 0.92), rgba(88, 140, 61, 0.86));
  color: #f8fff6;
}

.ecosystem-node--core p,
.ecosystem-node--core li {
  color: rgba(248, 255, 246, 0.84);
}

.portal-shell {
  display: grid;
  gap: 22px;
}

.portal-panel {
  padding: 28px;
}

.portal-panel[hidden] {
  display: none;
}

.portal-panel .timeline-grid {
  margin-top: 22px;
}

.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 10px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 700;
  color: var(--ink);
}

input,
textarea,
select {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(25, 51, 37, 0.14);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  margin: 0;
  font-weight: 700;
}

.form-status[data-state="loading"] {
  color: var(--moss);
}

.form-status[data-state="success"] {
  color: var(--leaf-deep);
}

.form-status[data-state="error"] {
  color: #9d3d2b;
}

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

.faq-card {
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
}

.faq-content {
  padding: 0 24px 24px;
  display: none;
}

.faq-card.is-open .faq-content {
  display: block;
}

.site-footer {
  padding: 70px 0 40px;
}

.site-footer-inner {
  display: grid;
  gap: 24px;
}

.footer-band {
  padding: 28px;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(25, 51, 37, 0.94), rgba(53, 104, 55, 0.92));
  color: #f7fff4;
  box-shadow: var(--shadow);
}

.footer-band p,
.footer-band li,
.footer-band a,
.footer-band small {
  color: rgba(247, 255, 244, 0.8);
}

.footer-links {
  display: flex;
  gap: 12px 18px;
  flex-wrap: wrap;
}

.footer-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.reveal {
  opacity: 1;
  transform: translateY(24px);
  transition: transform 500ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero-band,
  .trust-grid,
  .feature-grid,
  .story-grid,
  .contact-grid,
  .resource-grid,
  .portal-grid,
  .market-grid,
  .steps-grid,
  .timeline-grid,
  .pillar-grid,
  .ecosystem-map {
    grid-template-columns: 1fr;
  }

  .stats-strip,
  .market-meta,
  .portal-metrics,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header-inner {
    grid-template-columns: auto auto;
  }

  .site-nav {
    order: 3;
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 252, 247, 0.98);
    padding: 12px;
    border-radius: 24px;
    border: 1px solid rgba(25, 51, 37, 0.1);
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 22px 0 64px;
  }

  .hero-copy,
  .panel,
  .feature-card,
  .step-card,
  .market-card,
  .story-card,
  .contact-card,
  .resource-card,
  .timeline-card,
  .portal-panel,
  .band-surface {
    padding: 22px;
  }

  .stats-strip,
  .market-meta,
  .portal-metrics,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .photo-frame {
    min-height: 280px;
  }

  .photo-frame--hero {
    min-height: 340px;
  }

  h1 {
    font-size: clamp(2.35rem, 10vw, 3.5rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .tab-row,
  .chip-row {
    overflow-x: auto;
    padding-bottom: 6px;
  }
}
