/* Flaherty Lawn And Tree Service — palette from the FLATS logo (ink), the crew's
   kelly-green shirts and truck lettering, and fall-leaf rust for one accent. */
:root {
  --ink: #15231a;
  --ink-2: #24392b;
  --forest: #1f3a29;
  --green: #17803f;
  --green-lit: #2fae5f;
  --leaf: #b8651f;
  --leaf-lit: #e08b3c;
  --paper: #f5f2e9;
  --paper-2: #ebe6d6;
  --line: rgba(21, 35, 26, 0.14);
  --muted: #56645a;
  --display: "Zilla Slab", Georgia, serif;
  --body: "Work Sans", system-ui, sans-serif;
  --wrap: min(1180px, calc(100% - 2.5rem));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 0; z-index: 400; background: #fff; padding: 0.6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }

/* --- Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0.8rem 1.4rem;
  border-radius: 6px; border: 2px solid transparent;
  font: 600 1rem/1.1 var(--body); text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #106b33; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.75); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-leaf { background: var(--leaf-lit); color: var(--ink); }
.btn-leaf:hover { background: #f2a25a; }
:focus-visible { outline: 3px solid var(--leaf-lit); outline-offset: 3px; }

/* --- Header ----------------------------------------------------------------- */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 100;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.65rem max(1.25rem, calc((100% - 1180px) / 2));
  color: #fff;
  background: linear-gradient(180deg, rgba(12, 22, 15, 0.7), rgba(12, 22, 15, 0));
  transition: background 0.3s, box-shadow 0.3s;
}
.bar.is-solid { background: var(--ink); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08); }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; margin-right: auto; }
.brand img { width: 52px; height: auto; }
.brand span { font: 700 1.25rem/1 var(--display); }
.brand em { font-style: normal; font-weight: 500; opacity: 0.85; }
.nav { display: flex; gap: 1.6rem; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.95rem; opacity: 0.9; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.bar-call {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1rem; border-radius: 6px;
  background: var(--green); color: #fff; text-decoration: none; font-weight: 600;
}
.bar-call:hover { background: #106b33; }
.bar-call svg { width: 18px; height: 18px; fill: currentColor; }

/* --- Hero ------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  color: #fff; background: var(--ink); overflow: hidden;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(10, 20, 13, 0.92) 0%, rgba(10, 20, 13, 0.55) 38%, rgba(10, 20, 13, 0.1) 68%, rgba(10, 20, 13, 0.35) 100%);
}
.hero-copy { position: relative; width: var(--wrap); margin: 0 auto; padding: 0 0 5.5rem; }
.hero-kicker { font-weight: 600; font-size: 0.95rem; color: #fff; margin-bottom: 1rem; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.hero h1, .hero-lede { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); max-width: 13ch; }
.hero-lede { max-width: 36rem; margin-top: 1.1rem; font-size: 1.15rem; color: #e7efe9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.hero-caption {
  position: absolute; right: max(1.25rem, calc((100% - 1180px) / 2)); bottom: 1.6rem;
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.85rem; color: rgba(255, 255, 255, 0.8);
}
.vid-toggle {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 50%;
  background: rgba(0, 0, 0, 0.25); color: #fff; cursor: pointer;
}
.vid-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.vid-toggle .i-play { display: none; }
.vid-toggle.is-paused .i-play { display: block; }
.vid-toggle.is-paused .i-pause { display: none; }

/* --- Letter from Ronnie ------------------------------------------------------ */
.letter {
  width: var(--wrap); margin: 0 auto; padding: 6rem 0 5rem;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4.5rem; align-items: start;
}
.letter-photo { margin: 0; position: sticky; top: 100px; }
.letter-photo img { border-radius: 4px; width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; object-position: 45% 50%; }
.letter-photo figcaption { margin-top: 0.7rem; font-size: 0.88rem; color: var(--muted); }
.letter-body { max-width: 37rem; font-size: 1.2rem; line-height: 1.65; }
.letter-body p + p { margin-top: 1.1rem; }
.letter-hey { font: 700 clamp(2rem, 4vw, 2.8rem)/1.05 var(--display); margin-bottom: 1.6rem; }
.letter-sign { font: 600 2.4rem/1 "Caveat", cursive; color: var(--green); margin-top: 1.8rem !important; }
.letter-facts {
  list-style: none; padding: 1.4rem 0 0; margin: 2rem 0 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; font-size: 0.95rem; font-weight: 600; color: var(--forest);
}
.letter-facts li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 0.55rem; border-radius: 50%; background: var(--green-lit); vertical-align: 2px; }

/* --- Services ---------------------------------------------------------------- */
.services { background: linear-gradient(180deg, var(--paper) 0, var(--paper-2) 8rem, var(--paper-2) 100%); padding: 5rem 0 6rem; }
.services-head { width: var(--wrap); margin: 0 auto 2.5rem; display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.services-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.services-head p { color: var(--muted); }
.services-head p a { color: var(--green); font-weight: 700; text-decoration: none; }
.services-grid { width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 3.5rem; align-items: start; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.svc { border-bottom: 1px solid var(--line); }
.svc-btn {
  display: grid; gap: 0.35rem; width: 100%; padding: 1.5rem 2.6rem 1.5rem 0;
  background: none; border: 0; text-align: left; color: inherit; font: inherit; cursor: pointer; position: relative;
}
.svc-btn::after {
  content: "\2192"; position: absolute; right: 0.3rem; top: 1.55rem;
  font-size: 1.5rem; color: var(--muted); transition: transform 0.25s, color 0.25s;
}
.svc-name { font: 700 clamp(1.7rem, 3.2vw, 2.5rem)/1.05 var(--display); transition: color 0.2s; }
.svc-text { color: var(--muted); max-width: 32rem; }
.svc.is-active .svc-name, .svc-btn:hover .svc-name { color: var(--green); }
.svc.is-active .svc-btn::after { color: var(--green); transform: translateX(6px); }
.svc-inline { display: none; }
.svc-stage { margin: 0; position: sticky; top: 100px; border-radius: 4px; overflow: hidden; background: var(--ink-2); aspect-ratio: 4 / 3.4; }
.svc-stage img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s; }
.svc-stage img.is-swapping { opacity: 0.2; }

/* --- Retaining wall strip ----------------------------------------------------- */
.wall { padding: 6rem 0 5rem; background: var(--paper); }
.wall-head { width: var(--wrap); margin: 0 auto 2rem; display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; align-items: end; }
.wall-head h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 16ch; }
.wall-head p { grid-column: 1; color: var(--muted); max-width: 36rem; }
.wall-nav { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 0.5rem; }
.round {
  width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--ink);
  background: transparent; font-size: 1.3rem; cursor: pointer; color: var(--ink);
}
.round:hover { background: var(--ink); color: #fff; }
.wall-track {
  list-style: none; margin: 0; padding: 0 max(1.25rem, calc((100% - 1180px) / 2)) 1rem;
  display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
  counter-reset: step;
}
.wall-track li { flex: 0 0 min(620px, 82vw); scroll-snap-align: start; counter-increment: step; }
.wall-track li.tall { flex-basis: min(262px, 46vw); }
.wall-track img { width: 100%; height: clamp(260px, 40vw, 440px); object-fit: cover; border-radius: 4px; }
.wall-track li.tall img { object-position: 50% 60%; }
.wall-track p { margin-top: 0.7rem; font-size: 0.95rem; color: var(--muted); }
.wall-track p::before { content: counter(step) " / 6"; margin-right: 0.6rem; font-weight: 600; color: var(--leaf); font-size: 0.85rem; }
.wall-track b { color: var(--ink); }

/* --- Leaves before/after ------------------------------------------------------ */
.leaves {
  background: linear-gradient(180deg, var(--paper) 0, var(--forest) 6rem, var(--forest) calc(100% - 6rem), var(--ink) 100%);
  color: #fff;
  padding: 9rem max(1.25rem, calc((100% - 1180px) / 2)) 7rem;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 4rem; align-items: center;
}
.leaves h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); color: var(--leaf-lit); }
.leaves-quote { font: italic 500 clamp(1.4rem, 2.4vw, 1.9rem)/1.3 var(--display); margin: 1.4rem 0 1.2rem; }
.leaves-copy p:not(.leaves-quote) { color: #cddbd1; }
.leaves .btn { margin-top: 1.8rem; }
.ba {
  position: relative; width: 100%; max-width: 440px; justify-self: center;
  aspect-ratio: 720 / 1060; border-radius: 4px; overflow: hidden; user-select: none; touch-action: pan-y;
}
.ba > img, .ba-before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.ba-line span {
  position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; background: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.ba-line span::before { content: "\2039  \203A"; white-space: pre; position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink); font: 700 1.4rem/1 var(--body); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-tag {
  position: absolute; top: 0.8rem; padding: 0.3rem 0.7rem; border-radius: 4px;
  font-size: 0.8rem; font-weight: 700; background: rgba(10, 20, 13, 0.75); pointer-events: none;
}
.ba-tag--before { left: 0.8rem; }
.ba-tag--after { right: 0.8rem; background: var(--green); }

/* --- Job site mosaic ----------------------------------------------------------- */
.site {
  background: var(--ink); padding: 0 max(1.25rem, calc((100% - 1180px) / 2)) 6rem;
  display: grid; gap: 0.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "video video saw truck"
    "video video yard yard"
    "limb limb yard yard";
  grid-auto-rows: 210px;
}
.tile { margin: 0; position: relative; overflow: hidden; border-radius: 4px; background: var(--ink-2); }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; }
.tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 0.9rem 0.7rem;
  font-size: 0.88rem; font-weight: 500; color: #fff;
  background: linear-gradient(0deg, rgba(10, 20, 13, 0.85), transparent);
}
.tile-video { grid-area: video; }
.tile-saw { grid-area: saw; }
.tile-truck { grid-area: truck; }
.tile-yard { grid-area: yard; }
.tile-limb { grid-area: limb; }

