/* Recent layout and Optimizer Program refinements. */
.operation-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hero-motto {
  margin: -7px 0 28px;
  color: #f3d779;
  font: 500 16px/1.2 Fraunces, serif;
  letter-spacing: 0.2px;
}

.hero h1 {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  letter-spacing: -5px;
  line-height: 0.94;
}

.hero h1 i {
  color: #f1cf68;
  font-style: normal;
  font-weight: 600;
}

.mission-card h3 {
  max-width: 920px;
  font-size: clamp(24px, 2.25vw, 34px);
  line-height: 1.22;
  letter-spacing: -0.7px;
}

.mission-card .mission-list {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 35px;
}

.heritage-statement .heritage-copy {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.6;
}

@media (max-width: 450px) {
  .mission-card .mission-list {
    grid-template-columns: 1fr;
  }
}

.operation-card {
  min-height: 430px;
  padding: 34px;
}

.operation-card.botswana {
  background-image: url("images/maun-cattle-cropped.jpg");
  background-position: center;
}

.operation-card.mozambique h3 {
  white-space: nowrap;
}

.operation-card.south-africa {
  background-image: url("https://images.unsplash.com/photo-1571158047652-01ed1b854687?auto=format&fit=crop&fm=jpg&ixlib=rb-4.1.0&q=82&w=1800");
  background-position: center;
}

.operation-card > p:not(.country) {
  color: #f4d36d;
  font-weight: 600;
}

.operation-card .country {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  color: #ffe58a;
  background: rgba(6, 49, 30, 0.78);
  border-left: 3px solid #f6c94d;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.26);
  font-size: 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.contract-highlight {
  margin-top: 24px !important;
  color: #f5d46f !important;
  font-weight: 700 !important;
}

.current-projects {
  margin: 70px 0;
  padding-top: 28px;
  border-top: 1px solid rgba(245, 220, 141, 0.45);
}

.projects-label {
  margin-bottom: 22px !important;
}

.projects-intro {
  margin-bottom: 34px;
}

.projects-intro h3 {
  font-size: clamp(34px, 4vw, 55px);
  white-space: nowrap;
}

.projects-intro > p:last-child {
  max-width: 520px;
  margin: 14px 0 0;
  color: #cbd3c9;
  font-size: 13px;
}

/* Keep main section headings consistently left-aligned, like the home page. */
.section-heading,
.services-heading {
  max-width: 820px;
  margin-left: 0;
}

.section-heading h2,
.services-heading h2 {
  grid-column: auto;
}

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

.project-card {
  background: #173e2d;
  border-bottom: 4px solid #d9a832;
}

.project-card summary {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  cursor: pointer;
  list-style: none;
  background-position: center;
  background-size: cover;
}

.project-card summary::-webkit-details-marker { display: none; }
.project-card summary::marker { content: ""; }

.project-card summary > span,
.project-card summary small {
  color: #f5d46f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.project-card summary h4 {
  max-width: 280px;
  margin: 8px 0 18px;
  color: #fff9ed;
  font: 500 32px/0.98 Fraunces, serif;
}

.project-card summary small {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-card summary small b { font-size: 20px; line-height: 0.6; }
.project-card[open] summary small b { transform: rotate(45deg); }

.mozambique-project summary { background-image: linear-gradient(0deg, rgba(5, 50, 31, 0.95), rgba(5, 50, 31, 0.1)), url("images/sugar-cane-mature-row.jpg"); }
.cotton-project summary { background-image: linear-gradient(0deg, rgba(5, 50, 31, 0.95), rgba(5, 50, 31, 0.12)), url("images/mozambique-cotton-harvest.jpg"); }
.tomatoes-project summary { background-image: linear-gradient(0deg, rgba(5, 50, 31, 0.95), rgba(5, 50, 31, 0.12)), url("images/mozambique-tomatoes-growing.jpg"); }
.zimbabwe-project summary { background-image: linear-gradient(0deg, rgba(5, 50, 31, 0.95), rgba(5, 50, 31, 0.12)), url("images/zimbabwe-maize-cob-enhanced.png"); }
.potato-project summary { background-image: linear-gradient(0deg, rgba(5, 50, 31, 0.95), rgba(5, 50, 31, 0.12)), url("images/zimbabwe-potato-harvest.webp"); }
.south-africa-project summary { background-image: linear-gradient(0deg, rgba(5, 50, 31, 0.95), rgba(5, 50, 31, 0.12)), url("https://images.unsplash.com/photo-1774351922952-9b276d2f9845?auto=format&fit=crop&fm=jpg&ixlib=rb-4.1.0&q=82&w=1800"); }

.project-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 2px;
  background: #f5d46f;
}

.project-gallery img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05) brightness(1.02);
  transition: transform 220ms ease, filter 220ms ease;
}

