:root {
  --green-900: #173f2a;
  --green-800: #1f5638;
  --green-700: #287145;
  --leaf: #75a84b;
  --earth: #8a5a20;
  --sand: #f4f1e8;
  --cream: #fbfaf5;
  --ink: #1e2b22;
  --muted: #68746b;
  --line: #ded7c8;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(23, 63, 42, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.scrolled,
.site-header.solid {
  color: var(--ink);
  background: rgba(251, 250, 245, 0.96);
  box-shadow: 0 12px 30px rgba(23, 63, 42, 0.08);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  width: 48px;
  height: 51px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.brand small {
  color: currentColor;
  font-size: 0.74rem;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.93rem;
  font-weight: 650;
}

.site-nav a {
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 8rem clamp(1rem, 4vw, 3rem) 4rem;
  color: var(--white);
  background: url("assets/maniamba-aerial.jpg") center / cover no-repeat;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 35, 22, 0.88), rgba(9, 35, 22, 0.62) 44%, rgba(9, 35, 22, 0.16)),
    linear-gradient(0deg, rgba(9, 35, 22, 0.7), rgba(9, 35, 22, 0.05) 45%);
}

.hero-content {
  position: relative;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--earth);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #d7b071;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3rem, 11vw, 6.4rem);
  max-width: 880px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 7vw, 4rem);
  color: var(--green-900);
  max-width: 850px;
}

h3 {
  font-size: 1.2rem;
  color: var(--green-900);
}

.subtitle {
  margin: 0.9rem 0 0;
  font-size: clamp(1.25rem, 4vw, 2.2rem);
  font-weight: 750;
}

.hero-text {
  max-width: 680px;
  margin: 1.2rem 0 0;
  font-size: clamp(1.05rem, 2.6vw, 1.32rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: var(--white);
  background: var(--green-700);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
}

.button.secondary.dark {
  color: var(--green-900);
  border-color: rgba(23, 63, 42, 0.28);
  background: rgba(255, 255, 255, 0.72);
}

.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(880px, calc(100% - 2rem));
}

.intro {
  text-align: center;
}

.intro p:last-child,
.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  margin-bottom: 2rem;
}

.light {
  background: var(--sand);
}

.srrp-home {
  color: var(--white);
  background: var(--green-900);
}

.srrp-home h2,
.srrp-home h3 {
  color: var(--white);
}

.srrp-home p {
  color: rgba(255, 255, 255, 0.84);
}

.srrp-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
  gap: clamp(1.5rem, 6vw, 4rem);
  align-items: center;
}

.srrp-brief {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
}

.srrp-brief ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
}

.srrp-brief li + li {
  margin-top: 0.55rem;
}

.icon-grid,
.pillars,
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}

.icon-card,
.pillars article,
.project-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 1.25rem;
}

.icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 8px;
  background: rgba(117, 168, 75, 0.18);
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
  border-color: var(--green-800);
}

.icon.land::before {
  width: 22px;
  height: 16px;
  border: 2px solid var(--green-800);
  border-radius: 50% 50% 40% 40%;
  transform: rotate(-18deg);
}

.icon.location::before {
  width: 16px;
  height: 16px;
  border: 2px solid var(--green-800);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.icon.location::after {
  width: 5px;
  height: 5px;
  border: 2px solid var(--green-800);
  border-radius: 50%;
}

.icon.demand::before {
  width: 22px;
  height: 18px;
  border: 2px solid var(--green-800);
  border-top: 0;
}

.icon.trade::before {
  width: 22px;
  height: 2px;
  background: var(--green-800);
  box-shadow: 0 8px 0 var(--green-800);
}

.icon.industry::before {
  width: 24px;
  height: 18px;
  border: 2px solid var(--green-800);
  border-top: 8px solid var(--green-800);
}

.icon-card p,
.project-card p,
.pillars p,
.contact-card p,
.contact-card address {
  color: var(--muted);
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.5fr);
  gap: clamp(1.25rem, 5vw, 3rem);
  align-items: center;
}

.map-frame {
  margin: 0;
  padding: 1.25rem;
  border-radius: 8px;
  background: var(--sand);
  box-shadow: var(--shadow);
}

.map-frame img {
  width: auto;
  height: min(443px, 72vh);
  max-height: 100%;
  margin: 0 auto;
  object-fit: contain;
}

.project-list {
  display: grid;
  gap: 1rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.project-card.featured {
  border-color: rgba(40, 113, 69, 0.42);
  box-shadow: var(--shadow);
}

.project-kicker {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--earth);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.crop-line {
  margin: 0.7rem 0 0;
  font-weight: 750;
}

.activity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.activity-list li {
  border-radius: 999px;
  padding: 0.38rem 0.62rem;
  color: var(--green-900);
  background: var(--sand);
  font-size: 0.85rem;
  font-weight: 750;
}

.fact-list {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0 0;
}

.fact-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 0.6rem;
}