/* --- Reviews --------------------------------------------------------------------- */
.reviews {
  background: linear-gradient(180deg, var(--ink) 0, var(--paper) 7rem);
  padding: 9rem 0 6rem;
}
.reviews > * { width: var(--wrap); margin-left: auto; margin-right: auto; }
.reviews-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.reviews-head h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.score { color: var(--muted); }
.score b { font: 700 1.6rem/1 var(--display); color: var(--green); margin-right: 0.3rem; }
.quote { margin-top: 0; margin-bottom: 0; }
.quote-pair .quote { margin: 0; }
.quote blockquote { margin: 0; }
.quote figcaption { margin-top: 1rem; font-weight: 600; color: var(--forest); }
.quote-big { padding: 0 0 2.6rem; border-bottom: 1px solid var(--line); }
.quote-big blockquote { font: 500 clamp(1.5rem, 3vw, 2.3rem)/1.3 var(--display); max-width: 58rem; }
.quote-big blockquote::before { content: "\201C"; display: block; font-size: 4rem; line-height: 0.6; color: var(--leaf); margin-bottom: 0.6rem; }
.quote-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2.6rem; }
.quote-pair blockquote { font-size: 1.12rem; }

/* --- Estimate -------------------------------------------------------------------- */
.estimate {
  width: var(--wrap); margin: 0 auto; padding: 2rem 0 7rem;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; align-items: start;
}
.estimate h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.estimate-side > p { margin-top: 1rem; color: var(--muted); max-width: 26rem; }
.big-phone { display: inline-block; margin-top: 1.6rem; font: 700 clamp(2rem, 4vw, 2.8rem)/1 var(--display); color: var(--green); text-decoration: none; }
.big-phone:hover { text-decoration: underline; text-underline-offset: 6px; }
.side-link { display: block; margin-top: 0.8rem; font-weight: 500; word-break: break-all; }
.side-facts { margin: 2rem 0 0; display: grid; gap: 0.6rem; }
.side-facts div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding-top: 0.6rem; border-top: 1px solid var(--line); }
.side-facts dt { color: var(--muted); font-size: 0.9rem; }
.side-facts dd { margin: 0; font-weight: 600; }

