/* ==========================================================================
   Lawnstride Lawn & Landscape
   Palette is taken from the logo: pine (wordmark "LAWN") + blade ("STRIDE").
   Signature motif: mowing stripes on dark green surfaces.
   ========================================================================== */

:root {
  /* Brand */
  --pine: #154421;        /* logo dark green */
  --pine-deep: #0d2c15;   /* deeper pine for dark sections */
  --blade: #5aa33b;       /* logo bright green */
  --blade-dark: #4a8c2e;  /* stripe partner / hover */
  --blade-soft: #dcebd2;  /* tints */

  /* Neutrals */
  --sage: #eff3ea;        /* light section background */
  --stone: #e6e2d8;       /* flagstone, used for the process section */
  --white: #ffffff;
  --ink: #18241b;         /* body text */
  --ink-soft: #4a564d;    /* secondary text, 7.4:1 on white */
  --line: #d3dacd;

  /* Semantic */
  --color-bg: var(--white);
  --color-text: var(--ink);
  --color-muted: var(--ink-soft);
  --color-cta-bg: var(--blade);
  --color-cta-text: var(--pine-deep);   /* 4.9:1 on blade */
  --color-error: #b42318;
  --focus: #1f6feb;

  /* Type */
  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.9375rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.6vw, 5.25rem);

  /* Space (8pt) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  --header-h: 76px;
  --container: 1200px;

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 200ms;

  --stripes-dark: repeating-linear-gradient(
    112deg,
    rgba(255, 255, 255, 0.035) 0 70px,
    rgba(255, 255, 255, 0) 70px 140px
  );
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0 0 var(--space-2);
  color: var(--pine);
  text-wrap: balance;
}
h2 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: var(--step-1); font-weight: 700; }

p { margin: 0 0 var(--space-2); }

a { color: var(--pine); text-underline-offset: 3px; }
a:hover { color: var(--blade-dark); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 1000;
  background: var(--pine);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out), transform 120ms var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 20px; height: 20px; }

.btn-primary { background: var(--color-cta-bg); color: var(--color-cta-text); }
.btn-primary:hover { background: #6bb64a; color: var(--pine-deep); }

.btn-dark { background: var(--pine); color: var(--white); }
.btn-dark:hover { background: var(--pine-deep); color: var(--white); }

.btn-ghost { border-color: rgba(255, 255, 255, 0.85); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--pine); }

.btn-ghost-dark { border-color: var(--pine); color: var(--pine); background: var(--white); }
.btn-ghost-dark:hover { background: var(--sage); color: var(--pine); }

.btn-sm { min-height: 44px; padding: 0.6rem 1.15rem; font-size: 1rem; }
.btn-lg { min-height: 56px; padding: 0.9rem 1.75rem; font-size: 1.125rem; }
.btn-block { width: 100%; }

.btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 18px rgba(13, 44, 21, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: var(--header-h);
}

.brand { flex: none; display: block; margin-left: -10px; }
.brand img { height: 62px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  gap: 0.25rem;
  margin: 0; padding: 0;
  list-style: none;
}
.main-nav a {
  display: block;
  padding: 0.6rem 0.7rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: color var(--dur), background-color var(--dur);
}
.main-nav a:hover { color: var(--pine); background: var(--sage); }
.main-nav a[aria-current="true"] { color: var(--pine); box-shadow: inset 0 -3px 0 var(--blade); border-radius: 0; }

.header-actions { display: flex; align-items: center; gap: var(--space-2); }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  color: var(--pine);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone svg { width: 20px; height: 20px; color: var(--blade-dark); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--sage);
  cursor: pointer;
  position: relative;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 13px;
  width: 22px; height: 2.5px;
  background: var(--pine);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur);
}
.nav-toggle-bars { top: 23px; }
.nav-toggle-bars::before { content: ""; left: 0; top: -7px; }
.nav-toggle-bars::after { content: ""; left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, calc(100vh - var(--header-h)), 900px);
  min-height: clamp(560px, calc(100svh - var(--header-h)), 900px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  background: var(--pine-deep);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% center;
  z-index: -2;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 34, 16, 0.78) 0%, rgba(10, 34, 16, 0.45) 45%, rgba(10, 34, 16, 0) 75%),
    linear-gradient(0deg, rgba(10, 34, 16, 0.6) 0%, rgba(10, 34, 16, 0) 45%);
}

.hero-content { padding-block: var(--space-7) var(--space-5); }

.hero-title {
  max-width: 11ch;
  margin-bottom: var(--space-3);
  color: var(--white);
  font-size: var(--step-4);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.hero-lede {
  max-width: 36ch;
  margin-bottom: var(--space-4);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.hero-areas {
  background-color: var(--pine);
  background-image: var(--stripes-dark);
  border-top: 4px solid var(--blade);
}
.hero-areas p {
  margin: 0;
  padding-block: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}
.hero-areas strong { color: var(--blade-soft); font-weight: 700; margin-right: 0.35rem; }
.mow-nearby { white-space: nowrap; }
.mow-nearby a { color: var(--white); font-weight: 700; text-decoration: underline; text-decoration-color: var(--blade); text-decoration-thickness: 2px; }
.mow-nearby a:hover { color: var(--blade-soft); }
.hero-areas :focus-visible { outline-color: var(--blade); }

/* ---------- Mower reveal on the service-area strip ----------
   Runs once when the strip comes into view (js adds .is-mowing).
   The text is always in the DOM; only its visibility is animated.
   Without JS, or with reduced motion, nothing is hidden. */
