/* Do It All Heating and Cooling — direction 1a "Sage & paper" from the Claude Design mockup.
   build.py copies this to site/assets/site.<hash>.css so it can be cached forever. */

@font-face { font-family: "Barlow Condensed"; src: url("barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("barlow-condensed-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("source-sans-3-var.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --paper: #f7f6f1;
  --ink: #1a1a1a;
  --sage: #9fbb9c;
  --sage-light: #b7d1b3;
  --green: #4f7a4c;
  --forest: #12261a;
  --rule: #dcdad2;
  --text: #44443f;
  --muted: #77776f;
  --star: #d9a520;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --pad: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.5 "Source Sans 3", system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .display { font-family: var(--display); font-weight: 800; line-height: 1; }
input, textarea, select, button { font: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
[id] { scroll-margin-top: 96px; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.stars { color: var(--star); letter-spacing: 2px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Buttons */
.btn { display: inline-block; padding: 12px 20px; border-radius: 6px; border: 2px solid var(--ink); background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; line-height: 1.3; cursor: pointer; text-align: center; }
.btn:hover { background: var(--green); border-color: var(--green); color: #fff; }
.btn-lg { padding: 16px 26px; font-size: 18px; }
.btn-outline { background: #fff; color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-sage { background: var(--sage); border-color: var(--sage); color: var(--forest); }
.btn-sage:hover { background: #fff; border-color: #fff; color: var(--forest); }
.btn-light { background: transparent; border-color: var(--paper); color: var(--paper); }
.btn-light:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

/* Banner + header */
.banner { background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 600; text-align: center; }
.banner .wrap { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px 18px; padding-top: 9px; padding-bottom: 9px; }
.banner a { color: var(--sage-light); font-weight: 700; }
.banner a:hover { color: #fff; }
.banner .short { display: none; }

.header { border-bottom: 1px solid var(--rule); background: var(--paper); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 84px; }
.logo { display: block; background: var(--sage); color: #fff; padding: 7px 12px 6px; line-height: .9; font-family: var(--display); text-align: center; }
.logo:hover { color: #fff; }
.logo b { display: block; font-size: 26px; font-weight: 800; letter-spacing: .01em; }
.logo span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .03em; margin-top: 3px; white-space: nowrap; }
.nav { display: flex; gap: 34px; font-size: 16px; font-weight: 600; }
.nav a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a[aria-current] { border-bottom-color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 22px; }
.tel { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.m-actions { display: none; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; padding-top: 72px; padding-bottom: 88px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.rating { font-size: 15px; font-weight: 600; color: var(--green); display: flex; align-items: center; gap: 10px; }
.hero h1 { font-size: clamp(46px, 6.1vw, 78px); line-height: .95; letter-spacing: -.01em; text-wrap: pretty; }
.hero h1 span { color: var(--green); display: block; }
.lede { font-size: 20px; color: var(--text); max-width: 520px; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 15px; color: #55554f; margin-top: 8px; }
.trust strong { color: var(--ink); }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 60% 45%; border-radius: 12px; }
.hero-quote { position: absolute; left: -28px; bottom: -24px; background: #fff; border-radius: 10px; padding: 16px 20px; box-shadow: 0 12px 30px rgba(0,0,0,.12); max-width: 340px; font-size: 15px; line-height: 1.45; margin: 0; }
.hero-quote .stars { display: block; font-size: 13px; margin-bottom: 6px; }
.who { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); font-weight: 600; font-style: normal; }

/* Section furniture */
.section { padding-top: 64px; padding-bottom: 64px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; }
h2 { font-size: clamp(34px, 4vw, 48px); }
.more { font-weight: 700; font-size: 16px; border-bottom: 2px solid currentColor; white-space: nowrap; }
.band-sage { background: var(--sage); color: var(--forest); }
.band-sage a:hover { color: #fff; }
.band-white { background: #fff; border-top: 1px solid var(--rule); }
.band-white .section-head .more { color: var(--green); }

/* Service cards (home) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--paper); color: var(--ink); border-radius: 10px; padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 8px; }
.band-sage a.card:hover { color: var(--ink); box-shadow: 0 0 0 2px var(--forest); }
.card b { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1.05; }
.card span { font-size: 15.5px; color: var(--text); }
.card i { display: none; font-style: normal; color: var(--green); }

/* Why + map */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 72px; padding-bottom: 72px; align-items: center; }
.why h2 { margin-bottom: 18px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; color: var(--text); counter-reset: n; }
.steps li { display: flex; gap: 14px; counter-increment: n; }
.steps li::before { content: counter(n); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sage); color: var(--forest); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.steps strong { color: var(--ink); }
.area { display: flex; flex-direction: column; gap: 14px; }
.map { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--rule); }
.map img { width: 100%; height: auto; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: #fff; border: 1px solid var(--rule); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; }
.credit { font-size: 12px; color: var(--muted); }
.credit a { text-decoration: underline; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review { margin: 0; background: var(--paper); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.review .stars { font-size: 13px; }
.review p { text-wrap: pretty; }
.review .who { margin-top: auto; font-size: 13.5px; }
.reviews.on-paper .review { background: #fff; border: 1px solid var(--rule); }
.review.cta-card { background: var(--sage); border-color: var(--sage); color: var(--forest); justify-content: center; gap: 14px; }
.review.cta-card b { font-family: var(--display); font-size: 30px; font-weight: 800; line-height: 1; }
.review.cta-card a { font-weight: 700; border-bottom: 2px solid currentColor; align-self: flex-start; }
.review.cta-card a:hover { color: #fff; }
.reviews.on-paper .cta-card { background: var(--sage); border-color: var(--sage); grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 28px; padding: 28px 32px; }
.reviews.on-paper .cta-card p { flex: 1; }
.reviews.on-paper .cta-card a { align-self: center; white-space: nowrap; }

/* Closing CTA */
.cta { background: var(--ink); color: var(--paper); }
.cta .wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.cta h2 { font-size: clamp(36px, 4.6vw, 56px); margin-bottom: 10px; }
.cta p { font-size: 18px; color: #c9c8c0; }
.cta .addr { display: none; font-size: 13px; color: #a9a8a0; }

/* Footer */
.footer { border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 28px; padding-bottom: 28px; }
.footer span span, .footer a { margin-left: 20px; }
.footer a { font-weight: 600; margin-left: 0; }

/* Page intros */
.page-intro { padding-top: 64px; padding-bottom: 24px; }
.page-intro h1 { font-size: clamp(44px, 5.4vw, 68px); line-height: .95; margin-bottom: 14px; max-width: 820px; text-wrap: pretty; }
.page-intro p { font-size: 19px; color: var(--text); max-width: 760px; }

/* Services page */
.svc-list { padding-top: 24px; padding-bottom: 72px; }
.svc { display: grid; grid-template-columns: 320px 1fr auto; gap: 40px; padding: 30px 0; border-top: 1px solid var(--rule); align-items: start; }
.svc h2 { font-size: 32px; font-weight: 700; }
.svc p { font-size: 17px; line-height: 1.55; color: var(--text); max-width: 560px; }
.faq-band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-top: 56px; padding-bottom: 56px; }
.faq-band h2 { font-size: 44px; margin-bottom: 20px; }
.faq { padding: 16px 0; border-top: 1px solid rgba(18,38,26,.2); }
.faq h3 { font: 700 17px/1.4 "Source Sans 3", system-ui, sans-serif; }
.faq p { font-size: 16px; color: #22382a; margin-top: 6px; }
.aside-card { background: var(--paper); color: var(--ink); border-radius: 12px; padding: 32px; align-self: start; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.aside-card b { font-family: var(--display); font-size: 34px; font-weight: 800; line-height: 1; }
.aside-card p { font-size: 16.5px; color: var(--text); }
.band-sage .aside-card a:hover { color: #fff; }

/* Reviews page */
.score-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.score-head h1 { font-size: clamp(44px, 5.4vw, 68px); line-height: .95; margin-bottom: 14px; max-width: 720px; text-wrap: pretty; }
.score-head p { font-size: 19px; color: var(--text); max-width: 720px; }
.score { text-align: right; flex: none; }
.score b { display: block; font-family: var(--display); font-size: 80px; font-weight: 800; line-height: .9; }
.score .stars { font-size: 18px; letter-spacing: 3px; }
.gallery-head p { font-size: 17px; color: var(--text); margin: 8px 0 28px; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: #ecebe5; }
.gallery figcaption { font-size: 15px; font-weight: 600; }

/* Contact page */
.contact { display: grid; grid-template-columns: 1fr 420px; gap: 64px; padding-top: 64px; padding-bottom: 80px; }
.contact h1 { font-size: clamp(44px, 5.4vw, 68px); line-height: .95; margin-bottom: 14px; }
.contact .intro { font-size: 19px; color: var(--text); max-width: 600px; margin-bottom: 36px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 680px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { border: 1.5px solid #c9c8c0; border-radius: 6px; padding: 13px 14px; font-size: 16px; font-weight: 400; background: #fff; color: var(--ink); width: 100%; }
.form textarea { resize: vertical; }
.form button { justify-self: start; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; max-width: 680px; margin-bottom: 24px; padding: 16px 18px; border-radius: 8px; background: #fbeceb; border: 1.5px solid #c8433a; color: #5c1712; font-weight: 600; }
.form-error:target { display: block; }
.form-error a { text-decoration: underline; }
.side { display: flex; flex-direction: column; gap: 20px; }
.call-card { background: var(--sage); color: var(--forest); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.call-card .eyebrow { color: inherit; }
.call-card a { font-family: var(--display); font-size: 44px; font-weight: 800; line-height: 1; }
.call-card a:hover { color: #fff; }
.call-card p { font-size: 16px; margin-top: 4px; }
.info-card { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.info-card a { overflow-wrap: anywhere; }
.thanks { padding-top: 96px; padding-bottom: 120px; max-width: 760px; margin: 0; }
.thanks h1 { font-size: clamp(44px, 5.4vw, 68px); line-height: .95; margin-bottom: 16px; }
.thanks p { font-size: 19px; color: var(--text); margin-bottom: 28px; }

/* ── Tablet and down ── */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .header-cta .btn { display: none; }
  .svc { grid-template-columns: 240px 1fr auto; gap: 28px; }
}

/* ── Mobile, following the design's 390px mockup ── */
@media (max-width: 860px) {
  :root { --pad: 20px; }
  body { font-size: 16px; }
  .banner { font-size: 12.5px; }
  .banner .long { display: none; }
  .banner .short { display: inline; }

  .header { position: sticky; top: 0; z-index: 40; }
  .header .wrap { height: 68px; padding-left: 16px; padding-right: 16px; }
  .logo { padding: 6px 10px 5px; }
  .logo b { font-size: 20px; }
  .logo span { font-size: 8.5px; margin-top: 2px; }
  .nav, .header-cta { display: none; }
  .m-actions { display: flex; align-items: center; gap: 12px; }
  .m-call { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; }
  .m-call:hover { background: var(--green); color: #fff; }
  .m-call svg { width: 20px; height: 20px; }
  .m-menu summary { list-style: none; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 0 10px; cursor: pointer; }
  .m-menu summary::-webkit-details-marker { display: none; }
  .m-menu summary span { height: 2px; background: var(--ink); }
  .m-menu nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: 0 16px 30px rgba(0,0,0,.12); display: flex; flex-direction: column; padding: 8px 20px 16px; }
  .m-menu nav a { padding: 14px 0; border-top: 1px solid var(--rule); font-weight: 600; font-size: 17px; }
  .m-menu nav a:first-child { border-top: 0; }
  .m-menu nav a[aria-current] { color: var(--green); }

  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; padding-bottom: 28px; }
  .hero-copy { gap: 16px; }
  .rating { font-size: 14px; }
  .hero h1 span { display: inline; }
  .hero h1 br { display: none; }
  .lede { font-size: 17px; }
  .actions { flex-direction: column; gap: 12px; }
  .actions .btn { width: 100%; font-size: 17px; }
  .trust { font-size: 14px; }
  .hero-photo img { aspect-ratio: 4 / 3; border-radius: 10px; }
  .hero-quote { display: none; }

  .section { padding-top: 28px; padding-bottom: 28px; }
  .section-head { margin-bottom: 16px; }
  h2 { font-size: 32px; }
  .section-head .more { display: none; }

  .cards { grid-template-columns: 1fr; gap: 10px; }
  .card { flex-direction: row; justify-content: space-between; align-items: center; border-radius: 8px; padding: 14px 16px; }
  .card b { font-size: 20px; }
  .card span { display: none; }
  .card i { display: block; }

  .why { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; padding-bottom: 32px; }

  .reviews { grid-template-columns: 1fr; gap: 12px; }
  .reviews.on-paper .cta-card { flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px; }
  .reviews.on-paper .cta-card a { align-self: flex-start; }
  .reviews.home .review:nth-child(n+2) { display: none; }
  .reviews.home .review { background: #fff; border: 1px solid var(--rule); padding: 18px; font-size: 15.5px; }
  .m-more { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--green); font-size: 15px; }

  .cta .wrap { grid-template-columns: 1fr; gap: 14px; padding-top: 28px; padding-bottom: 28px; }
  .cta h2 { font-size: 30px; margin: 0; }
  .cta p { font-size: 16px; }
  .cta .actions .btn-sage { display: none; }
  .cta .actions .btn-light { background: var(--sage); border-color: var(--sage); color: var(--forest); }
  .cta .addr { display: block; }

  .footer .wrap { flex-direction: column; }
  .footer span span { margin-left: 0; display: block; }

  .page-intro, .score-head, .contact { padding-top: 32px; }
  .page-intro p, .score-head p, .contact .intro { font-size: 17px; }
  .svc-list { padding-bottom: 32px; }
  .svc { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
  .svc h2 { font-size: 26px; }
  .svc .btn { justify-self: start; }
  .faq-band .wrap { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; padding-bottom: 32px; }
  .faq-band h2 { font-size: 32px; }
  .score-head { flex-direction: column; align-items: flex-start; gap: 20px; padding-bottom: 24px; }
  .score { text-align: left; display: flex; align-items: baseline; gap: 12px; }
  .score b { font-size: 56px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gallery figcaption { font-size: 14px; }
  .contact { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
  .form { grid-template-columns: 1fr; }
  .form button { justify-self: stretch; }
  .call-card a { font-size: 40px; }
  .thanks { padding-top: 48px; padding-bottom: 64px; }
}
@media (min-width: 861px) { .m-more { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