.fact-list dt {
  color: var(--muted);
  font-weight: 650;
}

.fact-list dd {
  margin: 0;
  color: var(--green-900);
  font-weight: 850;
  text-align: right;
}

.cashew,
.srrp {
  color: var(--white);
  background: var(--green-900);
}

.cashew h2,
.srrp h2 {
  color: var(--white);
}

.cashew p,
.srrp p {
  color: rgba(255, 255, 255, 0.82);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: clamp(1.5rem, 6vw, 4rem);
  align-items: center;
}

.metric-grid,
.program-list {
  display: grid;
  gap: 0.8rem;
}

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

.metric-grid article,
.kpi-grid article {
  border-radius: 8px;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.1);
}

.metric-grid strong,
.kpi-grid strong {
  display: block;
  font-size: clamp(2rem, 7vw, 3.5rem);
  line-height: 1;
  color: inherit;
}

.metric-grid span,
.kpi-grid span {
  display: block;
  margin-top: 0.45rem;
  color: inherit;
  opacity: 0.78;
  font-weight: 700;
}

.program-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.program-list li {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 750;
}

.cooperation {
  background:
    linear-gradient(135deg, rgba(244, 241, 232, 0.9), rgba(251, 250, 245, 0.96)),
    url("assets/maniamba-aerial.jpg") center / cover;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag-cloud span {
  border: 1px solid rgba(40, 113, 69, 0.3);
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 750;
}

.opportunity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

.opportunity-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  color: var(--green-900);
  background: var(--white);
  font-weight: 800;
}

.kpi-grid article {
  color: var(--green-900);
  background: var(--white);
  border: 1px solid var(--line);
}

.contact-band {
  background: var(--cream);
}

.contact-band h2 {
  font-size: clamp(2rem, 6vw, 3.2rem);
}

.contact-band a {
  color: var(--green-800);
  font-weight: 750;
}

.site-footer {
  padding: 2rem 0;
  color: rgba(255, 255, 255, 0.82);
  background: #102c1e;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
}

.site-footer p {
  margin: 0.3rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.contact-main {
  padding-top: 70px;
}

.srrp-page {
  padding-top: 70px;
}

.srrp-hero {
  padding: clamp(5rem, 11vw, 8rem) 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(251, 250, 245, 0.96), rgba(251, 250, 245, 0.82) 58%, rgba(251, 250, 245, 0.2)),
    url("assets/maniamba-aerial.jpg") center / cover;
}

.srrp-hero h1 {
  max-width: 900px;
  color: var(--green-900);
  font-size: clamp(3rem, 9vw, 6rem);
}

.srrp-hero p:not(.eyebrow) {
  max-width: 760px;
  font-size: clamp(1.05rem, 2.5vw, 1.28rem);
  color: var(--muted);
}

.srrp-two {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 6vw, 4rem);
  align-items: start;
}

.large-copy p {
  margin-top: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.work-blocks,
.value-chain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.work-blocks article,
.value-chain article,
.site-stack article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
  background: var(--white);
}

.work-blocks span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: var(--white);
  background: var(--green-800);
  font-size: 0.82rem;
  font-weight: 850;
}

.work-blocks p,
.value-chain p,
.site-stack p {
  color: var(--muted);
}

.srrp-map-section {
  background: var(--cream);
}

.site-stack {
  display: grid;
  gap: 1rem;
}

.srrp-coop .tag-cloud {
  margin-top: 1.25rem;
}

.contact-hero {
  color: var(--white);
  background: linear-gradient(135deg, rgba(23, 63, 42, 0.96), rgba(40, 113, 69, 0.84)), url("assets/maniamba-aerial.jpg") center / cover;
}

.contact-hero h1 {
  font-size: clamp(2.6rem, 9vw, 5rem);
}

.contact-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
}

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

.contact-card address {
  font-style: normal;
}

.contact-card a {
  color: var(--green-800);
  font-weight: 750;
}

@media (max-width: 760px) {
  .site-header {
    padding: 0.7rem 1rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 0.85rem;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-actions .button {
    width: 100%;
  }

  .map-layout,
  .split,
  .contact-grid,
  .srrp-home-grid,
  .srrp-two {
    grid-template-columns: 1fr;
  }

  .work-blocks,
  .value-chain,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .fact-list div,
  .footer-inner {
    display: block;
  }

  .fact-list dd {
    text-align: left;
  }

  .footer-links {
    margin-top: 1rem;
  }
}
