@font-face {
  font-family: "Founders Grotesk";
  src: url("../font/FoundersGrotesk-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-green-dark: #064e21;
  --color-copy: #18331d;
  --color-sage: #e9f0e6;
  --serve-card-light: #f4f5f3;
  --commodity-label-bg: #f9eebb;
  --commodities-lead: #5e6b62;
  --impact-project-card: #f2f2f2;
  --impact-metric-bg: #f0f4ef;
  --color-body: var(--color-copy);
  --color-white: #ffffff;
  --font-display: "Funnel Display", system-ui, sans-serif;
  --font-body: "Founders Grotesk", system-ui, sans-serif;
  --radius-pill: 999px;
  --shell-max: 1265px;
  /* Matches centered `.shell` inset: same left edge as navbar content */
  --shell-page-gutter: max(
    1rem,
    calc((100vw - min(var(--shell-max), calc(100vw - 2rem))) / 2)
  );
  --space-section: clamp(2rem, 5vw, 4rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--color-body);
  background: var(--color-white);
  overflow-x: hidden;
}

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

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

.shell {
  width: min(100% - 2rem, var(--shell-max));
  margin-inline: auto;
}

/* - Header / Navbar - */

.site-header {
  padding-block: 1.25rem;
}

.navbar {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem 1.5rem;
  padding-block: 0.65rem;
  padding-inline: 40px;
  background: var(--color-sage);
  border-radius: var(--radius-pill);
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo__img {
  display: block;
  height: clamp(30px, 7vw, 38px);
  width: auto;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1.5rem;
  justify-self: center;
  grid-column: 2;
}

.nav-overlay {
  display: contents;
}

.nav-overlay__head {
  display: none;
}

/* Keeps Contact btn in the desktop navbar grid (nav-overlay uses display: contents). */
.nav-overlay__footer {
  display: contents;
}

.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--color-copy);
  position: relative;
  padding-block: 0.35rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--color-copy);
  transform: translateX(-50%);
  transition: width 0.2s ease;
}

.nav-links a.is-active::after,
.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 1.75rem;
}

.btn--nav {
  justify-self: end;
  grid-column: 3;
  padding-inline: 1.25rem;
  padding-block: 0.5rem;
  font-size: 19px;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.32rem;
  width: 3.1rem;
  height: 3.1rem;
  padding: 0;
  line-height: 0;
  border: 1px solid rgba(6, 78, 33, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.nav-toggle__line {
  display: block;
  box-sizing: border-box;
  width: 1.45rem;
  height: 3px;
  min-height: 3px;
  max-height: 3px;
  border: 0;
  border-radius: 999px;
  background-color: var(--color-green-dark);
  flex-shrink: 0;
  align-self: center;
}

/* Slight stagger; same width/weight on both lines */
.nav-toggle__line:nth-child(1) {
  transform: translate3d(2px, 0, 0);
}

.nav-toggle__line:nth-child(2) {
  transform: translate3d(-2px, 0, 0);
}

/* - Buttons - */

.btn {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--color-green-dark);
  color: var(--color-white);
  border-color: var(--color-green-dark);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  filter: brightness(1.06);
}

.btn--outline {
  background: transparent;
  color: var(--color-copy);
  border-color: var(--color-copy);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--color-green-dark);
  color: var(--color-white);
  border-color: var(--color-green-dark);
}

.btn:focus-visible {
  outline: 2px solid var(--color-green-dark);
  outline-offset: 2px;
}

.btn--outline:focus-visible {
  outline-color: var(--color-copy);
}

/* - Hero - */

.hero {
  padding-block: var(--space-section) clamp(2.25rem, 6vw, 4.25rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  /* Text aligns with `.shell`; image column runs flush to the viewport edge */
  padding-left: var(--shell-page-gutter);
  padding-right: 0;
  box-sizing: border-box;
}

.hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 60px;
  letter-spacing: -0.03em;
  color: var(--color-green-dark);
}

