/* =========================================================
   Signature Finishes Painting & Restoration
   Brand colors live in :root. Change them here, everywhere updates.
   ========================================================= */

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/alegreya-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya"; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/alegreya-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/alegreya-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); }

:root {
  --paper: #f7f4ef;        /* warm white background */
  --paper-2: #efebe4;      /* slightly deeper warm white */
  --stone: #dedad3;        /* medium-light gray section */
  --slate: #4a4d52;        /* medium gray section */
  --ink: #23262a;          /* charcoal text */
  --ink-2: #4f5358;        /* secondary text */
  --muted: #6f7378;
  --line: #d3cec6;
  --brick: #b63d2d;        /* accent */
  --brick-dark: #962f22;
  --brick-tint: #f3e3df;

  --serif: "Alegreya", "Iowan Old Style", Georgia, serif;
  --sans: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 7.5vw, 6.5rem);
  --radius: 2px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1.125rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--brick); }
:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.005em; margin: 0; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.5rem); line-height: 1.2; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
em.accent { font-style: normal; color: var(--brick); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--ink); color: var(--paper); padding: .75rem 1rem; z-index: 100; }
.skip-link:focus { top: 1rem; color: var(--paper); }

/* Eyebrow echoes the logo's "PAINTING & RESTORATION" lockup */
.eyebrow {
  display: inline-flex; align-items: center; gap: .9rem;
  font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
  margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: var(--brick); }
.eyebrow.on-dark { color: #c9c6c0; }
.lede { font-size: clamp(1.15rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 36em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .9rem 1.6rem; border: 1px solid transparent; border-radius: var(--radius);
  font: 600 1rem/1 var(--sans); letter-spacing: .03em; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--brick); color: #fff; }
.btn-primary:hover { background: var(--brick-dark); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--brick); }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--brick); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.text-link { justify-self: start; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--brick); padding-bottom: 2px; }
.text-link::after { content: " \2192"; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,244,239,.96); border-bottom: 1px solid transparent; transition: border-color .2s; }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(247,244,239,.86); backdrop-filter: blur(10px); } }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.brand { display: block; flex-shrink: 0; }
.brand img { width: clamp(170px, 42vw, 230px); height: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: .55rem; background: none; border: 1px solid var(--line); border-radius: var(--radius);
  min-height: 44px; padding: 0 .9rem; font: 600 .85rem var(--sans); color: var(--ink); cursor: pointer;
}
.nav-toggle .bars { width: 18px; height: 10px; position: relative; border-block: 1.5px solid currentColor; }
.nav-toggle[aria-expanded="true"] .bars { border-color: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before, .nav-toggle[aria-expanded="true"] .bars::after { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: rotate(-45deg); }
.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1.5rem;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: block; padding: .9rem 0; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.site-nav ul a[aria-current="page"] { color: var(--brick); }
.nav-cta { margin-top: 1.25rem; display: grid; gap: .6rem; }
.nav-cta .btn { width: 100%; }
.nav-cta .header-phone { display: none; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: flex; align-items: center; gap: 2.25rem; position: static; padding: 0; border: 0; background: none; }
  .site-nav ul { display: flex; gap: 2rem; }
  .site-nav ul a { padding: .4rem 0; border: 0; font-size: 1.05rem; font-weight: 500; position: relative; }
  .site-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brick); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
  .site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-cta { margin: 0; display: flex; align-items: center; gap: 1.25rem; }
  .nav-cta .btn { width: auto; min-height: 46px; padding: .75rem 1.25rem; }
  .nav-cta .header-phone { display: inline; font-weight: 600; font-size: 1.05rem; text-decoration: none; }
  .nav-cta .mobile-only { display: none; }
}

/* ---------- Placeholder marker ----------
   Any element with class "is-placeholder" shows a small label.
   Remove the class once a real photo is in place. */
