/*
  base.css: design tokens and shared building blocks for the whole page.
  Every section stylesheet builds on these; nothing here belongs to one section.

  Brand: Highlands Lawn Guy already has one, so the tokens come from their own
  material: the black panel and gold paint of their trailer sign and Facebook
  cover (#EBA422 is the paint drip on the cover), the sage of their round logo,
  and the forest green of the crew shirts in their video.
  Tone: friendly, sharp, hard-working. Not corporate, not luxury, not cheap.
  Type: Zilla Slab (a slab serif with a sign-painter feel) for headings and the
  service list; Barlow for everything else.
  Motion: most sections move on scroll (GSAP), but only once <html> has the
  "motion-ready" class (src/scripts/base.js). Without it the page is a complete
  static site.
*/

:root {
  /* Colors */
  --chalk: #f4f6ee;          /* page background */
  --sage: #dceac6;           /* their logo's background: alternate sections */
  --ink: #0f130f;            /* text; the black sign panel; footer */
  --muted: #47534a;          /* secondary text on chalk (7.4:1) and sage (6.4:1) */
  --line: #c3cfb6;           /* borders and dividers on light surfaces */
  --forest: #1e3b2c;         /* crew shirts: links, focus ring, the estimate section */
  --blade: #5b9a3c;          /* fresh-cut grass: the strip under the sign, stripes on dark */
  --gold: #eba422;           /* the one accent: call buttons, stars, the paint drips (ink on gold 8.8:1) */
  --on-ink: #f4f6ee;         /* text on ink and forest */
  --on-ink-muted: #b9c4b3;   /* secondary text on ink (10.4:1) and forest (6.6:1) */
  --error: #a3271b;          /* form errors, only on chalk (6.9:1) */

  /* Type */
  --font-head: "Zilla Slab", "Rockwell", Georgia, serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --fs-label: 0.875rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.03rem + 0.45vw, 1.375rem);
  --fs-h3: clamp(1.25rem, 1.12rem + 0.6vw, 1.625rem);
  --fs-h2: clamp(2.125rem, 1.4rem + 3.1vw, 4.25rem);
  --fs-display: clamp(2.5rem, 1.45rem + 4.6vw, 5.75rem);

  /* Spacing scale (4 to 128) */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  --radius: 8px;            /* the one corner radius; no shadows: surfaces differ by color */
  --container: 1200px;
  --gutter: var(--s4);
  --header-h: 64px;
  --section-y: var(--s8);

  --focus: var(--forest);   /* focus ring; dark sections switch it to gold */
}

@media (min-width: 640px) { :root { --gutter: var(--s5); } }
@media (min-width: 1024px) {
  :root { --gutter: var(--s6); --fs-body: 1.125rem; --header-h: 72px; --section-y: var(--s9); }
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Sideways overflow is clipped on <main>, not <body>: phones hand a body value to
   the viewport and still zoom out. "clip" (not "hidden") keeps position: sticky working. */
main { overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
input, textarea, button { font: inherit; color: inherit; }
:where(ul[class], ol[class]) { list-style: none; padding: 0; }

/* Lenis smooth scrolling (rules from the Lenis package). Lenis does the
   smoothing itself, so the browser's own smooth scrolling is switched off. */
html.lenis, html.lenis body { height: auto; scroll-behavior: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* Sections are reached from header links; keep their tops clear of the sticky header. */
[id] { scroll-margin-top: calc(var(--header-h) + var(--s4)); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: 0; }
p { text-wrap: pretty; }

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

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

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Small capitals label above headings, like the lettering on their trailer sign. */
.label {
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Screen-reader-only text */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Buttons: 52px tall for thumbs. Gold is the one call to action on any surface;
   "line" is the quieter second choice (dark sections switch it to light). */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 52px;
  padding: var(--s3) var(--s5);
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: color-mix(in srgb, var(--gold) 78%, white); }
.btn-line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: var(--chalk); }
.on-dark { --focus: var(--gold); }
.on-dark .btn-line { color: var(--on-ink); }
.on-dark .btn-line:hover { background: var(--on-ink); border-color: var(--on-ink); color: var(--ink); }

/* Five-star row shown next to the real Google rating */
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; fill: currentColor; }

/* Skip link: first thing a keyboard user reaches */
.skip-link {
  position: absolute;
  left: var(--s4);
  top: -100px;
  z-index: 300;
  padding: var(--s3) var(--s4);
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--radius);
}
.skip-link:focus { top: var(--s4); }

