/* Your Roofing Co. Borrows the Standard template's Sturdy trades ideas (Bespoke Slab headings,
   Archivo text, white pages, deep green with amber) and makes them a roofer's site: a wide
   drawn street that hangs off the green hero, project drawings with before and after sliders,
   gable-topped bands, house-shaped step badges, and "Get a free estimate" in amber everywhere.
   Visual defaults: 2px corners, 1px hairlines, no card shadows, no gradients, short motion.
   Drawings (inc/*.html, made by tools/draw.py) take every fill from the --d-* tokens below. */

:root {
  color-scheme: light;
  --paper: #ffffff;
  --stone: #f4f2ec;
  --sage: #e7eee9;
  --ink: #13211a;
  --body: #2b3832;
  --muted: #4f5d56;
  --line: #d9dfdb;
  --field-line: #75837c;
  --ph: #5c6962;
  --green: #0f3a2c;
  --green-hover: #185340;
  --green-deep: #0a2a1f;
  --green-line: #2f5b4b;
  --on-green: #ffffff;
  --green-copy: #d3e2d9;
  --green-muted: #a9c4b6;
  --amber: #f2a71b;
  --amber-hover: #ffbe48;
  --amber-edge: #94600a;
  --on-amber: #13211a;
  --link: #0f5a43;
  --link-hover: #0a3a2b;
  --focus: #0f3a2c;
  --danger: #a3291b;
  --select: #fbd88f;

  /* Drawings */
  --d-line: #1b2621;
  --d-sky: #e2ece5; --d-sky-b: #e3e5e0; --d-sky-s: #cdd5d2;
  --d-sun: #f2a71b; --d-cloud: #ffffff; --d-cloud-s: #a9b4b0; --d-rain: #7f8b87;
  --d-hill: #cfddd3; --d-lawn: #a7c597; --d-walk: #e8e2d6; --d-street: #9aa39e; --d-street-l: #f4f1ea;
  --d-tree: #3f7a5b; --d-tree2: #6a9a7c; --d-trunk: #6b5442; --d-shrub: #4e8463;
  --d-w1: #f8f4ea; --d-w1-s: #e2dbca;
  --d-w2: #dde7e0; --d-w2-s: #c2d1c7;
  --d-w3: #eddcc5; --d-w3-s: #d8c2a5;
  --d-w4: #d8e2e7; --d-w4-s: #bccad2;
  --d-fnd: #bdb8ad; --d-fnd-s: #a49f95;
  --d-trim: #ffffff; --d-glass: #9fbfcc; --d-glass-s: #88abb9; --d-shut: #2d5a4a;
  --d-door-g: #0f3a2c; --d-door-a: #f2a71b; --d-knob: #c8d2cd; --d-step: #d2ccc0;
  --d-gar: #f2efe7; --d-gar-l: #c9c3b6;
  --d-rf: #333d3a; --d-rf-l: #56625e; --d-rf-d: #222a27;
  --d-rb: #5b4d43; --d-rb-l: #7a6a5e; --d-rb-d: #41372f;
  --d-ro: #9b9485; --d-ro-l: #b5ae9f; --d-ro-d: #7c7667; --d-ro-g: #bbb4a6; --d-ro-lift: #cfc8ba;
  --d-rp: #262e2b; --d-rp-l: #4a5652;
  --d-mt: #2f5548; --d-mt-l: #1f3d33; --d-mt-h: #4d7768; --d-mt-d: #1f3a31;
  --d-un: #e1e5e3; --d-un-l: #a9b2ae; --d-felt: #4b3d33;
  --d-moss: #788f4a; --d-stain: #615b4f;
  --d-ridge: #1a201e; --d-vent: #262f2c;
  --d-flash: #c6cfcb; --d-flash-o: #9c6a43;
  --d-brick: #a65d45; --d-brick-s: #8b4b37; --d-brick-l: #8a4835;
  --d-cap: #bcc5c1; --d-cap-o: #8f8a80;
  --d-gut: #ffffff; --d-gut-o: #b6ae9d;
  --d-tarp: #2f69b0; --d-tarp-l: #1f4f8c; --d-batt: #c99c64;
  --d-hail: #ffffff; --d-hail-d: #c3c9c6; --d-dent-g: #c6cbc8;
  --d-branch: #6b5442; --d-leaf: #5f9273;
  --d-lad: #f2a71b; --d-amb: #f2a71b;
  --d-truck: #0f3a2c; --d-tire: #1b2621; --d-hub: #bcc5c1;
  --d-bun: #3c4744; --d-bun-s: #2a3330;
  --d-ply: #dcc092; --d-ply-l: #b8986a; --d-ply-e: #c2a170;
  --d-drip: #c6cfcb; --d-iws: #3a4542; --d-iws-e: #2a3330;
  --d-mem: #dadddb; --d-mem-l: #b4bab7; --d-mem-d: #7e8783;
  --d-dump: #4d6b5f; --d-dump-l: #3a5448; --d-mag: #f2a71b;
  --d-ac: #e4e8e6; --d-ac-l: #96a09b; --d-gran: #8b8578; --d-pipe: #9aa39e;

  --display: "YR Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --text: "YR Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --num: "YR Archivo", system-ui, -apple-system, "Segoe UI", sans-serif; /* numerals: Bespoke Slab's are old-style */
  --gutter: 40px;
  --header-h: 80px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; padding-bottom: 52px; background: var(--paper); color: var(--body); font: 400 1.0625rem/1.65 var(--text); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; color: var(--ink); letter-spacing: -0.012em; line-height: 1.1; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
em, i, address { font-style: normal; }
strong { font-weight: 650; }
img, svg { max-width: 100%; }
::selection { background: var(--select); color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.nw { white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 60; padding: 12px 18px; border-radius: 2px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: min(1240px, calc(100% - 2 * var(--gutter))); margin: 0 auto; }
.arw { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-phone { fill: currentColor; stroke: none; }

.h2 { font-size: clamp(1.95rem, 3.3vw, 2.8rem); }
.h3 { font-size: 1.35rem; line-height: 1.2; }
.lede { font-size: 1.15rem; line-height: 1.6; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px;
  font: 650 1rem/1.2 var(--text); text-decoration: none; text-align: center; border: 2px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-lg { min-height: 56px; padding: 14px 26px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-est { background: var(--amber); border-color: var(--amber-edge); color: var(--on-amber); }
.btn-est:hover { background: var(--amber-hover); color: var(--on-amber); }
.btn-green { background: var(--green); border-color: var(--green); color: var(--on-green); }
.btn-green:hover { background: var(--green-hover); border-color: var(--green-hover); color: var(--on-green); }
.btn-line { background: var(--paper); border-color: var(--green); color: var(--green); }
.btn-line:hover { background: var(--green); color: var(--on-green); }
.btn-ghost { background: transparent; border-color: var(--on-green); color: var(--on-green); }
.btn-ghost:hover { background: var(--on-green); color: var(--green); }
.on-green :focus-visible { outline-color: var(--amber); }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; font: 650 1rem/1.3 var(--text); color: var(--link); background: none; border: 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; cursor: pointer; }
.text-link:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
.on-green .text-link { color: var(--on-green); }

/* Open status pill */
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; border: 1px solid currentColor; border-radius: 2px; font-size: .875rem; font-weight: 650; line-height: 1.4; white-space: nowrap; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill.is-open::before { background: var(--amber); }
.open-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .95rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-row { position: relative; display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; margin-right: auto; font: 800 1.5rem/1 var(--display); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo-mark .lm-bg { fill: var(--green); }
.logo-mark .lm-roof { fill: none; stroke: var(--on-green); stroke-width: 3.4; stroke-linejoin: miter; stroke-linecap: square; }
.logo-mark .lm-ridge { fill: var(--amber); }
.nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; color: var(--ink); font-weight: 550; text-decoration: none; border-radius: 2px; }
.nav-list a:hover { color: var(--link); text-decoration: underline; text-underline-offset: 6px; }
.nav-list a[aria-current] { box-shadow: inset 0 -3px 0 var(--green); }
.nav-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 650; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-phone .i-phone { width: 18px; height: 18px; color: var(--link); }
.header-phone:hover { color: var(--link); }
.header-est { min-height: 46px; padding: 10px 18px; white-space: nowrap; }
.menu-btn { display: none; }

/* Home hero: green band, then a wide drawn street that hangs into the white page */
.hero { position: relative; padding-top: clamp(48px, 6vw, 84px); background: var(--green); color: var(--green-copy); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--overhang); background: var(--paper); }
.hero { --overhang: clamp(96px, 12vw, 176px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.hero h1 { color: var(--on-green); font-size: clamp(2.6rem, 5.2vw, 4.4rem); line-height: 1.02; letter-spacing: -0.02em; }
.hero-side .lede { color: var(--green-copy); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .open-line { margin-top: 20px; color: var(--green-copy); }
.hero .pill { color: var(--on-green); }
.hero-frame { position: relative; z-index: 1; margin-top: clamp(40px, 5vw, 64px); overflow: hidden; border-radius: 2px; background: var(--d-sky); }
.hero-frame svg { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 560; }

/* Facts under the hero */
.facts { padding: 40px 0 8px; }
.fact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { display: flex; gap: 14px; padding: 4px 24px; border-left: 1px solid var(--line); }
.fact:first-child { padding-left: 0; border-left: 0; }
.fact .i { width: 30px; height: 30px; color: var(--link); margin-top: 2px; }
.fact h2 { font-size: 1.15rem; line-height: 1.25; margin-bottom: 4px; }
.fact p { font-size: .95rem; line-height: 1.5; color: var(--muted); }

/* Sections */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-stone { background: var(--stone); }
.section-sage { background: var(--sage); }
.section-rule { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 64px; margin-bottom: 44px; }
.section-head .h2 { max-width: 640px; }
.section-head > p { max-width: 440px; color: var(--muted); }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.svc-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); transition: border-color .15s; }
.svc-card:hover { border-color: var(--green); }
.svc-art { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--d-sky); }
.svc-art svg { display: block; width: 100%; height: 100%; }
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 18px; }
.svc-body h3 { font-size: 1.5rem; margin-bottom: 10px; }
.svc-body h3 a { color: var(--ink); text-decoration: none; }
.svc-body h3 a::after { content: ""; position: absolute; inset: 0; }
.svc-body h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.svc-body p { color: var(--muted); }
.svc-body .more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; min-height: 44px; font-weight: 650; color: var(--link); }
.svc-card:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.svc-card h3 a:focus-visible { outline: none; }

/* Before and after slider */
.ba { margin: 0; }
.ba-stage { position: relative; aspect-ratio: 8 / 5; overflow: hidden; border-radius: 2px; background: var(--d-sky); touch-action: pan-y; user-select: none; -webkit-user-select: none; --pos: 50%; }
.js .ba-stage { cursor: ew-resize; }
.ba-pane { position: absolute; inset: 0; }
.ba-pane svg { display: block; width: 100%; height: 100%; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--paper); border-left: 1px solid var(--ink); border-right: 1px solid var(--ink); pointer-events: none; }
.ba-handle {
  position: absolute; top: 84%; left: var(--pos); display: grid; place-items: center; width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border: 2px solid var(--ink); border-radius: 50%; background: var(--amber); color: var(--ink); cursor: ew-resize; touch-action: none;
}
.ba-handle svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ba-handle:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; box-shadow: 0 0 0 7px var(--paper); }
.ba-tag { position: absolute; top: 12px; padding: 5px 11px; border-radius: 2px; background: var(--ink); color: #fff; font-size: .875rem; font-weight: 650; line-height: 1.3; pointer-events: none; }
.ba-tag-before { left: 12px; }
.ba-tag-after { right: 12px; }
.ba-bar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 12px 0 0; font-size: .95rem; }
.ba-label { font-weight: 650; color: var(--ink); }
.ba-hint { color: var(--muted); }
html:not(.js) .ba-handle, html:not(.js) .ba-hint { display: none; }

