/*
  base.css: design tokens and shared pieces for the whole page.
  Every section stylesheet builds on these; nothing here belongs to one section.

  Brand: the business has no website, but its truck and trailer carry a logo:
  orange and gold lettering, "Lawn • Landscape • Sod". The palette takes that
  orange as the one accent and adds the colors of its own job photos: St.
  Augustine sod green, dark mulch, sun-bleached sand.
  Tone: hard-working, straight-talking, proud of the work. Not fancy, not cute,
  not corporate.
  Type: Big Shoulders Display (tall, condensed, uppercase, like lettering on
  equipment) for headings; Figtree for reading text.
  Motion: one motion language across the page, "unrolling" like a roll of sod
  (things reveal left to right). It only runs when <html> has the
  "motion-ready" class (src/scripts/base.js); without it every section is a
  complete static page.
*/

:root {
  /* Colors */
  --cream: #f4efe3;         /* page background */
  --sand: #e4dac6;          /* lines and quiet surfaces */
  --soil: #211b15;          /* body text, dark sections (14.9:1 on cream) */
  --muted: #5e5547;         /* secondary text on cream (6.4:1) */
  --sod: #2f6b2b;           /* brand green: links, small accents (5.6:1 on cream) */
  --sod-deep: #1c4319;      /* dark green section */
  --blade: #a3cf5b;         /* fresh-sod green for lines and bars on dark backgrounds */
  --orange: #e0612a;        /* the one accent, from their truck logo: call buttons (soil text on it: 4.8:1) */
  --orange-ink: #b4461a;    /* the accent as small text on cream (4.8:1) */
  --on-dark: #f4efe3;       /* text on soil and sod-deep */
  --on-dark-muted: #cfc5b3; /* secondary text on soil (10:1) */

  /* Type */
  --font-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --font-body: "Figtree", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fs-sm: 0.875rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.02rem + 0.45vw, 1.375rem);
  --fs-h3: clamp(1.75rem, 1.5rem + 1.1vw, 2.5rem);
  --fs-h2: clamp(3rem, 1.6rem + 5.6vw, 7rem);

  /* 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: 3px;                                      /* crisp, like a cut edge of sod */
  --shadow: 0 -12px 32px rgba(33, 27, 21, 0.32);      /* only for the stacked job cards */
  --container: 1240px;
  --gutter: var(--s4);
  --header-h: 60px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* Focus ring; dark sections switch it to --orange so it stays visible. */
  --focus: var(--sod);
}

@media (min-width: 640px) { :root { --gutter: var(--s5); } }
@media (min-width: 1024px) { :root { --gutter: var(--s6); --fs-body: 1.125rem; --header-h: 72px; } }

/* 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(--cream);
  color: var(--soil);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Things that slide in from the side start past the screen edge; clip them so
   the page never scrolls sideways. On <main>, not <body>: a body value is
   handed to the viewport, which phones ignore when they zoom out to fit.
   "clip" (unlike "hidden") keeps the sticky cards and photos working. */
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
/* :where() keeps this reset at zero weight, so a list that is also a
   .container keeps the container's side padding. */
: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-display);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1; }
p { text-wrap: pretty; }

a { color: var(--sod); 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 uppercase label above a heading, led by a short orange rule. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s4);
  color: var(--orange-ink);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 28px;
  height: 3px;
  background: var(--orange);
}

/* 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: 48px tall for thumbs. The orange call button is the one primary
   action everywhere; the line button is the quieter second choice. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 48px;
  padding: var(--s3) var(--s5);
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  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-call { background: var(--orange); color: var(--soil); }
.btn-call:hover { background: var(--soil); color: var(--on-dark); }
.btn-line { border-color: currentColor; color: inherit; }
.btn-line:hover { background: var(--soil); border-color: var(--soil); color: var(--on-dark); }

/* Five-star row used next to the real Google rating */
.stars { display: inline-flex; gap: 2px; color: var(--orange); }
.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(--soil);
  color: var(--on-dark);
  border-radius: var(--radius);
}
.skip-link:focus { top: var(--s4); }

