:root {
  --green: #71c200;
  --green-dark: #4f8a00;
  --blue: #3085cc;
  --yellow: #fce200;
  --ink: #231f20;
  --chrome: #d4d4d4;   /* header + footer (brand decision) */
  --paper: #ffffff;
  --soft: #f3f5ee;
  --muted: #55504f;
  --line: #d9dbd2;
  --radius: 6px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 'Source Sans 3', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .005em; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.375rem; font-weight: 500; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 2.5rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); max-width: 46ch; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .75rem 1rem; z-index: 200; }
.skip:focus { left: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .75rem 1.5rem; border-radius: var(--radius);
  font: 600 1.0625rem/1 'Source Sans 3', sans-serif; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s;
}
.btn-green { background: var(--green); color: var(--ink); }
.btn-green:hover { background: #82d60a; }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--chrome); border-bottom: 1px solid #bdbdbd; }
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 1.75rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 1rem; }
.nav a:hover { color: var(--green-dark); }
.nav .nav-estimate { background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius); }
.nav .nav-estimate:hover { background: #000; color: #fff; }
.header-call { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 1.15rem; text-decoration: none; white-space: nowrap; }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; background: none; border: 0; padding: 12px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: end; color: #fff; overflow: hidden; }
.hero picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: 70% 45%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(20,18,18,.86) 0%, rgba(20,18,18,.62) 45%, rgba(20,18,18,.08) 80%),
              linear-gradient(0deg, rgba(20,18,18,.5) 0%, rgba(20,18,18,0) 40%); }
.hero-inner { position: relative; z-index: 2; padding: 6rem 0 4rem; max-width: var(--wrap); }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 700; max-width: 14ch; margin-bottom: .35em; }
.hero-sub { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 44ch; color: #f1f1ee; }

/* The shirt-back "Free estimates / Call or Text" box, reused as the signature CTA */
.stamp {
  display: inline-flex; flex-direction: column; align-items: center; gap: .2rem;
  margin: .75rem 0 1.75rem; padding: .7rem 1.6rem .85rem;
  border: 2.5px solid #fff; border-radius: 3px; transform: rotate(-1.5deg);
  text-decoration: none; color: #fff; transition: background-color .15s, color .15s;
}
.stamp:hover { background: #fff; color: var(--ink); }
.stamp-top { font-weight: 700; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; }
.stamp-num { font-size: clamp(1.25rem, 2.4vw, 1.65rem); font-weight: 400; letter-spacing: .03em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Pillars: the three logo circles, used as a color key for the services below */
.pillars { background: var(--ink); color: #fff; }
.pillar-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 2rem; padding: 1.4rem 0; }
.pillar { display: flex; align-items: center; gap: .85rem; }
.pillar strong { display: block; font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 1.15rem; }
.pillar span:not(.dot) { color: #c9c6c3; font-size: .95rem; }
.dot { flex: none; width: 22px; height: 22px; border-radius: 50%; }
.dot-green { background: var(--green); }
.dot-blue { background: var(--blue); }
.dot-yellow { background: var(--yellow); }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; }
.service { position: relative; }
.service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.service-body { padding-top: 1.1rem; }
.service h3 { display: flex; align-items: center; gap: .6rem; }
.service h3::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--c); }
.service p { color: var(--muted); margin: 0; }
.service[data-group="green"] { --c: var(--green); }
.service[data-group="blue"] { --c: var(--blue); }
.service[data-group="yellow"] { --c: var(--yellow); }
.odd-art { aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--soft); display: grid; place-items: center; }
.odd-art img { width: 46%; aspect-ratio: 1; object-fit: contain; border-radius: 0; }

