/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --green-900: #141d15;
  --green-800: #1b271c;
  --green-700: #243425;
  --green-600: #2f4430;
  --sage: #9aa982;
  --cream: #f3ead8;
  --cream-muted: rgba(243, 234, 216, 0.72);
  --sand: #eee4d1;
  --amber: #e0a23c;
  --amber-hover: #eab252;
  --ink: #1a1a14;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;

  /* Sizes are in rem so the whole layout scales with the root font size above 1300px */
  --container: 77.5rem;
  --gutter: clamp(20px, 7vw, 7.5rem);
  --header-h: 5.25rem;
  /* Visible height of the hero's wave band; its contour lines hang 0.4x this into the intro */
  --wave-h: clamp(90px, 14vw, 11.25rem);
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Lock in the ~1300px proportions on larger screens: 1rem grows from 16px at 1300px
   (1300 / 16 = 81.25) up to a 32px cap around 2600px */
@media (min-width: 1300px) {
  html {
    font-size: min(calc(100vw / 81.25), 32px);
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--cream);
  background: var(--green-900);
  -webkit-font-smoothing: antialiased;
}

/* Sections and nav items parked with the hidden attribute stay hidden even if a class sets display */
[hidden] {
  display: none !important;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--amber);
  color: var(--ink);
  padding: 0.8125rem 1.375rem;
}

.btn-primary:hover {
  background: var(--amber-hover);
}

.btn-lg {
  padding: 0.9375rem 1.375rem;
  font-size: 0.9375rem;
  border-radius: 0.5625rem;
}

.btn-arrow {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
}

/* Sticky state: fixed bar slides in once the user scrolls past the hero top */
.site-header.is-stuck {
  position: fixed;
  background: rgba(20, 29, 21, 0.95);
  border-bottom-color: rgba(243, 234, 216, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  /* No backdrop-filter: with the badge hanging outside the bar it caused partial repaints while scrolling.
     "backwards" fill so no transform lingers on the bar once the slide-in finishes. */
  animation: header-slide-in 0.35s ease backwards;
}

@keyframes header-slide-in {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
}

.logo,
.header-actions {
  display: none;
}

/* Badge pins near the top of the bar and hangs roughly halfway below it */
.is-stuck .logo {
  display: block;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 0.625rem;
}

/* Sticky bar: space-between gives equal gaps, centering the nav between logo and CTA */
.is-stuck .header-inner {
  justify-content: space-between;
}

.is-stuck .header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-cta {
  gap: 0.625rem;
  padding: 0.625rem 1rem;
  font-size: 0.75rem;
}

/* Phone number only joins the sticky bar once there's room beside the nav */
.header-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.header-phone:hover {
  color: var(--amber);
}

@media (min-width: 1180px) {
  .header-phone {
    display: inline-flex;
  }
}

.header-phone svg,
.hero-call svg,
.contact-phone svg,
.mobile-call svg {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.75;
  stroke-linejoin: round;
}

.header-cta .btn-arrow {
  width: 1rem;
  height: 1rem;
}

.logo img {
  width: 7.5rem;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
}

.main-nav ul {
  display: flex;
  gap: clamp(24px, 3vw, 2.75rem);
}

.main-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.375rem 0;
  position: relative;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.is-stuck .main-nav a {
  text-shadow: none;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 1rem) 0 clamp(100px, 16vh, 11.25rem);
  /* Clip sideways only, so the wave can hang down over the intro section */
  overflow-x: clip;
  isolation: isolate;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(270deg, rgba(16, 24, 17, 0.9) 0%, rgba(16, 24, 17, 0.72) 45%, rgba(16, 24, 17, 0.25) 75%),
    linear-gradient(180deg, rgba(16, 24, 17, 0.35) 0%, transparent 30%),
    url("assets/hero-stump.png") 70% center / cover no-repeat;
}

.hero-grid {
  display: grid;
  /* Content column sizes to the headline; the logo takes the remaining space */
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(32px, 5vw, 5rem);
}

