/* Hallmark · shape: the pitch line (one slanted line splits every reveal, then the page shows what sits under the after) · genre: editorial · theme: custom · job: hire · idea: "Barton's own before and after, split on one slanted pitch line, then what goes under the after" · vibe: "heavy oblique caps, logo maroon, real job photos"
 * paper: oklch(98.5% 0.004 250) · accent: oklch(36.5% 0.111 19) · display: Asap 800 italic · body: Asap 400/600 · hero: Barton's own Project 4 before/after as a drag slider slashed at the pitch line, bleeding off the right edge, the tagline stacked in heavy oblique caps on the left · nav: wordmark with their logo's roof line, four links, maroon call button · footer: charcoal band with the business facts and the photo credit · imagery: photographs, the business's own (bartonroof.com portfolio) · signature: the pitch line slider on their own before/after
 * axes: light/grotesk-heavy/warm · posture: full palette (logo maroon field for the proposal band and the closing house, cedar seals the before side, charcoal ink, galvanized grey bands) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V5 · weakest: P, a redesign of their own words risks reading as a brochure; the reveal and the cross-section make every claim something you can see */
/* Hallmark · dismissed F1 · the one straight quote is the Netlify honeypot label, hidden, kept verbatim as the factory requires */
/* Hallmark · dismissed F4 · the phone call bar repeats the one call action and shows only once the hero call button has scrolled away */
/* Hallmark · hero-review: fix · 5 findings · 5 resolved (1920 facts band re-centred, "since 1976." folded into the h1 at a second size, optical indent on the S of SPOKANE, a Drag chip under the handle, caption shortened) */
/* Hallmark · finish-review: folded into Impeccable critique A · 7 findings · 6 resolved, 1 partial (1 Project 3 halves framed on the same chimney, wider gutter, no handle: resolved · H2 due band stacked around a huge 15 TO 25 YEARS.: partial, no picture added · H3 job head at display size with the warranty line: resolved · H4 table capped at 64rem, 44/56 columns: resolved · H5 due no longer head-left/content-right: resolved · H6 "Shingle, tile and slate.": resolved · H7 lighter rafter fill: resolved) */
/* Hallmark · sweep: Floor 0 FAIL · 0 WARN (58 screen budget trimmed to 80) · 38ii waived · F1, F4 dismissed */
/* Hallmark · waive 38ii · every h1 and h2 is Asap 800 true italic with font-synthesis none · their logo sets BARTON ROOFING in heavy oblique caps, so the italic display is their own voice */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- page frame ---------- */
body { font-size: var(--text-md); line-height: 1.55; }
li, td, figcaption { text-wrap: pretty; }
.preview-bar { margin: 0; padding: var(--space-xs) var(--gutter); background: var(--color-ink); color: var(--color-on-dark-muted); font-size: var(--text-xs); line-height: 1.4; text-align: center; }

