/* Inner pages: services, towns, hubs, about, quote, privacy.
   Same tokens as site.css. Answer first (the paragraph an AI or a skimmer quotes), then facts, then detail. */

.page { padding-bottom: var(--s2); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

/* the head: crumbs, H1, the answer, four facts, the action; illustration crop beside it */
.page-head {
  max-width: var(--max); margin: 0 auto; padding: var(--s6) var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--s7); align-items: center;
}
.page-intro { max-width: var(--max); margin: 0 auto; padding: var(--s6) var(--gutter) 0; }
.page-intro .answer { max-width: 62ch; }
.page h1 { font-size: var(--step-3); }
.crumbs ol { list-style: none; margin: 0 0 var(--s3); padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s2); font-size: var(--step-meta); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: var(--s2); color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); text-decoration: underline; }
.crumbs a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.answer { margin: var(--s4) 0 0; font-size: var(--step-1); line-height: 1.55; max-width: 60ch; }
.answer a { font-weight: 700; }

.facts { margin: var(--s5) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s5); }
.facts div { border-top: 1px solid var(--line); padding-top: var(--s2); }
.facts dt { font-size: var(--step-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 700; font-stretch: 104%; line-height: 1.35; font-variant-numeric: tabular-nums; }

.page-act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); margin-top: var(--s5); }
.page-head .rating { margin-top: var(--s3); color: var(--muted); }

.page-hero { margin: 0; }
.page-hero img {
  width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--r-lg); box-shadow: var(--shadow);
}

/* body */
.page-body { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.page-body.narrow { max-width: 760px; }
.block { padding-top: var(--s8); }
.block > h2 { margin-bottom: var(--s4); font-size: var(--step-h2); }
.cols .block > h2 { font-size: var(--step-h2); }
.lede { margin: 0; max-width: 62ch; font-size: var(--step-0); line-height: 1.65; }
.lede + .lede { margin-top: var(--s3); }
.muted { color: var(--muted); }
.tip {
  margin: var(--s7) 0 0; padding: var(--s4) var(--s5); max-width: 70ch;
  border-left: 4px solid var(--gold); background: var(--surface); border-radius: 0 var(--r-md) var(--r-md) 0;
  font-weight: 600;
}
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s7); }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.checks li { position: relative; padding-left: 30px; line-height: 1.5; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: var(--s4); }
.steps li { counter-increment: step; position: relative; padding-left: 52px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--trim); font-weight: 800; font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: var(--step-1); font-weight: 800; font-stretch: 110%; }
.steps p { margin: 2px 0 0; color: var(--muted); }

.price-line { margin: 0 0 var(--s4); font-size: var(--step-2); font-weight: 860; font-stretch: 114%; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.price-line span { font-size: 1rem; font-weight: 500; font-stretch: 100%; color: var(--muted); letter-spacing: 0; }
.note { margin: var(--s5) 0 0; padding: var(--s4); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); line-height: 1.55; }

/* service cards: character art on its floor line, name and price; the whole card is the link */
.svc-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); --fig-h: 96px; }
.svc-grid + .svc-grid { margin-top: var(--s3); }
.svc-card { flex: 0 1 calc((100% - 3 * var(--s3)) / 4); min-width: 220px; display: flex; }
.svc-grid:has(> .svc-card:nth-child(6):last-child) > .svc-card { flex-basis: calc((100% - 2 * var(--s3)) / 3); }   /* six: 3 + 3, never 4 + 2 */
.svc-card a {
  flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto; column-gap: var(--s2); align-content: start;
  min-height: 92px; padding: var(--s4); border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none;
  transition: border-color .2s var(--ease), transform .25s var(--ease), box-shadow .2s var(--ease);
}
.svc-card .svc-photo { grid-column: 1 / -1; grid-row: 1; margin: calc(-1 * var(--s4)) calc(-1 * var(--s4)) var(--s3); border-radius: var(--r-md) var(--r-md) 0 0; }
.svc-card a { overflow: hidden; }
.svc-card a:hover .svc-photo img { transform: scale(1.04); }
.svc-name { grid-column: 1; grid-row: 2; font-weight: 800; font-size: var(--step-0); line-height: 1.3; align-self: start; }
.svc-price { grid-column: 1; grid-row: 3; font-size: var(--step-meta); color: var(--muted); align-self: start; font-variant-numeric: tabular-nums; }
.svc-go { grid-column: 2; grid-row: 2 / 4; align-self: center; color: var(--red); font-weight: 800; transition: transform .2s var(--ease); }
.svc-card a:hover { border-color: var(--red); box-shadow: 0 10px 24px -18px rgba(29, 26, 23, .6); transform: translateY(-2px); }
.svc-card a:hover .svc-go { transform: translateX(3px); }

.town-links, .hoods { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.town-links a, .hoods li {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s4);
  border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 600;
}
.town-links a:hover { border-color: var(--red); color: var(--red); }
.hoods li { min-height: 38px; font-weight: 500; }
.hoods + .muted { margin-top: var(--s4); }

.area-cards { list-style: none; margin: var(--s6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.area-card {
  display: flex; justify-content: space-between; align-items: center; min-height: 120px; padding: var(--s5);
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-decoration: none;
}
.area-name { font-size: var(--step-2); font-weight: 860; font-stretch: 118%; letter-spacing: -.01em; }
.area-card:hover { border-color: var(--red); }

/* FAQ: native details, question as a heading so it's quotable */
.faq { display: grid; gap: var(--s2); max-width: 860px; }
.qa { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: var(--s4) var(--s5); min-height: 56px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--red); transition: transform .2s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa h3 { margin: 0; font-size: var(--step-1); font-weight: 750; font-stretch: 104%; line-height: 1.35; }
.qa p { margin: 0; padding: 0 var(--s5) var(--s5); max-width: 68ch; line-height: 1.6; }
.home-faq { max-width: var(--max); margin: 0 auto; padding: var(--s9) var(--gutter) 0; }

/* roster links under each face (home) */
.roster li { display: grid; justify-items: center; gap: 2px; align-content: start; }
.r-link { font-size: .9rem; font-weight: 650; color: var(--red); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.r-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.area-list a { text-decoration: none; }
.area-list a:hover { color: var(--red); }

/* about */
.pull { margin: var(--s4) 0 var(--s4); padding-left: var(--s5); border-left: 4px solid var(--red); }
.pull p { margin: 0; font-size: var(--step-2); line-height: 1.35; font-weight: 500; font-stretch: 104%; }
.pull-wrap { display: flex; align-items: flex-end; gap: var(--s5); margin: var(--s4) 0; --fig-h: 250px; }
.pull-wrap .ct-fig { width: auto; flex: none; }
.pull-wrap .pull { margin: 0; }
.page-intro + .page-body { padding-top: var(--s6); }
.page-intro + .page-body.quote-body { padding-top: 0; }
/* 404: Jerry stands at the right of the words */
.nf-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s7); --fig-h: 260px; }
.nf-intro .ct-fig { width: auto; flex: none; margin-right: var(--s7); }
.nf-copy { min-width: 0; max-width: 54rem; }
.nf-pages { margin-top: var(--s7); margin-bottom: var(--s8); }
.nf-pages ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2) var(--s6); }
.nf-pages a { display: flex; align-items: center; min-height: 44px; padding-block: var(--s2); text-underline-offset: .2em; font-weight: 700; }
.nf-pages a:hover { color: var(--red); }
@media (max-width: 760px) { .nf-pages ul { grid-template-columns: minmax(0, 1fr); } }