/* Mowing-stripe reveal (used by the hero video and the job photos).
   src/scripts/base.js adds a row of bars over a photo frame, then shrinks them
   one by one, odd bars upward and even bars downward, like passes of a mower.
   The bars take the color of the surface behind the frame (--stripe-bg).
   Until the scripts have added the bars, frames marked data-stripes stay hidden,
   so the photo never flashes; head.js lifts that after 3 seconds if scripts fail. */
.motion:not(.motion-ready) [data-stripes] { visibility: hidden; }
.stripes {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  pointer-events: none;
}
.stripes i {
  flex: 1 1 0;
  background: var(--stripe-bg, var(--chalk));
  transform-origin: 50% 0%;
  /* overlap by a pixel so no hairline of photo shows between bars before they move */
  margin-inline-end: -1px;
}
.stripes i:nth-child(even) { transform-origin: 50% 100%; }

/* HomeSampleNotice: the "sample website" strip above the header, in the sign's black. */
.sample-notice {
  --focus: var(--gold);
  background: var(--ink);
  color: var(--on-ink);
  font-size: var(--fs-label);
  line-height: 1.4;
  text-align: center;
}
.sample-notice p { padding-block: var(--s2); }
.sample-notice a { color: var(--gold); font-weight: 600; }

/*
  HomeHeader: sticky top bar on chalk. A hairline appears once the page has
  scrolled (class set by HomeHeader.js), so it separates from content without
  a shadow.
*/
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--chalk);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.header.is-scrolled { border-bottom-color: var(--line); }

.header__bar {
  display: flex;
  align-items: center;
  gap: var(--s4);
  min-height: var(--header-h);
}

.header__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  min-height: 44px;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}
.header__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}
.header__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1rem, 0.62rem + 1.9vw, 1.375rem);
  line-height: 1;
  white-space: nowrap;
}

.header__nav { display: none; }
.header__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: var(--s2);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.header__nav a:hover { text-decoration: underline; text-underline-offset: 0.3em; }

.header__call { min-height: 44px; padding: var(--s2) var(--s4); flex: none; }
/* On phones the button reads "Call"; the number is still announced to screen readers. */
.header__number {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* The narrowest phones (320px) can't fit mark, name and button on one line; the name wins. */
@media (max-width: 359px) {
  .header__bar { gap: var(--s3); }
  .header__mark { display: none; }
}
@media (min-width: 1100px) {
  .header__nav { display: flex; gap: var(--s2); }
}
@media (min-width: 640px) {
  .header__call { padding-inline: var(--s5); }
  .header__number { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/*
  HomeHero: headline column and video column.
  Phones: text first (rating and call button inside the first screen), the
  video frame below it in a 4:5 crop. From 960px: two columns, the video in a
  3:4 crop. Behind the frame sits a block of sage mowing stripes; the gold seal
  overlaps one corner of the frame.
*/
.hero { padding-block: var(--s5) var(--s8); }
/* Hidden for the moment before the entrance animation starts, so the text
   doesn't show, vanish and rise again. head.js lifts this after 3 seconds if
   the scripts never start. */
.motion:not(.motion-ready) .hero__copy,
.motion:not(.motion-ready) .hero__seal { visibility: hidden; }
.hero__grid {
  display: grid;
  gap: var(--s7);
}

.hero__kicker { color: var(--forest); }
.hero__title {
  margin-top: var(--s2);
  font-size: var(--fs-display);
}
/* "everything in between": italic, with a band of their gold paint under it.
   box-decoration-break repeats the band on every line the phrase wraps onto. */
.hero__accent {
  font-style: italic;
  font-weight: 600;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-size: 100% 0.26em;
  background-position: 0 90%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero__lead {
  margin-top: var(--s3);
  max-width: 38ch;
  color: var(--muted);
  font-size: var(--fs-lead);
  line-height: 1.5;
}

/* Rating chip in the sign's black, so the gold stars read clearly. */
.hero__rating {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s1) var(--s3);
  margin-top: var(--s4);
  padding: var(--s2) var(--s4);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-ink);
  font-size: 1rem;
  line-height: 1.3;
  text-decoration: none;
  --focus: var(--forest);
}
.hero__rating strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.hero__rating:hover > span:last-child { text-decoration: underline; text-underline-offset: 0.2em; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s4);
}
.hero__actions .btn { flex: 1 1 15rem; }
.hero__note { margin-top: var(--s3); color: var(--muted); font-size: 1rem; }

/* Video column */
.hero__media {
  position: relative;
  isolation: isolate;
}
/* Sage stripes behind the frame, like a freshly mowed lawn seen from above. */
.hero__lawn {
  position: absolute;
  z-index: -1;
  inset: 18% -4% -5% 22%;
  border-radius: var(--radius);
  background: repeating-linear-gradient(90deg,
    var(--sage) 0 36px,
    color-mix(in srgb, var(--sage) 45%, var(--chalk)) 36px 72px);
}
.hero__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--sage);
  --stripe-bg: var(--chalk);
}
.hero__poster,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* The video fades in over the still once it has started; it stays visible when paused. */
.hero__video { opacity: 0; transition: opacity 0.6s ease; }
.hero.has-video .hero__video { opacity: 1; }