.mow-lane { position: relative; display: inline-block; max-width: 100%; }
.mow-track {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  pointer-events: none;
  transform: translateX(-100%);
  visibility: hidden;
}
.mower {
  position: absolute;
  left: 100%;
  top: 50%;
  width: 46px;
  height: 29px;
  margin-top: -16px;
  overflow: visible;
}
.mower-handle { stroke: var(--white); stroke-width: 3; fill: none; }
.mower-deck { fill: var(--white); stroke: none; }
.mower-hood { fill: var(--blade); stroke: none; }
.mower-cap { fill: var(--white); stroke: none; }
.mower-wheel { fill: var(--pine-deep); stroke: var(--white); stroke-width: 2.5; }

:root {
  --mow-duration: 2s;
  --mow-delay: 350ms;
}

/* Desktop: the text is uncovered right behind the mower */
.mow-armed .mow-text { clip-path: inset(0 100% 0 0); }
.mow-armed .is-mowing .mow-text {
  animation: mow-reveal var(--mow-duration) linear var(--mow-delay) both;
}
.mow-armed .is-mowing .mow-track {
  visibility: visible;
  animation: mow-drive var(--mow-duration) linear var(--mow-delay) both;
}
.mow-armed .is-mowing .mower {
  animation: mow-bob 180ms ease-in-out var(--mow-delay) 9 alternate, mow-fade var(--mow-duration) linear var(--mow-delay) both;
}

@keyframes mow-reveal {
  0% { clip-path: inset(0 100% 0 0); }
  85%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes mow-drive {
  0% { transform: translateX(-100%); }
  85% { transform: translateX(0); }
  100% { transform: translateX(24px); }
}
@keyframes mow-fade {
  0% { opacity: 0; }
  6%, 82% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes mow-bob {
  from { translate: 0 0; }
  to { translate: 0 -1.5px; }
}

/* One orchestrated entrance, hero only */
@media (prefers-reduced-motion: no-preference) {
  .hero-title, .hero-lede, .hero-ctas {
    animation: rise 700ms var(--ease-out) both;
  }
  .hero-lede { animation-delay: 120ms; }
  .hero-ctas { animation-delay: 220ms; }
  .hero-img { animation: settle 1600ms var(--ease-out) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--space-7); }

.section-head { max-width: 640px; margin-bottom: var(--space-5); }
.section-head p { color: var(--color-muted); font-size: var(--step-1); line-height: 1.5; margin: 0; }
.section-head--light h2 { color: var(--white); }
.section-head--light p { color: rgba(255, 255, 255, 0.82); }

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4) var(--space-3);
}
.service img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: var(--space-2);
}
.service p { color: var(--color-muted); margin: 0; }

.service--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: var(--space-5);
  padding-bottom: var(--space-2);
}
.service--wide img { aspect-ratio: 16 / 9; margin-bottom: 0; border-radius: var(--radius-lg); }
.service--wide h3 { font-size: var(--step-2); }
.service--wide p { font-size: var(--step-1); line-height: 1.55; }

.service-extras {
  margin: var(--space-5) 0 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  color: var(--color-muted);
}
.service-extras strong { color: var(--pine); }