/* quote form */
.quote-body { max-width: var(--max); }
.quote-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s7); align-items: start; margin-top: var(--s6); }
.quote-form { display: grid; gap: var(--s4); min-width: 0; }
.quote-form label { display: grid; gap: var(--s2); font-weight: 650; min-width: 0; }
.quote-form input:not([type=checkbox]):not([type=radio]), .quote-form textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--surface);
  min-width: 0; width: 100%; min-height: 48px; padding: var(--s3) var(--s4); border: 1.5px solid var(--field-edge); border-radius: var(--r-sm);
}
.quote-form textarea { min-height: 112px; resize: vertical; }
/* the form's answers when it was sent without JavaScript: functions/api/quote.js redirects to /quote/#sent or #problem */
.page-msg { display: none; margin: var(--s6) var(--s6) 0; padding: var(--s5); border-radius: var(--r-md); background: var(--trim); border-left: 4px solid var(--red); }
.page-msg:target { display: block; }
.page-msg h2 { margin: 0 0 var(--s2); font-size: var(--step-2); }
.page-msg p { margin: 0; }
.quote-form:has(#sent:target) > :not(.wo-head, #sent) { display: none; }
.quote-form input:focus-visible, .quote-form textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-color: var(--ink); }
.quote-form [aria-invalid="true"] { border-color: var(--red) !important; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.opt { font-weight: 400; color: var(--muted); }
.quote-form .q-step { display: grid; gap: var(--s4); min-width: 0; margin: 0; padding: 0; border: 0; }
.quote-form .q-step + .q-step { margin-top: calc(var(--s6) - var(--s4)); }
.quote-form legend { padding: 0; font-weight: 700; margin-bottom: var(--s4); }
.q-num { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: var(--s2); border-radius: var(--r-pill); background: var(--red); color: var(--surface); font-weight: 800; }
.crew-picker { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: var(--s3); --fig-h: 150px; }
/* 4 + 3: the second row is centred; every tile is the same height */
.quote-form .crew-tile {
  grid-column: span 2; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: var(--s2);
  min-width: 0; padding: var(--s3) var(--s2); border: 2px solid var(--line); border-radius: var(--r-md); background: var(--surface);
  text-align: center; cursor: pointer; transition: border-color .2s var(--ease);
}
.quote-form .crew-tile:nth-child(5) { grid-column: 2 / span 2; }
.crew-tile input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.crew-tile .ct-fig { flex: none; margin-bottom: var(--s1); }
.crew-tile .crew-fig { transform-origin: 50% 100%; }
.ct-name { font-weight: 700; font-size: var(--step-0); line-height: 1.25; }
.ct-price { font-size: var(--step-meta); font-weight: 400; color: var(--muted); line-height: 1.3; }
.crew-tile:has(input:checked) { border-color: var(--red); }
.crew-tile:has(input:checked) .crew-fig { scale: 1.05; }
.crew-tile:has(input:checked)::after {
  content: '✓'; position: absolute; top: var(--s2); right: var(--s2); z-index: 3; display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: var(--r-pill); background: var(--red); color: var(--surface); pointer-events: none;
}
.crew-tile:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.crew-tile:has(input[aria-invalid="true"]) { border-color: var(--red); }
.crew-tile:hover:not(:has(input:checked)) { border-color: var(--muted); }
.area-line { margin: calc(-1 * var(--s3)) 0 0; min-height: 1.4em; font-size: var(--step-meta); }
.quote-form .q-step:has(.area-line) { padding-bottom: var(--s2); }
.area-line.is-in { color: var(--ink); }
.area-line.is-in::before {
  content: ''; display: inline-block; width: 10px; height: 14px; margin-right: var(--s2);
  background: var(--red); clip-path: polygon(50% 100%, 8% 45%, 0 25%, 15% 8%, 50% 0, 85% 8%, 100% 25%, 92% 45%);
}
.area-line.is-out { color: var(--muted); }
.seg { display: inline-flex; justify-self: start; max-width: 100%; border: 1.5px solid var(--field-edge); border-radius: var(--r-pill); padding: var(--s1); }
.quote-form .seg-opt { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 var(--s4); border-radius: var(--r-pill); cursor: pointer; }
.seg-opt input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.seg-opt svg { flex: none; }
.seg-opt:has(input:checked) { background: var(--ink); color: var(--trim); }
.seg-opt:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; color: var(--muted); font-size: var(--step-meta); }
.form-status { margin: 0; font-weight: 650; }
.field-err { display: flex; align-items: flex-start; gap: var(--s2); margin-top: calc(-1 * var(--s1)); color: var(--red-deep); font-size: var(--step-meta); font-weight: 650; line-height: 1.35; }
.field-err::before { content: "!"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--red-deep); color: var(--surface); font-size: 12px; font-weight: 900; }
.field-err[hidden] { display: none; }
.crew-picker + .field-err { margin-top: var(--s3); }
.form-status.is-error { color: var(--red); }
.form-status.is-ok { color: var(--ink); }
.quote-form .btn-red { color: var(--surface); box-shadow: var(--shadow); }
.stamp {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-9deg); pointer-events: none;
  text-transform: uppercase; font-weight: 900; font-stretch: 125%; font-size: 2.4rem; letter-spacing: .12em; line-height: 1.2;
  color: var(--red); border: 4px solid var(--red); border-radius: var(--r-sm); padding: var(--s2) var(--s4); mix-blend-mode: multiply; opacity: 0;
}
.wo-receipt .stamp { animation: stamp 320ms var(--ease) forwards; }
@keyframes stamp {
  from { transform: translate(-50%, -50%) rotate(-9deg) scale(1.7); opacity: 0; }
  to { transform: translate(-50%, -50%) rotate(-9deg) scale(1); opacity: .92; }
}
/* privacy */
.prose h2 { font-size: var(--step-h2); margin-top: var(--s6); }
.prose p { line-height: 1.65; max-width: 68ch; }

.foot-tag { margin-top: var(--s3) !important; color: var(--muted); }
.foot-h2 { margin-top: var(--s5); }
.foot-list { list-style: none; margin: 0; padding: 0; line-height: 1.6; }
.foot-list a { display: inline-block; padding-block: .2rem; }   /* 32 px tap targets (WCAG 2.5.8), the same rhythm as the old 1.9 line-height */

@media (max-width: 1100px) {
  .area-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .page-head { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .page-hero { order: -1; }
  .cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .page-head { padding-top: var(--s4); }
  .page-hero { margin: 0 calc(-1 * var(--gutter)); }
  .page-hero img { border-radius: 0; box-shadow: none; }
  .answer { font-size: var(--step-0); }
  .facts { gap: var(--s2) var(--s4); }
  .block { padding-top: var(--s7); }
  .row2, .chks { grid-template-columns: minmax(0, 1fr); }
  .area-cards { grid-template-columns: minmax(0, 1fr); }
  .area-card { min-height: 84px; }
  .home-faq { padding-top: var(--s8); }
}

/* ---------- real jobs: Jerry's own photos + before/after sliders ---------- */
.real { max-width: var(--max); margin: 0 auto; padding: var(--s8) var(--gutter) 0; }
.real-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s2) var(--s6); margin-bottom: var(--s5); }
.real-head h2 { font-size: var(--step-h2); }
.real-head p { margin: 0; max-width: 52ch; color: var(--muted); }
.real-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-areas: "head head" "sliders shots"; gap: 0 var(--s5); align-items: start; }
.real-split .real-head { grid-area: head; }
.real-sliders { grid-area: sliders; display: grid; gap: var(--s4); }
.real-split .real-shots { grid-area: shots; }
.real-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: var(--s3); }
.real-grid .real-shots { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.shot { margin: 0; position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--dusk); aspect-ratio: 4 / 5; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .32s var(--ease); }
.shot:hover img { transform: scale(1.03); }
.shot-clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s var(--ease); }
.shot-clip.is-playing video { opacity: 1; }
.shot-clip > .motion-clip { top: var(--s3); right: var(--s3); }

/* the proof peak (/house-washing/): a dark chapter where scroll runs a real job. Without JS it is a photo beside the words;
   site.js adds .is-live (the section grows and its stage pins) and .has-frame (the canvas covers the still). */
.peak { background: var(--dusk); color: var(--on-dusk); }
.peak-pin {
  max-width: var(--max); margin: 0 auto; padding: var(--s8) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s5) var(--s8); align-items: center;
}
.peak .eyebrow { color: var(--gold); }
.peak h2 { margin: 0; font-size: var(--step-h2); line-height: 1.02; color: var(--surface); text-wrap: balance; }
.peak-copy p:not(.eyebrow) { margin: var(--s4) 0 0; max-width: 44ch; color: var(--on-dusk); font-size: var(--step-0); line-height: 1.55; }
.peak-rail { display: flex; align-items: center; gap: var(--s3); margin-top: var(--s6); max-width: 360px;
  font-size: var(--step-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dusk-muted); }