/* ---------- header ---------- */
.site-head { background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
.head-row { display: flex; align-items: center; gap: var(--space-lg); min-height: 76px; }
.wordmark { display: inline-flex; flex-direction: column; gap: var(--space-3xs); text-decoration: none; color: var(--color-ink); min-height: 44px; justify-content: center; }
.wordmark-roof { width: 100%; max-width: 178px; height: 12px; }
.wordmark-roof path { fill: none; stroke: var(--color-accent); stroke-width: 3; stroke-linejoin: miter; }
.wordmark-roof rect { fill: var(--color-accent); }
.wordmark-name { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 1.375rem; line-height: 1.05; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.wordmark-line { font-size: 0.875rem; line-height: 1.3; color: var(--color-muted); white-space: nowrap; }
.head-nav { display: flex; gap: var(--space-lg); margin-inline-start: auto; }
.head-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: var(--text-sm); color: var(--color-ink); text-decoration: none; }
.head-nav a:hover { color: var(--color-accent); text-decoration: underline; text-underline-offset: 0.3em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 52px; padding: 0 var(--space-lg); border: 2px solid var(--color-accent); border-radius: var(--radius-card); background: var(--color-accent); color: var(--color-accent-ink); font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: var(--text-lg); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-accent-2); border-color: var(--color-accent-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-head { min-height: 48px; font-size: var(--text-md); padding: 0 var(--space-md); }
.link-quiet { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-2xs); font-weight: 600; color: var(--color-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; text-decoration-color: var(--color-accent); }
.link-quiet:hover { color: var(--color-accent); }
.link-quiet:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }

/* ---------- hero: the reveal ---------- */
.hero { padding-block: var(--space-xl); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: center; }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-lg); min-width: 0; }
.hero h1 { font-weight: 800; font-style: italic; font-size: var(--text-display); line-height: 1.04; letter-spacing: var(--tracking-display); text-transform: uppercase; color: var(--color-ink); max-width: 9.5em; }
.h1-main, .h1-since { display: block; }
.h1-since { margin-top: var(--space-xs); font-size: 0.58em; }
.optical-s { margin-inline-start: 0.035em; }
.hero-line { font-size: var(--text-lead); line-height: 1.45; color: var(--color-ink-2); max-width: 24em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-lg); }

.reveal { margin: 0; min-width: 0; margin-inline-end: calc(var(--gutter) * -1); }
.reveal-frame { --p: 50%; position: relative; aspect-ratio: 756 / 484; overflow: hidden; background: var(--color-paper-3); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; clip-path: polygon(calc(var(--pitch-s) * 2) 0, 100% 0, 100% 100%, 0 100%); }
.reveal-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.reveal-after { clip-path: polygon(calc(var(--p) + var(--pitch-s)) 0, 100% 0, 100% 100%, calc(var(--p) - var(--pitch-s)) 100%); }
.reveal-line { position: absolute; inset: 0; transform: translateX(calc(var(--p) - 50%)); pointer-events: none; }
.reveal-line::before { content: ""; position: absolute; left: 50%; top: -10%; width: 6px; height: 120%; background: var(--color-paper); transform: translateX(-50%) rotate(var(--pitch-tilt)); }
.reveal-handle { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--color-accent); color: var(--color-accent-ink); box-shadow: 0 0 0 4px var(--color-paper); transform: translate(-50%, -50%); pointer-events: auto; cursor: ew-resize; touch-action: none; }
.reveal-handle svg { width: 30px; height: 30px; pointer-events: none; }
.reveal-handle svg path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: square; }
.reveal-handle:hover { background: var(--color-accent-2); }
.reveal-handle:focus-visible { outline: 3px solid var(--color-ink); outline-offset: 6px; }
.reveal-hint { position: absolute; left: 50%; top: calc(50% + 40px); padding: var(--space-3xs) var(--space-xs); background: var(--color-ink); color: var(--color-on-dark); font-size: 0.875rem; font-weight: 600; line-height: 1.3; transform: translateX(-50%); pointer-events: none; }
.plate { position: absolute; top: var(--space-md); padding: var(--space-2xs) var(--space-sm); font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: var(--text-plate); line-height: 1.2; letter-spacing: 0.04em; text-transform: uppercase; pointer-events: none; }
.plate-before { left: calc(var(--pitch-s) * 2 + var(--space-md)); background: var(--color-cedar); color: var(--color-cedar-ink); }
.plate-after { right: var(--space-md); background: var(--color-accent); color: var(--color-accent-ink); }
.reveal figcaption { margin-top: var(--space-sm); padding-inline-end: var(--gutter); font-size: var(--text-sm); line-height: 1.45; color: var(--color-muted); text-align: right; }

/* ---------- facts strip under the hero ---------- */
.facts { background: var(--color-ink); color: var(--color-on-dark); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-block: 0; padding-block: var(--space-lg); list-style: none; }
.facts-grid > li { padding-inline: var(--space-lg); border-inline-start: var(--rule-hair) solid var(--color-ink-2); }
.facts-grid > li:first-child { padding-inline-start: 0; border-inline-start: 0; }
.facts-grid > li { font-weight: 600; font-size: var(--text-md); line-height: 1.35; color: var(--color-on-dark); }