.hero-logo img {
  /* Image is 870x1000, so the vh cap on width keeps its height (~61vh) inside the capped hero */
  width: min(100%, 27.5rem, 53vh);
  height: auto;
  /* Flush left so the outer margins match the content's flush-right edge;
     any leftover column space falls between the logo and the text */
  margin: 0;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
}

/* Shrink to content width and sit flush right so its edge lines up with the nav */
.hero-content {
  position: relative;
  justify-self: end;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.6vw, 4.25rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 0 0 1.375rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.hero-title span {
  display: block;
}

.hero-title .line-2 {
  color: var(--sage);
}

/* contain: inline-size keeps the lead from widening the block,
   so it wraps to the headline width instead of pushing the right edge out */
.hero-lead {
  contain: inline-size;
  max-width: 30em;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.45;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}

.hero-call {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1rem;
  color: var(--cream-muted);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  transition: color 0.2s ease;
}

.hero-call strong {
  color: var(--cream);
  font-weight: 600;
}

.hero-call:hover,
.hero-call:hover strong {
  color: var(--amber);
}

/* Same contain trick as the lead so the row wraps to the headline width */
.hero-trust {
  contain: inline-size;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(243, 234, 216, 0.16);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-trust svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: var(--sage);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Topographic wave */
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--wave-h) * -0.4);
  height: calc(var(--wave-h) * 1.4);
  pointer-events: none;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
}

.wave-fill {
  fill: var(--green-700);
}

.wave-lines path {
  fill: none;
  stroke: rgba(154, 169, 130, 0.28);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

.hero-scroll i {
  display: block;
  width: 1px;
  height: 3.5rem;
  background: linear-gradient(var(--cream), transparent);
  animation: scroll-line 2.2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scroll-line {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ==========================================================================
   Shared section styles
   ========================================================================== */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
}

.section-eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.6vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}

.section-title span {
  color: var(--sage);
}

.text-link {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--amber);
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--amber);
}

.img-placeholder {
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(243, 234, 216, 0.03) 14px 28px),
    var(--green-600);
  border: 1px dashed rgba(243, 234, 216, 0.2);
  color: var(--cream-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ==========================================================================
   Intro
   ========================================================================== */
.intro {
  --wave-spill: calc(var(--wave-h) * 0.4);
  /* Same green as .wave-fill so the hero's wave flows straight in; fades to the services green at the bottom */
  background: linear-gradient(180deg, var(--green-700) 60%, var(--green-900) 100%);
  /* Extra top space clears the wave lines hanging down from the hero */
  padding: calc(var(--wave-spill) + clamp(2.5rem, 5vw, 4.5rem)) 0 clamp(4.5rem, 9vw, 8rem);
}

.intro-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: end;
  gap: 2rem clamp(40px, 6vw, 6rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(243, 234, 216, 0.12);
}

.intro-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  margin: 0;
}

.intro-title span {
  display: block;
}

.intro-lead {
  max-width: 30rem;
  margin: 0;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--cream-muted);
}

/* Virginia map: contour lines match the hero wave's stroke */
.va-map {
  width: 100%;
  height: auto;
  overflow: visible;
}

.va-land {
  fill: rgba(20, 29, 21, 0.35);
}

