:root {
  --forest: #10281f;
  --forest-deep: #091a14;
  --evergreen: #244b3a;
  --gold: #b89154;
  --gold-dark: #92703f;
  --white: #ffffff;
  --frost: #f4f6f3;
  --ink: #1c2521;
  --muted: #66716b;
  --line: #d9dfda;
  --soft-line: rgba(255, 255, 255, 0.18);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open,
body.intro-active,
body.call-modal-open {
  overflow: hidden;
}

body.intro-active .brand-mark {
  opacity: 0;
}

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

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

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

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

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
}

h1 {
  font-size: 4.8rem;
  line-height: 0.98;
  margin-bottom: 24px;
  max-width: 800px;
}

h2 {
  font-size: 3.65rem;
  line-height: 1.04;
  margin-bottom: 0;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.3;
}

.site-intro {
  background: var(--white);
  display: none;
  inset: 0;
  place-items: center;
  position: fixed;
  transform: translateY(0);
  transition: transform 850ms cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
  z-index: 100;
}

.site-intro.is-active {
  display: grid;
}

.site-intro.is-leaving {
  pointer-events: none;
  transform: translateY(-100%);
}

.site-intro-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px;
}

.site-intro-mark {
  align-items: center;
  aspect-ratio: 1;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center;
  transition: transform 850ms cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
  width: clamp(140px, 16vw, 190px);
}

.site-intro.is-leaving .site-intro-mark {
  transform:
    translate3d(
      var(--intro-logo-x, 0px),
      calc(var(--intro-logo-y, 0px) + 100vh),
      0
    )
    scale(var(--intro-logo-scale, 1));
}

.site-intro-mark::before {
  animation: intro-ring 900ms ease-out both;
  border: 1px solid rgba(16, 40, 31, 0.38);
  border-radius: inherit;
  content: "";
  inset: 0;
  position: absolute;
}

.site-intro-mark img {
  animation: intro-logo 850ms 120ms ease-out both;
  width: 90%;
}

.site-intro-name {
  animation: intro-logo 850ms 240ms ease-out both;
  color: var(--forest);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 500;
  margin: 0;
  text-align: center;
}

@keyframes intro-ring {
  from {
    opacity: 0;
    transform: scale(0.78);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes intro-logo {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.site-header {
  align-items: center;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 16px 5vw;
  position: fixed;
  right: 0;
  top: 0;
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  z-index: 40;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-color: var(--line);
  box-shadow: 0 12px 34px rgba(9, 26, 20, 0.08);
}

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

.brand-mark {
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  height: 60px;
  justify-content: center;
  overflow: hidden;
  padding: 3px;
  width: 60px;
}

.site-header.scrolled .brand-mark {
  border-color: rgba(16, 40, 31, 0.28);
}

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

.brand-text {
  min-width: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.08;
}

.brand strong {
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.18rem;
  font-weight: 600;
}

.brand small {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 5px;
  text-transform: uppercase;
}

.site-header.scrolled .brand strong {
  color: var(--forest);
}

.site-header.scrolled .brand small {
  color: var(--muted);
}

.nav-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 2px;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  height: 46px;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 46px;
  z-index: 2;
}

.nav-toggle span {
  background: var(--white);
  display: block;
  height: 2px;
  transition: background 200ms ease;
  width: 25px;
}

.site-header.scrolled .nav-toggle span,
body.nav-open .nav-toggle span {
  background: var(--forest);
}

.site-nav {
  background: var(--white);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 70px rgba(9, 26, 20, 0.14);
  display: none;
  flex-direction: column;
  max-width: 440px;
  min-height: 100vh;
  padding: 118px 38px 38px;
  position: fixed;
  right: 0;
  top: 0;
  width: min(90vw, 440px);
  z-index: 1;
}

.site-nav.open {
  display: flex;
}

.site-nav a {
  border-bottom: 1px solid var(--line);
  color: var(--forest);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
  padding: 20px 0;
}

.site-nav a:last-child {
  color: var(--gold-dark);
}

.hero {
  align-items: flex-end;
  background: url("assets/hero-landscape.png") center / cover no-repeat;
  display: flex;
  min-height: min(800px, 86svh);
  overflow: hidden;
  padding: 160px 5vw 68px;
  position: relative;
}

.hero::before {
  background:
    linear-gradient(
      90deg,
      rgba(5, 20, 15, 0.82) 0%,
      rgba(5, 20, 15, 0.58) 47%,
      rgba(5, 20, 15, 0.12) 78%,
      rgba(5, 20, 15, 0) 100%
    );
  content: "";
  inset: 0;
  position: absolute;
}

.hero-panel {
  color: var(--white);
  max-width: 870px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 800;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.hero .eyebrow,
.why-section .eyebrow,
.quote-section .eyebrow {
  color: #d4b47c;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 640px;
}

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

.hero-note {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  margin: 18px 0 0;
}

.button {
  align-items: center;
  border-radius: 2px;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 800;
  justify-content: center;
  min-height: 54px;
  padding: 0 27px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button-primary {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--forest-deep);
}

.button-primary:hover {
  background: #c9a66c;
  border-color: #c9a66c;
}

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

.button-secondary:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--forest);
}

.button-dark {
  background: var(--forest);
  border: 1px solid var(--forest);
  color: var(--white);
}

.button-dark:hover {
  background: var(--evergreen);
  border-color: var(--evergreen);
}

.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 5vw;
}

