:root {
  --van: #a6d49f;        /* Michael's van */
  --van-deep: #8cc284;
  --van-pale: #edf6ea;
  --forest: #1b3a24;     /* text, dark panels, main buttons */
  --forest-2: #24492e;
  --forest-soft: #45604c;
  --link: #2c6a39;
  --tile: #f7faf6;
  --grout: #d5e3d1;
  --white: #ffffff;
  --radius-lg: 18px;
  --radius-sm: 10px;
  --display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --body: "Public Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--tile); color: var(--forest); font: 400 1.0625rem/1.6 var(--body); }
a { color: var(--link); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.sr-only, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--forest); color: var(--white); padding: 8px 14px; z-index: 20; }
.skip:focus { left: 8px; }
.muted { color: var(--forest-soft); font-size: .95rem; }
.lede { font-size: 1.15rem; color: var(--forest-soft); max-width: 52ch; }
.section-lede { color: var(--forest-soft); max-width: 58ch; font-size: 1.08rem; }
.text-link { font-weight: 600; color: var(--link); text-underline-offset: 4px; }
section { scroll-margin-top: 90px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.3em; border: 2px solid transparent; border-radius: 999px;
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-dark { background: var(--forest); color: var(--white); }
.btn-dark:hover { background: var(--forest-2); }
.btn-leaf { background: var(--van); color: var(--forest); }
.btn-leaf:hover { background: var(--van-deep); }
.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-outline:hover { background: var(--forest); color: var(--white); }
.btn-outline-light { border-color: var(--van); color: var(--van); background: transparent; }
.btn-outline-light:hover { background: var(--van); color: var(--forest); }
.btn-block { width: 100%; }
.ico { width: 18px; height: 18px; fill: currentColor; }

/* Top strip */
.strip { background: var(--forest); color: #cfe6ca; font-size: .88rem; }
.strip-inner { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }

/* Header */
.top { background: var(--van); position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 0 rgba(27, 58, 36, .15); }
.top-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest); flex: none; }
.brand-mark { width: 40px; height: 40px; }
.brand-mark .t { fill: var(--forest); }
.brand-mark .d { fill: var(--white); }
.brand-text { display: flex; flex-direction: column; font: 800 1.45rem/1 var(--display); }
.brand-text small { font: 600 .78rem/1.5 var(--body); letter-spacing: .02em; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--forest); text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: rgba(255, 255, 255, .45); }
.nav a[aria-current="page"] { background: var(--white); }
.nav .nav-call { display: none; }
.top-call { flex: none; }
.menu-btn { display: none; }

/* Hero */
.hero {
  background-color: var(--white);
  background-image: linear-gradient(var(--grout) 2px, transparent 2px), linear-gradient(90deg, var(--grout) 2px, transparent 2px);
  background-size: 56px 56px; background-position: -2px -2px;
  padding: 56px 0 72px; border-bottom: 1px solid var(--grout);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-copy { background: var(--white); padding: 28px 28px 22px; border-radius: var(--radius-lg); box-shadow: 0 0 0 8px rgba(255, 255, 255, .85); }
.hero-kicker { display: inline-block; background: var(--van-pale); color: var(--link); font-weight: 600; font-size: .95rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 20px; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--forest-soft); font-size: .95rem; }
.facts li::before, .tick-list li::before {
  content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px;
  background: var(--van) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231b3a24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
  border-radius: 50%;
}