/* ---------- Before / After ---------- */
.compare-section {
  background-color: var(--pine-deep);
  background-image: var(--stripes-dark);
}

.compare {
  --pos: 50%;
  position: relative;
  max-width: 920px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1377 / 1069;
  background: var(--pine);
  user-select: none;
}
.compare-img { width: 100%; height: 100%; object-fit: cover; }
.compare-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.compare-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}
.compare-knob {
  position: absolute;
  top: 50%; left: 50%;
  width: 52px; height: 52px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--pine);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.compare-knob svg { width: 26px; height: 26px; stroke-width: 2.5; }
.compare-tag {
  position: absolute;
  top: 16px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  pointer-events: none;
}
.compare-tag--before { left: 16px; background: rgba(13, 44, 21, 0.85); color: var(--white); }
.compare-tag--after { right: 16px; background: var(--blade); color: var(--pine-deep); }

.compare-range {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  touch-action: pan-y;
}
.compare-range::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 100vh; cursor: ew-resize; }
.compare-range::-moz-range-thumb { width: 56px; height: 100vh; border: 0; cursor: ew-resize; }
.compare:has(.compare-range:focus-visible) { outline: 3px solid var(--blade); outline-offset: 4px; }
.compare:has(.compare-range:focus-visible) .compare-knob { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---------- Process ---------- */
.process { background: var(--stone); }

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin: 0; padding: 0;
  list-style: none;
  counter-reset: none;
}
/* the path that links the four steps */
.steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 28px;
  right: calc(25% - 28px);
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--blade) 0 22px, var(--blade-dark) 22px 44px);
  border-radius: 2px;
}
.step { position: relative; }
.step-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  margin-bottom: var(--space-3);
  border-radius: 50%;
  background: var(--pine);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 0 0 6px var(--stone);
}
.step p { color: var(--ink-soft); margin: 0; }

.process-cta { margin-top: var(--space-5); }

/* ---------- Projects ---------- */
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 300px 300px;
  gap: var(--space-2);
}
.project {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sage);
}
.project img { width: 100%; height: 100%; object-fit: cover; }
.project--tall { grid-row: span 2; }
.project--wide { grid-column: span 2; }
.project figcaption {
  position: absolute;
  left: 12px; bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.94);
  color: var(--pine);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.975rem;
  line-height: 1.3;
}

/* ---------- About ---------- */
.about { background: var(--sage); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-6);
  align-items: center;
}
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-copy p { color: var(--ink-soft); max-width: 60ch; }

.checks { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: 0.75rem; }
.checks li { display: flex; align-items: center; gap: 0.75rem; font-weight: 600; color: var(--ink); }
.checks svg {
  flex: none;
  width: 28px; height: 28px;
  padding: 5px;
  border-radius: 50%;
  background: var(--blade);
  color: var(--pine-deep);
  stroke-width: 3;
}

/* ---------- Reviews ---------- */
.review-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-3);
}
.review {
  margin: 0;
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.review--feature {
  grid-row: span 2;
  background: var(--pine);
  background-image: var(--stripes-dark);
  border-color: var(--pine);
  justify-content: center;
}
.review blockquote { margin: 0 0 var(--space-3); flex: 1; }
.review blockquote p { margin: 0; font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
.review blockquote p + p { margin-top: 0.75rem; }
.review--feature blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.6rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--white);
}
.review--full { grid-column: 1 / -1; }
.review--full blockquote { max-width: 75ch; }

.reviews-head {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
}
.reviews-head h2 { margin: 0; }
.rating-summary { display: flex; align-items: center; gap: 0.75rem; }
.rating-score {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--pine);
}
.rating-summary .stars { margin-bottom: 0.15rem; }
.reviews-head .rating-summary p { font-size: 1rem; color: var(--ink-soft); }
.review figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.6rem; color: var(--ink-soft); }
.review figcaption strong { color: var(--pine); }
.review--feature figcaption,
.review--feature figcaption strong { color: rgba(255, 255, 255, 0.9); }

.stars { display: flex; gap: 2px; margin-bottom: var(--space-2); color: #e0a526; }
.stars svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }

