:root {
  --forest: #123b2a;
  --deep: #09281d;
  --green: #6d9b63;
  --sage: #dfe9d7;
  --cream: #f4f1e8;
  --white: #ffffff;
  --black: #101612;
  --muted: #667067;
  --line: rgba(16, 22, 18, 0.13);
  --serif: "Playfair Display", serif;
  --sans: "DM Sans", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--black);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.section {
  padding: 120px 7vw;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}

.eyebrow.dark {
  color: var(--forest);
}

.dot {
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
  display: inline-block;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
}

h2 {
  font-size: clamp(42px, 5vw, 76px);
  line-height: .98;
  letter-spacing: -2px;
}

h2 em,
h1 em {
  font-style: italic;
  font-weight: 500;
}

/* LOADER */

.loader {
  position: fixed;
  inset: 0;
  background: var(--deep);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity .7s ease, visibility .7s ease;
}

.loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  color: white;
  font-family: var(--serif);
  font-size: 38px;
}

.loader-logo span {
  color: #a8c69d;
}

.loader-line {
  width: 120px;
  height: 2px;
  background: rgba(255,255,255,.2);
  margin-top: 25px;
  overflow: hidden;
}

.loader-line::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #b4ccaa;
  transform: translateX(-100%);
  animation: loading 1.5s ease forwards;
}

@keyframes loading {
  to {
    transform: translateX(0);
  }
}

/* NAVBAR */

.navbar {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  height: 90px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}

.logo {
  font-family: var(--serif);
  font-size: 27px;
  letter-spacing: -.5px;
}

.logo span {
  color: #b7d2ad;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-size: 13px;
  transition: .3s;
}

.nav-links a:hover {
  color: #b9d6ad;
}

.nav-button {
  border: 1px solid rgba(255,255,255,.45);
  padding: 12px 18px;
  border-radius: 30px;
  font-size: 12px;
  transition: .3s;
}

.nav-button span {
  margin-left: 7px;
}

.nav-button:hover {
  background: white;
  color: var(--forest);
}

.menu-btn {
  display: none;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 27px;
  height: 2px;
  background: white;
  margin: 6px;
}

.mobile-menu {
  display: none;
}

/* HERO */

.hero {
  height: 100vh;
  min-height: 680px;
  position: relative;
  color: white;
  display: flex;
  align-items: center;
  padding: 120px 9vw;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5,31,21,.88), rgba(5,31,21,.38)),
    url("https://images.unsplash.com/photo-1558904541-efa843a96f01?auto=format&fit=crop&w=2200&q=90")
    center/cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5,30,20,.75), transparent 50%);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, transparent, rgba(0,0,0,.18));
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(60px, 8vw, 125px);
  line-height: .88;
  letter-spacing: -5px;
  margin: 25px 0;
}

.hero p {
  max-width: 550px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,.8);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 35px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 16px 23px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 700;
  transition: .35s;
}

.btn span {
  font-size: 17px;
}

.btn-primary {
  background: #a8c99c;
  color: var(--deep);
}

.btn-primary:hover {
  transform: translateY(-4px);
  background: white;
}

.btn-outline {
  border: 1px solid rgba(255,255,255,.45);
}

.btn-outline:hover {
  background: white;
  color: var(--deep);
}

.hero-bottom {
  position: absolute;
  z-index: 3;
  bottom: 35px;
  left: 5vw;
  right: 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255,255,255,.65);
}

.scroll-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
}

.scroll-indicator span {
  width: 32px;
  height: 1px;
  background: white;
}

.hero-badge {
  position: absolute;
  right: 6vw;
  bottom: 110px;
  z-index: 3;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
}

.badge-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #b5ceaa;
  color: var(--deep);
}

.hero-badge strong,
.hero-badge small {
  display: block;
}

.hero-badge strong {
  font-size: 12px;
}

.hero-badge small {
  font-size: 10px;
  color: rgba(255,255,255,.6);
  margin-top: 3px;
}

/* INTRO */

.intro {
  display: grid;
  grid-template-columns: 20% 1fr;
  gap: 5vw;
  background: var(--cream);
}

.intro-label {
  display: flex;
  gap: 15px;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--forest);
}

.intro-label span {
  color: #98a098;
}

.intro-content {
  max-width: 950px;
}

.intro h2 {
  color: var(--forest);
}

.intro h2 span {
  color: #719267;
}

