/* Interiors of Colorado: one stylesheet for every page.
   Colors and type live in the :root variables below. Change them here only.
   Brand: rust and charcoal from the truck-wrap logo. */

@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Sarabun"; src: url("/assets/fonts/sarabun-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Sarabun"; src: url("/assets/fonts/sarabun-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* Brand (from the logo) */
  --rust: #b5533a;         /* accent: buttons, rules, stars. White text on it: 4.9:1 */
  --rust-700: #9c4530;     /* button hover */
  --rust-800: #87392a;     /* button pressed */
  --charcoal: #2e3135;     /* text, dark sections, footer (matches the reversed logo's background) */
  --white: #ffffff;

  /* Neutrals */
  --mist: #f5f4f2;         /* alternate section background */
  --stone: #e8e6e3;        /* placeholder and quiet fills */

  /* Text */
  --ink: var(--charcoal);  /* body text: 13.1:1 on white */
  --ink-2: #545a61;        /* secondary text: 7.0:1 on white, 6.3:1 on --mist */
  --on-dark: var(--white);
  --on-dark-2: #cfd1d3;    /* 9.7:1 on --charcoal */

  --paper: var(--white);
  --line: rgb(46 49 53 / 0.14);
  --line-dark: rgb(255 255 255 / 0.16);

  /* Type: Montserrat for headings and nav (matches the logo), Sarabun for reading */
  --font-display: "Montserrat", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-body: "Sarabun", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step-0: 1.0625rem;                          /* 17px body */
  --step-1: 1.1875rem;                          /* lead */
  --step-2: clamp(1.2rem, 1.08rem + 0.55vw, 1.4rem);
  --step-3: clamp(1.6rem, 1.3rem + 1.4vw, 2.25rem);
  --step-4: clamp(2.1rem, 1.5rem + 2.9vw, 3.5rem);

  /* Space, shape */
  --gutter: 16px;
  --section: clamp(3.5rem, 2.5rem + 5vw, 6.5rem);
  --radius: 4px;
  --header-h: 64px;
  --focus: 3px solid var(--charcoal);
}

@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 960px) { :root { --header-h: 84px; } }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--ink); margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); line-height: 1.25; }
p { margin: 0 0 1em; }
a { color: var(--charcoal); text-decoration-color: var(--rust); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--charcoal); text-decoration-thickness: 2px; }
:focus-visible { outline: var(--focus); outline-offset: 2px; }
.band-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }
ul, ol { padding-left: 1.2em; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute; 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: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 8px; color: #fff; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--line); }
.band-quiet { background: var(--mist); }
.band-quiet + .section, .section + .band-quiet, .band-dark + .section, .section + .band-dark { border-top: 0; }
.band-dark { background: var(--charcoal); color: var(--on-dark-2); }
.band-dark h2, .band-dark h3 { color: var(--on-dark); }
.band-dark a { color: var(--on-dark); }
.lead { font-size: var(--step-1); color: var(--ink-2); }
.band-dark .lead { color: var(--on-dark-2); }
.section-head { display: grid; gap: 0.25rem 3rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--ink-2); margin: 0; }
@media (min-width: 960px) {
  .section-head { grid-template-columns: 5fr 7fr; align-items: end; }
  .section-head h2 { margin: 0; }
}
.rule { width: 56px; height: 4px; background: var(--rust); border: 0; margin: 0 0 1.25rem; }