.peak-rail i { flex: 1; height: 4px; border-radius: var(--r-pill); background: var(--dusk-2); overflow: hidden; }
.peak-rail b { display: block; height: 100%; width: calc(var(--p, 1) * 100%); border-radius: inherit; background: var(--gold); }
.peak-stage { position: relative; margin: 0; justify-self: center; width: min(100%, 480px); }
.peak-stage img, .peak-stage canvas { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: var(--r-lg); }
.peak-stage img { object-fit: cover; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.peak-stage canvas { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .3s var(--ease); }
.peak.has-frame .peak-stage canvas { opacity: 1; }
.peak-stage figcaption { margin-top: var(--s3); font-size: var(--step-meta); color: var(--on-dusk-muted); }
.js .peak.is-live { height: 250vh; }
.js .peak.is-live .peak-pin { position: sticky; top: var(--top-h); min-height: calc(100svh - var(--top-h)); padding-block: var(--s5); }
.js .peak.is-live .peak-stage { width: min(100%, 480px, calc((100svh - var(--top-h) - 2 * var(--s5) - 40px) * .8)); }
@media (max-width: 760px) {
  .peak-pin { grid-template-columns: minmax(0, 1fr); padding-block: var(--s7); }
  .peak h2 { font-size: var(--step-2); }
  .peak-copy p:not(.eyebrow) { margin-top: var(--s2); font-size: 1rem; line-height: 1.45; }
  .peak-rail { margin-top: var(--s3); }
  .js .peak.is-live { height: 220vh; }
  /* pinned on a phone: exactly the screen between the header and the action bar (68 px), so nothing slides under the bar */
  .js .peak.is-live .peak-pin {
    gap: var(--s3); align-content: start; padding-block: var(--s4);
    height: calc(100svh - var(--top-h) - 68px - env(safe-area-inset-bottom)); min-height: 0; overflow: hidden;
  }
  .js .peak.is-live .peak-stage { justify-self: center; width: min(100%, calc((100svh - var(--top-h) - 68px - env(safe-area-inset-bottom) - 170px) * .8)); }
  .js .peak.is-live .peak-stage figcaption { display: none; }
  /* the paragraph steps aside while the stage is pinned on a phone (the frame needs the room); screen readers still get it */
  .js .peak.is-live .peak-copy p:not(.eyebrow) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.clip-len { display: inline-block; margin-left: .35em; padding: 0 .45em; border: 1px solid currentColor; border-radius: 99px; font-size: .8125rem; font-weight: 600; opacity: .85; }
.shot figcaption, .ba figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s6) var(--s3) var(--s3);
  background: linear-gradient(transparent, rgba(20, 14, 9, .78)); color: var(--surface); font-size: .9rem; font-weight: 650; line-height: 1.3;
}
.ba { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--dusk); box-shadow: var(--shadow); }
.ba figcaption span { display: block; font-weight: 500; opacity: .85; font-size: .875rem; }
.ba-frame { position: relative; width: 100%; max-height: 640px; touch-action: pan-y; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: var(--surface); box-shadow: 0 0 12px rgba(0, 0, 0, .45); pointer-events: none; }
.ba-knob {
  position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6' fill='none' stroke='%23B21F33' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px no-repeat;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
.ba-tag { position: absolute; top: var(--s3); padding: 4px 10px; border-radius: var(--r-pill); background: rgba(20, 14, 9, .7); color: var(--surface); font-size: var(--step-label); font-weight: 750; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.ba-tag-b { left: var(--s3); }
.ba-tag-a { right: var(--s3); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-range:focus-visible + .ba-line, .ba-frame:has(.ba-range:focus-visible) .ba-knob { outline: 3px solid var(--trim); outline-offset: 3px; }
.ba-frame:has(.ba-range:focus-visible) .ba-knob { box-shadow: 0 0 0 4px var(--ink), 0 4px 14px rgba(0, 0, 0, .35); }
.page-hero-real img { aspect-ratio: 4 / 5; object-fit: cover; max-height: 640px; }
.home-real { padding-top: var(--s9); }

@media (max-width: 960px) {
  .real-split { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "sliders" "shots"; gap: var(--s4); }
}
@media (max-width: 760px) {
  .real { padding-top: var(--s7); }
  .real-shots, .real-grid .real-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
  .shot figcaption { font-size: .875rem; padding: var(--s5) var(--s2) var(--s2); }
}
@media (prefers-reduced-motion: reduce) { .shot img { transition: none; } }
.real-cta { display: inline-block; margin-left: var(--s2); color: var(--red); font-weight: 750; text-decoration: none; white-space: nowrap; }
.real-cta:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .page-quote .mobile-bar { display: none; } .page-quote { padding-bottom: 0; } }

/* Work order: one paper object, with Jerry and proof alongside. */
.quote-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: var(--s7); align-items: start; margin-top: var(--s6); }
.quote-side { position: sticky; top: calc(var(--top-h) + var(--s5)); }
.quote-jerry { display: flex; align-items: flex-start; gap: var(--s4); --fig-h: 220px; }
.quote-jerry .ct-fig { width: auto; flex: none; }
.quote-side .bubble { position: relative; left: auto; top: auto; translate: none; opacity: 1; transform: none; white-space: normal; font-size: var(--step-0); font-weight: 500; font-stretch: 100%; padding: var(--s4); }
.quote-side .bubble::after { left: 0; bottom: var(--s4); transform: rotate(90deg) translateY(8px); }
.rating-badge { display: grid; justify-items: start; margin-top: var(--s5); text-decoration: none; }
.rating-badge .stars { color: var(--red); }
.rating-badge > span:last-child { color: var(--muted); font-size: 1rem; }
.side-promise { list-style: none; margin: var(--s5) 0; padding: 0; display: grid; gap: var(--s3); }
.side-promise li { display: flex; gap: var(--s2); font-weight: 700; }
.side-promise li::before { content: '✓'; color: var(--red); }
.side-talk a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.side-hours { font-size: 1rem; color: var(--muted); }
.quote-form { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.wo-head { position: relative; display: grid; grid-template-columns: 1fr auto; gap: var(--s1) var(--s3); background: var(--red); color: var(--surface); padding: var(--s5) var(--s6); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.wo-head::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: var(--s2); background: radial-gradient(circle at 50% 100%, var(--trim) 3px, transparent 3.5px) 0 0 / var(--s3) var(--s2) repeat-x; }
.wo-title { text-transform: uppercase; letter-spacing: .09em; font-size: var(--step-1); font-weight: 800; font-stretch: 118%; }
.wo-biz { grid-column: 1; font-size: 1rem; }
.wo-date { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 1rem; }
.quote-form .q-step { margin: var(--s6); padding: 0 0 var(--s5); border-bottom: 1px solid var(--line); }
.quote-form .q-step + .q-step { margin-top: var(--s6); }
.quote-form .form-note, .quote-form .form-status { margin: var(--s5) var(--s6); }
.quote-form button[type="submit"] { margin: 0 var(--s6); width: calc(100% - 2 * var(--s6)); border: 0; font-family: inherit; cursor: pointer; }
.quote-form button:disabled { opacity: .65; cursor: wait; }
.wo-sent { margin-bottom: var(--s6); font-weight: 400; }
.wo-sent-art { position: relative; width: 100%; aspect-ratio: 3 / 2; margin: 0 0 var(--s5); border-radius: var(--r-md); overflow: hidden; }
.wo-sent-art picture, .wo-sent-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wo-sent-art picture:last-child { opacity: 0; transition: opacity 1.2s var(--ease); }
.wo-sent-art.is-lit picture:last-child { opacity: 1; }
.wo-sent-title { font-size: var(--step-h2); }
.wo-next { list-style: none; counter-reset: next; display: grid; gap: var(--s4); margin: var(--s5) 0; padding: 0; }
.wo-next li { counter-increment: next; display: flex; align-items: baseline; gap: var(--s3); }
.wo-next li::before { content: counter(next); flex: 0 0 var(--s5); color: var(--red); font-family: var(--font); font-weight: 900; font-stretch: 125%; font-size: var(--step-2); line-height: 1; font-variant-numeric: tabular-nums; }
.wo-photos a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  .wo-sent-art picture:last-child { opacity: 1; transition: none; }
}
.wo-receipt { position: relative; margin-bottom: var(--s6); padding: 0; font-weight: 400; }
.wo-receipt dl { display: grid; gap: var(--s5); margin: 0; padding-bottom: var(--s8); }
.wo-receipt dl > div { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: var(--s4); border-bottom: 1px solid var(--line); padding-bottom: var(--s3); }
.wo-receipt dt { color: var(--muted); }
.wo-receipt dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.wo-receipt .stamp { top: auto; bottom: var(--s6); left: auto; right: var(--s5); font-size: var(--step-1); }
.btn-link { display: inline-flex; align-items: center; min-height: 44px; background: none; color: var(--red); padding: 0; border: 0; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.page-quote .mobile-bar { display: none; }
@media (960px <= width < 1200px) {
  .quote-layout { grid-template-columns: 220px minmax(0, 1fr); gap: var(--s5); }
}
/* Shared cards and readable body copy. */
.block p, .block li, .block .note, .qa p, .steps p { font-size: var(--step-0); color: var(--ink); }
.block p, .lede { text-wrap: pretty; }
/* 2026-10-27: process, price and proof have distinct rows. */
.service-details { display: grid; align-items: start; gap: var(--s6); margin-top: var(--s8); }
.service-details .block { padding: var(--s5); }
.service-details .process, .service-details .good-card { grid-column: 1 / -1; }
.service-details .included { grid-column: 1 / -1; border-left: 4px solid var(--red); }
.steps-row li { padding: var(--s4) 0 0; border-top: 2px solid var(--line); }
.steps-row li::before {
  position: static; display: block; width: auto; height: auto; margin-bottom: var(--s3); border-radius: 0;
  background: none; color: var(--red); font-family: "Archivo", "Archivo Fallback", sans-serif;
  font-weight: 900; font-stretch: 125%; font-size: 2.4rem; line-height: 1; font-variant-numeric: tabular-nums;
}
.service-details h2 { font-size: var(--step-h2); }
.service-details .price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.service-details .price-line { font-size: var(--step-2); }
.service-details .good-card { background: var(--trim); border-left: 4px solid var(--red); }
.page-body > .proof-band { margin-top: var(--s8); border-radius: var(--r-lg); }
.home-faq .faq { max-width: none; }
.faq-intro p { margin-bottom: var(--s5); }
@media (min-width: 960px) {
  .service-details { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .service-details .price-card + .included { grid-column: 2; }
  .steps-row { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: var(--s6); }
  .steps-row li::before { font-size: clamp(2.6rem, 1.8rem + 2vw, 3.6rem); }
  .service-details .good-card .checks { display: block; columns: 2; column-gap: var(--s7); }
  .service-details .good-card .checks li { break-inside: avoid; margin-bottom: var(--s2); }
  /* two columns and two rows: the heading row, then the phone beside the questions (the list starts level with the phone, so the
     questions are not left hanging beside an empty column). The intro spans both rows as a subgrid and stays sticky. */
  .home-faq { display: grid; grid-template-columns: 1fr 1.5fr; grid-template-rows: auto auto; gap: 0 var(--s8); align-items: start; }
  .faq-intro { position: sticky; top: calc(var(--top-h) + var(--s5)); grid-column: 1; grid-row: 1 / span 2; display: grid; grid-template-rows: subgrid; }
  .home-faq .faq { grid-column: 2; grid-row: 2; }
  .home-faq .qa summary { min-height: 68px; }
}
/* The photos and promises share a continuous dusk ground. */
.real { max-width: none; padding: var(--s8) max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))) 0; background: var(--dusk); color: var(--on-dusk); }
.real-head p { color: var(--on-dusk-muted); font-size: var(--step-0); }
.real-cta { color: var(--on-dusk); min-height: 44px; white-space: normal; display: inline-flex; align-items: center; margin-left: 0; text-decoration: underline; }
.real-split { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.real-grid .real-shots { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.real-split .real-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.real-split .shot { aspect-ratio: 4 / 5; }
.real:not(:has(+ .proof-band)) { padding-bottom: var(--s8); }
/* The photo band is usually well under the first screen: the browser skips its layout and paint until it is about to be seen, and with
   that the lazy photos' early fetch (about 200 KB on the About page), so only the hero competes for the first load (Pass 3 R1). */
.real { content-visibility: auto; contain-intrinsic-size: auto 760px; }
@media (max-width: 960px) { .real { contain-intrinsic-size: auto 1300px; } }
@media (width < 960px) {
  .quote-layout { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .quote-side { position: static; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s1) var(--s4); align-items: center; }
  .quote-jerry { display: contents; --fig-h: 64px; }
  .quote-jerry .ct-fig { grid-column: 1; grid-row: 1 / 3; width: auto; justify-self: start; }
  .quote-side .rating-badge { grid-column: 2; grid-row: 1; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s3); }
  .quote-side .bubble { grid-column: 2; grid-row: 2; padding: 0; box-shadow: none; background: none; }
  .quote-side .bubble::after, .side-promise, .side-hours, .side-talk { display: none; }
  .real-split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .quote-form .q-step { margin: var(--s5) var(--s4); padding-bottom: var(--s5); }
  .wo-head { padding: var(--s5) var(--s4); }
  .wo-head { grid-template-columns: minmax(0, 1fr); }
  .wo-date { grid-column: 1; grid-row: auto; }
  .quote-form .form-note, .quote-form .form-status { margin: var(--s5) var(--s4); }
  .quote-form button[type="submit"] { margin: 0 var(--s4); width: calc(100% - 2 * var(--s4)); padding-inline: var(--s3); font-size: var(--step-0); white-space: normal; }
  .crew-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); --fig-h: 120px; }
  .quote-form .crew-tile, .quote-form .crew-tile:nth-child(5) { grid-column: auto; }
  .quote-form .crew-tile:last-child { grid-column: 1 / -1; }
  .quote-form .seg-opt { padding-inline: var(--s2); }
  .wo-receipt { padding: 0; }
  .real-grid .real-shots, .real-split .real-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .real-shots .shot:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) {
  .wo-receipt .stamp { animation: none; opacity: .92; }
}

