:root {
  --forest: #123b25;
  --forest-2: #0b2c1b;
  --leaf: #87b53e;
  --leaf-bright: #9dc94f;
  --ink: #17251c;
  --muted: #647067;
  --cream: #f5f4ec;
  --paper: #fffef9;
  --line: #dce2d9;
  --sand: #d8bf92;
  --max: 1180px;
  --shadow: 0 20px 60px rgba(18, 59, 37, 0.12);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  background: white;
  color: var(--forest);
}
.skip-link:focus {
  top: 16px;
}

.topbar {
  background: var(--forest-2);
  color: #dce8df;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}
.topbar .container {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.topbar strong {
  color: var(--leaf-bright);
}
.topbar a:hover {
  color: white;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 254, 249, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand img {
  width: 242px;
  height: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.site-nav a {
  position: relative;
  padding-block: 30px;
}
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 20px;
  height: 3px;
  background: var(--leaf);
  transition: right 0.25s ease;
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  right: 0;
}
.nav-cta {
  color: white;
  background: var(--forest);
  padding: 12px 18px !important;
  border-radius: 2px;
}
.nav-cta:hover {
  background: var(--leaf);
  color: var(--forest-2);
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  color: var(--forest);
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--leaf);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  margin: 0;
  color: var(--forest);
  line-height: 1.05;
}
h1 {
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
h2 {
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 4.1rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.lead {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  color: #445249;
  max-width: 690px;
}
.section {
  padding: 104px 0;
}
.section-sm {
  padding: 72px 0;
}
.section-head {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}
.section-head p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  background: var(--leaf);
  color: var(--forest-2);
  border: 1px solid var(--leaf);
  border-radius: 2px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover {
  transform: translateY(-2px);
  background: var(--leaf-bright);
}
.button-outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}
.button-outline:hover {
  background: white;
  color: var(--forest);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.text-link::after {
  content: "\2192";
  color: var(--leaf);
  font-size: 1.2rem;
  transition: transform 0.2s;
}
.text-link:hover::after {
  transform: translateX(4px);
}

.hero {
  min-height: 700px;
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--forest-2);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  left: -330px;
  top: -350px;
  z-index: -1;
  border: 110px solid rgba(135, 181, 62, 0.07);
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34%;
  height: 10px;
  background: var(--leaf);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  padding-block: 54px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: center;
  padding-block: 72px;
}
.hero-media {
  position: relative;
  min-height: 550px;
  background: url("assets/images/construction-hero-v2.jpg") 63% center/cover no-repeat;
  clip-path: polygon(7% 0, 100% 0, 100% 92%, 93% 100%, 0 100%, 0 8%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  clip-path: inherit;
  pointer-events: none;
}
.hero-capability {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: grid;
  gap: 3px;
  min-width: 190px;
  padding: 18px 21px;
  color: var(--forest-2);
  background: var(--paper);
  border-left: 5px solid var(--leaf);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}
.hero-capability span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-capability strong {
  font-size: 1.35rem;
  letter-spacing: 0.03em;
}
.hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: #dfe8dc;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero .kicker::before {
  content: "";
  width: 52px;
  height: 2px;
  background: var(--leaf);
}
.hero h1 {
  color: white;
}
.hero h1 span {
  color: var(--leaf-bright);
}
.hero p {
  max-width: 610px;
  font-size: 1.12rem;
  color: #e4e9e5;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.trust-strip {
  position: relative;
  background: var(--forest);
  color: white;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}
.trust-item:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}
.trust-item strong {
  display: block;
  color: var(--leaf-bright);
  font:
    2rem/1 Impact,
    sans-serif;
  letter-spacing: 0.04em;
}
.trust-item span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #d1ddd4;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  min-height: 390px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--forest);
  color: white;
  box-shadow: var(--shadow);
}
.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 20%,
    rgba(7, 35, 20, 0.92) 90%
  );
}
.service-card:hover img {
  transform: scale(1.04);
}
.service-card-content {
  position: relative;
  z-index: 1;
  padding: 30px;
}
.service-card .number {
  color: var(--leaf-bright);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}
