/* Square & Pitch: concept roofing site (Gelding Marketing playground)
   Direction: "the name as a monument" (taste draw seed 1110042277), palette redrawn from the roof itself:
   galvanised flashing grey, tar black, hi-vis orange. Motion personality: sturdy (no overshoot, short, firm). */

:root {
  --bg: #e7e9ea;          /* galvanised flashing */
  --surface: #d6dadc;
  --tone: #c3c9cd;
  --steel: #8e979d;
  --slate: #1b2227;       /* wet slate field */
  --slate-2: #2a3238;
  --ink: #111417;         /* tar */
  --ink-soft: #3d454b;
  --paper: #f4f5f5;
  --accent: #ff5b1f;      /* hi-vis orange: the one action */
  --accent-ink: #111417;
  --accent-text: #b93a09; /* orange dark enough for text on the light ground */
  --err: #a4200f;

  --m: clamp(16px, 4.8vw - 5px, 40px);
  --hdr: 64px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.5; font-optical-sizing: auto; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, [role="button"], label.chip, label.check { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h2[tabindex="-1"]:focus, h3[tabindex="-1"]:focus, div[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
.nw { white-space: nowrap; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; }
.skip:focus { top: 8px; }
.wrap { padding-left: var(--m); padding-right: var(--m); max-width: 1680px; margin-left: auto; margin-right: auto; }
.smp { font-weight: 400; opacity: .8; }
h2 { font-size: var(--step-head); line-height: 1; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }

/* ---------- concept banner ---------- */
.concept { background: var(--ink); color: var(--paper); font-size: var(--step-small); text-align: center; padding: 9px var(--m); }
.concept a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 0; border-radius: 0; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; user-select: none; -webkit-user-select: none;
  transition: scale 140ms var(--ease-out), background-color 160ms ease, color 160ms ease; }
.btn:active { scale: .97; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn-accent:hover { background: #ff7440; }
  .btn-ink:hover { background: var(--ink-soft); }
  .btn-line:hover { background: var(--ink); color: var(--paper); }
}

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 60; height: var(--hdr); display: flex; align-items: center; gap: 28px; padding: 0 var(--m); background: var(--bg); }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.125rem; letter-spacing: -0.02em; white-space: nowrap; color: var(--ink); }
.mark svg { width: 30px; height: 30px; flex-shrink: 0; }
.nav { display: flex; gap: 24px; flex: 1; }
.nav a, .tel { text-decoration: none; font-weight: 500; position: relative; }
.nav a::after, .tel::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--ease-out); }
.nav a:active, .tel:active { opacity: .7; }
@media (hover: hover) and (pointer: fine) { .nav a:hover::after, .tel:hover::after { transform: scaleX(1); } }
.tel { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hdr-q { min-height: 44px; padding: 10px 18px; }
.q-short { display: none; }
.menu-btn { display: none; align-items: center; gap: 10px; background: none; border: 0; padding: 10px 0; min-height: 44px; font-weight: 600; cursor: pointer; justify-self: start; transition: opacity 120ms ease; }
.menu-btn:active { opacity: .6; }
.bars, .bars::before, .bars::after { display: block; width: 20px; height: 3px; background: var(--ink); transition: transform 220ms var(--ease-out), opacity 150ms ease; }
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }
.menu { position: fixed; z-index: 55; left: 0; right: 0; top: var(--hdr); background: var(--bg); padding: 8px var(--m) 28px; display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 150ms ease, transform 150ms var(--ease-out), visibility 0s 150ms; }
.menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out), visibility 0s; }
.menu a { display: block; padding: 12px 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }
.menu a:active { opacity: .6; }
.menu .menu-tel { color: var(--accent-text); }

@media (max-width: 1100px) { .nav { display: none; } .hdr { justify-content: space-between; } .menu-btn { display: inline-flex; order: -1; } }
@media (max-width: 700px) {
  .hdr { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .tel { display: none; }
  .hdr-q { justify-self: end; white-space: nowrap; padding: 10px 16px; }
  .q-long { display: none; } .q-short { display: inline; }
  .mark { font-size: 1.0625rem; }
  .mark svg { width: 26px; height: 26px; }
}
@media (max-width: 380px) { .q-long { display: none; } .q-short { display: inline; } .mark span { font-size: 1rem; } .menu-btn span:not(.bars) { display: none; } }
@media (min-width: 701px) { .menu { display: none; } }

/* ---------- hero: name band and rails ---------- */
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 64px minmax(0, 1fr) auto; gap: 8px; padding: 8px var(--m);
  height: calc(100svh - var(--hdr) - 38px); min-height: 680px; max-height: 1180px; }
