:root {
  --green-primary: #1f6b60;
  --green-deep: #164f47;
  --mint-soft: #d9eeea;
  --mint-pale: #eef8f6;
  --text-main: #263232;
  --text-muted: #6f7779;
  --border-soft: #d9dfdf;
  --background: #fbfbfa;
  --white: #ffffff;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: var(--background);
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

p {
  font-size: 1rem;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.narrow {
  max-width: 780px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 251, 250, 0.96);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 184px;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--green-primary);
}

.hero {
  padding: 68px 0 58px;
  background: var(--background);
  border-bottom: 1px solid var(--border-soft);
}

.page-hero {
  padding: 76px 0 62px;
  background: var(--background);
  border-bottom: 1px solid var(--border-soft);
}

.hero-inner {
  max-width: 820px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--green-primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--text-main);
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: 3.7rem;
  line-height: 1.02;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.75rem;
  line-height: 1.12;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.22;
}

.lead {
  max-width: 720px;
  color: var(--green-deep);
  font-size: 1.28rem;
  line-height: 1.55;
}

.hero-copy p:not(.eyebrow):last-child {
  max-width: 680px;
  color: var(--text-muted);
}

.section {
  padding: 80px 0;
}

.section-muted {
  background: var(--mint-pale);
  border-block: 1px solid var(--border-soft);
}

.section-heading {
  max-width: 720px;
}

.section-heading.compact {
  max-width: 780px;
  margin-bottom: 34px;
}

.card p:last-child,
.work-card p:last-child,
.experience-section p:last-child,
.site-footer p:last-child,
.legal-content section:last-child,
.legal-content section p:last-child,
.legal-summary p:last-child {
  margin-bottom: 0;
}

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

.card,
.work-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(22, 79, 71, 0.05);
}

.card {
  padding: 30px;
}

.card-label,
.work-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--green-primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.card p,
.work-card p {
  color: var(--text-muted);
}

.experience-section {
  background: var(--white);
}

.experience-section .narrow {
  padding-left: 28px;
  border-left: 4px solid var(--mint-soft);
}

.experience-section p {
  color: var(--text-muted);
}

.experience-section h2 {
  color: var(--green-deep);
}

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

.work-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.work-card h3 {
  margin-bottom: 10px;
}

.site-footer {
  padding: 52px 0;
  background: var(--mint-pale);
  border-top: 1px solid var(--border-soft);
  color: var(--text-muted);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(260px, 0.72fr);
  gap: 42px;
  align-items: start;
}

.site-footer img {
  width: 190px;
  margin-bottom: 18px;
}

.site-footer strong {
  color: var(--text-main);
}

.site-footer a,
.legal-content a {
  color: var(--green-primary);
  font-weight: 800;
  text-decoration-color: rgba(31, 107, 96, 0.28);
  text-underline-offset: 0.18em;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.legal-content a:hover,
.legal-content a:focus-visible {
  color: var(--green-deep);
}

.legal-section {
  background: var(--white);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.4fr) minmax(0, 0.95fr);
  gap: 54px;
  align-items: start;
}

.legal-summary {
  position: sticky;
  top: 104px;
  padding: 24px;
  background: var(--mint-pale);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  color: var(--text-muted);
}

.legal-summary strong {
  color: var(--text-main);
}

.legal-content {
  display: grid;
  gap: 34px;
}

.legal-content section {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--border-soft);
}

.legal-content h2 {
  margin-bottom: 14px;
  color: var(--green-deep);
  font-size: 1.65rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
}

.legal-content ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal-content li + li {
  margin-top: 8px;
}

.muted,
.copyright {
  color: var(--text-muted);
}

.copyright {
  margin-top: 16px;
  font-size: 0.94rem;
}

@media (max-width: 920px) {
  .footer-inner,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-summary {
    position: static;
  }

  .hero {
    padding-top: 64px;
  }

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

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 68px;
    gap: 18px;
  }

  .brand {
    width: 146px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: 0.86rem;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .lead {
    font-size: 1.14rem;
  }

  .section {
    padding: 58px 0;
  }

  .pillar-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .work-card {
    border-radius: 18px;
    padding: 24px;
  }

  .work-card {
    min-height: 0;
  }

  .experience-section .narrow {
    padding-left: 20px;
  }
}

@media (max-width: 520px) {
  .header-inner {
    align-items: center;
    flex-direction: row;
    padding: 0;
  }

  .brand {
    width: 122px;
  }

  .site-nav {
    width: auto;
    justify-content: flex-end;
    gap: 12px;
  }

  .site-nav a {
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .hero {
    padding: 44px 0 52px;
  }

  .page-hero {
    padding: 48px 0 50px;
  }

  h1 {
    font-size: 2.5rem;
  }

}
