:root {
  --moss: #173427;
  --moss-deep: #081611;
  --leaf: #7aa95c;
  --sage: #d9e1c7;
  --cream: #f7f3e8;
  --clay: #c77745;
  --stone: #8d907f;
  --ink: #182019;
  --white: #ffffff;
  --glass: rgba(247, 243, 232, 0.12);
  --shadow: 0 30px 90px rgba(8, 22, 17, 0.28);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.container {
  width: min(var(--max), calc(100% - 36px));
  margin-inline: auto;
}

.section-pad {
  padding: clamp(82px, 10vw, 140px) 0;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  z-index: 999;
  left: 1rem;
  top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--moss-deep);
  background: var(--sage);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 16px 0;
  transition: background 220ms ease, box-shadow 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(8, 22, 17, 0.82);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px);
  padding: 10px 0;
}

.nav-shell {
  width: min(var(--max), calc(100% - 28px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--cream);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(247, 243, 232, 0.28);
  border-radius: 18px;
  color: var(--moss-deep);
  background: linear-gradient(135deg, var(--sage), #f8e7bd);
  font-weight: 900;
  font-size: 0.78rem;
}

.brand strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: rgba(247, 243, 232, 0.68);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(247, 243, 232, 0.18);
  border-radius: 999px;
  background: rgba(247, 243, 232, 0.08);
  backdrop-filter: blur(18px);
}

.nav-menu a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(247, 243, 232, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--cream);
  background: rgba(247, 243, 232, 0.12);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(247, 243, 232, 0.22);
  border-radius: 16px;
  background: rgba(247, 243, 232, 0.08);
  color: var(--cream);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--cream);
  padding-top: 148px;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background: url("../../assets/demo-redesign/verdant-hero.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    radial-gradient(circle at 72% 22%, rgba(199, 119, 69, 0.28), transparent 33%),
    linear-gradient(90deg, rgba(8, 22, 17, 0.9) 0%, rgba(8, 22, 17, 0.6) 42%, rgba(8, 22, 17, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 22, 17, 0.92) 0%, transparent 46%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: end;
  gap: clamp(28px, 7vw, 90px);
}

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

.hero h1,
.section-heading h2,
.feature-copy h2,
.plans-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(4.2rem, 10.5vw, 9.4rem);
}

.hero-lede {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(247, 243, 232, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  color: var(--moss-deep);
  background: linear-gradient(135deg, #f7e3a5, var(--leaf));
  box-shadow: 0 18px 50px rgba(122, 169, 92, 0.3);
}

.btn-ghost {
  color: var(--cream);
  border-color: rgba(247, 243, 232, 0.28);
  background: rgba(247, 243, 232, 0.1);
  backdrop-filter: blur(12px);
}

.hero-panel {
  margin-bottom: 14px;
  padding: 28px;
  border: 1px solid rgba(247, 243, 232, 0.22);
  border-radius: var(--radius-lg);
  background: rgba(8, 22, 17, 0.48);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.panel-kicker {
  color: var(--sage);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-top: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.hero-panel p {
  margin: 14px 0 22px;
  color: rgba(247, 243, 232, 0.74);
}

.panel-meter {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(247, 243, 232, 0.14);
}

.panel-meter span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--leaf), #f7e3a5);
}

.proof-strip {
  color: var(--cream);
  background: var(--moss-deep);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(247, 243, 232, 0.14);
}

.proof-grid div {
  padding: clamp(24px, 4vw, 42px);
  background: var(--moss-deep);
}

.proof-grid strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.proof-grid span {
  color: rgba(247, 243, 232, 0.68);
  font-weight: 800;
}

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

.section-heading h2,
.feature-copy h2,
.plans-copy h2,
.contact-copy h2 {
  color: var(--moss-deep);
  font-size: clamp(2.8rem, 7vw, 6.6rem);
}

.section-heading p:last-child,
.feature-copy p,
.plans-copy p,
.contact-copy p {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(24, 32, 25, 0.72);
  font-size: 1.05rem;
}

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

.service-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgba(23, 52, 39, 0.12);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.34));
  box-shadow: 0 22px 60px rgba(23, 52, 39, 0.08);
}

.service-number {
  width: max-content;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--moss);
  background: rgba(122, 169, 92, 0.18);
  font-size: 0.76rem;
  font-weight: 900;
}