.t { background: var(--surface); }
.band { grid-column: 1 / -1; background: var(--ink); color: var(--paper); overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 0.5vw 0 1.2vw; }
.band h1 { font-weight: 800; font-size: clamp(100px, 15.2vw, 380px); line-height: .86; letter-spacing: -0.05em; white-space: nowrap; text-align: center; }
.band-name { display: block; }
.t-links { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.t-links a { display: flex; align-items: flex-start; padding: 14px 18px; text-decoration: none; font-weight: 600; font-size: 1.0625rem; transition: background-color 160ms ease, scale 140ms var(--ease-out); }
.t-links a:active { scale: .98; }
@media (hover: hover) and (pointer: fine) { .t-links a:hover { background: var(--tone); } }
.r-photo { grid-column: 1 / 3; grid-row: 3; overflow: hidden; }
.r-photo img, .main-photo img { width: 100%; height: 100%; object-fit: cover; }
.r-photo img { object-position: 60% 50%; }
.facts { grid-column: 1 / 3; grid-row: 4; padding: 16px 18px 18px; font-size: .9375rem; line-height: 1.35; }
.facts-h { font-weight: 700; margin-bottom: 8px; }
.facts li + li { margin-top: 4px; }
.main-photo { grid-column: 3 / 11; grid-row: 3; overflow: hidden; }
.main-photo img { object-position: 50% 40%; }
.statement { grid-column: 3 / 11; grid-row: 4; background: var(--bg); padding: 20px 24px 22px 0; }
.statement p { font-size: clamp(1.5rem, 1rem + 1.3vw, 2.25rem); line-height: 1.12; letter-spacing: -0.02em; font-weight: 500; max-width: 30ch; }
.rail { grid-column: 11 / 13; grid-row: 3 / 5; display: flex; flex-direction: column; gap: 8px; }
.rail p.t, .rail a.c4, .s-rail p.t, .s-rail a.c4 { display: block; }
.rail .t { flex: 1; padding: 14px 16px; font-size: .9375rem; line-height: 1.3; font-weight: 600; display: flex; align-items: flex-start; text-decoration: none; }
.rail .c1 { background: var(--paper); }
.rail .c2 { background: var(--surface); }
.rail .c3 { background: var(--steel); color: var(--ink); }
.rail .c4 { background: var(--slate-2); color: var(--paper); font-variant-numeric: tabular-nums; }
.rail .c5 { background: var(--accent); color: var(--accent-ink); font-size: 1.125rem; font-weight: 800; flex: 1.4; align-items: flex-end; justify-content: space-between; gap: 8px; }
.rail .c5 svg { width: 26px; height: 26px; flex-shrink: 0; transition: translate 200ms var(--ease-out); }
.rail a.t { transition: background-color 160ms ease, scale 140ms var(--ease-out); }
.rail a.t:active { scale: .97; }
@media (hover: hover) and (pointer: fine) {
  .rail .c4:hover { background: var(--ink); }
  .rail .c5:hover { background: #ff7440; }
  .rail .c5:hover svg { translate: 4px 0; }
}

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: auto auto minmax(300px, 1fr) auto auto; height: auto; min-height: 0; max-height: none; }
  .band h1 { font-size: 15.2vw; }
  .r-photo, .facts { display: none; }
  .main-photo { grid-column: 1 / -1; grid-row: 3; aspect-ratio: 16 / 9; }
  .statement { grid-column: 1 / -1; grid-row: 4; padding: 16px 12px 8px; }
  .rail { grid-column: 1 / -1; grid-row: 5; flex-direction: row; }
  .rail .t { min-height: 96px; }
  .rail .c5 { flex: 1.6; }
}
@media (max-width: 700px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px var(--m); grid-template-rows: auto auto auto auto auto; }
  .band { padding: 8px 0 12px; }
  .band h1 { font-size: 21.5vw; line-height: .84; text-align: left; white-space: normal; padding-left: 10px; }
  .bn-a, .bn-b { display: block; white-space: nowrap; }
  .t-links { grid-template-columns: 1fr 1fr; gap: 6px; }
  .t-links a { padding: 12px 14px; min-height: 52px; font-size: 1rem; }
  .main-photo { aspect-ratio: 4 / 3; }
  .statement { padding: 12px 10px 4px; }
  .statement p { font-size: 1.375rem; }
  .rail { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .rail .t { min-height: 72px; padding: 12px 14px; }
  .rail .c5 { grid-column: 1 / -1; min-height: 64px; align-items: center; }
}

/* ---------- reveals ---------- */
html.motion.rv-ready .rv:not(.is-in) > * { opacity: 0; transform: translateY(24px); }
html.motion.rv-ready .rv > * { transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: calc(var(--i, 0) * 75ms); }
html.motion.rv-ready .rv > .btn { transition: opacity 600ms var(--ease-out) calc(var(--i, 0) * 75ms), transform 600ms var(--ease-out) calc(var(--i, 0) * 75ms), scale 140ms var(--ease-out), background-color 160ms ease, color 160ms ease; }
.est-head p, .types-head p, .reroof-head p, .area-head p, .cl-head p, .looks-head p, .q-side > p, .res-note, .td-copy, .town-info p, .s-cta-act p, .after p, .foot-legal p, .credit-line, .cl-title { text-wrap: balance; }