/* HomeSampleNotice: the "sample website" strip above the header. */
.sample-notice {
  --focus: var(--orange);
  background: var(--soil);
  color: var(--on-dark);
  font-size: var(--fs-sm);
  line-height: 1.4;
  text-align: center;
}
.sample-notice p { padding-block: var(--s2); }
.sample-notice a { color: var(--on-dark); font-weight: 700; }

/* HomeHeader: sticky cream bar with the wordmark, section links and the call button. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--sand); }

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

/* Wordmark: "O.G" in the truck's orange, the rest in soil. */
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
  margin-right: auto;
  color: var(--soil);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-transform: uppercase;
}
.brand__og { color: var(--orange-ink); }

.site-nav { display: none; }
@media (min-width: 1024px) {
  .site-nav { display: block; }
  .site-nav__list { display: flex; gap: var(--s5); }
  .site-nav a {
    color: var(--soil);
    font-weight: 600;
    text-decoration: none;
    padding-block: var(--s3);
  }
  .site-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
}

.site-header__call { padding-inline: var(--s4); }
.site-header__call-full { display: none; }
@media (min-width: 640px) {
  .site-header__call-short { display: none; }
  .site-header__call-full { display: inline; }
}

/* Tucked away while the hero's call button is on screen (HomeHeader.js).
   visibility also takes it out of the tab order while hidden. */
.site-header__call {
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0s linear 0s,
              background-color 0.2s ease, color 0.2s ease;
}
.site-header.call-tucked .site-header__call {
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
@media (prefers-reduced-motion: reduce) {
  .site-header__call, .site-header.call-tucked .site-header__call { transform: none; transition: none; }
}

/*
  HomeHero: cream top with the giant condensed headline, then the sod farm
  photo as a wide band. Phones stack the three words; from 1024px they run
  on one line across the full width, like the lettering on the truck.
  The headline size is worked out from the width so "LANDSCAPE." (phones) or
  the whole line (desktop) always fits: --hero-em is how many em the text is
  wide in Big Shoulders Display Black, measured in the browser. The <h1> is a
  size container, so the size follows its real width (cqi); each vw line
  before a cqi line is the fallback for older browsers.
*/
.hero { padding-top: var(--s4); }

.hero__top {
  display: grid;
  gap: var(--s4);
  padding-bottom: var(--s6);
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s1) var(--s2);
  line-height: 1.3;
}
.hero__proof strong { font-weight: 700; font-variant-numeric: tabular-nums; }

.hero__title { display: grid; gap: var(--s3); container-type: inline-size; }

.hero__big {
  --hero-em: 4.62; /* width of "LANDSCAPE." in em (4.53 measured) */
  display: flex;
  flex-direction: column;
  font-size: min(9.5rem, calc((100vw - 2 * var(--gutter)) / var(--hero-em)));
  font-size: min(9.5rem, calc(100cqi / var(--hero-em)));
  font-weight: 900;
  line-height: 0.86;
}
.hero__word { position: relative; display: block; width: fit-content; }
.hero__word--sod { color: var(--sod); }

.hero__where {
  color: var(--orange-ink);
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

/* Phones: call button first, lead line under it. From 768px: lead on the
   left, call button on the right. */
.hero__row { display: grid; gap: var(--s5); margin-top: var(--s1); }
.hero__lead { max-width: 44ch; font-size: var(--fs-lead); line-height: 1.5; }
.hero__actions { display: grid; gap: var(--s2); }
.hero__call { min-height: 56px; font-size: 1.125rem; }
.hero__hours { color: var(--muted); font-size: var(--fs-sm); }

@media (min-width: 640px) {
  .hero__actions { justify-items: start; }
  .hero__call { padding-inline: var(--s6); }
}

@media (min-width: 768px) {
  .hero__row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "lead actions";
    align-items: end;
    gap: var(--s7);
  }
  .hero__lead { grid-area: lead; }
  .hero__actions { grid-area: actions; justify-items: end; text-align: right; }
}

@media (min-width: 1024px) {
  .hero { padding-top: var(--s6); }
  .hero__big {
    --hero-em: 9.2; /* width of the whole line, word gaps included (9.05 measured) */
    flex-direction: row;
    gap: 0.16em;
    font-size: calc(min(var(--container), 100vw - 2 * var(--gutter) - 20px) / var(--hero-em));
    font-size: calc(100cqi / var(--hero-em));
  }
}