.service-card h3 {
  margin: 8px 0 10px;
  color: white;
  font-size: 1.5rem;
}
.service-card p {
  margin: 0;
  color: #dbe5dd;
  font-size: 0.93rem;
}
.service-card--plain {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  color: var(--ink);
  border-top: 8px solid var(--leaf);
  align-items: flex-start;
}
.service-card--plain::after {
  display: none;
}
.service-card--plain .service-card-content {
  padding-top: 54px;
}
.service-card--plain h3 {
  color: var(--forest);
}
.service-card--plain p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}
.split-image {
  min-height: 520px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.split--home .split-image {
  background-image: url("assets/images/ecofront-site-team.jpg");
}
.split--about .split-image {
  background-image: url("assets/images/about-safety-inspection.jpg");
}
.split-copy {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(48px, 7vw, 110px);
  background: var(--forest-2);
  color: white;
}
.split-copy > * {
  position: relative;
  z-index: 1;
}
.split-copy h2 {
  color: white;
}
.split-copy .lead {
  color: #dce6df;
}
.check-list {
  list-style: none;
  margin: 30px 0;
  padding: 0;
  display: grid;
  gap: 13px;
}
.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  color: #e5ece7;
}
.check-list li::before {
  content: "\2713";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: var(--forest);
  background: var(--leaf);
  font-size: 0.72rem;
  font-weight: 900;
  border-radius: 50%;
}

.sector-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sector-row span {
  padding: 12px 16px;
  color: var(--forest);
  border: 1px solid #cbd4cc;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--leaf);
  color: var(--forest-2);
}
.cta-band::after {
  content: "E";
  position: absolute;
  right: -20px;
  bottom: -140px;
  color: rgba(18, 59, 37, 0.1);
  font:
    520px/1 Impact,
    sans-serif;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 40px;
}
.cta-inner h2 {
  max-width: 760px;
}
.cta-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}
.cta-band .button {
  background: var(--forest);
  color: white;
  border-color: var(--forest);
}
.cta-band .button-outline {
  color: var(--forest);
  background: transparent;
  border-color: var(--forest);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 125px 0 96px;
  color: white;
  background: var(--forest-2);
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -240px;
  width: 600px;
  height: 600px;
  border: 90px solid rgba(135, 181, 62, 0.12);
  border-radius: 50%;
}
.page-hero h1 {
  color: white;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
}
.page-hero .lead {
  color: #d9e3dc;
}
.page-hero .container {
  position: relative;
  z-index: 2;
}