/* ---------- shared section type ---------- */
main h2 { font-weight: 800; font-style: italic; font-size: var(--text-section); line-height: 1.04; letter-spacing: var(--tracking-display); text-transform: uppercase; color: var(--color-ink); max-width: 16em; }
main h3 { font-family: var(--font-body); font-style: normal; font-weight: 600; font-size: var(--text-title); line-height: 1.3; }

/* ---------- is it due ---------- */
.due { background: var(--color-paper-2); padding-block: var(--space-3xl); }
.due-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
.due-figure { display: flex; flex-direction: column; gap: var(--space-sm); }
.years-plate { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: clamp(3rem, 6.4vw + 1rem, 8.5rem); line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-ink); }
.due-note { font-size: var(--text-lead); line-height: 1.45; color: var(--color-ink-2); }
.due-signs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap-columns); max-width: 60rem; padding-top: var(--space-lg); border-top: var(--rule-heavy) solid var(--color-ink); }
.due-signs ul { margin: var(--space-md) 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--space-sm); }
.due-signs li { position: relative; padding-inline-start: var(--space-lg); line-height: 1.45; }
.due-signs li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 12px; background: var(--color-cedar); transform: skewX(calc(var(--pitch-tilt) * -1)); }

/* ---------- four more roofs ---------- */
.roofs { padding-block: var(--space-4xl) var(--space-3xl); }
.pair { margin: var(--space-xl) 0 0; }
.pair-frame { position: relative; aspect-ratio: 1 / 0.42; }
.pair-side { position: absolute; top: 0; bottom: 0; width: 58%; overflow: hidden; background: var(--color-paper-3); }
.pair-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pair-before { left: 0; clip-path: polygon(0 0, 100% 0, 84.6% 100%, 0 100%); }
.pair-after { right: 0; clip-path: polygon(31.3% 0, 100% 0, 100% 100%, 15.9% 100%); }
/* both halves frame the same roof: the before zoomed onto the wing with the chimney, the after shifted so its chimney clears the slant */
.pair-before img { transform: scale(1.75); transform-origin: 85% 48%; }
.pair-after img { left: 12%; }
.pair .plate-before { left: var(--space-md); }
.pair .plate-after { right: var(--space-md); }
.pair figcaption, .jobs figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); line-height: 1.45; color: var(--color-muted); }
.jobs { margin: var(--space-2xl) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.jobs figure { margin: 0; }
.jobs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--color-paper-3); }

/* ---------- what goes under the after ---------- */
.under { background: var(--color-paper-2); padding-block: var(--space-3xl); }
.under-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-xl) var(--gap-columns); align-items: center; }
.under-head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-lg) var(--gap-columns); }
.under-lead { font-size: var(--text-lead); line-height: 1.45; color: var(--color-ink-2); max-width: 26em; }
.under-figure { margin: 0; min-width: 0; }
.diagram { width: 100%; height: auto; }
.d-wall { fill: var(--color-paper-3); stroke: var(--color-ink-2); stroke-width: 1.5; }
.d-siding { stroke: var(--color-rule); stroke-width: 1.5; }
.d-rafter, .d-fascia { fill: var(--color-rafter); stroke: var(--color-ink-2); stroke-width: 1.5; }
.d-deck { fill: var(--color-osb); stroke: var(--color-ink-2); stroke-width: 1; }
.d-ice { fill: var(--color-accent); }
.d-felt { fill: var(--color-muted); }
.d-shingle { fill: var(--color-ink); }
.d-course { stroke: var(--color-muted); stroke-width: 1.5; }
.d-metal { fill: none; stroke: var(--color-steel); stroke-width: 4; stroke-linejoin: miter; }
.d-guide { stroke: var(--color-muted); stroke-width: 1.5; stroke-dasharray: 4 4; }
.d-dim { stroke: var(--color-ink); stroke-width: 2; }
.d-label { font-family: var(--font-body); font-weight: 600; font-size: 24px; fill: var(--color-ink); }
.d-leader { stroke: var(--color-ink); stroke-width: 2; }
.d-dot { fill: var(--color-ink); }
.d-marker { fill: var(--color-accent); }
.d-num { font-variant-numeric: tabular-nums; font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 24px; fill: var(--color-accent-ink); }
.parts { margin: 0; padding: 0; list-style: none; counter-reset: part; display: flex; flex-direction: column; gap: var(--space-md); }
.parts li { counter-increment: part; position: relative; padding-inline-start: calc(36px + var(--space-md)); min-height: 36px; line-height: 1.45; }
.parts li::before { content: counter(part); position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--color-accent); color: var(--color-accent-ink); font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: var(--text-md); }
.parts b { font-weight: 600; }