/* Pause / play button: 44px, bottom left of the frame. Shows "pause" while the video plays. */
.hero__toggle {
  position: absolute;
  z-index: 4;
  left: var(--s3);
  bottom: var(--s3);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
  cursor: pointer;
  --focus: var(--gold);
}
.hero__toggle[hidden] { display: none; }
.hero__toggle svg { width: 18px; height: 18px; }
.hero__icon-pause { display: none; }
.hero.is-playing .hero__icon-pause { display: block; }
.hero.is-playing .hero__icon-play { display: none; }

/* Gold seal over the frame's bottom-right corner */
.hero__seal {
  position: absolute;
  z-index: 5;
  right: var(--s3);
  bottom: calc(-1 * var(--s7));
  width: 104px;
  height: 104px;
}
.hero__seal-disc { fill: var(--gold); }
.hero__seal-text {
  fill: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.1em;
}
.hero__seal-mark {
  fill: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 50px;
  letter-spacing: 0.01em;
}

@media (min-width: 960px) {
  .hero { padding-block: var(--s8) var(--s9); }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    align-items: center;
    gap: var(--s8);
  }
  .hero__actions .btn { flex: 0 0 auto; }
  .hero__frame { aspect-ratio: 3 / 4; }
  .hero__lawn { inset: 12% -18% -8% 24%; }
  /* Kept on the frame's outer (right) side so it never covers the headline column. */
  .hero__seal {
    right: calc(-1 * var(--s5));
    bottom: calc(-1 * var(--s7));
    width: 136px;
    height: 136px;
  }
}

/*
  HomeSign: the trailer-sign panel and the photo of the real trailer.
  Phones: panel, then photo. From 960px: side by side.
  The services are gold on black (8.8:1). With motion they start dim and light
  up one by one as the panel scrolls through the screen (HomeSign.js adds
  "is-lit"); without motion they are simply gold.
*/
.sign { padding-block: var(--section-y); }
.sign__grid {
  display: grid;
  gap: var(--s6);
}

.sign__panel {
  position: relative;
  overflow: hidden;
  padding: var(--s6) var(--s5) var(--s9);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-ink);
}
.sign__title {
  font-family: var(--font-body);
  color: var(--gold);
}
.sign__list {
  margin-top: var(--s4);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.25rem, 1.4rem + 3vw, 3.75rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--gold);
}
.sign__list li {
  padding-block: var(--s2);
  border-top: 1px solid color-mix(in srgb, var(--on-ink) 16%, transparent);
}
.sign__list li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--on-ink) 16%, transparent); }
/* Dim until lit. 0.45 keeps the dim words above 3:1, the minimum for text this large. */
.motion-ready .sign__list li {
  color: var(--on-ink);
  opacity: 0.45;
  transition: color 0.45s ease, opacity 0.45s ease, transform 0.45s ease;
}
.motion-ready .sign__list li.is-lit {
  color: var(--gold);
  opacity: 1;
  transform: translateX(0.18em);
}