.hero__lead {
  margin: 0 0 2rem;
  max-width: 42rem;
  font-size: 22px;
  line-height: 29px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.hero__actions .btn {
  font-size: 18px;
  font-weight: 600;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.hero__carousel {
  width: fit-content;
  max-width: 100%;
}

.hero__carousel-track {
  position: relative;
  width: fit-content;
  max-width: 100%;
}

.hero__carousel-slide {
  margin: 0;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
}

/* Active slide stays in flow so the track has correct height/width */
.hero__carousel-slide.is-active {
  position: relative;
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

/* Inactive slides overlay the same slot without stacking below */
.hero__carousel-slide:not(.is-active) {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  z-index: 0;
}

.hero__carousel-slide img {
  display: block;
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  .hero__carousel-slide {
    transition: none;
  }
}

/* - Gap section - */

.section-gap {
  padding-top: clamp(2rem, 4vw, 3.25rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.gap__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.gap__visual {
  position: relative;
  justify-self: stretch;
  min-width: 0;
}

.gap__figure {
  position: relative;
  margin: 0;
}

.gap__figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
}

.gap__title {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 46px;
  letter-spacing: -0.03em;
  color: var(--color-copy);
}

.gap__body {
  margin-bottom: 2rem;
}

.gap__body p {
  margin: 0 0 1.25rem;
  font-size: 20px;
  line-height: 24px;
  color: var(--color-copy);
}

.gap__body p:last-child {
  margin-bottom: 0;
}

.gap__list {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
  font-size: 20px;
  line-height: 24px;
  color: var(--color-copy);
}

.gap__list li {
  margin-bottom: 0.35rem;
}

.gap__list li:last-child {
  margin-bottom: 0;
}

.gap__cta {
  font-size: 18px;
  font-weight: 600;
}

/* - Our Approach - */

.section-approach {
  padding-block: clamp(2rem, 5vw, 4rem);
  overflow: visible;
}

.approach-panel-wrap {
  position: relative;
  z-index: 0;
}

.approach-panel-bg {
  position: absolute;
  z-index: 0;
  top: -8%;
  /* Bleed to viewport: offset by same inset as centered `.shell` right margin */
  right: calc(-1 * var(--shell-page-gutter));
  left: auto;
  width: min(62vw, 520px);
  pointer-events: none;
  line-height: 0;
}

.approach-panel-bg img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.approach-panel {
  position: relative;
  z-index: 1;
  background: var(--color-sage);
  border-radius: 28px;
  padding-top: clamp(2rem, 4vw, 3.25rem);
  padding-bottom: clamp(2.25rem, 4vw, 3.5rem);
  padding-inline: clamp(2rem, 5vw, 4.5rem);
}

.approach-header {
  text-align: center;
  margin-bottom: clamp(1.75rem, 3.25vw, 2.5rem);
}

.approach-heading {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 50px;
  letter-spacing: -0.03em;
  color: var(--color-copy);
}

.approach-intro {
  margin: 0 auto;
  max-width: 38rem;
  font-size: 20px;
  line-height: 24px;
  color: var(--color-copy);
}

.approach-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.25rem);
}

.approach-card {
  background: var(--color-white);
  border-radius: 20px;
  padding: 40px 35px;
}

.approach-card__badge {
  display: inline-grid;
  place-items: center;
  margin-bottom: 1rem;
}

.approach-card__badge img {
  display: block;
  grid-area: 1 / 1;
  max-width: none;
}

.approach-card__badge-text {
  grid-area: 1 / 1;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
  color: var(--color-copy);
}

.approach-card__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  line-height: 34px;
  color: var(--color-copy);
}

.approach-card p {
  margin: 0;
  max-width: 32rem;
  font-size: 20px;
  line-height: 24px;
  color: var(--color-copy);
}

/* - Who We Serve - */

.section-serve {
  padding-block: clamp(2rem, 5vw, 4rem);
}

.serve-heading {
  margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 50px;
  letter-spacing: -0.03em;
  color: var(--color-copy);
  text-align: center;
}

.serve-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: stretch;
}