.source-tag {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.source-tag::before { content: "·"; margin-right: 0.5rem; }
.review--feature .source-tag { color: rgba(255, 255, 255, 0.75); }

/* ---------- Blog ---------- */
.blog { background: var(--sage); }
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  align-items: start;
}
.post {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}
.post > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-body { padding: var(--space-3); }
.post-meta { font-size: var(--step--1); color: var(--blade-dark); font-weight: 700; margin-bottom: 0.4rem; }
.post-meta { color: #3d7526; }
.post-body > p:not(.post-meta) { color: var(--ink-soft); }

.post details { border-top: 1px solid var(--line); margin-top: var(--space-2); }
.post summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding-top: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--pine);
  cursor: pointer;
  list-style: none;
}
.post summary::-webkit-details-marker { display: none; }
.post summary::after {
  content: "";
  width: 10px; height: 10px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform var(--dur) var(--ease-out);
}
.post details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.post details[open] summary { color: var(--blade-dark); }
.post-full { padding-top: var(--space-1); }
.post-full p { color: var(--ink); }
.post-full h4 {
  margin: var(--space-3) 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--pine);
}
.post-full h4:first-child { margin-top: 0.5rem; }
.post-full ul { margin: 0 0 var(--space-2); padding-left: 1.1rem; display: grid; gap: 0.6rem; }
.post-full li { color: var(--ink); }
.post-full li::marker { color: var(--blade-dark); }

/* ---------- Contact / Estimate ---------- */
.contact {
  background-color: var(--pine);
  background-image: var(--stripes-dark);
  color: var(--white);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-6);
  align-items: start;
}
.contact-info h2 { color: var(--white); max-width: 14ch; }
.contact-lede { color: rgba(255, 255, 255, 0.85); font-size: var(--step-1); line-height: 1.5; max-width: 40ch; margin-bottom: var(--space-4); }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.contact-list > li { display: flex; gap: var(--space-2); align-items: flex-start; }
.contact-list > li > svg {
  flex: none;
  width: 44px; height: 44px;
  padding: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--blade);
}
.contact-label { display: block; font-size: var(--step--1); color: var(--blade-soft); font-weight: 600; }
.contact-list a { color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; color: var(--white); }

.area-list { list-style: none; margin: 0.35rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.area-list li {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.975rem;
  white-space: nowrap;
}

.estimate-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}
.estimate-card h3 { font-size: var(--step-2); margin-bottom: 0.25rem; }
.form-note { font-size: var(--step--1); color: var(--ink-soft); }

.field { margin-bottom: var(--space-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.field label { display: block; margin-bottom: 0.35rem; font-weight: 600; color: var(--ink); }
.req { color: var(--color-error); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #b9c3b4;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--pine); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--pine);
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.35);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--color-error); }
.field-error { margin: 0.35rem 0 0; color: var(--color-error); font-size: var(--step--1); font-weight: 600; }
.field-error:empty { display: none; }

.form-errors {
  margin-bottom: var(--space-2);
  padding: var(--space-2);
  border: 2px solid var(--color-error);
  border-radius: var(--radius-sm);
  background: #fdf0ef;
}
.form-errors p { margin: 0 0 0.25rem; color: var(--color-error); }
.form-errors ul { margin: 0; padding-left: 1.2rem; }
.form-errors a { color: var(--color-error); font-weight: 600; }

.form-success { text-align: center; padding: var(--space-4) var(--space-2); }
.form-success svg {
  width: 64px; height: 64px;
  margin: 0 auto var(--space-2);
  padding: 14px;
  border-radius: 50%;
  background: var(--blade);
  color: var(--pine-deep);
  stroke-width: 3;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-deep); color: rgba(255, 255, 255, 0.82); }
.stride-band {
  height: 12px;
  background: repeating-linear-gradient(112deg, var(--blade) 0 48px, var(--blade-dark) 48px 96px);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-4);
  padding-block: var(--space-6) var(--space-4);
}
.footer-brand img { width: 230px; margin-left: -12px; margin-bottom: var(--space-1); }
.footer-col h2 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: var(--space-2); letter-spacing: 0; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.footer-col a { color: rgba(255, 255, 255, 0.82); text-decoration: none; display: inline-block; padding-block: 0.15rem; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  padding-block: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--step--1);
}
.footer-bottom p { margin: 0; }
.site-footer :focus-visible { outline-color: var(--blade); }

