/* Remodeling Experience: design system. Tokens live in :root; components below use them only. */
:root {
  --ink: #1c2230; /* soft charcoal: text and dark buttons */
  --ink-2: #efeadf;
  --ink-3: #ddd6c7;
  --paper: #fbfaf6;
  --stone: #f3efe6;
  --warm: #ebe5d8;
  --line: #d6dbe3;
  --graphite: #545d6b;
  --brass: #b08d57;
  --brass-light: #d3b57f;
  --brass-deep: #7a5b28; /* brass for small text on paper: 6:1 */
  --on-ink: #2d2a25;
  --on-ink-dim: #5f5a50;

  --font-display: "Gabarito", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
  --step-3: clamp(2.1rem, 1.5rem + 2.8vw, 3.8rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.6vw, 5.4rem);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: clamp(4.5rem, 3rem + 7vw, 9rem);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 76rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 4.5rem;

  /* Option A theme */
  --blue: #1e3452;
  --blue-2: #2a4670;
  --blue-dark: #162741;
  --blue-tint: #e9eff7;
  --on-blue: #cdd7e4;
  --brass-btn: #c9a468;
  --brass-soft: #e2c995;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --shadow-card: 0 18px 40px -24px rgb(30 52 82 / 0.45);
  --shadow-float: 0 30px 60px -25px rgb(16 28 46 / 0.55);
  --danger: #a32b1d; /* errors: text 6.4:1 on white, borders */
  --focus: var(--blue); /* keyboard focus ring on light surfaces (12:1) */
  --focus-on-dark: var(--brass-btn); /* focus ring on blue surfaces (5.4:1) */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
::selection { background: var(--brass); color: var(--ink); }

html { scrollbar-color: var(--brass) var(--stone); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.2rem); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 650; letter-spacing: 0; line-height: 1.25; }
p { margin: 0 0 var(--space-2); max-width: 66ch; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--gutter); top: -4rem; z-index: 200; background: var(--brass); color: var(--ink); padding: 0.75rem 1rem; font-weight: 700; }
.skip-link:focus { top: 0.75rem; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* Sections */
.section { padding-block: var(--space-6); }
.section--ink { background: var(--warm); color: var(--on-ink); }
.section--stone { background: var(--stone); }
.section--ink p { color: var(--on-ink-dim); }
.section-head { display: grid; gap: var(--space-2); margin-bottom: var(--space-5); max-width: 46rem; }
.section-head p { font-size: var(--step-1); line-height: 1.5; color: var(--graphite); }
.section--ink .section-head p { color: var(--on-ink-dim); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.1rem; padding: 0.8rem 1.6rem;
  font: 650 var(--step-0)/1 var(--font-body); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--ghost { border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: rgb(176 141 87 / 0.14); border-color: var(--brass); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn svg { width: 1.1em; height: 1.1em; }
.arrow-link { display: inline-flex; gap: 0.5rem; align-items: center; font-weight: 650; text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 0.15rem; }
.arrow-link:hover { color: var(--brass-deep); }
.section--ink .arrow-link:hover { color: var(--brass-light); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgb(252 251 248 / 0.94); backdrop-filter: blur(10px); color: var(--ink); border-bottom: 1px solid rgb(176 141 87 / 0.45); }
.header-in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: inherit; }
.brand svg { height: 2.6rem; width: auto; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 650; letter-spacing: -0.01em; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav-links a:not(.btn) { text-decoration: none; font-size: var(--step-0); font-weight: 600; padding-block: 0.4rem; border-bottom: 1px solid transparent; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--brass); }
.nav-links .btn { min-height: 2.6rem; padding: 0.55rem 1.1rem; font-size: var(--step--1); }
.nav-toggle { display: none; background: none; border: 1px solid rgb(176 141 87 / 0.6); color: inherit; width: 2.9rem; height: 2.9rem; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 1.2rem; height: 2px; background: currentColor; margin: auto; position: relative; transition: transform 0.3s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
@media (max-width: 62rem) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links { position: absolute; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); padding: var(--space-2) var(--gutter) var(--space-3); border-bottom: 1px solid var(--brass); display: none; }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.btn) { padding-block: 0.95rem; border-bottom: 1px solid var(--ink-3); font-size: var(--step-0); }
  .nav-links .btn { margin-top: var(--space-2); min-height: 3.1rem; }
}

/* Hero: the door opens once, onto a real job */
.hero { background: var(--stone); color: var(--on-ink); overflow: hidden; }

.hero h1 { font-size: clamp(2.3rem, 1.4rem + 3.3vw, 4.1rem); line-height: 1.06; }

.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }

/* Strip */

/* Services: ruled list, not cards */

/* Split blocks (services page) */
.split { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 56rem) { .split { grid-template-columns: 1fr 1fr; gap: var(--space-6); } .split--flip .split-media { order: 2; } }
.split-media { position: relative; }

.split h2 { font-size: var(--step-3); margin-bottom: var(--space-3); }
.check-list { display: grid; gap: 0.7rem; margin: var(--space-3) 0 var(--space-4); }
.check-list li { display: flex; gap: 0.75rem; align-items: baseline; }
.check-list svg { width: 1rem; height: 1rem; flex: none; color: var(--brass-deep); transform: translateY(0.15rem); }

/* Process */

