:root {
  --ink: #19312d;
  --muted: #5f6b66;
  --paper: #fffaf3;
  --paper-strong: #f2eadc;
  --green: #17634f;
  --green-dark: #0d4035;
  --terracotta: #bf6243;
  --blue: #2e657c;
  --line: rgba(25, 49, 45, 0.16);
  --shadow: 0 24px 70px rgba(25, 49, 45, 0.16);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 250, 243, 0.94);
  box-shadow: 0 10px 35px rgba(25, 49, 45, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.88;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

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

.hero-image {
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13, 64, 53, 0.9), rgba(13, 64, 53, 0.52) 42%, rgba(13, 64, 53, 0.12)),
    linear-gradient(0deg, rgba(25, 49, 45, 0.22), rgba(25, 49, 45, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding-top: 88px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--terracotta);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact .eyebrow {
  color: #ffd6ad;
}

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

h1,
h2 {
  font-family: "Source Serif 4", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(58px, 11vw, 132px);
  line-height: 0.86;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

p {
  line-height: 1.7;
}

.hero-copy {
  max-width: 580px;
  margin-bottom: 28px;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.28;
  font-weight: 600;
}

.hero-actions,
.contact-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--terracotta);
  color: #fff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

.button.large {
  min-width: min(100%, 300px);
}

.section-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 116px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.intro p:last-child,
.impact-copy p,
.contact p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

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

.service-card,
.team-card {
  min-height: 258px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
  padding: 26px;
  box-shadow: 0 16px 40px rgba(25, 49, 45, 0.06);
}

.service-card p,
.team-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.icon {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--blue);
  font-weight: 800;
}

.method {
  background: var(--green-dark);
  color: #fff;
}

.method-inner {
  padding-top: clamp(70px, 8vw, 104px);
  padding-bottom: clamp(70px, 8vw, 104px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  min-height: 260px;
  border: 1px solid rgba(255, 250, 243, 0.22);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 42px;
  color: #ffd6ad;
  font-weight: 800;
}

.steps span {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 800;
}

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

.impact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.impact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.impact-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  background: #fff;
  color: var(--green-dark);
  font-weight: 800;
}

.team {
  border-top: 1px solid var(--line);
}

.team-card {
  min-height: 230px;
}

.avatar {
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
}

.team-card:nth-child(2) .avatar {
  background: var(--blue);
}

.team-card:nth-child(3) .avatar {
  background: var(--terracotta);
}

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

.contact-inner {
  justify-content: space-between;
  padding-top: clamp(70px, 8vw, 96px);
  padding-bottom: clamp(70px, 8vw, 96px);
}

.contact-inner > div {
  max-width: 720px;
}

.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(18px, 4vw, 56px);
  background: #102a25;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.site-footer p:first-child {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 74px 18px auto 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .intro,
  .impact,
  .service-grid,
  .team-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .service-card,
  .team-card,
  .steps li {
    min-height: auto;
  }

  .icon,
  .steps li::before {
    margin-bottom: 22px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(13, 64, 53, 0.92), rgba(13, 64, 53, 0.64)),
      linear-gradient(0deg, rgba(25, 49, 45, 0.28), rgba(25, 49, 45, 0.08));
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-content {
    margin-left: 18px;
    padding-top: 72px;
  }

  h1 {
    font-size: clamp(54px, 18vw, 84px);
  }

  h2 {
    font-size: clamp(32px, 11vw, 44px);
  }

  .hero-actions,
  .contact-inner {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}