/* ---------- Mobile quick bar ---------- */
.mobile-bar { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .header-phone span { display: none; }
  .header-phone { width: 44px; justify-content: center; border-radius: 50%; background: var(--sage); }
  .main-nav a { padding-inline: 0.55rem; }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .brand img { height: 54px; }

  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    margin: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(13, 44, 21, 0.15);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s;
  }
  .main-nav ul { flex-direction: column; padding: var(--space-1) 20px var(--space-3); gap: 0; }
  .main-nav a { padding: 0.9rem 0.5rem; font-size: 1.125rem; border-bottom: 1px solid var(--sage); border-radius: 0; }
  .main-nav a[aria-current="true"] { box-shadow: inset 4px 0 0 var(--blade); padding-left: 1rem; }
  .header-actions { margin-left: auto; }

  .service-grid { grid-template-columns: 1fr 1fr; }
  .service--wide { grid-template-columns: 1fr; gap: var(--space-2); }
  .service-grid .service:last-child { grid-column: 1 / -1; }
  .service-grid .service:last-child img { aspect-ratio: 16 / 9; }

  .steps { grid-template-columns: 1fr 1fr; row-gap: var(--space-5); }
  .steps::before { display: none; }

  .about-inner { gap: var(--space-4); }
  .contact-inner { grid-template-columns: 1fr; gap: var(--space-5); }
  .contact-info h2 { max-width: none; }

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

@media (max-width: 767px) {
  :root { --space-7: 4rem; }
  body { padding-bottom: 76px; } /* room for the mobile bar */

  .header-actions .btn-sm { display: none; }

  .hero { min-height: clamp(540px, calc(88svh - var(--header-h)), 760px); }
  .hero-img { object-position: 72% center; }
  .hero-shade {
    background: linear-gradient(0deg, rgba(10, 34, 16, 0.88) 0%, rgba(10, 34, 16, 0.55) 55%, rgba(10, 34, 16, 0.2) 100%);
  }
  .hero-content { padding-block: var(--space-6) var(--space-4); }
  .hero-ctas .btn { flex: 1 1 100%; }

  /* Mobile: text wraps, so the mower rides along the top edge
     of the strip and the cities fade in underneath */
  .mow-lane { display: block; }
  .mower { top: 0; margin-top: -31px; width: 40px; height: 25px; }
  .mow-armed .mow-text { clip-path: none; opacity: 0; }
  .mow-armed .is-mowing .mow-text {
    animation: mow-fade-in 900ms ease-out calc(var(--mow-delay) + 500ms) both;
  }
  .mow-armed .is-mowing .mow-track { animation-name: mow-drive-across; }
  .mow-armed .is-mowing .mower { animation-name: mow-bob, mow-fade-edges; }

  @keyframes mow-fade-in {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes mow-drive-across {
    from { transform: translateX(calc(-100% - 60px)); }
    to { transform: translateX(40px); }
  }
  @keyframes mow-fade-edges {
    0% { opacity: 0; }
    8%, 100% { opacity: 1; }
  }

  .section-head { margin-bottom: var(--space-4); }

  .service-grid { grid-template-columns: 1fr; }
  .service-grid .service:last-child img { aspect-ratio: 4 / 3; }

  .steps { grid-template-columns: 1fr; row-gap: var(--space-4); }
  .step { display: grid; grid-template-columns: 60px 1fr; column-gap: var(--space-2); }
  .step-num { grid-row: span 2; margin: 0; }
  .step h3 { margin-bottom: 0.35rem; align-self: end; }
  .process-cta .btn { width: 100%; }

  .project-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 200px 200px; }
  .project--tall { grid-row: auto; grid-column: 1 / -1; }
  .project--wide { grid-column: 1 / -1; }
  .project figcaption { font-size: 0.9rem; left: 8px; bottom: 8px; max-width: calc(100% - 16px); }

  .about-inner { grid-template-columns: 1fr; }
  .about-media img { aspect-ratio: 4 / 3; }

  .review-grid { grid-template-columns: 1fr; }
  .review--feature { grid-row: auto; }
  .review { padding: var(--space-3); }

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

  .field-row { grid-template-columns: 1fr; gap: 0; }
  .estimate-card { padding: var(--space-3) 20px; }

  .footer-inner { grid-template-columns: 1fr; gap: var(--space-3); padding-top: var(--space-5); }

  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: var(--space-1);
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(13, 44, 21, 0.1);
  }
}

@media (max-width: 400px) {
  .project-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
}

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