/* Gallery */
.gallery { columns: 2; column-gap: 0.75rem; }
@media (min-width: 52rem) { .gallery { columns: 4; } }
.g-item { margin: 0 0 0.75rem; break-inside: avoid; }
.g-item[hidden] { display: none; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: var(--ink-2); cursor: zoom-in; overflow: hidden; position: relative; }
.g-item figcaption { font-size: var(--step--1); color: var(--graphite); padding: 0.45rem 0.1rem 0; }
.gallery img { width: 100%; transition: transform 0.7s var(--ease), opacity 0.3s; }
.gallery button:hover img { transform: scale(1.04); opacity: 0.92; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgb(45 42 37 / 0.94); display: none; align-items: center; justify-content: center; padding: 3rem 1rem; }
.lightbox.is-open { display: flex; }
.lightbox-stage img { max-height: 84vh; max-width: min(92vw, 70rem); object-fit: contain; border: 1px solid var(--brass); }
.lightbox button { position: absolute; background: var(--paper); border: 1px solid var(--brass); color: var(--brass-deep); width: 3rem; height: 3rem; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: var(--brass); color: var(--ink); }
.lightbox-close { top: 1rem; right: 1rem; } .lightbox-prev { left: 1rem; top: 50%; } .lightbox-next { right: 1rem; top: 50%; }
.lightbox-counter { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: #e8e2d4; font-size: var(--step--1); font-variant-numeric: tabular-nums; }

/* Mascot band */

/* Areas */
.area-list { columns: 2; column-gap: var(--space-4); }
@media (min-width: 40rem) { .area-list { columns: 3; } }
@media (min-width: 64rem) { .area-list { columns: 4; } }
.area-list li { padding: 0.45rem 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.section--ink .area-list li { border-color: var(--ink-3); }

/* FAQ */
.faq { border-top: 1px solid var(--ink); max-width: 50rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.3rem 3rem 1.3rem 0; font-weight: 650; font-size: var(--step-1); line-height: 1.3; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.4rem; top: 1.1rem; font-size: 1.6rem; color: var(--brass-deep); transition: transform 0.3s var(--ease); font-weight: 400; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--graphite); padding-bottom: 1.3rem; margin: 0; }

/* CTA band */
.cta-band { text-align: left; display: grid; gap: var(--space-3); }
.cta-band h2 { max-width: 20ch; }
.cta-band .hero-cta { margin-top: var(--space-2); }

/* Form */

.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 650; font-size: var(--step--1); letter-spacing: 0.02em; }
.field input, .field select, .field textarea { font: inherit; padding: 0.85rem 1rem; min-height: 3.1rem; background: #fff; color: var(--ink); border: 1px solid #8a867b; border-radius: 0; width: 100%; }
.field textarea { min-height: 7rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--brass-deep); outline-offset: 1px; border-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: #6e6b62; }
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: var(--step--1); min-height: 1em; }
.form-status { min-height: 1.5em; font-weight: 600; }
.form-status.success { color: #1d5d34; } .form-status.error { color: var(--danger); } .form-status.loading { color: var(--graphite); }

/* Page title (inner pages) */
.page-title { background: var(--stone); color: var(--on-ink); padding-block: clamp(3rem, 7vw, 6rem); border-bottom: 1px solid var(--brass); }
.page-title p { font-size: var(--step-1); color: var(--on-ink-dim); margin-top: var(--space-3); }
.page-title h1 { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.2rem); }

/* Footer */
.site-footer { background: var(--warm); color: var(--on-ink-dim); padding-block: var(--space-5) var(--space-3); border-top: 1px solid var(--brass); }
.footer-grid { display: grid; gap: var(--space-4); }
@media (min-width: 52rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h2, .site-footer h3 { font-family: var(--font-body); font-family: var(--font-display); font-size: var(--step-0); color: var(--ink); font-weight: 650; line-height: 1.08; margin-bottom: var(--space-2); }
.site-footer a { text-decoration: none; } .site-footer a:hover { color: var(--on-ink); text-decoration: underline; }
.site-footer li { padding: 0.25rem 0; }
.footer-brand .brand { color: var(--on-ink); margin-bottom: var(--space-2); }
.footer-base { margin-top: var(--space-5); padding-top: var(--space-2); border-top: 1px solid var(--ink-3); font-size: var(--step--1); display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; }

/* Mobile sticky action bar */
.mobile-bar { display: none; }
@media (max-width: 48rem) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--paper); border-top: 1px solid var(--brass); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { display: grid; place-items: center; gap: 0.15rem; padding: 0.65rem 0.25rem; min-height: 3.4rem; color: var(--ink); text-decoration: none; font-size: 0.8rem; font-weight: 650; }
  .mobile-bar a:last-child { background: var(--brass); color: var(--ink); }
  .mobile-bar svg { width: 1.2rem; height: 1.2rem; }
  body { padding-bottom: 3.6rem; }
}

/* Reveal */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(1.2rem); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Service detail pages */
.detail { display: grid; gap: var(--space-5); }
@media (min-width: 60rem) { .detail { grid-template-columns: 1.2fr 0.8fr; gap: var(--space-6); align-items: start; } .detail aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.detail h2 { font-size: var(--step-2); margin: var(--space-4) 0 var(--space-2); }
.detail h2:first-child { margin-top: 0; }
.signs { display: grid; gap: 0; margin-bottom: var(--space-3); border-top: 1px solid var(--line); }
.signs li { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.aside-card { background: var(--stone); border: 1px solid var(--brass); padding: var(--space-3); display: grid; gap: var(--space-2); }
.aside-card h3 { font-family: var(--font-display); font-size: var(--step-1); }
.aside-card .btn { width: 100%; }
.related { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-top: var(--space-3); }
.big-steps { display: grid; gap: var(--space-5); counter-reset: bs; }
.big-step { display: grid; gap: var(--space-3); counter-increment: bs; border-top: 1px solid var(--ink); padding-top: var(--space-3); }
@media (min-width: 52rem) { .big-step { grid-template-columns: 6rem 1fr 1fr; gap: var(--space-4); align-items: start; } }
.big-step::before { content: counter(bs); font-family: var(--font-display); font-weight: 600; font-size: var(--step-4); line-height: 1; color: var(--brass-deep); }
.big-step h2 { font-size: var(--step-2); }
.big-step p { color: var(--graphite); }

/* Service pages: illustration, title grid, lists */
.title-grid { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 56rem) { .title-grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-6); } }
.page-title--svc .hero-cta { margin-top: var(--space-3); }
.illus { background: var(--paper); border: 1px solid var(--brass); padding: clamp(1rem, 3vw, 2rem); color: var(--ink); }
.illus-svg { width: 100%; height: auto; }