.sign__area {
  margin-top: var(--s5);
  color: var(--on-ink-muted);
  font-size: var(--fs-lead);
}
.sign__cta {
  margin-top: var(--s5);
  color: var(--on-ink-muted);
}
.sign__phone {
  display: inline-block;
  color: var(--on-ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
}
.sign__phone:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; }

/* Grass strip along the bottom edge, as on the trailer sign. A plain green
   band until HomeSign.js draws the blades into it. */
.sign__grass {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  background: linear-gradient(to top, var(--blade) 0 12px, transparent 12px);
}
.sign__grass.has-blades { background: none; }
.sign__grass svg { width: 100%; height: 100%; }
.sign__grass .blades-back { fill: color-mix(in srgb, var(--blade) 55%, var(--ink)); }
.sign__grass .blades-front { fill: var(--blade); }

/* Photo of their trailer */
.sign__photo { margin: 0; }
.sign__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  --stripe-bg: var(--chalk);
}
.sign__frame img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.sign__photo figcaption {
  margin-top: var(--s3);
  color: var(--muted);
  font-size: 1rem;
}

@media (min-width: 960px) {
  .sign__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: var(--s7);
  }
  .sign__panel { padding: var(--s7) var(--s7) var(--s9); }
  .sign__grass { height: 64px; }
}

/*
  HomeWork: job photos.
  Default (phones, tablets, and any screen without motion): a grid with each
  caption under its photo. Phones: one column. From 640px: two columns, the
  wide photos across both. From 1024px: six columns in two rows.
  From 1024px with motion, HomeWork.js adds "is-strips": the five photos become
  tall strips in one row, like mowing passes, and the section holds still
  while scrolling widens one strip at a time. Only the wide strip shows its
  caption, laid over a dark fade at the bottom of the photo.
*/
.work { padding-block: var(--section-y); }
.work__head {
  display: grid;
  gap: var(--s3);
  margin-bottom: var(--s6);
}
.work__head p { color: var(--muted); font-size: var(--fs-lead); }

.work__list {
  display: grid;
  gap: var(--s6) var(--s5);
}
.work__figure { margin: 0; }
.work__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sage);
  --stripe-bg: var(--chalk);
}
.work__frame img { width: 100%; height: 100%; object-fit: cover; }
.work__item--lawn .work__frame { aspect-ratio: 16 / 10; }
.work__item--mower .work__frame,
.work__item--mulch .work__frame { aspect-ratio: 4 / 5; }
.work__item--edge .work__frame { aspect-ratio: 4 / 3; }
.work__item--trim .work__frame { aspect-ratio: 16 / 9; }
.work__item--mulch img { object-position: 50% 70%; }
.work__item--mower img { object-position: 50% 75%; }

.work__caption { margin-top: var(--s3); color: var(--muted); }
.work__tag { display: block; margin-bottom: var(--s1); color: var(--forest); }

@media (min-width: 640px) {
  .work__list { grid-template-columns: 1fr 1fr; }
  .work__item--lawn,
  .work__item--trim { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .work__head { grid-template-columns: 1fr auto; align-items: end; }
  .work__list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .work__item { grid-column: span 2; }
  .work__item--lawn { grid-column: span 4; }
  .work__item .work__frame { aspect-ratio: auto; height: clamp(240px, 22vw, 320px); }
  .work__item--lawn .work__frame,
  .work__item--mower .work__frame { height: clamp(320px, 31vw, 440px); }

  /* Pinned strips (motion only). The row's height leaves room for the heading
     and the sticky header, so the whole section fits one screen at 1024 x 768. */
  .work.is-strips { padding-top: var(--s7); }
  .is-strips .work__list {
    display: flex;
    gap: var(--s2);
    height: clamp(340px, calc(100vh - var(--header-h) - 230px), 640px);
  }
  .is-strips .work__item {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--radius);
  }
  .is-strips .work__figure { position: relative; height: 100%; }
  .is-strips .work__item .work__frame { height: 100%; border-radius: 0; }
  .is-strips .work__caption {
    position: absolute;
    inset: auto 0 0 0;
    margin: 0;
    padding: var(--s8) var(--s5) var(--s5);
    background: linear-gradient(to top, color-mix(in srgb, var(--ink) 85%, transparent), transparent);
    color: var(--on-ink);
    white-space: nowrap;
  }
  .is-strips .work__tag { color: var(--gold); }
}

