:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #66716d;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: #dde1dc;
  --forest: #123c34;
  --leaf: #2f7d63;
  --gold: #f0b85a;
  --coral: #d95d47;
  --shadow: 0 18px 48px rgba(18, 60, 52, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, 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;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(251, 250, 247, 0.94);
  box-shadow: 0 1px 20px rgba(23, 32, 29, 0.08);
  backdrop-filter: blur(14px);
}

.site-header.legal-header {
  color: var(--ink);
  background: rgba(251, 250, 247, 0.96);
  box-shadow: 0 1px 20px rgba(23, 32, 29, 0.08);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--gold);
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a,
.site-footer a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--gold);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.header-cta {
  color: var(--ink);
  background: var(--gold);
}

.button-primary {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 10px 24px rgba(240, 184, 90, 0.24);
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.56);
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 140px clamp(20px, 5vw, 72px) 54px;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 60, 52, 0.92), rgba(18, 60, 52, 0.64) 45%, rgba(18, 60, 52, 0.2)),
    linear-gradient(0deg, rgba(23, 32, 29, 0.72), rgba(23, 32, 29, 0.08) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.9rem);
  line-height: 0.92;
  letter-spacing: 0;
}

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

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

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 680px;
  margin-top: 58px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.hero-panel div {
  padding: 20px;
  background: rgba(18, 60, 52, 0.42);
}

.hero-panel strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 1.75rem;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

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

.intro {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
}

.intro p:last-child,
.feature-copy p,
.contact-copy p,
.impact p,
.service-card p {
  color: var(--muted);
  line-height: 1.7;
}

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

.service-grid,
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card,
.impact-grid article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(23, 32, 29, 0.06);
}

.service-card {
  min-height: 280px;
  padding: 26px;
}

.icon {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  margin-bottom: 34px;
  border-radius: 8px;
  padding: 0 10px;
  color: var(--white);
  background: var(--forest);
  font-size: 0.8rem;
  font-weight: 900;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 560px);
  align-items: stretch;
  background: var(--forest);
  color: var(--white);
}

.feature-image {
  min-height: 560px;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-copy {
  align-self: center;
  padding: clamp(40px, 7vw, 84px);
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(240, 184, 90, 0.16);
}

.impact-grid {
  grid-template-columns: repeat(3, 1fr);
}

.impact-grid article {
  padding: 30px;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(28px, 6vw, 80px);
  padding: 92px clamp(20px, 6vw, 80px);
  background: #e9efe9;
}

.contact-copy {
  max-width: 680px;
}

address {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  font-style: normal;
  font-weight: 800;
}

address a {
  color: var(--forest);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
}

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

.checkbox-label {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 12px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--forest);
}

.sms-consent {
  border: 1px solid rgba(47, 125, 99, 0.28);
  border-radius: 8px;
  padding: 16px;
  background: #f3f7f2;
}

.sms-consent legend {
  padding: 0 6px;
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(47, 125, 99, 0.2);
  border-color: var(--leaf);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.legal-main {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 90px;
}

.legal-main h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.98;
}

.legal-updated {
  margin-bottom: 44px;
  color: var(--muted);
  font-weight: 700;
}

.legal-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-section ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  margin: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: none;
    justify-self: stretch;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

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

  .intro,
  .feature-band,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-image {
    min-height: 380px;
  }
}

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

  .brand span:last-child {
    max-width: 120px;
  }

  .hero {
    min-height: 94vh;
    padding: 112px 20px 34px;
  }

  h1 {
    font-size: 3.05rem;
  }

  .hero-panel,
  .service-grid,
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .section-wrap {
    width: min(100% - 32px, 1120px);
    padding: 70px 0;
  }

  .service-card {
    min-height: auto;
  }

  .contact-band {
    padding: 70px 16px;
  }

  .legal-main {
    width: min(100% - 32px, 920px);
    padding: 126px 0 70px;
  }

  .site-footer {
    flex-direction: column;
  }
}