.va-lines use {
  fill: none;
  stroke: rgba(154, 169, 130, 0.45);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.va-outline {
  fill: none;
  stroke: var(--sage);
  stroke-width: 1.5;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.va-pin-head {
  fill: var(--amber);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
}

.va-pin-dot {
  fill: var(--green-800);
}

.va-pin-base {
  fill: rgba(0, 0, 0, 0.35);
}

.va-pin-pulse {
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: pin-pulse 2.4s ease-out infinite;
}

@keyframes pin-pulse {
  0% { transform: scale(0.4); opacity: 0.9; }
  100% { transform: scale(2.1); opacity: 0; }
}

/* Secondary towns: small amber dots with leader lines out to their labels */
.va-town-dot {
  fill: var(--amber);
  stroke: var(--green-800);
  stroke-width: 1.5;
}

.va-town-leader {
  fill: none;
  stroke: var(--cream-muted);
  stroke-width: 0.75;
}

.va-town-label {
  fill: var(--cream-muted);
}

.va-pin-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  fill: var(--cream);
  /* Thick background-colored stroke behind the fill knocks the contour lines out around the text */
  stroke: var(--green-800);
  stroke-width: 4px;
  stroke-linejoin: round;
  paint-order: stroke;
}

.va-pin-label-lg {
  font-size: 13px;
}

/* Problem cards */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

/* Light sand cards: text and icons flip to the dark greens for contrast */
.problem-grid li {
  padding: 1.75rem 1.5rem;
  background: var(--sand);
  border-radius: 0.75rem;
  color: var(--green-800);
}

.problem-grid svg {
  width: 2.5rem;
  height: 2.5rem;
  fill: none;
  stroke: var(--green-600);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.problem-grid h3 {
  margin: 1.125rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.1;
  text-transform: uppercase;
}

.problem-grid p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(27, 39, 28, 0.78);
}

/* ==========================================================================
   The fix: full-width sand band with explanation + grade diagram
   ========================================================================== */
.fix {
  background: var(--sand);
  color: var(--green-800);
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.intro-fix {
  display: grid;
  /* Just enough text width to keep the headline on one line; the rest goes to the illustration */
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 5rem);
}

/* Sand band: shared section styles flip to the dark greens (sage is too faint on sand) */
.intro-fix .section-eyebrow,
.intro-fix .section-title span {
  color: var(--green-600);
}

.intro-fix .text-link:hover {
  color: var(--green-600);
}

/* Square source image with empty paper above and below the drawing. The artwork sits low
   (~y 285–845 of 1024), so crop to 3:2 and shift the window down to frame it.
   Its textured background (~#ebe1cc) is a touch darker than --sand: a slight brightness lift pushes
   the paper to/above --sand, then "darken" lets the section color win there while the artwork stays.
   The edge fade catches whatever grain is left. */
.grade-diagram {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 50% 66%;
  filter: brightness(1.04);
  mix-blend-mode: darken;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 7%, #000 93%, transparent),
    linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 7%, #000 93%, transparent),
    linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  mask-composite: intersect;
}

.intro-fix-text p:not(.section-eyebrow),
.services-intro p:not(.section-eyebrow) {
  max-width: 34rem;
  margin: 0 0 1.125rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--cream-muted);
}

.intro-fix-text p:not(.section-eyebrow) {
  color: rgba(27, 39, 28, 0.78);
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: 2.25rem;
}

/* ==========================================================================
   Services
   ========================================================================== */
.services {
  background: var(--green-900);
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(40px, 6vw, 6rem);
}

.services-uses-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem;
}

.services-list li {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.125rem 1.25rem;
  background: var(--green-800);
  border: 1px solid rgba(243, 234, 216, 0.08);
  border-radius: 0.625rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  transition: border-color 0.2s ease;
}

.services-list li:hover {
  border-color: rgba(154, 169, 130, 0.45);
}

.services-list svg {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  padding: 0.4375rem;
  border-radius: 50%;
  background: rgba(154, 169, 130, 0.14);
  fill: none;
  stroke: var(--sage);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================================
   Shared section head (eyebrow + title + short lead, stacked)
   ========================================================================== */
.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-head p:not(.section-eyebrow),
.area-text > p:not(.section-eyebrow),
.faq-intro p:not(.section-eyebrow),
.contact-text > p:not(.section-eyebrow) {
  max-width: 34rem;
  margin: 0 0 1.125rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--cream-muted);
}

/* ==========================================================================
   How it works
   ========================================================================== */
.process {
  background: var(--green-800);
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 2.5rem);
}

.process-steps li {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(243, 234, 216, 0.16);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--amber);
}

