:root {
  --green-900: #12351f;
  --green-700: #1f6d35;
  --green-500: #52a35f;
  --charcoal: #161b18;
  --ink: #273029;
  --muted: #667168;
  --paper: #f7faf6;
  --white: #ffffff;
  --gold: #dca644;
  --blue: #8fc7dc;
  --line: rgba(18, 53, 31, 0.15);
  --shadow: 0 24px 70px rgba(15, 29, 20, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  width: min(calc(100% - 32px), 1180px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  color: var(--white);
  background: rgba(18, 53, 31, 0.64);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: var(--green-900);
  background: var(--white);
  font-size: 0.86rem;
  flex: 0 0 auto;
}

.header-call {
  display: none;
}

nav {
  gap: 4px;
}

nav a {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.94rem;
  font-weight: 700;
}

nav a:hover,
nav a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

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

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 58%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 22, 13, 0.86), rgba(8, 22, 13, 0.48) 48%, rgba(8, 22, 13, 0.08)),
    linear-gradient(0deg, rgba(8, 22, 13, 0.42), transparent 46%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 136px 0 82px;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  color: var(--white);
  font-size: clamp(3rem, 8vw, 6.9rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--green-900);
  font-size: 1.15rem;
  line-height: 1.15;
}

.hero-copy {
  max-width: 670px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  gap: 10px;
  padding: 13px 18px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button span:first-child {
  display: grid;
  min-width: 38px;
  height: 28px;
  place-items: center;
  border-radius: 6px;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  color: var(--green-900);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.button-primary span:first-child {
  color: var(--white);
  background: var(--green-700);
}

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

.button-secondary span:first-child {
  color: var(--green-900);
  background: var(--blue);
}

.button-quiet {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.button-quiet span:first-child {
  color: var(--green-900);
  background: var(--gold);
}

.placeholder-action {
  cursor: default;
}

.placeholder-action:hover,
.placeholder-action:focus-visible {
  transform: none;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.trust-band div {
  padding: 26px clamp(18px, 4vw, 54px);
  background: var(--white);
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  color: var(--green-900);
  font-size: 1.02rem;
}

.trust-band span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.section,
.feature-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.split-section,
.feature-section,
.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.section-copy p:not(.eyebrow),
.feature-copy p,
.contact-copy p:not(.eyebrow),
.work-card p,
.service-card p {
  color: var(--muted);
  line-height: 1.62;
}

.section-copy p:not(.eyebrow),
.feature-copy p,
.contact-copy p:not(.eyebrow) {
  max-width: 620px;
  font-size: 1.05rem;
}

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

.service-card {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(18, 53, 31, 0.08);
}

.service-card p {
  margin: 14px 0 0;
}

.feature-section {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100vw - 1180px) / 2));
  background: var(--green-900);
}

.feature-media img {
  width: 100%;
  height: min(620px, 72vw);
  object-fit: cover;
  object-position: center 78%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.feature-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

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

.work-card {
  grid-column: span 3;
  min-height: 430px;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(18, 53, 31, 0.1);
}

.work-card.tall {
  grid-row: span 2;
}

.work-card.wide {
  grid-column: span 4;
}

.work-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

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

.photo-grade {
  object-position: center 58%;
}

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

.photo-tree {
  object-position: center 38%;
}

.photo-ready {
  object-position: center 48%;
}

.work-card div {
  padding: 20px;
  border-top: 1px solid var(--line);
}

.work-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 900;
}

.work-card p {
  margin: 10px 0 0;
}

.video-section {
  padding-top: 20px;
}

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

.video-grid video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  background: var(--charcoal);
  box-shadow: 0 18px 40px rgba(18, 53, 31, 0.1);
}

.contact-section {
  align-items: stretch;
  padding-top: 48px;
}

.contact-copy,
.flyer-frame {
  border-radius: 8px;
}

.contact-copy {
  padding: clamp(28px, 5vw, 52px);
  color: var(--white);
  background: linear-gradient(135deg, var(--green-900), #234827);
}

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

.contact-note {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.98rem !important;
}

.flyer-frame {
  display: grid;
  align-items: center;
  padding: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.flyer-frame img {
  width: 100%;
  border-radius: 6px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(16px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background: var(--charcoal);
}

footer span {
  font-weight: 900;
}

@media (max-width: 900px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px 12px;
    padding: 10px;
    background:
      linear-gradient(135deg, rgba(18, 53, 31, 0.92), rgba(31, 109, 53, 0.72)),
      rgba(18, 53, 31, 0.78);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  }

  .header-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 8px;
    color: var(--green-900);
    background: var(--white);
    font-size: 0.86rem;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  }

  nav {
    grid-column: 1 / -1;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 2px;
  }

  nav a {
    display: grid;
    min-height: 38px;
    place-items: center;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    text-align: center;
  }

  .hero-content {
    padding-top: 150px;
  }

  .trust-band,
  .split-section,
  .feature-section,
  .contact-section,
  .video-grid {
    grid-template-columns: 1fr;
  }

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

  .work-card,
  .work-card.wide,
  .work-card.tall {
    grid-column: auto;
    grid-row: auto;
    min-height: auto;
  }

  .work-card img {
    height: 340px;
  }
}

@media (max-width: 560px) {
  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    border-color: rgba(255, 255, 255, 0.24);
  }

  .brand {
    gap: 8px;
    font-size: 0.92rem;
    line-height: 1.05;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 0.78rem;
  }

  .header-call {
    min-height: 36px;
    padding-inline: 13px;
    font-size: 0.8rem;
  }

  nav a {
    min-height: 36px;
    padding: 8px 6px;
    font-size: 0.8rem;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(8, 22, 13, 0.88), rgba(8, 22, 13, 0.36) 72%, rgba(8, 22, 13, 0.36)),
      linear-gradient(90deg, rgba(8, 22, 13, 0.54), rgba(8, 22, 13, 0.04));
  }

  .hero-image {
    object-position: center 54%;
  }

  .hero-content {
    width: calc(100% - 24px);
    padding-bottom: 42px;
  }

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

  .button {
    justify-content: flex-start;
  }

  .section,
  .feature-section {
    width: calc(100% - 24px);
    padding: 64px 0;
  }

  .feature-section {
    width: 100%;
    padding-inline: 12px;
  }

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

  .work-card img {
    height: 280px;
  }

  footer {
    flex-direction: column;
  }
}
