/* Oasis Landscaping: shared styles */

/* Archivo (SIL Open Font License), self-hosted Latin subset; variable weight 400-800, width 100-125. */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #18200f;
  --ink-2: #3d4636;
  --ink-3: #5d6656;
  --paper: #ffffff;
  --sage: #eef2e6;
  --sage-2: #dfe7d2;
  --line: #d5dccb;
  --green: #3e6d1f;
  --green-hover: #335c18;
  --green-bright: #6aa33a;
  --green-lift: #4a8326;
  --green-deep: #2e5415;
  --btn-green: linear-gradient(180deg, var(--green-lift) 0%, var(--green) 50%, var(--green-deep) 100%);
  --btn-sand: linear-gradient(180deg, var(--sand-hover) 0%, var(--sand) 50%, #cfa865 100%);
  --grass-light: url("/assets/img/grass-light.webp");
  --grass-shade: url("/assets/img/grass-shade.webp");
  --forest: #1d3320;
  --forest-2: #274428;
  --on-forest: #f1f4ea;
  --on-forest-2: #c3cfb6;
  --bark: #6b4426;
  --sand: #d9b77c;
  --sand-hover: #e6c792;
  --error: #a1301c;
  --error-bg: #fbe9e5;
  --field-border: #b9c3ad;
  --field-border-hover: #8f9c80;
  --placeholder: #6b7462;
  --on-ink: #e4eadb;
  --on-ink-2: #c9d1bf;
  --on-ink-3: #aab4a0;
  --on-ink-4: #8f9a84;
  --ink-rule: #2f3727;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(0.84rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.45rem, 1.25rem + 0.8vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.5rem + 1.7vw, 2.85rem);
  --step-4: clamp(2.4rem, 1.7rem + 3vw, 4.25rem);

  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --max: 1240px;
  --radius-sm: 8px;
  --radius: 10px;
  --radius-lg: 16px;
  --header-h: 76px;

  --shadow-sm: 0 1px 2px rgba(24, 32, 15, 0.08), 0 2px 6px rgba(24, 32, 15, 0.06);
  --shadow-md: 0 6px 16px rgba(24, 32, 15, 0.1), 0 18px 40px rgba(24, 32, 15, 0.12);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-color: #9fae8c var(--sage);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--green-bright); color: var(--ink); }

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

a { color: var(--green); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-hover); text-decoration-thickness: 2px; }

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  font-variation-settings: "wdth" 108;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); letter-spacing: -0.03em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.2; letter-spacing: -0.01em; }

p { margin: 0; text-wrap: pretty; }

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

.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius-sm);
}
.skip:focus { top: 1rem; color: #fff; }

.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;
}

/* ---------- Icons ---------- */
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 52px; padding: 0.8rem 1.4rem;
  font: inherit; font-weight: 700; font-size: var(--step-0); line-height: 1.1;
  font-variation-settings: "wdth" 104;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background-color: var(--green); background-image: var(--btn-green); background-size: 100% 200%; background-position: 0 0;
  color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 14px rgba(62, 109, 31, 0.28);
  transition: background-position 0.45s var(--ease-out), box-shadow 0.3s ease, transform 0.2s var(--ease-out);
}
.btn-primary:hover { background-position: 0 100%; color: #fff; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 22px rgba(62, 109, 31, 0.34); }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; text-decoration: none; }
.btn-sand {
  background-color: var(--sand); background-image: var(--btn-sand); background-size: 100% 200%; background-position: 0 100%;
  color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: background-position 0.45s var(--ease-out), transform 0.2s var(--ease-out);
}
.btn-sand:hover { background-position: 0 0; color: var(--ink); text-decoration: none; }
.btn-ghost-light { border-color: rgba(241, 244, 234, 0.55); color: var(--on-forest); }
.btn-ghost-light:hover { background: var(--on-forest); color: var(--forest); border-color: var(--on-forest); text-decoration: none; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-weight: 700; color: var(--green); text-decoration: none;
}
.text-link .icon { transition: transform 0.25s var(--ease-out); }
.text-link:hover { text-decoration: underline; }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--forest); color: var(--on-forest-2); font-size: 0.86rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 40px; }
.topbar p { display: flex; align-items: center; gap: 0.5rem; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.5rem; }
.topbar a { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--on-forest); text-decoration: none; padding-block: 0.4rem; }
.topbar a:hover { color: var(--sand); }
.topbar .icon { width: 1rem; height: 1rem; color: var(--sand); }
.topbar a:hover .icon { color: var(--sand-hover); }
@media (max-width: 960px) { .topbar ul li:first-child { display: none; } }
@media (max-width: 760px) { .topbar { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(24, 32, 15, 0.06); }
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.4) blur(12px); }
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: block; flex: none; transition: transform 0.3s var(--ease-out); }
.brand:hover { transform: rotate(-2deg) scale(1.03); }
.brand img { width: 148px; height: auto; }