.process-steps h3 {
  margin: 1rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.process-steps p {
  margin: 0;
  max-width: 22rem;
  line-height: 1.6;
  color: var(--cream-muted);
}

/* ==========================================================================
   Our work: before/after pairs on sand
   ========================================================================== */
.work {
  background: var(--sand);
  color: var(--green-800);
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

/* Sand band: flip the shared section colors like .fix does */
.work .section-eyebrow,
.work .section-title span {
  color: var(--green-600);
}

.work .section-head p:not(.section-eyebrow) {
  color: rgba(27, 39, 28, 0.78);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 2rem);
}

.work-card {
  margin: 0;
}

.work-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.375rem;
  border-radius: 0.75rem;
  overflow: hidden;
}

/* Tag sits over whatever fills the slot, so it survives swapping the placeholder for a photo */
.work-photo {
  position: relative;
}

.work-photo > .img-placeholder,
.work-photo > img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.work-tag {
  position: absolute;
  top: 0.625rem;
  left: 0.625rem;
  z-index: 1;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  background: rgba(20, 29, 21, 0.8);
  color: var(--cream);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.work-photo:last-child .work-tag {
  background: var(--amber);
  color: var(--ink);
}

.work-card figcaption {
  margin-top: 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(27, 39, 28, 0.78);
}

/* ==========================================================================
   Service area
   ========================================================================== */
/* Same green as the map labels' knockout stroke */
.service-area {
  background: var(--green-800);
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.area-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 2rem clamp(40px, 6vw, 6rem);
}

.area-text .area-note {
  margin: 1.75rem 0 0;
  font-size: 1rem;
  color: var(--cream-muted);
}

.area-note .text-link {
  margin-left: 0.5rem;
  font-size: 0.8125rem;
  color: var(--cream);
}

/* Sand version: flip the shared section colors like .work does, and redraw the map in greens */
.service-area--sand {
  background: var(--sand);
  color: var(--green-800);
}

.service-area--sand .section-eyebrow,
.service-area--sand .section-title span {
  color: var(--green-600);
}

.service-area--sand .area-text > p:not(.section-eyebrow),
.service-area--sand .area-text .area-note {
  color: rgba(27, 39, 28, 0.78);
}

.service-area--sand .area-note .text-link {
  color: var(--green-800);
}

.service-area--sand .area-note .text-link:hover {
  color: var(--green-600);
}

.service-area--sand .va-land {
  fill: rgba(47, 68, 48, 0.08);
}

.service-area--sand .va-lines use {
  stroke: rgba(47, 68, 48, 0.28);
}

.service-area--sand .va-outline {
  stroke: var(--green-600);
}

.service-area--sand .va-pin-head {
  filter: drop-shadow(0 3px 4px rgba(27, 39, 28, 0.3));
}

.service-area--sand .va-pin-base {
  fill: rgba(27, 39, 28, 0.25);
}

.service-area--sand .va-pin-pulse {
  stroke-width: 2;
}

.service-area--sand .va-town-leader {
  stroke: rgba(27, 39, 28, 0.55);
}

.service-area--sand .va-pin-label {
  fill: var(--green-800);
  stroke: var(--sand);
}

/* ==========================================================================
   Reviews: card carousel on sand
   ========================================================================== */
.reviews {
  background: var(--sand);
  color: var(--green-800);
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

/* Sand band: flip the shared section colors like .work does */
.reviews .section-eyebrow,
.reviews .section-title span {
  color: var(--green-600);
}

.reviews .section-head p:not(.section-eyebrow) {
  color: rgba(27, 39, 28, 0.78);
}

/* Arrows wrap under the heading on narrow screens instead of squeezing it */
.reviews-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.reviews-head .section-head {
  margin-bottom: 0;
}

.reviews-nav {
  display: flex;
  flex-shrink: 0;
  gap: 0.75rem;
}

.reviews-btn {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  border: 1.5px solid var(--green-700);
  border-radius: 50%;
  background: transparent;
  color: var(--green-800);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.reviews-btn:hover:not(:disabled) {
  background: var(--green-800);
  color: var(--cream);
}

.reviews-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.reviews-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Three cards per view; the track scrolls sideways and snaps to each card */
.reviews-track {
  --per-view: 3;
  --gap: clamp(16px, 2vw, 1.5rem);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  column-gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  /* Room so card shadows aren't clipped by the scroll box */
  padding: 0.5rem 0 1.5rem;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: #fbf7ef;
  border: 1px solid rgba(27, 39, 28, 0.08);
  border-radius: 0.875rem;
  box-shadow: 0 10px 24px rgba(27, 39, 28, 0.08);
}

/* Photo + name/town row across the top of the card */
.review-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-bottom: 1.125rem;
  margin-bottom: 1.125rem;
  border-bottom: 1px solid rgba(27, 39, 28, 0.12);
}

.review-author p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(27, 39, 28, 0.65);
}

/* Swap the placeholder div for an <img class="review-avatar"> once there's a photo */
.review-avatar {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 0;
  object-fit: cover;
}

.review-stars {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  letter-spacing: 0.15em;
  color: var(--amber);
}

.review-card blockquote {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(27, 39, 28, 0.85);
}

.review-author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--green-800);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  background: var(--green-900);
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: 2rem clamp(40px, 6vw, 6rem);
}

