:root {
  color-scheme: light;
  --bg: #f5f7f4;
  --ink: #17221a;
  --muted: #5d6b61;
  --line: #d9e2d8;
  --surface: #ffffff;
  --accent: #0f6b4f;
  --accent-strong: #094431;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.hero {
  max-width: 760px;
  margin-bottom: 44px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: 22px;
  line-height: 1.45;
  color: var(--muted);
}

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  background: var(--surface);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.service:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 107, 79, 0.4);
  box-shadow: 0 18px 42px rgba(23, 34, 26, 0.08);
}

.service.featured {
  position: relative;
  border-color: rgba(15, 107, 79, 0.22);
}

.service-media {
  position: relative;
  display: block;
}

.service-image {
  width: 100%;
  aspect-ratio: 16 / 11;
  display: block;
  object-fit: cover;
  background: var(--line);
}

.service-pill {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  max-width: calc(100% - 36px);
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(9, 68, 49, 0.9);
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
}

.service-content {
  display: flex;
  flex: 1;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.label {
  font-size: 24px;
  font-weight: 750;
}

.small {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
}

.description {
  max-width: 420px;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

.action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--accent-strong);
  font-size: 15px;
  font-weight: 800;
}

.action::after {
  content: ">";
  font-size: 18px;
  line-height: 1;
}

.org-link {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.org-link a {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-footer {
  color: #fff;
  background: #050806;
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0;
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer-inner p {
  margin: 0 0 10px;
}

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

.footer-inner a {
  color: #fff;
  font-weight: 700;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, 1120px);
    padding: 44px 0;
  }

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

  .lead {
    font-size: 19px;
  }

  .service {
    min-height: 440px;
  }

  .footer-inner {
    width: min(100% - 28px, 1120px);
  }
}