.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.35rem; }
.nav ul a {
  position: relative; display: block; padding: 0.6rem 0.7rem;
  color: var(--ink-2); font-weight: 650; text-decoration: none;
  font-variation-settings: "wdth" 104; letter-spacing: -0.005em;
  transition: color 0.2s ease;
}
.nav ul a::after {
  content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.25rem; height: 2.5px; border-radius: 999px;
  background: var(--green); transform: scaleX(0); transform-origin: left center;
  transition: transform 0.4s var(--ease-out);
}
.nav ul a:hover { color: var(--ink); }
.nav ul a:hover::after { transform: scaleX(1); }
.nav ul a[aria-current="page"] { color: var(--green); }
.nav ul a[aria-current="page"]::after { transform: scaleX(1); background: var(--green-bright); }
.nav-arrow, .nav-sheet-foot { display: none; }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.phone-icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--sage); color: var(--green);
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.phone-icon .icon { width: 18px; height: 18px; }
.phone-text { display: grid; line-height: 1.15; }
.phone-text small { font-size: 0.74rem; font-weight: 600; color: var(--ink-3); }
.phone-text strong { font-size: 1.02rem; font-weight: 800; font-variant-numeric: tabular-nums; font-variation-settings: "wdth" 104; }
.header-phone:hover { color: var(--green); }
.header-phone:hover .phone-icon { background: var(--green); color: #fff; box-shadow: 0 0 0 5px rgba(106, 163, 58, 0.2); }
.header-actions .btn { min-height: 44px; padding: 0.6rem 1.1rem 0.6rem 1.25rem; }
.header-quote .icon { width: 1em; height: 1em; transition: transform 0.3s var(--ease-out); }
.header-quote:hover .icon { transform: translateX(3px); }

.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--radius); border: 1px solid var(--line);
  background: #fff; color: var(--ink); cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.bars { position: relative; display: block; width: 20px; height: 14px; }
.bars span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 999px; background: currentColor;
  transform-origin: left center;
  transition: transform 0.4s var(--ease-out), opacity 0.2s ease;
}
.bars span:nth-child(1) { top: 0; }
.bars span:nth-child(2) { top: 6px; transform: scaleX(0.7); }
.bars span:nth-child(3) { top: 12px; }
.menu-toggle:hover .bars span:nth-child(2) { transform: scaleX(1); }
.menu-toggle[aria-expanded="true"] { background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform-origin: center; transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; transform: translateX(-6px) scaleX(0.7); }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform-origin: center; transform: translateY(-6px) rotate(-45deg); }

.nav ul a, .header-actions .btn { white-space: nowrap; }
@media (max-width: 1140px) and (min-width: 961px) {
  .header-inner { gap: 1rem; }
  .brand img { width: 130px; }
  .phone-text { display: none; }
  .nav ul a { padding-inline: 0.5rem; }
  .nav ul a::after { left: 0.5rem; right: 0.5rem; }
}