.faq-intro a {
  color: var(--cream);
  border-bottom: 1px solid var(--amber);
}

.faq-list {
  border-top: 1px solid rgba(243, 234, 216, 0.12);
}

.faq-list details {
  border-bottom: 1px solid rgba(243, 234, 216, 0.12);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.375rem 0;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:hover {
  color: var(--amber);
}

/* Plus that turns into a minus when open */
.faq-list summary::after {
  content: "";
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  background:
    linear-gradient(var(--amber), var(--amber)) center / 100% 2px no-repeat,
    linear-gradient(var(--amber), var(--amber)) center / 2px 100% no-repeat;
}

.faq-list details[open] summary::after {
  background: linear-gradient(var(--amber), var(--amber)) center / 100% 2px no-repeat;
}

.faq-list details p {
  max-width: 38rem;
  margin: -0.25rem 0 1.5rem;
  line-height: 1.65;
  color: var(--cream-muted);
}

/* ==========================================================================
   Contact: final CTA + quote form
   ========================================================================== */
.contact {
  background: linear-gradient(180deg, var(--green-700) 0%, var(--green-800) 100%);
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 2.5rem clamp(40px, 6vw, 6rem);
}

.contact-list-title {
  margin: 1.75rem 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

.contact-list {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.contact-list svg {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0.375rem;
  border-radius: 50%;
  background: rgba(154, 169, 130, 0.14);
  fill: none;
  stroke: var(--sage);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-text .contact-area {
  font-size: 0.9375rem;
  margin: 0;
}

/* Light sand card, same treatment as the problem cards */
.quote-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: var(--sand);
  border-radius: 0.875rem;
  color: var(--green-800);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.quote-card-label {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-600);
}

.quote-card .btn {
  justify-content: center;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.625rem);
  font-weight: 700;
  line-height: 1;
  transition: color 0.2s ease;
}

.contact-phone:hover {
  color: var(--green-600);
}

/* Amber is too faint on sand, so the icon flips to green */
.contact-phone svg {
  width: 3.25rem;
  height: 3.25rem;
  padding: 0.8125rem;
  border-radius: 50%;
  background: rgba(47, 68, 48, 0.1);
  stroke: var(--green-700);
}

.contact-phone small {
  display: block;
  margin-bottom: 0.375rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(27, 39, 28, 0.65);
}

/* "or" centered on a hairline */
.quote-card-or {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.75rem 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(27, 39, 28, 0.55);
}

.quote-card-or::before,
.quote-card-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(27, 39, 28, 0.15);
}

.btn-outline {
  gap: 0.75rem;
  color: var(--green-800);
  border: 1.5px solid var(--green-700);
}

.btn-outline:hover {
  background: var(--green-800);
  color: var(--cream);
}

.btn-outline svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linejoin: round;
}

.quote-card-email {
  margin: 0.625rem 0 0;
  text-align: center;
  font-size: 0.9375rem;
  color: rgba(27, 39, 28, 0.7);
}