/* The light designer, embedded on the Christmas lights page. The script is injected by site.js when the band is
   near the screen (never in the HTML); the placeholder holds the space until the iframe arrives. */
.designer-band { background: var(--dusk); color: var(--on-dusk); padding: var(--s8) max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
.designer-band .eyebrow { color: var(--on-dusk-muted); }
.designer-band h2 { margin-top: var(--s2); color: var(--on-dusk); }
.designer-intro { max-width: 62ch; margin: var(--s3) 0 var(--s6); color: var(--on-dusk-muted); font-size: var(--step-0); }
.designer-slot { min-height: 720px; border-radius: var(--r-lg); overflow: hidden; background: var(--dusk-2); }
.designer-slot:has(iframe) { min-height: 0; }
.designer-slot iframe { display: block; width: 100%; border: 0; }
.designer-loading { margin: 0; padding: var(--s7) var(--s6); color: var(--on-dusk-muted); }
.designer-loading a { color: var(--on-dusk); font-weight: 700; }
.designer-band + .real { border-top: 1px solid var(--dusk-2); }
@media (max-width: 760px) {
  .designer-band { padding-block: var(--s7); }
  .designer-slot { border-radius: var(--r-md); }
  .designer-loading { padding: var(--s6) var(--s4); }
  .nf-intro { flex-direction: column; align-items: flex-start; gap: var(--s5); --fig-h: 208px; }
  .nf-intro .ct-fig { margin: 0 auto; }
  .pull-wrap { --fig-h: 200px; gap: var(--s4); }
}

/* the before/after in the home season card: caption under the picture, not over it */
.ba.season-ba figcaption { position: static; padding: var(--s3) var(--s4); background: none; color: var(--on-dusk-muted); font-weight: 500; font-size: .95rem; }

/* a band with one or two photos: wide tiles, not a 1,400 px tall slab */
.real-grid .real-shots:has(.shot:only-child) .shot { aspect-ratio: 16 / 7; }
.real-grid .real-shots:has(.shot:only-child) .shot img { object-position: 50% 58%; }
.real-grid .real-shots:has(.shot:nth-child(2):last-child) .shot { aspect-ratio: 1 / 1; }
@media (max-width: 760px) {
  .real-grid .real-shots:has(.shot:only-child) .shot { aspect-ratio: 4 / 3; }
  .real-grid .real-shots:has(.shot:nth-child(2):last-child) .shot { aspect-ratio: 4 / 5; }
}

/*@@PASS2B@@*/
/* ================================================================== Pass 2b: content pieces ==================================================================
   Tokens only. Heat cells run --trim (quiet) to --red (peak) in five steps; tables become stacked cards on phones. */
.reviews [hidden], .area-check [hidden] { display: none !important; }
.btn-line { border: 1.5px solid var(--ink); color: var(--ink); background: none; }
.btn-line:hover { background: var(--ink); color: var(--trim); transform: translateY(-1px); }

/* the compact promise line (service and town pages); the full promise lives on home, About and the quote page */
.promise-line {
  margin: var(--s6) 0 0; padding: var(--s1) 0; border-block: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s3);
  font-weight: 700; font-stretch: 106%; font-size: var(--step-0);
}
.promise-line span { white-space: nowrap; }
.promise-line a { display: inline-flex; align-items: center; min-height: 44px; color: var(--red); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.promise-line a:hover { color: var(--red-deep); }

/* ---------- the heat strip: a real table, months across, one row per service ---------- */
.heat { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 4px; }
.heat caption { caption-side: bottom; text-align: left; padding: var(--s4) 0 0; color: var(--muted); font-size: var(--step-meta); line-height: 1.5; max-width: 64ch; }
.heat thead th { padding: 0 0 var(--s1); font-size: var(--step-label); font-weight: 750; letter-spacing: .04em; text-align: center; color: var(--muted); }
.heat thead th:first-child, .heat tbody th { width: 10.5rem; }
.heat tbody th { padding-right: var(--s3); text-align: left; font-weight: 750; font-stretch: 106%; line-height: 1.2; }
.heat tbody th a { display: inline-block; padding-block: .35rem; text-decoration: none; }   /* 26 px+ tap targets, even at the phone size */
.heat tbody th a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.heat .hs { position: relative; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-sm); }
.hs-1 { background: var(--trim); }
.hs-2 { background: color-mix(in srgb, var(--red) 20%, var(--trim)); border-color: transparent; }
.hs-3 { background: color-mix(in srgb, var(--red) 45%, var(--trim)); border-color: transparent; }
.hs-4 { background: color-mix(in srgb, var(--red) 72%, var(--trim)); border-color: transparent; }
.hs-5 { background: var(--red); border-color: transparent; }
.hs[data-peak]::after {   /* the peak month names itself (decorative: the value is in the hidden text) */
  content: attr(data-peak); content: attr(data-peak) / "";
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: var(--step-label); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--surface);
}
.heat-mini tbody th { width: 5.5rem; }
.heat-mini .hs { height: 40px; }
.heat-note { margin: var(--s2) 0 0; color: var(--muted); font-size: var(--step-meta); }