.intro p {
  max-width: 600px;
  margin: 35px 0 25px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* SERVICES */

.services {
  background: #e7ecdf;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 65px;
}

.section-heading h2 {
  margin-top: 20px;
  color: var(--forest);
}

.section-heading p {
  max-width: 350px;
  line-height: 1.7;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  padding: 50px;
  background: #f6f5ed;
  min-height: 500px;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}

.service-card.featured {
  background: var(--forest);
  color: white;
}

.service-number {
  font-size: 11px;
  letter-spacing: 2px;
  opacity: .5;
}

.service-icon {
  font-size: 45px;
  margin: 60px 0 20px;
}

.service-card h3 {
  font-size: 40px;
}

.service-card > p {
  max-width: 450px;
  margin: 15px 0 25px;
  line-height: 1.7;
  opacity: .72;
}

.service-card ul {
  list-style: none;
  margin-bottom: 35px;
}

.service-card li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.featured li {
  border-color: rgba(255,255,255,.15);
}

.service-card a {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

/* RAINSCAPING */

.rainscaping {
  background: var(--deep);
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: center;
}

.rain-image {
  min-height: 680px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(5,40,28,.08), rgba(5,40,28,.2)),
    url("https://images.unsplash.com/photo-1585320806297-9794b3e4eeae?auto=format&fit=crop&w=1200&q=85")
    center/cover;
}

.rain-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.4), transparent 60%);
}

.rain-card {
  position: absolute;
  z-index: 2;
  left: 35px;
  bottom: 35px;
  padding: 25px;
  width: 230px;
  background: rgba(255,255,255,.9);
  color: var(--forest);
}

.rain-card span {
  font-size: 9px;
  letter-spacing: 2px;
}

.rain-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  margin-top: 12px;
}

.rain-content {
  max-width: 650px;
}

.rain-content h2 {
  margin: 25px 0;
}

.rain-content > p {
  color: rgba(255,255,255,.65);
  line-height: 1.8;
  max-width: 580px;
}

.benefits {
  margin-top: 45px;
}

.benefit {
  display: flex;
  gap: 25px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.14);
}

.benefit > span {
  font-size: 10px;
  color: #a9c89e;
}

.benefit h4 {
  margin-bottom: 6px;
}

.benefit p {
  color: rgba(255,255,255,.5);
  font-size: 13px;
}

/* IMPACT */

.impact {
  background: #dce6d6;
}

.impact-heading {
  max-width: 700px;
}

.impact-heading h2 {
  margin-top: 20px;
  color: var(--forest);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 90px;
  border-top: 1px solid rgba(18,59,42,.25);
  border-bottom: 1px solid rgba(18,59,42,.25);
}

.stat {
  padding: 45px 20px;
  border-right: 1px solid rgba(18,59,42,.2);
}

.stat:last-child {
  border: 0;
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(45px, 5vw, 75px);
  color: var(--forest);
  letter-spacing: -3px;
}

.stat span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

.stats-note {
  margin-top: 15px;
  font-size: 10px;
  color: #788378;
}

/* ABOUT */

.about {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: center;
}

.about-image {
  min-height: 650px;
  position: relative;
  background:
    linear-gradient(rgba(18,59,42,.05), rgba(18,59,42,.2)),
    url("https://images.unsplash.com/photo-1558521958-0a228e77e984?auto=format&fit=crop&w=1300&q=85")
    center/cover;
}

.about-stamp {
  position: absolute;
  right: -30px;
  bottom: 40px;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: #a9c59e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--forest);
  text-align: center;
}

.about-stamp span {
  font-size: 8px;
  letter-spacing: 2px;
}

.about-stamp strong {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
  margin-top: 8px;
}

.about-content h2 {
  color: var(--forest);
  margin: 25px 0;
}

.about-content p {
  max-width: 550px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
}

.about-content .btn {
  margin-top: 20px;
}

/* VALUES */

.values {
  background: #f0eee4;
}

.centered {
  display: block;
  text-align: center;
}

.centered .eyebrow {
  justify-content: center;
}

.centered h2 {
  max-width: 850px;
  margin: 25px auto 0;
  color: var(--forest);
}

.value-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.value {
  padding: 40px 30px;
  border-right: 1px solid var(--line);
}

.value:last-child {
  border: 0;
}

.value > span {
  font-size: 30px;
  color: var(--green);
}

.value h3 {
  font-size: 25px;
  color: var(--forest);
  margin: 30px 0 10px;
}

.value p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* PROJECTS */

.projects {
  background: var(--deep);
  color: white;
}

.projects .section-heading h2 {
  color: white;
}

.projects .text-link {
  color: #bdd3b5;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
}

.project {
  overflow: hidden;
}

.project.large {
  grid-row: span 2;
}

.project-photo {
  min-height: 330px;
  transition: transform .7s ease;
}

.project.large .project-photo {
  min-height: 680px;
}

.photo-one {
  background: url("https://images.unsplash.com/photo-1558904541-efa843a96f01?auto=format&fit=crop&w=1200&q=85") center/cover;
}