/* Project feature on home and service pages */
.feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px 56px; align-items: center; }
.feature-copy .h2 { margin-bottom: 18px; }
.feature-copy > p { color: var(--muted); }
.spec { margin: 24px 0 26px; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .975rem; }
.spec dt { font-weight: 650; color: var(--ink); }
.spec dd { margin: 0; color: var(--body); }
.sample-note { font-size: .9rem; color: var(--muted); }

/* Gallery */
.projects { display: grid; gap: clamp(56px, 7vw, 96px); }
.project { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 32px 56px; align-items: center; }
.project:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); }
.project:nth-child(even) .ba { order: 2; }
.project h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 12px; }
.project .type { display: inline-block; margin-bottom: 16px; padding: 3px 10px; border-radius: 2px; background: var(--sage); color: var(--ink); font-size: .875rem; font-weight: 650; }
.project p { color: var(--muted); }

/* Process: house-shaped step badges */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { position: relative; padding-top: 4px; }
.step-badge { position: relative; display: grid; place-items: end center; width: 58px; height: 58px; margin-bottom: 20px; padding-bottom: 7px; background: var(--green); clip-path: polygon(50% 0, 100% 42%, 100% 100%, 0 100%, 0 42%); color: var(--on-green); font: 800 1.35rem/1 var(--num); }
.steps h3 { font-size: 1.3rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 1rem; }
.steps-cta { margin-top: 40px; }