.serve-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border-radius: 20px;
}

.serve-card--tone-light {
  background: var(--serve-card-light);
}

.serve-card--tone-sage {
  background: var(--color-sage);
}

.serve-card__media {
  border-radius: 16px;
  overflow: hidden;
}

.serve-card__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.serve-card__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.serve-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  line-height: 34px;
  color: var(--color-copy);
}

.serve-card__text {
  margin: 0;
  font-size: 20px;
  line-height: 24px;
  color: var(--color-copy);
}

.serve-card__cta {
  align-self: flex-start;
  margin-top: auto;
  font-size: 18px;
  font-weight: 600;
}

/* - Our Impact - */

.section-impact {
  padding-block: clamp(2rem, 5vw, 4rem);
}

.impact-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.impact-heading {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 50px;
  letter-spacing: -0.03em;
  color: var(--color-copy);
}

.impact-intro {
  margin: 0 auto;
  max-width: 46rem;
  font-size: 20px;
  line-height: 1.45;
  color: var(--color-copy);
}

.impact-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: stretch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.impact-feature__figure {
  margin: 0;
  min-width: 0;
}

.impact-feature__img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 30px;
  display: block;
}

.impact-feature__card {
  background: var(--impact-project-card);
  border-radius: 30px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.impact-feature__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 2.5vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-copy);
}

.impact-feature__text {
  margin: 0;
  font-size: 20px;
  line-height: 24px;
  color: var(--color-copy);
}

.impact-metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.impact-metric {
  background: var(--impact-metric-bg);
  border-radius: 30px;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 2.5vw, 1.75rem)
    clamp(1.35rem, 2.75vw, 1.85rem);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.impact-metric__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-copy);
}

.impact-metric__label {
  display: block;
  max-width: 100%;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 400;
  color: var(--color-copy);
  text-align: left;
}

/* - Our Infrastructure - */

.section-infrastructure {
  padding-block: clamp(2rem, 5vw, 4rem);
}

.infrastructure-header {
  text-align: center;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.infrastructure-heading {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 50px;
  letter-spacing: -0.03em;
  color: var(--color-copy);
}

.infrastructure-intro {
  margin: 0 auto;
  max-width: 46rem;
  font-size: 20px;
  line-height: 1.45;
  color: var(--color-copy);
}

.infrastructure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: stretch;
}

.infrastructure-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--impact-project-card);
  border-radius: 20px;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  gap: 1.25rem;
}

.infrastructure-card__figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
}

.infrastructure-card__img {
  display: block;
  width: 100%;
  height: auto;
}

.infrastructure-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  gap: 1rem;
  text-align: left;
}

.infrastructure-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 34px;
  letter-spacing: -0.02em;
  color: var(--color-copy);
}

.infrastructure-card__text {
  margin: 0;
  font-size: 20px;
  line-height: 24px;
  color: var(--color-copy);
}

.infrastructure-card__cta {
  margin-top: auto;
  font-size: 18px;
  font-weight: 600;
}

/* - Infrastructure detail pages - */

.section-infra-detail {
  padding-block: clamp(1.25rem, 3vw, 2rem) clamp(2rem, 5vw, 4rem);
}

.infra-detail__media {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.35rem);
  width: 100%;
  max-width: none;
  margin: clamp(1.15rem, 2.5vw, 1.75rem) 0 0;
}

.infra-detail__figure:first-child {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  height: 470px;
}

.infra-detail__figure:not(:first-child) {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  max-width: none;
  justify-self: stretch;
}

.infra-detail__figure {
  margin: 0;
  border-radius: 40px;
  overflow: hidden;
  background: var(--impact-project-card);
  line-height: 0;
}

.infra-detail__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.infra-detail__figure:first-child img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 700px) {
  .infra-detail__media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .infra-detail__figure:first-child {
    grid-column: 1 / -1;
  }

  /* Second image: one column width within the 2-col grid row, centred */
  .infra-detail__figure:not(:first-child) {
    grid-column: 1 / -1;
    width: 50%;
    justify-self: center;
  }
}