/* ---------- the homeowner's checklist ---------- */
.check { padding-block: var(--space-4xl) var(--space-3xl); }
.check-table { width: 100%; max-width: 64rem; margin-top: var(--space-xl); border-collapse: collapse; font-variant-numeric: tabular-nums; }
.check-table th { padding: 0 var(--space-lg) var(--space-sm) 0; text-align: left; font-weight: 600; font-size: 1rem; color: var(--color-muted); white-space: nowrap; }
.check-table td { width: 56%; padding: var(--space-lg) var(--space-lg) var(--space-lg) 0; border-top: var(--rule-hair) solid var(--color-rule); vertical-align: top; line-height: 1.45; }
.check-table tbody tr:first-child td { border-top: var(--rule-heavy) solid var(--color-ink); }
.check-table td:first-child { width: 44%; color: var(--color-ink-2); font-size: var(--text-lead); }
.check-table td:last-child { font-weight: 600; font-size: var(--text-lead); color: var(--color-ink); }

/* ---------- how a job runs: the proposal ---------- */
.job { background: var(--color-accent); color: var(--color-accent-ink); padding-block: var(--space-4xl); }
.job h2 { color: var(--color-accent-ink); font-size: var(--text-display); }
.job-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xl) var(--gap-columns); align-items: center; }
.job-head { display: flex; flex-direction: column; gap: var(--space-lg); }
.job-lead { font-size: var(--text-lead); line-height: 1.5; color: var(--color-accent-ink); max-width: 28em; }
.proposal { background: var(--color-paper); color: var(--color-ink); padding: var(--space-xl); border-top: var(--rule-heavy) solid var(--color-ink); }
.proposal-title { font-weight: 600; font-size: var(--text-title); line-height: 1.3; }
.proposal-lines { margin: var(--space-md) 0 0; padding: 0; list-style: none; counter-reset: line; }
.proposal-lines li { counter-increment: line; display: grid; grid-template-columns: 2.25em minmax(0, 1fr); gap: var(--space-sm); padding-block: var(--space-sm); border-top: var(--rule-hair) dashed var(--color-rule); line-height: 1.45; }
.proposal-lines li::before { content: counter(line, decimal-leading-zero); font-variant-numeric: tabular-nums; font-weight: 600; color: var(--color-accent); }
.total-plate { margin-top: var(--space-xs); padding-top: var(--space-md); border-top: var(--rule-heavy) double var(--color-ink); font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: clamp(1.75rem, 1.6vw + 1.1rem, 2.5rem); line-height: 1.1; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-accent); }