.trust-bar p {
  border-right: 1px solid var(--line);
  color: var(--forest);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  margin: 0;
  padding: 25px 28px;
  text-align: center;
}

.trust-bar p:first-child {
  border-left: 1px solid var(--line);
}

.section {
  padding: 112px 5vw;
}

.section-heading {
  margin: 0 auto 54px;
  max-width: 1400px;
}

.section-heading h2 {
  max-width: 880px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin: 24px 0 0;
  max-width: 620px;
}

.service-band {
  background: var(--white);
}

.service-grid {
  display: grid;
  gap: 42px 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1400px;
}

.service-card {
  min-width: 0;
}

.service-media {
  aspect-ratio: 5 / 4;
  background-color: var(--frost);
  background-position: center;
  background-size: cover;
}

.service-media-one {
  background-image: url("assets/services/landscape-design.jpg");
  background-position: 50% 48%;
}

.service-media-two {
  background-image: url("assets/services/landscape-construction.jpg");
  background-position: 50% 54%;
}

.service-media-three {
  background-image: url("assets/services/lawn-maintenance.jpg");
  background-position: 42% 50%;
}

.service-media-four {
  background-image: url("assets/services/irrigation-drainage.jpg");
  background-position: 45% 52%;
}

.service-media-five {
  background-image: url("assets/services/landscape-enhancements.jpg");
  background-position: 50% 58%;
}

.service-media-six {
  background-image: url("assets/services/seasonal-cleanup.jpg");
  background-position: 50% 50%;
}

.service-card-body {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 19px 2px 17px;
}

.service-card-body span {
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 800;
}

.service-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
  margin: 0;
  text-align: right;
}

.services-cta {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin: 62px auto 0;
  max-width: 1400px;
  padding-top: 28px;
}

.services-cta p {
  color: var(--forest);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.65rem;
  margin: 0;
}

.why-section {
  background: var(--forest);
  color: var(--white);
}

.why-section .section-heading > p:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.why-grid {
  border-bottom: 1px solid var(--soft-line);
  border-top: 1px solid var(--soft-line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1400px;
}

.why-grid article {
  border-right: 1px solid var(--soft-line);
  min-height: 260px;
  padding: 36px 36px 42px;
}

.why-grid article:last-child {
  border-right: 0;
}

.why-grid span,
.timeline span {
  color: var(--gold);
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  margin-bottom: 46px;
}

.why-grid h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 500;
  margin-bottom: 14px;
}

.why-grid p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  margin: 0;
}

.process-section {
  background: var(--frost);
  color: var(--ink);
  padding: 112px 5vw;
}

.process-section .section-heading,
.timeline {
  margin-left: auto;
  margin-right: auto;
  max-width: 1400px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline article {
  border-top: 1px solid var(--line);
  min-height: 250px;
  padding: 30px 34px 20px 0;
}

.timeline article + article {
  border-left: 1px solid var(--line);
  padding-left: 34px;
}

.timeline span {
  margin-bottom: 40px;
}

.timeline h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 500;
  margin-bottom: 14px;
}

.timeline p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
  max-width: 330px;
}

.quote-section {
  align-items: start;
  background: var(--forest-deep);
  color: var(--white);
  display: grid;
  gap: 7vw;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  padding: 112px 5vw;
}

.contact-copy {
  max-width: 650px;
}

.contact-copy h2 {
  margin-bottom: 24px;
}

.contact-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  max-width: 540px;
}

.contact-details {
  display: grid;
  margin-top: 42px;
}

.contact-details a,
.contact-details > span {
  border-top: 1px solid var(--soft-line);
  display: grid;
  gap: 5px;
  padding: 18px 0;
}