@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .brand img { width: 124px; }
  .phone-text { display: none; }
  .phone-icon { width: 46px; height: 46px; border-radius: var(--radius); background: var(--green) var(--btn-green); color: #fff; }
  .phone-icon .icon { width: 20px; height: 20px; }
  .header-phone:hover .phone-icon { background: var(--green-hover); box-shadow: none; }
  .header-actions { margin-left: auto; gap: 0.5rem; }
  .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }

  /* Full-height menu sheet */
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
    display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
    isolation: isolate;
    background: var(--forest); color: var(--on-forest);
    padding: 1.25rem var(--gutter) calc(1.75rem + env(safe-area-inset-bottom));
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path 0.5s var(--ease-out), visibility 0s linear 0.5s;
  }
  .nav::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: url("/assets/img/striped-lawn-curve-400.webp") center 60% / cover no-repeat; opacity: 0.12;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.5s var(--ease-out); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul li {
    border-bottom: 1px solid rgba(241, 244, 234, 0.14);
    transform: translateY(14px);
    transition: transform 0.55s var(--ease-out);
  }
  .nav.is-open ul li { transform: none; transition-delay: calc(0.08s + var(--i) * 0.05s); }
  .nav ul a {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1rem 0.1rem; color: var(--on-forest);
    font-size: clamp(1.75rem, 7.5vw, 2.4rem); font-weight: 800; line-height: 1.1;
    font-variation-settings: "wdth" 112; letter-spacing: -0.025em;
  }
  .nav ul a::after { display: none; }
  .nav ul a:hover { color: var(--sand); }
  .nav ul a[aria-current="page"] { color: var(--sand); }
  .nav-arrow { display: block; width: 1.4rem; height: 1.4rem; color: var(--sand); opacity: 0.55; transition: transform 0.3s var(--ease-out), opacity 0.2s ease; }
  .nav ul a:hover .nav-arrow, .nav ul a[aria-current="page"] .nav-arrow { opacity: 1; transform: translateX(4px); }
  .nav-sheet-foot {
    display: grid; gap: 1.25rem;
    transform: translateY(14px);
    transition: transform 0.55s var(--ease-out);
  }
  .nav.is-open .nav-sheet-foot { transform: none; transition-delay: 0.36s; }
  .nav-sheet-actions { display: grid; gap: 0.6rem; }
  .nav-sheet-actions .btn { width: 100%; min-height: 54px; font-size: var(--step-1); font-variant-numeric: tabular-nums; }
  .nav-sheet-foot p { color: var(--on-forest-2); font-size: 0.95rem; line-height: 1.6; }
  .nav-sheet-foot p a { color: var(--on-forest); }
  html.menu-open { overflow: hidden; }
  html.menu-open .call-bar { transform: translateY(110%); }
}
@media (max-width: 960px) and (prefers-reduced-motion: reduce) {
  .nav ul li, .nav-sheet-foot { transform: none; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; background: radial-gradient(55% 75% at 88% 18%, var(--sage) 0%, rgba(238, 242, 230, 0) 70%), radial-gradient(40% 50% at 0% 100%, rgba(238, 242, 230, 0.7) 0%, rgba(238, 242, 230, 0) 70%); padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(3rem, 2rem + 4vw, 5.5rem); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center;
}
.hero h1 { max-width: 14ch; }
.hero h1 .accent {
  color: var(--green);
  background: repeating-linear-gradient(90deg, rgba(106, 163, 58, 0.38) 0 16px, rgba(106, 163, 58, 0.2) 16px 32px) no-repeat 0 90% / 100% 0.2em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-lede { margin-top: 1.25rem; max-width: 46ch; font-size: var(--step-1); color: var(--ink-2); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero-actions .btn { min-height: 56px; padding-inline: 1.6rem; font-size: var(--step-1); }
.hero-actions .btn-primary { font-variant-numeric: tabular-nums; }

.assurances { list-style: none; padding: 0; margin: 2.25rem 0 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 0.7rem 1.75rem; }
.assurances li { display: flex; align-items: center; gap: 0.55rem; font-weight: 600; color: var(--ink-2); }
.assurances .icon { color: var(--green); width: 1.25em; height: 1.25em; stroke-width: 2.5; }

.hero-media { position: relative; }
.hero-photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 5; box-shadow: var(--shadow-md);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero-inset {
  position: absolute; left: -14%; bottom: -8%; width: 46%;
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4;
  border: 6px solid #fff; box-shadow: var(--shadow-md);
}
.hero-inset img { width: 100%; height: 100%; object-fit: cover; }
.hero-caption {
  position: absolute; right: 14px; bottom: 14px;
  background: rgba(24, 32, 15, 0.78); color: #fff;
  font-size: var(--step--1); font-weight: 600; padding: 0.4rem 0.75rem; border-radius: 999px;
}
@supports (backdrop-filter: blur(6px)) { .hero-caption { background: rgba(24, 32, 15, 0.55); backdrop-filter: blur(6px); } }

/* The one authored entrance: the photos settle into place. Content is visible by default. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-photo img { animation: settle 1.6s var(--ease-out) both; }
  .js .hero-photo { animation: unveil 1.1s var(--ease-out) both; }
  .js .hero-inset { animation: rise 1.1s 0.35s var(--ease-out) both; }
}
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes unveil { from { clip-path: inset(6% 4% 6% 4% round 16px); } to { clip-path: inset(0 0 0 0 round 16px); } }
@keyframes rise { from { transform: translateY(24px); } to { transform: none; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; margin-right: 0; }
  .hero-photo { aspect-ratio: 4 / 3.4; }
  .hero-inset { display: none; }
  .hero h1 { max-width: 16ch; }
}
@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
  .assurances { grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; }
  .assurances li { font-size: var(--step--1); }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 2.5rem + 5vw, 7.5rem); }
.section-sage {
  background:
    linear-gradient(180deg, var(--sage) 0%, var(--sage) 14%, rgba(238, 242, 230, 0.86) 50%, rgba(223, 231, 210, 0.64) 100%),
    var(--grass-light) center bottom / cover;
}
.section-forest {
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(106, 163, 58, 0.24), transparent 65%),
    radial-gradient(55% 80% at 100% 100%, rgba(217, 183, 124, 0.12), transparent 65%),
    linear-gradient(180deg, var(--forest) 0%, rgba(29, 51, 32, 0.88) 45%, rgba(29, 51, 32, 0.7) 100%),
    var(--grass-shade) center / cover;
  color: var(--on-forest);
}
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.25rem 3rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-head h2 { max-width: 20ch; }
.section-head p { max-width: 52ch; color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }
.section-forest .section-head p { color: var(--on-forest-2); }

/* ---------- Services (home) ---------- */
.services-grid {
  display: grid; gap: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.service-tile {
  position: relative; display: block; grid-column: span 3;
  aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--forest); color: #fff; text-decoration: none; isolation: isolate;
}
.service-tile.is-wide { grid-column: span 6; aspect-ratio: 16 / 10; }
.service-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.8s var(--ease-out); }
.service-tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, color-mix(in srgb, var(--ink) 90%, transparent) 0%, color-mix(in srgb, var(--ink) 72%, transparent) 38%, color-mix(in srgb, var(--ink) 30%, transparent) 62%, color-mix(in srgb, var(--ink) 0%, transparent) 82%);
}
.service-tile:hover { color: #fff; text-decoration: none; }
.service-tile:hover img { transform: scale(1.05); }
.service-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem 1.3rem 1.35rem; display: grid; gap: 0.35rem; }
.service-tile.is-wide .service-body { padding: 1.75rem 1.9rem 1.9rem; }
.service-body h3 { color: #fff; text-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 45%, transparent), 0 2px 18px color-mix(in srgb, var(--ink) 35%, transparent); }
.service-tile.is-wide h3 { font-size: var(--step-3); }
.service-body h3 .icon { display: inline-block; vertical-align: -0.12em; margin-left: 0.3em; width: 0.95em; height: 0.95em; stroke-width: 2.5; transition: transform 0.3s var(--ease-out); }
.service-tile:hover h3 .icon { transform: translateX(4px); }
.service-body p { color: rgba(255, 255, 255, 0.86); font-size: var(--step--1); line-height: 1.45; max-width: 40ch; }
.service-tile.is-wide .service-body p { font-size: var(--step-0); }
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-tile, .service-tile.is-wide { grid-column: span 1; aspect-ratio: 4 / 5; }
  .service-tile.is-wide { grid-column: span 2; aspect-ratio: 16 / 10; }
  .service-tile.is-wide h3 { font-size: var(--step-2); }
}
@media (max-width: 560px) {
  .services-grid { gap: 0.75rem; }
  .service-tile { aspect-ratio: 1 / 1.1; }
  .service-tile.is-wide { aspect-ratio: 4 / 3.2; }
  .service-tile:not(.is-wide) .service-body { padding: 0.9rem; }
  .service-tile:not(.is-wide) h3 { font-size: 1.05rem; }
  .service-tile:not(.is-wide) .service-body p { display: none; }
}

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 2vw, 3rem); counter-reset: step; }
.steps li { counter-increment: step; padding-top: 1.5rem; border-top: 2px solid var(--forest-2); display: grid; gap: 0.6rem; align-content: start; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--sand); color: var(--ink); font-weight: 800; font-size: var(--step-1);
  margin-bottom: 0.4rem;
}
.steps h3 { font-size: var(--step-2); color: var(--on-forest); }
.steps p { color: var(--on-forest-2); max-width: 36ch; }
.steps a { color: var(--sand); }
.steps a:hover { color: var(--sand-hover); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Split (why us / about) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 1rem + 4vw, 5.5rem); align-items: center; }
.split-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-md); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { max-width: 18ch; }
.split .lede { margin-top: 1rem; color: var(--ink-2); font-size: var(--step-1); line-height: 1.55; max-width: 50ch; }
.reasons { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0; }
.reasons li { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1rem; padding: 1.15rem 0; border-top: 1px solid var(--line); }
.reasons li:last-child { border-bottom: 1px solid var(--line); }
.reasons .icon { grid-row: span 2; width: 1.6rem; height: 1.6rem; color: var(--green); margin-top: 0.1rem; }
.reasons h3 { font-size: var(--step-1); }
.reasons p { color: var(--ink-2); max-width: 52ch; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-photo { aspect-ratio: 4 / 3; }
}