/* Reviews (placeholders) */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.review { display: flex; flex-direction: column; margin: 0; padding: 28px 28px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 2px; }
.review svg { width: 34px; height: 26px; margin-bottom: 14px; fill: var(--amber-edge); }
.review blockquote { margin: 0 0 18px; font-size: 1.075rem; color: var(--ink); }
.review figcaption { margin-top: auto; font-size: .95rem; color: var(--muted); }
.review figcaption strong { color: var(--ink); }
.review-single { max-width: 820px; margin: 0 auto; }
.review-single blockquote { font-family: var(--display); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.35; font-weight: 600; }

/* Areas and hours */
.area-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px 64px; }
.area-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.area-list li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); font-weight: 550; color: var(--ink); }
.hours-card { padding: 28px 30px; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 2px; background: var(--paper); }
.hours-card h2, .hours-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.hours-card ul { margin: 14px 0 18px; }
.hours-card li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours-card .pill { color: var(--ink); }
.hours-card .phone-big { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 800 1.4rem/1.2 var(--num); color: var(--ink); text-decoration: none; }
.hours-card .phone-big .i-phone { width: 22px; height: 22px; color: var(--link); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 32px 72px; align-items: start; }
.faq-intro .h2 { margin-bottom: 16px; }
.faq-intro p { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding: 20px 0; font: 700 1.2rem/1.3 var(--display); color: var(--ink); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-right: 6px; border-right: 2.5px solid var(--link); border-bottom: 2.5px solid var(--link); transform: translateY(-3px) rotate(45deg); transition: transform .15s; }
.faq-list details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq-list .answer { padding: 0 40px 22px 0; color: var(--body); }

