/* Dreamland Tree Service - Lompoc - spec build #66 - TYPE-LED
   ---------------------------------------------------------------------------
   ⚠⚠ THE PALETTE WAS CHOSEN, NOT SAMPLED. Every usable photo on the listing is
   a customer's, and the business's own two are a phone screenshot and a shot
   with a person in it. Nothing of his to sample; this comment says so.
   Chosen: deep forest green and amber.

   Structure: a green hero whose headline IS a customer's line, in quotes,
   with the 4.8-from-55 count above it; a four-item "hired for" list built
   only from reviews; four reviews in a staggered grid; the license.
   No photos. No eyebrows.

   ⚠ EVERY RATIO BELOW WAS COMPUTED, NOT ESTIMATED.
     #F6F3EA cream on forest 11.23 | #E8B04A amber on forest 6.37 | #B8CBB9 sage on forest 7.29
     #8A5A0B amberD on cream 5.33 | white on it 5.92
     #1B1F1C ink on cream 15.03 | #5A5D55 muted on cream 6.04
   --------------------------------------------------------------------------- */

:root {
  --forest: #0F3B2E;
  --cream:  #F6F3EA;
  --amber:  #E8B04A;   /* DARK GROUNDS ONLY */
  --amberD: #8A5A0B;
  --sage:   #B8CBB9;   /* DARK GROUNDS ONLY */
  --ink:    #1B1F1C;
  --muted:  #5A5D55;
  --white:  #FFFFFF;
  --rule:   #DED9CB;
  --wide: 1140px;
  --sect: clamp(64px, 9vw, 108px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: ui-sans-serif, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}

/* Browser surfaces. The parts you did not draw still carry the design, and
   this is the cheapest signal that a page was built rather than assembled. */
::selection      { background: var(--forest); color: var(--cream); }
:root            { caret-color: var(--amberD); accent-color: var(--forest); }
:focus-visible   { outline: 2px solid var(--amberD); outline-offset: 3px; }
a                { color: var(--amberD); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tabular, time, dd, .rating { font-variant-numeric: tabular-nums; }
@supports (scrollbar-color: auto) {
  html { scrollbar-color: var(--forest) var(--cream); scrollbar-width: thin; }
}

.wrap { width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: 24px; }
.muted { color: var(--muted); }
h1, h2 { letter-spacing: -0.03em; line-height: 1.06; font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 0 0 12px; }
.intro { color: var(--muted); max-width: 60ch; margin: 0 0 30px; }

.btn { display: inline-block; background: var(--amber); color: var(--ink); font-weight: 800;
  text-decoration: none; padding: 15px 26px; border-radius: 999px; white-space: nowrap; }
.btn:hover { background: var(--cream); }

.mast { background: var(--forest); color: var(--cream); }
.mast .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center;
  justify-content: space-between; padding-block: 16px; }
.mark { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.mark span { display: block; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--sage); }
.mast .tel { color: var(--amber); font-weight: 700; text-decoration: none; white-space: nowrap; }

.hero { background: var(--forest); color: var(--cream); padding-block: clamp(56px, 8vw, 112px); }
.rating { margin: 0 0 18px; color: var(--sage); font-size: 16px; }
.rating b { color: var(--amber); font-size: 22px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 70px); margin: 0 0 10px; max-width: 18ch; }
.attr { margin: 0 0 26px; color: var(--amber); font-weight: 700; font-size: 15px; }
.lede { font-size: 19px; max-width: 48ch; margin: 0 0 30px; }

.services { padding-block: var(--sect); }
.svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; }
.svc li { border-top: 3px solid var(--forest); padding-top: 16px; }
.svc b { display: block; font-size: 20px; letter-spacing: -0.015em; }
.svc span { display: block; color: var(--muted); font-size: 15px; margin-top: 6px; }

.reviews { background: var(--white); padding-block: var(--sect); }
.rev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; align-items: start; }
.review { margin: 0; border-left: 4px solid var(--amberD); padding-left: 22px; }
.review:nth-child(2) { margin-top: 48px; }
.review blockquote { margin: 0; }
.review p { margin: 0 0 10px; font-size: 17px; }
.review figcaption { color: var(--muted); font-size: 15px; }
.review figcaption b { color: var(--ink); }

.license { padding-block: var(--sect); }
.license .wrap { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(28px, 5vw, 72px); }
.record { margin: 0; border-top: 3px solid var(--forest); }
.record div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.record dt { color: var(--muted); font-size: 15px; }
.record dd { margin: 0; }
.record .hi dd { font-weight: 800; font-size: 21px; color: var(--forest); }

.reach { background: var(--forest); color: var(--cream); padding-block: clamp(48px, 7vw, 80px); }
.reach .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.reach h2 { margin-bottom: 6px; }
.reach .muted { color: var(--sage); margin: 0; }
.big { margin: 0; font-size: clamp(30px, 4vw, 46px); font-weight: 900; letter-spacing: -0.02em; }
.big a { color: var(--amber); text-decoration: none; }

.letter { padding-block: var(--sect); }
.letter .wrap { max-width: 700px; }
.letter p { font-size: 18px; margin: 0 0 18px; }
.sign { margin-top: 26px !important; font-weight: 700; }

footer { background: var(--ink); color: var(--cream); padding-block: 56px 96px; }
footer .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
footer h4 { margin: 0 0 8px; font-size: 17px; }
footer p { margin: 0 0 4px; color: var(--sage); font-size: 15px; }
footer a { color: var(--amber); }
footer .legal { grid-column: 1 / -1; margin-top: 18px; padding-top: 18px; border-top: 1px solid #333833; font-size: 13px; line-height: 1.6; }

.callbar { display: none; }

@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr 1fr; gap: 24px; }
  .license .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .svc, .rev-grid, footer .wrap { grid-template-columns: 1fr; }
  .review:nth-child(2) { margin-top: 0; }
  .record div { grid-template-columns: 1fr; gap: 2px; }
  .mast .tel { display: none; }
  .callbar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--forest);
  }
  .callbar a { display: block; text-align: center; background: var(--amber); color: var(--ink);
    font-weight: 800; text-decoration: none; border-radius: 999px; padding: 14px; }
}