/* ---------- Gallery strip ---------- */
.strip {
  display: grid; gap: 0.75rem;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  grid-template-rows: 260px 260px;
}
.strip a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--sage-2); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.strip a:hover img { transform: scale(1.04); }
.strip a:nth-child(1) { grid-row: span 2; }
.strip a:nth-child(4) { grid-row: span 2; }
@media (max-width: 860px) {
  .strip { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; }
  .strip a:nth-child(1) { grid-row: auto; grid-column: span 2; }
  .strip a:nth-child(4) { grid-row: auto; }
  .strip a:nth-child(5) { display: none; }
}

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 2rem); display: grid; gap: 1rem; justify-items: start; }
.faq-intro p { color: var(--ink-2); font-size: var(--step-1); }
.faq-intro .btn { font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-intro { position: static; } }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0; font-weight: 700; font-size: var(--step-1); line-height: 1.3;
  font-variation-settings: "wdth" 104;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--green); }
.faq summary .icon { width: 1.4rem; height: 1.4rem; color: var(--green); transition: transform 0.3s var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .answer { padding: 0 0 1.5rem; color: var(--ink-2); max-width: 64ch; }
.faq .answer p + p { margin-top: 0.75rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--forest); color: var(--on-forest); overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: url("/assets/img/large-lawn-mowing-720.webp") center 70% / cover no-repeat;
  opacity: 0.5;
}
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29, 51, 32, 0.96) 30%, rgba(29, 51, 32, 0.5)); }
.cta-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); }
.cta-inner h2 { max-width: 18ch; color: var(--on-forest); }
.cta-inner p { margin-top: 0.75rem; color: var(--on-forest-2); font-size: var(--step-1); max-width: 44ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta-actions .btn { min-height: 56px; font-size: var(--step-1); font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .cta-actions, .cta-actions .btn { width: 100%; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(90deg, var(--sage) 0%, rgba(238, 242, 230, 0.95) 45%, rgba(238, 242, 230, 0.62) 100%), var(--grass-light) right center / cover; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.page-hero h1 { font-size: clamp(2.2rem, 1.6rem + 2.8vw, 3.75rem); max-width: 18ch; }
.page-hero p { margin-top: 1rem; max-width: 56ch; color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }
.crumbs { margin-bottom: 1rem; font-size: var(--step--1); color: var(--ink-3); }
.crumbs a { color: var(--ink-3); }

/* ---------- Services page ---------- */
.service-index { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; padding: 0; list-style: none; }
.service-index a {
  display: inline-block; padding: 0.5rem 1rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none;
}
.service-index a:hover { border-color: var(--green); color: var(--green); }

.service-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; padding-block: clamp(3rem, 2rem + 3vw, 5rem); border-top: 1px solid var(--line); }
.service-row:first-child { border-top: 0; }
.service-row:nth-child(even) .service-row-photo { order: 2; }
.service-row-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); background: var(--sage-2); }
.service-row-photo img { width: 100%; height: 100%; object-fit: cover; }
.service-row h2 { font-size: var(--step-3); }
.service-row .copy > p { margin-top: 1rem; color: var(--ink-2); font-size: var(--step-1); line-height: 1.55; max-width: 48ch; }
.service-row ul.includes { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.55rem; }
.service-row ul.includes li { display: flex; gap: 0.6rem; align-items: start; color: var(--ink-2); }
.service-row ul.includes .icon { color: var(--green); margin-top: 0.2rem; stroke-width: 2.5; }
.service-row .btn { margin-top: 1.75rem; }
@media (max-width: 860px) {
  .service-row { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-row-photo { order: 0; }
}

/* ---------- Gallery page ---------- */
.gallery {
  display: grid; gap: 1rem; grid-auto-flow: dense;
  grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 18vw, 290px);
}
.gallery button {
  display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--sage-2);
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in; position: relative;
}
.gallery button.is-feature { grid-column: span 2; grid-row: span 2; }
.gallery button.is-wide { grid-column: span 2; }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 42vw, 260px); gap: 0.6rem; }
}
.gallery button:hover img { transform: scale(1.03); }
.gallery .tag {
  position: absolute; left: 10px; bottom: 10px;
  background: rgba(255, 255, 255, 0.94); color: var(--ink);
  font-size: var(--step--1); font-weight: 700; padding: 0.3rem 0.7rem; border-radius: 999px; white-space: nowrap;
}

