:root {
  color-scheme: light;
  --color-ink: #14231f;
  --color-muted: #53645d;
  --color-paper: #f7f8f4;
  --color-surface: #ffffff;
  --color-accent: #c2f36b;
  --color-line: #dce3da;
  --font-body: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --font-display: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  line-height: 1.6;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: 0.65rem 1rem;
  transform: translateY(-200%);
  background: var(--color-surface);
}

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

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 7vw;
}

.site-header {
  border-bottom: 1px solid var(--color-line);
}

.brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.08em;
  text-decoration: none;
}

.brand span {
  color: #548324;
}

nav {
  display: flex;
  gap: clamp(1.25rem, 4vw, 3rem);
}

nav a {
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.hero {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  padding: clamp(6rem, 13vw, 11rem) 12vw;
  background: var(--color-ink);
  color: var(--color-paper);
}

.eyebrow {
  margin: 0 0 1rem;
  color: #5a812f;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.1;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  letter-spacing: -0.075em;
}

h1 span {
  color: var(--color-accent);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 550px;
  margin-bottom: 2rem;
  color: #c4d0c8;
  font-size: 1.1rem;
}

.button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  gap: 1.5rem;
  align-items: center;
  padding: 0.9rem 1.2rem;
  background: var(--color-accent);
  color: var(--color-ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: #d5ff91;
}

.hero-mark {
  position: absolute;
  right: 5vw;
  bottom: -9rem;
  color: rgb(255 255 255 / 4%);
  font-size: clamp(22rem, 45vw, 42rem);
  font-weight: 800;
  letter-spacing: -0.14em;
  line-height: 1;
  pointer-events: none;
}

.section {
  padding: clamp(5rem, 10vw, 9rem) 12vw;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 3rem;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  letter-spacing: -0.065em;
}

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

.service-card {
  min-height: 260px;
  padding: 2rem;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
}

.service-number {
  display: block;
  margin-bottom: 2.5rem;
  color: #5a812f;
  font-size: 0.8rem;
  font-weight: 750;
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

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

.about {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  column-gap: 5vw;
  background: #e9eee6;
}

.about .eyebrow {
  grid-column: 1 / -1;
}

.about > p:last-child {
  align-self: end;
  max-width: 450px;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.contact {
  background: var(--color-accent);
}

.contact .eyebrow {
  color: var(--color-ink);
}

.contact h2 {
  max-width: 750px;
  margin-bottom: 1rem;
}

.contact > p:not(.eyebrow) {
  max-width: 570px;
  color: #304225;
}

.site-footer {
  gap: 1rem;
  border-top: 1px solid var(--color-line);
}

.site-footer p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.8rem;
}

@media (max-width: 700px) {
  .site-header,
  .site-footer {
    padding-right: 6vw;
    padding-left: 6vw;
  }

  nav {
    gap: 1rem;
  }

  nav a {
    font-size: 0.8rem;
  }

  .hero {
    min-height: 530px;
    padding-right: 7vw;
    padding-left: 7vw;
  }

  .section {
    padding-right: 7vw;
    padding-left: 7vw;
  }

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

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

  .service-number {
    margin-bottom: 1.5rem;
  }

  .about {
    grid-template-columns: 1fr;
    row-gap: 1.5rem;
  }

  .about .eyebrow {
    grid-column: auto;
  }

  .about > p:last-child {
    margin-top: 0;
  }
}

@media (max-width: 420px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 500px;
  }
}

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