/* ---------- free estimate ---------- */
.estimate { padding-block: var(--space-4xl); }
.estimate-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl) var(--gap-columns); align-items: start; }
.estimate-call { display: flex; flex-direction: column; gap: var(--space-lg); }
.house { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: var(--space-2xs); aspect-ratio: 224 / 120; padding: var(--space-xl) var(--space-lg) var(--space-lg); color: var(--color-ink); text-decoration: none; text-align: center; }
.house-outline { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.house-outline path { fill: var(--color-paper); stroke: var(--color-accent); stroke-width: 6; vector-effect: non-scaling-stroke; stroke-linejoin: miter; }
.house-outline rect { fill: var(--color-accent); }
.house-wordmark, .house-num { position: relative; }
.house-wordmark { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: clamp(1.375rem, 1.2vw + 0.9rem, 2rem); line-height: 1.05; letter-spacing: 0.045em; text-transform: uppercase; }
.house-num { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: clamp(1.75rem, 2vw + 1rem, 3rem); line-height: 1.1; letter-spacing: 0.04em; white-space: nowrap; color: var(--color-ink); font-variant-numeric: tabular-nums; }
.house:hover .house-num { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.18em; }
.house:hover .house-outline path { stroke: var(--color-accent-2); }
.house:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 6px; }
.estimate-facts { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--space-2xs); color: var(--color-ink-2); }
.estimate-facts a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--color-ink); text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; }
.estimate-facts a:hover { color: var(--color-accent); }
.estimate-facts a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.estimate-form { display: flex; flex-direction: column; gap: var(--space-lg); min-width: 0; }
.form { display: flex; flex-direction: column; gap: var(--space-lg); }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-lg); }
.field { display: flex; flex-direction: column; gap: var(--space-xs); min-width: 0; }
.field label, .choices legend { font-weight: 600; font-size: var(--text-sm); line-height: 1.4; color: var(--color-ink); }
.field input, .field textarea { width: 100%; min-height: 52px; padding: var(--space-sm) var(--space-md); border: 2px solid var(--color-muted); border-radius: var(--radius-card); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); line-height: 1.4; transition: border-color var(--dur-micro) var(--ease-out); }
.field textarea { min-height: 128px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--color-ink-2); }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--color-focus); outline-offset: -1px; }
.field input:disabled, .field textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.choices { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: var(--space-sm); min-width: 0; }
.choices legend { margin-bottom: var(--space-xs); padding: 0; }
.choice { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-md); border: 2px solid var(--color-muted); border-radius: var(--radius-card); background: var(--color-paper); font-weight: 600; font-size: var(--text-sm); cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out); }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--color-accent); }
.choice:hover { border-color: var(--color-ink-2); }
.choice:has(input:checked) { border-color: var(--color-accent); background: var(--color-paper-2); }
.choice:has(input:focus-visible) { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.choice input:focus-visible { outline: none; }
.btn-send { align-self: flex-start; }
.form-note { padding: var(--space-md); background: var(--color-paper-2); border-inline-start: var(--rule-heavy) solid var(--color-accent); font-weight: 600; line-height: 1.5; }
.form-note a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-accent); text-decoration-thickness: 2px; }
.form-note a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }

/* ---------- footer ---------- */
.site-foot { background: var(--color-ink); color: var(--color-on-dark); padding-block: var(--space-2xl); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-lg) var(--gap-columns); align-items: start; }
.foot-wordmark { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: var(--text-xl); line-height: 1.1; letter-spacing: 0.045em; text-transform: uppercase; }
.foot-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-xl); }
.foot-list li { display: inline-flex; align-items: center; min-height: 44px; }
.foot-list a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-on-dark); font-weight: 600; text-decoration-thickness: 1px; }
.foot-list a:hover { color: var(--color-cedar); }
.foot-list a:focus-visible { outline: 3px solid var(--color-focus-on-dark); outline-offset: 2px; }
.foot-credit { grid-column: 2; font-size: var(--text-sm); line-height: 1.5; color: var(--color-on-dark-muted); max-width: 60em; }

/* ---------- phone call bar ---------- */
.btn-callbar { display: none; }

