/* Base reset and typography */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222222;
  background-color: #ffffff;
  line-height: 1.6;
}

/* Layout helpers */
.site-header,
.hero,
section,
.site-footer {
  padding-left: 5vw;
  padding-right: 5vw;
}

section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Links and buttons */
a {
  color: #008a3d;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: #008a3d;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #00692f;
}

.btn-secondary {
  background-color: #ffffff;
  color: #008a3d;
  border-color: #008a3d;
}

.btn-secondary:hover {
  background-color: #f4f4f4;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: #008a3d;
}

.main-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #222222;
}

.main-nav a:hover {
  color: #008a3d;
}

/* Active nav item highlight */
.main-nav a.is-active {
  color: #008a3d;
  border-bottom: 2px solid #008a3d;
  padding-bottom: 0.1rem;
}

.header-utilities {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
}

.header-utilities a {
  color: #666666;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
  gap: 3rem;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 3.5rem;
  background: linear-gradient(135deg, #f6f9f7 0%, #ffffff 60%);
  border-bottom: 1px solid #e5e5e5;
}

.hero-content h1 {
  font-size: 2.25rem;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.05rem;
  color: #444444;
  margin-bottom: 1.5rem;
  max-width: 34rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-image {
  min-height: 260px;
  border-radius: 12px;
  background: #dce9e2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #366854;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Intro */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 0.7fr);
  gap: 2.5rem;
}

.intro h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.intro p + p {
  margin-top: 0.75rem;
}

.intro-meta {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  font-size: 0.85rem;
  color: #777777;
}

.share-icons {
  width: 100%;
  max-width: 10rem;
  min-height: 3rem;
  border-radius: 999px;
  border: 1px dashed #cdd4cf;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Section headings */
section > h2 {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

section > p {
  max-width: 46rem;
  color: #444444;
  margin-bottom: 1.5rem;
}

/* Cards / key outcomes */
.key-outcomes {
  background-color: #f6f7f8;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #dde0e2;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card h3 {
  font-size: 1.1rem;
}

.card-link {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Pull-quote */
.pull-quote {
  background-color: #ffffff;
  border-top: 3px solid #008a3d;
  border-bottom: 1px solid #e5e5e5;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.pull-quote blockquote {
  font-size: 1.25rem;
  font-style: italic;
  color: #1e1e1e;
  max-width: 50rem;
  margin-bottom: 0.75rem;
}

.pull-quote .attribution {
  font-size: 0.9rem;
  color: #666666;
}

/* Insights list */
.insight-list {
  list-style: none;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr);
}

.insight-list li h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

/* Table & lists */
.services-detail h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.services-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.services-table thead {
  background-color: #f0f2f3;
}

.services-table th,
.services-table td {
  padding: 0.75rem 0.9rem;
  border: 1px solid #dde0e2;
  text-align: left;
  vertical-align: top;
}

.services-table th {
  font-weight: 600;
}

.services-detail ul,
.services-detail ol {
  margin-left: 1.2rem;
  margin-bottom: 0.75rem;
}

.services-detail li + li {
  margin-top: 0.25rem;
}

/* Image strip */
.image-strip {
  background-color: #f6f9f7;
}

.image-strip .image-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.image-item {
  min-height: 180px;
  border-radius: 8px;
  background: repeating-linear-gradient(
    -45deg,
    #d0d8d3,
    #d0d8d3 4px,
    #e3ebe6 4px,
    #e3ebe6 8px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #4b5b52;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Contact band */
.contact-cta {
  text-align: center;
  background-color: #ffffff;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.contact-cta h2 {
  margin-bottom: 0.75rem;
}

.contact-cta p {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
}

/* Footer */
.site-footer {
  background-color: #101010;
  color: #d6d6d6;
  padding-top: 2.5rem;
  padding-bottom: 1.5rem;
  font-size: 0.9rem;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-column h4 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.footer-column ul {
  list-style: none;
}

.footer-column li + li {
  margin-top: 0.4rem;
}

.footer-column a {
  color: #d6d6d6;
  font-size: 0.9rem;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-social {
  min-height: 2rem;
  border-radius: 999px;
  border: 1px dashed #555555;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom {
  border-top: 1px solid #2b2b2b;
  padding-top: 0.75rem;
  text-align: left;
  color: #aaaaaa;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .intro {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 0.75rem;
    height: auto;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .main-nav ul {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  section {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }
}