/* Buttons: one style each, shared everywhere */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 48px; padding: 0.7em 1.4em; border-radius: var(--radius); border: 2px solid transparent; font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s; }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--rust); color: var(--white); }
.btn-primary:hover { background: var(--rust-700); color: var(--white); }
.btn-primary:active { background: var(--rust-800); }
.btn-outline { border-color: currentColor; color: var(--charcoal); background: transparent; }
.btn-outline:hover { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.band-dark .btn-outline { color: #fff; }
.band-dark .btn-outline:hover { background: #fff; border-color: #fff; color: var(--charcoal); }
.text-link { display: inline-flex; align-items: center; gap: 0.35em; font-weight: 600; }
.text-link .icon { width: 1em; height: 1em; transition: transform 0.15s; }
.text-link:hover .icon { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
/* Header logo: the mark as an image, the name as live text so it stays sharp at small sizes. */
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; flex: none; color: var(--charcoal); text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand-word { display: flex; flex-direction: column; align-items: stretch; font-family: "Montserrat", sans-serif; text-transform: uppercase; line-height: 1; }
.brand-name { font-weight: 600; font-size: 1.25rem; letter-spacing: 0.14em; margin-right: -0.14em; }
.brand-sub { display: flex; align-items: center; gap: 6px; margin-top: 5px; font-weight: 600; font-size: 0.625rem; letter-spacing: 0.22em; white-space: nowrap; }
.brand-sub::before, .brand-sub::after { content: ""; flex: 1; height: 1.5px; background: currentColor; }
@media (min-width: 960px) { .brand img { height: 46px; } .brand-name { font-size: 1.45rem; } .brand-sub { font-size: 0.6875rem; } }
.header-call { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 48px; min-height: 48px; padding: 0 12px; border-radius: var(--radius); color: var(--charcoal); font-weight: 600; text-decoration: none; border: 1px solid var(--line); }
.header-call:hover { border-color: var(--charcoal); color: var(--charcoal); }
/* Mobile: icon + "Call"; the number stays in the accessible name. */
.header-call .num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); cursor: pointer; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.header-cta { display: none; }

.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--ink); }
.site-nav a[aria-current="page"], .site-nav a[aria-current="true"] { color: var(--charcoal); }

/* Mobile menu panel */
.site-nav.is-open { display: block; position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper); overflow-y: auto; padding: 8px var(--gutter) 32px; border-top: 1px solid var(--line); }
.site-nav.is-open .nav-list > li { border-bottom: 1px solid var(--line); }
.site-nav.is-open .nav-list > li > a { display: flex; align-items: center; min-height: 56px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.site-nav.is-open .sub { padding: 0 0 12px 12px; }
.site-nav.is-open .sub a { display: flex; align-items: center; min-height: 44px; color: var(--ink-2); }
.site-nav.is-open .sub-toggle { display: none; }
.nav-extra { display: grid; gap: 12px; margin-top: 24px; }
.nav-extra .btn { width: 100%; }
body.menu-open { overflow: hidden; }

@media (min-width: 1080px) {
  .menu-toggle, .nav-extra { display: none !important; }
  .header-call { border: 0; padding: 0 4px; }
  .header-call .num { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .header-call .call-word { display: none; }
  .header-cta { display: inline-flex; }
  .site-nav, .site-nav.is-open { display: block; position: static; padding: 0; border: 0; overflow: visible; background: none; }
  .nav-list { display: flex; align-items: center; gap: 4px; }
  .nav-list > li { position: relative; display: flex; align-items: center; }
  .nav-list > li > a { display: flex; align-items: center; min-height: 48px; padding: 0 10px; font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; }
  .nav-list > li > a:hover { color: var(--charcoal); text-decoration: underline; text-underline-offset: 0.35em; }
  .nav-list > li > a[aria-current] { text-decoration: underline; text-decoration-color: var(--rust); text-decoration-thickness: 3px; text-underline-offset: 0.45em; }
  .sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 40px; margin-left: -6px; border: 0; background: none; color: var(--ink-2); cursor: pointer; border-radius: var(--radius); }
  .sub-toggle .icon { width: 16px; height: 16px; transition: transform 0.15s; }
  .sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 280px; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 28px rgb(46 49 53 / 0.12); }
  .sub a { display: block; padding: 10px 12px; border-radius: var(--radius); }
  .sub a:hover { background: var(--mist); }
  .has-sub.is-open .sub { display: block; }
  @media (hover: hover) { .has-sub:hover .sub { display: block; } }
}

