:root {
  --paper: #ffffff;
  --sky: #eaf3f6;
  --ink: #1b2a1f;
  --soft: #4d5b51;
  --lawn: #2f7a3b;
  --lawn-deep: #235c2c;
  --mower: #f07a1a;
  --line: #dbe5df;
  --font: 'Bricolage Grotesque', system-ui, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 1.075rem; line-height: 1.55;
  font-variation-settings: 'opsz' 14;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-variation-settings: 'opsz' 96; letter-spacing: -.02em; margin: 0; }
:focus-visible { outline: 3px solid var(--lawn); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 20; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0 1.35rem; border-radius: 999px;
  font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
}
.btn--go { background: var(--mower); color: #1b1206; }
.btn--go:hover { background: #ff8b2b; }
.btn--line { border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.15); }
.btn--big { min-height: 3.5rem; font-size: 1.1rem; padding: 0 1.8rem; }

/* Header */
.top {
  display: flex; align-items: center; gap: 2rem;
  padding: 1rem var(--gutter); max-width: 1320px; margin: 0 auto;
}
.brand { white-space: nowrap; display: flex; align-items: center; gap: .6rem; font-weight: 750; font-size: 1.2rem; text-decoration: none; letter-spacing: -.01em; }
.brand__mark {
  width: 28px; height: 28px; border-radius: 7px;
  background: repeating-linear-gradient(90deg, #87c04f 0 7px, var(--lawn) 7px 14px);
}
.top__nav { display: flex; gap: 1.6rem; margin-left: auto; }
.top__nav a { text-decoration: none; font-weight: 500; color: var(--soft); }
.top__nav a:hover { color: var(--ink); }
.top__cta { min-height: 2.6rem; white-space: nowrap; }

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding: clamp(1.5rem, 4vw, 3.5rem) var(--gutter) clamp(2.5rem, 5vw, 4rem);
  max-width: 1320px; margin: 0 auto;
}
.hero h1 { font-size: clamp(2.8rem, 6.2vw, 5.4rem); line-height: .95; font-weight: 800; margin-bottom: 1.4rem; }
.lede { font-size: 1.2rem; color: var(--soft); max-width: 40ch; margin: 0 0 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__photo { margin: 0; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 20px; }

/* Interactive lawn */
.mow { background: var(--sky); padding: 2.5rem 0 0; }
.mow__head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.5rem;
  max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter) 1.25rem;
}
.mow__title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 750; }
.mow__hint { margin: 0; color: var(--soft); flex: 1 1 18rem; }
.mow__meter { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--lawn-deep); }

.lawn {
  position: relative; height: clamp(200px, 26vw, 300px);
  overflow: hidden; touch-action: none; cursor: grab;
  background: #4a8a2c;
}
.lawn:active { cursor: grabbing; }
.lawn:focus-visible { outline-offset: -4px; outline-color: #fff; }
.lawn canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mower {
  position: absolute; left: 0; top: 0; width: 64px; height: 52px;
  margin: -26px 0 0 -32px; pointer-events: none;
  filter: drop-shadow(0 6px 4px rgba(0,0,0,.28));
  will-change: transform;
}
.mower svg { display: block; }
.lawn__done {
  position: absolute; inset: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 1rem;
  background: rgba(20, 45, 24, .45); color: #fff; text-align: center; padding: 1rem;
}
.lawn__done[hidden] { display: none; }
.lawn__done p { width: 100%; margin: 0; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.02em; }

/* Sections */
section h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 780; line-height: 1; margin-bottom: 2rem; }
.services, .yards, .how, .area, .quote {
  max-width: 1320px; margin: 0 auto; padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter) 0;
}

.services__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem 3rem;
}
.services__list li { border-top: 3px solid var(--lawn); padding-top: 1rem; }
.services__list h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: .4rem; }
.services__list p { margin: 0; color: var(--soft); max-width: 36ch; }

.yards__grid {
  display: grid; gap: 12px;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 260px 260px;
}
.yards__grid figure { margin: 0; overflow: hidden; border-radius: 16px; }
.yards__grid img { width: 100%; height: 100%; object-fit: cover; }
.y1 { grid-row: span 2; }
.y4 { grid-column: span 2; }

.how__steps {
  list-style: none; counter-reset: step; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem;
}
.how__steps li { counter-increment: step; }
.how__steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%; margin-bottom: 1rem;
  background: var(--lawn); color: #fff; font-weight: 700;
}
.how__steps h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: .35rem; }
.how__steps p { margin: 0; color: var(--soft); max-width: 34ch; }

.area p { font-size: 1.2rem; max-width: 56ch; margin: 0; color: var(--soft); }

.quote { padding-bottom: clamp(4rem, 8vw, 6rem); }
.quote > p { font-size: 1.2rem; color: var(--soft); max-width: 48ch; margin: -1rem 0 2rem; }
.quote__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.foot {
  background: var(--lawn-deep); color: #d6e8d6;
  padding: 2rem var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem;
  font-size: .95rem;
}
.foot p { margin: 0; }
.foot__credit { opacity: .75; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__photo { order: -1; }
  .services__list, .how__steps { grid-template-columns: 1fr 1fr; }
  .yards__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px 220px; }
  .y1 { grid-row: auto; grid-column: span 2; }
  .y4 { grid-column: span 2; }
}
@media (max-width: 620px) {
  .top__nav { display: none; }
  .top__cta { margin-left: auto; padding: 0 1rem; }
  .brand { font-size: 1.05rem; }
  .services__list, .how__steps { grid-template-columns: 1fr; }
  .yards__grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
  .y1, .y4 { grid-column: auto; }
}
