/*
  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: taken from the business's own trailer sign (their Google photo, Mar 2021):
  lime vinyl lettering on a black board, an "EZ" badge with grass blades, a lime
  band that says "CALL 813-401-6375", and heavy italic slab letters. The page
  reads like that sign: black board, one lime accent, slab italic headings.
  Tone: dependable, neighborly, sharp. Not corporate, not fussy, not cheap.
  Type: Bitter (slab serif, heavy italic for headings, like the sign's
  "LAWN MAINTENANCE") and Hanken Grotesk for reading text.
  Motion: Yash asked for a wow effect on every demo, so several sections move on
  scroll (GSAP). Every section is fully readable without it: motion only starts
  when <html> has the "motion-ready" class (set by src/scripts/base.js).
*/

:root {
  /* Colors: four brand colors, then the text and line neutrals that go with them */
  --board: #15160f;          /* the sign's black board: dark sections, text on lime and paper */
  --lime: #a6e34b;           /* the sign's lime: the one accent (call band, badge, stars) and the services section */
  --paper: #f3f5ec;          /* light sections */
  --leaf: #2e6a1d;           /* deep green for links and small marks on paper (6.0:1) */
  --muted: #4b5344;          /* secondary text on paper (7.3:1) */
  --line: #d5dac9;           /* dividers on paper */
  --on-board: #eef2e6;       /* text on the board (15.9:1) */
  --on-board-muted: #b4bca8; /* secondary text on the board (9.1:1) */
  --on-lime-muted: #2f3a1f;  /* secondary text on lime (7.9:1) */

  /* Type */
  --font-display: "Bitter", Rockwell, Georgia, serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --fs-sm: 0.875rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.03rem + 0.45vw, 1.375rem);
  --fs-h2: clamp(2.25rem, 1.45rem + 3.6vw, 4.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: 4px;   /* sign corners: nearly square */
  /* The one shadow style: a print lying on a table (HomeWork). Its color is set
     where it is used, because its strength fades as the photos land. */
  --shadow-shape: 0 18px 36px -16px;
  --container: 1200px;
  --gutter: var(--s4);
  --header-h: 64px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: var(--leaf);
}

@media (min-width: 640px) { :root { --gutter: var(--s5); } }
@media (min-width: 1024px) { :root { --gutter: var(--s6); --fs-body: 1.125rem; } }

/* 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(--paper);
  color: var(--board);
  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 zoom out to fit a
   wide element even when body clips it. "clip" (not "hidden") keeps sticky working. */
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
input, select, textarea, button { font: inherit; color: inherit; }
:where(ul, 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 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); font-style: italic; }
p { text-wrap: pretty; }

a { color: var(--leaf); 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 label above a heading, set like the sign's "RESIDENTIAL & COMMERCIAL" line */
.eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: 0.12em;
  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;
}

/* The call band: the lime strip from their trailer sign ("CALL 813-401-6375"),
   used as the main call button. Heavy slab italic, board-black text. */
.callband {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  min-height: 56px;
  padding: var(--s3) var(--s5);
  background: var(--lime);
  color: var(--board);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.05rem + 1vw, 1.75rem);
  font-style: italic;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.callband svg { width: 1em; height: 1em; flex: none; }
.callband:hover { background: var(--on-board); }

/* Smaller buttons (header, secondary ways to get in touch) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 48px;
  padding: var(--s2) var(--s4);
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  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-lime { background: var(--lime); color: var(--board); }
.btn-lime:hover { background: var(--on-board); }
.btn-outline { border-color: currentColor; color: var(--board); }
.btn-outline:hover { background: var(--board); color: var(--paper); }

/* Five-star row next to the real Google rating */
.stars { display: inline-flex; gap: 2px; color: var(--lime); }
.stars svg { width: 20px; height: 20px; 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(--board);
  color: var(--on-board);
  border-radius: var(--radius);
}
.skip-link:focus { top: var(--s4); }

/* HomeSampleNotice: the "sample website" strip above the header. */
.sample-notice {
  position: relative;
  z-index: 60;
  background: var(--paper);
  color: var(--board);
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
  line-height: 1.4;
  text-align: center;
}
.sample-notice p { padding-block: var(--s2); }
.sample-notice a { color: var(--leaf); font-weight: 700; }