.lightbox {
  width: min(92vw, 1100px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--ink); color: #fff; overflow: hidden;
}
.lightbox::backdrop { background: rgba(10, 14, 7, 0.82); }
@supports (backdrop-filter: blur(4px)) { .lightbox::backdrop { backdrop-filter: blur(4px); } }
.lightbox[open] { animation: lb-in 0.35s var(--ease-out); }
@keyframes lb-in { from { transform: scale(0.97); } to { transform: none; } }
.lightbox figure { margin: 0; display: grid; }
.lightbox img { width: 100%; max-height: calc(92vh - 64px); object-fit: contain; background: #0c0f09; }
.lightbox figcaption { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.75rem 0.75rem 0.75rem 1.25rem; min-height: 64px; }
.lightbox .lb-controls { display: flex; gap: 0.4rem; }
.lightbox button {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); color: #fff; border: 0; cursor: pointer;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.22); }

/* ---------- About ---------- */
.prose { max-width: 66ch; }
.prose p { color: var(--ink-2); font-size: var(--step-1); line-height: 1.65; }
.prose p + p { margin-top: 1.2rem; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts li { padding: 1.75rem 1.5rem 1.75rem 0; display: grid; gap: 0.4rem; align-content: start; }
.facts li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.facts .icon { width: 1.75rem; height: 1.75rem; color: var(--green); margin-bottom: 0.4rem; }
.facts h3 { font-size: var(--step-1); }
.facts p { color: var(--ink-2); }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 1.4rem 0; border-left: 0; }
  .facts li + li { border-top: 1px solid var(--line); }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.contact-methods { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.contact-methods li { padding: 1.25rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 1rem; }
.contact-methods li:last-child { border-bottom: 1px solid var(--line); }
.contact-methods .icon { grid-row: span 2; width: 1.5rem; height: 1.5rem; color: var(--green); margin-top: 0.15rem; }
.contact-methods .label { font-size: var(--step--1); color: var(--ink-3); font-weight: 600; }
.contact-methods .value { font-weight: 700; font-size: var(--step-1); color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; overflow-wrap: break-word; }
.contact-methods a.value:hover { color: var(--green); text-decoration: underline; }
.contact-aside .call-card { margin-top: 2rem; padding: 1.5rem; border-radius: var(--radius-lg); background: var(--forest); color: var(--on-forest); }
.contact-aside .call-card h2 { font-size: var(--step-2); color: var(--on-forest); }
.contact-aside .call-card p { margin-top: 0.5rem; color: var(--on-forest-2); }
.contact-aside .call-card .btn { margin-top: 1.25rem; width: 100%; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.quote-form { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.quote-form h2 { font-size: var(--step-2); }
.quote-form > p { margin-top: 0.5rem; color: var(--ink-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem; margin-top: 1.75rem; }
.field { display: grid; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: var(--step--1); color: var(--ink); }
.field .optional { font-weight: 500; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 0.8rem 0.9rem; min-height: 50px;
  border: 1.5px solid var(--field-border); border-radius: 10px; background: #fff;
  caret-color: var(--green);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--field-border-hover); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(106, 163, 58, 0.25); }
.field select {
  appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233e6d1f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.85rem center; background-size: 18px;
}
.field[data-invalid] input, .field[data-invalid] select, .field[data-invalid] textarea { border-color: var(--error); }
.field .error { display: none; color: var(--error); font-size: var(--step--1); font-weight: 600; }
.field[data-invalid] .error { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; border: 0; padding: 0; margin: 0; }
.chips legend { margin-bottom: 0.5rem; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips label > span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0.45rem 0.95rem;
  border: 1.5px solid var(--field-border); border-radius: 999px; font-weight: 600; font-size: 0.95rem; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.chips label > span:hover { border-color: var(--green); }
.chips input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--green-bright); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.form-foot .btn { min-height: 56px; padding-inline: 1.75rem; }
.form-foot p { color: var(--ink-3); font-size: var(--step--1); max-width: 36ch; }
.form-status { margin-top: 1.25rem; padding: 1rem 1.15rem; border-radius: 10px; background: var(--sage); color: var(--ink); display: none; }
.form-status.is-visible { display: block; }
.form-status.is-error { background: var(--error-bg); color: var(--error); }
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { background: radial-gradient(60% 50% at 50% 0%, rgba(106, 163, 58, 0.1), transparent 70%), var(--ink); color: var(--on-ink-2); padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem) 2rem; font-size: 0.97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.5rem; }
.footer-brand img { width: 150px; background: #fff; border-radius: 10px; padding: 8px 12px; box-sizing: content-box; }
.footer-brand p { margin-top: 1.25rem; max-width: 34ch; color: var(--on-ink-3); }
.site-footer h2 { font-size: 0.95rem; color: #fff; letter-spacing: 0; margin-bottom: 1rem; font-variation-settings: "wdth" 100; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: var(--on-ink); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; display: grid; gap: 0.55rem; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer-social a { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.85rem; border: 1px solid var(--ink-2); border-radius: 999px; font-weight: 600; font-size: 0.9rem; }
.footer-social a:hover { border-color: var(--field-border-hover); text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--ink-rule); color: var(--on-ink-4); font-size: 0.88rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
}

/* ---------- Mobile call bar ---------- */
.call-bar { display: none; }
@media (max-width: 760px) {
  .call-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(24, 32, 15, 0.08);
    transform: translateY(110%); transition: transform 0.35s var(--ease-out);
  }
  .call-bar.is-visible { transform: none; }
  .call-bar .btn { min-height: 50px; padding-inline: 0.75rem; font-size: 1rem; }
  body.has-call-bar .site-footer { padding-bottom: 6rem; }
}

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

@media (max-width: 420px) {
  .contact-methods .value { font-size: 1rem; }
}

/* Spam trap: hidden from people, visible to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }


/* ---------- Motion ---------- */
/* Signature: the "mower pass". Photos wipe in left to right as they arrive, like a fresh
   stripe cut across a lawn; the hero accent's striped underline is drawn the same way.
   No fades: nothing on the page animates its opacity.
   site.js only tags elements below the fold, so content is never hidden without JS. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 .accent { animation: mow 1.1s 0.45s var(--ease-out) both; }

  /* The frame stays put (so the observer can see it); the photo sweeps across it. */
  [data-reveal="wipe"] img {
    clip-path: inset(0 100% 0 0); transform: scale(1.12);
    transition: clip-path 0.95s var(--ease-out) calc(var(--d, 0) * 90ms), transform 1.5s var(--ease-out) calc(var(--d, 0) * 90ms);
  }
  [data-reveal="wipe"].is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }

}
@keyframes mow { from { background-size: 0% 0.2em; } to { background-size: 100% 0.2em; } }

/* FAQ answers slide open where the browser supports animating to auto height. */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content {
    block-size: 0; overflow: hidden;
    transition: block-size 0.45s var(--ease-out), content-visibility 0.45s allow-discrete;
  }
  .faq details[open]::details-content { block-size: auto; }
}

/* ---------- Grass edges ---------- */
/* Green bands grow a fringe of grass blades up into the section above. */
.section-sage, .section-forest, .site-footer { position: relative; }
.section-sage::before, .section-forest::before, .site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 44px; margin-bottom: -1px;
  background: var(--sage); pointer-events: none;
  -webkit-mask: url("/assets/img/grass-edge.svg") repeat-x left bottom / 320px 100%;
  mask: url("/assets/img/grass-edge.svg") repeat-x left bottom / 320px 100%;
}
.section-forest::before { background: var(--forest); }
.site-footer::before { background: var(--ink); }
@media (max-width: 760px) {
  .section-sage::before, .section-forest::before, .site-footer::before {
    height: 30px; -webkit-mask-size: 220px 100%; mask-size: 220px 100%;
  }
}

/* White sections settle toward a faint green at their foot. */
.section:not(.section-sage):not(.section-forest) { background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 40%, color-mix(in srgb, var(--sage) 60%, var(--paper)) 100%); }