/* CTA band with a gable top */
.cta-band { position: relative; margin-top: -1px; padding: clamp(96px, 10vw, 128px) 0 clamp(64px, 7vw, 88px); background: var(--green); color: var(--green-copy); clip-path: polygon(0 clamp(28px, 4vw, 56px), 50% 0, 100% clamp(28px, 4vw, 56px), 100% 100%, 0 100%); }
.cta-row { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 28px 64px; align-items: end; }
.cta-band h2 { color: var(--on-green); font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 14px; }
.cta-band p { max-width: 620px; color: var(--green-copy); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Interior page hero */
.page-hero { padding: clamp(28px, 4vw, 44px) 0 clamp(56px, 6vw, 80px); background: var(--green); color: var(--green-copy); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 36px 72px; align-items: end; }
.page-hero h1 { color: var(--on-green); font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.04; letter-spacing: -0.02em; margin-bottom: 18px; }
.page-hero .lede { max-width: 640px; color: var(--green-copy); }
.page-hero-grid.solo { grid-template-columns: minmax(0, 1fr); }
.crumbs { margin-bottom: clamp(26px, 4vw, 44px); font-size: .925rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0 4px; }
.crumbs li { display: inline-flex; align-items: center; color: var(--green-muted); }
.crumbs li + li::before { content: "/"; margin: 0 8px 0 4px; color: var(--green-muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-green); }
.crumbs [aria-current] { color: var(--green-copy); }
.est-card { padding: 26px 28px 28px; border: 1px solid var(--green-line); border-top: 4px solid var(--amber); border-radius: 2px; background: var(--green-deep); color: var(--green-copy); }
.est-card h2 { color: var(--on-green); font-size: 1.45rem; margin-bottom: 10px; }
.est-card .open-line { margin-bottom: 20px; }
.est-card .pill { color: var(--on-green); }
.est-card .btn + .btn { margin-top: 10px; }
.est-card ol { margin-top: 6px; counter-reset: n; }
.est-card ol li { position: relative; padding: 10px 0 10px 40px; border-top: 1px solid var(--green-line); counter-increment: n; }
.est-card ol li::before { content: counter(n); position: absolute; left: 0; top: 10px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--amber); color: var(--on-amber); font: 800 .9rem/1 var(--num); }
.est-card ol strong { color: var(--on-green); }

/* Two-column prose with a drawing */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px 64px; align-items: center; }
.split-rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.split-rev .split-art { order: -1; }
.split-top { align-items: start; }
.note + .checks, .checks + .note { margin-top: 20px; }
.prose h2 { margin-bottom: 18px; }
.prose h3 { font-size: 1.3rem; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--body); }
.prose ul { margin: 0 0 1em; }
.art-frame { overflow: hidden; border-radius: 2px; background: var(--d-sky); border: 1px solid var(--line); }
.art-frame svg { display: block; width: 100%; height: auto; }
.keyed { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; counter-reset: k; }
.keyed li { position: relative; padding: 11px 0 11px 42px; border-top: 1px solid var(--line); counter-increment: k; }
.keyed li::before { content: counter(k); position: absolute; left: 0; top: 10px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: var(--on-green); font: 800 .95rem/1 var(--num); }
.keyed.amber li::before { background: var(--amber); color: var(--on-amber); border: 1.5px solid var(--amber-edge); }
.keyed strong { display: block; color: var(--ink); }
.keyed span { color: var(--muted); font-size: .95rem; }

.checks li { position: relative; padding: 9px 0 9px 32px; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 13px; height: 7px; border-left: 2.5px solid var(--link); border-bottom: 2.5px solid var(--link); transform: rotate(-45deg); }
.checks-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }

/* Materials */
.mat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mat { border: 1px solid var(--line); border-radius: 2px; background: var(--paper); }
.mat-sw { aspect-ratio: 5 / 3; overflow: hidden; border-bottom: 1px solid var(--line); }
.mat-sw svg { display: block; width: 100%; height: 100%; }
.mat h3 { font-size: 1.2rem; margin: 18px 20px 6px; }
.mat p { margin: 0 20px 20px; font-size: .975rem; color: var(--muted); }

/* Notes and cards */
.note { display: flex; gap: 14px; padding: 18px 20px; border-left: 4px solid var(--amber); background: var(--stone); border-radius: 2px; }
.note .i { width: 24px; height: 24px; color: var(--danger); margin-top: 2px; }
.note p { color: var(--body); }
.note strong { color: var(--ink); }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { padding: 26px 28px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); }
.card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.card p { color: var(--muted); }
.card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card .i { width: 30px; height: 30px; color: var(--link); margin-bottom: 14px; }

/* After a storm: numbered steps down the page */
.storm-steps { counter-reset: s; border-top: 1px solid var(--line); }
.storm-steps li { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 20px; padding: 24px 0; border-bottom: 1px solid var(--line); counter-increment: s; }
.storm-steps li::before { content: counter(s); grid-row: span 2; display: grid; place-items: end center; width: 52px; height: 52px; padding-bottom: 6px; background: var(--green); clip-path: polygon(50% 0, 100% 42%, 100% 100%, 0 100%, 0 42%); color: var(--on-green); font: 800 1.2rem/1 var(--num); }
.storm-steps h3 { font-size: 1.3rem; }
.storm-steps p { color: var(--muted); }