.infra-detail__copy {
  max-width: 52rem;
  margin-inline: auto;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.infra-detail__copy p {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--color-copy);
}

.infra-detail__copy p:last-child {
  margin-bottom: 0;
}

.infra-detail__lede {
  margin: 0 0 1.15rem;
  font-size: 20px;
  line-height: 1.45;
  color: var(--color-copy);
}

.infra-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
}

/* - Our Gallery - */

.section-gallery {
  padding-block: clamp(2rem, 5vw, 4rem);
}

.gallery-header {
  text-align: center;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.gallery-heading {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 50px;
  letter-spacing: -0.03em;
  color: var(--color-copy);
}

.gallery-intro {
  margin: 0 auto;
  max-width: 46rem;
  font-size: 20px;
  line-height: 24px;
  color: var(--color-copy);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: start;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-card__figure {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
}

.gallery-card__img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-card__label {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(24, 51, 29, 0.35);
  background: #f7f7dc;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 24px;
  color: var(--color-copy);
}

/* - Contact page - */

.contact-main {
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.section-contact {
  padding-block: clamp(1.25rem, 3vw, 2rem) clamp(2rem, 5vw, 4rem);
}

/* - Legal pages (privacy, terms) - */
.legal-doc__content h2 {
  margin-top: 1.5rem;
  margin-bottom: 0.55rem;
}

.legal-doc__content h3 {
  margin-top: 1.15rem;
  margin-bottom: 0.45rem;
}

.legal-doc__content p {
  margin-top: 0.55rem;
  margin-bottom: 0.55rem;
}

.legal-doc__content ul {
  margin-top: 0.35rem;
  margin-bottom: 0.9rem;
  padding-left: 0;
  list-style: none;
}

.legal-doc__content li {
  position: relative;
  display: block;
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
  padding-left: 1.05rem;
  line-height: 1.55;
}

.legal-doc__content li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  top: 0.65em;
  line-height: 1;
  font-weight: 600;
}

.contact-breadcrumb {
  margin: 0 0 1.5rem;
  font-size: 15px;
  line-height: 22px;
  color: var(--color-copy);
}

.contact-breadcrumb a {
  color: var(--color-copy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-breadcrumb span {
  margin-inline: 0.35rem;
}

.contact-header {
  text-align: center;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.contact-kicker {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 24px;
  color: #6d795f;
}

.contact-title {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-green-dark);
}

.contact-intro {
  margin: 0 auto;
  max-width: 42rem;
  font-size: 20px;
  line-height: 24px;
  color: var(--color-copy);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}

.contact-media {
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
}

.contact-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

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

.contact-form__field {
  display: grid;
  gap: 0.35rem;
}

.contact-form__field--full {
  grid-column: 1 / -1;
}

.contact-form label {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 22px;
  color: var(--color-copy);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(24, 51, 29, 0.45);
  border-radius: 0;
  background: transparent;
  color: var(--color-copy);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 22px;
  padding: 0.4rem 0.05rem 0.45rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 90px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #6f786f;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
  border-bottom-color: var(--color-green-dark);
}

.contact-form__agree {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.contact-form__agree input {
  width: 16px;
  height: 16px;
  margin-top: 0.2rem;
  accent-color: var(--color-green-dark);
}

.contact-form__agree span {
  font-size: 15px;
  line-height: 22px;
  color: var(--color-copy);
}

.contact-form__submit {
  justify-self: start;
  margin-top: 0.2rem;
  font-size: 18px;
  font-weight: 600;
}

/* - Footer - */

.site-footer {
  padding-block: clamp(2rem, 5vw, 3.5rem) 1.5rem;
}

.footer-panel {
  background: #f2eee2;
  border-radius: 28px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.05fr 0.8fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: start;
}

.footer-brand__logo {
  display: block;
  margin: 0 0 0.85rem;
  height: clamp(36px, 8vw, 52px);
  width: auto;
  max-width: min(100%, 280px);
}

.footer-brand__address,
.footer-contact__details {
  margin: 0;
  font-style: normal;
  font-size: 18px;
  line-height: 24px;
  color: var(--color-copy);
}

.footer-heading {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  color: var(--color-copy);
}

.footer-links,
.footer-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-links a,
.footer-social a,
.footer-contact__line a,
.footer-bottom a {
  color: var(--color-copy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-links a,
.footer-social a,
.footer-contact__line {
  font-size: 18px;
  line-height: 24px;
}

.footer-contact__line {
  margin: 0.5rem 0 0;
  color: var(--color-copy);
}

.footer-bottom {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  color: var(--color-copy);
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.footer-bottom__links a {
  font-size: 16px;
  line-height: 22px;
}

/* - Our Commodities - */

.section-commodities {
  padding-block: clamp(2rem, 5vw, 4rem);
}

.commodities-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.commodities-heading {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 50px;
  letter-spacing: -0.03em;
  color: var(--color-copy);
}

.commodities-lead {
  margin: 0 auto;
  max-width: 46rem;
  font-size: 20px;
  line-height: 24px;
  color: var(--commodities-lead);
}

.commodities-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
  justify-items: center;
}

.commodities-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: max-content;
  max-width: 100%;
  gap: 1rem;
  text-align: center;
}

.commodities-item__figure {
  margin: 0;
}

.commodities-item__img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  margin-inline: auto;
  border-radius: 20px;
}

.commodities-item__label {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--commodity-label-bg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--color-copy);
}

.commodities-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.commodities-actions__btn {
  font-size: 18px;
  font-weight: 600;
}

@media (max-width: 900px) {
  h2 {
    font-size: 36px !important;
  }

  .legal-doc__content h2 {
    font-size: 30px !important;
    line-height: 1.18;
    letter-spacing: -0.03em;
    font-family: var(--font-display);
    font-weight: 700;
  }

  .legal-doc__content h3 {
    line-height: 1.22;
    font-family: var(--font-display);
    font-weight: 700;
  }

  .page-home main h2 {
    font-size: 34px !important;
    line-height: 1.2 !important;
  }

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

  .contact-media {
    max-width: 620px;
    width: 100%;
    margin-inline: auto;
  }

  .contact-media img {
    min-height: 360px;
  }

  .impact-feature {
    grid-template-columns: 1fr;
  }

  .impact-feature__figure {
    order: -1;
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }

  .impact-feature__img {
    min-height: 220px;
    max-height: 380px;
  }

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

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

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

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

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

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

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

  .approach-panel {
    padding-inline: clamp(1.25rem, 3.75vw, 2.75rem);
  }

  .approach-card {
    padding: clamp(1.5rem, 3.5vw, 2.25rem) clamp(1.25rem, 3.5vw, 1.75rem);
  }

  .approach-card__badge-text {
    font-size: 34px;
  }

  .approach-panel-bg {
    width: min(65vw, 380px);
    top: -5%;
    right: calc(-1 * var(--shell-page-gutter));
    left: auto;
  }

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

  .gap__visual {
    order: -1;
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }

  .navbar {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding-block: 0.7rem;
    padding-inline: 1rem;
    border-radius: var(--radius-pill);
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 2;
    justify-self: end;
  }

  .nav-overlay {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100dvh;
    gap: 1rem;
    position: fixed;
    inset: 0;
    z-index: 90;
    padding: 1rem;
    background: #f2eee6;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition:
      opacity 0.32s ease,
      transform 0.32s ease,
      visibility 0s linear 0.32s;
  }

  .navbar.is-open .nav-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition:
      opacity 0.32s ease,
      transform 0.32s ease,
      visibility 0s;
  }

  @media (prefers-reduced-motion: reduce) {
    .nav-overlay {
      transform: none;
      transition: opacity 0.15s ease, visibility 0s linear 0.15s;
    }

    .navbar.is-open .nav-overlay {
      transform: none;
      transition: opacity 0.15s ease, visibility 0s;
    }
  }

  .nav-overlay__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(24, 51, 29, 0.14);
  }

  .nav-overlay__brand {
    display: inline-flex;
    align-items: center;
    line-height: 0;
  }

  .nav-overlay__brand-img {
    display: block;
    height: clamp(44px, 12vw, 56px);
    width: auto;
    max-width: min(100%, 300px);
  }

  .nav-overlay__close {
    width: 2.7rem;
    height: 2.7rem;
    border: 1px solid rgba(6, 78, 33, 0.55);
    border-radius: 999px;
    background: transparent;
    color: var(--color-green-dark);
    font-family: var(--font-display);
    font-size: 34px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .nav-links {
    justify-content: flex-start;
    width: 100%;
    gap: 1.45rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: 0.45rem 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    grid-column: auto;
  }

  .btn--nav {
    width: 100%;
    display: inline-flex;
    justify-self: stretch;
    justify-content: center;
    text-align: center;
    margin-top: 0;
    padding-inline: 1rem;
    min-height: 3.4rem;
    font-size: 26px;
    line-height: 1;
    font-weight: 700;
    border-radius: var(--radius-pill);
    grid-column: auto;
  }

  .nav-overlay__footer {
    display: block;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(24, 51, 29, 0.14);
  }

  .logo {
    grid-column: 1;
    grid-row: 1;
  }

  .logo__img {
    height: clamp(40px, 10vw, 50px);
  }

  .footer-brand__logo {
    height: clamp(42px, 11vw, 58px);
    max-width: min(100%, 300px);
  }

  .nav-links a {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-transform: none;
    padding-block: 0;
  }

  .nav-links a.is-active::after,
  .nav-links a:hover::after,
  .nav-links a:focus-visible::after {
    width: 0;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    padding-right: var(--shell-page-gutter);
  }

  .hero__title {
    font-size: 40px;
    line-height: 1.08;
  }

  .contact-title {
    font-size: 40px;
    line-height: 1.08;
  }

  .hero__lead {
    font-size: 20px;
    line-height: 1.35;
  }

  .hero__visual {
    order: -1;
    justify-content: center;
  }
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 40px;
    line-height: 1.1;
  }

  .contact-title {
    font-size: 40px;
    line-height: 1.1;
  }

  .hero__lead {
    font-size: 18px;
    line-height: 1.4;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

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

  .footer-brand__logo {
    max-width: min(100%, 280px);
    height: clamp(40px, 14vw, 52px);
  }

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

  .impact-metric__value {
    font-size: 34px;
  }

  .commodities-grid {
    grid-template-columns: 1fr;
    row-gap: 2.25rem;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-overlay__brand-img {
    height: clamp(40px, 13vw, 48px);
    max-width: min(100%, 260px);
  }

  .logo__img {
    height: clamp(38px, 11vw, 46px);
  }

  .nav-links a {
    font-size: 20px;
  }

  .btn--nav {
    font-size: 18px;
  }
}

@media (max-width: 390px) {
  .btn,
  .btn--nav,
  .hero__actions .btn,
  .gap__cta,
  .serve-card__cta,
  .infrastructure-card__cta,
  .commodities-actions__btn,
  .contact-form__submit {
    font-size: 16px;
  }

  h2 {
    font-size: 32px !important;
    line-height: 1.05 !important;
  }

  .page-home main h2 {
    font-size: 34px !important;
    line-height: 1.2 !important;
  }

  .hero__title {
    font-size: 34px;
    line-height: 1.12;
  }

  .contact-title {
    font-size: 34px;
    line-height: 1.12;
  }

  .hero__lead {
    font-size: 17px;
    line-height: 1.45;
  }

  .gap__body p,
  .gap__list,
  .approach-intro,
  .approach-card p,
  .serve-card__text,
  .impact-intro,
  .impact-feature__text,
  .infrastructure-intro,
  .infrastructure-card__text,
  .infra-detail__copy p,
  .infra-detail__lede,
  .gallery-intro,
  .contact-intro,
  .commodities-lead {
    font-size: 18px;
    line-height: 22px;
  }
}