/* HomeHeader: sticky black bar, the top edge of the "sign". */
.site-header {
  --focus: var(--lime);
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--board);
  color: var(--on-board);
  border-bottom: 1px solid rgba(238, 242, 230, 0.12);
}
.site-header__bar {
  display: flex;
  align-items: center;
  gap: var(--s4);
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  min-height: 44px;
  margin-right: auto;
  color: var(--on-board);
  text-decoration: none;
}
.brand__badge { width: 40px; height: 40px; flex: none; color: var(--lime); }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.site-nav { display: none; }
.site-nav ul { display: flex; gap: var(--s2); list-style: none; padding: 0; } /* no class on this list, so the base reset does not reach it */
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: var(--s3);
  color: var(--on-board);
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:hover { color: var(--lime); text-decoration: underline; text-decoration-thickness: 2px; }

.site-header__call { min-height: 44px; padding-inline: var(--s4); }
.site-header__call-full { display: none; }

@media (min-width: 400px) {
  .brand__name { font-size: 1.1875rem; }
}
@media (min-width: 960px) {
  .site-nav { display: block; }
}
@media (min-width: 1024px) {
  .site-header__call-short { display: none; }
  .site-header__call-full { display: inline; }
}

/*
  HomeHero: the trailer sign as the first screen.
  Static (default, reduced motion, short screens): black board, text, their
  badge, rating and the lime call band, in normal flow.
  Dive (".hero--dive", added by HomeHero.js when motion is on and the screen is
  tall enough): the section becomes tall and its stage sticks under the header
  while the visitor scrolls through it. The photo and the board extend below the
  stage by the height of a phone's collapsing toolbar, so no gap shows there.
*/
.hero {
  --focus: var(--lime);
  --hero-trim: 3rem;                     /* height of the sample notice above the header; HomeHero.js measures it */
  --hero-extra: 0px;                     /* phone toolbar height, filled in below where supported */
  --photo-start: -38;                    /* dive photo's starting shift (yPercent), so lawn shows in the letters: tall photo */
  position: relative;
  background: var(--board);
  color: var(--on-board);
}
@supports (height: 100lvh) {
  .hero { --hero-extra: calc(100lvh - 100svh); }
}
/* Landscape screens get the wide front-lawn photo, whose lawn sits higher in the frame. */
@media (orientation: landscape) {
  .hero { --photo-start: -26; }
}

.hero__stage {
  position: relative;
  display: flex;
  min-height: calc(100vh - var(--header-h) - var(--hero-trim));
  min-height: calc(100svh - var(--header-h) - var(--hero-trim));
}

/* Photo and board only exist in dive mode. */
.hero__photo,
.hero__board { display: none; }

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  padding-top: var(--s5);
  padding-bottom: var(--s5);
}

/* Copy: kicker, the name as on the trailer, what they do */
.hero__copy { container-type: inline-size; }
.hero__kicker { color: var(--lime); }
.hero__kicker span[aria-hidden] { margin-inline: var(--s1); }
.hero__title {
  margin-top: var(--s3);
  /* "MAINTENANCE" must fit the column at every width: size from the column, not
     the screen. The height cap keeps the call band on the first screen of a
     phone held sideways. */
  font-size: min(12.4cqi, 7rem, 11vh);
  font-size: min(12.4cqi, 7rem, 11svh);
  font-style: italic;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero__lead {
  max-width: 36ch;
  margin-top: var(--s4);
  font-size: var(--fs-lead);
  line-height: 1.45;
}

/* Badge: their logo. Letters are holes, so they show whatever is behind. */
.hero__badge-slot {
  display: grid;
  place-items: center;
  min-height: 0;
}
.hero__badge {
  width: 100%;
  max-width: 560px;
  height: auto;
  overflow: visible;
}
.badge__blade { fill: var(--lime); }
.badge__ring { fill: none; stroke: var(--lime); stroke-width: 10; }
.badge__disc { fill: var(--lime); }

/* Proof and the one action */
.hero__action { display: grid; gap: var(--s3); }
.hero__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2) var(--s3);
}
.hero__rating-link { color: var(--on-board); font-weight: 600; }
.hero__rating-link strong { font-family: var(--font-display); font-size: 1.25em; font-style: italic; font-weight: 900; }
.hero__call { width: 100%; }
.hero__note { color: var(--on-board-muted); font-size: var(--fs-sm); }
.hero__note span { margin-inline: var(--s1); }