/* Free estimate form */
.est-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px 56px; align-items: start; }
.form-card { padding: clamp(24px, 3.4vw, 40px); border: 1px solid var(--line); border-top: 4px solid var(--amber); border-radius: 2px; background: var(--paper); }
.form-card > h2 { font-size: 1.8rem; margin-bottom: 8px; }
.form-intro { margin-bottom: 26px; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin-bottom: 20px; }
.field label, .field legend, .result label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 7px; padding: 0; font-weight: 650; font-size: 1rem; color: var(--ink); }
.field .opt { font-size: .875rem; font-weight: 400; color: var(--muted); }
.field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .field select, .field textarea {
  display: block; width: 100%; min-height: 48px; padding: 11px 13px; font: 400 1rem/1.5 var(--text); color: var(--ink);
  background: var(--paper); border: 1px solid var(--field-line); border-radius: 2px;
}
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2313211a' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; }
.field textarea { min-height: 120px; resize: vertical; }
.field ::placeholder { color: var(--ph); opacity: 1; }
.field [aria-invalid="true"] { border-color: var(--danger) !important; box-shadow: inset 0 0 0 1px var(--danger); }
.field-error { margin: 6px 0 0; font-size: .925rem; font-weight: 600; color: var(--danger); }
.field-error:empty { display: none; }
.hint { margin: 6px 0 0; font-size: .925rem; color: var(--muted); }
fieldset.field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.choices.inline { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.choice { position: relative; display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 2px; cursor: pointer; font-weight: 450; color: var(--body); line-height: 1.4; }
.field .choice { display: flex; justify-content: flex-start; align-items: center; margin: 0; padding: 10px 12px; font-size: 1rem; font-weight: 450; color: var(--body); }
.choice input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--green); }
.choice:has(input:checked) { border-color: var(--green); background: var(--sage); color: var(--ink); }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice input:focus-visible { outline: none; }
.choices.inline .choice { min-width: 110px; }
.file-drop { display: grid; gap: 10px; padding: 18px; border: 1.5px dashed var(--field-line); border-radius: 2px; background: var(--stone); }
.file-drop input[type="file"] { width: 100%; min-height: 44px; font: 500 .975rem var(--text); color: var(--body); }
.file-drop input[type="file"]::file-selector-button { min-height: 44px; margin-right: 14px; padding: 10px 16px; border: 2px solid var(--green); border-radius: 2px; background: var(--paper); color: var(--green); font: 650 .975rem var(--text); cursor: pointer; }
.file-drop input[type="file"]::file-selector-button:hover { background: var(--green); color: var(--on-green); }
.file-list { display: grid; gap: 6px; }
.file-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 2px; font-size: .95rem; color: var(--ink); }
.file-list li span:last-child { flex: none; color: var(--muted); }
.file-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; font-size: .95rem; color: var(--muted); }
.local-note { margin: 0; font-size: .925rem; color: var(--muted); }
.form-note { margin: 14px 0 0; font-size: .95rem; color: var(--muted); }
.result { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.result h3 { font-size: 1.5rem; margin-bottom: 6px; }
.result h3:focus { outline: none; }
.result > p { color: var(--muted); }
.result textarea { display: block; width: 100%; min-height: 400px; margin-top: 4px; padding: 14px 16px; resize: vertical; font: 400 .95rem/1.7 var(--text); color: var(--ink); background: var(--paper); border: 1px solid var(--field-line); border-radius: 2px; }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 16px; }
.result-status { min-height: 1.5em; margin: 12px 0 0; font-size: .975rem; color: var(--ink); }
.est-aside { display: grid; gap: 24px; }
.est-aside .card h2 { font-size: 1.35rem; margin-bottom: 10px; }
.est-aside .card ul { margin-top: 6px; }
.direct a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 650; }
.direct .phone-big { font: 800 1.4rem/1.2 var(--num); color: var(--ink); text-decoration: none; }
.direct .phone-big .i-phone { width: 22px; height: 22px; color: var(--link); }

/* 404 */
.nf-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.nf-art { overflow: hidden; border-radius: 2px; background: var(--d-sky); }
.nf-art svg { display: block; width: 100%; height: auto; }

/* Privacy */
.doc { max-width: 760px; }
.doc h2 { font-size: 1.6rem; margin: 40px 0 12px; }
.doc h2:first-child { margin-top: 0; }

/* Footer */
.site-footer { padding: 64px 0 28px; background: var(--green-deep); color: var(--green-copy); font-size: .975rem; }
.site-footer :focus-visible { outline-color: var(--amber); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px 48px; padding-bottom: 44px; }
.site-footer .logo { color: var(--on-green); margin-bottom: 18px; }
.site-footer .logo-mark .lm-bg { fill: var(--green); }
.site-footer h2 { margin-bottom: 12px; font: 650 1rem/1.3 var(--text); letter-spacing: 0; color: var(--on-green); }
.site-footer a { color: var(--green-copy); text-decoration: none; }
.site-footer a:hover { color: var(--on-green); text-decoration: underline; }
.footer-list a { display: inline-flex; align-items: center; min-height: 40px; }
.footer-list li { color: var(--green-copy); }
.footer-hours li { padding: 4px 0; }
.footer-brand p { max-width: 380px; }
.footer-phone { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 800 1.3rem/1.2 var(--num); color: var(--on-green) !important; }
.footer-phone .i-phone { width: 20px; height: 20px; color: var(--amber); }
.footer-email { display: inline-flex; align-items: center; min-height: 40px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 22px; border-top: 1px solid var(--green-line); font-size: .9rem; color: var(--green-muted); }
.footer-base p { margin: 0; }
.footer-base a { color: var(--green-copy); text-decoration: underline; }

