:root {
  --green: #9cca4f;
  --green-dark: #769f32;
  --charcoal: #313c3f;
  --ink: #1f2a2d;
  --mist: #f4f7ef;
  --sand: #e4dcc9;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(31, 42, 45, 0.16);
  --page-max: 1760px;
  --page-gutter: clamp(24px, 5vw, 120px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--white);
  font-family: "Montessart", "Montserrat", Arial, sans-serif;
  letter-spacing: 0;
}

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

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

.section-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(var(--page-max), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  transform: translateX(-50%);
  padding: 12px 34px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: var(--white);
  background: rgba(49, 60, 63, 0.5);
  backdrop-filter: blur(18px);
  animation: headerIn 680ms ease both;
}

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

.brand img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.1vw, 40px);
  font-size: 1rem;
  font-weight: 700;
}

.nav-links a {
  padding: 12px 0;
  border-radius: 999px;
  transition: color 220ms ease, opacity 220ms ease;
}

.nav-links a:hover {
  color: var(--green);
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

.menu-toggle span + span {
  margin-top: 0;
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 170px var(--page-gutter) 38px;
  background: var(--charcoal);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 16s ease-out forwards;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(25, 35, 37, 0.86), rgba(25, 35, 37, 0.5) 38%, rgba(25, 35, 37, 0.08) 72%),
    linear-gradient(0deg, rgba(25, 35, 37, 0.62), transparent 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--page-max), 100%);
  margin: 0 auto 42px;
  color: var(--white);
}

.hero-reveal {
  animation: heroIn 760ms ease 120ms both;
}

.hero-reveal-late {
  animation-delay: 260ms;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 1120px;
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 5.15vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.35rem;
}

.hero-text {
  max-width: 720px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.25vw, 1.35rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

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

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

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(var(--page-max), 100%);
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-stats div {
  padding: 24px;
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.91);
  border-right: 1px solid rgba(49, 60, 63, 0.1);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong {
  display: block;
  color: var(--green-dark);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.intro {
  padding: 92px 0 44px;
}

.intro-inner {
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(49, 60, 63, 0.12);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.62fr);
  gap: clamp(32px, 7vw, 120px);
  align-items: start;
}

.intro-grid p,
.approach-copy p {
  color: #5a6466;
  font-size: 1.03rem;
  line-height: 1.75;
}

.services {
  padding: 36px 0 98px;
}

.section-heading {
  display: block;
  margin-bottom: 34px;
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(49, 60, 63, 0.12);
  border-radius: 8px;
  background: var(--white);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(156, 202, 79, 0.7);
  box-shadow: 0 18px 38px rgba(49, 60, 63, 0.12);
}

.service-card span {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--green-dark);
  font-size: 0.84rem;
  font-weight: 900;
}

.service-card p {
  color: #687174;
  line-height: 1.6;
}

.approach {
  padding: 86px 0;
  background: var(--charcoal);
}

.approach-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
}

.approach-photo {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.approach-photo img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
}

.approach-copy h2,
.approach-copy p {
  color: var(--white);
}

.approach-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 19px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.site-footer {
  color: var(--white);
  background: var(--green);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.46fr);
  gap: 30px;
  padding: 54px 0;
}

.site-footer .section-kicker,
.site-footer h2 {
  color: var(--charcoal);
}

.site-footer h2 {
  max-width: 620px;
  margin-bottom: 0;
}

address {
  display: grid;
  align-content: center;
  gap: 10px;
  color: var(--charcoal);
  font-style: normal;
  font-weight: 800;
}

address a {
  width: fit-content;
}

address a:hover {
  text-decoration: underline;
}

[data-animate] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slowZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1);
  }
}

@keyframes headerIn {
  from {
    opacity: 0;
    transform: translate(-50%, -10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: center;
    border-radius: 999px;
    padding: 10px 16px 10px 22px;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 1;
    display: grid;
    gap: 2px;
    min-width: 190px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 22px;
    background: rgba(49, 60, 63, 0.9);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 42px rgba(31, 42, 45, 0.22);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .site-header.is-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 12px 14px;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 128px;
  }

  .hero-content {
    width: min(100%, 680px);
  }

  .hero-stats,
  .intro-grid,
  .approach-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .approach-photo,
  .approach-photo img {
    min-height: 340px;
  }
}

@media (max-width: 620px) {
  .section-wrap {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    top: 12px;
    width: calc(100% - 28px);
    padding-left: 18px;
    padding-right: 10px;
  }

  .brand {
    height: 38px;
    max-width: 190px;
  }

  .brand img {
    max-width: 100%;
  }

  h1 {
    font-size: clamp(2.4rem, 12vw, 3.2rem);
    line-height: 1.02;
  }

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

  .hero-stats,
  .service-grid,
  .check-list {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(49, 60, 63, 0.1);
  }

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

  .service-card span {
    margin-bottom: 30px;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