.hero__caption { display: none; }

@media (min-width: 640px) {
  .hero__call { width: auto; justify-self: start; padding-inline: var(--s7); }
}
/* Static layout on phones and tablets: the logo comes after the call band, so
   the call and the rating stay on the first screen even on small phones. */
@media (max-width: 1023px) {
  .hero:not(.hero--dive) .hero__badge-slot { order: 3; }
}

/* Desktop: name and call on the left, the badge on the right (like a sign hung beside the copy). */
@media (min-width: 1024px) {
  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-areas: "copy badge" "action badge";
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: var(--s8);
    row-gap: var(--s6);
    padding-block: var(--s7);
  }
  .hero__copy { grid-area: copy; align-self: end; }
  .hero__action { grid-area: action; align-self: start; }
  .hero__badge-slot { grid-area: badge; }
}

/* ---------- Dive mode (motion on, screen tall enough) ---------- */
.hero--dive {
  height: calc(100svh - var(--header-h) + 150svh);
  overflow: clip;
}
.hero--dive .hero__stage {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  min-height: 0;
}
.hero--dive .hero__inner {
  width: 100%;
  height: 100%;
  padding-bottom: calc(var(--s5) + var(--hero-trim));
}
/* The badge takes whatever height is left on the first screen; the SVG is sized
   to exactly that box and its drawing fits inside it (viewBox "meet"). */
.hero--dive .hero__badge-slot { position: relative; flex: 1 1 0; }
.hero--dive .hero__badge {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}
/* Short screens: drop the services line and the second kicker phrase (both are
   repeated just below) to give the badge room. HomeHero.js adds the class. */
.hero--compact .hero__lead,
.hero--compact .hero__kicker-more { display: none; }
@media (min-width: 1024px) {
  .hero--dive .hero__inner { padding-bottom: calc(var(--s7) + var(--hero-trim)); }
}
/* The live badge is drawn on the board; the static one only keeps its place. */
.hero--dive .hero__badge { visibility: hidden; }

.hero--dive .hero__photo {
  display: block;
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: 0;
  bottom: calc(-1 * var(--hero-extra));
  overflow: hidden;
}
/* 140% tall: it starts shifted up so the lawn sits behind the badge letters,
   then pans down to show the whole yard as the visitor dives in. */
.hero--dive .hero__photo img {
  width: 100%;
  height: 140%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
}
.hero--dive .hero__board {
  display: block;
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: calc(100% + var(--hero-extra));
}
.hero__board-black { fill: var(--board); }

.hero--dive .hero__caption {
  display: block;
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  bottom: calc(var(--s5) + var(--hero-trim));
  max-width: calc(100% - 2 * var(--gutter));
  padding: var(--s2) var(--s3);
  background: var(--board);
  color: var(--lime);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
}
@media (min-width: 1024px) {
  /* Line the caption up with the container's left edge. */
  .hero--dive .hero__caption { left: max(var(--gutter), calc((100% - var(--container)) / 2)); }
}

/* Before the scripts start, hide what the entrance reveals (no flash). */
.motion:not(.motion-ready) .hero__copy,
.motion:not(.motion-ready) .hero__action,
.motion:not(.motion-ready) .hero__badge-slot { opacity: 0; }

/* HomeServices: big italic service names on lime, ruled like a list painted on a board. */
.services {
  --focus: var(--board);
  background: var(--lime);
  color: var(--board);
  padding-block: var(--s9);
  overflow-x: clip; /* rows lean sideways with scroll speed; never widen the page */
}

.services__title { max-width: 18ch; margin-top: var(--s3); }

.services__list { margin-top: var(--s7); }
.services__row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s3) var(--s4);
  padding-block: var(--s5);
}
.services__row:last-child { border-bottom: 3px solid var(--board); }
.services__rule {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--board);
  transform-origin: 0 50%;
}
.services__num {
  align-self: start;
  padding-top: 0.45em;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--on-lime-muted);
}
.services__name {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.1rem + 3.6vw, 4.25rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-wrap: balance;
  /* Leans from its baseline when the visitor scrolls fast (HomeServices.js), like grass in wind. */
  transform-origin: 0 100%;
}
.services__tuft {
  width: clamp(32px, 2rem + 1.5vw, 56px);
  height: auto;
  fill: var(--board);
  overflow: visible;
}
.services__tuft path { transform-box: fill-box; transform-origin: 50% 100%; }