/*
  HomeReviews: sage section (their logo's color). Score on the left from
  1024px, quotes on the right; stacked on phones. Quotes are separated by
  hairlines, not boxes.
*/
.reviews {
  padding-block: var(--section-y);
  background: var(--sage);
}
.reviews__grid {
  display: grid;
  gap: var(--s7);
}

.reviews__title { font-family: var(--font-body); color: var(--forest); }
.reviews__number {
  margin-top: var(--s2);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(5rem, 3.6rem + 6vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
/* Gold stars on sage need an outline to stand out; the number beside them carries the meaning. */
.reviews__stars { margin-top: var(--s3); }
.reviews__stars svg { width: 26px; height: 26px; stroke: var(--ink); stroke-width: 1.2; }
.reviews__count { margin-top: var(--s2); font-size: var(--fs-lead); }
.reviews__link {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  min-height: 44px;
  margin-top: var(--s2);
  font-weight: 600;
}
.reviews__link svg { width: 18px; height: 18px; }

.reviews__pull { margin: 0; }
.reviews__pull blockquote p {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.125rem, 1.3rem + 3.6vw, 4.5rem);
  line-height: 1.04;
  text-wrap: balance;
}
.reviews__pull figcaption,
.reviews__list figcaption {
  margin-top: var(--s3);
  color: var(--muted);
  font-weight: 600;
}

.reviews__list {
  display: grid;
  gap: var(--s5);
  margin-top: var(--s7);
}
.reviews__list li {
  padding-top: var(--s4);
  border-top: 1px solid var(--line);
}
.reviews__list figure { margin: 0; }
.reviews__list p { font-size: 1.125rem; line-height: 1.5; }

.reviews__topics {
  margin-top: var(--s6);
  color: var(--muted);
}

@media (min-width: 768px) {
  .reviews__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); }
}
@media (min-width: 1024px) {
  .reviews__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s8); }
}

/*
  HomeVisit: hours and area on chalk, over wide pale mowing stripes (sage
  mixed into chalk, so the text keeps its contrast). Phones: stacked.
  From 768px: details left, hours table right.
*/
.visit {
  padding-block: var(--section-y);
  background: repeating-linear-gradient(90deg,
    var(--chalk) 0 96px,
    color-mix(in srgb, var(--sage) 35%, var(--chalk)) 96px 192px);
}
.visit__grid {
  display: grid;
  gap: var(--s6);
}
.visit__area { margin-top: var(--s4); font-size: var(--fs-lead); }
.visit__address {
  display: flex;
  gap: var(--s3);
  margin-top: var(--s5);
  font-style: normal;
}
.visit__address svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--forest); }
.visit__map {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: var(--s2);
  font-weight: 600;
}
.visit__owned { margin-top: var(--s4); color: var(--muted); }

.visit__hours {
  width: 100%;
  border-collapse: collapse;
  background: var(--chalk);
  font-variant-numeric: tabular-nums;
}
.visit__hours th,
.visit__hours td {
  padding: var(--s3) var(--s4);
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.visit__hours th { font-weight: 600; }
.visit__hours td { text-align: right; }
.visit__hours tr:first-child th,
.visit__hours tr:first-child td { border-top: 1px solid var(--line); }
/* Today's row, in the sign's black (set by HomeVisit.js). */
.visit__hours tr.is-today th,
.visit__hours tr.is-today td { background: var(--ink); color: var(--on-ink); }
.visit__today { margin-left: var(--s2); color: var(--gold); font-weight: 600; font-size: var(--fs-label); }

@media (min-width: 768px) {
  .visit__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: var(--s8); }
}