.quote-card-note {
  margin: 1.75rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(27, 39, 28, 0.15);
  text-align: center;
  font-size: 0.875rem;
  color: rgba(27, 39, 28, 0.7);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--green-900);
  border-top: 1px solid rgba(243, 234, 216, 0.08);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
  font-size: 0.9375rem;
  color: var(--cream-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.footer-brand img {
  width: 5rem;
  height: auto;
  flex-shrink: 0;
}

.footer-brand p {
  max-width: 20rem;
  margin: 0;
  line-height: 1.6;
}

.site-footer h3 {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
}

.site-footer li + li {
  margin-top: 0.625rem;
}

.footer-nav a,
.footer-contact a:not(.text-link) {
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-contact a:not(.text-link):hover {
  color: var(--cream);
}

.footer-contact .text-link {
  display: inline-block;
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: var(--cream);
}

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.footer-bottom p {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(243, 234, 216, 0.08);
  font-size: 0.8125rem;
}

/* ==========================================================================
   Mobile action bar (hidden on desktop)
   ========================================================================== */
.mobile-cta {
  display: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  :root {
    --header-h: 72px;
  }

  .logo img {
    width: 5.5rem;
  }

  .is-stuck .logo {
    margin-top: 0.5rem;
  }

  /* Stacked layout is taller than most phone screens, so let it grow */
  .hero {
    height: auto;
    min-height: 100svh;
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 200px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-content {
    justify-self: stretch;
  }

  .hero-logo img {
    max-width: 220px;
    margin: 0 auto;
  }

  /* The mobile action bar takes over the call + quote buttons */
  .is-stuck .header-actions {
    display: none;
  }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
    padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(20, 29, 21, 0.96);
    border-top: 1px solid rgba(243, 234, 216, 0.12);
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }

  .site-header.is-stuck ~ .mobile-cta {
    transform: translateY(0);
  }

  .mobile-cta .btn {
    justify-content: center;
    padding: 0.875rem 1rem;
  }

  .mobile-call {
    gap: 0.5rem;
    border: 1px solid rgba(243, 234, 216, 0.3);
  }

  /* Room for the action bar under the footer */
  .site-footer {
    padding-bottom: 6rem;
  }

  .site-header.nav-open {
    background: var(--green-900);
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: 0;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    background: var(--cream);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--green-900);
    border-bottom: 1px solid rgba(243, 234, 216, 0.12);
    padding: 20px var(--gutter) 28px;
    display: none;
  }

  .nav-open .main-nav {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .main-nav a {
    display: block;
    padding: 12px 0;
    font-size: 0.9375rem;
  }

  .main-nav a::after {
    display: none;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(16, 24, 17, 0.55) 0%, rgba(16, 24, 17, 0.8) 55%, rgba(16, 24, 17, 0.6) 100%),
      url("assets/hero-stump.png") 75% center / cover no-repeat;
  }

  .services-grid,
  .intro-head,
  .intro-fix,
  .area-grid,
  .faq-grid,
  .contact-grid,
  .process-steps,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-grid {
    max-width: 520px;
  }

  .reviews-track {
    --per-view: 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  /* Once stacked, the map and the fix illustration lead their sections instead of trailing the text */
  .va-map {
    order: -1;
    max-width: 520px;
  }

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

  .grade-diagram {
    order: -1;
    max-width: 420px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-bottom: 150px;
  }

  .services-list,
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    gap: 1.25rem;
  }

  /* One card plus a peek of the next, so it reads as swipeable */
  .reviews-track {
    --per-view: 1.12;
  }

  .reviews-btn {
    width: 2.75rem;
    height: 2.75rem;
  }

  .hero-call {
    width: 100%;
    justify-content: center;
  }

  .hero-logo img {
    max-width: 170px;
  }

  .btn-lg {
    width: 100%;
    justify-content: center;
  }
}

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

  .hero-scroll i,
  .va-pin-pulse,
  .site-header.is-stuck {
    animation: none;
  }

  .mobile-cta {
    transition: none;
  }
}