/* The photo band. At first it lines up with the text column (rounded clip:
   the page margins on phones, the container's edges on wide screens); on
   scroll HomeHero.js widens it to the screen edges. */
.hero__field { margin: 0; }
.hero__frame {
  position: relative;
  height: min(76svh, 125vw);
  overflow: hidden;
  background: var(--sod-deep); /* shows while the photo loads */
  clip-path: inset(0 max(var(--gutter), (100% - var(--container)) / 2) round var(--radius));
}
@media (min-width: 700px) {
  .hero__frame { height: max(420px, min(84vh, 60vw)); }
}
.hero__zoom { position: absolute; inset: 0; }
.hero__zoom img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
@media (min-width: 700px) {
  .hero__zoom img { object-position: 60% 55%; }
}
.hero__caption {
  padding-top: var(--s3);
  color: var(--muted);
  font-size: var(--fs-sm);
}

/* ---- Opening animation (only when <html> has "motion", see head.js) ---- */

/* The words wait behind a clip until they roll out; the rating numbers wait
   until the count-up sets them to zero (screen readers use the hidden text). */
.motion .hero__word { clip-path: inset(-20% 100% -20% 0); }
.motion .hero__score, .motion .hero__count { visibility: hidden; }
.hero__roller {
  position: absolute;
  top: 6%;
  bottom: 10%;
  left: 0;
  width: 0.07em;
  background: var(--orange);
  border-radius: 2px;
}

/* Bare soil over the field (below the horizon, about 42% down the photo)
   until HomeHero.js replaces it with sod pieces. If the script never runs,
   the soil lifts by itself after 3 seconds. */
.hero__soil { display: none; }
.motion .hero__soil {
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 42%, #2e2319 42%);
  animation: soil-failsafe 0.01s linear 3s forwards;
}
.motion .hero__soil.is-built { background: none; animation: none; }
@keyframes soil-failsafe { to { visibility: hidden; } }

.hero__tile {
  position: absolute;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(24, 18, 12, 0.45); /* the seam between two pieces */
}
.hero__clod {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #3b2c20, #2a1f16);
  transform-origin: right center;
}

/*
  HomeStory: dark soil section; the job photos sit on cream cards.
  Phones: photo on top of each card, words below. From 900px: photo left,
  words right. With motion on, the cards stick under the header one after
  another, each a little lower than the last, so they stack like a deck.
*/
.story {
  --focus: var(--orange);
  background: var(--soil);
  color: var(--on-dark);
  padding-block: var(--s9);
}
.story .eyebrow { color: var(--orange); }

.story__head {
  display: grid;
  gap: var(--s6);
  margin-bottom: var(--s8);
}
.story__title { max-width: 12ch; }

/* The visible number is aria-hidden (it counts up); screen readers get the
   fixed "9,600 square feet" beside it. */
.story__figure {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--s3);
  color: var(--blade);
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}
.story__count {
  font-size: clamp(4.5rem, 2.6rem + 8vw, 9rem);
  font-variant-numeric: tabular-nums;
}
.story__unit { font-size: clamp(1.75rem, 1.3rem + 2vw, 3rem); }
.story__note { max-width: 34ch; margin-top: var(--s3); color: var(--on-dark-muted); }

@media (min-width: 900px) {
  .story__head {
    grid-template-columns: 7fr 5fr;
    align-items: end;
  }
}

.story__cards { display: grid; gap: var(--s6); }

.story__panel {
  position: relative;
  display: grid;
  overflow: hidden;
  background: var(--cream);
  color: var(--soil);
  border-radius: var(--radius);
  transform-origin: 50% 0%;
}
.story__photo { aspect-ratio: 4 / 3; overflow: hidden; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; }

.story__text { padding: var(--s5) var(--s5) var(--s6); }
.story__step {
  color: var(--orange-ink);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}
.story__text h3 { margin-block: var(--s2) var(--s3); font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); }
.story__text p:last-child { max-width: 36ch; }