/* Steps (a real sequence, so numbered) */
.steps { background: var(--soft); }
.step-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.step-list li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 1.1rem; }
.step-list li::before { content: counter(step); font: 700 2.5rem/1 'Oswald', sans-serif; color: var(--green-dark); display: block; margin-bottom: .6rem; }
.step-list p { color: var(--muted); margin: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: .75rem; }
.gallery figure { margin: 0; grid-row: span 2; overflow: hidden; border-radius: var(--radius); }
.gallery .g-wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* About */
.about { background: var(--soft); }
.about-grid { display: grid; grid-template-columns: 420px 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about-copy { max-width: 56ch; }
.about-copy p { font-size: 1.125rem; }
.about-copy .btn { margin-top: .5rem; }

/* Area */
.area-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem 4rem; align-items: center; }
.area-row p { color: var(--muted); max-width: 52ch; margin: 0; }
.towns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.towns li { border: 2px solid var(--ink); border-radius: 999px; padding: .45rem 1.1rem; font-weight: 600; }

/* FAQ */
.faq { padding-top: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 700; font-size: 1.15rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font: 500 1.6rem/1 'Oswald', sans-serif; color: var(--green-dark); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 1.25rem; color: var(--muted); max-width: 62ch; }

/* Estimate */
.estimate { background: var(--ink); color: #fff; }
.estimate-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.estimate-intro p { color: #d8d5d2; font-size: 1.125rem; max-width: 38ch; }
.estimate-alt a { color: var(--yellow); font-weight: 700; }
.estimate-form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; background: #fff; color: var(--ink); padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius); }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field-full, .estimate-form .btn, .form-error { grid-column: 1 / -1; }
fieldset.field { border: 0; padding: 0; margin: 0; }
label, legend { font-weight: 700; font-size: .975rem; }
legend { padding: 0; margin-bottom: .45rem; }
.hint { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="tel"], textarea {
  font: inherit; color: inherit; width: 100%; padding: .75rem .85rem;
  border: 1.5px solid #a9a6a3; border-radius: 4px; background: #fff;
}
input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(48,133,204,.25); }
input[aria-invalid="true"] { border-color: #c0362c; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { position: relative; font-weight: 600; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: .5rem .9rem; border: 1.5px solid #a9a6a3; border-radius: 999px; transition: background-color .12s, border-color .12s; }
.chips input:checked + span { background: var(--green); border-color: var(--green); }
.chips input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.form-error { color: #b0291f; font-weight: 600; margin: 0; }
.form-done { position: absolute; inset: 0; background: #fff; border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.form-done[hidden] { display: none; }

/* Footer */
.site-footer { background: var(--chrome); color: var(--ink); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.footer-grid img { width: 190px; margin-bottom: .75rem; }
.footer-h { font-size: 1.1rem; font-weight: 600; margin-bottom: .6rem; }
.site-footer a { text-decoration-thickness: 1px; text-underline-offset: 3px; font-weight: 600; }
.footer-base { border-top: 1px solid #b4b4b4; margin-top: 2.5rem; padding-top: 1.25rem; font-size: .9rem; }

.mobile-bar { display: none; }

/* Responsive */
@media (max-width: 1100px) {
  .header-call { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 340px 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--chrome); border-bottom: 1px solid #bdbdbd; padding: .5rem 1.25rem 1.25rem;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid #c2c2c2; }
  .nav .nav-estimate { margin-top: .9rem; text-align: center; border: 0; }
  .pillar-row { grid-template-columns: 1fr; gap: .9rem; }
  .step-list { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .about-grid, .area-row, .estimate-grid, .footer-grid { grid-template-columns: 1fr; }
  .about-img { max-width: 420px; }
}
@media (max-width: 700px) {
  body { padding-bottom: 64px; }
  .brand img { width: 120px; }
  .header-row { min-height: 64px; }
  .hero { min-height: auto; }
  .hero-img { object-position: 74% 40%; }
  .hero::before { background: linear-gradient(0deg, rgba(20,18,18,.92) 0%, rgba(20,18,18,.72) 55%, rgba(20,18,18,.25) 100%); }
  .hero-inner { padding: 12rem 0 2.5rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .service-grid { grid-template-columns: 1fr; }
  .estimate-form { grid-template-columns: 1fr; }
  .mobile-bar {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; height: 60px;
    background: var(--green); color: var(--ink); font: 600 1.15rem/1 'Oswald', sans-serif; text-decoration: none;
    box-shadow: 0 -2px 12px rgba(0,0,0,.2);
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .stamp { transform: none; }
}
