:root {
  color-scheme: light;
  --evergreen: #1f6f4a;
  --moss: #6f8f4f;
  --clay: #bf7446;
  --cream: #f7f3ea;
  --paper: #ffffff;
  --ink: #1e2a22;
  --muted: #687568;
  --line: rgba(30, 42, 34, 0.16);
  --shadow: 0 20px 48px rgba(30, 42, 34, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px max(22px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(247, 243, 234, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  gap: 2px;
  min-width: 150px;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  letter-spacing: 0;
}

.brand span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.main-nav a,
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid rgba(31, 111, 74, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--evergreen);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.main-nav a:hover,
.button:hover {
  box-shadow: 0 12px 26px rgba(30, 42, 34, 0.14);
  transform: translateY(-1px);
}

.button.is-pressed,
.main-nav a.is-pressed {
  transform: translateY(1px) scale(0.98);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid rgba(31, 111, 74, 0.24);
  border-radius: 8px;
  background: #ffffff;
  color: var(--evergreen);
  cursor: pointer;
}

.menu-toggle span:not(.menu-label) {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle .menu-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.main-nav a[aria-current="page"] {
  background: var(--evergreen);
  color: #ffffff;
}

.button {
  background: var(--clay);
  border-color: var(--clay);
  color: #ffffff;
}

.button.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.58);
  color: #ffffff;
}

.gallery-lock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(247, 243, 234, 0.72);
  border-radius: 8px;
  background: var(--evergreen);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(30, 42, 34, 0.28);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 640px;
  display: grid;
  align-items: end;
  padding: 110px max(22px, calc((100vw - 1180px) / 2)) 76px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(18, 43, 29, 0.86), rgba(18, 43, 29, 0.52) 48%, rgba(18, 43, 29, 0.18)),
    var(--hero-image, url("https://images.unsplash.com/photo-1416879595882-3373a0480b5b?auto=format&fit=crop&w=1800&q=80")) center / cover;
  color: #ffffff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 46%;
  background: linear-gradient(0deg, rgba(18, 43, 29, 0.8), transparent);
}

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

.eyebrow {
  margin: 0 0 18px;
  color: #f4d5b8;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  font-size: 82px;
  line-height: 0.96;
}

.hero-copy p {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.7;
}

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

.section {
  padding: 78px max(22px, calc((100vw - 1180px) / 2));
}

.section.alt {
  background: #ffffff;
}

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

.section-heading p,
.lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.section-heading h2 {
  color: var(--evergreen);
  font-size: 56px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.78fr);
  gap: 34px;
  align-items: center;
}

.image-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

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

.feature,
.service,
.process-step,
.quote-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 34px rgba(30, 42, 34, 0.08);
}

.interactive-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.interactive-card:hover {
  border-color: rgba(191, 116, 70, 0.44);
  box-shadow: 0 20px 42px rgba(30, 42, 34, 0.14);
  transform: translateY(-4px);
}

.feature strong,
.service strong,
.process-step strong {
  display: block;
  color: var(--evergreen);
  font-size: 20px;
}

.feature p,
.service p,
.process-step p,
.quote-box p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.service ul,
.quote-box ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.service li::before,
.quote-box li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--clay);
}

.gallery-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.gallery-item {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--evergreen);
}

.gallery-item:first-child {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.gallery-item span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(247, 243, 234, 0.92);
  color: var(--ink);
  font-weight: 900;
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.28);
}

.counter-band {
  margin-top: 24px;
}

.stat {
  padding: 24px;
  background: var(--evergreen);
  color: #ffffff;
}

.stat strong {
  display: block;
  font-size: 32px;
  line-height: 1;
}

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

.review {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(30, 42, 34, 0.08);
}

.review p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.review strong {
  display: block;
  margin-top: 18px;
  color: var(--evergreen);
  font-size: 18px;
}

.review span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--evergreen);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(30, 42, 34, 0.2);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 124px;
  resize: vertical;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--evergreen);
  font-size: 14px;
  font-weight: 850;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px max(22px, calc((100vw - 1180px) / 2));
  background: #183420;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a {
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
    width: 100%;
    padding-top: 8px;
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    width: 100%;
  }

  .gallery-lock {
    right: 14px;
    bottom: 14px;
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    overflow: hidden;
    text-indent: -999px;
  }

  .gallery-lock::before {
    content: "<";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 20px;
    text-indent: 0;
  }

  .hero {
    min-height: 560px;
    padding-top: 82px;
  }

  h1 {
    font-size: 48px;
  }

  .section-heading h2 {
    font-size: 36px;
  }

  .split,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .service-grid,
  .process-grid,
  .stat-band,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-item:first-child {
    grid-row: auto;
  }
}