.crumb {
  margin-bottom: 22px;
  color: var(--leaf-bright);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.crumb a {
  color: white;
}

.services-intro {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
}
.services-intro .sticky {
  position: sticky;
  top: 130px;
}
.service-block {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.service-block:first-child {
  padding-top: 0;
  border: 0;
}
.service-block h3 {
  margin-bottom: 15px;
  font-size: 1.35rem;
}
.service-block p {
  color: var(--muted);
}
.founder-sticky {
  position: sticky;
  top: 130px;
}
.founder-sticky h2 {
  margin-bottom: 30px;
}
.founder-portrait {
  margin: 0;
  width: min(100%, 320px);
  background: var(--forest-2);
  box-shadow: var(--shadow);
}
.founder-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}
.founder-portrait figcaption {
  display: grid;
  gap: 2px;
  padding: 16px 18px;
  color: white;
}
.founder-portrait figcaption strong {
  font-size: 0.82rem;
  line-height: 1.25;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.founder-portrait figcaption span {
  color: var(--leaf-bright);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.founder-copy .eyebrow {
  margin-bottom: 8px;
}
.founder-copy h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
}
.detail-list {
  columns: 2;
  column-gap: 30px;
  padding-left: 18px;
}
.detail-list li {
  break-inside: avoid;
  margin-bottom: 8px;
}
.feature-image {
  aspect-ratio: 16/8.5;
  width: 100%;
  object-fit: cover;
}
.image-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.value {
  padding: 30px 24px;
  background: var(--paper);
}
.value span {
  display: block;
  margin-bottom: 50px;
  color: var(--leaf);
  font:
    2rem/1 Impact,
    sans-serif;
}
.value h3 {
  margin-bottom: 10px;
}
.value p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.about-story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}
.about-story img {
  min-height: 520px;
  width: 100%;
  object-fit: cover;
}
.quote {
  margin: 30px 0;
  padding: 24px 0 24px 24px;
  border-left: 4px solid var(--leaf);
  color: var(--forest);
  font-size: 1.3rem;
  font-weight: 700;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.stat {
  padding-top: 18px;
  border-top: 3px solid var(--leaf);
}
.stat strong {
  display: block;
  color: var(--forest);
  font:
    2.1rem/1 Impact,
    sans-serif;
}
.stat small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}
.contact-list {
  display: grid;
  gap: 0;
  margin-top: 36px;
}
.contact-item {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.contact-item small {
  display: block;
  color: var(--leaf);
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.contact-item a,
.contact-item address {
  display: block;
  margin-top: 5px;
  color: var(--forest);
  font-size: 1.12rem;
  font-style: normal;
  font-weight: 700;
}
.form-card {
  padding: clamp(28px, 5vw, 54px);
  background: var(--cream);
  border-top: 8px solid var(--leaf);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  display: grid;
  gap: 8px;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  color: var(--forest);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #cbd4cc;
  border-radius: 0;
  background: white;
  padding: 14px;
  color: var(--ink);
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 3px solid rgba(135, 181, 62, 0.25);
  border-color: var(--leaf);
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}
.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.map-card {
  display: flex;
  align-items: flex-end;
  min-height: 330px;
  padding: 34px;
  color: white;
  background:
    linear-gradient(130deg, rgba(8, 35, 20, 0.88), rgba(18, 59, 37, 0.68)),
    url("assets/images/contact-northern-cape-corridor.jpg") center/cover;
}
.map-card h3 {
  color: white;
  font-size: 1.4rem;
}

.site-footer {
  position: relative;
  background: #082316;
  color: #bac9be;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 0.8fr;
  gap: 70px;
  padding: 72px 0 50px;
}
.footer-logo {
  width: 250px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.footer-copy {
  max-width: 420px;
  font-size: 0.9rem;
}
.site-footer h3 {
  margin-bottom: 18px;
  color: var(--leaf-bright);
  font-size: 0.75rem;
}
.footer-links {
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: white;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
}

@media (max-width: 900px) {
  .topbar .topbar-contact {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    position: absolute;
    inset: 84px 0 auto;
    padding: 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open {
    display: grid;
    gap: 0;
  }
  .site-nav a {
    padding: 15px 20px;
  }
  .site-nav a::after {
    display: none;
  }
  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }
  .hero {
    min-height: auto;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-block: 68px 82px;
  }
  .hero-content {
    max-width: 650px;
    padding: 0;
  }
  .hero-media {
    min-height: 470px;
  }
  .section {
    padding: 78px 0;
  }
  .section-head,
  .services-intro,
  .about-story,
  .contact-layout,
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-card:last-child {
    grid-column: 1 / -1;
    min-height: 280px;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .split-image {
    min-height: 430px;
  }
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
  .values-grid .value:last-child {
    grid-column: 1 / -1;
  }
  .services-intro .sticky,
  .founder-sticky {
    position: static;
  }
  .cta-actions {
    justify-content: flex-start;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }
  .brand img {
    width: 202px;
  }
  .nav-wrap {
    min-height: 72px;
  }
  .site-nav {
    inset-block-start: 72px;
  }
  .hero {
    min-height: auto;
  }
  .hero::before {
    width: 440px;
    height: 440px;
    left: -250px;
    top: -220px;
    border-width: 70px;
  }
  .hero-grid {
    gap: 30px;
    padding-block: 54px 70px;
  }
  .hero-media {
    min-height: 340px;
    clip-path: polygon(6% 0, 100% 0, 100% 92%, 94% 100%, 0 100%, 0 8%);
  }
  .hero-media::before {
    inset: 12px;
  }
  .hero-capability {
    left: 14px;
    bottom: 14px;
    min-width: 168px;
    padding: 14px 16px;
  }
  h1 {
    font-size: clamp(3.05rem, 14vw, 4.4rem);
  }
  .page-hero {
    padding: 90px 0 72px;
  }
  .section-head {
    margin-bottom: 32px;
  }
  .service-grid,
  .trust-grid,
  .values-grid,
  .stats,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .service-card,
  .service-card:last-child {
    grid-column: auto;
    min-height: 340px;
  }
  .trust-item,
  .trust-item:last-child {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }
  .split-image {
    min-height: 350px;
  }
  .split-copy {
    padding: 54px 26px;
  }
  .detail-list {
    columns: 1;
  }
  .founder-portrait {
    max-width: 360px;
  }
  .values-grid .value:last-child,
  .footer-grid > :first-child {
    grid-column: auto;
  }
  .value span {
    margin-bottom: 24px;
  }
  .about-story img {
    min-height: 360px;
  }
  .contact-layout {
    gap: 46px;
  }
  .field.full {
    grid-column: auto;
  }
  .form-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
