:root {
  --leaf: #23483a;
  --moss: #55745b;
  --clay: #b4613f;
  --stone: #e8e2d7;
  --paper: #fbfaf6;
  --ink: #18231e;
  --muted: #66756e;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(28, 38, 31, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 250, 246, 0.94);
  box-shadow: 0 10px 35px rgba(35, 72, 58, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: currentColor;
  font-size: 0.74rem;
  opacity: 0.78;
}

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

.site-nav a {
  opacity: 0.88;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

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

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(15, 31, 24, 0.82) 0%, rgba(15, 31, 24, 0.52) 45%, rgba(15, 31, 24, 0.22) 100%),
    url("https://images.unsplash.com/photo-1416879595882-3373a0480b5b?auto=format&fit=crop&w=2200&q=82") center / cover;
}

.hero::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: 24%;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.36), transparent);
}

.hero-content {
  max-width: 780px;
}

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

.hero .eyebrow {
  color: #f1b68e;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 6vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 690px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 20px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

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

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.hero-card {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 42px;
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 1px;
  width: min(440px, calc(100% - 36px));
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.24);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card div {
  padding: 22px;
  background: rgba(24, 35, 30, 0.44);
}

.metric {
  display: block;
  margin-bottom: 6px;
  font-size: 2rem;
  font-weight: 900;
}

.hero-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: clamp(28px, 7vw, 92px);
  align-items: start;
  background: var(--stone);
}

.intro p:last-child,
.contact-panel p {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.services {
  background: var(--paper);
}

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

.service-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(35, 72, 58, 0.1);
}

.service-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card div {
  padding: 24px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  min-height: 620px;
  background: var(--leaf);
  color: var(--white);
}

.split-image img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 6vw, 82px);
}

.split-copy .eyebrow {
  color: #f1b68e;
}

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

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

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  content: "";
  background: var(--clay);
  box-shadow: inset 0 0 0 5px var(--leaf);
}

.method {
  background: var(--stone);
}

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

.steps article {
  min-height: 250px;
  padding: 28px;
  border-left: 4px solid var(--clay);
  background: rgba(255, 255, 255, 0.62);
}

.steps span {
  display: block;
  margin-bottom: 34px;
  color: var(--moss);
  font-size: 0.9rem;
  font-weight: 900;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.contact {
  background: var(--paper);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(35, 72, 58, 0.95), rgba(69, 97, 72, 0.96)),
    url("https://images.unsplash.com/photo-1598902108854-10e335adac99?auto=format&fit=crop&w=1600&q=80") center / cover;
}

.contact-panel .eyebrow {
  color: #f1b68e;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--leaf);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d5d0c6;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--moss);
  outline: 3px solid rgba(85, 116, 91, 0.18);
}

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

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: #17241d;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: 8px;
    color: var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 13px 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
    padding-bottom: 260px;
  }

  .hero-card {
    right: 18px;
    bottom: 28px;
  }

  .intro,
  .service-grid,
  .split-section,
  .steps,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .split-section {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .site-header {
    padding: 14px 16px;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .hero-card {
    grid-template-columns: 1fr;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .service-card div,
  .steps article,
  .contact-form {
    padding: 20px;
  }

  .site-footer {
    display: grid;
  }
}