.services__facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s5);
  margin-top: var(--s6);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.services__facts li { display: flex; align-items: center; gap: var(--s2); }
.services__facts li::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--board);
  border-radius: 50%;
}

@media (min-width: 1024px) {
  .services { padding-block: var(--s10); }
  .services__row { gap: var(--s4) var(--s6); padding-block: var(--s6); }
}

/*
  HomeWork: their photos as prints. Static: a tidy grid (2 columns on phones,
  4 from tablet up). Pile mode (".work--pile", desktop with motion): the stage
  sticks under the header while the pile is dealt out, and the grid is sized
  from the screen height so two rows always fit.
*/
.work {
  background: var(--paper);
  padding-block: var(--s9);
  overflow-x: clip; /* tilted photos must never widen the page */
}
.work__head { max-width: 30ch; }
.work__head .eyebrow { color: var(--leaf); }
.work__title { margin-top: var(--s3); }
.work__lead { margin-top: var(--s4); color: var(--muted); }

.work__grid {
  position: relative; /* HomeWork.js measures each photo's offset from here */
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s5) var(--s3);
  margin-top: var(--s7);
}
.work__item { --lift: 0; }
.work__item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--line);
  /* The page's one shadow, scaled by --lift: strong while the photos lie in a pile, gone in the grid. */
  box-shadow: var(--shadow-shape) rgb(21 22 15 / calc(0.5 * var(--lift)));
}
.work__item figcaption {
  margin-top: var(--s2);
  font-size: var(--fs-sm);
  line-height: 1.35;
}
.work__item figcaption span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .work__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6) var(--s4); }
  .work__item img { aspect-ratio: 3 / 4; }
}

/* ---------- Pile mode ---------- */
.work--pile { height: calc(100vh - var(--header-h) + 140vh); padding-block: 0; }
.work--pile .work__stage {
  position: sticky;
  top: var(--header-h);
  display: flex;
  align-items: center;
  height: calc(100vh - var(--header-h));
}
.work--pile .work__layout {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  align-items: center;
  gap: var(--s8);
}
.work--pile .work__grid {
  justify-self: center;
  width: 100%;
  /* Two rows of 3:4 photos plus captions must fit the screen height. */
  max-width: calc((100vh - var(--header-h) - 220px) * 1.5 + 48px);
  margin-top: 0;
  gap: var(--s5) var(--s4);
}

/* HomeReviews: the rating as big as the screen allows, real quotes beside it. */
.reviews {
  --focus: var(--lime);
  background: var(--board);
  color: var(--on-board);
  padding-block: var(--s9);
}
.reviews__layout { display: grid; gap: var(--s7); }

.reviews__score .eyebrow { color: var(--lime); }
.reviews__title { margin-top: var(--s3); max-width: 13ch; }

.reviews__badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3) var(--s5);
  margin-top: var(--s6);
}
.reviews__big {
  color: var(--lime);
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 2.8rem + 7vw, 9rem);
  font-style: italic;
  font-weight: 900;
  line-height: 0.9;
}
/* Fixed-width digits, so the number does not jiggle while it counts up. */
.reviews__count { white-space: nowrap; font-variant-numeric: tabular-nums; }
.reviews__stars svg { width: 28px; height: 28px; }
.reviews__sub { margin-top: var(--s2); color: var(--on-board-muted); font-size: var(--fs-sm); }
.reviews__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: var(--s5);
  color: var(--lime);
  font-weight: 700;
}

.quote + .quote {
  margin-top: var(--s6);
  padding-top: var(--s6);
  border-top: 1px solid rgba(238, 242, 230, 0.16);
}
.quote blockquote p { max-width: 46ch; font-size: var(--fs-lead); line-height: 1.5; }
.quote--lead blockquote p {
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.15rem + 2.6vw, 3.25rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1.12;
}
.quote figcaption {
  margin-top: var(--s3);
  color: var(--on-board-muted);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
}
/* The recurring phrases get a lime underline. --hl is its drawn length (HomeReviews.js). */
.quote mark {
  --hl: 100%;
  padding-bottom: 0.06em;
  background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 100% / var(--hl) 0.12em;
  color: inherit;
  font-weight: 700;
}
.quote--lead mark { font-weight: inherit; }