/* a full-width light band: "when to book" on service pages, "when GTA homes book what" on home */
.when-band { margin-top: var(--s8); background: var(--surface); border-block: 1px solid var(--line); }
.when-inner {
  max-width: var(--max); margin: 0 auto; padding: var(--s8) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s7); align-items: center;
}
.when-inner.when-text, .when-inner.when-wide { grid-template-columns: minmax(0, 1fr); }
.when-inner h2 { margin-bottom: var(--s4); font-size: var(--step-h2); }
.when-wide h2 { margin-bottom: var(--s5); font-size: var(--step-h2); }
.when-inner .lede { max-width: 56ch; }
.when-text .when-copy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s4) var(--s7); align-items: start; }   /* no strip (house washing, house cleaning): heading left, paragraph right */
.when-text .when-copy h2 { margin-bottom: 0; }
.when-text .lede { max-width: 62ch; }
.home-when { margin-top: var(--s9); }

/* ---------- tables that become cards: what it costs (home), compare the services (/services/) ---------- */
.table-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.cost-table, .compare-table { width: 100%; border-collapse: collapse; text-align: left; }
.cost-table caption { caption-side: top; text-align: left; padding: var(--s4) var(--s6); background: var(--trim); border-bottom: 1px solid var(--line); font-size: var(--step-0); }
.cost-table thead th, .compare-table thead th { padding: var(--s3) var(--s6); font-size: var(--step-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.cost-table tbody th, .cost-table td, .compare-table tbody th, .compare-table td { padding: var(--s4) var(--s6); vertical-align: middle; border-top: 1px solid var(--line); }
.cost-table tbody tr:first-child > *, .compare-table tbody tr:first-child > * { border-top: 0; }
.cost-table tbody th, .compare-table tbody th { font-weight: 800; font-stretch: 110%; font-size: var(--step-0); line-height: 1.3; white-space: nowrap; }
.cost-table tbody th a, .compare-table tbody th a { display: inline-block; padding-block: .3rem; text-decoration: none; }   /* 28 px+ tap targets */
.cost-table tbody th a:hover, .compare-table tbody th a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.cost-table td { font-size: var(--step-0); color: var(--ink); }
.cost-table td:nth-child(2) { font-weight: 800; font-stretch: 108%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cost-table tbody tr:hover > *, .compare-table tbody tr:hover > * { background: var(--trim); }
.compare-table td { font-size: var(--step-0); color: var(--ink); }
.compare-table td:nth-child(2) { font-weight: 800; font-stretch: 108%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 750; color: var(--red); text-decoration: none; white-space: nowrap; }
.tbl-link:hover { color: var(--red-deep); text-decoration: underline; text-underline-offset: 3px; }
.hub-compare { padding-top: var(--s7); }
.hub-group .lede { margin-bottom: var(--s5); }
.hub-exterior .svc-card { flex: 0 1 calc((100% - 4 * var(--s3)) / 5); min-width: 188px; }
.hub-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s7); }
.hub-pair .svc-grid { justify-content: flex-start; }
.hub-pair .svc-card { flex: 0 1 300px; }

/* ---------- service pages: signs, what happens on the day, DIY, related ---------- */
.signs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s4); }
.signs li { position: relative; padding: var(--s4) var(--s5) var(--s4) calc(var(--s5) + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); line-height: 1.55; }
.signs li::before { content: ""; position: absolute; left: 0; top: var(--s4); bottom: var(--s4); width: 4px; border-radius: 0 4px 4px 0; background: var(--red); }
.signs li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.steps-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--rows, 3), auto); grid-auto-flow: column; gap: var(--s5) var(--s7); }
.diy { max-width: 880px; padding: var(--s5) var(--s6); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.diy h2 { margin-bottom: var(--s3); font-size: var(--step-h2); }
.diy .lede { max-width: none; }
.related { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.related a { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 68px; padding: var(--s4) var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; font-weight: 700; line-height: 1.35; transition: border-color .2s var(--ease), transform .25s var(--ease); }
.related a:hover { border-color: var(--red); transform: translateY(-2px); }
.related .svc-go { flex: none; }

/* ---------- town pages: what homes search for, ranked ---------- */
.ranked { list-style: none; margin: 0; padding: 0; counter-reset: rk; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s4); }
.ranked li { counter-increment: rk; position: relative; min-width: 0; padding: var(--s5) var(--s5) var(--s5) calc(var(--s5) + 70px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.ranked li::before { content: counter(rk); position: absolute; left: var(--s5); top: var(--s4); font-size: clamp(2.6rem, 2rem + 1.4vw, 3.4rem); line-height: 1; font-weight: 900; font-stretch: 125%; color: var(--red); font-variant-numeric: tabular-nums; }
.rk-name { font-weight: 820; font-stretch: 112%; font-size: var(--step-1); line-height: 1.25; text-decoration: none; }
.rk-name:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.ranked p { margin: var(--s2) 0 0; }
.rk-cap { margin: var(--s4) 0 0; color: var(--muted); font-size: var(--step-meta); }

/* ---------- /areas/: the postal-code checker, town cards, a paragraph per town ---------- */
.area-check { position: relative; margin-top: var(--s6); background: var(--dusk); color: var(--on-dusk); --fig-h: 230px; }
.area-check :focus-visible { outline-color: var(--on-dusk); }
.check-inner { position: relative; max-width: var(--max); margin: 0 auto; padding: var(--s7) var(--gutter); min-height: 250px; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; }
.check-form { max-width: 640px; }
.check-form label { display: block; margin-bottom: var(--s3); font-size: var(--step-2); font-weight: 860; font-stretch: 118%; letter-spacing: -.01em; }
.check-row { display: flex; gap: var(--s3); }
.check-row input {
  flex: 1; min-width: 0; min-height: 54px; padding: 0 var(--s4); border: 2px solid transparent; border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 1.25rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase;
}
.check-row input::placeholder { color: var(--muted); font-weight: 500; }
.check-row input[aria-invalid="true"] { border-color: var(--gold); }
.check-row .btn { flex: none; border: 0; font-family: inherit; cursor: pointer; }
.check-result { max-width: 640px; min-height: 2.9em; margin: var(--s4) 0 0; font-size: var(--step-1); font-weight: 650; line-height: 1.4; }
.check-result a:not(.btn) { color: var(--on-dusk); text-underline-offset: 3px; }
.check-result .btn { margin-left: var(--s2); vertical-align: middle; }
.check-result.is-in::before { content: '✓'; display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: var(--s2); border-radius: 50%; background: var(--gold); color: var(--dusk); font-size: 1rem; font-weight: 900; vertical-align: 2px; }
.check-result.is-out, .check-result.is-bad { color: var(--on-dusk); }
.area-check .check-jerry { position: absolute; right: var(--gutter); bottom: 0; width: auto; }
.area-check + .page-body { padding-top: var(--s7); }
.area-list-full { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.area-list-full .town-card span:nth-child(2) { font-size: .98rem; line-height: 1.6; }
.area-paras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s7) var(--s8); margin-top: var(--s8); }
.area-para { min-width: 0; }
.area-para h2 { margin-bottom: var(--s3); font-size: var(--step-h2); line-height: 1.15; text-wrap: balance; }
.area-para p { max-width: 62ch; margin: 0; }
.area-para .fsa-list { margin-top: var(--s3); font-size: var(--step-meta); line-height: 1.75; color: var(--muted); font-variant-numeric: tabular-nums; }
.fsa-list strong { display: block; font-size: var(--step-label); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
html:not(.js) .area-check { display: none; }

/* ---------- reviews: server-rendered fallback, live cards when /api/reviews answers ---------- */
.reviews { max-width: var(--max); margin: 0 auto; padding: var(--s8) var(--gutter) 0; }
.page-body > .reviews { padding-inline: 0; }
.rv-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s4) var(--s7); align-items: center; padding: var(--s6); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.rv-head h2 { font-size: var(--step-h2); }
.rv-head .rating { margin-top: var(--s3); font-size: var(--step-1); }
.rv-actions { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: flex-end; }
/* studio pass 2026-11-06: the one real review that names this service, as the card's body (build.py REVIEW_FOR) */
.rv-quote { grid-column: 1 / -1; grid-row: 2; margin: 0; padding-top: var(--s5); border-top: 1px solid var(--line); }
.rv-quote blockquote { margin: 0; }
.rv-quote p { position: relative; max-width: 58ch; font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem); line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.rv-quote p::before { content: '\201C'; position: absolute; left: -.62em; top: -.12em; font-size: 2.2em; line-height: 1; font-weight: 800; color: var(--red); }
.rv-quote figcaption { margin-top: var(--s3); font-size: var(--step-meta); font-weight: 650; color: var(--muted); }
.rv-has-quote .rv-quote { padding-left: .9em; }
.rv-live { margin-top: var(--s5); }
.rv-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s4); }
.rv-credit { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--s2); font-weight: 650; }
.rv-credit .g-word { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.g-b { color: #4285F4; } .g-r { color: #EA4335; } .g-y { color: #FBBC05; } .g-g { color: #34A853; }   /* Google's own wordmark colours: their brand, not ours */
.rv-nav { display: flex; gap: var(--s2); }
.rv-nav button { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--surface); color: var(--ink); font: inherit; font-size: 1.25rem; line-height: 1; cursor: pointer; }
.rv-nav button:hover { background: var(--ink); color: var(--trim); }
.rv-nav button[aria-disabled="true"] { border-color: var(--line); color: var(--muted); background: var(--trim); cursor: default; }
.rv-row { list-style: none; margin: 0; padding: var(--s1) 0 var(--s3); display: flex; gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
.rv-row > li { flex: 0 0 min(360px, 84%); min-width: 0; scroll-snap-align: start; }
.rv-item { height: 100%; display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.rv-who { display: flex; align-items: center; gap: var(--s3); min-width: 0; }
.rv-photo { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--line); }
.rv-initial { display: grid; place-items: center; background: var(--red); color: var(--surface); font-weight: 800; }
.rv-name { font-weight: 750; line-height: 1.25; overflow-wrap: anywhere; }
.rv-name a { text-decoration: none; }
.rv-name a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.rv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s3); color: var(--muted); font-size: var(--step-meta); }
.rv-stars { color: var(--red); letter-spacing: 2px; font-size: 1.05rem; }
.rv-text { margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; font-size: var(--step-0); line-height: 1.55; color: var(--ink); overflow-wrap: anywhere; }
.rv-text.is-open { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.rv-more { align-self: flex-start; margin-top: auto; }
.rv-note { margin: var(--s1) 0 0; color: var(--muted); font-size: var(--step-meta); }

@media (max-width: 1100px) {
  .cost-table caption { padding: var(--s4); }
  .cost-table thead th, .compare-table thead th, .cost-table tbody th, .cost-table td, .compare-table tbody th, .compare-table td { padding: var(--s3) var(--s4); }
  .cost-table tbody th, .compare-table tbody th { white-space: normal; }
  .area-list-full { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-list-full li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .heat thead th:first-child, .heat tbody th { width: 8.5rem; }
}
@media (max-width: 960px) {
  .when-inner { grid-template-columns: minmax(0, 1fr); gap: var(--s5); padding-block: var(--s7); }
  .when-text .when-copy { grid-template-columns: minmax(0, 1fr); }
  .signs, .related, .ranked, .area-paras, .hub-pair { grid-template-columns: minmax(0, 1fr); }
  .steps-2 { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .rv-card { grid-template-columns: minmax(0, 1fr); }
  .rv-actions { justify-content: flex-start; }
  .area-check .check-jerry { display: none; }
}
@media (max-width: 400px) { .pull p { font-size: var(--step-1); } }   /* About: a long word in the quote ran past a 320px screen */
@media (max-width: 760px) {
  .when-band { margin-top: var(--s7); }
  .when-inner { padding-block: var(--s6); }
  .heat { border-spacing: 2px; }
  .heat thead th:first-child, .heat tbody th { width: 31%; }
  .heat-mini thead th:first-child, .heat-mini tbody th { width: 22%; }
  .heat thead th { font-size: var(--step-label); letter-spacing: 0; }
  .heat tbody th { padding-right: var(--s1); font-size: .86rem; font-stretch: 100%; }
  .heat .hs { height: 40px; border-radius: 4px; }
  .hs[data-peak]::after { display: none; }
  .promise-line { margin-top: var(--s5); }
  .diy { padding: var(--s4) var(--s5); }
  .ranked li { padding: var(--s5) var(--s4) var(--s5) calc(var(--s4) + 50px); }
  .ranked li::before { left: var(--s4); font-size: 2.4rem; }
  .area-list-full { grid-template-columns: minmax(0, 1fr); }
  .area-paras { gap: var(--s6); margin-top: var(--s7); }
  .check-inner { padding-block: var(--s6); min-height: 0; }
  .check-row { flex-direction: column; }
  .check-row .btn { width: 100%; }
  .check-result { min-height: 3em; }
  .check-result .btn { display: flex; margin: var(--s3) 0 0; }
  .rv-card { padding: var(--s5) var(--s4); }
  .rv-actions .btn { padding-inline: var(--s4); white-space: normal; text-align: center; }
  .rv-nav { display: none; }
  .rv-row > li { flex-basis: 86%; }
  /* tables become stacked cards; the explicit roles on the markup keep them tables for assistive tech */
  .cost-table, .cost-table tbody, .cost-table tr, .cost-table th, .cost-table td,
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; }
  .cost-table thead, .compare-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cost-table caption { display: block; padding: var(--s4); }
  .cost-table tbody tr, .compare-table tbody tr { padding: var(--s4); border-top: 1px solid var(--line); }
  .cost-table tbody tr:first-child, .compare-table tbody tr:first-child { border-top: 0; }
  .cost-table tbody th, .cost-table td, .compare-table tbody th, .compare-table td { padding: 0; border: 0; background: none !important; white-space: normal; }
  .cost-table tbody th, .compare-table tbody th { margin-bottom: var(--s2); font-size: var(--step-1); }
  .cost-table td, .compare-table td { margin-top: var(--s2); }
  .cost-table td::before, .compare-table td::before {
    content: attr(data-label); content: attr(data-label) / "";
    display: block; font-size: var(--step-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  }
  .compare-table td[data-label="Link"]::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .related a:hover, .btn-line:hover { transform: none; }
  .rv-row { scroll-behavior: auto; }
}

/* /services/: not sure which one you need, services that pair well. /areas/: checker + out-of-area notes */
.need-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) var(--s7); margin: 0; }
.need-list div { border-top: 1px solid var(--line); padding-top: var(--s3); }
.need-list dt { font-weight: 640; }
.need-list dd { margin: var(--s1) 0 0; }
.need-list dd a { font-weight: 760; color: var(--red); }
.pair-list { list-style: none; margin: 0; padding: 0; }
.pair-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--s5); padding: var(--s5) 0; border-top: 1px solid var(--line); }
.pair-list li:last-child { border-bottom: 1px solid var(--line); }
.pair-list h3 { margin: 0; font-size: var(--step-1); font-weight: 820; font-stretch: 112%; line-height: 1.2; }
.pair-list p { margin: 0; max-width: 62ch; }
.area-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s7) var(--s8); margin-top: var(--s8); padding-top: var(--s7); border-top: 1px solid var(--line); }
.area-note h2 { margin-bottom: var(--s3); font-size: var(--step-h2); line-height: 1.2; }
.area-note p { max-width: 62ch; margin: 0; }
@media (max-width: 760px) {
  .need-list, .pair-list li, .area-notes { grid-template-columns: minmax(0, 1fr); gap: var(--s2) var(--s4); }
  .area-notes { gap: var(--s6); margin-top: var(--s7); }
}