.contact-details small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-details strong {
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.22rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.contact-form {
  background: var(--white);
  color: var(--ink);
  display: grid;
  gap: 18px;
  padding: 38px;
}

.form-heading {
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
  padding-bottom: 22px;
}

.form-heading h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-heading p {
  color: var(--muted);
  margin: 0;
}

.contact-form label {
  color: var(--forest);
  display: grid;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--frost);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  min-height: 52px;
  padding: 13px 14px;
  width: 100%;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(184, 145, 84, 0.16);
  outline: 0;
}

.contact-form .button {
  width: 100%;
}

.form-note {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  min-height: 22px;
}

.call-modal[hidden] {
  display: none;
}

.call-modal {
  align-items: center;
  background: rgba(6, 17, 13, 0.68);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 90;
}

.call-modal-card {
  background: var(--white);
  box-shadow: 0 28px 80px rgba(6, 17, 13, 0.32);
  color: var(--ink);
  max-width: 460px;
  padding: 42px;
  position: relative;
  text-align: center;
  width: min(100%, 460px);
}

.call-modal-close {
  align-items: center;
  background: var(--frost);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  height: 38px;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 38px;
}

.call-modal-close::before,
.call-modal-close::after {
  background: var(--forest);
  content: "";
  height: 2px;
  position: absolute;
  width: 16px;
}

.call-modal-close::before {
  transform: rotate(45deg);
}

.call-modal-close::after {
  transform: rotate(-45deg);
}

.call-modal .eyebrow {
  color: var(--gold-dark);
  justify-content: center;
  margin-bottom: 12px;
}

.call-modal h2 {
  font-size: clamp(2.25rem, 8vw, 4rem);
  line-height: 1;
  margin-bottom: 16px;
}

.call-modal p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 24px;
}

.call-modal .button {
  width: 100%;
}

.site-footer {
  align-items: center;
  background: #06110d;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  justify-content: space-between;
  padding: 32px 5vw;
}

.site-footer strong {
  color: var(--white);
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  margin-bottom: 5px;
}

.site-footer p {
  font-size: 0.78rem;
  margin: 0;
}

.site-footer a {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
}

@media (max-width: 1040px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 3rem;
  }

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

  .quote-section {
    gap: 60px;
    grid-template-columns: 1fr;
  }

  .contact-copy {
    max-width: 760px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 11px 18px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    height: 48px;
    width: 48px;
  }

  .brand strong {
    font-size: 0.94rem;
    line-height: 1.12;
    max-width: 210px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    height: 44px;
    width: 44px;
  }

  .site-nav {
    padding: 88px 24px 24px;
  }

  .site-nav a {
    font-size: 1.45rem;
  }

  .hero {
    background-position: 58% center;
    min-height: 84svh;
    padding: 130px 18px 52px;
  }

  .hero::before {
    background: rgba(5, 20, 15, 0.6);
  }

  h1 {
    font-size: 3.05rem;
    line-height: 1;
  }

  h2 {
    font-size: 2.45rem;
  }

  .hero-copy {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .trust-bar {
    grid-template-columns: 1fr;
    padding: 0 18px;
  }

  .trust-bar p,
  .trust-bar p:first-child {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--line);
    padding: 15px 0;
  }

  .trust-bar p:first-child {
    border-top: 0;
  }

  .section,
  .process-section,
  .quote-section {
    padding: 78px 18px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading > p:last-child {
    margin-top: 18px;
  }

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

  .service-grid {
    gap: 34px;
  }

  .service-media {
    aspect-ratio: 16 / 11;
  }

  .service-card h3 {
    font-size: 1.32rem;
  }

  .services-cta {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    margin-top: 46px;
  }

  .services-cta .button {
    width: 100%;
  }

  .why-grid article {
    border-bottom: 1px solid var(--soft-line);
    border-right: 0;
    min-height: auto;
    padding: 30px 0 34px;
  }

  .why-grid article:last-child {
    border-bottom: 0;
  }

  .why-grid span,
  .timeline span {
    margin-bottom: 28px;
  }

  .timeline article,
  .timeline article + article {
    border-left: 0;
    min-height: auto;
    padding: 28px 0 34px;
  }

  .quote-section {
    gap: 48px;
  }

  .contact-form {
    padding: 25px 20px;
  }

  .form-heading h3 {
    font-size: 1.72rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 28px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .site-intro-mark,
  .site-intro-mark::before,
  .site-intro-mark img,
  .site-intro-name {
    animation: none;
  }
}
