:root {
  --green: #1f6f43;
  --green-dark: #123b28;
  --leaf: #7fac5a;
  --mint: #edf6ef;
  --ink: #1d2a23;
  --muted: #657267;
  --line: #dce7df;
  --white: #ffffff;
  --soft: #f7faf6;
  --shadow: 0 24px 60px rgba(19, 46, 30, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

.site-header.scrolled,
.site-header.open,
.site-header.page-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 35px rgba(18, 59, 40, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-size: 0.82rem;
}

.brand small {
  display: block;
  color: currentColor;
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.72;
}

.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;
}

.site-nav a.active {
  color: var(--leaf);
  opacity: 1;
}

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

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

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(13, 37, 24, 0.78), rgba(13, 37, 24, 0.32) 52%, rgba(13, 37, 24, 0.1));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 clamp(18px, 7vw, 90px) clamp(64px, 12vh, 120px);
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(3.1rem, 8vw, 7.4rem);
  line-height: 0.93;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.page-hero {
  min-height: 54vh;
  display: grid;
  align-content: end;
  padding: 150px clamp(18px, 7vw, 90px) clamp(54px, 8vw, 88px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(13, 37, 24, 0.78), rgba(13, 37, 24, 0.28)),
    var(--page-image) center / cover;
}

.page-hero h1,
.page-title {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.page-offset {
  padding-top: 150px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
}

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

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

.section-pad {
  padding: clamp(72px, 9vw, 120px) clamp(18px, 5vw, 70px);
}

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

.section-heading.centered {
  margin: 0 auto 44px;
  text-align: center;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  gap: clamp(34px, 8vw, 110px);
  align-items: start;
}

.intro-copy {
  color: var(--muted);
  font-size: 1.06rem;
}

.featured,
.why {
  background: var(--soft);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--white);
  background: var(--green-dark);
}

.cta-band .eyebrow,
.cta-band h2 {
  color: var(--white);
}

.cta-band .button.primary {
  flex: 0 0 auto;
  background: var(--leaf);
}

.feature-grid,
.review-grid,
.why-grid,
.project-grid,
.team-grid {
  display: grid;
  gap: 22px;
}

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

.feature-grid article,
.review-grid blockquote,
.why-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-grid article {
  overflow: hidden;
}

.feature-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-grid h3,
.feature-grid p {
  margin-right: 24px;
  margin-left: 24px;
}

.feature-grid h3 {
  margin-top: 22px;
}

.feature-grid p {
  margin-bottom: 26px;
  color: var(--muted);
}

.service-list {
  display: grid;
  gap: 24px;
  margin-top: 44px;
}

.service-list article {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.service-list img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  object-fit: cover;
}

.service-list p,
.why-grid p,
.contact-info dd,
.about-content p {
  color: var(--muted);
}

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

.review-grid blockquote {
  margin: 0;
  padding: 30px;
  box-shadow: var(--shadow);
}

.review-grid p {
  margin-top: 0;
  font-size: 1.05rem;
}

.review-grid cite {
  color: var(--green);
  font-style: normal;
  font-weight: 800;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 38px 0 28px;
}

.filter-bar button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--green-dark);
  background: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.filter-bar button.active {
  color: var(--white);
  border-color: var(--green);
  background: var(--green);
}

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

.project-card {
  display: grid;
  gap: 9px;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.project-card[hidden] {
  display: none;
}

.project-card img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card:hover img {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.project-card span {
  font-size: 1.08rem;
  font-weight: 850;
}

.project-card small {
  color: var(--muted);
  font-size: 0.92rem;
}

.about {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
  background: var(--mint);
}

.about-image img {
  width: 100%;
  min-height: 620px;
  border-radius: 8px;
  object-fit: cover;
}

.mission {
  margin: 28px 0;
  padding: 24px;
  border-left: 4px solid var(--green);
  background: var(--white);
}

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

.team-grid article {
  min-width: 0;
}

.team-grid img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.team-grid strong,
.team-grid span {
  display: block;
}

.team-grid strong {
  margin-top: 10px;
}

.team-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.why-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 44px;
}

.why-grid article {
  padding: 26px;
}

.why-grid span {
  color: var(--leaf);
  font-weight: 900;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  gap: clamp(32px, 6vw, 76px);
  padding: clamp(28px, 5vw, 60px);
  border-radius: 8px;
  background: var(--green-dark);
  color: var(--white);
}

.contact-panel .eyebrow,
.contact-panel h2 {
  color: var(--white);
}

.quote-form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 750;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.quote-form select option {
  color: var(--ink);
}

.quote-form .button {
  justify-self: start;
  background: var(--leaf);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: #c9e8bf;
}

.contact-info {
  display: grid;
  align-content: start;
  gap: 24px;
}

.map-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: 8px;
  padding: 28px;
  background:
    linear-gradient(45deg, rgba(255,255,255,0.08) 25%, transparent 25%) 0 0 / 42px 42px,
    linear-gradient(-45deg, rgba(255,255,255,0.08) 25%, transparent 25%) 0 0 / 42px 42px,
    #214d35;
}

.map-card strong,
.map-card p {
  position: relative;
  z-index: 1;
}

.map-card strong {
  display: block;
  font-size: 1.4rem;
}

.map-card p {
  max-width: 260px;
  color: rgba(255, 255, 255, 0.76);
}

.pin {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 12px rgba(127, 172, 90, 0.18);
}

.pin.one { right: 22%; bottom: 28%; }
.pin.two { right: 48%; bottom: 46%; }
.pin.three { right: 30%; top: 24%; }

.contact-info dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.contact-info div {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-info dt {
  font-weight: 850;
}

.contact-info dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 70px);
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
}

.site-footer p {
  margin: 0;
}

.lightbox {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(10, 25, 16, 0.86);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lightbox button {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

@media (max-width: 960px) {
  .feature-grid,
  .review-grid,
  .project-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .about-image img {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 14px 18px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 86vh;
  }

  .hero-content {
    margin-bottom: 52px;
  }

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

  .page-hero {
    min-height: 48vh;
    padding: 126px 18px 46px;
  }

  .page-hero h1,
  .page-title {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .page-offset {
    padding-top: 118px;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-grid,
  .review-grid,
  .project-grid,
  .why-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-panel {
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
  }
}