.project-gallery img:hover {
  filter: saturate(1.16) contrast(1.08) brightness(1.04);
  transform: scale(1.015);
}

.optimizer {
  row-gap: 32px;
}

.success-stories {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 10px;
  background: rgba(255, 245, 216, 0.42);
}

.stories-heading {
  grid-column: 1 / -1;
  display: flex;
  gap: 35px;
  align-items: baseline;
  padding: 22px 25px;
  background: #6d4423;
}

.stories-heading .eyebrow {
  margin: 0;
  flex: 0 0 auto;
}

.stories-heading > p:last-child {
  margin: 0;
  color: #f7e6c8;
  font-size: 12px;
}

.story-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 24px;
  background: #754b27;
}

.story-card p {
  margin: 0;
  color: #fff0d7;
  font-size: 13px;
  line-height: 1.45;
}

.story-card .story-client {
  color: #f5d46f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.story-card h4 {
  margin: 18px 0 3px;
  color: #fff9ed;
  font: 500 25px/1 Fraunces, serif;
}

.story-card .story-debt {
  margin-bottom: 18px;
  color: #f5d46f;
  font-weight: 700;
}

.story-card strong {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: #fff9ed;
  font: 500 23px/1 Fraunces, serif;
}

.story-card strong span {
  color: #f5d46f;
  font: 700 10px/1.2 "DM Sans", sans-serif;
  letter-spacing: 0.7px;
  text-align: right;
  text-transform: uppercase;
}

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

.service-grid article {
  display: flex;
  flex-direction: column;
}

.service-grid .text-link {
  margin-top: auto;
  padding-top: 20px;
  align-self: flex-start;
}

.service-grid .service-illustration {
  display: block;
  width: 132px;
  height: 132px;
  margin: 0 auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.service-grid .service-illustration img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.service-grid article h3 {
  margin-top: 25px;
  text-align: center;
}

.ampersand {
  font-family: "DM Sans", sans-serif;
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: 0.06em;
}

/* Stack the Vision and Mission as intentional, full-width statements. */
.about .heritage-grid {
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 82px;
}

.about .heritage-grid > div {
  min-height: 0;
  padding: 34px 40px;
}

.about .heritage-grid .vision-card h3 {
  max-width: 920px;
  color: #17442d;
  font-size: clamp(24px, 2.25vw, 34px);
  line-height: 1.22;
  letter-spacing: -0.7px;
  text-shadow: none;
}

.about .section-company {
  margin-left: 4px;
  padding-left: 13px;
  border-left: 1px solid rgba(42, 59, 27, 0.3);
  color: #825b0f;
  font: inherit;
  font-weight: 600;
}

.about .about-intro {
  display: block;
}

.about .about-intro h2,
.about .about-intro .lead {
  grid-column: auto;
  max-width: none;
}

.about .about-intro .lead {
  max-width: 880px;
}

.about .heritage-statement {
  padding-top: 42px;
}

.about .heritage-statement h3 {
  max-width: none;
}

.about .heritage-statement .heritage-copy {
  max-width: 980px;
}

@media (max-width: 800px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .operation-card {
    min-height: 300px;
    padding: 25px;
  }

  .success-stories {
    grid-template-columns: 1fr;
  }

  .stories-heading {
    grid-column: auto;
    display: block;
  }

  .stories-heading .eyebrow {
    margin-bottom: 9px;
  }

  .projects-intro {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .projects-intro h3 {
    white-space: normal;
  }

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


@media (max-width: 450px) {
  .operation-grid {
    grid-template-columns: 1fr;
  }

  .operation-card.mozambique h3 {
    white-space: normal;
  }
}