/* ---------- estimate calculator ---------- */
.est { background: var(--slate); color: var(--paper); padding: clamp(80px, 10vw, 160px) 0; margin-top: clamp(64px, 8vw, 120px); }
.est-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.est-head h2 { grid-column: 1 / 7; }
.est-head p { grid-column: 8 / 13; max-width: 44ch; color: #c9ced1; }
.calc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.calc-in { grid-column: 1 / 7; display: grid; gap: 36px; align-content: start; }
.calc-out { min-width: 0; grid-template-columns: minmax(0, 1fr); grid-column: 7 / 13; background: var(--slate-2); padding: clamp(20px, 2.4vw, 36px); display: grid; gap: 24px; align-content: start; }
.ctl { border: 0; padding: 0; margin: 0; min-width: 0; }
.ctl legend, .ctl-top label { font-weight: 700; font-size: 1.125rem; padding: 0; margin-bottom: 14px; }
.ctl-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ctl-top output { font-weight: 700; font-size: var(--step-lead); font-variant-numeric: tabular-nums; }
.hint { font-size: var(--step-small); color: #b9c0c4; margin-top: 10px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; cursor: pointer; touch-action: pan-y; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; background: #3a444b; }
input[type="range"]::-moz-range-track { height: 8px; background: #3a444b; }
input[type="range"]::-moz-range-progress { height: 8px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; background: var(--paper); border: 0; border-radius: 0; transition: scale 140ms var(--ease-out); }
input[type="range"]::-moz-range-thumb { width: 30px; height: 30px; background: var(--paper); border: 0; border-radius: 0; }
input[type="range"]:active::-webkit-slider-thumb { scale: 1.12; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-pitch { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.chips-mat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chip { position: relative; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; background: #313a41; cursor: pointer; font-weight: 600; line-height: 1.2; user-select: none; -webkit-user-select: none;
  transition: background-color 160ms ease, color 160ms ease, scale 140ms var(--ease-out); }
.chips-pitch .chip { flex-direction: column; align-items: flex-start; gap: 6px; }
.chip em { font-style: normal; font-weight: 400; color: #b9c0c4; font-variant-numeric: tabular-nums; transition: color 160ms ease; }
.chip svg { width: 40px; height: 22px; }
.chip svg path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linejoin: miter; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip:active { scale: .97; }
.chip:has(input:checked) { background: var(--paper); color: var(--ink); }
.chip:has(input:checked) em { color: var(--ink-soft); }
.chip:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.chip:has(input:disabled) { opacity: .4; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) { .chip:hover:not(:has(input:checked)):not(:has(input:disabled)) { background: #3d474f; } }
.flat-note { margin-top: 10px; }
.checks { display: grid; gap: 8px; }
.check { position: relative; display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 8px 14px; background: #313a41; cursor: pointer; font-weight: 600; user-select: none; -webkit-user-select: none; transition: scale 140ms var(--ease-out), background-color 160ms ease; }
.check:active { scale: .98; }
.check input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.box { width: 26px; height: 26px; flex-shrink: 0; background: var(--slate); box-shadow: inset 0 0 0 2px var(--steel); display: grid; place-items: center; transition: background-color 160ms ease, box-shadow 160ms ease; }
.box svg { width: 18px; height: 18px; }
.box path { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: square; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset 220ms var(--ease-out) 60ms; }
.check input:checked + .box { background: var(--paper); box-shadow: none; }
.check input:checked + .box path { stroke-dashoffset: 0; }
.check:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .check:hover { background: #3d474f; } }

.house { width: 100%; height: auto; max-height: 300px; }
.h-ground { fill: #39434a; }
.h-wall { fill: #c9ced1; }
.h-win { fill: var(--slate); }
.h-door { fill: var(--steel); }
.h-eave { fill: var(--ink); }
.h-roof-wrap { transform-box: view-box; transform-origin: 200px 150px; transform: scaleY(var(--pitch, .5)); transition: transform 450ms var(--ease-io); }
.h-gutter rect { fill: #9aa9b3; }
.h-gutter { opacity: 0; transform: translateY(-6px); transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out); }
.h-gutter.is-on { opacity: 1; transform: none; }
.res-label { font-size: var(--step-lead); font-weight: 700; letter-spacing: -0.01em; color: var(--paper); }
.res-range { font-size: clamp(2.25rem, 1.1rem + 2.8vw, 4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; font-variant-numeric: tabular-nums; margin-top: 8px; }
.res-range .nw { white-space: nowrap; }
.res-range .to { font-weight: 500; }
.res-break { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 20px; }
.res-break div { background: var(--slate); padding: 10px 12px; }
.res-break dt { font-size: var(--step-small); color: #b9c0c4; }
.res-break dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.res-note { font-size: .9375rem; color: #c9ced1; margin: 18px 0 22px; max-width: 52ch; }
@media (max-width: 1000px) {
  .est-head h2, .est-head p { grid-column: 1 / -1; }
  .calc-in, .calc-out { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .chips-pitch { grid-template-columns: 1fr 1fr; }
  .res-break { grid-template-columns: 1fr; }
  .calc-out { padding: 18px 16px 22px; }
  .calc-out .btn { width: 100%; }
}
@media (max-width: 360px) { .chips-mat { grid-template-columns: 1fr; } }

/* ---------- roof types: band of unequal panels ---------- */
.types { padding: clamp(96px, 11vw, 200px) 0 0; }
.types-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; margin-bottom: 48px; }
.types-head h2 { grid-column: 1 / 7; }
.types-head p { grid-column: 8 / 13; max-width: 40ch; }
.band-panels { display: flex; margin: 0 var(--m); height: 68svh; min-height: 420px; max-height: 760px; }
.panel { position: relative; flex: 2 1 0; min-width: 0; border: 0; padding: 0; margin: 0; overflow: hidden; cursor: pointer; background: var(--slate); text-align: left; transition: flex-grow 500ms var(--ease-io); }
.panel[aria-pressed="true"] { flex-grow: 6; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 600ms var(--ease-out); }
.panel .p-name { position: absolute; left: 0; top: 0; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 1.125rem; line-height: 1.2; padding: 12px 16px; max-width: calc(100% - 16px); }
.panel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform 250ms var(--ease-out); }
.panel[aria-pressed="true"]::after { transform: scaleY(1); }
.panel:active img { scale: .985; }
.panel:focus-visible { outline-offset: -5px; outline-width: 4px; }
@media (hover: hover) and (pointer: fine) { .panel:hover img { scale: 1.03; } }
.type-detail { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding-top: 36px; }
.td-swap { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; transition: opacity 180ms ease, transform 180ms var(--ease-out); }
.td-swap.is-swapping { opacity: 0; transform: translateY(6px); }
.td-name { grid-column: 1 / 5; font-size: var(--step-lead); font-weight: 700; }
.td-copy { grid-column: 5 / 9; max-width: 62ch; }
.td-facts { grid-column: 9 / 13; display: grid; gap: 2px; }
.td-facts div { background: var(--surface); padding: 10px 14px; }
.td-facts dt { font-size: var(--step-small); color: var(--ink-soft); }
.td-facts dd { font-weight: 600; }
.td-link { grid-column: 5 / 9; font-weight: 700; text-underline-offset: 4px; text-decoration-thickness: 2px; justify-self: start; padding: 6px 0; transition: color 160ms ease; }
.td-link:active { opacity: .7; }
@media (hover: hover) and (pointer: fine) { .td-link:hover { color: var(--accent-text); } }
.credit-line { font-size: var(--step-small); color: var(--ink-soft); padding-top: 28px; }
@media (max-width: 1000px) {
  .types-head h2, .types-head p { grid-column: 1 / -1; }
  .td-name, .td-copy, .td-facts, .td-link { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .types-head { margin-bottom: 28px; }
  .band-panels { display: grid; grid-template-columns: 36fr 28fr 36fr; grid-template-rows: 1fr 1fr; height: 84svh; min-height: 480px; max-height: 720px; }
  .band-panels .panel:nth-child(1) { grid-column: 1 / 3; }
  .band-panels .panel:nth-child(2) { grid-column: 3 / 4; }
  .band-panels .panel:nth-child(3) { grid-column: 1 / 2; }
  .band-panels .panel:nth-child(4) { grid-column: 2 / 4; }
  .panel .p-name { font-size: 1rem; padding: 10px 12px; }
}

/* ---------- re-roof story: one verb at a time ---------- */
.reroof { padding-top: clamp(120px, 13vw, 220px); }
.reroof-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; margin-bottom: 48px; }
.reroof-head h2 { grid-column: 1 / 7; }
.reroof-head p { grid-column: 8 / 13; max-width: 40ch; }
.step { position: relative; height: 175svh; }
.step-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--slate); }
.step-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.step-stage::after { content: ""; position: absolute; inset: 0; background: rgba(17, 20, 23, .4); }
.verb { position: absolute; left: 0; right: 0; top: calc(var(--hdr) / 2 + 40%); transform: translateY(-50%); z-index: 2; margin: 0; color: var(--paper); font-weight: 800; font-size: clamp(96px, 17vw, 300px); line-height: .9; letter-spacing: -0.05em; white-space: nowrap; text-align: center; }
.step-copy { position: absolute; z-index: 3; left: var(--m); bottom: var(--m); display: flex; gap: 18px; align-items: center; max-width: 520px; background: var(--ink); color: var(--paper); padding: 18px 20px; }
.step-copy p { font-size: 1.0625rem; line-height: 1.4; }
.layers { width: 120px; height: 64px; flex-shrink: 0; }
.ly.deck { fill: #b88a55; }
.ly.old { fill: #6e6a66; }
.ly.under { fill: #5e7a8a; }
.ly.shing { fill: #d6dadc; }
.ly.ridge { fill: var(--steel); }
html.motion .step .layers .ly:last-child { opacity: 0; transform: translateY(-12px); transition: opacity 400ms var(--ease-out) 150ms, transform 400ms var(--ease-out) 150ms; }
html.motion .step[data-step="1"] .layers .ly.old { transform: none; opacity: 1; transition: opacity 600ms var(--ease-out) 300ms; }
html.motion .step.is-in .layers .ly:last-child { opacity: 1; transform: none; }
html.motion .step[data-step="1"].is-in .layers .ly.old { opacity: .35; }
@media (max-width: 700px) {
  .reroof-head h2, .reroof-head p { grid-column: 1 / -1; }
  .reroof-head { margin-bottom: 32px; }
  .step { height: 150svh; }
  .verb { font-size: 20vw; }
  .step-copy { left: var(--m); right: var(--m); bottom: calc(76px + env(safe-area-inset-bottom, 0px)); padding: 14px 16px; gap: 14px; }
  .step-copy p { font-size: 1rem; }
  .layers { width: 84px; height: 45px; }
}

/* ---------- services: one item per poster line ---------- */
.services { padding: clamp(120px, 13vw, 220px) 0 clamp(80px, 9vw, 140px); }
.services h2 { margin-bottom: 40px; }
.poster { padding: 0 var(--m); max-width: 1680px; margin: 0 auto; }
.poster li a { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; text-decoration: none; transition: color 180ms ease; }
.poster li a:active .pw { opacity: .7; }
.pw { font-size: clamp(56px, 9.4vw, 160px); font-weight: 800; line-height: .94; letter-spacing: -0.05em; white-space: nowrap; }
.pd { font-size: 1.1875rem; font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; flex-shrink: 0; }
@media (hover: hover) and (pointer: fine) { .poster li a:hover { color: var(--accent-text); } }
@media (max-width: 700px) {
  .poster li a { flex-direction: column; align-items: flex-start; gap: 4px; padding-bottom: 18px; }
  .pw { font-size: 12.5vw; }
  .pd { font-size: 1rem; text-align: left; }
}

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: clamp(18px, 2.4vw, 36px) 0; }
.mq-track { display: flex; width: max-content; animation: mq 38s linear infinite; }
.mq-track span { font-size: clamp(56px, 8vw, 140px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; white-space: nowrap; }
.marquee:hover .mq-track, .marquee.is-paused .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- service area map ---------- */
.area { padding: clamp(120px, 13vw, 220px) 0 0; }
.area-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px 32px; align-items: start; }
.area-head { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; margin-bottom: 16px; }
.area-head h2 { grid-column: 1 / 7; }
.area-head p { grid-column: 8 / 13; max-width: 40ch; }
.map-wrap { grid-column: 1 / 8; }
.map { width: 100%; height: auto; }
.m-land { fill: var(--surface); }
.m-cover { fill: var(--tone); }
.m-river { fill: none; stroke: #6f8796; stroke-width: 26; stroke-linecap: round; }
.m-road { fill: none; stroke: var(--paper); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.m-yard rect { fill: var(--ink); }
.m-yard text, .m-town text { font-family: var(--font); font-size: 22px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: var(--tone); stroke-width: 6px; stroke-linejoin: round; }
.m-river-name { font-family: var(--font); font-size: 18px; font-weight: 600; fill: #eef1f3; letter-spacing: .02em; }
.m-town { cursor: pointer; }
.m-town circle { fill: var(--ink); stroke: var(--bg); stroke-width: 4; transform-box: fill-box; transform-origin: center; transition: transform 250ms var(--ease-out), fill 200ms ease; }
.m-town.is-on circle { fill: var(--accent); transform: scale(1.5); }
.towns { grid-column: 8 / 13; display: grid; gap: 24px; }
.town-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.town-list button { min-height: 52px; padding: 10px 14px; background: var(--surface); border: 0; text-align: left; font-weight: 600; cursor: pointer; transition: background-color 160ms ease, color 160ms ease, scale 140ms var(--ease-out); }
.town-list button:active { scale: .97; }
.town-list button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .town-list button:hover:not([aria-pressed="true"]) { background: var(--tone); } }
.town-info { background: var(--paper); padding: 22px 24px; transition: opacity 160ms ease; }
.town-info.is-swapping { opacity: .2; }
.town-info h3 { font-size: var(--step-lead); font-weight: 700; margin-bottom: 8px; }
.town-info dl { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 16px; }
.town-info dl div { background: var(--bg); padding: 10px 12px; }
.town-info dt { font-size: var(--step-small); color: var(--ink-soft); }
.town-info dd { font-weight: 600; }
.smp-line { font-size: var(--step-small); color: var(--ink-soft); margin-top: 12px; }
@media (max-width: 1000px) {
  .area-head h2, .area-head p, .map-wrap, .towns { grid-column: 1 / -1; }
}
@media (max-width: 700px) { .m-yard text, .m-town text { font-size: 28px; } .m-river-name { font-size: 24px; } }

/* ---------- quote ---------- */
.quote { padding: clamp(120px, 13vw, 220px) 0 clamp(96px, 10vw, 180px); }
.quote-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: start; }
.q-side { grid-column: 1 / 6; }
.q-side > p { margin-top: 20px; max-width: 42ch; }
.rows { margin-top: 36px; display: grid; gap: 4px; }
.rows li { font-size: clamp(1.5rem, 0.9rem + 1.8vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; padding: 14px 0; overflow-wrap: anywhere; }
.rows li:nth-child(odd) { }
.rows .smp { font-size: 1rem; letter-spacing: 0; font-weight: 500; }
.rows a { text-decoration: none; transition: color 160ms ease; }
.rows a:active { opacity: .7; }
@media (hover: hover) and (pointer: fine) { .rows a:hover { color: var(--accent-text); } }
.q-form { grid-column: 7 / 13; background: var(--paper); padding: clamp(20px, 2.8vw, 40px); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; }
.opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; font-size: 16px; background: #fff; border: 2px solid var(--steel); border-radius: 0; transition: border-color 160ms ease; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid var(--accent); outline-offset: 1px; }
.sel { position: relative; }
.sel select { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer; }
.sel::after { content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.err { display: none; color: var(--err); font-size: .9375rem; font-weight: 600; }
.field.is-err .err { display: block; }
.field.is-err input, .field.is-err select { border-color: var(--err); }
.field.is-shake { animation: shake 320ms var(--ease); }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.form-note { font-size: var(--step-small); color: var(--ink-soft); margin-top: 14px; }
.est-chip { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--surface); padding: 12px 14px; margin-bottom: 20px; font-size: .9375rem; }
.link-btn { background: none; border: 0; padding: 8px 4px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; flex-shrink: 0; }
.link-btn:active { opacity: .6; }
.done { display: grid; gap: 14px; justify-items: start; }
.done[hidden] { display: none; }
.done svg { width: 56px; height: 56px; }
.d-box { fill: none; stroke: var(--ink); stroke-width: 3; }
.d-tick { fill: none; stroke: var(--accent-text); stroke-width: 4; stroke-linecap: square; stroke-dasharray: 44; stroke-dashoffset: 44; }
.done.is-shown .d-tick { stroke-dashoffset: 0; transition: stroke-dashoffset 420ms var(--ease-out) 120ms; }
.done h3 { font-size: var(--step-lead); font-weight: 700; }
@media (max-width: 1000px) { .q-side, .q-form { grid-column: 1 / -1; } }
@media (max-width: 520px) { .f2 { grid-template-columns: 1fr; } .q-form { margin: 0 calc(var(--m) * -1); padding: 24px var(--m); } .q-form .btn-ink { width: 100%; } }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--paper); padding-top: clamp(80px, 9vw, 140px); overflow: hidden; }
.foot-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: start; }
.invite { grid-column: 1 / 8; display: grid; gap: 28px; justify-items: start; }
.inv { font-size: clamp(2.5rem, 1.2rem + 4vw, 5.5rem); font-weight: 700; letter-spacing: -0.045em; line-height: .98; max-width: 11ch; }
.foot-links { grid-column: 10 / 13; display: grid; gap: 4px; }
.foot-links a { padding: 6px 0; text-decoration: none; font-weight: 500; transition: color 160ms ease; justify-self: start; }
.foot-links a:active { opacity: .6; }
@media (hover: hover) and (pointer: fine) { .foot-links a:hover { color: var(--accent); } }
.foot-legal { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-top: clamp(64px, 7vw, 110px); font-size: var(--step-small); color: #c3c9cd; }
.credits summary { cursor: pointer; font-weight: 600; padding: 4px 0; list-style-position: inside; }
.credits summary:active { opacity: .6; }
.credits:not([open]) ul { display: none; }
.credits ul { margin-top: 10px; display: grid; gap: 6px; max-width: 72ch; }
.credits a { text-underline-offset: 2px; }
.foot-name { font-size: 15.6vw; font-weight: 800; letter-spacing: -0.055em; line-height: .8; white-space: nowrap; margin-top: 3vw; transform: translateY(22%); color: var(--paper); text-align: center; }
@media (max-width: 1000px) { .invite, .foot-links { grid-column: 1 / -1; } .foot-links { display: flex; flex-wrap: wrap; gap: 4px 20px; } .foot-legal { flex-direction: column; } }
@media (max-width: 700px) {
  /* QA r2: the name stays on phones (Chris v6: footer name must show above the call bar); the call bar is the
     phone's call action, so the footer's own call button would double it */
  .foot-name { font-size: 16.4vw; margin-top: 40px; transform: none; padding-bottom: 20px; }
  .invite .btn { display: none; }
}

/* ---------- phone call bar ---------- */
.callbar { display: none; }
@media (max-width: 700px) {
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  .foot { padding-bottom: 0; }
  .callbar { display: block; position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; background: var(--ink); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 10px; height: 60px; color: var(--paper); font-weight: 700; font-size: 1.0625rem; text-decoration: none; transition: background-color 120ms ease; }
  .callbar a:active { background: var(--slate-2); }
  .callbar svg { width: 20px; height: 20px; color: var(--accent); }
}

/* ---------- storm page ---------- */
.s-hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr) auto; gap: 8px; padding: 8px var(--m); height: calc(100svh - var(--hdr) - 38px); min-height: 600px; max-height: 1000px; }
.s-title { grid-column: 1 / 7; grid-row: 1; background: var(--ink); color: var(--paper); padding: clamp(20px, 2.4vw, 40px); display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; }
.s-title h1 { font-size: clamp(3rem, 1rem + 5.6vw, 7.5rem); font-weight: 800; line-height: .9; letter-spacing: -0.05em; text-wrap: balance; }
.s-title p { font-size: var(--step-lead); line-height: 1.3; max-width: 32ch; color: #dfe3e5; }
.s-photo { grid-column: 7 / 13; grid-row: 1; overflow: hidden; }
.s-photo img { width: 100%; height: 100%; object-fit: cover; }
.s-rail { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.s-rail .t { min-height: 104px; padding: 14px 16px; font-weight: 600; font-size: .9375rem; line-height: 1.3; display: flex; align-items: flex-start; text-decoration: none; }
.s-rail .c1 { background: var(--paper); }
.s-rail .c2 { background: var(--surface); }
.s-rail .c4 { background: var(--slate-2); color: var(--paper); }
.s-rail .c5 { background: var(--accent); color: var(--accent-ink); font-size: 1.125rem; font-weight: 800; align-items: flex-end; justify-content: space-between; gap: 8px; }
.s-rail .c5 svg { width: 26px; height: 26px; flex-shrink: 0; transition: translate 200ms var(--ease-out); }
.s-rail a.t { transition: background-color 160ms ease, scale 140ms var(--ease-out); }
.s-rail a.t:active { scale: .97; }
@media (hover: hover) and (pointer: fine) { .s-rail .c5:hover { background: #ff7440; } .s-rail .c5:hover svg { translate: 4px 0; } .s-rail .c4:hover { background: var(--ink); } }
@media (max-width: 1000px) {
  .s-hero-grid { grid-template-rows: auto auto auto; height: auto; min-height: 0; max-height: none; }
  .s-title, .s-photo { grid-column: 1 / -1; }
  .s-photo { grid-row: 2; aspect-ratio: 16 / 9; }
  .s-rail { grid-row: 3; }
}
@media (max-width: 700px) {
  .s-hero-grid { gap: 6px; padding: 6px var(--m); }
  .s-title { padding: 22px 16px 20px; }
  .s-title h1 { font-size: 15vw; }
  .s-title p { font-size: 1.125rem; }
  .s-photo { aspect-ratio: 4 / 3; }
  .s-rail { grid-template-columns: 1fr 1fr; gap: 6px; }
  .s-rail .t { min-height: 76px; }
  .s-rail .c5 { grid-column: 1 / -1; min-height: 64px; align-items: center; }
}

.checklist { padding: clamp(96px, 11vw, 200px) 0 0; }
.cl-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; margin-bottom: 48px; }
.cl-head h2 { grid-column: 1 / 7; }
.cl-head p { grid-column: 8 / 13; max-width: 42ch; }
.cl-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: start; }
.cl-list { grid-column: 1 / 8; display: grid; gap: 40px; }
.cl-group h3 { font-size: var(--step-lead); font-weight: 700; margin-bottom: 14px; }
.cl-group .checks { gap: 6px; }
.cl-group .check { background: var(--surface); min-height: 60px; font-weight: 500; line-height: 1.3; padding: 10px 16px; }
.cl-group .box { background: var(--paper); box-shadow: inset 0 0 0 2px var(--steel); }
.cl-group .check input:checked + .box { background: var(--ink); }
.cl-group .box path { stroke: var(--paper); }
.cl-group .check:has(input:checked) { background: var(--tone); }
@media (hover: hover) and (pointer: fine) { .cl-group .check:hover { background: var(--tone); } }
.cl-result { grid-column: 8 / 13; position: sticky; top: calc(var(--hdr) + 16px); background: var(--ink); color: var(--paper); padding: clamp(22px, 2.4vw, 36px); display: grid; gap: 16px; }
.cl-result[data-level="3"] { background: #3b1408; }
.cl-count { font-size: var(--step-small); color: #c3c9cd; font-variant-numeric: tabular-nums; }
.cl-swap { display: grid; gap: 16px; transition: opacity 160ms ease, filter 160ms ease, transform 160ms var(--ease-out); }
.cl-swap.is-swapping { opacity: 0; filter: blur(2px); transform: translateY(4px); }
.cl-title { font-size: clamp(1.75rem, 1.1rem + 1.8vw, 2.75rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.cl-sub { color: #dfe3e5; }
.cl-steps { display: grid; gap: 2px; counter-reset: s; }
.cl-steps li { background: rgba(255, 255, 255, .07); padding: 12px 14px; font-size: 1rem; line-height: 1.4; }
.cl-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.cl-actions .btn-line { color: var(--paper); box-shadow: inset 0 0 0 2px var(--paper); }
@media (hover: hover) and (pointer: fine) { .cl-actions .btn-line:hover { background: var(--paper); color: var(--ink); } }
.cl-actions [hidden] { display: none; }
@media (max-width: 1000px) {
  .cl-head h2, .cl-head p { grid-column: 1 / -1; }
  .cl-list, .cl-result { grid-column: 1 / -1; }
  .cl-result { position: static; }
}
@media (max-width: 700px) { .cl-actions .btn { width: 100%; } }

.looks { padding: clamp(120px, 13vw, 220px) 0 0; }
.looks-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; margin-bottom: 40px; }
.looks-head h2 { grid-column: 1 / 7; }
.looks-head p { grid-column: 8 / 13; max-width: 40ch; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 270px); gap: 8px; }
.bento figure { position: relative; overflow: hidden; background: var(--surface); }
.bento img { width: 100%; height: 100%; object-fit: cover; }
.bento figcaption { position: absolute; left: 0; bottom: 0; background: var(--ink); color: var(--paper); font-size: .9375rem; font-weight: 600; padding: 8px 12px; max-width: calc(100% - 16px); }
.b-wind { grid-column: 1 / 8; grid-row: 1 / 3; }
.b-shing { grid-column: 8 / 13; grid-row: 1 / 2; }
.b-tree { grid-column: 8 / 13; grid-row: 2 / 3; }
.b-tarp { grid-column: 1 / 6; grid-row: 3 / 5; }
.b-ice { grid-column: 6 / 9; grid-row: 3 / 5; }
.b-note { grid-column: 9 / 13; grid-row: 3 / 5; background: var(--surface); padding: clamp(18px, 2vw, 28px); display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.b-note h3 { font-size: var(--step-lead); font-weight: 700; line-height: 1.15; }
@media (max-width: 1000px) {
  .looks-head h2, .looks-head p { grid-column: 1 / -1; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .bento figure { aspect-ratio: 4 / 3; }
  .b-wind, .b-note { grid-column: 1 / -1; grid-row: auto; }
  .b-shing, .b-tree, .b-tarp, .b-ice { grid-column: auto; grid-row: auto; }
  .b-ice { aspect-ratio: 4 / 3; }
}
@media (max-width: 700px) { .bento { gap: 6px; } .bento figcaption { font-size: .875rem; padding: 6px 10px; } }

.after { padding: clamp(120px, 13vw, 220px) 0 0; }
.after h2 { margin-bottom: 40px; }
.after ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.after li { padding: 22px 22px 28px; display: grid; gap: 10px; align-content: start; min-height: 220px; }
.after li:nth-child(1) { background: var(--paper); }
.after li:nth-child(2) { background: var(--surface); }
.after li:nth-child(3) { background: var(--tone); }
.after li:nth-child(4) { background: var(--slate-2); color: var(--paper); }
.after h3 { font-size: var(--step-lead); font-weight: 700; line-height: 1.1; }
.after .smp-line { margin-top: 16px; }
@media (max-width: 1000px) { .after ol { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .after ol { grid-template-columns: 1fr; } .after li { min-height: 0; } }

.s-cta { padding: clamp(96px, 10vw, 180px) 0; }
.s-cta .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
.s-cta h2 { grid-column: 1 / 8; }
.s-cta .s-cta-act { grid-column: 9 / 13; display: grid; gap: 14px; justify-items: start; }
@media (max-width: 1000px) { .s-cta h2, .s-cta .s-cta-act { grid-column: 1 / -1; } }

/* ---------- one column below 1000px (12 columns x 24-32px gaps overflow a 320px screen) ---------- */
@media (max-width: 1000px) {
  .est-head, .calc, .types-head, .type-detail, .td-swap, .reroof-head, .area-grid, .area-head, .quote-grid, .foot-top, .cl-head, .cl-grid, .looks-head, .s-cta .wrap { grid-template-columns: minmax(0, 1fr); }
  .est-head > *, .calc > *, .types-head > *, .td-swap > *, .reroof-head > *, .area-grid > *, .area-head > *, .quote-grid > *, .foot-top > *, .cl-head > *, .cl-grid > *, .looks-head > *, .s-cta .wrap > * { grid-column: 1 / -1; }
  .td-swap { gap: 16px; }
  .reroof-head h2, .reroof-head p { grid-column: 1 / -1; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .mq-track { animation: none; }
  .panel, .h-roof-wrap, .td-swap, .cl-swap, .h-gutter, .menu, .menu.is-open { transition-duration: 1ms !important; }
  .step { height: auto; }
  .step-stage { position: relative; height: 90svh; min-height: 520px; }
  .field.is-shake { animation: none; }
  .btn:active, .chip:active, .check:active { scale: none; }
}
