:root {
  --leaf: #168b62;
  --leaf-dark: #0f5c45;
  --moss: #dfeeda;
  --cream: #f7f3e8;
  --bark: #6f513a;
  --ink: #14251f;
  --muted: #5d6b62;
  --white: #ffffff;
  --line: rgba(20, 37, 31, 0.14);
  --shadow: 0 22px 60px rgba(20, 37, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

.site-header {
  align-items: center;
  background: rgba(247, 243, 232, 0.9);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(18px, 4vw, 54px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  font-weight: 700;
}

.brand img {
  aspect-ratio: 1;
  border-radius: 50%;
  height: 42px;
  object-fit: cover;
  width: 42px;
}

nav {
  display: flex;
  gap: clamp(12px, 3vw, 34px);
  font-size: 0.94rem;
  font-weight: 700;
}

nav a {
  color: var(--leaf-dark);
}

.hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(20, 37, 31, 0.82), rgba(20, 37, 31, 0.38)),
    var(--moss);
  display: grid;
  gap: clamp(28px, 5vw, 74px);
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.82fr);
  isolation: isolate;
  min-height: min(760px, calc(100vh - 72px));
  overflow: hidden;
  padding: clamp(64px, 10vw, 120px) clamp(22px, 6vw, 88px);
  position: relative;
}

.hero-logo {
  height: 110%;
  max-height: 860px;
  object-fit: cover;
  opacity: 0.28;
  position: absolute;
  right: -8%;
  top: -5%;
  width: min(68vw, 860px);
  z-index: -1;
}

.hero-content {
  color: var(--white);
  max-width: 780px;
}

.hero-photo,
.safety-photo {
  margin: 0;
}

.hero-photo {
  align-self: stretch;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 420px;
  overflow: hidden;
}

.hero-photo img,
.safety-photo img,
.service-grid img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.eyebrow,
.section-kicker {
  color: var(--leaf);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #cfe8c3;
}

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

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.98;
  margin-bottom: 22px;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.28rem;
  line-height: 1.25;
  margin-bottom: 12px;
}

.lead {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.5;
  max-width: 660px;
}

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

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
}

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

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

.intro,
.services,
.safety,
.contact {
  padding: clamp(58px, 8vw, 100px) clamp(22px, 6vw, 88px);
}

.intro {
  align-items: start;
  background: var(--white);
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.intro p:last-child,
.safety-copy p,
.contact p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

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

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

.service-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(20, 37, 31, 0.06);
  display: grid;
  grid-template-rows: 168px auto auto 1fr;
  min-height: 230px;
  overflow: hidden;
}

.service-grid img {
  aspect-ratio: 16 / 10;
  background: var(--moss);
  height: 168px;
}

.service-grid span {
  color: var(--bark);
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  margin: 22px 26px 28px;
  text-transform: uppercase;
}

.service-grid h3 {
  margin-left: 26px;
  margin-right: 26px;
}

.service-grid p {
  color: var(--muted);
  line-height: 1.65;
  margin-left: 26px;
  margin-right: 26px;
  padding-bottom: 26px;
}

.safety {
  align-items: center;
  background: #e7efd8;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.9fr);
}

.safety-photo {
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(20, 37, 31, 0.14);
  min-height: 420px;
  overflow: hidden;
}

.steps {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps div {
  align-items: center;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(15, 92, 69, 0.14);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: 58px 1fr;
  min-height: 78px;
  padding: 18px;
}

.steps strong {
  color: var(--leaf);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.steps span {
  font-weight: 800;
}

.contact {
  align-items: start;
  background: var(--leaf-dark);
  color: var(--white);
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
}

.contact .section-kicker,
.contact p {
  color: #d9eeca;
}

address {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  display: grid;
  font-style: normal;
  gap: 16px;
  padding: 28px;
}

address a,
address span {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  line-height: 1.45;
  padding-bottom: 16px;
}

address span:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

footer {
  align-items: center;
  background: #11221c;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 24px clamp(22px, 6vw, 88px);
}

footer span:first-child {
  color: var(--white);
  font-weight: 800;
}

.hero-photo img {
  object-position: center top;
}

.service-grid article:nth-child(3) img {
  object-position: center 34%;
}

.safety-photo img {
  object-position: center 46%;
}

.work-gallery {
  background: var(--white);
  padding: clamp(58px, 8vw, 100px) clamp(22px, 6vw, 88px);
}

.gallery-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.25fr 1fr 1fr;
  margin-top: 36px;
}

.gallery-grid figure {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

.gallery-grid img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.gallery-grid figcaption {
  background: linear-gradient(0deg, rgba(17, 34, 28, 0.86), rgba(17, 34, 28, 0.08));
  bottom: 0;
  color: var(--white);
  display: grid;
  gap: 8px;
  left: 0;
  padding: 90px 22px 22px;
  position: absolute;
  right: 0;
}

.gallery-grid strong {
  font-size: 1.25rem;
}

.gallery-grid span {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

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

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

.hero-logo {
  opacity: 0.36;
  right: 0;
  top: -8%;
  width: min(74vw, 980px);
}

.service-grid article:nth-child(1) img,
.service-grid article:nth-child(4) img,
.service-grid article:nth-child(5) img,
.service-grid article:nth-child(6) img {
  object-position: center center;
}

.service-grid article:nth-child(2) img {
  object-position: center 22%;
}

.service-grid article:nth-child(3) img {
  object-position: center 42%;
}

.safety-photo img {
  object-position: center center;
}

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

  nav {
    overflow-x: auto;
    padding-bottom: 2px;
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 680px;
  }

  .hero-photo {
    min-height: 300px;
  }

  .hero-logo {
    height: 72%;
    opacity: 0.22;
    right: -30%;
    top: 10%;
    width: 120vw;
  }

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

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

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

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

  .gallery-grid figure {
    min-height: 560px;
  }
}

@media (max-width: 520px) {
  .brand span {
    font-size: 0.95rem;
  }

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

  .steps div {
    grid-template-columns: 48px 1fr;
  }
}