/* Darkens a card as the next one slides over it (HomeStory.js). */
.story__shade {
  position: absolute;
  inset: 0;
  background: var(--soil);
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 900px) {
  .story__panel { grid-template-columns: 3fr 2fr; align-items: center; }
  .story__photo { aspect-ratio: auto; height: min(60vh, 520px); }
  .story__text { padding: var(--s7); }
}

/* Stacking deck, only with motion on: each card sticks a little lower than
   the one before, so the edges of earlier cards stay in view. */
/* --i is the card's place in the deck, set here rather than in the markup:
   the security policy blocks inline style attributes. */
.story__card { --i: 0; }
.story__card:nth-child(2) { --i: 1; }
.story__card:nth-child(3) { --i: 2; }
.story__card:nth-child(4) { --i: 3; }
.motion-ready .story__card {
  position: sticky;
  top: calc(var(--header-h) + var(--s4) + var(--i) * 14px);
}
.motion-ready .story__panel { box-shadow: var(--shadow); }

/*
  HomeLandscape: cream section. Phones read top to bottom: heading, photo,
  quotes. From 900px the tall photo takes the left column and stays in view
  (sticky) while the heading and quotes pass on the right.
*/
.landscape { padding-block: var(--s9); }

.landscape__grid {
  display: grid;
  gap: var(--s7);
}
.landscape__title { max-width: 14ch; }
.landscape__lead {
  max-width: 40ch;
  margin-top: var(--s5);
  font-size: var(--fs-lead);
  line-height: 1.5;
}

.landscape__figure { margin: 0; }
.landscape__mask {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
}
.landscape__mask img { width: 100%; height: 100%; object-fit: cover; }
.landscape__caption { margin-top: var(--s3); color: var(--muted); font-size: var(--fs-sm); }

.landscape__quote {
  margin: 0;
  padding-top: var(--s5);
  border-top: 2px solid var(--soil);
}
.landscape__quote + .landscape__quote { margin-top: var(--s6); }
.landscape__quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1.35rem + 1.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1.08;
}
.landscape__quote figcaption {
  margin-top: var(--s3);
  font-weight: 700;
}
.landscape__quote figcaption span { margin-left: var(--s2); color: var(--muted); font-weight: 400; }

@media (min-width: 900px) {
  .landscape__grid {
    grid-template-columns: 5fr 7fr;
    grid-template-areas:
      "figure head"
      "figure quotes";
    grid-template-rows: auto 1fr;
    column-gap: var(--s8);
    row-gap: var(--s7);
    align-items: start;
  }
  .landscape__head { grid-area: head; }
  .landscape__quotes { grid-area: quotes; }
  .landscape__figure {
    grid-area: figure;
    position: sticky;
    top: calc(var(--header-h) + var(--s5));
  }
}

/*
  HomeReviews: dark sod-green section. Phones: the big 5.0, the topic bars,
  then the quotes. From 960px: rating and bars on the left (sticky), quotes
  on the right.
*/
.reviews {
  --focus: var(--orange);
  background: var(--sod-deep);
  color: var(--on-dark);
  padding-block: var(--s9);
}
.reviews .eyebrow { color: var(--blade); }

.reviews__grid { display: grid; gap: var(--s8); }

.reviews__number {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--s4);
}
.reviews__value {
  font-family: var(--font-display);
  font-size: clamp(7rem, 4rem + 14vw, 13rem);
  font-weight: 900;
  line-height: 0.78;
  font-variant-numeric: tabular-nums;
}
.reviews__stars { padding-bottom: var(--s2); gap: var(--s1); }
.reviews__stars svg { width: 28px; height: 28px; }