/* Test-mode / preview ribbon (shown by JS only on non-production hosts) */
.preview-ribbon { background: var(--charcoal); color: #fff; font-size: 0.875rem; text-align: center; padding: 6px var(--gutter); }

/* Photos */
.photo { position: relative; background: var(--stone); border-radius: var(--radius); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-4x5 { aspect-ratio: 4 / 5; }

/* Hero (home and service pages share it) */
.hero { padding-block: 2rem var(--section); }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero h1 { margin-bottom: 0.4em; text-wrap: balance; }
.hero .lead { margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero-actions .or-call { color: var(--ink-2); }
.hero-actions .or-call a { font-weight: 600; white-space: nowrap; }
.hero-photo { aspect-ratio: 4 / 3; }
.proof { display: flex; flex-wrap: wrap; gap: 0; margin: 2.25rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.proof li { flex: 1 1 140px; padding: 14px 16px 0 0; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.35; }
.proof strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .hero { padding-top: 3.5rem; }
  .hero-grid { grid-template-columns: 7fr 5fr; gap: 4rem; }
  .hero-photo { aspect-ratio: 4 / 5; }
}

/* Breadcrumb */
.crumbs { font-size: 0.9375rem; color: var(--ink-2); padding-top: 1.25rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); }

/* Services index list (home and /services/) */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: svc; }
.svc-item { position: relative; display: grid; grid-template-columns: 1fr 104px; gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); counter-increment: svc; }
.svc-item::before { content: counter(svc, decimal-leading-zero); grid-column: 1; font-family: var(--font-display); font-size: 0.875rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.svc-item h3 { grid-column: 1; margin: 0; }
.svc-item h3 a { color: var(--ink); text-decoration: none; }
.svc-item h3 a::after { content: ""; position: absolute; inset: 0; } /* whole row is clickable */
.svc-item p { grid-column: 1; margin: 6px 0 0; color: var(--ink-2); }
.svc-item .photo { grid-column: 2; grid-row: 1 / span 3; align-self: start; aspect-ratio: 4 / 3; }
.svc-item .more { display: none; }
.svc-item:hover h3 a { color: var(--charcoal); text-decoration: underline; text-decoration-color: var(--rust); text-decoration-thickness: 3px; text-underline-offset: 0.3em; }
.svc-item:focus-within { outline: var(--focus); outline-offset: 4px; }
.svc-item h3 a:focus-visible { outline: none; }
@media (min-width: 760px) {
  .svc-item { grid-template-columns: 64px minmax(0, 5fr) minmax(0, 6fr) 200px; align-items: center; gap: 0 28px; padding: 26px 0; }
  .svc-item::before { grid-column: 1; grid-row: 1; font-size: 1rem; }
  .svc-item h3 { grid-column: 2; grid-row: 1; }
  .svc-item p { grid-column: 3; grid-row: 1; margin: 0; }
  .svc-item .photo { grid-column: 4; grid-row: 1; }
}

/* About teaser + values */
.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; gap: 4.5rem; } .split.flip { grid-template-columns: 7fr 5fr; } }
.byline { font-weight: 600; color: var(--ink); }
.values { display: grid; gap: 0; margin: 2rem 0 1.5rem; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.values li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.values strong { display: block; font-family: var(--font-display); color: var(--ink); }
.values span { color: var(--ink-2); }
@media (min-width: 600px) { .values { grid-template-columns: 1fr 1fr; column-gap: 32px; } }

/* Process steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; line-height: 1; color: var(--charcoal); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.steps h3 { margin-bottom: 0.35em; }
.steps p { color: var(--ink-2); margin-bottom: 0.75em; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* Reviews */
.reviews { display: grid; gap: 24px; }
@media (min-width: 720px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.review blockquote { margin: 0; font-size: 1.0625rem; }
.review blockquote p { margin: 0; }
.review figcaption { margin-top: auto; font-size: 0.9375rem; color: var(--ink-2); }
.review figcaption strong { color: var(--ink); }
.stars { display: flex; gap: 2px; color: var(--rust); }
.stars .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.review.is-placeholder { border-style: dashed; border-color: var(--charcoal); }
.todo { background: #fff4df; outline: 1px dashed var(--rust); outline-offset: 1px; padding: 0 3px; border-radius: 2px; }
.review-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 1.75rem; }

/* Service area */
.area-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .area-grid { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; } }
.towns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.towns li { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--line-dark); color: var(--on-dark); font-weight: 600; }
.towns li small { display: block; font-weight: 400; color: var(--on-dark-2); font-size: 0.875rem; }
@media (min-width: 600px) { .towns { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Closing CTA */
.cta { display: grid; gap: 1.5rem; align-items: center; }
.cta h2 { margin-bottom: 0.3em; }
.cta p { margin: 0; color: var(--ink-2); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 860px) { .cta { grid-template-columns: 1fr auto; gap: 3rem; } }

/* Service page parts */
.price { display: inline-flex; flex-direction: column; gap: 2px; margin: 0 0 1.75rem; padding: 12px 16px; border-left: 4px solid var(--rust); background: var(--mist); }
.price span { font-size: 0.9375rem; color: var(--ink-2); }
.price strong { font-family: var(--font-display); font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.checklist li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.checklist strong { display: block; font-family: var(--font-display); }
.checklist span { color: var(--ink-2); }
@media (min-width: 700px) { .checklist { grid-template-columns: 1fr 1fr; column-gap: 32px; } }

.ba-list { display: grid; gap: 3rem; }
.ba { margin: 0; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ba-pair .photo { aspect-ratio: 4 / 3; }
.ba-tag { position: absolute; left: 8px; top: 8px; padding: 3px 10px; border-radius: var(--radius); background: var(--charcoal); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.8125rem; }
.ba-tag.after { background: var(--rust); color: var(--white); }
.ba figcaption { margin-top: 12px; color: var(--ink-2); }
.ba figcaption strong { color: var(--ink); }
@media (max-width: 480px) { .ba-pair { grid-template-columns: 1fr; } }

.related { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.related a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 600; }
.related a:hover { border-color: var(--charcoal); color: var(--charcoal); }

/* About: people */
.people { display: grid; gap: 2.5rem; }
.person { display: grid; gap: 1.25rem; align-items: start; }
.person h3 { margin-bottom: 0.15em; }
.person .role { color: var(--ink-2); font-weight: 600; margin-bottom: 0.75em; }
@media (min-width: 600px) { .person { grid-template-columns: 200px 1fr; gap: 28px; } }
@media (min-width: 1000px) { .people { grid-template-columns: 1fr 1fr; gap: 48px; } .person { grid-template-columns: 180px 1fr; } }

/* Gallery */
.gallery-grid { display: grid; gap: 24px 16px; }
@media (min-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.tile { margin: 0; }
.tile figcaption { margin-top: 8px; color: var(--ink-2); font-size: 0.9375rem; }
.hero .related { margin-top: 1.5rem; }

/* Contact */
.contact-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 5fr 6fr; gap: 4rem; } }
.contact-list { margin: 2rem 0 0; border-top: 1px solid var(--line); }
.contact-list > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; color: var(--ink-2); margin-bottom: 2px; }
.contact-list dd { margin: 0; }
.contact-list address { font-style: normal; }
.contact-list .note { margin: 6px 0 0; color: var(--ink-2); font-size: 0.9375rem; }
.contact-list .big { font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); }
.contact-grid .social a { color: var(--charcoal); border-color: var(--line); }
.contact-grid .social a:hover { border-color: var(--charcoal); color: var(--charcoal); }
.contact-form-card h2 { font-size: var(--step-3); }

/* Prose pages (policies, materials) */
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2em; }
.prose h3 { font-size: 1.125rem; margin-top: 1.5em; }

