:root {
  color: #1f2824;
  background: #f5f4ee;
  font-family: Arial, "Helvetica Neue", sans-serif;
  line-height: 1.55;
  --ink: #1f2824;
  --muted: #606b63;
  --line: #d9ddd4;
  --green: #154b38;
  --green-soft: #dfece4;
  --gold: #bf8b30;
  --blue: #326b87;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
}

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

a:hover {
  color: var(--green);
}

p,
h1,
h2,
h3 {
  margin: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  font-size: 3rem;
}

h2 {
  font-size: 1.7rem;
}

h3 {
  font-size: 1.05rem;
}

p {
  color: var(--muted);
}

.site-header,
.hero,
.section,
.site-footer {
  padding-left: 22px;
  padding-right: 22px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  border-bottom: 1px solid rgba(31, 40, 36, 0.08);
  background: rgba(245, 244, 238, 0.94);
  backdrop-filter: blur(10px);
}

.brand,
.site-nav,
.actions,
.project-card__links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  min-width: 0;
  font-weight: 800;
}

.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 0.85rem;
}

.site-nav {
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 20, 16, 0.82), rgba(8, 20, 16, 0.42), rgba(8, 20, 16, 0.12)),
    url("/assets/wesaf-maputo-work.jpg") center / cover no-repeat;
}

.hero__inner {
  width: min(1160px, 100%);
  display: grid;
  gap: 22px;
  margin: 0 auto;
  padding-top: 96px;
  padding-bottom: 80px;
  color: #fff;
}

.hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.06rem;
}

.hero .eyebrow {
  color: #f2c36d;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin-top: 16px;
}

.metric {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 14px;
}

.metric strong {
  display: block;
  color: #fff;
  font-size: 1.35rem;
}

.metric span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.eyebrow {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  padding: 10px 16px;
}

.button:hover {
  background: #0f382a;
  color: #fff;
}

.button--light {
  border-color: rgba(255, 255, 255, 0.86);
  background: #fff;
  color: var(--green);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
}

.button--secondary {
  background: #fff;
  color: var(--green);
}

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding-top: 58px;
  padding-bottom: 58px;
}

.section__head {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.grid--projects {
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.9fr));
}

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

.project-card,
.pillar,
.contact-band {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.project-card {
  display: grid;
  gap: 14px;
  min-height: 250px;
  padding: 20px;
}

.project-card--primary {
  background: var(--green-soft);
}

.project-card__meta {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-card__links {
  align-self: end;
  flex-wrap: wrap;
}

.text-link {
  color: var(--green);
  font-weight: 800;
}

.pillar {
  padding: 18px;
}

.pillar p {
  margin-top: 10px;
  font-size: 0.93rem;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  background: #f7f3e8;
  padding: 22px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  padding-bottom: 28px;
}

.site-footer p {
  max-width: 700px;
  margin-top: 4px;
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  h1 {
    font-size: 2.35rem;
  }

  .hero {
    min-height: 600px;
  }

  .grid--projects,
  .grid--pillars,
  .contact-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 660px;
  }

  .hero__inner {
    padding-top: 80px;
    padding-bottom: 52px;
  }

  .actions,
  .hero__metrics,
  .site-footer {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