@media (min-width: 1024px) {
  .reviews { padding-block: var(--s10); }
  .reviews__layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--s9);
    align-items: start;
  }
  /* The score stays in view while the quotes scroll past. Its parent holds only
     these two columns, so it can never slide over the next section. */
  .reviews__score { position: sticky; top: calc(var(--header-h) + var(--s7)); }
}

/*
  HomeContact: the call band again, the quieter ways in, and the real trailer
  sign. Phones: heading, photo, call. Desktop: heading and call on the left,
  the photo on the right across both.
*/
.contact {
  background: var(--paper);
  padding-block: var(--s9);
  overflow-x: clip; /* the trailer photo rolls in from the side */
}
.contact__layout { display: grid; gap: var(--s6); }

.contact__head .eyebrow { color: var(--leaf); }
.contact__title { margin-top: var(--s3); max-width: 15ch; }
.contact__lead { max-width: 44ch; margin-top: var(--s4); font-size: var(--fs-lead); }

.contact__call { background: var(--board); color: var(--lime); }
.contact__call:hover { background: var(--leaf); color: var(--on-board); }

.contact__more { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s4); }

.contact__facts {
  display: grid;
  gap: var(--s4);
  margin-top: var(--s7);
  padding-top: var(--s5);
  border-top: 1px solid var(--line);
}
.contact__facts dt {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.contact__facts dd { margin-top: 2px; font-weight: 600; }

.contact__sign img {
  width: 100%;
  border-radius: var(--radius);
  background: var(--line);
}
.contact__sign figcaption { margin-top: var(--s2); color: var(--muted); font-size: var(--fs-sm); }

@media (min-width: 640px) {
  .contact__call { display: inline-flex; padding-inline: var(--s7); }
  .contact__sign { max-width: 520px; }
  .contact__facts { grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; column-gap: var(--s7); }
}
@media (min-width: 1024px) {
  .contact { padding-block: var(--s10); }
  .contact__layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas: "head sign" "actions sign";
    grid-template-rows: auto 1fr;
    column-gap: var(--s9);
    row-gap: var(--s6);
  }
  .contact__head { grid-area: head; }
  .contact__actions { grid-area: actions; }
  .contact__sign { grid-area: sign; align-self: center; }
  .contact__facts { grid-template-columns: 1fr; }
}
@media (min-width: 1280px) {
  .contact__facts { grid-template-columns: repeat(3, minmax(0, auto)); }
}

/* HomeFooter: a grass edge, then the black board one last time. */
.site-footer {
  --focus: var(--lime);
  overflow-x: clip; /* the grass leans sideways with scroll speed */
}
.site-footer__grass { background: var(--paper); }
.site-footer__grass svg {
  color: var(--board);
  fill: var(--board);
  transform-origin: 50% 100%;
}

.site-footer__body {
  background: var(--board);
  color: var(--on-board);
  padding-block: var(--s8) var(--s7);
}
.site-footer a { color: var(--on-board); }
.site-footer a:hover { color: var(--lime); }

.site-footer__top { display: grid; gap: var(--s7); }
.site-footer__badge { width: 56px; height: 56px; color: var(--lime); }
.site-footer__name {
  margin-top: var(--s4);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}
.site-footer__brand p:last-child { max-width: 34ch; margin-top: var(--s2); color: var(--on-board-muted); }
.site-footer__label { color: var(--lime); }
.site-footer__list { display: grid; gap: var(--s2); margin-top: var(--s3); }
.site-footer__list a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -10px; }

.site-footer__notice {
  max-width: 80ch;
  margin-top: var(--s8);
  padding-top: var(--s5);
  border-top: 1px solid rgba(238, 242, 230, 0.16);
  color: var(--on-board-muted);
  font-size: var(--fs-sm);
}
.site-footer__notice a { color: var(--lime); font-weight: 700; }

@media (min-width: 768px) {
  .site-footer__top { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); }
}