.is-placeholder { position: relative; }
.is-placeholder::after {
  content: "Placeholder image"; position: absolute; top: .75rem; left: .75rem; z-index: 2; pointer-events: none;
  background: rgba(35,38,42,.82); color: #fff; font: 600 .65rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: .45rem .6rem;
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: 1.25rem; font-weight: 700; }
.hero h1 .line2 { display: block; color: var(--brick); }
.hero .lede { margin-bottom: 2rem; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 58% 50%; }
.hero-media::before { /* offset frame, a nod to cut-in paint lines (desktop only) */
  content: none; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border: 1px solid var(--brick); z-index: -1;
}
.trust-strip { display: flex; flex-wrap: wrap; gap: .5rem .85rem; margin: 2rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 1rem; font-weight: 600; color: var(--ink-2); }
.trust-strip li { display: inline-flex; align-items: center; gap: .55rem; }
.trust-strip li::before { content: ""; width: 7px; height: 7px; background: var(--brick); transform: rotate(45deg); }
@media (min-width: 960px) {
  .hero-media::before { content: ""; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
  .hero-media img { aspect-ratio: 1 / 1; }
}

/* ---------- Intro ---------- */
.intro { background: var(--paper-2); }
.intro-grid { display: grid; gap: 2rem 4rem; }
.intro-statement { margin: 0; }
.intro-body p { color: var(--ink-2); }
@media (min-width: 900px) { .intro-grid { grid-template-columns: 1.1fr 1fr; align-items: end; } }

/* ---------- Section heading block ---------- */
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--ink-2); max-width: 34em; margin: 0; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1fr 1fr; align-items: end; } .section-head.split > :last-child { justify-self: end; } }

/* ---------- Services ---------- */
.services { background: var(--stone); }
.service-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.service-card { background: var(--paper); display: flex; flex-direction: column; }
.service-card .media { overflow: hidden; }
.service-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-card .body { padding: 1.4rem 1.5rem 1.6rem; border-top: 3px solid var(--brick); flex: 1; }
.service-card h3 { margin-bottom: .4rem; }
.service-card p { margin: 0; color: var(--ink-2); }
.more-services { margin-top: clamp(2rem, 4vw, 2.75rem); }
.more-services h3 { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 1rem; }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: rgba(35,38,42,.16); border: 1px solid rgba(35,38,42,.16); }
.service-list li { background: var(--paper-2); padding: 1.15rem 1.25rem 1.25rem; }
.service-list strong { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; margin-bottom: .2rem; }
.service-list span { color: var(--ink-2); font-size: 1rem; line-height: 1.45; }
@media (min-width: 640px) { .service-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 860px) { .service-cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .service-list { grid-template-columns: repeat(5, 1fr); } }