/* Footer */
.site-footer { background: var(--charcoal); color: var(--on-dark-2); padding-block: 3.5rem 2rem; font-size: 0.9375rem; }
.site-footer a { color: var(--on-dark); }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-brand .footer-logo { margin: 0 0 1.25rem; color: var(--on-dark); }
.footer-brand .footer-logo img { height: 48px; }
.footer-brand p { margin: 0 0 0.35rem; }
.footer-brand .tagline { font-family: var(--font-display); color: var(--on-dark); font-size: 1.125rem; margin-bottom: 1rem; }
.site-footer h2 { font-size: 1rem; color: var(--on-dark); margin-bottom: 0.75rem; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-footer ul a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.social { display: flex; gap: 8px; margin-top: 1rem; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: var(--radius); }
.social a:hover { border-color: var(--rust); color: var(--rust); }
.social .icon { width: 20px; height: 20px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 4fr 3fr 3fr; } }

/* Estimate form and popup */
.estimate-dialog { width: min(640px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.estimate-dialog::backdrop { background: rgb(46 49 53 / 0.6); }
.estimate-dialog .dialog-body { padding: 28px 20px 24px; }
@media (min-width: 600px) { .estimate-dialog .dialog-body { padding: 36px 36px 28px; } }
.estimate-dialog h2 { font-size: var(--step-3); padding-right: 48px; }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); cursor: pointer; }
.dialog-close:hover { border-color: var(--charcoal); }
.form-intro { color: var(--ink-2); }
.form-fineprint { font-size: 0.9375rem; color: var(--ink-2); margin: 0.75rem 0 0; }
.contact-form-card { padding: 24px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
@media (min-width: 600px) { .contact-form-card { padding: 32px; } }
.form-banner { margin: 0 0 1rem; padding: 8px 12px; font-size: 0.9375rem; border: 1px dashed var(--rust); background: #fff4df; border-radius: var(--radius); font-weight: 600; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--ink-2); font-size: 0.9375rem; margin-left: 4px; }
.field .req { color: #b3261e; margin-left: 2px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; color: var(--ink); background: #fff; border: 1px solid #6e7378; border-radius: var(--radius); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: var(--focus); outline-offset: 0; border-color: var(--charcoal); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field .error { color: #b3261e; font-size: 0.9375rem; margin-top: 4px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status.is-error { color: #b3261e; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* Rating badge, trust strip, review links, FAQ */
.hero-rating { margin: 1.25rem 0 0; }
.rating-badge { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-size: 0.9375rem; background: var(--paper); }
.rating-badge strong { font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.rating-badge .star { width: 16px; height: 16px; color: var(--rust); fill: currentColor; }
.rating-badge:hover { border-color: var(--charcoal); color: var(--ink); }
.section-head .rating-badge { margin-top: 4px; }

.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; margin: 1.75rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.trust li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 0.9375rem; line-height: 1.35; }
.trust strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1.0625rem; }
@media (min-width: 600px) { .trust { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.review-source { font-size: 0.875rem; font-weight: 600; }
.review-cta { display: grid; gap: 1rem 2rem; align-items: center; margin-top: 2rem; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.review-cta h3 { margin-bottom: 0.25em; }
.review-cta p { margin: 0; color: var(--ink-2); }
.review-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 860px) { .review-cta { grid-template-columns: 1fr auto; } }

.answer-first { font-size: var(--step-1); color: var(--ink); font-weight: 600; }
.facts { display: grid; gap: 0; margin: 0 0 1.75rem; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; color: var(--ink-2); }
.facts dd { margin: 0; }

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 14px 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); font-size: 1.25rem; color: var(--charcoal); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-a { padding: 0 0 18px; color: var(--ink-2); max-width: 72ch; }
.faq-a p:last-child { margin-bottom: 0; }

/* Before/after slider: drag (mouse or touch) or use arrow keys */
.ba-list { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .ba-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; } }
.ba-slider { margin: 0; }
.ba-frame { --pos: 50%; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--stone); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba-frame.ratio-4x3 { aspect-ratio: 4 / 3; }
.ba-frame.ratio-3x4 { aspect-ratio: 3 / 4; }
.ba-frame picture, .ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-frame .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgb(46 49 53 / 0.25); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: var(--pos); width: 48px; height: 48px; margin: -24px 0 0 -24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--charcoal); box-shadow: 0 2px 10px rgb(46 49 53 / 0.3); pointer-events: none; }
.ba-knob svg { width: 26px; height: 26px; }
.ba-frame .ba-tag { pointer-events: none; }
.ba-frame .ba-tag.after { left: auto; right: 8px; }
.ba-frame:has(.ba-range:focus-visible) { outline: var(--focus); outline-offset: 3px; }
.ba-slider figcaption { margin-top: 12px; color: var(--ink-2); }
.ba-slider figcaption strong { color: var(--ink); }
.ba-hint { font-size: 0.875rem; color: var(--ink-2); margin: 0 0 1rem; }