/* ---------- small screens ---------- */
@media (max-width: 64rem) {
  .head-nav { display: none; }
  .head-row { justify-content: space-between; }
  .hero { padding-block: 0 var(--space-xl); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .reveal { order: -1; margin-inline: calc(var(--gutter) * -1); }
  .reveal-frame { clip-path: none; }
  .plate-before { left: var(--space-sm); }
  .plate-after { right: var(--space-sm); }
  .plate { top: var(--space-sm); }
  .reveal figcaption { padding-inline: var(--gutter); text-align: left; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-lg); }
  .facts-grid > li:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .due-grid, .under-grid, .job-grid, .estimate-grid { grid-template-columns: minmax(0, 1fr); }
  .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jobs li:first-child { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-credit { grid-column: auto; }
  .btn-callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky); display: flex; align-items: center; justify-content: center; min-height: var(--bar-h); padding: 0 var(--space-md) env(safe-area-inset-bottom); background: var(--color-accent); color: var(--color-accent-ink); font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: var(--text-lg); letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
  .js .btn-callbar { transform: translateY(110%); visibility: hidden; transition: transform var(--dur-short) var(--ease-out), visibility 0s linear var(--dur-short); }
  .js .btn-callbar.is-on { transform: none; visibility: visible; transition: transform var(--dur-short) var(--ease-out), visibility 0s linear 0s; }
  .btn-callbar:focus-visible { outline: 3px solid var(--color-focus-on-dark); outline-offset: -6px; }
  .site-foot { padding-bottom: calc(var(--space-2xl) + var(--bar-h)); }
}
@media (max-width: 40rem) {
  .head-row { min-height: 60px; gap: var(--space-sm); }
  .wordmark-name { font-size: 1.125rem; }
  .wordmark-roof { max-width: 146px; height: 10px; }
  .head-num { display: none; }
  .hero h1 { font-size: clamp(2.125rem, 9.4vw, 2.75rem); line-height: 1.04; }
  .hero-text { gap: var(--space-md); }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .reveal-handle { width: 48px; height: 48px; }
  .facts-grid { grid-template-columns: minmax(0, 1fr); }
  .facts-grid > li { padding-inline: 0; border-inline-start: 0; }
  .due, .under, .job { padding-block: var(--space-2xl); }
  .roofs, .check, .estimate { padding-block: var(--space-2xl); }
  .due-signs { grid-template-columns: minmax(0, 1fr); }
  .pair-frame { aspect-ratio: 1 / 0.8; }
  .pair-before { clip-path: polygon(0 0, 100% 0, 70.7% 100%, 0 100%); }
  .pair-after { clip-path: polygon(31.3% 0, 100% 0, 100% 100%, 2% 100%); }
  .pair-before img { transform: none; object-position: 85% 50%; }
  .pair-after img { left: 0; object-position: 0% 50%; }
  .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--space-sm); }
  .jobs > li:first-child { grid-column: 1 / -1; }
  .check-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .check-table tr { display: block; padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
  .check-table tbody tr:first-child { border-top: var(--rule-heavy) solid var(--color-ink); }
  .check-table td, .check-table tbody tr:first-child td { display: block; width: auto; padding: 0; border: 0; }
  .check-table td + td { margin-top: var(--space-xs); }
  .check-table td:first-child { width: auto; }
  .check-table td::before { content: attr(data-label); display: block; font-size: 1rem; font-weight: 600; color: var(--color-muted); }
  .check-table tbody tr + tr td::before { content: none; }
  .under-figure { margin-inline: calc(var(--gutter) * -1); }
  .d-label { font-size: 42px; }
  .d-pin { transform-box: fill-box; transform-origin: center; transform: scale(1.6); }
  .d-num { font-size: 31px; }
  .proposal { padding: var(--space-lg) var(--space-md); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .btn-send { align-self: stretch; }
  .house { padding: var(--space-xl) var(--space-md) var(--space-md); }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .reveal-after, .reveal-line, .choice, .field input, .field textarea { transition: none; }
  .js .btn-callbar, .js .btn-callbar.is-on { transition: none; }
}
