:root {
  --ink: #14201f;
  --ink-soft: #38504c;
  --paper: #f7f5ec;
  --paper-2: #ece8db;
  --sun: #f2a51f;
  --sun-dark: #bd6619;
  --teal: #0f7770;
  --teal-dark: #173f3d;
  --line: rgba(20, 32, 31, 0.16);
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(20, 32, 31, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  display: grid;
  width: min(1180px, calc(100% - 32px));
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(247, 245, 236, 0.78);
  box-shadow: 0 14px 44px rgba(20, 32, 31, 0.1);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 245, 236, 0.94);
  box-shadow: 0 18px 50px rgba(20, 32, 31, 0.16);
}

.brand,
.site-nav,
.hero-actions,
.site-footer,
.metric-block {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 55% 45%, #ffe7a3 0 18%, transparent 19%),
    conic-gradient(from 20deg, var(--sun), #f7c95a, var(--teal), var(--sun));
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.42);
}

.site-nav {
  justify-content: center;
  gap: 8px;
}

.site-nav a,
.nav-cta {
  min-height: 40px;
  padding: 11px 15px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a {
  color: var(--ink-soft);
}

.site-nav a:hover {
  background: rgba(15, 119, 112, 0.1);
  color: var(--ink);
}

.nav-cta {
  color: var(--white);
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  isolation: isolate;
  padding: 150px max(24px, calc((100vw - 1180px) / 2)) 86px;
  display: grid;
  align-items: end;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -3;
  object-fit: cover;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(247, 245, 236, 0.94) 0%, rgba(247, 245, 236, 0.72) 42%, rgba(247, 245, 236, 0.1) 72%),
    linear-gradient(0deg, rgba(20, 32, 31, 0.28), rgba(20, 32, 31, 0.04) 45%);
}

.hero-content {
  width: min(680px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(4.5rem, 14vw, 10.5rem);
  line-height: 0.82;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 4.45rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.2rem;
  line-height: 1.15;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.45;
  font-weight: 600;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  color: var(--ink);
  background: var(--sun);
  box-shadow: 0 12px 30px rgba(189, 102, 25, 0.26);
}

.button-primary:hover {
  background: #f7bb43;
}

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

.hero-panel {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 58px;
  display: grid;
  gap: 8px;
  width: min(310px, calc(100% - 48px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  color: var(--white);
  background: rgba(20, 32, 31, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-panel span,
.hero-panel strong {
  padding: 12px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
}

.hero-panel strong {
  color: #ffe5a3;
}

section {
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
}

.section-band {
  padding-top: 96px;
  padding-bottom: 96px;
}

.intro {
  background: var(--paper);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: 70px;
  align-items: start;
}

.split p,
.method-copy p,
.africa-copy p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.72;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.pillar {
  min-height: 315px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf6;
  box-shadow: 0 12px 26px rgba(20, 32, 31, 0.06);
}

.pillar-index {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 60px;
  border-radius: 50%;
  color: var(--teal-dark);
  background: rgba(15, 119, 112, 0.12);
  font-size: 0.86rem;
  font-weight: 800;
}

.pillar p,
.step p,
.metric span,
.form-note {
  color: var(--ink-soft);
  line-height: 1.58;
}

.method {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: 76px;
  padding-top: 110px;
  padding-bottom: 110px;
  background: #172a28;
  color: var(--white);
}

.method .section-kicker,
.method-copy p,
.method h2 {
  color: var(--white);
}

.method-copy p {
  opacity: 0.78;
}

.timeline {
  display: grid;
  gap: 14px;
  counter-reset: steps;
}

.step {
  position: relative;
  min-height: 116px;
  padding: 24px 24px 24px 92px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.step::before {
  counter-increment: steps;
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 24px;
  top: 23px;
  color: var(--sun);
  font-weight: 800;
}

.step span {
  display: block;
  margin-bottom: 8px;
  color: #ffe0a0;
  font-weight: 800;
}

.step p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.africa {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(15, 119, 112, 0.11), transparent 45%),
    var(--paper-2);
}

.metric-block {
  gap: 14px;
  flex-wrap: wrap;
}

.metric {
  min-width: 160px;
  flex: 1;
  padding: 26px 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(20, 32, 31, 0.1);
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  font-size: 2.05rem;
  line-height: 1;
}

.metric span {
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 0.82fr);
  gap: 70px;
  padding-top: 100px;
  padding-bottom: 100px;
  background: var(--paper);
}

.contact-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(20, 32, 31, 0.18);
  border-radius: 8px;
  color: var(--ink);
  background: #fffdf6;
  font: inherit;
}

input:focus,
select:focus {
  outline: 3px solid rgba(242, 165, 31, 0.36);
  border-color: var(--sun-dark);
}

.contact-form .button {
  width: 100%;
  margin-top: 6px;
}

.form-note {
  min-height: 24px;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 30px max(24px, calc((100vw - 1180px) / 2));
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.site-footer span:first-child {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    top: 12px;
    grid-template-columns: 1fr auto;
    border-radius: 20px;
  }

  .site-nav {
    display: none;
  }

  .nav-cta {
    padding-inline: 13px;
  }

  .hero {
    min-height: 900px;
    padding-top: 128px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(247, 245, 236, 0.94) 0%, rgba(247, 245, 236, 0.78) 50%, rgba(20, 32, 31, 0.5) 100%);
  }

  .hero-content {
    align-self: start;
  }

  .hero-panel {
    left: 24px;
    right: 24px;
    bottom: 34px;
    width: auto;
  }

  .split,
  .method,
  .africa,
  .contact {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .pillar {
    min-height: auto;
  }

  .pillar-index {
    margin-bottom: 34px;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: calc(100% - 20px);
    padding: 8px;
    gap: 10px;
  }

  .brand span:last-child {
    max-width: 92px;
    line-height: 1.05;
  }

  .nav-cta {
    min-height: 38px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 820px;
    padding-inline: 18px;
  }

  h1 {
    font-size: clamp(4rem, 22vw, 6.8rem);
  }

  .button {
    width: 100%;
  }

  .section-band,
  .method,
  .contact {
    padding-top: 74px;
    padding-bottom: 74px;
    padding-inline: 18px;
  }

  .step {
    padding-left: 24px;
    padding-top: 60px;
  }

  .metric {
    min-width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 18px;
  }
}

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