/* Service areas and FAQ page */
.area-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.area { padding: 22px 0; border-bottom: 1px solid var(--line); }
.area h2 { font-size: var(--step-2); margin-bottom: 0.15em; }
.area-county { color: var(--ink-2); font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.5em; }
.area p:last-of-type { margin-bottom: 0; max-width: 72ch; }
@media (min-width: 900px) { .area-list { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.faq-page h2 { font-size: var(--step-2); margin: 2.5rem 0 0.75rem; }
.faq-page h2:first-child { margin-top: 0; }

/* Brand tagline under the hero headline */
.hero-tagline { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); color: var(--rust); margin: -0.15em 0 1rem; letter-spacing: 0.01em; }
.header-call, .btn, .rating-badge strong, .trust strong { font-family: var(--font-display); }
.trust-wide .trust { margin-top: 0; }
@media (min-width: 1100px) { .trust-wide .trust { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* Review fixes: disabled buttons, process photos, sticky FAQ heading */
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
body { overflow-x: clip; }
.step-photo { margin-bottom: 16px; }
@media (min-width: 900px) { .faq-sticky { position: sticky; top: calc(var(--header-h) + 24px); } }

/* Pictures always fill their frame (fixes short heroes) */
.photo picture { display: block; width: 100%; height: 100%; }
/* Insurance floor plan figure */
.plan-wrap { max-width: 860px; }
.photo.plan { background: #fff; border: 1px solid var(--line); }
.photo.plan img { object-fit: contain; }
.plan-figure { margin: 0; }
.plan-figure figcaption { margin-top: 12px; color: var(--ink-2); max-width: 72ch; }

.reviews-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.review blockquote p::before { content: "\201C"; } .review blockquote p::after { content: "\201D"; }

/* Insurance page: "water still coming in?" note; cost lists; epoxy photo row */
.note-callout { margin: 0 0 1.25rem; padding: 12px 16px; border-left: 4px solid var(--rust); background: var(--mist); }
.band-quiet .note-callout { margin: 1.5rem 0 0; background: var(--paper); }
.cost-list li strong { font-family: var(--font-body); font-weight: 600; }
.epoxy-more { margin-top: 2rem; }
.towns a { color: inherit; text-decoration: none; }
.towns a:hover, .towns a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