.reviews__title {
  max-width: 18ch;
  margin-top: var(--s5);
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.topics { margin-top: var(--s7); }
.topics__title {
  font-size: 1.375rem;
  letter-spacing: 0.04em;
  margin-bottom: var(--s4);
}
.topics__list { display: grid; gap: var(--s4); }
.topics__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s1) var(--s3);
}
.topics__count {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
/* Each bar is an SVG stretched to the row: a faint full-width track and a
   fill whose width (in the markup) is the topic's share of the top one. */
.topics__bar {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  height: 8px;
}
.topics__track { fill: rgba(244, 239, 227, 0.12); }
.topics__fill { fill: var(--blade); }
.topics__note { margin-top: var(--s4); color: var(--on-dark-muted); font-size: var(--fs-sm); }

.reviews__quotes { display: grid; gap: var(--s7); align-content: start; }
.reviews__quote { margin: 0; padding-left: var(--s5); border-left: 3px solid var(--orange); }
.reviews__quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.05;
}
.reviews__quote figcaption { margin-top: var(--s3); font-weight: 700; }
.reviews__quote figcaption span { margin-left: var(--s2); color: var(--on-dark-muted); font-weight: 400; }

.reviews__link { justify-self: start; color: var(--on-dark); }
.reviews__link:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--sod-deep); }

@media (min-width: 960px) {
  .reviews__grid { grid-template-columns: 5fr 7fr; gap: var(--s9); align-items: start; }
  .reviews__side { position: sticky; top: calc(var(--header-h) + var(--s5)); }
  .reviews__quotes { gap: var(--s8); padding-top: var(--s7); }
}

/*
  HomeArea: cream section. Phones: heading, the town list, then the map.
  From 900px: words and list on the left, map on the right.
  Map labels are written in capitals in the markup (SVG text and CSS
  text-transform do not mix everywhere).
*/
.area { padding-block: var(--s9); }

.area__grid { display: grid; gap: var(--s7); }
/* A step smaller than other section headings: "Lake Hamilton" must fit on one line in the narrower column. */
.area__title { max-width: 16ch; font-size: clamp(3rem, 1.6rem + 4vw, 5.5rem); }
.area__lead { max-width: 36ch; margin-top: var(--s5); font-size: var(--fs-lead); line-height: 1.5; }

.area__towns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--s5);
  margin-top: var(--s6);
  border-top: 2px solid var(--soil);
}
.area__towns li {
  padding-block: var(--s3);
  border-bottom: 1px solid var(--sand);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}
.area__base {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s3);
  color: var(--orange-ink);
}
.area__base span {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: none;
}

.area__figure { margin: 0; }
.area__map {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  color: var(--sand); /* grid lines */
}
.area__map text {
  fill: var(--soil);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.area__route { fill: none; stroke: var(--sod); stroke-width: 3; stroke-linecap: butt; }
.area__town circle { fill: var(--soil); }
.area__home .area__dot { fill: var(--orange); }
.area__home text { fill: var(--orange-ink); font-size: 30px; }
.area__north path { fill: var(--soil); }
.area__north text { font-size: 22px; }
.area__scale path { fill: none; stroke: var(--soil); stroke-width: 2; }
.area__scale text { fill: var(--muted); font-size: 20px; }
.area__pulse { fill: none; stroke: var(--orange); stroke-width: 2; opacity: 0; }
.area__caption { margin-top: var(--s3); color: var(--muted); font-size: var(--fs-sm); }

/* A slow ring around home base, only with motion on. */
@media (prefers-reduced-motion: no-preference) {
  .motion-ready .area__pulse {
    transform-box: fill-box;
    transform-origin: center;
    animation: area-pulse 2.4s var(--ease-out) infinite;
  }
}
@keyframes area-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.8); opacity: 0; }
}

@media (min-width: 900px) {
  .area__grid { grid-template-columns: 5fr 6fr; gap: var(--s8); align-items: center; }
}

/*
  HomeCall: dark soil section. Phones: the truck photo full width on top, the
  number and the other ways in below. From 960px: words on the left, the photo
  filling the right half to the screen edge.
  The number's size comes from the width it has, so "(863) 588-5023" always
  fits on one line: --num-em is its width in em in Big Shoulders Display Black,
  measured in the browser. The words column is a size container, so the size
  follows its real width (cqi); the vw line before it is the fallback for
  older browsers, and 100vw counts the scrollbar, hence its extra margin.
*/
.call {
  --focus: var(--orange);
  background: var(--soil);
  color: var(--on-dark);
}
.call .eyebrow { color: var(--orange); }