/* ---------- Project cards (home + gallery) ---------- */
.project-grid { display: grid; gap: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.25rem); }
.project-card { margin: 0; }
.project-card .media { overflow: hidden; background: var(--stone); }
.project-card .media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease; }
.project-card button.media { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; }
.project-card button.media:hover img { transform: scale(1.025); }
.project-card figcaption { padding-top: 1.1rem; }
.project-meta { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brick); margin: 0 0 .5rem; }
.project-card h3 { margin-bottom: .35rem; }
.project-card p { color: var(--ink-2); font-size: 1rem; margin: 0; }
@media (min-width: 760px) { .project-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) {
  .project-grid.featured { grid-template-columns: 1.5fr 1fr; }
  .project-grid.featured .project-card:first-child { grid-row: span 2; }
  .project-grid.featured .project-card:first-child .media img { aspect-ratio: 4 / 4.1; }
  .project-grid.gallery { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Before / After comparison ---------- */
.compare { position: relative; overflow: hidden; background: var(--stone); --pos: 50%; user-select: none; }
.compare img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.compare .after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare .after img { height: 100%; }
.compare .divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.compare .handle { position: absolute; top: 50%; left: var(--pos); width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.25); pointer-events: none; display: grid; place-items: center; color: var(--ink); font-size: .9rem; letter-spacing: -.1em; }
.compare .tag { position: absolute; bottom: .75rem; z-index: 2; background: rgba(35,38,42,.82); color: #fff; font: 600 .65rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: .45rem .6rem; pointer-events: none; }
.compare .tag.before-tag { left: .75rem; }
.compare .tag.after-tag { right: .75rem; }
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.compare input[type="range"]:focus-visible ~ .handle { outline: 2px solid var(--brick); outline-offset: 3px; }
.project-grid.featured .project-card:first-child .compare img { aspect-ratio: 4 / 4.1; }

/* ---------- Credentials ---------- */
.credentials { background: var(--slate); color: #f1eee9; }
.credentials h2 { color: #fff; }
.credentials .section-head p { color: #d4d1cb; }
.cred-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.2); }
.cred-list li { padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.cred-list h3 { color: #fff; margin-bottom: .6rem; display: flex; align-items: baseline; gap: .9rem; }
.cred-list h3::before { content: ""; width: 9px; height: 9px; background: var(--brick); transform: rotate(45deg) translateY(-3px); flex-shrink: 0; }
.cred-list p { margin: 0; color: #d4d1cb; font-size: .98rem; }
@media (min-width: 900px) {
  .cred-list { grid-template-columns: repeat(3, 1fr); column-gap: 3rem; border-top: 0; }
  .cred-list li { border-bottom: 0; border-top: 1px solid rgba(255,255,255,.3); }
}

/* ---------- Service area ---------- */
.area-grid { display: grid; gap: 3rem; }
.town-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; }
.town-list li { font-family: var(--serif); font-weight: 500; font-size: clamp(1.35rem, 2.2vw, 1.65rem); line-height: 1.25; padding: .6rem 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.town-list li.home-base { color: var(--brick); }
.town-list small { display: block; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.area-note { color: var(--ink-2); }
@media (min-width: 900px) { .area-grid { grid-template-columns: 1fr 1.1fr; align-items: start; gap: 4rem; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brick); color: #fff; }
.cta-band .wrap { display: grid; gap: 2rem; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #f7e4df; max-width: 32em; margin: 0; }
.cta-band .eyebrow { color: #f6d9d2; }
.cta-band .eyebrow::before { background: #f6d9d2; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1.4fr 1fr; align-items: end; } .cta-band .btn-row { justify-content: flex-end; } }

/* ---------- Page header (inner pages) ---------- */
.page-header { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-header h1 { margin-bottom: 1rem; }

/* ---------- Gallery ---------- */
.notice { display: flex; gap: .9rem; align-items: flex-start; background: var(--brick-tint); border-left: 3px solid var(--brick); padding: 1rem 1.25rem; font-size: .95rem; color: var(--ink); margin-bottom: 2.5rem; }
.notice p { margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filters button { min-height: 44px; padding: .55rem 1.1rem; border: 1px solid var(--line); background: transparent; border-radius: 999px; font: 600 .85rem var(--sans); color: var(--ink-2); cursor: pointer; }
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.project-card[hidden] { display: none; }

/* Lightbox */
.lightbox { border: 0; padding: 0; max-width: min(1200px, 94vw); width: 100%; background: transparent; color: #fff; }
.lightbox::backdrop { background: rgba(20,21,23,.92); }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; }
.lightbox .lb-bar { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding-top: 1rem; }
.lightbox .lb-caption { margin: 0; font-size: .95rem; color: #ddd; }
.lightbox .lb-close { flex-shrink: 0; min-height: 44px; padding: 0 1rem; background: transparent; border: 1px solid rgba(255,255,255,.5); color: #fff; font: 600 .85rem var(--sans); cursor: pointer; border-radius: var(--radius); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 3.5rem; padding-block: clamp(3rem, 7vw, 5.5rem) var(--section); }
.contact-methods { list-style: none; margin: 0 0 2.5rem; padding: 0; border-top: 1px solid var(--line); }
.contact-methods li { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.contact-methods .label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.contact-methods a { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.2; text-decoration: none; word-break: break-word; }
.contact-methods a:hover { color: var(--brick); }
.contact-aside p { color: var(--ink-2); }
.form-card { background: #fff; border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 2.75rem); }
.form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: .5rem; }
.form-card > p { color: var(--ink-2); margin-bottom: 2rem; }
.field { margin-bottom: 1.35rem; }
.field-row { display: grid; gap: 0 1.25rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
label, legend { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .45rem; }
.req { color: var(--brick); }
.optional { font-weight: 500; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 50px; padding: .75rem .9rem; font: 400 1rem var(--sans); color: var(--ink);
  background: var(--paper); border: 1px solid #c7c2ba; border-radius: var(--radius); appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(182,61,45,.18); background: #fff; }
fieldset { border: 0; padding: 0; margin: 0 0 1.35rem; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; }
.check { display: flex; gap: .6rem; align-items: center; font-weight: 500; font-size: .95rem; margin: 0; min-height: 36px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brick); margin: 0; flex-shrink: 0; }
.form-note { font-size: .85rem; color: var(--muted); margin: 1rem 0 0; }
.hp-field { position: absolute; left: -9999px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 5rem; align-items: start; } }

/* ---------- Simple pages (thank you / 404) ---------- */
.simple { padding-block: clamp(5rem, 12vw, 9rem); text-align: left; }
.simple h1 { margin-bottom: 1.25rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9c6c0; padding-block: 3.75rem 2rem; font-size: 1rem; }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-brand img { width: 230px; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 26em; }
.site-footer h2 { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8f8c87; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { text-decoration: none; color: #f1eee9; }
.site-footer a:hover { color: #e9826f; }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; font-size: .82rem; color: #8f8c87; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

/* ---------- Mobile sticky call bar ---------- */
.call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); border-top: 1px solid rgba(255,255,255,.1); padding-bottom: env(safe-area-inset-bottom); }
.call-bar a { display: flex; align-items: center; justify-content: center; min-height: 54px; color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; }
.call-bar a + a { background: var(--brick); }
body { padding-bottom: 54px; }
@media (min-width: 900px) { .call-bar { display: none; } body { padding-bottom: 0; } }

/* Full-width feature card at the end of the gallery (basement built-in) */
@media (min-width: 760px) {
  .project-grid.gallery .project-card.feature-wide { grid-column: 1 / -1; }
  .project-grid.gallery .project-card.feature-wide .media img { aspect-ratio: 2.4 / 1; object-position: 50% 52%; }
}
@media (min-width: 1080px) {
  .project-grid.gallery .project-card.feature-wide .media img { aspect-ratio: 3 / 1; }
}

/* ---------- Press / media feature band ---------- */
.press-band { background: var(--ink); color: #e9e6e0; padding-block: 1.6rem; }
.press-inner { display: grid; gap: .6rem 2rem; align-items: center; }
.press-label { margin: 0; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #e9826f; display: inline-flex; align-items: center; gap: .75rem; }
.press-label::before { content: ""; width: 2rem; height: 2px; background: var(--brick); }
.press-text { margin: 0; font-size: 1.05rem; line-height: 1.5; }
.press-text cite { font-family: var(--serif); font-style: normal; font-weight: 700; color: #fff; font-size: 1.15em; }
.press-link { justify-self: start; color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--brick); padding-bottom: 2px; white-space: nowrap; }
.press-link::after { content: " \2197"; }
.press-link:hover { color: #e9826f; }
@media (min-width: 900px) {
  .press-inner { grid-template-columns: auto 1fr auto; }
  .press-label::before { display: none; }
  .press-label { padding-right: 2rem; border-right: 1px solid rgba(255,255,255,.18); }
}

/* ---------- Owner facts (About section) ---------- */
.owner-facts { display: flex; flex-wrap: wrap; gap: 1rem 2.25rem; margin: 1.75rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.owner-facts dt { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .15rem; }
.owner-facts dd { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: var(--ink); }

/* =========================================================
   PHASE 2: hero slider, tape seams, map, town pages, stepped form
   ========================================================= */

/* ---------- Hero before/after ---------- */
.hero-compare img { aspect-ratio: 4 / 3; }
@media (min-width: 960px) { .hero-compare img { aspect-ratio: 5 / 4; } }
.hero-compare .hint {
  position: absolute; left: 50%; top: calc(50% + 34px); transform: translateX(-50%); z-index: 2; pointer-events: none;
  background: rgba(35,38,42,.82); color: #fff; font: 600 .78rem/1 var(--sans); letter-spacing: .08em; padding: .5rem .75rem; white-space: nowrap;
  transition: opacity .4s;
}
.hero-compare.is-touched .hint { opacity: 0; }
.hero-compare .handle { width: 52px; height: 52px; margin: -26px 0 0 -26px; font-size: 1rem; }
.hero-caption { margin: 1.9rem 0 0; font-size: .95rem; color: var(--muted); }
.hero-caption strong { color: var(--ink); font-weight: 600; }

/* ---------- Painter's-tape seams ----------
   A strip of masking tape sits on the seam between two sections and pulls
   away once when it scrolls into view, leaving a crisp edge. Only added by
   JavaScript, and never for visitors who prefer reduced motion. */
.js-tape .tape-seam { position: relative; }
.js-tape .tape-seam::before {
  content: ""; position: absolute; left: 0; right: 0; top: -11px; height: 22px; z-index: 3; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,0) 45%, rgba(0,0,0,.05)),
    repeating-linear-gradient(90deg, rgba(110,88,45,.07) 0 1px, transparent 1px 5px),
    #e8dcbd;
  box-shadow: 0 1px 2px rgba(0,0,0,.14);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.2s cubic-bezier(.65,0,.25,1) .1s, opacity .25s ease 1.25s;
}
.js-tape .tape-seam.is-pulled::before { clip-path: inset(0 0 0 100%); opacity: 0; }

/* ---------- Service area map ---------- */
.area-layout { display: grid; gap: 2rem; align-items: start; }
.map-frame { margin: 0; background: var(--paper-2); border: 1px solid var(--line); padding: clamp(.5rem, 1.5vw, 1rem); }
.area-map { display: block; width: 100%; height: auto; }
.area-map .m-bg { fill: var(--paper-2); }
.area-map .m-grid { stroke: var(--ink); stroke-opacity: .05; stroke-width: 1; }
.area-map .m-ring { fill: none; stroke: var(--brick); stroke-opacity: .3; stroke-width: 1.2; stroke-dasharray: 4 6; }
.area-map .m-river-bank { fill: none; stroke: #d3dee4; stroke-width: 22; stroke-linecap: round; }
.area-map .m-river { fill: none; stroke: #9fb4c2; stroke-width: 9; stroke-linecap: round; }
.area-map .m-river-label { font: 600 15px var(--sans); letter-spacing: .22em; fill: #6f8796; }
.area-map .m-dot { fill: var(--ink); transition: fill .2s; }
.area-map .m-home-dot { fill: var(--brick); }
.area-map .m-home-halo { fill: var(--brick); fill-opacity: .16; }
.area-map .m-label { font: 700 30px var(--serif); fill: var(--ink); transition: fill .2s; }
.area-map .m-label-home { fill: var(--brick); font-size: 34px; }
.area-map .m-sub { font: 600 14px var(--sans); letter-spacing: .18em; fill: var(--muted); }
.area-map .m-compass-ring { fill: var(--paper); stroke: var(--ink); stroke-opacity: .25; }
.area-map .m-compass-needle { fill: var(--brick); }
.area-map a:hover .m-dot, .area-map a:focus .m-dot, .area-map a.is-current .m-dot { fill: var(--brick); }
.area-map a:hover .m-label, .area-map a:focus .m-label, .area-map a.is-current .m-label { fill: var(--brick); text-decoration: underline; }
.area-map a:focus { outline: none; }
.area-map a:focus-visible .m-label { outline: 2px solid var(--brick); }
.town-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.town-links li { border-bottom: 1px solid var(--line); }
.town-links a, .town-links .town-static { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem 0; text-decoration: none; }
.town-links .name { font: 500 clamp(1.3rem, 2vw, 1.5rem)/1.2 var(--serif); }
.town-links small { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.town-links a::after { content: "\2192"; color: var(--brick); margin-left: auto; padding-left: .5rem; }
.town-links a:hover .name { color: var(--brick); }
.town-links .home-base .name { color: var(--brick); }
@media (min-width: 900px) { .area-layout { grid-template-columns: 1.55fr 1fr; gap: 3rem; } }

/* ---------- Town pages ---------- */
.town-hero .btn-row { margin-top: 1.75rem; }
.town-hero .crumbs { font-size: .9rem; color: var(--muted); margin: 0 0 1rem; }
.town-hero .crumbs a { color: var(--muted); }
.town-body { display: grid; gap: 2.5rem; }
.town-body h2 { margin-bottom: 1rem; }
.town-services { list-style: none; margin: 0 0 1.5rem; padding: 0; border-top: 1px solid var(--line); }
.town-services li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.town-services strong { display: block; font: 700 1.2rem var(--serif); }
.town-services span { color: var(--ink-2); }
.town-also { color: var(--ink-2); }
.note-card { background: var(--paper-2); border-left: 3px solid var(--brick); padding: 1.5rem 1.6rem; }
.note-card h3 { margin-bottom: .5rem; }
.note-card p { color: var(--ink-2); margin: 0 0 .8rem; }
.note-card p:last-child { margin: 0; }
.note-card + .note-card { margin-top: 1.25rem; }
@media (min-width: 900px) { .town-body { grid-template-columns: 1.3fr 1fr; gap: 4rem; } }
.mini-gallery { display: grid; gap: 1.25rem; }
.mini-gallery figure { margin: 0; }
.mini-gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.mini-gallery figcaption { font-size: .95rem; color: var(--ink-2); padding-top: .6rem; }
@media (min-width: 760px) { .mini-gallery { grid-template-columns: repeat(3, 1fr); } }
.town-cards { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.town-cards a { display: block; background: var(--paper); padding: 1.4rem 1.5rem; text-decoration: none; height: 100%; }
.town-cards a:hover { background: #fff; }
.town-cards strong { display: block; font: 700 1.35rem var(--serif); margin-bottom: .3rem; }
.town-cards strong::after { content: " \2192"; color: var(--brick); }
.town-cards span { color: var(--ink-2); font-size: 1rem; }
@media (min-width: 640px) { .town-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .town-cards { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Stepped estimate form ---------- */
.steps-progress { display: none; }
.is-stepped .steps-progress { display: block; margin: 0 0 1.75rem; }
.steps-progress ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; counter-reset: step; }
.steps-progress li { counter-increment: step; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: .6rem; border-top: 3px solid var(--line); }
.steps-progress li::before { content: counter(step) ". "; }
.steps-progress li.is-done { border-color: var(--ink); color: var(--ink); }
.steps-progress li.is-current { border-color: var(--brick); color: var(--brick); }
.step { border: 0; padding: 0; margin: 0 0 2rem; min-width: 0; }
.is-stepped .step { margin: 0; }
.step-title { font: 700 clamp(1.4rem, 2.4vw, 1.75rem)/1.2 var(--serif); padding: 0; margin: 0 0 .4rem; color: var(--ink); }
.step-title:focus { outline: none; }
.step-help { color: var(--ink-2); margin: 0 0 1.25rem; font-size: 1rem; }
.step-error { color: var(--brick-dark); font-weight: 600; font-size: .95rem; margin: .75rem 0 0; }
.step-error:empty { display: none; }
.step-nav { display: none; }
.is-stepped .step-nav { display: flex; gap: .75rem; justify-content: space-between; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.is-stepped .step-nav .btn-next, .is-stepped .step-nav .btn-submit { margin-left: auto; }
.is-stepped .final-submit { display: none; }
.btn-back { background: transparent; border: 1px solid var(--line); color: var(--ink-2); }
.btn-back:hover { border-color: var(--ink); color: var(--ink); }

/* Photo tiles (step 1) */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { position: relative; display: block; margin: 0; cursor: pointer; background: var(--paper); border: 1px solid #cfc9c0; overflow: hidden; }
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile img, .tile .tile-blank { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .4s; }
.tile .tile-blank { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--paper-2) 0 10px, var(--paper) 10px 20px); font: 500 2.25rem var(--serif); color: var(--muted); }
.tile .tile-label { display: block; padding: .7rem .8rem; font-weight: 600; font-size: .98rem; line-height: 1.25; }
.tile::after { content: ""; position: absolute; top: .6rem; right: .6rem; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.92); border: 2px solid rgba(35,38,42,.35); }
.tile:hover img { transform: scale(1.03); }
.tile:has(input:checked) { border-color: var(--brick); box-shadow: 0 0 0 2px var(--brick); }
.tile:has(input:checked)::after { background: var(--brick); border-color: var(--brick); }
.tile:has(input:checked) .tile-label { color: var(--brick-dark); }
.tile:has(input:checked)::before { content: ""; position: absolute; top: calc(.6rem + 7px); right: calc(.6rem + 9px); width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); z-index: 1; }
.tile:has(input:focus-visible) { outline: 2px solid var(--brick); outline-offset: 3px; }

/* Choice pills (step 2) */
.pill-group { border: 0; padding: 0; margin: 0 0 1.4rem; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { position: relative; margin: 0; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: .55rem 1rem; border: 1px solid #c7c2ba; border-radius: 999px; font-weight: 500; font-size: .98rem; cursor: pointer; background: var(--paper); transition: background-color .15s, border-color .15s; }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pill input:focus-visible + span { outline: 2px solid var(--brick); outline-offset: 2px; }
.pill span:hover { border-color: var(--ink); }



/* Header with four nav items: keep labels on one line, tighten mid-width spacing */
@media (min-width: 900px) {
  .site-nav ul a, .nav-cta .header-phone, .nav-cta .btn { white-space: nowrap; }
}
@media (min-width: 900px) and (max-width: 1179px) {
  .site-nav, .site-nav.is-open { gap: 1.25rem; }
  .site-nav ul { gap: 1.25rem; }
  .nav-cta .header-phone { display: none; }
  .brand img { width: 190px; }
}

/* Map labels stay readable when the map is phone-sized */
@media (max-width: 600px) {
  .area-map .m-label { font-size: 40px; }
  .area-map .m-label-home { font-size: 44px; }
  .area-map .m-sub { font-size: 18px; }
  .area-map .m-river-label { display: none; }
}

/* ---------- Hero: company name as the headline ---------- */
.hero h1.hero-name { font-size: clamp(2.35rem, 8.6vw, 3.6rem); line-height: 1.02; letter-spacing: -.012em; margin-bottom: .55rem; }
.hero-tagline { font-family: var(--serif); font-weight: 500; font-size: clamp(1.25rem, 2.1vw, 1.65rem); line-height: 1.25; color: var(--brick); margin: 0 0 1.15rem; }
@media (min-width: 960px) { .hero h1.hero-name { font-size: clamp(3.4rem, 4.9vw, 4.25rem); } }

.hero-eyebrow { flex-wrap: wrap; row-gap: .35rem; column-gap: .55rem; }
.hero-eyebrow::before { margin-right: .35rem; }
@media (max-width: 560px) {
  .hero-eyebrow .sep { display: none; }
  .hero-eyebrow .loc { flex-basis: 100%; padding-left: calc(2rem + .9rem); }
}

/* ---------- Reviews ---------- */
.reviews { background: var(--paper-2); }
.review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.review-card { background: var(--paper); border-top: 3px solid var(--brick); padding: 1.6rem 1.6rem 1.5rem; display: flex; flex-direction: column; }
.review-card .stars { margin: 0 0 .8rem; color: var(--brick); letter-spacing: .12em; font-size: 1.05rem; }
.review-card blockquote { margin: 0 0 1.1rem; flex: 1; }
.review-card blockquote p { margin: 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; color: var(--ink); }
.review-card blockquote p::before { content: "\201C"; }
.review-card blockquote p::after { content: "\201D"; }
.review-by { margin: 0; font-size: .95rem; color: var(--muted); }
.review-by strong { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) { .review-list { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Four featured services / four credentials ---------- */
@media (min-width: 640px) { .service-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) {
  .service-cards { grid-template-columns: repeat(4, 1fr); }
  .service-card .body { padding: 1.25rem 1.25rem 1.4rem; }
  .service-list { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 640px) and (max-width: 1079px) {
  .cred-list { grid-template-columns: repeat(2, 1fr); column-gap: 2.5rem; border-top: 0; }
  .cred-list li { border-bottom: 0; border-top: 1px solid rgba(255,255,255,.3); }
}
@media (min-width: 1080px) { .cred-list { grid-template-columns: repeat(4, 1fr); column-gap: 2.25rem; } }

/* Hero trust strip: four credentials as a tidy 2 x 2 block */
.trust-strip { display: grid; grid-template-columns: repeat(2, max-content); gap: .55rem 2rem; }
@media (max-width: 380px) { .trust-strip { column-gap: 1.1rem; font-size: .95rem; } }

/* reCAPTCHA (added by Netlify on the live site) */
.captcha { margin: 1.25rem 0 0; min-height: 0; }
.captcha:empty { margin: 0; }
@media (max-width: 360px) { .captcha > div { transform: scale(.9); transform-origin: 0 0; } }