/* Chat */
.chat { background: var(--forest); color: var(--white); border-radius: var(--radius-lg); padding: 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 24px 48px -24px rgba(27, 58, 36, .6); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 4px 4px 8px; }
.chat-head strong { display: block; font: 600 1.15rem/1.2 var(--display); }
.chat-head span { font-size: .9rem; color: #bcd6b8; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--van); box-shadow: 0 0 0 4px rgba(166, 212, 159, .25); flex: none; }
.chat-log { background: #132b1a; border-radius: 12px; padding: 14px; height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: .98rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.bot { background: #2a4d33; border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { background: var(--van); color: var(--forest); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg.typing { color: #bcd6b8; font-style: italic; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: transparent; color: var(--white); border: 1px solid #4b6d52; border-radius: 999px; padding: 8px 14px; font: 500 .9rem/1.2 var(--body); cursor: pointer; }
.chip:hover { border-color: var(--van); color: var(--van); }
.chat-form { display: flex; gap: 8px; }
.chat-form input { flex: 1; min-width: 0; min-height: 48px; border: 0; border-radius: 999px; padding: 0 18px; font: 400 1rem var(--body); color: var(--forest); background: var(--white); }
.chat-form .btn:disabled { opacity: .6; cursor: wait; }
.handoff { min-height: 48px; border-radius: 999px; cursor: pointer; background: transparent; color: var(--van); border: 2px solid var(--van); font: 600 1rem var(--body); }
.handoff:hover { background: var(--van); color: var(--forest); }
.chat-note { font-size: .82rem; color: #a9c4a5; margin: 0; }

/* Shared section spacing */
.how, .services-home, .why, .work, .areas-home, .faq-home, .quote, .process, .included, .about, .areas-page, .faq-page, .prose-page { padding: 80px 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { margin: 0; }

/* How it works */
.how-steps, .process-steps { list-style: none; counter-reset: step; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how-steps li, .process-steps li { counter-increment: step; position: relative; padding: 24px; background: var(--white); border: 2px solid var(--grout); border-radius: var(--radius-lg); }
.how-steps li::before, .process-steps li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px;
  background: var(--van); color: var(--forest); border-radius: 10px; font: 800 1.2rem var(--display);
}
.how-steps p, .process-steps p { margin: 0; color: var(--forest-soft); }

/* Services cards (home) */
.services-home { background: var(--white); border-block: 1px solid var(--grout); }
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { display: flex; flex-direction: column; padding: 24px; border-radius: var(--radius-lg); background: var(--tile); border: 2px solid var(--grout); color: var(--forest); text-decoration: none; transition: border-color .15s, background-color .15s; }
.service-card:hover { border-color: var(--van-deep); background: var(--van-pale); }
.service-card p { color: var(--forest-soft); margin-bottom: 16px; }
.svc-ico { width: 44px; height: 44px; margin-bottom: 14px; fill: none; stroke: var(--forest); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.from { margin-top: auto; font-weight: 600; color: var(--link); }

/* Why */
.why-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.why-list h3 { padding-top: 14px; border-top: 4px solid var(--van); }
.why-list p { color: var(--forest-soft); margin: 0; }

/* Emergency */
.emergency { background: var(--forest); color: #e4f1e1; padding: 48px 0; }
.emergency-inner { display: flex; gap: 24px; align-items: flex-start; }
.emergency h2 { color: var(--white); }
.emergency p { max-width: 70ch; }
.emergency a { color: var(--van); font-weight: 600; }
.em-ico { width: 56px; height: 56px; flex: none; fill: var(--van); }
.em-gas { margin: 0; padding-top: 12px; border-top: 1px solid #3a5c41; }

/* Work */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot { margin: 0; }
.ph { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); background-color: var(--van-pale); background-image: linear-gradient(#cfe3ca 2px, transparent 2px), linear-gradient(90deg, #cfe3ca 2px, transparent 2px); background-size: 28px 28px; }
.ph-tall { aspect-ratio: 4 / 5; }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-sm); background: var(--van-pale); }
.work-bathrooms { padding-top: 0; }
.shot figcaption { padding-top: 10px; font-weight: 600; }
.shot small { font-weight: 400; color: var(--forest-soft); }
.reviews { margin-top: 48px; padding: 24px; border: 2px dashed var(--grout); border-radius: var(--radius-lg); }
.reviews p { margin: 0; color: var(--forest-soft); }

/* Areas */
.areas-home { background: var(--van-pale); border-block: 1px solid var(--grout); }
.areas-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
.town-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.town-list li { background: var(--white); border: 2px solid var(--grout); padding: 8px 16px; border-radius: 999px; font-weight: 600; }
.area-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.area-group { background: var(--white); border: 2px solid var(--grout); border-top: 6px solid var(--van); border-radius: var(--radius-lg); padding: 24px; }
.area-group h2 { font-size: 1.4rem; }
.area-group p { margin: 0; color: var(--forest-soft); }

/* FAQ */
.qa { border-bottom: 2px solid var(--grout); }
.qa summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font: 600 1.1rem/1.4 var(--display); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font: 400 1.8rem/1 var(--body); color: var(--link); }
.qa[open] summary::after { content: "−"; }
.qa p { color: var(--forest-soft); padding-bottom: 8px; }
.faq-page h2 { margin-top: 40px; font-size: 1.5rem; }
.faq-page h2:first-child { margin-top: 0; }

/* Quote */
.quote { background: var(--white); border-top: 1px solid var(--grout); }
.quote-page { border-top: 0; background: var(--tile); }
.quote-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.quote-contact { margin-top: 28px; padding: 20px 24px; background: var(--van-pale); border-radius: var(--radius-lg); }
.quote-contact p { margin: 0; }
.big-phone { display: inline-block; margin: 4px 0; font: 800 clamp(1.6rem, 3vw, 2.1rem)/1.2 var(--display); color: var(--forest); text-decoration: none; }
.quote-form { background: var(--white); border: 2px solid var(--grout); border-radius: var(--radius-lg); padding: 28px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--forest-soft); }
.field input, .field textarea { width: 100%; border: 2px solid var(--grout); border-radius: var(--radius-sm); padding: 12px 14px; font: 400 1rem/1.5 var(--body); color: var(--forest); background: var(--tile); }
.field input:focus, .field textarea:focus { border-color: var(--link); outline: none; background: var(--white); }
.field input[type="file"] { padding: 10px; }
.hint { font-size: .9rem; color: var(--forest-soft); margin: 6px 0 0; }
.hint.err { color: #b42318; }
.form-note { font-size: .88rem; color: var(--forest-soft); margin: 14px 0 0; text-align: center; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; flex-direction: column; gap: 2px; padding: 20px 22px; background: var(--white); border: 2px solid var(--grout); border-radius: var(--radius-lg); color: var(--forest); text-decoration: none; }
a.contact-card:hover { border-color: var(--van-deep); background: var(--van-pale); }
.cc-label { font-size: .9rem; color: var(--forest-soft); font-weight: 600; }
.cc-value { font: 800 1.35rem/1.3 var(--display); }

/* Inner page heads */
.page-head { background: var(--van-pale); border-bottom: 1px solid var(--grout); padding: 56px 0 48px; }
.page-head-tiles { background-color: var(--white); background-image: linear-gradient(var(--grout) 2px, transparent 2px), linear-gradient(90deg, var(--grout) 2px, transparent 2px); background-size: 56px 56px; }
.page-head-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.page-head-grid > div:first-child { background: var(--white); padding: 24px; border-radius: var(--radius-lg); box-shadow: 0 0 0 8px rgba(255, 255, 255, .85); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.jump a { background: var(--white); border: 2px solid var(--grout); color: var(--forest); text-decoration: none; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.jump a:hover { border-color: var(--van-deep); }

/* Services detail */
.svc-detail { padding: 64px 0; }
.svc-detail.alt { background: var(--white); border-block: 1px solid var(--grout); }
.svc-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.svc-grid p { color: var(--forest-soft); }
.price-list { list-style: none; margin: 0; padding: 8px 24px; background: var(--white); border: 2px solid var(--grout); border-radius: var(--radius-lg); }
.svc-detail.alt .price-list { background: var(--tile); }
.price-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--grout); }
.price-list li:last-child { border-bottom: 0; }
.price-list b { color: var(--link); white-space: nowrap; font-weight: 600; }
.svc-note { padding: 0 0 48px; color: var(--forest-soft); }
.svc-note-inline { margin-top: 24px; color: var(--forest-soft); }
.price-callout { background: var(--forest); color: var(--white); border-radius: var(--radius-lg); padding: 28px; }
.pc-label { color: #bcd6b8; margin: 0; }
.pc-price { font: 800 clamp(2rem, 4vw, 2.8rem)/1.1 var(--display); color: var(--van); margin: 6px 0 12px; }
.pc-note { margin: 0; color: #cfe2cb; font-size: .95rem; }
.process { background: var(--white); border-bottom: 1px solid var(--grout); }
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tick-list li { background: var(--white); border: 2px solid var(--grout); border-radius: var(--radius-sm); padding: 12px 16px; font-weight: 500; }

/* About */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.about-photo .muted { margin-top: 10px; }
.prose { max-width: 66ch; }
.prose h2 { font-size: 1.6rem; margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }

/* CTA band */
.cta-band { background: var(--van); padding: 48px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: .3em; }
.cta-inner p { margin: 0; max-width: 54ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Thanks / 404 */
.thanks { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 72px 0; }
.thanks .lede { margin-inline: auto; }

/* Footer */
.foot { background: var(--forest); color: #c9dcc5; padding: 64px 0 24px; }
.foot a { color: #e4f1e1; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.brand-light { color: var(--white); margin-bottom: 16px; }
.brand-light .brand-mark .t { fill: var(--van); }
.brand-light .brand-mark .d { fill: var(--white); }
.foot-brand p { max-width: 40ch; }
.foot-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.foot-h { font: 600 1.05rem var(--display); color: var(--van); margin-bottom: 14px; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-list a { text-decoration: none; }
.foot-list a:hover { text-decoration: underline; color: var(--van); }
.foot-areas { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid #355a3d; font-size: .95rem; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-size: .88rem; color: #9fbb9a; }
.foot-bottom a { color: var(--van); }
.foot .btn-leaf { color: var(--forest); }
.foot .btn-outline-light { color: var(--van); }
.foot .btn-outline-light:hover { color: var(--forest); }

.mobile-bar { display: none; }

@media (max-width: 1020px) {
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 8px 16px 16px; background: var(--van);
    box-shadow: 0 12px 24px -12px rgba(27, 58, 36, .4);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; border-radius: var(--radius-sm); font-size: 1.05rem; }
  .nav .nav-call { display: block; margin-top: 8px; background: var(--forest); color: var(--white); text-align: center; }
  .top-inner { position: relative; }
  .top-call { margin-left: auto; }
  .menu-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--forest); border-radius: 12px; background: transparent; cursor: pointer; flex: none; }
  .menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 20px; height: 2.5px; background: var(--forest); border-radius: 2px; position: relative; }
  .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
  .menu-bars::before { top: -6px; }
  .menu-bars::after { top: 6px; }
  .menu-btn[aria-expanded="true"] .menu-bars { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-bars::before { top: 0; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-bars::after { top: 0; transform: rotate(-45deg); }
}
@media (max-width: 900px) {
  .hero-grid, .quote-grid, .why-grid, .areas-inner, .svc-grid, .page-head-grid, .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-cards, .how-steps, .process-steps { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .strip-mid { display: none; }
}
@media (max-width: 600px) {
  body { padding-bottom: 76px; }
  .top-call { display: none; }
  .menu-btn { margin-left: auto; }
  .top-inner { min-height: 68px; }
  .brand-text { font-size: 1.3rem; }
  .strip-inner { justify-content: center; }
  .strip-inner span:last-child { display: none; }
  .hero { padding: 20px 0 40px; background-size: 40px 40px; }
  .hero-copy { padding: 20px 18px 16px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .chat-log { height: 260px; }
  .service-cards, .how-steps, .process-steps, .gallery, .why-list, .area-groups, .field-row { grid-template-columns: 1fr; }
  .field-row { gap: 0; }
  .how, .services-home, .why, .work, .areas-home, .faq-home, .quote, .process, .included, .about, .areas-page, .faq-page, .prose-page { padding: 56px 0; }
  .svc-detail { padding: 48px 0; }
  .page-head { padding: 40px 0 32px; }
  .quote-form { padding: 20px; }
  .emergency-inner { flex-direction: column; gap: 12px; }
  .foot-top { grid-template-columns: 1fr; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--grout);
  }
}

/* Guided chat ending */
.chat-end { display: grid; gap: 10px; }
.chat-end[hidden], .chat-form[hidden], .chips[hidden] { display: none; }
.restart { background: none; border: 0; color: #bcd6b8; font: 500 .92rem var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px; }
.restart:hover { color: var(--white); }
