:root {
  --bg: #151a15;
  --bg-deep: #0d110d;
  --panel: #20271d;
  --panel-soft: #293125;
  --green: #7f9d64;
  --green-bright: #a8c17b;
  --moss: #4f6746;
  --stone: #c8b98f;
  --clay: #b98655;
  --text: #f2efe5;
  --muted: #b7b09d;
  --line: rgba(242, 239, 229, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section,
main {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(127, 157, 100, 0.18), transparent 32rem),
    linear-gradient(145deg, var(--bg-deep), var(--bg) 44%, #1d2119);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 20, 15, 0.78);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand,
.nav-links,
.header-cta {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.84rem;
}

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

.brand-mark {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(200, 185, 143, 0.6);
  border-radius: 50% 50% 45% 45%;
  background:
    radial-gradient(circle at 44% 25%, var(--green-bright) 0 14%, transparent 15%),
    linear-gradient(135deg, var(--moss), #20301f);
  box-shadow: inset 0 -7px 12px rgba(0, 0, 0, 0.28);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
}

.nav-links a,
.site-footer a,
.inline-link {
  transition: color 180ms ease;
}

.nav-links a:hover,
.site-footer a:hover,
.inline-link:hover {
  color: var(--stone);
}

.header-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(200, 185, 143, 0.14);
  color: var(--stone);
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  padding: 160px max(24px, calc((100vw - 1180px) / 2)) 70px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  transform: translate3d(0, 0, 0) scale(1.05);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(13, 17, 13, 0.88), rgba(13, 17, 13, 0.46), rgba(13, 17, 13, 0.78)),
    linear-gradient(0deg, var(--bg-deep), transparent 40%);
}

.grain {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.25) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px);
  background-size: 18px 18px, 28px 28px;
  mix-blend-mode: overlay;
}

.hero-content {
  align-self: end;
  max-width: 740px;
  padding-bottom: 60px;
}

.eyebrow,
.card-kicker {
  margin: 0 0 14px;
  color: var(--stone);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  line-height: 1.1;
}

.hero-copy,
.section-heading p,
.process-copy p,
.project-panel p,
.area-content p,
.quote-copy p {
  max-width: 620px;
  color: var(--muted);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 1rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--stone), var(--clay));
  color: #17130d;
  box-shadow: 0 14px 34px rgba(185, 134, 85, 0.28);
}

.button-ghost {
  border-color: rgba(242, 239, 229, 0.22);
  background: rgba(242, 239, 229, 0.08);
  color: var(--text);
}

.hero-card {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 72px;
  width: min(330px, calc(100% - 48px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(26, 32, 23, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.4rem;
  line-height: 1.12;
}

.hero-card p,
.service-card p,
.timeline-item p,
.testimonial,
.site-footer {
  color: var(--muted);
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

.floating-leaf {
  position: absolute;
  z-index: -1;
  width: 180px;
  height: 74px;
  border: 1px solid rgba(168, 193, 123, 0.22);
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, rgba(127, 157, 100, 0.2), rgba(200, 185, 143, 0.08));
  filter: blur(0.3px);
  animation: drift 8s ease-in-out infinite;
}

.leaf-one {
  right: 13%;
  top: 25%;
}

.leaf-two {
  left: 8%;
  bottom: 18%;
  width: 120px;
  height: 52px;
  animation-delay: -2.8s;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.stat {
  min-height: 150px;
  padding: 34px 24px;
  background: rgba(22, 27, 21, 0.92);
}

.stat strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green-bright);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}

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

.service-card,
.timeline-item,
.testimonial,
.project-panel,
.quote-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(41, 49, 37, 0.94), rgba(24, 29, 22, 0.96));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
}

.service-card {
  min-height: 280px;
  padding: 24px;
  transition:
    transform 220ms ease,
    border-color 220ms ease;
}

.service-card:hover {
  border-color: rgba(200, 185, 143, 0.35);
  transform: translateY(-6px);
}

.service-icon {
  display: block;
  width: 58px;
  height: 58px;
  margin-bottom: 48px;
  border-radius: 50% 0 50% 50%;
  background:
    linear-gradient(135deg, var(--green-bright), var(--moss)),
    var(--green);
  box-shadow: inset 0 -12px 18px rgba(0, 0, 0, 0.22);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: start;
  background:
    linear-gradient(rgba(13, 17, 13, 0.72), rgba(13, 17, 13, 0.94)),
    url("https://images.unsplash.com/photo-1598902108854-10e335adac99?auto=format&fit=crop&w=1600&q=80")
      center / cover fixed;
}

.inline-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--stone);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  padding: 24px;
}

.timeline-item span {
  grid-row: span 2;
  color: var(--stone);
  font-size: 2.1rem;
  line-height: 1;
}

.project-showcase {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(300px, 0.7fr);
  gap: 28px;
  align-items: stretch;
}

.project-image {
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.project-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
}

.project-tags,
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-tags span,
.area-list span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--stone);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.82rem;
}

.testimonials {
  padding-top: 40px;
}

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

.testimonial {
  margin: 0;
  padding: 28px;
}

.testimonial blockquote {
  margin: 0 0 20px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.28;
}

.service-area,
.quote-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(300px, 1fr);
  gap: 44px;
  padding: 88px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
}

.area-list {
  align-content: start;
}

.quote-section {
  align-items: start;
  background:
    radial-gradient(circle at 70% 20%, rgba(168, 193, 123, 0.16), transparent 24rem),
    #11160f;
}

.quote-form {
  display: grid;
  gap: 18px;
  padding: 26px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(242, 239, 229, 0.16);
  border-radius: var(--radius);
  background: rgba(9, 12, 9, 0.58);
  color: var(--text);
  outline: none;
  padding: 13px 14px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: rgba(200, 185, 143, 0.76);
  box-shadow: 0 0 0 4px rgba(200, 185, 143, 0.12);
}

.quote-form textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

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

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

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-8deg);
  }
  50% {
    transform: translate3d(18px, -16px, 0) rotate(4deg);
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

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

  .hero-content {
    padding-bottom: 220px;
  }

  .hero-card {
    right: 24px;
    bottom: 42px;
  }

  .trust-strip,
  .service-grid,
  .section-heading,
  .split-section,
  .project-showcase,
  .testimonial-grid,
  .service-area,
  .quote-section {
    grid-template-columns: 1fr;
  }

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

  .project-image {
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: var(--radius);
  }

  .brand span:last-child {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-cta {
    padding: 10px 12px;
  }

  .hero {
    padding: 118px 18px 36px;
  }

  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .hero-content {
    padding-bottom: 260px;
  }

  .hero-card {
    left: 18px;
    right: 18px;
    bottom: 28px;
    width: auto;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .section,
  .service-area,
  .quote-section {
    padding: 72px 18px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-item span {
    grid-row: auto;
  }

  .project-image {
    min-height: 340px;
  }

  .project-panel,
  .quote-form {
    padding: 22px;
  }

  .testimonial blockquote {
    font-size: 1.22rem;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 18px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