.photo-two {
  background: url("https://images.unsplash.com/photo-1599685315640-4b2f1a4f4c76?auto=format&fit=crop&w=1000&q=85") center/cover;
}

.photo-three {
  background: url("https://images.unsplash.com/photo-1598902108854-10e335adac99?auto=format&fit=crop&w=1000&q=85") center/cover;
}

.project:hover .project-photo {
  transform: scale(1.05);
}

.project-info {
  display: flex;
  justify-content: space-between;
  padding: 18px 0 28px;
}

.project-info span:first-child {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  color: #9aafa0;
}

.project-info h3 {
  font-size: 25px;
  margin-top: 6px;
}

.arrow {
  font-size: 22px;
}

/* TESTIMONIALS */

.testimonials {
  background: #e2e9dc;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 8vw;
  align-items: start;
}

.testimonial-title h2 {
  color: var(--forest);
  margin-top: 25px;
}

.testimonial-slider {
  position: relative;
  padding: 20px 0;
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 100px;
  color: #a5bf9b;
  line-height: .6;
}

.testimonial {
  display: none;
  animation: slideIn .5s ease;
}

.testimonial.active {
  display: block;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.testimonial p {
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.25;
  color: var(--forest);
  max-width: 750px;
}

.testimonial strong {
  display: block;
  margin-top: 35px;
}

.testimonial span {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: var(--muted);
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 45px;
}

.slider-controls button {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid var(--forest);
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  transition: .3s;
}

.slider-controls button:hover {
  background: var(--forest);
  color: white;
}

.slider-count {
  font-size: 11px;
}

/* CTA */

.cta {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  color: white;
  text-align: center;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: auto;
}

.cta .eyebrow {
  justify-content: center;
}

.cta h2 {
  margin: 25px 0;
  font-size: clamp(50px, 7vw, 100px);
}

.cta p {
  max-width: 500px;
  margin: auto;
  line-height: 1.7;
  color: rgba(255,255,255,.65);
}

.btn-light {
  margin-top: 35px;
  background: #d9e5d1;
  color: var(--forest);
}

.btn-light:hover {
  background: white;
  transform: translateY(-4px);
}

.cta-decoration {
  position: absolute;
  font-family: var(--serif);
  font-size: 25vw;
  line-height: .6;
  white-space: nowrap;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.035);
  pointer-events: none;
}

.cta-decoration span {
  font-style: italic;
}

/* FOOTER */

footer {
  background: #071d15;
  color: white;
  padding: 80px 7vw 25px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 50px;
  padding-bottom: 70px;
}

.footer-brand p {
  margin-top: 25px;
  line-height: 1.8;
  color: rgba(255,255,255,.45);
  font-size: 13px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-column h4 {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #a8c59d;
  margin-bottom: 10px;
}

.footer-column a {
  color: rgba(255,255,255,.55);
  font-size: 12px;
  transition: .3s;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,.35);
  font-size: 10px;
}

/* REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 1000px) {

  .nav-links {
    display: none;
  }

  .nav-button {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: var(--deep);
    padding: 130px 8vw;
    flex-direction: column;
    gap: 25px;
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu a {
    color: white;
    font-family: var(--serif);
    font-size: 40px;
  }

  .hero {
    padding: 120px 7vw;
  }

  .hero-badge {
    display: none;
  }

  .intro,
  .rainscaping,
  .about,
  .testimonials {
    grid-template-columns: 1fr;
  }

  .intro {
    gap: 35px;
  }

  .rainscaping {
    gap: 60px;
  }

  .rain-image,
  .about-image {
    min-height: 500px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value:nth-child(2) {
    border-right: 0;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project.large {
    grid-row: auto;
  }

  .project.large .project-photo {
    min-height: 500px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 650px) {

  .section {
    padding: 80px 6vw;
  }

  .navbar {
    padding: 0 6vw;
  }

  .hero {
    min-height: 720px;
    padding: 120px 6vw 80px;
  }

  .hero h1 {
    font-size: 60px;
    letter-spacing: -3px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-bottom {
    left: 6vw;
    right: 6vw;
  }

  .hero-location {
    display: none;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 25px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 35px;
    min-height: auto;
  }

  .service-icon {
    margin-top: 40px;
  }

  .rain-image,
  .about-image {
    min-height: 430px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    margin-top: 55px;
  }

  .stat {
    padding: 30px 10px;
  }

  .stat strong {
    font-size: 43px;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .value {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .project.large .project-photo {
    min-height: 430px;
  }

  .project-photo {
    min-height: 280px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .cta h2 {
    font-size: 55px;
  }
}