:root {
  --paper: #fbfaf6;
  --surface: #ffffff;
  --surface-2: #f1f6ef;
  --ink: #172018;
  --muted: #657060;
  --line: #dfe7dc;
  --green: #2d6f45;
  --green-2: #8fbf5a;
  --sage: #dbe9d3;
  --clay: #d8955b;
  --blue: #385b82;
  --shadow: 0 22px 60px rgba(35, 48, 32, .11);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 2rem;
  min-height: 76px;
  padding: 0 40px;
  background: rgba(251, 250, 246, .86);
  border-bottom: 1px solid rgba(223, 231, 220, .8);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 168px;
  height: auto;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 2rem;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 600;
}

.main-nav a:hover,
.contact-links a:hover,
.audience-grid a:hover {
  color: var(--green);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.header-action {
  background: var(--ink);
  color: #fff;
  font-size: .9rem;
}

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

.button.secondary {
  color: var(--green);
  border-color: #b8cbb4;
  background: rgba(255, 255, 255, .72);
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 40vw);
  align-items: stretch;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(251,250,246,.98) 0%, rgba(251,250,246,.93) 50%, rgba(251,250,246,.12) 78%),
    linear-gradient(180deg, rgba(241,246,239,.78), rgba(251,250,246,.78));
}

.hero-content {
  width: min(860px, calc(100vw - 48px));
  align-self: center;
  margin-left: clamp(24px, 7vw, 96px);
  padding: 72px 0 86px;
  z-index: 2;
}

.hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(44vw, 650px);
  background: var(--sage);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  filter: saturate(.92) contrast(1.02);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(45, 111, 69, .08), rgba(251, 250, 246, .12));
}

.eyebrow {
  margin: 0 0 .85rem;
  color: var(--green);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Newsreader, Georgia, serif;
  font-weight: 650;
  line-height: .98;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(3.8rem, 6.1vw, 6.8rem);
  line-height: 1.01;
}

h2 {
  font-size: clamp(2.25rem, 4.8vw, 4.8rem);
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

p {
  margin: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 1.5rem 0 2rem;
  color: #455042;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 2.8rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 680px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.hero-facts div {
  min-height: 118px;
  padding: 1rem;
  background: rgba(255, 255, 255, .82);
}

.hero-facts dt {
  margin: 0 0 .45rem;
  color: var(--green);
  font-size: 1.7rem;
  font-weight: 800;
}

.hero-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.trust-strip span {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}

.trust-strip span:last-child {
  border-right: 0;
}

.section {
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-head.split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 2rem;
  align-items: end;
}

.section-head.split > p {
  color: var(--muted);
  font-size: 1rem;
}

.audience-grid,
.service-grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

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

.audience-grid article,
.service-card {
  background: var(--surface);
  padding: 1.45rem;
}

.audience-grid article {
  min-height: 260px;
  display: grid;
  align-content: start;
  gap: 1rem;
}

.tag {
  width: fit-content;
  border: 1px solid #cadac5;
  border-radius: 999px;
  padding: .22rem .58rem;
  color: var(--green);
  font-size: .74rem;
  font-weight: 800;
}

.audience-grid p,
.service-card p,
.timeline p,
.about-content p,
.contact-copy p,
.funding p {
  color: var(--muted);
}

.audience-grid a {
  align-self: end;
  color: var(--ink);
  font-weight: 800;
}

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

.service-card {
  min-height: 238px;
  display: grid;
  align-content: start;
  cursor: pointer;
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.service-card:hover,
.service-card:focus-visible {
  position: relative;
  z-index: 1;
  background: #fbfdf9;
  box-shadow: inset 0 0 0 2px rgba(45, 111, 69, .18);
  outline: 0;
}

.service-card button {
  width: fit-content;
  margin-top: 1.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green);
  font-weight: 800;
  cursor: pointer;
}

.service-card span,
.timeline span {
  display: block;
  margin-bottom: 3rem;
  color: var(--green);
  font-weight: 800;
}

.service-card h3 {
  margin-bottom: .85rem;
}

.audit-focus {
  padding-top: 0;
}

.audit-focus-inner {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1fr);
  gap: clamp(2.4rem, 6vw, 5rem);
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border: 1px solid #cbd9c6;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(241,246,239,.92));
}

.audit-focus h2 {
  max-width: 520px;
  font-size: clamp(1.85rem, 3.1vw, 3.15rem);
  line-height: 1.12;
}

.audit-copy {
  display: grid;
  gap: 1.2rem;
  min-width: 0;
  align-content: start;
  color: var(--muted);
}

.audit-copy p {
  max-width: 680px;
  font-size: .98rem;
}