.service-card h3,
.timeline-item h3 {
  margin: auto 0 12px;
  color: var(--moss-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.service-card p,
.timeline-item p,
.pricing-card p {
  margin: 0;
  color: rgba(24, 32, 25, 0.68);
}

.feature {
  background: #edf1df;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(36px, 7vw, 90px);
}

.feature-media {
  position: relative;
}

.feature-media img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.media-note {
  position: absolute;
  right: 22px;
  bottom: 22px;
  max-width: 320px;
  padding: 20px;
  border: 1px solid rgba(247, 243, 232, 0.22);
  border-radius: 22px;
  color: var(--cream);
  background: rgba(8, 22, 17, 0.72);
  backdrop-filter: blur(18px);
}

.media-note strong,
.media-note span {
  display: block;
}

.media-note strong {
  margin-bottom: 6px;
}

.media-note span {
  color: rgba(247, 243, 232, 0.72);
  font-size: 0.92rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.check-list p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--moss-deep);
  font-weight: 800;
}

.check-list span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--leaf);
  box-shadow: 0 0 0 7px rgba(122, 169, 92, 0.16);
}

.process {
  color: var(--cream);
  background:
    radial-gradient(circle at 0% 20%, rgba(122, 169, 92, 0.24), transparent 34%),
    var(--moss-deep);
}

.process .section-heading h2 {
  color: var(--cream);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.timeline-item {
  padding: 30px;
  border: 1px solid rgba(247, 243, 232, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(247, 243, 232, 0.06);
}

.timeline-item span {
  display: block;
  margin-bottom: 72px;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.timeline-item h3 {
  color: var(--cream);
}

.timeline-item p {
  color: rgba(247, 243, 232, 0.68);
}

.plans-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.pricing-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border: 1px solid rgba(23, 52, 39, 0.12);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 22px 60px rgba(23, 52, 39, 0.08);
}

.pricing-card.featured {
  color: var(--cream);
  background:
    linear-gradient(150deg, rgba(199, 119, 69, 0.24), transparent 45%),
    var(--moss);
  transform: translateY(-18px);
}

.pricing-card span {
  margin-bottom: auto;
  color: var(--leaf);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pricing-card strong {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.pricing-card.featured p {
  color: rgba(247, 243, 232, 0.74);
}

.contact {
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(122, 169, 92, 0.22), transparent 35%),
    var(--moss-deep);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
}

.contact-copy h2 {
  color: var(--cream);
}

.contact-copy p {
  color: rgba(247, 243, 232, 0.72);
}

address {
  margin-top: 32px;
  font-style: normal;
  color: rgba(247, 243, 232, 0.78);
}

address a {
  color: var(--sage);
  font-weight: 900;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(247, 243, 232, 0.16);
  border-radius: var(--radius-xl);
  background: rgba(247, 243, 232, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: rgba(247, 243, 232, 0.72);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(247, 243, 232, 0.16);
  border-radius: 18px;
  padding: 15px 16px;
  color: var(--cream);
  background: rgba(8, 22, 17, 0.58);
  outline: none;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: rgba(217, 225, 199, 0.7);
  box-shadow: 0 0 0 4px rgba(122, 169, 92, 0.18);
}

.lead-form option {
  color: var(--ink);
}

.form-note {
  margin: 0;
  color: rgba(247, 243, 232, 0.62);
  font-size: 0.88rem;
}

.form-note.success {
  color: var(--sage);
}

.site-footer {
  padding: 34px 0;
  color: rgba(247, 243, 232, 0.68);
  background: #050d0a;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-grid p {
  margin: 0;
}

.footer-grid > a:last-child {
  color: var(--sage);
  font-weight: 900;
}

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

.reveal.is-visible,
.reveal.above-fold {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: 78px 14px auto;
    display: grid;
    gap: 6px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(8, 22, 17, 0.94);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-menu a {
    padding: 14px 16px;
  }

  .hero-grid,
  .feature-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-panel {
    margin-top: 28px;
  }

  .proof-grid,
  .service-grid,
  .timeline,
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plans-copy {
    grid-column: 1 / -1;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .section-pad {
    padding: 72px 0;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 15px;
  }

  .hero {
    padding-top: 128px;
    padding-bottom: 54px;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 17vw, 4.8rem);
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 22, 17, 0.88), rgba(8, 22, 17, 0.38)),
      linear-gradient(0deg, rgba(8, 22, 17, 0.96), rgba(8, 22, 17, 0.1));
  }

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

  .btn {
    width: 100%;
  }

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

  .service-card,
  .timeline-item,
  .pricing-card {
    min-height: 250px;
  }

  .timeline-item span {
    margin-bottom: 42px;
  }

  .feature-media img {
    min-height: 380px;
  }

  .media-note {
    position: static;
    margin-top: -56px;
    margin-inline: 14px;
  }

  .section-heading h2,
  .feature-copy h2,
  .plans-copy h2,
  .contact-copy h2 {
    font-size: clamp(2.5rem, 13vw, 4.3rem);
  }
}

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

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