.lead-p { font-size: var(--step-1); line-height: 1.55; color: var(--graphite); }
.signs li { display: flex; gap: 0.8rem; align-items: baseline; }
.signs svg { width: 1rem; height: 1rem; flex: none; color: var(--brass-deep); transform: translateY(0.15rem); }
.do-steps { counter-reset: ds; display: grid; gap: 0; border-top: 1px solid var(--line); margin: 0 0 var(--space-3); padding: 0; list-style: none; }
.do-steps li { counter-increment: ds; display: grid; grid-template-columns: 2.6rem 1fr; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.do-steps li::before { content: counter(ds); font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); color: var(--brass-deep); }
.mini-steps { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.7rem; }
.faq { max-width: none; }

/* ---- West Valley-style structure: top bar, hero with quote card, stats band, cards, map ---- */
.top-bar { background: var(--warm); color: var(--ink); font-size: var(--step--1); border-bottom: 1px solid var(--line); }
.top-bar-in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.4rem; flex-wrap: wrap; padding-block: 0.3rem; }
.top-bar-left { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.top-bar a { display: inline-flex; gap: 0.4rem; align-items: center; text-decoration: none; font-weight: 600; }
.top-bar svg { width: 0.9rem; height: 0.9rem; }
.top-bar a:hover { text-decoration: underline; }
.top-bar-tagline { color: var(--graphite); }
@media (max-width: 48rem) { .top-bar .top-bar-tagline, .top-bar .top-bar-email { display: none; } }
.nav-phone { display: inline-flex; gap: 0.45rem; align-items: center; font-weight: 700; text-decoration: none; font-size: var(--step--1); }
.nav-phone svg { width: 1rem; height: 1rem; color: var(--brass-deep); }
@media (max-width: 62rem) { .nav-phone { display: none; } }

.hero { position: relative; background: var(--stone); color: var(--ink); overflow: hidden; isolation: isolate; }
.hero-layout { display: grid; gap: var(--space-4); padding-block: clamp(2.5rem, 6vw, 5rem) 0; grid-template-areas: "content" "quote"; }
@media (min-width: 62rem) { .hero-layout { grid-template-columns: 1.1fr 0.9fr; grid-template-areas: "content quote"; gap: var(--space-4) clamp(2rem, 5vw, 5rem); align-items: start; } }
.hero-content { grid-area: content; }
.hero-quote-card { grid-area: quote; }

.hero-sub { font-size: var(--step-1); line-height: 1.5; color: var(--graphite); margin-top: var(--space-3); max-width: 34rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin-top: var(--space-4); font-weight: 600; }
.hero-trust li { display: flex; gap: 0.5rem; align-items: center; }
.hero-trust svg { width: 1.2rem; height: 1.2rem; color: var(--brass-deep); }

.hero-layout { padding-bottom: clamp(2rem, 5vw, 4rem); }
.quick-quote-card { background: var(--paper); border: 1px solid var(--brass); padding: clamp(1.25rem, 3vw, 2rem); }
.quick-quote-head h2 { font-size: var(--step-2); margin-bottom: 0.4rem; }
.quick-quote-head p { color: var(--graphite); margin-bottom: var(--space-2); }
.qc-grid { display: grid; gap: 1rem; }
@media (min-width: 30rem) { .qc-grid { grid-template-columns: 1fr 1fr; } .qc-grid .full { grid-column: 1 / -1; } }
.qc-grid .field textarea { min-height: 5rem; }
.req { color: var(--brass-deep); }

.grid-4 { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }

.feature-icon { width: 3rem; height: 3rem; display: grid; place-items: center; background: var(--stone); color: var(--brass-deep); border: 1px solid var(--line); }
.feature-icon svg { width: 1.5rem; height: 1.5rem; }

.feature-item { display: grid; gap: 0.6rem; align-content: start; }
.feature-item p { margin: 0; color: var(--graphite); }
.feature-icon { background: var(--paper); }

.area-layout { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 60rem) { .area-layout { grid-template-columns: 1fr 1fr; gap: var(--space-5); } }
.area-list--short { columns: 1; margin-top: var(--space-3); }
@media (min-width: 40rem) { .area-list--short { columns: 2; } }
.area-list--short li { display: flex; gap: 0.5rem; align-items: center; }
.area-list--short svg { width: 1rem; height: 1rem; color: var(--brass-deep); flex: none; }
.map-frame { border: 1px solid var(--brass); padding: 0.5rem; background: var(--paper); aspect-ratio: 4/3; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.cta-banner { background: var(--warm); border: 1px solid var(--brass); padding: clamp(2rem, 5vw, 4rem); display: grid; gap: var(--space-2); }
.cta-banner h2 { max-width: 22ch; }

/* Repair/replace table and seasonal strip */
.rr-wrap { overflow-x: auto; margin: var(--space-2) 0 var(--space-3); border: 1px solid var(--line); }
.rr-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 34rem; }
.rr-table th, .rr-table td { text-align: left; padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.rr-table thead th { background: var(--stone); font-size: var(--step--1); font-weight: 700; }
.rr-table tbody th { font-weight: 650; color: var(--ink); }
.rr-table tbody td:last-child { font-weight: 650; color: var(--brass-deep); }
.rr-table tr:last-child > * { border-bottom: 0; }
.season { display: grid; gap: var(--space-3); margin-bottom: var(--space-3); }
@media (min-width: 40rem) { .season { grid-template-columns: repeat(3, 1fr); } }
.season > div { border-top: 1px solid var(--brass); padding-top: var(--space-2); }
.season h3 { font-family: var(--font-display); font-size: var(--step-1); margin-bottom: 0.4rem; }
.season p { color: var(--graphite); margin: 0; font-size: var(--step--1); }

/* Brand lockup tagline + cross-trade note */
.brand-text { display: grid; line-height: 1; gap: 0.25rem; }
.brand-tag { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; color: var(--brass-deep); letter-spacing: 0.01em; }
.cross { border: 1px solid var(--line); background: #fff; padding: var(--space-3); display: grid; gap: 0.6rem; margin-top: var(--space-3); }
.cross h3 { font-family: var(--font-display); font-size: var(--step-1); }
.cross p { margin: 0; color: var(--graphite); }

/* Gallery filters */
.g-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--space-3); }
.g-filters button { font: 600 var(--step--1)/1 var(--font-body); padding: 0.7rem 1rem; min-height: 2.75rem; background: var(--paper); color: var(--ink); border: 1px solid var(--line); cursor: pointer; }
.g-filters button:hover { border-color: var(--brass); }
.g-filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Thank-you page */
.thanks-in { display: grid; gap: var(--space-4); align-items: center; }
.thanks-in { max-width: 44rem; }
.thanks h1 { margin-bottom: var(--space-2); }

/* Signature: the brass door-panel frame. An inset line inside a brass border, used on every framed surface. */
.frame, .map-frame, .illus, .quick-quote-card, .aside-card, .cta-banner { outline: 1px solid rgb(176 141 87 / 0.45); outline-offset: -7px; }
.gallery button { outline: 1px solid rgb(255 255 255 / 0.55); outline-offset: -7px; }

/* "What we check" job sheet: a checklist card whose check marks draw in when it scrolls into view. */
.job-sheet { background: #fff; border: 1px solid var(--line); padding: var(--space-3); margin: var(--space-2) 0 var(--space-3); }
.job-sheet ul { display: grid; gap: 0.9rem; }
.job-sheet li { display: grid; grid-template-columns: 1.7rem 1fr; gap: 0.75rem; align-items: start; }
.job-check { width: 1.6rem; height: 1.6rem; padding: 0.2rem; border: 1.5px solid var(--brass); color: var(--brass-deep); }
.job-check path { stroke-dasharray: 24; stroke-dashoffset: 0; }
.js .job-sheet .job-check path { stroke-dashoffset: 24; transition: stroke-dashoffset 0.5s var(--ease) calc(0.25s + var(--i) * 0.14s); }
.js .job-sheet.is-visible .job-check path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .js .job-sheet .job-check path { stroke-dashoffset: 0; transition: none; } }

/* Polish: numerals, caret, underline offset, overflow, privacy page */

input, textarea, select { caret-color: var(--brass-deep); }
a { text-underline-offset: 3px; }
body { overflow-x: hidden; overflow-x: clip; }
.policy { max-width: 70ch; }
.policy h2 { font-size: var(--step-2); margin: var(--space-5) 0 var(--space-2); }
.policy h2:first-of-type { margin-top: 0; }
.policy p, .policy li { font-size: 1rem; line-height: 1.7; color: var(--ink); }
.policy ul { list-style: disc; padding-left: 1.25rem; margin: 0 0 var(--space-3); }
.policy li { margin-bottom: 0.5rem; }
.policy a { color: var(--brass-deep); text-decoration: underline; }
.footer-base a { color: inherit; text-decoration: underline; }

/* ---- Lead capture: services dropdown, header call button, forms everywhere ---- */
.nav-item.has-sub { position: relative; display: flex; align-items: center; gap: 0.1rem; }
.sub-toggle { background: none; border: 0; color: inherit; width: 2rem; height: 2.75rem; display: grid; place-items: center; cursor: pointer; padding: 0; }
.sub-toggle svg { width: 1rem; height: 1rem; transition: transform 0.25s var(--ease); }
.has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }
.sub-title { font-size: var(--step--1); font-weight: 700; color: var(--brass-deep); margin: 0 0 0.4rem; }
.sub-panel { display: none; }
.sub-panel a { display: block; text-decoration: none; padding: 0.45rem 0; }
.sub-panel a:hover { color: var(--brass-deep); }
.sub-all { font-weight: 650; border-top: 1px solid var(--line); margin-top: 0.4rem; }
@media (min-width: 62rem) {
  .sub-panel { position: absolute; top: 100%; left: -1.25rem; z-index: 120; grid-template-columns: repeat(3, minmax(11rem, 1fr)); gap: 0.5rem 2rem; padding: 1.25rem 1.5rem; background: var(--paper); border: 1px solid var(--brass); box-shadow: 0 16px 32px -20px rgb(45 42 37 / 0.35); }
  .has-sub.is-open .sub-panel { display: grid; }
  @media (hover: hover) { .has-sub:hover .sub-panel { display: grid; } }
  .sub-panel .sub-all { grid-column: 1 / -1; padding-top: 0.8rem; }
  .nav-links .sub-panel a:not(.btn) { border-bottom: 0; padding-block: 0.4rem; }
}
.header-call { width: 2.9rem; height: 2.9rem; display: none; place-items: center; border: 1px solid var(--brass); color: var(--ink); margin-left: auto; margin-right: 0.5rem; }
.header-call svg { width: 1.25rem; height: 1.25rem; }
@media (max-width: 62rem) {
  .header-call { display: grid; }
  .nav-item.has-sub { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-item.has-sub .nav-top { flex: 1; border-bottom: 0 !important; }
  .sub-toggle { width: 2.9rem; height: 2.9rem; border: 1px solid var(--line); }
  .has-sub.is-open .sub-panel { display: grid; width: 100%; gap: 0.8rem; padding: 0.4rem 0 1rem 0.8rem; }
  .nav-links .sub-panel a:not(.btn) { border-bottom: 0; padding-block: 0.6rem; font-size: var(--step-0); }
}

.reply-promise { color: var(--brass-deep) !important; font-weight: 650; margin-bottom: var(--space-2); }
.opt { font-weight: 400; color: var(--graphite); }
.btn--block { width: 100%; }
.form-alt { margin: 0.6rem 0 0; color: var(--graphite); font-size: var(--step--1); }
.form-alt a { color: var(--ink); font-weight: 700; }

/* Service pages: estimate section */
.estimate-section { display: grid; gap: var(--space-4); align-items: start; }
@media (min-width: 60rem) { .estimate-section { grid-template-columns: 0.9fr 1.1fr; gap: var(--space-6); } }
.estimate-copy h2 { font-size: var(--step-3); margin-bottom: var(--space-2); }
.estimate-copy p { color: var(--graphite); }
.estimate-hours a { color: var(--ink); font-weight: 700; }

/* Contact page */
.contact-layout { display: grid; gap: var(--space-4); align-items: start; }
@media (min-width: 60rem) { .contact-layout { grid-template-columns: 1.3fr 0.7fr; gap: var(--space-5); } .contact-side { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.contact-side { display: grid; gap: 0; border: 1px solid var(--line); background: #fff; }
.side-item { padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.side-item:last-child { border-bottom: 0; }
.side-item p { margin: 0; color: var(--graphite); }
.side-label { font-size: var(--step--1); font-weight: 700; color: var(--brass-deep) !important; margin-bottom: 0.2rem !important; }
.side-item--lead { background: var(--stone); }
.side-phone { display: inline-flex; gap: 0.5rem; align-items: center; font-family: var(--font-display); font-weight: 600; font-size: var(--step-2); color: var(--ink); text-decoration: none; }
.side-phone svg { width: 1.3rem; height: 1.3rem; color: var(--brass-deep); }

/* Services hub */
.svc-jump { display: grid; gap: var(--space-3); }
@media (min-width: 48rem) { .svc-jump { grid-template-columns: repeat(3, 1fr); } }
.jump-group { background: #fff; border: 1px solid var(--line); padding: var(--space-3); }
.jump-group a { display: block; padding: 0.55rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.jump-group a:last-child { border-bottom: 0; }
.jump-group a:hover { color: var(--brass-deep); }
.notsure { display: grid; gap: var(--space-3); align-items: center; border: 1px solid var(--brass); padding: clamp(1.5rem, 4vw, 3rem); background: var(--stone); }
@media (min-width: 60rem) { .notsure { grid-template-columns: 1.4fr 1fr; } }
.notsure h2 { font-size: var(--step-2); margin-bottom: 0.6rem; }
.notsure p { color: var(--graphite); margin: 0; }

/* ===== Visual pass: buttons, ruler motif, service chips, the house ===== */
/* Buttons: outline buttons fill on hover */
.btn { font-weight: 700; letter-spacing: 0.005em; }
.btn--ghost { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--lg { min-height: 3.5rem; padding: 0.95rem 1.4rem; font-size: 1.0625rem; }
.hero-content .hero-cta { flex-wrap: wrap; }
.hero-content .hero-cta .btn { flex: 1 1 14rem; }
@media (max-width: 30rem) { .btn--lg { width: 100%; } }

/* Ruler: the tick marks from the logo's framing square, as a measuring edge */
.hero { position: relative; }
.ruler { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; pointer-events: none;
  background-image: repeating-linear-gradient(90deg, var(--brass) 0 1.5px, transparent 1.5px 60px),
                    repeating-linear-gradient(90deg, var(--brass) 0 1px, transparent 1px 12px);
  background-size: 100% 14px, 100% 7px; background-repeat: repeat-x; background-position: left bottom, left bottom; opacity: 0.75; }
.site-footer { position: relative; }

/* "What needs fixing?" inside the form: four tappable choices */
.chip-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.chip-field legend { font-weight: 650; font-size: var(--step--1); letter-spacing: 0.02em; margin-bottom: 0.5rem; padding: 0; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
@media (max-width: 22rem) { .chips { gap: 0.35rem; } }
.chip { display: grid; } .chip-box { height: 100%; text-align: center; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-box { display: grid; justify-items: center; align-content: center; gap: 0.35rem; min-height: 4.4rem; padding: 0.6rem 0.3rem; text-align: center;
  background: #fff; border: 1px solid #8a867b; font-weight: 650; font-size: var(--step--1); line-height: 1.2; transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s; }
.chip-box svg { width: 1.45rem; height: 1.45rem; color: var(--brass-deep); }
.chip:hover .chip-box { border-color: var(--ink); }
.chip input:checked + .chip-box { background: var(--stone); border-color: var(--brass-deep); box-shadow: inset 0 0 0 1.5px var(--brass-deep); }
.chip input:focus-visible + .chip-box { outline: 2px solid var(--focus); outline-offset: 2px; }

/* House section */
.house-section .section-head { margin-bottom: var(--space-4); }
.house-legend { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
@media (min-width: 48rem) { .house-legend { grid-template-columns: repeat(3, 1fr); } }
.legend-group { border-top: 2px solid var(--ink); padding-top: var(--space-2); display: grid; gap: 0.2rem; align-content: start; }
.legend-group h3 { display: flex; gap: 0.6rem; align-items: center; font-family: var(--font-display); font-size: var(--step-1); margin-bottom: 0.4rem; }
.legend-group h3 svg { width: 1.5rem; height: 1.5rem; color: var(--brass-deep); }
.legend-group a { text-decoration: none; font-weight: 600; padding: 0.5rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.legend-group a::after { content: ""; width: 0.5rem; height: 0.5rem; border-top: 2px solid var(--brass-deep); border-right: 2px solid var(--brass-deep); transform: rotate(45deg); align-self: center; margin-right: 0.3rem; }
.legend-group a:hover { color: var(--brass-deep); }

/* Header fit: menu items never wrap; between tablet and wide desktop the phone shows as an icon only */
.nav-links a, .nav-links .nav-top { white-space: nowrap; }
@media (min-width: 62rem) and (max-width: 75rem) {
  .nav-links { gap: 1.1rem; }
  .nav-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-phone svg { width: 1.25rem; height: 1.25rem; }
}

/* =====================================================================
   THEME: Option A "Neighborhood crew" (owner-approved 2026-11-02)
   Deep blue + brass, Gabarito headings, pill buttons, soft rounded cards.
   This layer restyles every component above; markup is unchanged except home.
   ===================================================================== */

body { background: var(--paper); color: var(--ink); }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; }
h1, h2 { color: var(--blue); }
::selection { background: var(--brass-soft); color: var(--blue); }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; }
/* Blue surfaces get a brass ring; white cards placed on them go back to the blue ring */
.top-bar :focus-visible, .hero :focus-visible, .page-title :focus-visible, .why-band :focus-visible, .cta-banner :focus-visible, .site-footer :focus-visible { outline-color: var(--focus-on-dark); }
.hero-quote-card :focus-visible, .page-title .illus :focus-visible { outline-color: var(--focus); }
.ruler { display: none; }

/* Buttons: pills */
.btn { border-radius: 999px; font-weight: 700; min-height: 3.2rem; padding: 0.85rem 1.6rem; border-width: 2px; box-shadow: none; }
/* Primary (estimate) button: white everywhere. Light surfaces get a blue outline so it stays visible; blue surfaces don't need one. */
.btn--primary { background: #fff; color: var(--blue); border-color: var(--blue); box-shadow: 0 10px 20px -12px rgb(30 52 82 / 0.55); }
.btn--primary:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.hero-content .btn--primary, .page-title .btn--primary, .why-band .btn--primary, .cta-banner .btn--primary { border-color: #fff; }
.hero-content .btn--primary:hover, .page-title .btn--primary:hover, .why-band .btn--primary:hover, .cta-banner .btn--primary:hover { background: var(--blue-tint); color: var(--blue); border-color: var(--blue-tint); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { border: 2px solid currentColor; color: var(--blue); background: transparent; }
.aside-card .btn--ghost, .cta-band .btn--ghost, .notsure .btn--ghost, .thanks .btn--ghost { border-color: #7f8a9a; }
.btn--ghost:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-2px); }
.btn--lg { min-height: 3.5rem; font-size: 1.05rem; }
.arrow-link { border-bottom: 2px solid var(--brass-btn); color: var(--blue); }
.arrow-link:hover { color: var(--brass-deep); }

/* Top bar + header */
.top-bar { background: var(--blue); color: var(--on-blue); border-bottom: 0; }
.top-bar a { color: #fff; }
.top-bar-tagline { color: var(--on-blue); }
.site-header { background: rgb(251 250 246 / 0.94); border-bottom: 1px solid rgb(30 52 82 / 0.08); }
.brand-name { color: var(--blue); font-weight: 700; }
.nav-links a:not(.btn), .nav-links .nav-top { font-weight: 600; color: var(--ink); }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--brass-btn); color: var(--blue); }
.nav-links .btn { min-height: 2.75rem; padding: 0.55rem 1.2rem; }
.nav-phone svg { color: var(--brass-deep); }
.nav-toggle { border-radius: 12px; border-color: var(--line); color: var(--blue); }
.header-call { border-radius: 50%; border-color: var(--line); color: var(--blue); }
@media (min-width: 62rem) {
  .sub-panel { border: 0; border-radius: var(--r-md); box-shadow: var(--shadow-float); padding: 1.4rem 1.6rem; }
}
@media (max-width: 62rem) {
  .nav-links { background: var(--paper); border-bottom: 0; border-radius: 0 0 var(--r-md) var(--r-md); box-shadow: var(--shadow-card); }
  .sub-toggle { border-radius: 12px; }
}
.sub-title { color: var(--brass-deep); }
.sub-all { border-top-color: var(--line); }

/* Home hero: blue band, white text, floating form */
.hero { background: var(--blue); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -14rem; bottom: -22rem; width: 52rem; height: 52rem; border-radius: 50%; background: radial-gradient(circle, rgb(201 164 104 / 0.16), transparent 62%); pointer-events: none; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.3rem); line-height: 1.05; }
.hero-sub { color: var(--on-blue); }
.hero-layout { position: relative; padding-bottom: 8.5rem; }
.hero .btn--ghost { color: #fff; }
.hero .btn--ghost:hover { background: #fff; color: var(--blue); border-color: #fff; }
.hero-trust { gap: 0.6rem; }
.hero-trust li { background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.14); border-radius: 999px; padding: 0.45rem 0.9rem; font-size: 0.92rem; color: #fff; }
.hero-trust svg { color: var(--brass-soft); }
.quick-quote-card { background: #fff; border: 0; outline: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-float); color: var(--ink); }
.quick-quote-head h2 { color: var(--blue); }
.reply-promise { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--blue-tint); color: var(--blue) !important; border-radius: 999px; padding: 0.35rem 0.85rem; font-size: 0.88rem; }

/* Service tiles overlapping the hero (home) */
.tiles { position: relative; z-index: 2; margin-top: -5.5rem; }
.tiles ul { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .tiles ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .tiles ul { grid-template-columns: repeat(3, 1fr); } }
.tiles li { display: flex; }
.tile { flex: 1; display: grid; gap: 0.55rem; align-content: start; background: #fff; border-radius: 24px; padding: 1.5rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-card); transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgb(30 52 82 / 0.55); }
.tile .ic { width: 3rem; height: 3rem; border-radius: var(--r-sm); background: var(--blue-tint); display: grid; place-items: center; color: var(--blue); }
.tile .ic svg { width: 1.5rem; height: 1.5rem; }
.tile h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--blue); }
.tile p { color: var(--graphite); font-size: 0.95rem; margin: 0; }
.tile .more { display: inline-flex; gap: 0.4rem; align-items: center; font-weight: 700; color: var(--brass-deep); font-size: 0.92rem; }
.tile .more svg { width: 1rem; height: 1rem; }

/* Sections */
.section--stone { background: var(--stone); }
.section--ink { background: var(--blue-tint); color: var(--ink); }
.section--ink p { color: var(--graphite); }
.section-head p { color: var(--graphite); }

/* Why band (home) */
.why-band { background: var(--blue); color: #fff; border-radius: 36px; padding: clamp(2.5rem, 6vw, 4.5rem); display: grid; gap: 2.5rem; }
@media (min-width: 60rem) { .why-band { grid-template-columns: 1fr 1fr; align-items: center; } }
.why-band h2 { color: #fff; font-size: var(--step-3); }
.why-band > div > p { color: var(--on-blue); margin-top: 1rem; font-size: var(--step-1); }
.why { display: grid; gap: 1rem; }
@media (min-width: 36rem) { .why { grid-template-columns: 1fr 1fr; } }
.why li { background: rgb(255 255 255 / 0.07); border: 1px solid rgb(255 255 255 / 0.12); border-radius: var(--r-md); padding: 1.2rem; }
.why svg { width: 1.6rem; height: 1.6rem; color: var(--brass-soft); margin-bottom: 0.6rem; }
.why b { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.why span { color: var(--on-blue); font-size: 0.95rem; }

/* Cards and panels everywhere: soft and rounded */
.card, .feature-item, .aside-card, .cross, .job-sheet, .jump-group, .legend-group, .contact-side, .notsure, .season > div, .step, .big-step {
  border-radius: var(--r-md);
}
.feature-item { background: #fff; border: 1px solid var(--line); padding: 1.6rem; }
.feature-icon { border-radius: var(--r-sm); background: var(--blue-tint); border: 0; color: var(--blue); }
.feature-item h3 { color: var(--blue); }

.aside-card { background: #fff; border: 1px solid var(--line); outline: 0; box-shadow: var(--shadow-card); }
.cross { border-color: var(--line); }
.job-sheet { border-color: var(--line); }
.job-check { border-radius: 8px; border-color: var(--brass-btn); }
.jump-group { border-color: var(--line); box-shadow: var(--shadow-card); border: 0; }
.legend-group { background: #fff; border: 1px solid var(--line); border-top: 1px solid var(--line); padding: 1.4rem; box-shadow: var(--shadow-card); }
.legend-group h3 { color: var(--blue); }
.legend-group a:last-child { border-bottom: 0; }
.notsure { background: #fff; border: 0; box-shadow: var(--shadow-card); }
.contact-side { border: 0; box-shadow: var(--shadow-card); overflow: hidden; }
.side-item--lead { background: var(--blue); }
.side-item--lead .side-label { color: var(--brass-soft) !important; }
.side-item--lead .side-phone { color: #fff; }
.side-item--lead .side-phone svg { color: var(--brass-soft); }
.side-phone { font-family: var(--font-display); font-weight: 700; }
.season > div { background: #fff; border: 1px solid var(--line); border-top: 1px solid var(--line); padding: 1.2rem; }
.rr-wrap { border-radius: var(--r-md); }
.rr-table thead th { background: var(--blue-tint); color: var(--blue); }

/* Frames, illustrations, map: rounded, no inset lines */
.frame, .map-frame, .illus, .quick-quote-card, .aside-card, .cta-banner { outline: 0; }
.illus { border: 0; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-card); color: var(--blue); }
.map-frame { border: 0; border-radius: var(--r-lg); padding: 0; overflow: hidden; box-shadow: var(--shadow-card); }

/* Inner page title band */
.page-title { background: var(--blue); color: #fff; border-bottom: 0; }
.page-title h1 { color: #fff; }
.page-title p { color: var(--on-blue); }
.page-title .btn--ghost { color: #fff; }
.page-title .btn--ghost:hover { background: #fff; color: var(--blue); border-color: #fff; }

/* Forms */
.field input, .field select, .field textarea { border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #fff; }
.field input:hover, .field textarea:hover { border-color: var(--blue-2); }
.field input:focus-visible, .field textarea:focus-visible, .field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(30 52 82 / 0.12); }
.chip-box { border-radius: 16px; border: 1.5px solid var(--line); background: #fff; }
.chip-box svg { color: var(--blue-2); }
.chip:hover .chip-box { border-color: var(--blue-2); }
.chip input:checked + .chip-box { background: var(--blue-tint); border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.form-alt a { color: var(--blue); }
.req { color: var(--brass-deep); }

/* FAQ: rounded cards */
.faq { border-top: 0; display: grid; gap: 0.8rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 1.4rem; }
.faq summary { color: var(--blue); }
.faq summary::after { color: var(--brass-deep); }

/* Steps on the how-it-works page */
.big-step { background: #fff; border: 1px solid var(--line); border-top: 1px solid var(--line); padding: 1.8rem; }
.big-step::before { color: var(--brass-deep); }

/* Lists */
.signs { border-top: 0; }
.do-steps li::before { color: var(--brass-deep); }
.check-list svg { color: var(--brass-deep); }
.area-list--short { columns: auto; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.area-list--short li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.5rem 1rem; font-weight: 600; font-size: 0.95rem; }

/* Closing call to action: blue card */
.cta-banner { background: var(--blue); border: 0; border-radius: 36px; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: var(--on-blue); }
.cta-banner .btn--ghost { color: #fff; }
.cta-banner .btn--ghost:hover { background: #fff; color: var(--blue); border-color: #fff; }
.cta-band h2 { color: var(--blue); }

/* Footer: blue */
.site-footer { background: var(--blue); color: var(--on-blue); border-top: 0; }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: var(--brass-soft); }
.site-footer .brand svg path[fill="#2d2a25"] { fill: #fbfaf6; }
.footer-base { border-top-color: rgb(255 255 255 / 0.14); }

/* Mobile bar */
.mobile-bar { background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -18px rgb(30 52 82 / 0.5); }
.mobile-bar a { color: var(--blue); }
.mobile-bar a:last-child { background: #fff; color: var(--blue); border: 2px solid var(--blue); border-radius: 999px; margin: 0.45rem 0.6rem; min-height: 2.9rem; }

/* Small phones: keep the header brand compact */
@media (max-width: 30rem) {
  .header-in { gap: 0.75rem; }
  .header-call { margin-right: 0; }
  .site-header .brand { gap: 0.6rem; }
  .site-header .brand svg { width: 2.6rem; }
  .site-header .brand-name { font-size: 1.05rem; }
  .site-header .brand-tag { font-size: 0.72rem; white-space: nowrap; }
}
@media (max-width: 22rem) { .site-header .brand-tag { display: none; } }

/* Let the service-page text column shrink so the repair/replace table scrolls inside its box on phones */
.detail > * { min-width: 0; }

/* Modern web guidance pass: visible field borders (3:1), clear focus ring, keyboard-scrollable table, calmer hover under reduced motion */
.field input, .field select, .field textarea, .chip-box { border-color: #7d8899; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; box-shadow: none; }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.rr-wrap:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .btn:hover, .tile:hover { transform: none; } }

/* Classes that replaced inline style="" attributes (so the security policy can block inline styles) */
.i-0 { --i: 0; } .i-1 { --i: 1; } .i-2 { --i: 2; } .i-3 { --i: 3; } .i-4 { --i: 4; }
.hp-field { display: none; }
.u-mb-2 { margin-bottom: 2rem; } .u-m0 { margin-top: 0; margin-left: 0; margin-right: 0; }
.u-mt-15 { margin-top: 1.5rem; } .u-mt-2 { margin-top: 2rem; } .u-mt-25 { margin-top: 2.5rem; }
.u-mt-3 { margin-top: 3rem; } .u-mt-4 { margin-top: 4rem; } .u-pt-0 { padding-top: 0; }

/* Before / after job photos: two rounded cards side by side (photos are not aligned, so no slider) */
.jobs { display: grid; gap: var(--space-5) var(--space-4); }
@media (min-width: 60rem) { .jobs { grid-template-columns: 1fr 1fr; } }
.job h3 { font-size: var(--step-1); color: var(--blue); margin: 0 0 var(--space-2); }
.job-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(0.75rem, 2.5vw, 1.5rem); max-width: 54rem; }
.job-shot { margin: 0; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.job-shot img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.job-shot figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; padding: 0.85rem 1rem 1rem; font-size: var(--step--1); color: var(--graphite); }
.job-tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.2rem 0.65rem; border-radius: 999px; background: var(--stone); color: var(--ink); }
.job-tag--after { background: var(--blue); color: #fff; }
.jobs--single { max-width: 48rem; }
@media (min-width: 60rem) { .jobs--single { grid-template-columns: 1fr; } }
.job-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; }
/* Service pages with real job photos: title band is text only (the photos sit just below) */
@media (min-width: 56rem) { .title-grid--text { grid-template-columns: minmax(0, 46rem); } }
/* Real photo in a services block (in place of a drawing) */
.split-photo { display: block; width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-card); background: #fff; }
.split-figure { margin: 0; }
.split-figure figcaption { margin-top: 0.6rem; font-size: var(--step--1); color: var(--graphite); }
.page-title .split-figure figcaption { color: var(--on-blue); }

/* Home "Pick the part of your home": a photo across the top of each card (replaces the house drawing) */
.house-legend { margin-top: 0; }
.legend-group { overflow: hidden; }
.legend-media { position: relative; margin: -1.4rem -1.4rem 1rem; aspect-ratio: 4 / 3; background: var(--blue-tint); }
.legend-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.legend-badge { position: absolute; left: 0.75rem; bottom: 0.75rem; font-size: 0.78rem; font-weight: 700; padding: 0.2rem 0.65rem; border-radius: 999px; background: rgb(255 255 255 / 0.9); color: var(--ink); }
.legend-media img.legend-img-top { object-position: center 18%; }

/* Service areas: cities grouped by region */
.area-groups { display: grid; gap: var(--space-3); }
@media (min-width: 48rem) { .area-groups { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .area-groups { grid-template-columns: repeat(3, 1fr); } }
.area-group { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-card); padding: 1.4rem; }
.area-group h2 { font-size: var(--step-1); margin: 0; }
.area-group .area-list--short { margin-top: var(--space-2); }
.area-group .area-list--short li { background: var(--paper); }

/* Before/after drag slider: the before photo is clipped to the handle position (--pos, set by main.js) */
.compare { --pos: 50%; position: relative; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-card); background: #fff; aspect-ratio: 4 / 3; touch-action: pan-y; }
.compare-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgb(30 52 82 / 0.25); pointer-events: none; }
.compare-handle::after { content: "\2039\00a0\203A"; position: absolute; top: 50%; left: 50%; width: 2.75rem; height: 2.75rem; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: var(--shadow-card); display: grid; place-items: center; color: var(--blue); font-size: 1.35rem; font-weight: 700; line-height: 1; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-range:focus-visible + .compare-handle, .compare:has(.compare-range:focus-visible) .compare-handle::after { outline: 2.5px solid var(--focus); outline-offset: 3px; }
.compare-tag { position: absolute; bottom: 0.85rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.2rem 0.65rem; border-radius: 999px; pointer-events: none; }
.compare-tag--before { left: 0.85rem; background: rgb(255 255 255 / 0.92); color: var(--ink); }
.compare-tag--after { right: 0.85rem; background: var(--blue); color: #fff; }
.compare-hint { margin-top: 0.6rem; font-size: var(--step--1); color: var(--graphite); }