.audit-copy ul {
  display: grid;
  gap: .7rem;
  margin: 0;
  padding-top: .25rem;
  padding-left: 1.2rem;
}

.audit-copy .button {
  width: fit-content;
}

.process {
  padding-top: 24px;
}

.timeline {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  list-style: none;
}

.timeline li {
  min-height: 250px;
  padding: 1.35rem;
  background: var(--surface);
}

.timeline h3 {
  margin-bottom: .8rem;
}

.funding {
  background: var(--surface-2);
  border-block: 1px solid var(--line);
}

.funding-inner {
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 96px 0;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1fr);
  gap: 4rem;
  align-items: center;
}

.funding h2 {
  margin-bottom: 1.3rem;
}

.funding-list {
  display: grid;
  gap: 1px;
  border: 1px solid #cbd9c6;
  border-radius: var(--radius);
  overflow: hidden;
  background: #cbd9c6;
}

.funding-list div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, .72);
}

.funding-list strong {
  color: var(--ink);
}

.funding-list span {
  color: var(--muted);
  text-align: right;
}

.funding-note {
  grid-column: 1 / -1;
  margin-top: -2rem;
  padding: 1rem 1.1rem;
  border: 1px solid #cbd9c6;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .7);
  color: var(--muted);
  font-size: .9rem;
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.about-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sage);
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.about-content p {
  max-width: 660px;
  margin: 1.2rem 0 1.5rem;
  font-size: 1.05rem;
}

.credential {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 520px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.credential img {
  width: 86px;
  height: auto;
}

.credential span {
  color: var(--muted);
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(360px, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-top: 32px;
}

.contact-copy h2 {
  margin-bottom: 1.2rem;
}

.contact-links {
  display: grid;
  gap: .55rem;
  margin-top: 1.6rem;
  color: var(--ink);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: .4rem;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 800;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfdccc;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: .82rem .9rem;
  outline: 0;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45, 111, 69, .12);
}

.contact-form textarea {
  resize: vertical;
}

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

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 34px 40px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}

.site-footer img {
  width: 150px;
  margin-bottom: .6rem;
}

.site-footer nav {
  display: flex;
  gap: 1.5rem;
  font-weight: 700;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 32, 24, .42);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  width: min(780px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: clamp(1.25rem, 4vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 30px 90px rgba(20, 28, 21, .24);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
}

.modal-panel h2 {
  max-width: 640px;
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 5vw, 3.7rem);
}

.modal-body {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.4rem;
  color: var(--muted);
}

.modal-body h3 {
  margin-top: .5rem;
  color: var(--ink);
}

.modal-body ul {
  display: grid;
  gap: .55rem;
  margin: 0;
  padding-left: 1.2rem;
}

.modal-body strong {
  color: var(--ink);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 0 24px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    justify-self: stretch;
    grid-column: 1 / -1;
    padding: 1rem 24px 1.2rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  body.menu-open .main-nav {
    display: grid;
    gap: 1rem;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: auto;
    display: block;
    background: var(--paper);
  }

  .hero-media {
    position: relative;
    width: 100%;
    height: min(58vh, 520px);
  }

  .hero-content {
    width: min(100% - 48px, 720px);
    margin: 0 auto;
    padding: 48px 0 64px;
  }

  h1 {
    font-size: clamp(3.2rem, 12vw, 5.4rem);
  }

  .hero-facts,
  .trust-strip,
  .audience-grid,
  .service-grid,
  .audit-focus-inner,
  .timeline,
  .funding-inner,
  .about,
  .contact,
  .section-head.split {
    grid-template-columns: 1fr;
  }

  .trust-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip span:last-child {
    border-bottom: 0;
  }

  .funding-inner {
    gap: 2rem;
  }

  .funding-note {
    margin-top: 0;
  }
}

@media (max-width: 1120px) {
  .audit-focus-inner {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .audit-focus h2 {
    max-width: 760px;
  }
}

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

  .brand img {
    width: 140px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.45rem);
  }

  h2 {
    font-size: clamp(2.15rem, 12vw, 3.4rem);
  }

  .section,
  .funding-inner {
    width: min(100% - 36px, 1180px);
    padding-block: 68px;
  }

  .hero-content {
    width: min(100% - 36px, 720px);
  }

  .hero-actions,
  .site-footer,
  .funding-list div {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .audit-copy .button {
    width: 100%;
  }

  .modal {
    padding: 12px;
    align-items: end;
  }

  .modal-panel {
    max-height: calc(100vh - 24px);
  }

  .funding-list div {
    display: grid;
  }

  .funding-list span {
    text-align: left;
  }

  .credential {
    align-items: flex-start;
  }
}