/* ================================================================== Pass 3 R0.1: the FAQ smartphone ==================================================================
   A text from Jerry's asking for photos and the address, beside the home FAQ (an incoming call until Andrew's no-calls ask,
   2026-10-22). The whole figure is decorative (aria-hidden): the real control is the visible .btn under it. The message screen
   is HTML placed by the % box in assets/phone/screen.json; the phone body is the approved red-phone cut-out. CSS keyframes plus a
   gentle float; site.js adds .is-live only while the section is on screen. No JS, no .is-live or reduced motion = lit and still. */
.callphone {
  --cp: clamp(200px, 20vw, 280px);      /* phone width */
  --u: calc(var(--cp) / 100);           /* one hundredth of the phone width: every size inside is in u */
  position: relative; width: var(--cp); margin: var(--s6) auto var(--s5);
}
.callphone::before {                    /* the warm glow behind the phone */
  content: ""; position: absolute; inset: -20% -46%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(178, 31, 51, .3), rgba(240, 168, 48, .13) 58%, transparent 80%);
}
.cp-body { position: relative; z-index: 1; }
.cp-img { display: block; width: 100%; height: auto; }
.cp-screen { position: absolute; overflow: hidden; border-radius: calc(var(--cp) * .0971); background: #000; }
.cp-screen::after {                     /* the notch the phone cut-out draws on its black screen */
  content: ""; position: absolute; z-index: 2; top: 0; left: 50%; width: 17%; height: 2.3%; transform: translateX(-50%);
  background: #000; border-radius: 0 0 calc(var(--u) * 3) calc(var(--u) * 3);
}
.cp-ui {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center;
  padding: calc(var(--u) * 11) calc(var(--u) * 5) calc(var(--u) * 9);
  background: linear-gradient(180deg, var(--dusk-2), var(--dusk)); color: var(--on-dusk);
}
.cp-ui p { margin: 0; }
.cp-ui .cp-top { font-size: max(11px, calc(var(--u) * 4.6)); letter-spacing: .02em; color: var(--on-dusk-muted); }
.cp-head { display: grid; justify-items: center; gap: calc(var(--u) * 3.5); }
.cp-avatar { position: relative; flex: none; width: calc(var(--u) * 24); aspect-ratio: 1; }
.cp-face { position: absolute; inset: 0; z-index: 1; overflow: hidden; border-radius: 50%; background: var(--trim); box-shadow: 0 0 0 max(2px, calc(var(--u) * 1)) var(--trim); }
.cp-face img { display: block; width: 150%; max-width: none; height: auto; margin: calc(var(--u) * .3) 0 0 -25%; }   /* head and shoulders: the top of the figure, tight on the face */
.cp-who { display: grid; gap: calc(var(--u) * 1.5); }
.cp-ui .cp-name { color: var(--on-dusk); font-size: max(13px, calc(var(--u) * 6.6)); line-height: 1.16; font-weight: 820; font-stretch: 112%; letter-spacing: -.01em; }
.cp-ui .cp-num { font-size: max(11px, calc(var(--u) * 4.8)); color: var(--on-dusk-muted); font-variant-numeric: tabular-nums; }
.cp-thread { width: 100%; display: grid; justify-items: start; gap: calc(var(--u) * 2.5); text-align: left; }
.cp-ui .cp-msg {                        /* incoming bubbles: the tail corner sits bottom-left */
  max-width: 88%; padding: calc(var(--u) * 3) calc(var(--u) * 4.4); border-radius: calc(var(--u) * 6) calc(var(--u) * 6) calc(var(--u) * 6) calc(var(--u) * 1.6);
  background: rgba(243, 234, 223, .14); color: var(--on-dusk); font-size: max(11px, calc(var(--u) * 5)); line-height: 1.3;
}
.cp-reply {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: calc(var(--u) * 2);
  padding: calc(var(--u) * 1.6) calc(var(--u) * 1.6) calc(var(--u) * 1.6) calc(var(--u) * 4.4); border: 1px solid rgba(243, 234, 223, .26); border-radius: 999px;
  color: var(--on-dusk-muted); text-decoration: none; font-size: max(11px, calc(var(--u) * 4.6));
}
.cp-send { display: grid; place-items: center; flex: none; width: calc(var(--u) * 11); aspect-ratio: 1; border-radius: 50%; background: var(--red); color: #fff; }
.cp-send svg { width: 56%; height: 56%; }
.callphone-cta { display: flex; width: fit-content; margin: 0 auto; }
.faq-call { position: relative; margin: 0 0 var(--s6); }
.faq-call > .motion-faq { top: 0; right: 0; }
.faq-call .callphone { margin: 0 auto var(--s5); }

/* the text: the screen lights up ONCE (0.6 s, the first time the phone comes on screen, .is-on) with one short buzz, the two
   bubbles pop in after it, and then only the red send button breathes, a seamless 2 s cycle that starts and ends at rest.
   Off screen (.is-live off) everything pauses where it is instead of resetting. Only transform and opacity move. */
@media (prefers-reduced-motion: no-preference) {
  .js .callphone:not(.is-on) .cp-ui, .js .callphone:not(.is-on)::before { opacity: 0; }
  .js .callphone.is-on { animation: cp-float 8s ease-in-out infinite alternate; }
  .js .callphone.is-on::before { animation: cp-lit .6s ease-out both, cp-glow 4s ease-in-out .6s infinite; }
  .js .callphone.is-on .cp-ui { animation: cp-lit .6s ease-out both; }
  .js .callphone.is-on .cp-body { animation: cp-buzz 2s linear .6s 1; }
  .js .callphone.is-on .cp-msg { animation: cp-pop .45s cubic-bezier(.2, .8, .3, 1.2) calc(1s + var(--i) * .8s) both; }
  .js .callphone.is-on .cp-send { animation: cp-breathe 2s ease-in-out 2.6s infinite; }
  .js .callphone.is-on:not(.is-live), .js .callphone.is-on:not(.is-live)::before,
  .js .callphone.is-on:not(.is-live) .cp-ui, .js .callphone.is-on:not(.is-live) .cp-body,
  .js .callphone.is-on:not(.is-live) .cp-msg, .js .callphone.is-on:not(.is-live) .cp-send { animation-play-state: paused; }
}
@keyframes cp-float { from { transform: translateY(-6px); } to { transform: translateY(6px); } }
@keyframes cp-lit { from { opacity: 0; } to { opacity: 1; } }
@keyframes cp-glow { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@keyframes cp-buzz {   /* 0 to 0.5 s of the 2 s cycle shakes (25%), the rest is still */
  0%, 25%, 100% { transform: translate3d(0, 0, 0) rotate(0); }
  2.5% { transform: translate3d(2.5px, 0, 0) rotate(1.2deg); }
  5% { transform: translate3d(-2.5px, 0, 0) rotate(-1.2deg); }
  7.5% { transform: translate3d(2.8px, 0, 0) rotate(1.5deg); }
  10% { transform: translate3d(-2.8px, 0, 0) rotate(-1.5deg); }
  12.5% { transform: translate3d(2.2px, 0, 0) rotate(1deg); }
  15% { transform: translate3d(-2.5px, 0, 0) rotate(-1.3deg); }
  17.5% { transform: translate3d(2px, 0, 0) rotate(1deg); }
  20% { transform: translate3d(-1.5px, 0, 0) rotate(-.7deg); }
  22.5% { transform: translate3d(1px, 0, 0) rotate(.4deg); }
}
@keyframes cp-pop {    /* a bubble rises from its tail corner */
  from { transform: translateY(8px) scale(.92); transform-origin: 0 100%; opacity: 0; }
  to { transform: none; transform-origin: 0 100%; opacity: 1; }
}
@keyframes cp-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@media (max-width: 760px) {
  .callphone { --cp: 180px; margin-top: var(--s5); }
}

/* About: the business at a glance (studio pass 2026-11-06, AEO) */
.glance { width: 100%; max-width: 860px; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.glance th, .glance td { padding: var(--s4) var(--s5); text-align: left; vertical-align: top; border-top: 1px solid var(--line); font-size: var(--step-0); line-height: 1.5; }
.glance tr:first-child :is(th, td) { border-top: 0; }
.glance th { width: 30%; font-size: var(--step-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: calc(var(--s4) + .2em); }
@media (max-width: 560px) {
  .glance, .glance tbody, .glance tr, .glance th, .glance td { display: block; width: auto; }
  .glance th { padding-bottom: 0; border-top: 1px solid var(--line); }
  .glance td { border-top: 0; padding-top: var(--s1); }
}

/* ---------- studio pass 2026-11-06, pass 3: page transitions and scroll entrances ----------
   Both are CSS only and progressive: browsers without cross-document view transitions or scroll-driven animations
   show the plain page, and reduced motion or the "Pause animations" switch (html.motion-off) turns both off.
   Only opacity and transform move. Nothing above the fold animates in, so LCP and the hero are untouched. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  header.top { view-transition-name: site-top; }               /* the header stays put; only the page beneath changes */
  ::view-transition-old(root) { animation: vt-out 180ms cubic-bezier(.4, 0, 1, 1) both; }
  ::view-transition-new(root) { animation: vt-in 360ms var(--ease) both; }
  ::view-transition-group(site-top) { animation-duration: 0s; }
  @keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
  html.motion-off::view-transition-old(root), html.motion-off::view-transition-new(root) { animation: none; }

  @supports (animation-timeline: view()) {
    html:not(.motion-off) :is(.page-body .block > h2, .svc-card, .shot, .review, .rv-card, .steps > li, .glance, .area-card, .season) {
      animation: rise-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
    @keyframes rise-in { from { opacity: 0; transform: translateY(26px); } }
  }
}

/* home: the Toronto answer under "What we do" (SEO/AEO audit 2026-11-06 M3) */
.home-answer { max-width: 62ch; margin-top: var(--s4); }
.answer a { white-space: nowrap; }

/* ---------- studio pass 2026-11-06, pass 3 (council 2): cut the template tells ----------
   #9 left-accent bars: only the story pull-quote and the About pull keep a bar; every other card loses it.
   #6 "Signs it's time" is a plain two-column list, not boxed cards.
   #7 the review that names a service sits in the price card; the proof link is a link, not a second red button.
   #11 phone service cards sit 2 to a row.  #8 the caption separator keeps its spaces.  #16 About table spacing. */
.tip { border-left: 0; border-radius: var(--r-md); }
.service-details .included, .service-details .good-card { border-left: 0; }
/* 2026-11-06 pass 4, council #4: DIY ruled treatment moves to the pass-4 block below. */
.season { border-left: 0; border: 1px solid var(--line); }
.signs { gap: var(--s4) var(--s7); }
.signs li { padding: 0 0 0 var(--s5); background: none; border: 0; border-radius: 0; font-size: var(--step-0); line-height: 1.6; }
.signs li::before { top: .62em; bottom: auto; width: 8px; height: 8px; border-radius: 50%; }
.price-proof { margin: var(--s5) 0; }
.price-proof .rv-quote { padding: var(--s4) 0 0; border-top: 1px solid var(--line); padding-left: .9em; }
.price-proof .rv-quote p { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); }
.proof-link { margin: var(--s3) 0 0; font-weight: 650; }
.proof-link a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.proof-link a:hover { color: var(--red-deep); }
.rv-quote time::before { content: '\00A0\00B7\00A0'; }
/* 2026-11-06 pass 4, council #10: dead table sibling selector replaced below. */
@media (max-width: 559px) {
  .svc-card, .svc-grid:has(> .svc-card:nth-child(6):last-child) > .svc-card { flex-basis: calc((100% - var(--s3)) / 2); min-width: 0; }
  .signs { grid-template-columns: minmax(0, 1fr); }
}

/* pass 3 (council 2 "still open"): phone tap targets reach 44 px. These links passed the 24 px AA floor; the footer
   lists, breadcrumbs, table links and footer contact lines now have 44 px rows on phones. Inline links in sentences
   stay as they are (exempt). */
@media (max-width: 760px) {
  .foot-list a, .foot p a, .crumbs a, .cost-table th a, .heat th a, .rk-name, .proof-link a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot-list li, .foot p { line-height: 1.3; }
}

/* ---------- studio pass 2026-11-06, pass 4 (council 3) ---------- */
/* Council #3: place good-job proof below included items beside the price at desktop widths. */
.service-details .good-card { background: none; padding-inline: 0; }
@media (min-width: 960px) {
  .service-details { grid-template-rows: auto 1fr; }
  .service-details .price-card { grid-row: 1 / span 2; }
  .service-details .price-card + .included { grid-column: 2; grid-row: 1; }
  .service-details .good-card { grid-column: 2; grid-row: 2; padding: var(--s7) var(--s5) 0; }
  .service-details .good-card .checks { columns: 1; }
}

/* Council #4: FAQ, DIY and price notes use rules instead of boxes; summary markers and focus remain intact. */
.faq { gap: 0; }
.qa { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { padding: var(--s4) 0; }
.qa p { padding: 0 0 var(--s5); }
.diy { padding: var(--s6) 0 0; background: none; border: 0; border-top: 2px solid var(--ink); border-radius: 0; }
.price-card .note { padding: var(--s4) 0 0; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; }

/* Council #5 (CSS): home and About reviews become ruled sections. */
.rv-card { padding: var(--s6) 0 0; background: none; border: 0; border-top: 2px solid var(--ink); border-radius: 0; }

/* Council #6: separate the page head from the following dark band. */
.page-head + :is(.real, .designer-band) { margin-top: var(--s8); }

/* Council #7: cap a single real-job photo at 500px and restore its square aspect ratio on desktop. */
@media (min-width: 961px) {
  .real-grid:has(.shot:only-child) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); column-gap: var(--s8); align-items: center; }
  .real-grid .real-shots:has(.shot:only-child) { grid-template-columns: minmax(0, 1fr); }
  .real-grid .real-shots:has(.shot:only-child) .shot { aspect-ratio: 1 / 1; }
}

/* Council #8: keep the home slider beside the photos as the jobs band scrolls. */
@media (min-width: 961px) {
  .real-split .real-sliders { position: sticky; top: calc(var(--top-h) + var(--s5)); }
}

/* Council #9: override hub card minimum widths for two cards per phone row. */
@media (max-width: 559px) {
  .hub-exterior .svc-card, .hub-pair .svc-card { flex: 0 1 calc((100% - var(--s3))/2); min-width: 0; }
}

/* Council #10: space the credit line after the block containing the About table. */
.block:has(> .glance) + .lede { margin-top: var(--s7); }

/* ---------- studio pass 2026-11-06, pass 5 (council 4) ---------- */
/* #5 home roster: no orphan row. On the 8-column grid the first card (window cleaning) spans half a row with a wider photo,
   and every row fills: 4 + 2 + 2, then 2 + 2 + 2 + 2. */
/* (the roster rules moved to site.css in council 5's fix 8: home defers pages.css) */
/* #7 the tip is a plain line, not a white box above the price card */
.tip { padding: 0; background: none; border: 0; border-radius: 0; }
/* #4 "Also on the same visit": the two cards sit under their left-aligned heading and line */
section[aria-labelledby="more-title"] .svc-grid { justify-content: flex-start; margin-top: var(--s5); }

/* council 5 (2026-11-06) #3: town pages list 4 featured services, then the other 3 in a second list; those 3 now span the row
   (4 + 3 full width) instead of sitting centred under the first four */
@media (min-width: 761px) {
  .svc-grid + .svc-grid:has(> .svc-card:nth-child(3):last-child) > .svc-card { flex-basis: calc((100% - 2 * var(--s3)) / 3); }
  .svc-grid + .svc-grid:has(> .svc-card:nth-child(3):last-child) .svc-photo { aspect-ratio: 16 / 9; }   /* same photo height as the row of 4 */
}
/* (council 5 #11's nowrap on the town chips was reverted the same hour: the long Toronto chip then ran a 390 phone 484 px wide) */
