@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-800.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-600.ttf") format("truetype");
  font-weight: 600 800;
  font-display: swap;
}

:root {
  --color-page: #071e14;
  --color-section-alt: #0b291b;
  --color-surface: #102d20;
  --color-surface-2: #183b29;
  --color-ink: #f7f7ee;
  --color-muted: #d0d9cd;
  --color-line: #ffffff26;
  --color-brand: #60982c;
  --color-brand-dark: #04150e;
  --color-brand-hover: #77b63c;
  --color-accent: #a2cb5b;
  --color-accent-soft: #a2cb5b16;
  --font-display: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --site-width: 1180px;
  --section-space: clamp(64px, 7vw, 100px);
  --gutter: clamp(22px, 5vw, 64px);
  --radius: 6px;
}

body { -webkit-font-smoothing: antialiased; }
::selection { background: #a2cb5b; color: #071e14; }
a, button, input, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 6px; }
.section h2 { font-weight: 800; text-transform: uppercase; font-size: clamp(2.5rem, 4.4vw, 4rem); }
.section p { line-height: 1.65; }
.section .section-eyebrow, .hero .section-eyebrow { color: var(--color-accent); letter-spacing: .15em; font-size: .76rem; font-weight: 600; }
.section + .section { border-top: 0; }

/* The header sits over the photograph, as in the reference. */
#site-header { position: absolute; inset: 0 0 auto; z-index: 50; }
.site-header { position: relative; padding-top: 26px; padding-bottom: 20px; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; }
.nav { gap: 30px; }
.brand { gap: 12px; flex-shrink: 0; }
.brand-tree { display: block; width: 70px; height: 70px; flex-shrink: 0; }
.brand .brand-wordmark, .footer-lockup .brand-wordmark { display: grid; gap: 3px; overflow: visible; }
.brand-wordmark strong, .footer-lockup .brand-wordmark strong { font: 800 2.6rem/.9 var(--font-display); text-transform: uppercase; letter-spacing: -.02em; }
.brand-wordmark small { font: 600 .64rem/1.2 var(--font-body); text-transform: uppercase; letter-spacing: .075em; white-space: nowrap; }
.nav-links { flex-wrap: nowrap; gap: 25px; }
.nav-links a { position: relative; color: #f7f7ee; font-size: .85rem; font-weight: 600; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.nav-links a::after { content: ""; position: absolute; bottom: 3px; left: 0; width: 100%; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform 220ms ease; }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }
.nav-action { flex-shrink: 0; }
.nav-action .button { margin: 0; padding: 13px 18px; min-height: 46px; font-size: .82rem; }
.nav-toggle { color: #fff; border-color: #ffffff60; background: #0b291b; }
.nav-toggle span { background: currentColor; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 16px 24px; margin-top: 0; border: 1px solid #a2cb5b40; border-radius: 5px; background: linear-gradient(135deg, #74aa39, #528b27); box-shadow: 0 6px 22px #0003; font: 600 .95rem/1.3 var(--font-body); letter-spacing: 0; text-transform: none; transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.button svg { width: 18px; height: 18px; flex-shrink: 0; fill: currentColor; }
.button-arrow { font-size: 1.25rem; line-height: 1; transition: transform 220ms ease; }
.button-secondary { color: #fff; background: #06150c52; border: 1px solid #e8eeddaf; box-shadow: none; }
.button:active { transform: translateY(1px); }
.hero-actions { margin-top: 30px; gap: 16px; }

.home-hero.hero-image-ready.hero-with-image { min-height: 790px; min-height: min(920px, max(760px, 92svh)); align-items: center; padding-top: 130px; padding-bottom: 110px; }
.home-hero .inner { padding-top: 40px; padding-bottom: 40px; }
.home-hero.hero-with-image::before { background: linear-gradient(90deg, #02160ef2 0%, #03180ed9 32%, #03180e7a 58%, #03180e12 85%), linear-gradient(0deg, #061d14c9, transparent 30%, transparent 75%, #01110d99); }
.home-hero.hero-with-image h1 { max-width: 850px; margin: 16px 0 24px; font: 800 clamp(4.2rem, 8.2vw, 7.8rem)/.94 var(--font-display); text-transform: uppercase; letter-spacing: -.025em; text-shadow: 0 3px 24px #0002; }
.home-hero h1 .text-accent { display: block; }
.home-hero.hero-with-image p:not(.section-eyebrow) { max-width: 560px; color: #f6f7f0; font-size: clamp(1rem, 1.4vw, 1.16rem); line-height: 1.55; }
.home-hero.hero-with-image .section-eyebrow { color: #b8da78; }
.hero-background-image { object-position: 65% 45% !important; }

/* Irregular edges connect the forest sections without a hard horizontal seam. */
.home-services { position: relative; isolation: isolate; background: #092819 !important; }
.home-services::before, .home-process::before { content: ""; position: absolute; z-index: 3; inset: -20px 0 auto; height: 22px; background: #092819; clip-path: polygon(0 45%, 2% 61%, 4% 38%, 7% 58%, 9% 28%, 13% 48%, 16% 22%, 19% 43%, 22% 24%, 25% 55%, 29% 33%, 33% 62%, 37% 35%, 40% 53%, 43% 29%, 47% 54%, 50% 38%, 54% 62%, 58% 32%, 61% 51%, 65% 26%, 68% 47%, 72% 28%, 76% 60%, 80% 34%, 84% 54%, 88% 25%, 92% 47%, 96% 21%, 100% 43%, 100% 100%, 0 100%); }
.home-services::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .035; background: url("../media/images/df5b59d6-bc41-43c6-a96a-d9c442c43c25.webp") center/cover; }
.home-services > .inner > .section-eyebrow { display: none; }
.home-services h2 { max-width: none; text-align: center; font-size: clamp(2.5rem, 4.4vw, 4rem); }
.home-services > .inner > .section-lede { max-width: 800px; margin: 18px auto 0; text-align: center; }
.home-services .service-note-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 44px; }
.home-services .service-note-grid article { min-width: 0; padding: 0; border: 0; border-radius: 6px; background: transparent; transition: transform 280ms ease; }
.service-photo-wrap { overflow: hidden; border-radius: 6px; margin-bottom: 22px; aspect-ratio: 1; background: #173c28; }
.home-services .service-photo { width: 100%; height: 100%; aspect-ratio: 1; margin: 0; border-radius: 0; transition: transform 650ms cubic-bezier(.2,.65,.3,1), filter 400ms ease; }
.home-services .service-note-grid h3 { color: #fff; font: 600 1.16rem/1.25 var(--font-body); letter-spacing: -.02em; text-transform: none; margin-bottom: 15px; }
.home-services .service-note-grid p { font-size: .94rem; line-height: 1.55; }

.home-process { position: relative; isolation: isolate; overflow: visible; background: #111d12 !important; }
.home-process::before { background: #111d12; }
.home-process::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #111a13df, #05150df2), linear-gradient(0deg, #04170c, transparent); pointer-events: none; }
.process-intro { display: block; text-align: center; }
.process-intro .section-eyebrow { display: none; }
.process-intro h2 { max-width: none; }
.process-intro .section-lede { max-width: 720px; margin: 18px auto 0; }
.process-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; max-height: none; aspect-ratio: auto; border-radius: 0; object-fit: cover; object-position: 50% 75%; filter: saturate(.5); }
.home-process .benefit-list { gap: 0; margin: 48px 0 0; }
.home-process .benefit-card { min-height: 0; padding: 0 32px; border: 0; border-right: 1px solid #e9f0dc25; border-radius: 0; background: transparent; text-align: center; transition: transform 250ms ease; }
.home-process .benefit-card:first-child { padding-left: 0; }
.home-process .benefit-card:last-child { padding-right: 0; border-right: 0; }
.process-symbol { display: flex; justify-content: center; align-items: center; gap: 14px; margin-bottom: 24px; color: var(--color-accent); transition: transform 250ms ease; }
.process-symbol span { font: 800 2.1rem/1 var(--font-display); }
.process-symbol svg { width: 49px; height: 49px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.home-process .benefit-card h3 { font: 600 1.15rem/1.3 var(--font-body); margin-bottom: 13px; }
.home-process .benefit-card p { font-size: .95rem; }

.faq { background: #071e14 !important; }
.faq-copy .section-eyebrow { margin-bottom: 16px; }
.faq-copy h2 { max-width: 430px; }
.faq-list { border: 0; border-radius: 0; overflow: visible; }
.faq-list details { padding: 22px 0; background: transparent; transition: background 220ms ease, padding 220ms ease; }
.faq-list details:first-child { padding-top: 0; }
.faq-list summary { font-size: 1rem; font-weight: 600; }
.faq-list summary::after { font-size: 1.5rem; font-weight: 400; }
.faq-list details[open] summary { color: var(--color-accent); }
.faq-list p { font-size: .95rem; line-height: 1.65; }

.location-contact { background: #0c291c !important; }
.contact-layout { align-items: center; gap: clamp(36px, 6vw, 84px); }
.contact-copy > .section-eyebrow { margin-bottom: 16px; }
.contact-copy h2 { margin-bottom: 20px; }
.contact-card { padding: 22px 0; border: 0; border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); background: transparent; border-radius: 0; }
.contact-card strong { display: block; margin-bottom: 10px; }
.contact-details { font-size: .9rem; }
.estimate-photo { aspect-ratio: 4/5; margin-top: 0; max-height: 620px; border-radius: 6px; }
.form-field { font-size: .84rem; font-weight: 600; gap: 9px; }
.form-field input, .form-field textarea { min-height: 49px; padding: 12px 14px; background: #ffffff06; border-color: #ffffff30; border-radius: 4px; color: #fff; font-size: 1rem; font-weight: 400; transition: border-color 200ms, background 200ms, box-shadow 200ms; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--color-accent); background: #ffffff09; box-shadow: 0 0 0 3px #a2cb5b18; outline: 0; }
.form-field input[type="file"] { font-size: .8rem; padding: 10px; }
.form-field input::file-selector-button { margin-right: 12px; border: 1px solid #a2cb5b60; border-radius: 3px; background: #264b2b; padding: 8px 10px; color: #fff; cursor: pointer; font: inherit; }
.form-field input::file-selector-button:hover { background: #3a6635; }
.location-contact .form-help { font-size: .76rem; color: #aebba9; }
.lead-form-status[data-status="preview"] { color: var(--color-accent); background: #a2cb5b0c; border-color: #a2cb5b50; }

.site-footer { padding-top: 54px; background: #04150e; border-top: 1px solid #ffffff12; }
.footer-content { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-bottom: 48px; }
.footer-column h2 { color: var(--color-accent); }
.footer-links a, .footer-visit address, .footer-visit a { font-size: .88rem; line-height: 1.6; }
.footer-bottom { font-size: .74rem; }
.footer-bottom-wrap { border-color: #ffffff12; }
.footer-bottom p:last-child { justify-self: start; }
.footer-links a, .footer-visit a, .contact-details a { transition: color 200ms ease; text-underline-offset: 4px; }

.mock-lead-dialog {
  width: min(500px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  overflow: auto;
  padding: clamp(24px, 5vw, 36px);
  background: #0c291c;
  color: var(--color-ink);
  border: 1px solid #a2cb5b55;
  border-radius: 10px;
  box-shadow: 0 24px 100px #0009;
}
.mock-lead-dialog[open] { animation: hero-enter 220ms ease both; }
.mock-lead-dialog::backdrop { background: #010c08c9; backdrop-filter: blur(6px); }
.mock-lead-dialog h2 { margin: 12px 28px 14px 0; font: 800 clamp(2.3rem, 6vw, 3rem)/1 var(--font-display); text-transform: uppercase; }
.mock-lead-dialog > p:not(.section-eyebrow) { color: var(--color-muted); font-size: .9rem; line-height: 1.55; }
.mock-lead-dialog .lead-capture-form { margin-top: 24px; gap: 18px; }
.mock-lead-dialog .button { width: 100%; cursor: pointer; }
.mock-lead-dialog .lead-modal-close { font-size: 1.35rem; line-height: 1; transition: color 180ms, border-color 180ms; }
.mock-lead-dialog .lead-modal-close:hover { color: var(--color-accent); border-color: var(--color-accent); }
.footer-link-button { color: var(--color-muted); font-size: .88rem; line-height: 1.6; transition: color 200ms; }
.footer-link-button:hover { color: var(--color-accent); }

/* Scroll reveals only activate when IntersectionObserver is available. */
[data-reveal], .home-services .service-note-grid article[data-reveal], .home-process .benefit-card[data-reveal] { transition: opacity 700ms ease, translate 700ms cubic-bezier(.2,.65,.3,1), transform 250ms ease; transition-delay: var(--reveal-delay, 0ms); }
[data-reveal].reveal-pending { opacity: 0; translate: 0 26px; }
[data-reveal].is-visible { opacity: 1; translate: 0 0; }
.home-hero .inner { animation: hero-enter 800ms ease both; }
@keyframes hero-enter { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }

@media (hover: hover) and (pointer: fine) {
  .button:hover { background: linear-gradient(135deg, #86bd49, #619e2d); box-shadow: 0 10px 30px #0005, 0 0 20px #85b94520; transform: translateY(-3px); border-color: #b9da83; }
  .button-secondary:hover { color: #fff; background: #ffffff16; border-color: var(--color-accent); }
  .button:hover .button-arrow { transform: translateX(4px); }
  .home-services article:hover { transform: translateY(-7px); }
  .home-services article:hover .service-photo { transform: scale(1.055); filter: brightness(1.08); }
  .home-services article:hover h3 { color: var(--color-accent); }
  .home-process .benefit-card:hover .process-symbol { transform: translateY(-5px); }
  .faq-list summary:hover, .footer-links a:hover, .footer-visit a:hover { color: var(--color-accent); }
}

@media (max-width: 1050px) {
  .nav { gap: 20px; }
  .nav-links { gap: 18px; }
  .brand-tree { width: 56px; height: 56px; }
  .brand-wordmark strong { font-size: 2.25rem; }
  .brand-wordmark small { font-size: .56rem; }
  .nav-action .button { padding: 12px; font-size: .75rem; }
  .home-services .service-note-grid { gap: 20px; }
  .home-services .service-note-grid h3 { font-size: 1.05rem; }
}

@media (max-width: 850px) {
  .nav { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; }
  .nav-toggle { display: grid; grid-column: 3; grid-row: 1; }
  .nav-action { grid-column: 2; grid-row: 1; }
  .nav-links { display: none; grid-column: 1/-1; margin: 10px 0 0; padding: 16px 22px; width: 100%; background: #082419fa; border: 1px solid #ffffff26; border-radius: 6px; }
  .nav.nav-open .nav-links { display: grid; grid-template-columns: 1fr; justify-items: stretch; }
  .nav-links a { justify-content: flex-start; font-size: .95rem; }
  .home-services .service-note-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 24px; }
  .home-services .service-note-grid h3 { font-size: 1.2rem; }
  .hero-background-image { object-position: 70% 45% !important; }
  .home-hero.hero-image-ready.hero-with-image { min-height: 760px; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 720px) {
  .home-hero.hero-with-image::before { background: linear-gradient(90deg, #02160ef2, #03180e99), linear-gradient(0deg, #061d14b3, transparent); }
  .home-hero.hero-image-ready.hero-with-image { min-height: 760px; padding-top: 120px; padding-bottom: 70px; }
  .home-hero.hero-with-image h1 { font-size: clamp(3.9rem, 11vw, 5.5rem); }
  .home-hero.hero-with-image p:not(.section-eyebrow) { max-width: 490px; }
  .home-process .benefit-list { grid-template-columns: 1fr; gap: 30px; }
  .home-process .benefit-card, .home-process .benefit-card:first-child, .home-process .benefit-card:last-child { padding: 0 0 30px; border-right: 0; border-bottom: 1px solid #ffffff26; }
  .home-process .benefit-card:last-child { padding-bottom: 0; border-bottom: 0; }
  .home-process .benefit-card p { max-width: 420px; margin: 0 auto; }
  .process-photo { max-height: none; }
  .faq-layout { gap: 30px; }
  .faq-copy h2 { max-width: 520px; }
  .footer-bottom { padding-top: 20px; padding-bottom: 20px; }
}

@media (max-width: 480px) {
  .site-header { padding-top: 20px; }
  .nav { gap: 10px; }
  .brand { gap: 7px; }
  .brand-tree { width: 43px; height: 49px; }
  .brand-wordmark strong { font-size: 1.8rem; }
  .brand-wordmark small { font-size: .46rem; }
  .header-phone span { display: none; }
  .nav-action .header-phone { width: 42px; height: 42px; min-height: 42px; padding: 10px; }
  .home-hero.hero-image-ready.hero-with-image { min-height: 740px; padding-top: 110px; padding-bottom: 60px; }
  .home-hero .inner { padding: 26px 0; }
  .home-hero.hero-with-image h1 { font-size: clamp(3.3rem, 12.4vw, 4.5rem); }
  .hero-actions { gap: 12px; }
  .hero-actions .button { width: 100%; }
  .home-services .service-note-grid { grid-template-columns: 1fr; gap: 36px; }
  .service-photo-wrap { aspect-ratio: 4/3; }
  .footer-content { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal].reveal-pending { opacity: 1; translate: none; }
  .button:hover, .home-services article:hover, .home-services article:hover .service-photo, .home-process .benefit-card:hover .process-symbol { transform: none; }
}