.ask {
  background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem;
}
.chips { grid-column: 1 / -1; border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips legend { font-weight: 600; margin-bottom: 0.7rem; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span {
  display: inline-block; padding: 0.55rem 1rem; border: 1.5px solid var(--line); border-radius: 999px;
  font-weight: 500; font-size: 0.95rem; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.chips label:hover span { border-color: var(--green); }
.chips input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--leaf-lit); outline-offset: 2px; }
.field { display: grid; gap: 0.4rem; }
.field-wide { grid-column: 1 / -1; }
.field > span { font-weight: 600; font-size: 0.95rem; }
.field i { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 0.8rem 0.9rem; border: 1.5px solid #cfd5cd; border-radius: 6px;
  font: inherit; background: var(--paper); color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; }
.ask-error { grid-column: 1 / -1; color: #9b2f1b; font-weight: 600; }
.ask-send { grid-column: 1 / -1; justify-self: start; }
.ask-done { grid-column: 1 / -1; }
.ask-done:focus { outline: none; }
.ask-done h3 { font-size: 1.6rem; }
.ask-done pre {
  margin: 1rem 0 1.3rem; padding: 1rem; background: var(--paper); border-radius: 6px;
  font: 0.95rem/1.5 var(--body); white-space: pre-wrap;
}
.ask-done-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.link-btn { margin-top: 1rem; background: none; border: 0; padding: 0.4rem 0; font: inherit; font-weight: 600; color: var(--muted); text-decoration: underline; cursor: pointer; }

/* --- Footer ------------------------------------------------------------------------ */
.foot {
  background: var(--ink); color: #dfe8e1;
  padding: 3.5rem max(1.25rem, calc((100% - 1180px) / 2)) 2rem;
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 2.5rem; align-items: center;
}
.foot img { width: 110px; }
.foot-name { font: 700 1.3rem/1.2 var(--display); color: #fff; margin-bottom: 0.3rem; }
.foot-text p:not(.foot-name) { font-size: 0.95rem; color: #b6c6ba; }
.foot-links { display: grid; gap: 0.4rem; text-align: right; }
.foot-links a { text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--green-lit); }
.foot-small { grid-column: 1 / -1; font-size: 0.82rem; color: #8ea193; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.2rem; }

/* --- Phone dock + toast ------------------------------------------------------------ */
.dock { display: none; }
.toast {
  position: fixed; left: 50%; bottom: 1.4rem; transform: translateX(-50%); z-index: 250;
  max-width: calc(100% - 2rem); padding: 0.8rem 1.2rem; border-radius: 6px;
  background: var(--ink); color: #fff; font-weight: 500; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* --- Mobile menu ------------------------------------------------------------- */
.menu-toggle {
  display: none; width: 46px; height: 46px; padding: 0 11px; border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px;
}
.menu-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s, opacity 0.2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; }
@media (max-width: 960px) {
  .menu-toggle { display: flex; }
  .bar { gap: 0.6rem; }
  .bar.menu-open { background: var(--ink); }
  .mobile-menu {
    display: grid; position: absolute; top: 100%; left: 0; right: 0;
    padding: 0.5rem 1.25rem 1.4rem; background: var(--ink);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.3);
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .mobile-menu.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .mobile-menu a {
    padding: 0.95rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff; text-decoration: none; font: 700 1.35rem/1.1 var(--display);
  }
  .mobile-menu .mobile-menu-call {
    margin-top: 1rem; border: 0; border-radius: 6px; padding: 0.95rem; text-align: center;
    background: var(--green); font: 600 1rem/1.1 var(--body);
  }
}

/* --- Reveal ------------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* --- Responsive -------------------------------------------------------------------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .letter { grid-template-columns: 1fr; gap: 2.2rem; padding: 4rem 0 3.5rem; }
  .letter-photo { position: static; max-width: 420px; }
  .services-grid { grid-template-columns: 1fr; }
  .svc-stage { display: none; }
  .svc-btn { padding-right: 0; cursor: default; }
  .svc-btn::after { display: none; }
  .svc-inline { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; margin-bottom: 1.6rem; }
  .svc-inline--tall { object-position: 50% 70%; max-width: 720px; }
  .svc .svc-name { color: var(--ink); }
  .leaves { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 7rem; }
  .site {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "video video" "video video" "saw truck" "yard yard" "limb limb";
    grid-auto-rows: 170px;
  }
  .quote-pair { grid-template-columns: 1fr; gap: 2rem; }
  .estimate { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: 64px; }
  .brand img { width: 44px; }
  .brand span { font-size: 1.05rem; }
  .bar-call span { display: none; }
  .bar-call { padding: 0.6rem; }
  .hero { min-height: calc(100svh - 60px); }
  .hero-copy { padding-bottom: 5rem; }
  .hero-shade { background: linear-gradient(0deg, rgba(10, 20, 13, 0.95) 0%, rgba(10, 20, 13, 0.75) 50%, rgba(10, 20, 13, 0.25) 78%, rgba(10, 20, 13, 0.45) 100%); }
  .hero-lede { font-size: 1.05rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-caption { left: 1.25rem; right: auto; bottom: 1.3rem; }
  .letter-body { font-size: 1.08rem; }
  .wall-head { grid-template-columns: 1fr; }
  .wall-nav { display: none; }
  .ask { grid-template-columns: 1fr; padding: 1.3rem; }
  .foot { grid-template-columns: 1fr; text-align: left; }
  .foot-links { text-align: left; }
  .dock {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    height: 60px; align-items: center; justify-content: center;
    background: var(--green); color: #fff; font-weight: 700; text-decoration: none;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.2);
  }
  .toast { bottom: 76px; }
}

/* ==========================================================================
   AGENCY PREVIEW REMINDER — NOT part of the client's site.
   Delete this section, its markup, and its script once Flaherty Lawn And Tree Service signs.
   ========================================================================== */
.agency-pop {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; padding: 1rem;
  background: rgba(10, 20, 13, 0.78);
  opacity: 0; pointer-events: none; transition: opacity 0.26s ease;
}
.agency-pop[hidden] { display: none !important; }
.agency-pop.is-open { opacity: 1; pointer-events: auto; }
.agency-card {
  position: relative; width: min(100%, 440px); max-height: calc(100vh - 2rem); overflow-y: auto;
  padding: 2rem 1.6rem 1.4rem; background: var(--paper); color: var(--ink);
  border-top: 6px solid var(--green); border-radius: 8px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6); text-align: center;
}
.agency-card img { width: 110px; height: auto; margin: 0 auto 0.8rem; }
.agency-card h2 { font-size: 1.4rem; }
.agency-card p { margin-top: 0.8rem; }
.agency-card .agency-note { color: var(--muted); font-size: 0.96rem; }
.agency-card .agency-note strong { color: var(--ink); }
.agency-actions { display: grid; gap: 0.6rem; margin-top: 1.3rem; }
.agency-close {
  position: absolute; top: 0.5rem; right: 0.6rem; width: 44px; height: 44px;
  background: none; border: 0; color: var(--muted); font-size: 1.8rem; line-height: 1; cursor: pointer;
}
.agency-close:hover { color: var(--ink); }
.agency-dismiss {
  margin-top: 0.9rem; padding: 0.6rem; background: none; border: 0;
  color: var(--green); font: inherit; font-weight: 600; cursor: pointer;
}
.agency-dismiss:hover { color: var(--ink); }