/* Drawing classes: every fill reads a --d-* token */
.d { display: block; }
.d .o { stroke: var(--d-line); stroke-width: 2; stroke-linejoin: round; }
.d .sky { fill: var(--d-sky); } .d .sky-b { fill: var(--d-sky-b); } .d .sky-s { fill: var(--d-sky-s); }
.d .sun { fill: var(--d-sun); } .d .cloud { fill: var(--d-cloud); } .d .cloud-s { fill: var(--d-cloud-s); }
.d .rain { fill: none; stroke: var(--d-rain); stroke-width: 1.6; stroke-linecap: round; }
.d .hail { fill: var(--d-hail); stroke: var(--d-rain); stroke-width: 1; }
.d .hill { fill: var(--d-hill); } .d .lawn { fill: var(--d-lawn); } .d .walk { fill: var(--d-walk); }
.d .street { fill: var(--d-street); } .d .street-l { fill: var(--d-street-l); }
.d .tree { fill: var(--d-tree); } .d .tree2 { fill: var(--d-tree2); } .d .trunk { fill: var(--d-trunk); } .d .shrub { fill: var(--d-shrub); }
.d .w1 { fill: var(--d-w1); } .d .w1-s { fill: var(--d-w1-s); }
.d .w2 { fill: var(--d-w2); } .d .w2-s { fill: var(--d-w2-s); }
.d .w3 { fill: var(--d-w3); } .d .w3-s { fill: var(--d-w3-s); }
.d .w4 { fill: var(--d-w4); } .d .w4-s { fill: var(--d-w4-s); }
.d .sd { fill: none; stroke: var(--d-line); stroke-opacity: .13; stroke-width: 1.2; }
.d .fnd { fill: var(--d-fnd); } .d .fnd-s { fill: var(--d-fnd-s); }
.d .trim { fill: var(--d-trim); } .d .glass { fill: var(--d-glass); } .d .glass-s { fill: var(--d-glass-s); }
.d .mull { fill: none; stroke: var(--d-trim); stroke-width: 3; }
.d .shut { fill: var(--d-shut); }
.d .door-g { fill: var(--d-door-g); } .d .door-a { fill: var(--d-door-a); } .d .knob { fill: var(--d-knob); } .d .step { fill: var(--d-step); }
.d .gar { fill: var(--d-gar); } .d .gar-l { fill: none; stroke: var(--d-gar-l); stroke-width: 2; }
.d .rf { fill: var(--d-rf); } .d .rf-l { fill: none; stroke: var(--d-rf-l); stroke-width: 1.4; } .d .rf-d { fill: var(--d-rf-d); }
.d .rb { fill: var(--d-rb); } .d .rb-l { fill: none; stroke: var(--d-rb-l); stroke-width: 1.4; } .d .rb-d { fill: var(--d-rb-d); }
.d .ro { fill: var(--d-ro); } .d .ro-l { fill: none; stroke: var(--d-ro-l); stroke-width: 1.4; } .d .ro-d { fill: var(--d-ro-d); }
.d .ro-g { fill: var(--d-ro-g); } .d .ro-lift { fill: var(--d-ro-lift); }
.d .rp { fill: var(--d-rp); } .d .rp-l { fill: none; stroke: var(--d-rp-l); stroke-width: 1.4; }
.d .mt { fill: var(--d-mt); } .d .mt-l { fill: none; stroke: var(--d-mt-l); stroke-width: 2.2; } .d .mt-h { fill: none; stroke: var(--d-mt-h); stroke-width: 1; } .d .mt-d { fill: var(--d-mt-d); }
.d .un { fill: var(--d-un); } .d .un-l { fill: none; stroke: var(--d-un-l); stroke-width: 1.4; }
.d .felt { fill: var(--d-felt); }
.d .moss { fill: var(--d-moss); }
.d .stain { fill: var(--d-stain); fill-opacity: .45; }
.d .rake { fill: none; stroke: var(--d-trim); stroke-width: 5; stroke-linecap: round; }
.d .ridge { fill: none; stroke: var(--d-ridge); stroke-width: 6; stroke-linecap: round; }
.d .ridge-o { fill: none; stroke: var(--d-ro-d); stroke-width: 6; stroke-linecap: round; }
.d .ridge-m { fill: none; stroke: var(--d-mt-l); stroke-width: 6; stroke-linecap: round; }
.d .vent { fill: var(--d-vent); }
.d .flash { fill: var(--d-flash); } .d .flash-o { fill: var(--d-flash-o); }
.d .brick { fill: var(--d-brick); } .d .brick-s { fill: var(--d-brick-s); } .d .brick-l { fill: none; stroke: var(--d-brick-l); stroke-width: 1.4; }
.d .cap { fill: var(--d-cap); } .d .cap-o { fill: var(--d-cap-o); }
.d .crack { fill: var(--d-line); }
.d .gut { fill: var(--d-gut); } .d .gut-o { fill: var(--d-gut-o); }
.d .dent-g { fill: var(--d-dent-g); }
.d .tarp { fill: var(--d-tarp); } .d .tarp-g { fill: var(--d-tarp); }
.d .tarp-l { fill: none; stroke: var(--d-tarp-l); stroke-width: 1.6; }
.d .batt { fill: none; stroke: var(--d-batt); stroke-width: 5; stroke-linecap: round; }
.d .hail-d { fill: var(--d-hail-d); }
.d .branch { fill: none; stroke: var(--d-branch); stroke-width: 5; stroke-linecap: round; }
.d .leaf { fill: var(--d-leaf); }
.d .lad { fill: none; stroke: var(--d-lad); stroke-width: 4.5; stroke-linecap: round; }
.d .lad-r { fill: none; stroke: var(--d-lad); stroke-width: 3; }
.d .amb { fill: var(--d-amb); } .d .amb-l { fill: none; stroke: var(--d-amb); stroke-width: 3; }
.d .truck { fill: var(--d-truck); } .d .tire { fill: var(--d-tire); } .d .hub { fill: var(--d-hub); }
.d .bun { fill: var(--d-bun); } .d .bun-s { fill: var(--d-bun-s); }
.d .pipe { fill: var(--d-pipe); }
.d .hl { fill: none; stroke: var(--d-amb); stroke-width: 3.5; stroke-dasharray: 9 6; stroke-linejoin: round; }
.d .ply { fill: var(--d-ply); } .d .ply-e { fill: var(--d-ply-e); } .d .ply-l { fill: none; stroke: var(--d-ply-l); stroke-width: 1.6; }
.d .drip { fill: var(--d-drip); } .d .drip-e { fill: var(--d-cap); }
.d .iws { fill: var(--d-iws); } .d .iws-e { fill: var(--d-iws-e); }
.d .un-e { fill: var(--d-un-l); } .d .rf-e { fill: var(--d-rf-d); } .d .vent-e { fill: var(--d-ridge); }
.d .mem { fill: var(--d-mem); } .d .mem-l { fill: none; stroke: var(--d-mem-l); stroke-width: 2; } .d .mem-d { fill: var(--d-mem-d); }
.d .dump { fill: var(--d-dump); } .d .dump-l { fill: var(--d-dump-l); }
.d .mag { fill: var(--d-mag); }
.d .ac { fill: var(--d-ac); } .d .ac-l { fill: none; stroke: var(--d-ac-l); stroke-width: 1.6; }
.d .gran { fill: var(--d-gran); }
.d .lead { fill: none; stroke: var(--d-line); stroke-width: 1.6; }
.d .lead-dot { fill: var(--d-line); }
.d .mk { fill: var(--green); } .d .mk-ring { fill: var(--paper); stroke: var(--d-line); stroke-width: 1.5; }
.d .mk-t { fill: var(--on-green); font: 800 15px var(--num); text-anchor: middle; }
.d .mk-a { fill: var(--amber); } .d .mk-a-ring { fill: var(--paper); stroke: var(--d-line); stroke-width: 1.5; }
.d .mk-a-t { fill: var(--on-amber); font: 800 15px var(--num); text-anchor: middle; }

