:root {
  --ink: #19211c;
  --muted: #5b655e;
  --paper: #f4f2ec;
  --white: #fffefa;
  --green: #173e2b;
  --green-bright: #2f7d50;
  --green-pale: #dce8de;
  --line: #d6d7cf;
  --shadow: 0 24px 70px rgba(20, 42, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: white;
  background: var(--green);
  transform: translateY(-110%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(25, 33, 28, 0.12);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-inner {
  min-height: 82px;
}

.brand {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  color: var(--white);
  background: var(--green);
  border-radius: 7px 7px 15px 7px;
  place-items: center;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.brand-name {
  font-family: "Manrope", sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.075em;
}

.brand-name small {
  color: var(--green-bright);
  font-size: 0.58rem;
  vertical-align: super;
}

.header-contact,
.text-link {
  font-weight: 700;
  text-underline-offset: 4px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 165px 0 100px;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(23, 62, 43, 0.08) 50%, transparent 50.2%),
    radial-gradient(circle at 88% 18%, rgba(47, 125, 80, 0.14), transparent 34%),
    var(--paper);
}

.hero::after {
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(23, 62, 43, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(23, 62, 43, 0.035), 0 0 0 140px rgba(23, 62, 43, 0.02);
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.75fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: end;
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--green-bright);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #9fc5a9;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Manrope", sans-serif;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.8rem;
  font-size: clamp(3.2rem, 7.6vw, 6.7rem);
  font-weight: 800;
  letter-spacing: -0.065em;
}

h1 span {
  color: var(--green-bright);
}

h2 {
  font-size: clamp(2.25rem, 4.5vw, 4.1rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.hero-lede {
  max-width: 640px;
  margin: 0 0 2.2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.8rem;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0.8rem 1.3rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px 8px 20px 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

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

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

.button-primary:hover {
  background: #0f3221;
}

.principle-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px 12px 42px 12px;
  box-shadow: var(--shadow);
}

.card-number,
.service-index {
  color: var(--green-bright);
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.card-kicker {
  margin: 1.7rem 0 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

blockquote {
  margin: 0 0 1rem;
  color: var(--green);
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.principle-card > p:last-child,
.service-card p,
.contact-card p {
  color: var(--muted);
}

.services,
.contact {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.section-heading h2 {
  max-width: 800px;
  margin-bottom: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.service-card {
  min-height: 320px;
  padding: 2rem 2rem 2rem 0;
  border-right: 1px solid var(--line);
}

.service-card + .service-card {
  padding-left: 2rem;
}

.service-card:last-child {
  border-right: 0;
}

.service-card h3 {
  margin: 3.8rem 0 1rem;
}

.approach {
  padding: clamp(5rem, 10vw, 8rem) 0;
  color: var(--white);
  background: var(--green);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 7rem);
}

.approach-grid h2 {
  margin-bottom: 0;
}

.approach-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.approach-list li {
  display: grid;
  gap: 0.2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.approach-list li:first-child {
  padding-top: 0;
}

.approach-list span {
  font-family: "Manrope", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.approach-list small {
  color: #bed0c4;
  font-size: 0.95rem;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(3rem, 8vw, 7rem);
  padding: clamp(2rem, 6vw, 5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px 16px 60px 16px;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  max-width: 720px;
  margin-bottom: 1.3rem;
}

.contact-card p {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.email-address {
  margin-top: 1.5rem;
  overflow-wrap: anywhere;
  color: var(--green);
  font-weight: 800;
  text-underline-offset: 4px;
}

.contact-actions span {
  max-width: 330px;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.88rem;
}

footer {
  padding: 2rem 0;
  color: #d7e2da;
  background: #0c271a;
  font-size: 0.88rem;
}

.footer-inner a {
  text-underline-offset: 3px;
}

@media (max-width: 820px) {
  .hero {
    padding-top: 140px;
  }

  .hero-grid,
  .section-heading,
  .approach-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .principle-card {
    max-width: 540px;
  }

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

  .service-card,
  .service-card + .service-card {
    min-height: auto;
    padding: 2rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card h3 {
    margin-top: 2rem;
  }
}

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

  .header-contact {
    font-size: 0.86rem;
  }

  .brand-name {
    display: none;
  }

  h1 {
    font-size: clamp(2.85rem, 15vw, 4.4rem);
  }

  .hero {
    min-height: auto;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-actions {
    align-items: flex-start;
  }

  .contact-card {
    padding: 2rem 1.35rem 2.4rem;
    border-radius: 12px 12px 38px 12px;
  }

  .contact-actions .button {
    width: 100%;
  }

  .footer-inner {
    gap: 0.6rem;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