.call__grid { display: grid; }
.call__photo { aspect-ratio: 4 / 3; overflow: hidden; }
.call__photo img { width: 100%; height: 115%; object-fit: cover; object-position: 30% 55%; }

.call__content {
  --num-em: 6.4; /* "(863) 588-5023" is 6.36em wide */
  container-type: inline-size;
  padding: var(--s8) var(--gutter) var(--s9);
}
.call__title { max-width: 13ch; font-size: clamp(2.5rem, 1.6rem + 3.6vw, 5rem); }

.call__number {
  display: flex;
  align-items: center;
  gap: 0.12em;
  margin-top: var(--s6);
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: min(7rem, calc((100vw - 2 * var(--gutter) - 20px) / (var(--num-em) + 0.75)));
  font-size: min(7rem, calc(100cqi / (var(--num-em) + 0.75)));
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.call__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 0.62em;
  height: 0.62em;
  background: var(--orange);
  color: var(--soil);
  border-radius: 50%;
  transition: background-color 0.2s ease;
}
.call__icon svg { width: 52%; height: 52%; }
.call__digits {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.12em;
}
.call__number:hover .call__icon { background: var(--on-dark); }
.call__number:hover .call__digits { text-decoration-color: var(--on-dark); }
.call__hint { margin-top: var(--s3); color: var(--on-dark-muted); font-size: var(--fs-sm); }

.call__ways {
  display: grid;
  gap: var(--s3);
  margin-top: var(--s7);
  padding-top: var(--s5);
  border-top: 1px solid rgba(244, 239, 227, 0.2);
}
.call__ways li { display: flex; align-items: center; gap: var(--s3); min-height: 44px; }
.call__ways svg { width: 20px; height: 20px; flex: none; color: var(--orange); }
.call__ways a { color: var(--on-dark); overflow-wrap: anywhere; }

/* Odometer: each digit is a column of numbers that rolls up into place
   (built by HomeCall.js). The hidden "sizer" digit keeps the line's width. */
.odo { display: inline-flex; user-select: none; }
.odo__cell { position: relative; display: inline-block; overflow: hidden; }
.odo__sizer { visibility: hidden; }
.odo__strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center; /* a digit wider than the cell overflows evenly on both sides */
}
.odo__strip span { display: block; height: 1em; line-height: 1; }

@media (min-width: 960px) {
  .call__grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .call__photo { order: 2; aspect-ratio: auto; min-height: 100%; }
  .call__content {
    align-self: center;
    width: 100%;
    max-width: calc(var(--container) / 2 + var(--gutter));
    margin-left: auto;
    padding: var(--s10) var(--s7) var(--s10) var(--gutter);
  }
  /* Fallback only: the words column is half the screen, capped at half the
     container, minus its side padding. Browsers with cqi keep the rule above. */
  @supports not (width: 1cqi) {
    .call__number {
      font-size: min(7rem, calc((min(50vw, var(--container) / 2 + var(--gutter)) - var(--gutter) - var(--s7) - 20px) / (var(--num-em) + 0.75)));
    }
  }
}

/* HomeFooter: dark soil footer under the call section, split by a thin line. */
.site-footer {
  --focus: var(--orange);
  background: var(--soil);
  color: var(--on-dark);
  border-top: 1px solid rgba(244, 239, 227, 0.2);
  padding-block: var(--s8) var(--s6);
}
.site-footer a { color: var(--on-dark); }

.site-footer__inner {
  display: grid;
  gap: var(--s6);
}
.site-footer__name {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}
.site-footer__name span { color: var(--orange); }
.site-footer__tag {
  margin-top: var(--s2);
  color: var(--blade);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-footer__contact { display: grid; gap: var(--s2); }
.site-footer__contact li { min-height: 28px; }

.site-footer__notice {
  margin-top: var(--s7);
  padding-top: var(--s5);
  border-top: 1px solid rgba(244, 239, 227, 0.2);
  color: var(--on-dark-muted);
  font-size: var(--fs-sm);
  max-width: 90ch;
}

@media (min-width: 800px) {
  .site-footer__inner { grid-template-columns: 1fr auto; align-items: start; }
  .site-footer__contact { text-align: right; }
}