/* Below 1200px the nav moves into a menu panel */
@media (max-width: 1199px) {
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; flex: none;
    font: 650 1rem var(--text); color: var(--ink); background: var(--paper); border: 1.5px solid var(--field-line); border-radius: 2px; cursor: pointer;
  }
  .menu-btn:hover { border-color: var(--ink); }
  .menu-lines { position: relative; width: 18px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
  .menu-lines::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
  .site-header.open .menu-lines { border-color: transparent; }
  .site-header.open .menu-lines::before, .site-header.open .menu-lines::after { content: ""; position: absolute; left: -1px; right: -1px; top: 3px; border-top: 2px solid currentColor; transform: rotate(45deg); }
  .site-header.open .menu-lines::before { transform: rotate(-45deg); }
  .nav {
    display: none; position: absolute; top: calc(100% + 1px); right: calc(-1 * var(--gutter)); left: calc(-1 * var(--gutter));
    flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 28px; background: var(--paper); border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--header-h) - 52px); overflow-y: auto;
  }
  .site-header.open .nav { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { display: flex; min-height: 52px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; border-radius: 0; }
  .nav-list a[aria-current] { box-shadow: inset 4px 0 0 var(--green); padding-left: 14px; }
  .nav-extra { display: grid; gap: 10px; margin-top: 20px; }
  .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-side { max-width: 640px; }
  .svc-grid { gap: 18px; }
  .svc-body { padding: 20px 20px 14px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-copy { max-width: 720px; }
  .project, .project:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .project:nth-child(even) .ba { order: 0; }
  .project-copy { max-width: 720px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .split, .split-rev { grid-template-columns: minmax(0, 1fr); }
  .split-rev .split-art { order: 0; }
  .est-grid { grid-template-columns: minmax(0, 1fr); }
  .mat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .header-phone { display: none; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .svc-art { aspect-ratio: auto; min-height: 200px; border-bottom: 0; border-right: 1px solid var(--line); }
  .svc-art svg { position: relative; }
  .reviews { grid-template-columns: minmax(0, 1fr); }
  .area-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-row { grid-template-columns: minmax(0, 1fr); }
  .card-grid-3 { grid-template-columns: minmax(0, 1fr); }
  .section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --header-h: 68px; }
  body { font-size: 1rem; }
  .logo { gap: 9px; font-size: 1.22rem; }
  .logo-mark { width: 32px; height: 32px; }
  .header-est { display: none; }
  .hero { --overhang: 86px; }
  .hero h1 { font-size: clamp(2.2rem, 10.4vw, 3rem); }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .hero-frame svg { aspect-ratio: auto; height: 250px; }
  .fact-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .fact, .fact:nth-child(3) { padding: 16px 0; border-left: 0; border-top: 1px solid var(--line); }
  .fact:first-child { border-top: 0; }
  .svc-card { display: flex; }
  .svc-art { aspect-ratio: 16 / 10; min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 0 18px; }
  .step-badge { grid-row: span 2; margin-bottom: 0; }
  .ba-tag { top: 8px; padding: 3px 8px; font-size: .8rem; }
  .ba-tag-before { left: 8px; }
  .ba-tag-after { right: 8px; }
  .ba-handle { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .ba-stage { aspect-ratio: 4 / 3; }
  .spec div { grid-template-columns: 84px 1fr; }
  .checks-2, .keyed, .choices, .card-grid { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .mat-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq-list summary { font-size: 1.1rem; }
  .faq-list .answer { padding-right: 0; }
  .est-card { padding: 22px 20px 24px; }
  .form-card { padding: 22px 18px; }
  .storm-steps li { grid-template-columns: 52px minmax(0, 1fr); gap: 4px 16px; }
  .storm-steps li::before { width: 46px; height: 46px; }
}
@media (max-width: 360px) {
  .header-row { gap: 10px; }
  .logo { font-size: 1.06rem; gap: 7px; }
  .logo-mark { width: 28px; height: 28px; }
  .menu-btn { padding: 0 11px; gap: 8px; }
  .hero h1 { font-size: 2.05rem; }
  .page-hero h1 { font-size: 2.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .skip, .cta-band, #estimate-form, .result-actions, .ba-handle { display: none !important; }
  body { padding-bottom: 0; }
  .hero, .page-hero { background: none; color: #000; }
}

/* Showcase bar. Showcase chrome, not part of any template: Lumen Alto's night colors
   in every template and style, removed when a template becomes a client site.
   build.py appends this to base.css (Standard) and inlines it in single-page templates. */
.sc-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px; height: 52px; padding: 0 clamp(16px, 3vw, 40px);
  background: #000000; color: #f2f0eb; border-top: 1px solid rgba(242, 240, 235, .16);
  font: 500 .9rem/1 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; text-transform: none;
  overflow-x: auto; white-space: nowrap;
}
.sc-bar a { color: #f2f0eb; text-decoration: none; }
.sc-bar a:hover { text-decoration: underline; }
.sc-bar :focus-visible { outline: 2px solid #f2f0eb; outline-offset: 2px; }
.sc-home { font-weight: 700; padding-right: 16px; border-right: 1px solid rgba(242, 240, 235, .24); }
.sc-label { color: rgba(242, 240, 235, .62); }
.sc-styles { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sc-styles li { flex-shrink: 0; text-wrap: nowrap; }
.sc-styles a { display: inline-block; padding: 7px 12px; border: 1px solid transparent; border-radius: 2px; }
.sc-styles a[aria-current] { border-color: rgba(242, 240, 235, .5); }
@media print { .sc-bar { display: none; } }

/* Template look switcher (2026-11-02): a bar at the top of every template page, above the site's
   header, and a corner "Next look" button once the bar scrolls away. Industry sites keep .sc-bar. */
.sc-looks {
  position: relative; z-index: 60;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  padding: 12px clamp(16px, 3vw, 40px);
  background: #000000; color: #f2f0eb; border-bottom: 1px solid rgba(242, 240, 235, .16);
  font: 500 15px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; text-transform: none; text-align: left;
}
.sc-looks a { color: #f2f0eb; text-decoration: none; }
.sc-looks :focus-visible, .sc-pill:focus-visible { outline: 2px solid #f2f0eb; outline-offset: 3px; }
.sc-looks p { margin: 0; }
.sc-looks-home { font-weight: 700; padding-right: 14px; border-right: 1px solid rgba(242, 240, 235, .24); }
.sc-looks-home:hover { text-decoration: underline; }
.sc-looks-prompt { font-weight: 700; }
.sc-looks-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sc-looks-list a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 13px 0 7px;
  border: 1px solid rgba(242, 240, 235, .38); border-radius: 999px; white-space: nowrap; font-size: 14px;
}
.sc-looks-list a:hover { border-color: #f2f0eb; background: rgba(242, 240, 235, .1); }
.sc-looks-list a[aria-current] { border: 2px solid #f2f0eb; padding: 0 12px 0 6px; background: rgba(242, 240, 235, .14); font-weight: 700; }
.sc-sw {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--a) 0 50%, var(--b) 50% 100%);
  box-shadow: 0 0 0 1px rgba(242, 240, 235, .55);
}
.sc-looks-count { margin-left: auto !important; color: rgba(242, 240, 235, .78); white-space: nowrap; }
.sc-looks-cur { display: none; }
.sc-looks-next, .sc-pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 18px; border-radius: 999px;
  background: #f2f0eb; color: #000000 !important; font-weight: 700; white-space: nowrap;
}
.sc-looks-next:hover, .sc-pill:hover { background: #ffffff; }
.sc-vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sc-pill {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; gap: 10px; min-height: 46px;
  font: 700 15px/1 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; text-transform: none; text-decoration: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .7), 0 8px 24px rgba(0, 0, 0, .35);
}
.sc-pill[hidden] { display: none; }
.sc-pill-count { font-weight: 500; color: #3a3a3a; }
/* The prompt needs the most room, then the names. Below 1440px the prompt goes; below 1200px the
   names give way to swatches (names stay as tooltips) and the count names the current look. */
@media (max-width: 1439px) { .sc-looks-prompt { display: none; } }
@media (max-width: 1199px) {
  .sc-looks-name { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sc-looks-list a, .sc-looks-list a[aria-current] { width: 40px; padding: 0; justify-content: center; }
  .sc-looks-list a[aria-current] .sc-sw { box-shadow: 0 0 0 2px #000000, 0 0 0 4px #f2f0eb; }
  .sc-looks-list a { border-color: transparent; }
  .sc-looks-list a[aria-current] { border-color: transparent; background: none; }
  .sc-looks-cur { display: inline; color: #f2f0eb; font-weight: 700; }
}
@media (max-width: 760px) {
  .sc-looks { padding-block: 10px; }
  .sc-looks-home { order: 1; }
  .sc-looks-next { order: 2; margin-left: auto; }
  .sc-looks-count { order: 3; flex-basis: 100%; margin-left: 0 !important; }
  .sc-looks-list { order: 4; }
  .sc-pill-count { display: none; }
}
@media print { .sc-looks, .sc-pill { display: none !important; } }