/*
  HomeContact: forest-green section with the phone number in gold (5.7:1),
  and the form on a chalk panel so its fields read like paper.
  Phones: stacked. From 960px: two columns.
*/
.contact {
  padding-block: var(--section-y);
  background: var(--forest);
  color: var(--on-ink);
}
.contact__grid {
  display: grid;
  gap: var(--s7);
}

.contact__kicker { color: var(--gold); }
.contact__info h2 { margin-top: var(--s2); }
.contact__phone {
  display: inline-block;
  margin-top: var(--s4);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.5rem, 1.7rem + 3.6vw, 4.5rem);
  line-height: 1.05;
  text-decoration: none;
  white-space: nowrap;
}
.contact__phone:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.12em; }
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s5);
}
.contact__actions .btn { flex: 1 1 12rem; }
.contact__quote {
  margin: var(--s7) 0 0;
  padding-left: var(--s4);
  border-left: 3px solid var(--gold);
}
.contact__quote p {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: 1.25;
}
.contact__quote figcaption { margin-top: var(--s2); color: var(--on-ink-muted); }
.contact__email { margin-top: var(--s5); color: var(--on-ink-muted); }
.contact__email a { color: var(--on-ink); font-weight: 600; }

/* The form: a chalk panel with its own (light-surface) focus color. */
.contact__form {
  --focus: var(--forest);
  padding: var(--s6) var(--s5);
  border-radius: var(--radius);
  background: var(--chalk);
  color: var(--ink);
}
.contact__form-title { font-size: var(--fs-h3); }
.contact__form-note { margin-top: var(--s2); color: var(--muted); }

.field { margin-top: var(--s5); }
.field > label,
.field legend {
  display: block;
  margin-bottom: var(--s2);
  font-weight: 600;
}
.field__req { color: var(--muted); font-weight: 400; }
.field input[type="text"],
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--s3) var(--s4);
  border: 2px solid var(--muted);
  border-radius: var(--radius);
  background: transparent;
}
.field textarea { resize: vertical; }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field__error { margin-top: var(--s2); color: var(--error); font-weight: 600; }

.field--checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--s4);
  padding: 0;
  border: 0;
}
.field--checks legend { padding: 0; }
.field--checks label {
  display: flex;
  align-items: center;
  gap: var(--s2);
  min-height: 44px;
  cursor: pointer;
}
.field--checks input { width: 20px; height: 20px; accent-color: var(--forest); }

.contact__form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s6);
}
.contact__form-actions .btn { flex: 1 1 12rem; }
.contact__status { margin-top: var(--s3); min-height: 1.5em; color: var(--muted); }

@media (min-width: 960px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: var(--s8); }
  .contact__form { padding: var(--s7); }
}

/*
  HomeFooter: black footer. The "HLG" is sized in container units (cqi) so it
  always spans the content column exactly; 100vw would include the desktop
  scrollbar and overflow.
*/
.footer {
  position: relative;
  padding-top: var(--s10);
  background: var(--ink);
  color: var(--on-ink);
  --focus: var(--gold);
}
/* Gold band along the top edge; HomeFooter.js replaces it with drawn drips. */
.footer__drips {
  position: absolute;
  inset: 0 0 auto 0;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(var(--gold) 0 8px, transparent 8px);
}
.footer__drips.has-drips { background: none; }
.footer__drips svg { width: 100%; height: 100%; fill: var(--gold); }

.footer__inner { container-type: inline-size; }
.footer__mark {
  margin-top: var(--s5);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 46cqi;
  line-height: 0.8;
  letter-spacing: -0.03em;
}

.footer__cols {
  display: grid;
  gap: var(--s5);
  margin-top: var(--s7);
  color: var(--on-ink-muted);
}
.footer__name {
  color: var(--on-ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-h3);
}
.footer__links { display: grid; gap: var(--s1); }
.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-ink);
}

.footer__sample {
  margin-top: var(--s7);
  padding-block: var(--s5);
  border-top: 1px solid color-mix(in srgb, var(--on-ink) 18%, transparent);
  color: var(--on-ink-muted);
  font-size: var(--fs-label);
}
.footer__sample a { color: var(--gold); font-weight: 600; }

@media (min-width: 768px) {
  .footer__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
