/* row 337b: margin, radius + colour tokens (post_build.py) */
:root{--len-0_6em:0.6em;--len-1em:1em;--len-34px:34px;--len-10px:10px;--len-6px:6px;--len-5px:5px;--len-14px:14px;--len-18px:18px;--len-_35em:.35em;--len-20px:20px;--len-38px:38px;--len-22px:22px;--len-26px:26px;--len-28px:28px;--len-15px:15px;--len-2px:2px;--len-30px:30px;--len-_5em:.5em;--len-40px:40px;--len-36px:36px;--len-1_5px:1.5px;--len-23px:23px;--len-64px:64px;--len-_2em:.2em;--len-_4em:.4em;--len-1_6em:1.6em;--len-56px:56px;--radius-8px:8px;--radius-10px:10px;--radius-3px:3px;--radius-12px:12px;--radius-16px:16px;--radius-18px:18px;--c-x1:rgba(255,255,255,.9);--c-x2:rgba(255,255,255,.65);--c-x3:rgba(255,255,255,.96);--c-x4:rgba(0,0,0,.35);--c-x5:rgba(255,255,255,.88);--c-x6:rgba(255,255,255,.08);--c-x7:rgba(255,255,255,.85);--c-x8:rgba(0,0,0,.4);--c-x9:rgba(255,255,255,.25);--c-x10:rgba(127,127,127,.3);--c-x11:rgba(255,255,255,.6);--c-x12:rgba(255,255,255,.8);--c-x13:rgba(255,255,255,.7);--c-x14:rgba(255,255,255,.15);--c-fff:#fff;--c-e6e6e6:#e6e6e6;--c-9aa0a6:#9aa0a6;--c-34c759:#34c759;--c-3a0505:#3a0505;--c-120202:#120202;--c-ff3b3b:#ff3b3b;--c-ff4a4a:#ff4a4a;--c-x15:rgba(255,255,255,.86);--c-x16:rgba(0,0,0,.78);--c-x17:rgba(0,0,0,0);--c-x18:rgba(224, 0, 0, .38);--c-x19:rgba(224,0,0,.12);--c-x20:rgba(224,0,0,0);--c-x21:rgba(0, 0, 0, .16);--c-x22:rgba(0, 0, 0, .08);--c-111:#111;--c-x23:rgba(0,0,0,.62);--c-1a1a1a:#1a1a1a;--c-555:#555;--c-c8102e:#c8102e;--c-f4f4f2:#f4f4f2;--c-efe9df:#efe9df;--c-171717:#171717;--c-x24:rgba(0,0,0,.04);--c-x25:rgba(0,0,0,.72);--c-x26:rgba(0,0,0,.6);--c-x27:rgba(255,255,255,.92);--c-x28:rgba(255,255,255,.12);--c-4b5563:#4b5563;--c-x29:rgba(27,30,35,.12);--c-x30:rgba(255, 255, 255, .09);--c-x31:rgba(255, 255, 255, .07);}
/* row 337: spacing + shadow tokens (post_build.py) */
:root{--pad-2px:2px;--pad-5px:5px;--pad-6px:6px;--pad-7px:7px;--pad-9px:9px;--pad-10px:10px;--pad-11px:11px;--pad-13px:13px;--pad-14px:14px;--pad-18px:18px;--pad-20px:20px;--pad-22px:22px;--pad-26px:26px;--pad-28px:28px;--pad-30px:30px;--pad-34px:34px;--pad-40px:40px;--pad-46px:46px;--pad-48px:48px;--pad-56px:56px;--pad-60px:60px;--pad-64px:64px;--pad-70px:70px;--pad-72px:72px;--pad-78px:78px;--pad-84px:84px;--pad-92px:92px;--shadow-x1:0 10px 30px rgba(0,0,0,.12);--shadow-x2:0 0 0 1px rgba(0,0,0,.25);--shadow-x3:0 6px 16px rgba(0,0,0,.35);}
/* bb-skeleton.css — LAYOUT ONLY for the deterministic Bluebird skeleton.
   Colours come from assets/brand-tokens.css (written by logo-palette.py). This sheet owns the
   Bluebird layout: sticky white header + dropdowns, trust bar, hero with form card right, alternating
   photo | dark-card rows (row / row-reverse), 78px band rhythm, 4-card step row, centered FAQ,
   service-areas text | map, 3-card directions row, 3/4-col place grid, 5-column footer, mobile call.
   Breakpoint rules are LAST in the sheet on purpose (feedback_rebuild_on_house_system_not_bespoke #3).
   Three font weights ship (800/700/600) so hierarchy comes from weight contrast (visual-system-port S5). */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); line-height: 1.65; background: var(--white); font-size: 16.5px; overflow-x: hidden; }
img, svg, iframe { max-width: 100%; }
/* every <img> ships width/height attributes for CLS; without height:auto a width-only rule stretches it (measured: gallery photos rendered 0.41 vs natural 1.33, 2026-09-16) */
img { height: auto; }
a { color: var(--navy-2); }
h1, h2, h3, .btn, .logo, .kicker, .step-pill, .badge-pill { font-family: var(--font-head); }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.12; font-weight: 800; color: var(--white); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.6rem, 2.9vw, 2.25rem); line-height: 1.18; font-weight: 800; color: var(--navy); letter-spacing: -0.3px; margin-bottom: var(--len-0_6em); }
h3 { font-size: 1.12rem; font-weight: 700; color: var(--navy); }
p { margin-bottom: var(--len-1em); }
.muted { color: var(--muted); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--pad-22px); }
.wrap-narrow { max-width: 896px; margin: 0 auto; }
.section { padding: var(--pad-78px) 0; }
.bb-white { background: var(--white); }
.bb-pale { background: var(--tint); }
.bb-dark { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--c-x1); }
.bb-dark h2, .bb-dark h3 { color: var(--white); }
.bb-dark .kicker { color: var(--sky); }
.bb-dark a:not(.btn) { color: var(--sky); }
.bb-center-head > .wrap > .kicker, .bb-center-head > .wrap > h2, .bb-center-head > .wrap > .section-lead, .bb-center-head > .wrap > .dir-intro { text-align: center; margin-left: auto; margin-right: auto; }
.bb-center-head > .wrap > .kicker { display: table; }
.bb-center-head > .wrap > h2 { max-width: 860px; margin-bottom: var(--len-34px); }
.kicker { display: inline-block; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: var(--len-10px); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: var(--space-2) var(--pad-14px); z-index: 99; }
.ic { width: 22px; height: 22px; flex: 0 0 auto; color: var(--mark-on-light); }
.bb-dark .ic, .bb-card-dark .ic, .hero .ic, .site-footer .ic, .cta-band .ic { color: var(--sky); }
.stars { display: inline-flex; gap: 2px; }
.stars .star { width: 18px; height: 18px; color: var(--star); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 0.95rem; padding: var(--pad-13px) var(--space-5); border-radius: var(--radius-pill); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn .ic { color: currentColor; }
.btn-cta { background: var(--orange); color: var(--white); }
.btn-cta:hover { background: var(--orange-2); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.hero .btn-ghost { border-color: var(--c-x2); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-lg { padding: var(--space-4) var(--pad-30px); font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* header + dropdowns */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--c-x3); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 18px; height: 76px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.logo-img { display: block; height: 48px; width: auto; }
.nav { margin-left: auto; }
/* DIRECT child only: `.nav ul` also matched the .sub lists and out-specified `.sub{display:none}`, so both dropdowns were
   always open at 1440 (measured in a real browser 2026-09-16: subDisplay flex with hovered:false). */
.nav > ul { display: flex; gap: 4px; list-style: none; }
.nav a { display: block; padding: var(--pad-10px) var(--pad-11px); text-decoration: none; font-weight: 600; font-size: 0.94rem; color: var(--navy); border-radius: var(--radius-8px); white-space: nowrap; }
.nav a:hover { background: var(--tint); color: var(--orange-2); }
.has-sub { position: relative; }
.has-sub > a::after { content: " \25BE"; font-size: 0.7em; }
.sub-toggle { display: none; }
.sub { position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-10px); box-shadow: var(--shadow-x1); padding: var(--space-2); display: none; flex-direction: column; z-index: 60; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { display: flex; }
.sub a { padding: var(--pad-9px) var(--space-3); font-weight: 600; }
.sub-all a { border-top: 1px solid var(--line); margin-top: var(--len-6px); }
.sub-group { list-style: none; }
.sub-group > ul { list-style: none; }
.sub-head { display: block; padding: var(--space-2) var(--space-3) var(--pad-2px); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); text-decoration: none; font-size: 0.95rem; white-space: nowrap; }
.header-phone .ic { color: var(--mark-on-light); }
.header-cta { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: var(--pad-6px); }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--navy); margin: var(--len-5px) 0; border-radius: var(--radius-3px); }

/* trust bar */
.trust-bar { background: var(--navy-2); color: var(--white); }
.trust-in { display: flex; align-items: center; justify-content: center; gap: 12px; padding: var(--pad-9px) var(--pad-22px); text-decoration: none; color: var(--white); font-size: .95rem; flex-wrap: wrap; }
.trust-in b { color: var(--sky); }

/* hero */
.hero { position: relative; background-color: var(--navy); background-size: cover; background-position: center; padding: var(--pad-84px) 0 var(--pad-92px); color: var(--white); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }
.hero .kicker { color: var(--sky); background: var(--c-x4); padding: var(--pad-6px) var(--space-3); border-radius: var(--radius-pill); }
.hero-sub { font-size: 1.1rem; color: var(--c-x5); max-width: 58ch; }
.hero-sub a { color: var(--sky); }
.h1-accent { color: var(--orange); font-style: italic; }
.tldr { background: var(--c-x6); border-left: 4px solid var(--orange); padding: var(--pad-14px) var(--pad-18px); border-radius: 0 var(--radius-12px) var(--radius-12px) 0; margin: var(--len-14px) 0; }
.tldr ul { margin: var(--space-2) 0 0 var(--len-18px); }
.triples p { margin-bottom: var(--len-_35em); color: var(--c-x7); font-size: .95rem; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: var(--len-20px) 0; }
.hero-chips { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; background: var(--c-x8); border: 1px solid var(--c-x9); border-radius: var(--radius-pill); padding: var(--pad-7px) var(--pad-14px); font-size: .9rem; width: max-content; max-width: 100%; }
.bb-hero-center .wrap { text-align: center; max-width: 900px; }
.bb-hero-center .hero-ctas { justify-content: center; }
.bb-hero-center .hero-sub { margin-left: auto; margin-right: auto; }

/* form card */
.form-card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: var(--pad-26px); box-shadow: var(--shadow-2); border-top: 5px solid var(--orange); }
.form-kicker { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); font-weight: 700; margin-bottom: var(--space-1); }
.form-title { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; color: var(--navy); margin-bottom: var(--space-2); }
.form-rating { display: flex; align-items: center; gap: 10px; margin-bottom: var(--len-14px); font-size: .95rem; }
.form-card label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: var(--len-10px); }
.form-card input, .form-card textarea { display: block; width: 100%; margin-top: var(--space-1); padding: var(--pad-11px) var(--space-3); border: 1px solid var(--line); border-radius: var(--radius-8px); font: inherit; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }
.form-note { font-size: .85rem; color: var(--muted); margin: var(--len-10px) 0 0; }
.preview-note { color: var(--orange-2); font-weight: 700; }
/* third-party form embed (spec.forms.embed) in place of the native fields.
   The vendor stylesheet ships its own min-width; these rules keep it inside the card. */
.band-collapse { margin-top: var(--len-6px); }
.band-collapse > summary { cursor: pointer; font-weight: 700; color: var(--accent-text); list-style: none; padding: var(--pad-10px) 0; }
.band-collapse > summary::-webkit-details-marker { display: none; }
.band-collapse > summary::after { content: " \2193"; }
.band-collapse[open] > summary::after { content: " \2191"; }
.band-collapse > .band-collapse-body { padding-top: var(--pad-10px); }
/* on a dark band the accent blue falls to ~2.3:1 against navy — the toggle has to be readable */
.bb-dark .band-collapse > summary, .bb-mid .band-collapse > summary { color: var(--white); }
.bb-post-body { max-width: 820px; margin: 0 auto; font-size: 1.05rem; line-height: 1.75; }
.bb-post-body h2 { margin: var(--len-38px) 0 var(--space-4); font-size: 1.6rem; line-height: 1.3; }
.bb-post-body p { margin-bottom: var(--len-22px); }
.bb-post-body .dek { font-size: 1.2rem; color: var(--muted); }
.bb-post-body .byline, .bb-post-body figcaption { font-size: .85rem; color: var(--muted); }
.bb-post-body img, .bb-post-body video { max-width: 100%; height: auto; border-radius: var(--radius); }
.bb-post-body figure { margin: var(--len-26px) 0; }
.bb-post-body table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.bb-post-body td, .bb-post-body th { padding: var(--pad-14px); text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.bb-post-body th, .bb-post-body blockquote { background: var(--tint); }
.bb-post-body .table-wrap { overflow: auto; }
.bb-post-body blockquote { padding: var(--space-5); margin: var(--len-28px) 0; border-left: 4px solid var(--orange); }
.bb-post-body cite { display: block; font-size: .85rem; margin-top: var(--len-15px); }
.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; text-align: left; }
.post-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5); text-decoration: none; color: inherit; }
.post-card:hover { border-color: var(--orange); }
.post-card h3 { font-size: 1.12rem; margin-bottom: var(--len-6px); color: var(--navy); }
.post-date { font-size: .82rem; color: var(--muted); margin-bottom: var(--len-10px); }
@media (max-width: 820px) { .post-list { grid-template-columns: 1fr; } }
.photo-credits { font-size: .75rem; color: var(--muted); margin-top: var(--len-22px); line-height: 1.6; text-align: left; }
.photo-credits a { color: var(--muted); }
/* photoless hero: the page keeps its kicker + H1, loses the photo band and its dark overlay */
.bb-hero-plain { background: var(--white); padding: var(--space-7) 0 var(--pad-10px); }
.bb-hero-plain::before { display: none; }
.bb-hero-plain .kicker { color: var(--accent-text); }
.bb-hero-plain h1 { color: var(--navy); }
.bb-hero-plain .hero-sub { color: var(--muted); }
.closing-form-wrap { max-width: 560px; margin: 0 auto; }
.form-embed { width: 100%; min-width: 0; }
.form-embed > div { width: 100%; min-width: 0; }
.form-embed iframe { display: block; width: 100%; min-width: 0; border: 0; }

/* breadcrumb */
.crumbs { font-size: .85rem; padding: var(--pad-14px) var(--pad-22px); color: var(--muted); }

/* rows */
.bb-row { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 34px; align-items: stretch; }
.bb-row-rev { grid-template-columns: 1.1fr 0.9fr; }
.bb-row-rev > .bb-media { order: 2; }
.bb-media { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; }
.bb-media > img { display: block; width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.bb-media-map { min-height: 360px; }
.bb-media-map .map-embed { height: 100%; }
.bb-card { border-radius: var(--radius); padding: var(--space-7) var(--pad-46px); align-self: center; }
.bb-card-dark { align-self: stretch; background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--c-x1); display: flex; flex-direction: column; justify-content: center; }
.bb-card-dark h2, .bb-card-dark h3 { color: var(--white); }
.bb-card-dark .kicker { color: var(--sky); }
.bb-card-dark a:not(.btn) { color: var(--sky); }
.bb-card-plain { padding: var(--space-4) var(--space-2); }
.bb-icon-rows { list-style: none; display: grid; gap: 16px; margin: var(--len-18px) 0 var(--space-2); }
.bb-icon-rows li { display: flex; gap: 12px; align-items: flex-start; }
.bb-icon-rows h3 { font-size: 1rem; margin-bottom: var(--len-2px); }
.bb-icon-rows p { margin: 0; }
/* the ONE row that is a real exception to a flat price — it has to read as an exception */
.bb-icon-rows li.row-highlight { background: var(--white); border-left: 4px solid var(--orange); border-radius: var(--radius-10px); padding: var(--pad-14px) var(--space-4); }
.bb-icon-rows li.row-highlight .ic { color: var(--orange); }
.bb-icon-rows li.row-highlight h3 { color: var(--navy); }
.check-list { list-style: none; display: grid; gap: 10px; margin: var(--space-3) 0; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.bb-more-about { margin-top: var(--space-4); border-top: 1px solid var(--c-x10); padding-top: var(--space-3); }
.bb-more-about summary { cursor: pointer; font-weight: 700; }
.bb-more-body { margin-top: var(--len-10px); }
.bb-quote-card { position: absolute; left: 18px; right: 18px; bottom: 18px; background: var(--navy); color: var(--white); border-left: 4px solid var(--orange); border-radius: 0 var(--radius-12px) var(--radius-12px) 0; padding: var(--space-4) var(--pad-18px); }
.bb-quote-card blockquote { font-style: italic; margin-bottom: var(--space-2); }
.bb-media-stack { min-height: 520px; }
.photo-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: var(--tint); color: var(--muted); text-align: center; padding: var(--pad-20px); border: 2px dashed var(--line); }
.ph-ic { width: 40px; height: 40px; }
.entity { margin-top: var(--len-14px); }
.entity-facts { list-style: none; display: grid; gap: 6px; }
.inline-cta a { font-weight: 700; }

/* card grids */
.card-grid { display: grid; gap: 22px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.svc-card { display: block; background: var(--navy); color: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none; padding: 0 0 var(--pad-22px); }
.svc-card img { display: block; width: 100%; height: 220px; object-fit: cover; margin-bottom: var(--len-14px); }
.svc-card .ic { margin: var(--len-22px) var(--len-22px) var(--space-2); width: 30px; height: 30px; color: var(--sky); }
.svc-card h3 { color: var(--white); margin: 0 var(--len-22px) var(--len-6px); }
.svc-card p { color: var(--c-x7); margin: 0 var(--len-22px) var(--len-10px); font-size: .95rem; }
.link-more { display: inline-block; margin: 0 var(--len-22px); color: var(--sky); font-weight: 700; }
.bb-white-cards .offer-card, .bb-white-cards .team-card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: var(--space-5); }
.bb-white-cards h3 { color: var(--navy); }
.badge-pill { display: inline-block; background: var(--orange); color: var(--white); border-radius: var(--radius-pill); padding: var(--space-1) var(--space-3); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: var(--len-10px); }
.bb-related { margin-top: var(--len-30px); }
.bb-related h3 { color: var(--white); margin-bottom: var(--space-3); }

/* steps */
.bb-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: var(--space-2); }
.step-card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: var(--space-5) var(--pad-20px); text-align: center; }
.step-pill { display: inline-block; background: var(--orange); color: var(--white); border-radius: var(--radius-pill); padding: var(--space-1) var(--space-3); font-size: .78rem; font-weight: 700; letter-spacing: .06em; }
.step-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: var(--radius); background: var(--tint); margin: var(--len-14px) auto var(--len-10px); }
.step-icon .ic { color: var(--mark-on-light); width: 26px; height: 26px; }
.step-card h3 { color: var(--navy); margin-bottom: var(--space-2); min-height: 2.6em; }
.step-card p { color: var(--ink); font-size: .95rem; margin: 0; }
.step-timing { margin-top: var(--space-2); font-weight: 700; color: var(--accent-text); }

/* reviews */
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: var(--tint); border-radius: var(--radius); padding: var(--pad-22px); }
.review-card blockquote { margin: var(--len-10px) 0 var(--space-3); font-style: italic; }
.review-card figcaption { font-weight: 700; color: var(--navy); }
.rev-job { display: block; font-weight: 600; color: var(--muted); font-size: .85rem; }
.review-cta { text-align: center; margin-top: var(--len-26px); }

/* FAQ */
.bb-faq .wrap-narrow { text-align: center; }
.faq-item { text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-12px); padding: var(--pad-14px) var(--pad-18px); margin-bottom: var(--len-10px); }
.faq-item summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.faq-item p { margin: var(--len-10px) 0 0; }

/* service areas */
.bb-areas-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 34px; align-items: start; }
.area-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: var(--len-14px) 0; }
.area-card { display: inline-flex; align-items: center; gap: 8px; background: var(--orange); color: var(--white); text-decoration: none; border-radius: var(--radius-pill); padding: var(--space-2) var(--pad-14px); font-weight: 600; font-size: .9rem; }
.area-card .ic { color: var(--white); width: 18px; height: 18px; }
/* the dark band's link rule (.bb-dark a:not(.btn)) out-specifies .area-card; measured sky-on-orange 1.9:1 on 2026-09-16 */
.bb-dark a.area-card, .bb-dark a.area-card:hover { color: var(--white); }
/* city-page service chips */
.bb-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: var(--len-14px) 0; }
.bb-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: var(--white); text-decoration: none; border-radius: var(--radius-pill); padding: var(--pad-9px) var(--pad-14px); font-weight: 600; font-size: .9rem; }
.bb-chip .ic { color: var(--sky); width: 18px; height: 18px; }
/* real-job cards */
.job-card { background: var(--tint); border-radius: var(--radius); padding: var(--pad-20px); text-align: left; }
.job-card img { display: block; width: 100%; height: 180px; object-fit: cover; border-radius: var(--radius-10px); margin-bottom: var(--space-3); }
.job-town { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent-text); margin-bottom: var(--len-6px); font-size: .9rem; }
.job-card h3 { margin-bottom: var(--space-2); }
.job-card p { margin-bottom: var(--len-_5em); font-size: .95rem; }
.areas-hub-cta a { color: var(--sky); font-weight: 700; }
.map-embed { border-radius: var(--radius); overflow: hidden; background: var(--tint); }
.map-embed iframe { display: block; width: 100%; height: 360px; border: 0; }
.map-placeholder { min-height: 220px; display: flex; align-items: center; justify-content: center; text-align: center; padding: var(--pad-20px); color: var(--muted); border: 2px dashed var(--line); }

/* directions */
.dir-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dir-grid-fold { margin-top: var(--space-3); }
.dir-card { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: var(--pad-18px); }
.dir-card .map-embed iframe { height: 300px; }
.dir-card h3 { color: var(--white); margin: var(--space-2) 0; }
.bb-dir-from { display: inline-flex; align-items: center; gap: 6px; color: var(--sky); font-weight: 700; margin: var(--space-3) 0 0; }
.dir-facts { list-style: none; display: grid; gap: 6px; margin-bottom: var(--space-3); font-size: .95rem; }
.dir-facts a { color: var(--sky); }
.dir-card .btn-ghost { border-color: var(--c-x11); color: var(--white); }

/* place grid (hub) */
.place-group { margin-bottom: var(--len-34px); }
.place-grid { display: grid; gap: 22px; }
.place-card { display: block; background: var(--navy); color: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none; }
.place-card img { display: block; width: 100%; height: 220px; object-fit: cover; }
.place-body { padding: var(--pad-22px); text-align: center; }
.place-body h2 { color: var(--white); font-size: 1.15rem; margin-bottom: var(--space-3); letter-spacing: .04em; }

/* gallery */
.bb-masonry { columns: 3; column-gap: 12px; }
.work-item { break-inside: avoid; margin-bottom: var(--space-3); }
.work-item img { display: block; width: 100%; border-radius: var(--radius-12px); }
.photo-cap { font-size: .85rem; color: var(--muted); margin-top: var(--space-1); }

/* contact + thank-you */
.contact-cards .info-card { background: var(--tint); border-radius: var(--radius); padding: var(--pad-22px); text-align: center; }
.card-t { font-family: var(--font-head); font-weight: 700; color: var(--navy); margin: var(--space-2) 0 var(--space-1); }
.trust-strip { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 34px; }
.trust-strip li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.dir-cta { margin-top: var(--space-3); }

/* CTA band */
.cta-band { background: var(--navy-2); color: var(--white); padding: var(--pad-70px) 0; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band .kicker { color: var(--sky); }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: var(--len-18px) 0 var(--space-3); }
.bb-cta-micro { color: var(--c-x12); font-size: .9rem; margin: 0; }

/* footer */
.site-footer { background: var(--navy); color: var(--c-x5); padding: var(--pad-60px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 30px; }
.f-head { font-family: var(--font-head); font-weight: 700; color: var(--white); margin: 0 0 var(--len-10px); font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; }
.f-col ul { list-style: none; }
.f-col li { margin-bottom: var(--len-6px); font-size: .93rem; }
.f-col a { color: var(--c-x5); }
.f-brand .logo-img { height: 42px; margin-bottom: var(--len-10px); }
.license { font-size: .85rem; color: var(--c-x13); }
.f-all { margin-top: var(--space-2); }
.site-footer .map-embed iframe { height: 220px; }
.footer-bottom { border-top: 1px solid var(--c-x14); margin-top: var(--len-40px); padding: var(--pad-18px) var(--pad-22px); font-size: .85rem; text-align: center; }
.footer-bottom p { margin: 0; }
.mobile-call { display: none; }

/* ---------- BREAKPOINTS — last in the sheet, always ---------- */
@media (max-width: 1024px) {
  .nav { position: fixed; inset: 76px 0 0 0; background: var(--white); padding: var(--pad-20px) var(--pad-22px); display: none; overflow-y: auto; }
  body.nav-open .nav { display: block; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav a { padding: var(--space-3) var(--space-2); font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .has-sub { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .has-sub > a::after { content: ""; }
  .sub-toggle { display: block; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
  .sub-toggle::before { content: "\25BE"; font-size: 1.2rem; color: var(--navy); }
  .sub { position: static; display: none; grid-column: 1 / -1; border: 0; box-shadow: none; padding: 0 0 var(--space-2) var(--pad-14px); }
  .has-sub.open > .sub { display: flex; }
  .has-sub:hover > .sub { display: none; }
  .has-sub.open:hover > .sub { display: flex; }
  .header-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-phone span { display: none; }
  .header-phone { margin-left: auto; }
}
@media (max-width: 860px) {
  .hero-grid, .bb-row, .bb-row-rev, .bb-areas-grid { grid-template-columns: 1fr; }
  /* a vendor embed's own min-width blew the hero grid open at 375 on a previous build of this
     component (the submit button ended up off-screen). Nothing inside the card may set a floor. */
  .hero-grid > *, .form-card, .form-embed, .form-embed > div, .form-embed iframe { min-width: 0 !important; max-width: 100% !important; }
  .bb-row-rev > .bb-media { order: 0; }
  .bb-media { min-height: 260px; }
  .bb-card { padding: var(--pad-28px) var(--pad-22px); }
  .cols-3, .cols-4, .rev-grid, .dir-grid, .bb-steps, .place-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bb-masonry { columns: 2; }
  .area-cards { grid-template-columns: 1fr 1fr; }
  .section { padding: var(--pad-56px) 0; }
}
@media (max-width: 600px) {
  .cols-3, .cols-4, .rev-grid, .dir-grid, .bb-steps, .place-grid, .footer-grid, .area-cards, .bb-chips { grid-template-columns: 1fr; }
  .bb-masonry { columns: 1; }
  .hero { padding: var(--pad-56px) 0 var(--pad-64px); }
  .mobile-call { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; align-items: center; justify-content: center; gap: 8px; background: var(--orange); color: var(--white); text-decoration: none; font-weight: 700; padding: var(--pad-14px); border-radius: var(--radius-pill); box-shadow: var(--shadow-float); }
  body { padding-bottom: var(--pad-72px); }
}
/* Spartan Roofing visual layer. Ported relationships from the reference build (visual-system-port.md),
   landed on the house token names. Opacity + translate only, so layout never shifts. */
h1,h2{font-weight:800;letter-spacing:-.01em}
h3,.kicker{font-weight:700}
strong,b{font-weight:600}
.btn-cta{box-shadow: var(--shadow-cta);transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease}
.btn-cta:hover,.btn-cta:focus-visible{transform:translateY(-2px);box-shadow: var(--shadow-cta-hover)}
.bb-media img,.card-grid img{border-radius: var(--radius-16px)}
.card-grid>*{border-radius: var(--radius-16px);transition:transform .2s ease,box-shadow .2s ease}
.card-grid>*:hover{transform:translateY(-3px);box-shadow: var(--shadow-card-hover)}
.logo-img{height:68px;width:auto}
.logo-light .logo-img{height:112px}.bb-hero .h1-accent{color: var(--c-fff);font-style:normal!important;color: var(--c-fff)!important;text-decoration:underline;text-decoration-color: var(--orange);text-decoration-thickness:.09em;text-underline-offset:.14em}
@keyframes bb-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:no-preference){
  .bb-hero .wrap>*{animation:bb-rise .55s ease both}
  .bb-hero .wrap>*:nth-child(2){animation-delay:.1s}
}
@media (max-width:767px){.logo-img{height:52px}}

/* Phones: keep the form close to the top. Long hero copy stays on the page below, the extra lines drop out of the first screen. */
.header-phone{display:inline-flex;align-items:center;min-height:44px;min-width:44px;justify-content:center}

/* 11-10 fix batch. Long prose never centred (checklist row 346): FAQ answers, place cards and step cards read left. */
.bb-faq .wrap-narrow details, .bb-faq .wrap-narrow details p, .place-body p, .step-card p { text-align: left; }
/* Menu toggle meets the 44px tap target (rows 5 and 502). */
.nav-toggle { min-width: 44px; min-height: 44px; padding: var(--pad-6px) var(--pad-10px); }
.ty-call { margin: var(--len-18px) 0 var(--space-2); }
.last-updated { color: var(--muted); font-size: 14px; margin-top: var(--len-28px); margin-bottom: var(--len-28px); }
/* Phone menu submenus showed list bullets (house template). */
.nav ul, .nav li { list-style: none; }
/* Row 346 follow-up: step cards, driving-direction intros and centred-hero leads read left, kept in a centred column. */
.step-card { text-align: left; }
.bb-center-head > .wrap > .dir-intro { text-align: left; max-width: 760px; }
.bb-hero-center .hero-sub { text-align: left; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ===== Design QA batch 1, 2026-11-10 (bloomview-site-qa, Charlotte format) ===== */
/* Smallest text 13px+ (Jeff's bar): kickers, pills, small captions. */
.kicker, .step-pill, .badge-pill, .photo-cap, .rev-job, .form-kicker { font-size: 13.5px !important; }
/* Headings get air below (HEADING_NO_BREATHING_ROOM). */
.hero-copy h1 { margin-bottom: var(--len-14px); }
.offer-card h3 { margin: var(--space-3) 0 var(--space-2); }
.bb-icon-rows h3 { margin-bottom: var(--len-6px); }
h1, h2, h3 { text-wrap: balance; }
/* Step icon no longer sits flush on the pill above it. */
.step-icon { margin-top: var(--len-18px); }
/* "Page last updated" line keeps the page gutter. */
.last-updated { padding-left: var(--pad-22px); padding-right: var(--pad-22px); }
/* A 3-column grid holding only 2 cards centres them instead of leaving a dead third slot. */
.card-grid.cols-3:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
/* 3-card rows (reviews, recent jobs, offers) stay 3 across down to 700px instead of leaving a lone card at 768. */
@media (max-width: 860px) and (min-width: 701px) {
  .rev-grid, .card-grid.cols-3:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  /* 9 service cards: 3 across, three even rows. */
  .card-grid.cols-3:has(> :nth-child(9):last-child) { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (max-width: 700px) and (min-width: 601px) {
  .rev-grid, .card-grid.cols-3 { grid-template-columns: 1fr; }
}
/* Town chips: two even columns (8 towns = 4 full rows), never a 3-3-2 orphan. */
.area-cards { grid-template-columns: repeat(2, 1fr); }
/* Finished-roofs gallery: one even grid, every photo the same 4:3 crop, so neighbours line up. */
.bb-masonry { columns: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bb-masonry .work-item { margin: 0; }
.bb-masonry .work-item img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
@media (max-width: 860px) { .bb-masonry { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bb-masonry { grid-template-columns: 1fr; } }
/* Footer: town links fit on one line at desktop; columns sized to what they hold. */
@media (min-width: 1101px) {
  .footer-grid { grid-template-columns: 1.25fr 1fr 1.35fr .7fr 1fr; gap: 28px; }
  .f-col li a { white-space: nowrap; }
}
@media (min-width: 861px) and (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
/* Desktop quote tab (Charlotte has one): fixed right edge, desktop only. */
.quote-tab { display: none; }
@media (min-width: 1025px) {
  .quote-tab { display: block; position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 60;
    writing-mode: vertical-rl; background: var(--orange); color: var(--white) !important; font-family: var(--font-head);
    font-weight: 700; padding: var(--pad-18px) var(--space-3); border-radius: var(--radius-12px) 0 0 var(--radius-12px); text-decoration: none; box-shadow: var(--shadow-1); }
  .quote-tab:hover { filter: brightness(.95); }
}
/* Hub area map under the town cards. */
.hub-map { margin-top: var(--len-28px); border-radius: var(--radius); overflow: hidden; }
.hub-map iframe { display: block; width: 100%; height: 380px; border: 0; }
/* Place cards: photo on top, even height. */
.place-card img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; width: 100%; display: block; }
/* ===== Design QA batch 2, 2026-11-10 ===== */
/* Step cards are left-aligned now, so the icon gets its own line instead of sitting flush beside the pill. */
.step-icon { display: flex; margin: var(--space-4) 0 var(--space-3); }
/* Heading air: every H1 and card H3 gets space below. */
.bb-hero h1, .hero h1 { margin-bottom: var(--len-14px); }
.bb-icon-rows h3, .team-card h3, .offer-card h3, .job-card h3 { margin-bottom: var(--space-2); }
/* Contact map: the directions button under the map was clipped by the map box. */
.bb-media-map { display: flex; flex-direction: column; overflow: visible; }
.bb-media-map .map-embed { flex: 1 1 auto; min-height: 320px; border-radius: var(--radius); overflow: hidden; }
.bb-media-map .map-embed iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
.bb-media-map .dir-cta { margin-top: var(--len-14px); }
/* "More about" fold: text off the card edge at phone width. */
.bb-more-about { padding-left: var(--pad-2px); padding-right: var(--pad-2px); }
@media (max-width: 600px) { .bb-more-about > *:not(summary) { padding-left: var(--space-1); padding-right: var(--space-1); } }
/* Chips wrap and centre instead of a 2-column grid that leaves one chip alone. */
.bb-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.bb-chips .bb-chip { flex: 1 1 220px; }
/* Directions cards (3) stay three across down to 700px. */
@media (max-width: 860px) and (min-width: 701px) { .dir-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
/* Hub place cards: centred rows, so a group of 7 never leaves one card hanging at the left. */
.place-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.place-grid > .place-card { flex: 0 1 calc((100% - 44px) / 3); min-width: 0; }
@media (max-width: 860px) { .place-grid > .place-card { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 600px) { .place-grid > .place-card { flex-basis: 100%; } }
/* Footer below desktop: brand column spans the top, the other four sit in an even grid. */
@media (max-width: 1100px) and (min-width: 601px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) and (min-width: 601px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
/* Batch 3: last-updated line sits inside the page wrap; fold text off the edge; step headings clear the pill. */
.last-updated { padding-left: 0; padding-right: 0; }
.bb-more-about { padding-left: var(--space-2); padding-right: var(--space-2); }
.step-card h3 { margin-top: var(--space-3); }
.step-icon + h3 { margin-top: 0; }
/* ===== Batch 4: balance side-by-side columns (probe ROW_COLUMNS_UNBALANCED, FORM_SHORTER_THAN_NEIGHBOR) ===== */
@media (min-width: 861px) {
  /* Photo beside a long text card stays in view while the text scrolls (Charlotte's deliberate pattern). */
  .bb-row, .bb-row-rev { align-items: start; }
  .bb-row > .bb-media:not(.bb-media-map) { position: sticky; top: 96px; height: min(560px, calc(100vh - 140px)); min-height: 420px; }
  .bb-row > .bb-media:not(.bb-media-map) img { width: 100%; height: 100%; object-fit: cover; }
  /* Hero lead form stays in view beside long hero copy. */
  .hero-grid { align-items: start; }
  .hero-grid > .form-card, .hero-grid > #estimate { position: sticky; top: 96px; }
}
/* Phones: card photos at 16:9 so the services hub and town cards are not four screens of photos. */
@media (max-width: 600px) {
  .svc-card img, .place-card img { aspect-ratio: 16 / 9 !important; height: auto !important; object-fit: cover; }
}
/* Contact: the map column stretches to the form's height again (rows holding a map are not sticky rows). */
@media (min-width: 861px) { .bb-row:has(> .bb-media-map), .bb-row-rev:has(> .bb-media-map) { align-items: stretch; } }
/* Check lists with a bold lead-in: label and text flow as one paragraph (the flex row squeezed the label into a 1-word column). */
.check-list li { display: block; position: relative; padding-left: var(--pad-30px); }
.check-list li > .ic { position: absolute; left: 0; top: 3px; width: 20px; height: 20px; }
.check-list li > b { margin-right: var(--space-1); }
@media (max-width: 600px) { .bb-more-about { padding-left: var(--space-3); padding-right: var(--space-3); } }
/* Hub cards: every town button one line and the same width; county labels centred over centred cards. */
.place-body .btn { display: block; width: 100%; font-size: .86rem; padding: var(--space-3) var(--pad-14px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-towns .place-group > .kicker { display: table; margin: 0 auto var(--len-14px); }
.place-group + .place-group { margin-top: var(--len-36px); }
/* Footer CTA: one line, normal button size. */
.f-cta .btn { padding: var(--space-3) var(--pad-22px); font-size: .92rem; white-space: nowrap; }
/* Hub buttons: never cut a town name; every button reserves two lines so cards stay equal height. */
.place-body .btn { white-space: normal; overflow: visible; text-overflow: clip; min-height: 3.6em; display: flex; align-items: center; justify-content: center; line-height: 1.3; }
/* Phones and tablets: owner quote sits under the photo instead of being clipped inside a short photo box;
   town chips go back to one column so "Roofing Company in Bridgewater, NJ" is one line, not four. */
@media (max-width: 860px) {
  .bb-media-stack { min-height: 0; overflow: visible; display: flex; flex-direction: column; }
  .bb-media-stack > img { position: static; height: 260px; width: 100%; object-fit: cover; border-radius: var(--radius); }
  .bb-media-stack > .bb-quote-card { position: static; margin-top: var(--space-3); }
}
@media (max-width: 600px) { .area-cards { grid-template-columns: 1fr; } }

/* Hero, shortened (Jeff 2026-11-10): H1, intro, buttons and trust chips stay; the summary box, its bullets and the
   fact sentences fold into one "Quick facts" toggle in the hero. Nothing is deleted; it stays in the page for Google. */
.hero-facts { margin-top: var(--space-4); background: var(--c-x4); border-radius: var(--radius-12px); padding: var(--space-3) var(--space-4); color: var(--white); }
.hero-facts > summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; align-items: center; gap: 8px; min-height: 28px; }
.hero-facts > summary::-webkit-details-marker { display: none; }
.hero-facts > summary::after { content: "+"; margin-left: auto; font-size: 1.2rem; line-height: 1; }
.hero-facts[open] > summary::after { content: "2"; }
.hero-facts .tldr, .hero-facts .triples { margin-top: var(--len-10px); }
.hero-facts .tldr { background: transparent; border: 0; padding: 0; }
/* Contact on phones: the form card sat inside a padded card, leaving a 235px form whose button wrapped to two lines.
   The outer card drops its padding there so the form matches every other page's width. */
@media (max-width: 600px) { .bb-card-plain:has(> .form-card) { padding: 0; background: transparent; box-shadow: none; } }
/* ===== Charlotte home components (2026-11-10) ===== */
.trust-band { background: var(--white); border-top: 1px solid var(--line, var(--c-e6e6e6)); border-bottom: 1px solid var(--line, var(--c-e6e6e6)); padding: var(--pad-18px) 0; }
.trust-band .wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.trust-band-k { margin: 0; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; white-space: nowrap; }
.trust-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 0; }
.trust-list li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.trust-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.trust-list a { color: var(--ink); text-decoration: none; } .trust-list a:hover { text-decoration: underline; }
@media (max-width: 860px) { .trust-band .wrap { flex-direction: column; align-items: flex-start; gap: 10px; } }
.trust-bar { flex-direction: column; }
.open-status { margin: var(--space-1) 0 0; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13.5px; color: var(--c-x5); }
.open-status:empty, .open-status:not(.is-open):not(.is-closed) { display: none; }
.os-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-9aa0a6); }
.open-status.is-open .os-dot { background: var(--c-34c759); }
.hero-owner { margin: var(--len-10px) 0 0; color: var(--c-x1); font-size: .98rem; }
.svc-help { text-align: center; margin: var(--len-14px) auto var(--len-22px); }
.svc-help + .card-grid { margin-top: var(--space-2); }
.bb-svc-grid + .svc-help { margin-top: var(--len-26px); margin-bottom: 0; }
/* ===== The old spartanroofing-nj.com feel (Jeff 2026-11-10) =====
   Measured from the live site 2026-11-10: Fraunces serif headings with one red italic accent word, JetBrains Mono
   uppercase eyebrows with thin rules either side, a warm cream ground (#f5f1ea), near-black bands (#0b0b0b),
   big red serif figures in a stats strip, captions laid over photos, hero fade-up on load, slow hero drift,
   sections fading in on scroll. Brand red stays the client's own. Motion = opacity + transform only. */

html:root { --cream: #f5f1ea; --cream-2: #faf7f2; --ink-black: #0b0b0b; --tint: #f5f1ea; --navy: #141414; --navy-2: #1d1d1d; }
body { background: var(--cream-2); }
.bb-white { background: var(--cream-2); }
.bb-pale { background: var(--cream); }
.bb-dark { background: var(--ink-black); }
.cta-band { background: radial-gradient(120% 140% at 50% 0%, var(--c-3a0505) 0%, var(--c-120202) 55%, var(--ink-black) 100%); }
.site-footer { background: var(--ink-black); }

/* Type: serif display headings, sans for UI */
h1, h2, h3, .form-title, .place-body h2 { font-family: "Fraunces", Georgia, serif; font-weight: 500; letter-spacing: -0.01em; }
h1 { font-weight: 400; font-size: clamp(2.3rem, 4.8vw, 3.6rem); line-height: 1.04; }
h2 { font-weight: 400; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.1; }
h3 { font-weight: 500; }
.bb-hero .h1-accent, .h2-accent { font-family: "Fraunces", Georgia, serif; font-style: italic !important; color: var(--orange) !important; text-decoration: none !important; font-weight: 400; }
.bb-hero .h1-accent { color: var(--c-ff3b3b) !important; }
.bb-dark .h2-accent, .cta-band .h2-accent { color: var(--c-ff4a4a) !important; }

/* Eyebrows: mono, wide tracking, thin rules either side when centred */
.kicker { font-family: "JetBrains Mono", ui-monospace, monospace !important; font-weight: 500; letter-spacing: .22em; font-size: 13.5px !important; }
.bb-center-head > .wrap > .kicker { display: flex; align-items: center; justify-content: center; gap: 14px; }
.bb-center-head > .wrap > .kicker::before, .bb-center-head > .wrap > .kicker::after { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .55; }
.hero .kicker { background: transparent; padding: 0; color: var(--c-x15); }

/* Stats strip (old site's black band of big red serif figures), used for the home trust band */
.trust-band.stats { background: var(--ink-black); border: 0; padding: var(--space-7) 0; color: var(--c-fff); }
.trust-band.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { display: block; text-decoration: none; color: var(--c-fff); }
.stat b { display: block; font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1; color: var(--c-ff3b3b); }
.stat span { display: block; margin-top: var(--space-3); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-x12); }
@media (max-width: 860px) { .trust-band.stats .wrap { grid-template-columns: repeat(2, 1fr); row-gap: 30px; } }

/* Photo captions laid over the photo (old "Recent projects" cards) */
.bb-masonry .work-item { position: relative; overflow: hidden; border-radius: var(--radius-12px); }
.bb-masonry .work-item .photo-cap { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: var(--pad-40px) var(--space-4) var(--pad-14px);
  background: linear-gradient(to top, var(--c-x16), var(--c-x17)); color: var(--c-fff); font-family: "Fraunces", Georgia, serif;
  font-size: 15px !important; line-height: 1.35; }

/* Motion. Hero: staggered fade-up on load, slow drift on the photo. Sections: fade up as they enter.
   Guards: reduced-motion users get none; nothing starts hidden unless the script ran (html.js-reveal);
   a 1200ms failsafe shows everything even if the observer never fires. */
@keyframes sr-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes sr-drift { 0% { transform: scale(1.04) translateY(0); } 50% { transform: scale(1.07) translateY(-8px); } 100% { transform: scale(1.04) translateY(0); } }
.hero { overflow: hidden; }
.hero-drift { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.hero > .wrap { position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .bb-hero .hero-copy > * { animation: sr-up .8s cubic-bezier(.2,.7,.2,1) both; }
  .bb-hero .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .bb-hero .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .bb-hero .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  .bb-hero .hero-copy > *:nth-child(5) { animation-delay: .32s; }
  .bb-hero .hero-copy > *:nth-child(n+6) { animation-delay: .4s; }
  .bb-hero .form-card { animation: sr-up .9s cubic-bezier(.2,.7,.2,1) .3s both; }
  html.js-reveal [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
  html.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ===== Jeff's home review 2026-11-10 (S1-S5) ===== */
/* S1 stats strip: every figure starts on the same line */
.trust-band.stats .wrap { align-items: start; }
.trust-band.stats .stat { margin: 0; padding-top: 0; }
a.stat:hover b { text-decoration: none; }
a.stat:hover span { color: var(--c-fff); }

/* S2 offers as tickets: dashed inner edge, the figure large in the old site's red serif, a tear line above the button */
[data-section="offer"] .card-grid.cols-3:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 420px)); gap: 28px; }
.bb-white-cards .offer-card.offer-ticket { position: relative; display: flex; flex-direction: column; background: var(--cream-2); border-radius: var(--radius-18px); padding: var(--pad-34px) var(--pad-34px) var(--pad-30px); text-align: left; overflow: hidden; }
.offer-ticket::before { content: ""; position: absolute; inset: 10px; border: 1.5px dashed var(--c-x18); border-radius: var(--radius-12px); pointer-events: none; }
.offer-ticket::after { content: ""; position: absolute; top: -40px; right: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, var(--c-x19), var(--c-x20) 70%); pointer-events: none; }
.offer-ticket .badge-pill { align-self: flex-start; background: transparent; color: var(--orange); padding: 0; font-family: "JetBrains Mono", ui-monospace, monospace; font-weight: 500; letter-spacing: .22em; }
.offer-ticket h3 { margin: var(--len-14px) 0 var(--space-3); font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: 1.35rem; line-height: 1.1; color: var(--ink); }
.offer-fig { display: block; margin-bottom: var(--space-1); font-size: clamp(3rem, 5.4vw, 4.4rem); line-height: .95; letter-spacing: -0.02em; color: var(--orange); }
.offer-ticket p { flex: 1 1 auto; margin: 0 0 var(--len-22px); padding-bottom: var(--pad-22px); border-bottom: 1.5px dashed var(--c-x21); }
.offer-ticket .btn { align-self: stretch; justify-content: center; text-align: center; }
@media (max-width: 860px) { [data-section="offer"] .card-grid.cols-3:has(> :nth-child(2):last-child) { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* S3 real jobs: the three cards share rows, so headings, "What we found", "What we did" and "Outcome" line up across */
.job-card { padding: var(--pad-26px); }
.job-card h3 { text-wrap: pretty; font-size: 1.2rem; line-height: 1.3; }
@supports (grid-template-rows: subgrid) {
  .job-grid { align-items: stretch; }
  .job-grid > .job-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 12px; align-content: start; }
  .job-grid > .job-card > h3, .job-grid > .job-card > p { margin: 0; }
  .job-grid > .job-card > h3 { padding-bottom: var(--space-3); border-bottom: 1px solid var(--c-x22); }
}

/* S4 where-we-work map fills the full height of the text column */
@media (min-width: 861px) {
  .bb-areas-grid { align-items: stretch; }
  .bb-areas-map { display: flex; flex-direction: column; }
  .bb-areas-map .map-embed { flex: 1 1 auto; min-height: 420px; border-radius: var(--radius); overflow: hidden; }
  .bb-areas-map .map-embed iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
}

/* S5 before/after drag sliders (client's own pairs), then the photo grid, then the gallery button */
.ba-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: var(--space-2) 0 var(--len-36px); }
.ba { margin: 0; }
.ba-frame { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-12px); overflow: hidden; background: var(--c-111); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; pointer-events: none; -webkit-user-drag: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: calc(-1 * var(--len-1_5px)); background: var(--c-fff); box-shadow: var(--shadow-x2); pointer-events: none; }
.ba-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: calc(-1 * var(--len-23px)) 0 0 calc(-1 * var(--len-23px)); border-radius: 50%; border: 3px solid var(--c-fff); box-shadow: var(--shadow-x3);
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat; }
.ba-tag { position: absolute; bottom: 12px; padding: var(--pad-5px) var(--pad-11px); border-radius: var(--radius-pill); background: var(--c-x23); color: var(--c-fff); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13.5px; letter-spacing: .16em; text-transform: uppercase; pointer-events: none; }
.ba-tag-b { left: 12px; } .ba-tag-a { right: 12px; }
.ba-range { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.ba-frame:focus-within { outline: 3px solid var(--orange); outline-offset: 3px; }
.ba-more { margin: var(--space-6) 0 0; text-align: center; }
@media (max-width: 860px) { .ba-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* Gallery page (Jeff 2026-11-10): sub-heading between the sliders and the photo grid, light-band ghost button */
.gal-sub { margin: var(--space-2) 0 var(--len-22px); text-align: center; font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.ba-more .btn-ghost { border: 2px solid var(--ink, var(--c-1a1a1a)); color: var(--ink, var(--c-1a1a1a)); background: transparent; }
.ba-more .btn-ghost:hover { background: var(--ink, var(--c-1a1a1a)); color: var(--c-fff); }

/* Home before/after feature (Jeff 2026-11-10): one large slider under the stats strip, above the services heading */
.ba-feature { max-width: 980px; margin: 0 auto var(--len-64px); }
.ba-big .ba-frame { aspect-ratio: 5 / 2; border-radius: var(--radius-16px); box-shadow: var(--shadow-3); }
.ba-big .ba-handle::after { width: 56px; height: 56px; margin: calc(-1 * var(--len-28px)) 0 0 calc(-1 * var(--len-28px)); background-size: 26px; }
.ba-feature-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: var(--len-18px); text-align: left; }
.ba-feature-foot p { margin: 0; color: var(--muted, var(--c-555)); }
@media (max-width: 700px) { .ba-big .ba-frame { aspect-ratio: 16 / 10; } .ba-feature { margin-bottom: var(--space-7); } .ba-feature-foot { flex-direction: column; text-align: center; } .ba-feature-foot .btn { align-self: stretch; justify-content: center; } }

/* Home before/after v2 (Jeff 2026-11-10): heading + lead on top, button centred under the slider, width held so the 640px source stays crisp */
.ba-feature { max-width: 860px; text-align: center; }
.ba-feature > .kicker { display: flex; align-items: center; justify-content: center; gap: 14px; }
.ba-feature > .kicker::before, .ba-feature > .kicker::after { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .55; }
.ba-feature > h2 { margin: var(--len-_2em) 0 var(--len-_4em); }
.ba-feature > .section-lead { max-width: 620px; margin: 0 auto var(--len-26px); }
.ba-feature-cta { margin: var(--len-26px) 0 0; text-align: center; }

/* Home before/after v3: real 1366px pair, 16:9 frame, a little wider */
.ba-feature { max-width: 960px; }
.ba-big .ba-frame { aspect-ratio: 16 / 9; }
@media (max-width: 700px) { .ba-big .ba-frame { aspect-ratio: 4 / 3; } }

/* Carry-over pages (GAF, Owens Corning, privacy) 2026-11-10 */
.xp-list{list-style:none;padding: 0;margin: var(--space-5) auto;max-width:760px;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px 24px;text-align:left}
.xp-list li{position:relative;padding-left: var(--pad-28px);line-height:1.55}
.xp-list li::before{content:"";position:absolute;left:4px;top:.45em;width:12px;height:7px;border-left: 2.5px solid var(--accent,var(--c-c8102e));border-bottom: 2.5px solid var(--accent,var(--c-c8102e));transform:rotate(-45deg)}
.xp-policy{text-align:left}.xp-policy h2{margin: var(--len-1_6em) 0 var(--len-_4em)}.xp-policy .xp-list{grid-template-columns:1fr;margin: var(--space-3) 0;max-width:none}
.footer-bottom a{color: inherit;text-decoration:underline;margin-left: var(--space-3)}
.xp-block{margin: 0 auto var(--len-56px)}.xp-block:last-child{margin-bottom: 0}.xp-block.bb-center-head{text-align:center}.xp-block .card-grid{text-align:left;margin-top: var(--space-5)}
.xp-pale{background: var(--pale,var(--c-f4f4f2));border-radius: var(--radius);padding: clamp(var(--pad-28px),4vw,var(--pad-48px))}

/* Jeff 2026-11-11: no orange. The template's light accent on dark bands (--sky, was peach #ffb094) becomes a bright
   Spartan red that still reads on the black bands (#ff4d4d on #141414 = 5.6:1). */
:root:root{--sky:#ff4d4d}

/* Row 505 (2026-11-11): the footer GBP card was 169x220 and Google drew no name/rating card at that size. Wider last column + taller map. */
@media (min-width: 1100px) { .footer-grid { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr) minmax(0,1.25fr) minmax(0,.8fr) minmax(300px,1.5fr); } .footer-grid a { overflow-wrap: anywhere; } }
.site-footer .map-embed iframe { height: 260px; width: 100%; }

/* before/after heading is a sub-heading inside the services band (row 276: one H2 per band), styled as before */
.ba-feature .ba-h { font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.1; margin: var(--len-_2em) 0 var(--len-_5em); }

/* Row 336 (scorer 2026-11-11): neighbouring same-tint bands must differ in band colour, not only a top wash. */
.bb-white + .bb-white { background-color: var(--c-efe9df); }
.bb-pale + .bb-pale { background-color: var(--cream-2, var(--cream-2)); }
.bb-dark + .bb-dark { background-color: var(--c-171717); }
/* lane stylesheets: one file per lane, appended after old-feel.css */
/* lane "links" 2026-11-11 */
/* row 241: named review under the form's star strip */
.form-review{margin: var(--space-2) 0 var(--len-14px);padding: var(--pad-10px) var(--space-3);border-left: 3px solid var(--orange,var(--c-c8102e));background: var(--c-x24);border-radius: var(--radius-8px)}
.form-review blockquote{margin: 0;font-size:.92rem;line-height:1.45;font-style:italic;color: inherit}
.form-review figcaption{margin-top: var(--space-1);font-size:.82rem;font-weight:600;opacity:.85}
.hero{overflow:hidden}
.hero>.wrap{position:relative;z-index:2}
/* row 384: phone-sized background file under 768px */
@media (max-width:767px){.hero-drift[style*="--bg-sm"]{background-image:var(--bg-grad),var(--bg-sm)!important}}
/* row 322: captions on image/text row photos */
figure.bb-media{margin: 0}
.bb-media>figcaption{position:absolute;left:0;right:0;bottom:0;z-index:1;padding: var(--pad-28px) var(--pad-14px) var(--pad-10px);font-size:.85rem;line-height:1.35;color: var(--c-fff);
  background: linear-gradient(180deg,var(--c-x17),var(--c-x25))}
/* row 259: county area map under the GBP card */
.bb-areas-map .map-embed.map-area{flex:0 0 auto;min-height:260px;margin-top: var(--space-4)}
.bb-areas-map .map-embed.map-area iframe{min-height:260px;height:260px}
/* row 276: towns band heading group */
.towns-head{text-align:center;margin-bottom: var(--len-22px)}
.place-county{display:table;margin: 0 auto var(--len-14px);font-weight:700;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color: var(--accent-text)}
.place-body h3{color: var(--white);font-size:1.15rem;margin-bottom: var(--space-3);letter-spacing:.04em}
/* row 355: estimate popup */
dialog.est-pop{padding: 0;border: 0;background: transparent;max-width:min(480px,94vw);width:100%;max-height:94vh;overflow:auto}
dialog.est-pop::backdrop{background: var(--c-x26)}
dialog.est-pop .form-card{position:static!important;margin: 0}
.est-close{position:absolute;top:6px;right:8px;z-index:2;width:40px;height:40px;border: 0;border-radius: 50%;background: var(--c-x22);font-size:1.6rem;line-height:1;cursor:pointer;color: inherit}
dialog.est-pop{position:fixed;inset:0;margin: auto;height:fit-content}
/* ============================================================
   30-layout.css (lane layout, 2026-11-11)
   Rows 337 (tokens), 338 (radius scale), 275/336 (same-tint
   neighbours), 277 (why-us / local-expertise mini-grid),
   345 (one prose edge), 500 (copy before photo on phones),
   300 (phone hero order). CSS only: no text leaves the DOM.
   ============================================================ */

/* ---------- 337: spacing, shadow and radius tokens ---------- */
:root {
  /* radius: one closed scale of three rungs (row 338) */
  --radius: 14px;          /* containers, cards, media */
  --radius-pill: 999px;    /* buttons, chips, dots, bars */
  --radius-sm: 8px;        /* small chrome: inputs, nav links, menus */

  /* spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 44px;
  --space-section: 78px;
  --space-section-step: 104px;  /* top padding of a same-tint follower band */
  --space-card-y: 44px;
  --space-card-x: 46px;
  --space-card-sm: 24px;

  /* shadow scale */
  --shadow-1: 0 8px 20px rgba(0,0,0,.18);
  --shadow-2: 0 10px 30px rgba(0,0,0,.18);
  --shadow-3: 0 18px 40px rgba(0,0,0,.18);
  --shadow-cta: 0 8px 20px rgba(228,1,1,.28);
  --shadow-cta-hover: 0 12px 26px rgba(228,1,1,.34);
  --shadow-card-hover: 0 14px 30px rgba(37,37,37,.14);
  --shadow-float: 0 8px 24px rgba(0,0,0,.25);

  /* hairline between same-tint neighbours */
  --hairline-light: rgba(27,30,35,.12);
  --hairline-dark: rgba(255,255,255,.14);
}
@media (max-width: 860px) {
  :root {
    --space-section: 56px;
    --space-section-step: 76px;
    --space-card-y: 28px;
    --space-card-x: 22px;
  }
}

/* route the house values through the tokens */
.section { padding: var(--space-section) 0; }
.bb-card:not(.bb-card-plain) { padding: var(--space-card-y) var(--space-card-x); }
@media (max-width: 860px) { .bb-card { padding: var(--space-card-y) var(--space-card-x); } }
.bb-white-cards .offer-card, .bb-white-cards .team-card { padding: var(--space-card-sm); }
.form-card { box-shadow: var(--shadow-2); }
@media (min-width: 1025px) { .sub { box-shadow: var(--shadow-2); } }
.btn-cta { box-shadow: var(--shadow-cta); }
.btn-cta:hover, .btn-cta:focus-visible { box-shadow: var(--shadow-cta-hover); }
.card-grid > *:hover { box-shadow: var(--shadow-card-hover); }
.quote-tab { box-shadow: var(--shadow-1); }
.ba-big .ba-frame { box-shadow: var(--shadow-3); }
@media (max-width: 860px) { .mobile-call { box-shadow: var(--shadow-float); } }

/* ---------- 338: every radius lands on one of the three rungs ---------- */
/* containers -> var(--radius) */
.bb-media img, .card-grid img, .card-grid > *,
.ba-frame, .ba-big .ba-frame,
.bb-masonry .work-item, .work-item img, .job-card img,
.faq-item, .hero-facts, .step-icon, .xp-pale,
.bb-icon-rows li.row-highlight,
.bb-white-cards .offer-card.offer-ticket { border-radius: var(--radius); }
.ba-frame img { border-radius: 0; }
/* accent-edged cards keep a square accent edge, rounded on the open side */
.tldr, .bb-quote-card { border-radius: 0 var(--radius) var(--radius) 0; }
.quote-tab { border-radius: var(--radius) 0 0 var(--radius); }
/* small chrome -> var(--radius-sm) */
.nav a, .sub, .offer-ticket::before,
.form-card input, .form-card textarea, .form-card select { border-radius: var(--radius-sm); }
/* pills, bars and dots -> var(--radius-pill) */
.nav-toggle span, .ba-tag, .ba-handle::after, .offer-ticket::after,
.os-dot, .trust-list li::before { border-radius: var(--radius-pill); }

/* ---------- 275 + 336: same-tint neighbours get a boundary and a different treatment ---------- */
/* light pairs: hairline, a bigger top step, and a soft top wash so the band background differs */
.bb-white + .bb-white,
.bb-pale + .bb-pale {
  border-top: 1px solid var(--hairline-light);
  padding-top: var(--space-section-step);
}
.bb-white + .bb-white {
  background-image: linear-gradient(180deg, var(--cream, #f5f1ea) 0, var(--cream-2, #faf7f2) 220px);
}
.bb-pale + .bb-pale {
  background-image: linear-gradient(180deg, var(--cream-2, #faf7f2) 0, var(--cream, #f5f1ea) 220px);
}
/* dark pairs: light hairline, bigger top step, lifted top */
.bb-dark + .bb-dark {
  border-top: 1px solid var(--hairline-dark);
  padding-top: var(--space-section-step);
  background-image: linear-gradient(180deg, #1c1c1c 0, var(--ink-black, #0b0b0b) 260px);
}
/* a third band in a row goes back to the plain tint so it never matches the one before it */
.bb-white + .bb-white + .bb-white,
.bb-pale + .bb-pale + .bb-pale,
.bb-dark + .bb-dark + .bb-dark { background-image: none; }

/* ---------- 277 + 345: why-us (service pages) and local-expertise (town pages) ---------- */
/* icon sits above its heading, so H2, H3 and the text share one left edge at every width */
[data-section="why-us"] .bb-icon-rows > li,
[data-section="local-expertise"] .bb-icon-rows > li {
  flex-direction: column;
  gap: var(--space-2);
}
[data-section="why-us"] .bb-icon-rows > li > .ic,
[data-section="local-expertise"] .bb-icon-rows > li > .ic { margin: 0; }

/* 2026-11-12 (rows 246, 341): the desktop banner layout for these two bands is gone. They are photo/text
   pairs again, photo on the side (why-us left, local-expertise right), so the first two blocks after the hero
   alternate sides and the H3+text points sit in a photo/text split (row 277). */

/* ---------- 500: on phones the copy leads, the photo follows ---------- */
@media (max-width: 860px) {
  .bb-row > .bb-media, .bb-row-rev > .bb-media { order: 2; }
}

/* ---------- 300: phone hero = H1, call button, chips first; the long intro follows ---------- */
@media (max-width: 860px) {
  .hero { padding-top: var(--space-6); }
  .hero-copy { display: flex; flex-direction: column; }
  .hero-copy > * { order: 3; }
  .hero-copy > .kicker, .hero-copy > h1 { order: 0; }
  .hero-copy > .hero-ctas { order: 1; margin: var(--space-2) 0 var(--space-4); }
  .hero-copy > .hero-chips { order: 2; }
  .hero-copy > .hero-sub { margin-top: var(--space-4); }
  /* one dominant button: the inspection link stays, as a quiet text link */
  .hero .hero-ctas .btn-ghost {
    border-color: transparent;
    padding: var(--space-2) var(--space-1);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
@media (max-width: 600px) {
  .hero .hero-ctas { gap: var(--space-2); align-items: center; }
  .hero-chips { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .hero-chips li { padding: var(--pad-5px) var(--pad-10px); font-size: .82rem; }
  .hero-chips li .ic { width: 16px; height: 16px; }
}
/* Jeff's cleanup notes, 2026-11-11. Loaded last, applies to every page. */

/* S1: the whole estimate form fits on the first screen at desktop */
@media (min-width: 861px) {
  [data-section="proof-strip"] { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 28px; }
  [data-section="proof-strip"] .trust-in { width: auto; margin: 0; padding-left: 0; padding-right: 0; }
  [data-section="proof-strip"] .open-status { margin: 0; }
  .bb-hero:not(.bb-hero-plain) { padding-top: var(--pad-28px); padding-bottom: var(--pad-40px); }
  .hero-grid > .form-card, .hero-grid > #estimate { top: 92px; }
  .form-card { padding: var(--pad-18px) var(--pad-22px) var(--space-4); }
  .form-card .form-kicker { margin-bottom: var(--len-2px); }
  .form-card .form-title { margin-bottom: var(--space-1); line-height: 1.2; }
  .form-card .form-rating { margin: var(--space-1) 0 var(--space-2); }
  .form-card .form-review { margin: 0 0 var(--len-10px); padding: var(--pad-7px) var(--pad-10px); }
  .form-card .form-review blockquote { font-size: .86rem; line-height: 1.35; }
  .form-card .form-review figcaption { margin-top: var(--len-2px); font-size: 13px; }
  .form-card form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
  .form-card form > * { grid-column: 1 / -1; }
  .form-card form > label:has(input[name="name"]),
  .form-card form > label:has(input[name="phone"]),
  .form-card form > label:has(input[name="email"]) { grid-column: auto; }
  .form-card form label { margin-bottom: 0; }
  .form-card input { padding: var(--pad-9px) var(--space-3); }
  .form-card textarea { padding: var(--pad-9px) var(--space-3); height: 44px; min-height: 44px; resize: vertical; }
  .form-card .form-note { margin: 0; font-size: .82rem; line-height: 1.35; text-align: center; }
}

/* S2: footer columns get real space; the footer may run wider than the page */
@media (min-width: 1101px) {
  .site-footer .footer-grid { width: min(1560px, 100% - 64px); max-width: none; margin-left: auto; margin-right: auto; padding-left: 0; padding-right: 0; }
  .site-footer .footer-grid a { overflow-wrap: normal; }
  .site-footer .f-brand { min-width: 250px; }
  .site-footer .f-brand a[href^="mailto:"] { white-space: nowrap; }
}
@media (min-width: 1500px) {
  .site-footer .footer-grid { grid-template-columns: minmax(250px, 1.1fr) auto auto auto minmax(320px, 1.3fr); column-gap: 56px; }
}
@media (min-width: 1101px) and (max-width: 1499px) {
  .site-footer .footer-grid { grid-template-columns: minmax(250px, 1fr) auto auto auto; column-gap: 48px; row-gap: 36px; }
  .site-footer [data-footer-col="hours-social-map"] {
    grid-column: 1 / -1; display: grid; grid-auto-flow: column; grid-template-rows: auto 1fr;
    grid-template-columns: auto auto minmax(320px, 1fr); column-gap: 64px; align-items: start;
  }
  .site-footer [data-footer-col="hours-social-map"] .map-embed { grid-row: 1 / -1; }
}

/* S4: the "who we work with" line runs the full width of the card, centred under the points */
.bb-card .entity {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 28px;
  margin-top: var(--len-28px); padding-top: var(--pad-20px); text-align: center;
  border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}
.bb-card .entity .kicker { margin: 0; }
.bb-card .entity-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; margin: 0; }

/* S5: repair or replace, two clean columns side by side */
.xp-compare { max-width: 1060px; margin: clamp(40px, 5vw, var(--len-64px)) auto 0; }
.xp-compare > h3 { text-align: center; font-size: clamp(1.45rem, 2.3vw, 1.95rem); line-height: 1.2; margin: 0 0 var(--len-26px); }
.xp-compare .table-wrap { overflow: visible; border: 0; background: none; box-shadow: none; }
.xp-compare caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.xp-compare table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 1rem; line-height: 1.5; background: none; }
.xp-compare th, .xp-compare td { padding: var(--pad-18px) var(--pad-22px); text-align: left; vertical-align: top; border: 0; background: none; }
.xp-compare thead th { font-size: 1.12rem; font-weight: 700; padding-top: var(--pad-20px); padding-bottom: var(--pad-20px); }
.xp-compare thead th:first-child, .xp-compare tbody th { width: 21%; padding-left: 0; }
.xp-compare thead th:first-child { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #4b5563; vertical-align: bottom; }
.xp-compare tbody th { font-weight: 700; color: var(--navy); }
.xp-compare tbody tr + tr th { border-top: 1px solid var(--line); }
.xp-compare thead th:nth-child(2), .xp-compare tbody td:nth-of-type(1) { background: var(--white); color: var(--ink); }
.xp-compare thead th:nth-child(3), .xp-compare tbody td:nth-of-type(2) { background: var(--navy); color: var(--c-x27); }
.xp-compare thead th:nth-child(3) { color: var(--white); border-top: 5px solid var(--orange); }
.xp-compare thead th:nth-child(2) { border-top: 5px solid var(--line); }
.xp-compare thead th:nth-child(2) { border-radius: var(--radius) 0 0 0; }
.xp-compare thead th:nth-child(3) { border-radius: 0 var(--radius) 0 0; }
.xp-compare tbody tr:last-child td:nth-of-type(1) { border-radius: 0 0 0 var(--radius); }
.xp-compare tbody tr:last-child td:nth-of-type(2) { border-radius: 0 0 var(--radius) 0; }
.xp-compare tbody td:nth-of-type(1) { border-top: 1px solid var(--line); }
.xp-compare tbody td:nth-of-type(2) { border-top: 1px solid var(--c-x28); }
.xp-compare > p { text-align: center; max-width: 720px; margin: var(--space-5) auto 0; }
@media (max-width: 720px) {
  .xp-compare table, .xp-compare tbody, .xp-compare tr, .xp-compare th, .xp-compare td { display: block; width: 100%; }
  .xp-compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .xp-compare tbody tr { margin-bottom: var(--len-18px); }
  .xp-compare tbody th { width: 100%; padding: 0 0 var(--space-2); border: 0 !important; }
  .xp-compare tbody td { padding: var(--pad-14px) var(--space-4); border: 0 !important; border-radius: 0 !important; }
  .xp-compare tbody td:nth-of-type(1) { border-radius: var(--radius) var(--radius) 0 0 !important; }
  .xp-compare tbody td:nth-of-type(2) { border-radius: 0 0 var(--radius) var(--radius) !important; }
  .xp-compare tbody td::before { display: block; margin-bottom: var(--space-1); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .xp-compare tbody td:nth-of-type(1)::before { content: "Points to a repair"; color: var(--muted); }
  .xp-compare tbody td:nth-of-type(2)::before { content: "Points to a replacement"; color: var(--sky); }
}

/* S8: driving-direction buttons all sit on the same line at the bottom of their cards */
.dir-card { display: flex; flex-direction: column; }
.dir-card .dir-facts { margin-bottom: var(--len-18px); }
.dir-card > .btn { margin-top: auto; }

/* S9: service and town buttons are one even grid, every button the same height */
.bb-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px; }
.bb-chips .bb-chip { flex: none; min-height: 54px; }
.bb-chips .bb-chip:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 5px); }
.area-cards { display: grid; grid-auto-rows: 1fr; }
.area-cards .area-card { align-items: center; }
@media (max-width: 600px) {
  .bb-chips { grid-template-columns: 1fr; }
  .bb-chips .bb-chip:last-child:nth-child(odd) { width: 100%; }
}

/* Live-site diagnostics 2026-11-11: small spacing fixes */
.xp-block h3, .xp-policy h3, [id^="faq-"] h3 { margin-bottom: var(--space-3); }
@media (max-width: 860px) { .hero-chips { gap: 12px; } }
.site-footer .f-cta .btn { color: var(--c-fff); }

/* Jeff 2026-11-12: email field dropped, so the address box takes the full row (it left the two-up list above) */

/* PSI 2026-11-12: reviewer name + job line on the beige review cards were 4.29:1; darker grey passes 4.5:1 */
.review-card figcaption .muted, .review-card figcaption .rev-job { color: var(--c-4b5563); }

/* PSI 2026-11-12: brand red #e40101 kickers on cream were 4.33:1; the darker brand red (--orange-2) passes 4.5:1 on light bands. Dark bands keep --sky. */
html:root { --accent-text: #c60000; }
/* ============================================================
   45-xp-cards.css (lane copy rhythm, 2026-11-11)
   Row 316: overflow paragraphs 4+ in the explainer and
   town-knowledge bands sit in a card grid (tooling/lanes/
   xp_cards.py). Two columns where the text column is wide
   enough, one column under 768px. No text changes.
   ============================================================ */
.xp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4, 16px);
  margin: var(--space-2, var(--space-2)) 0 var(--len-1em);
}
.xp-card {
  background: var(--c-fff);
  border: 1px solid var(--hairline-light, var(--c-x29));
  border-radius: var(--radius, var(--radius));
  padding: var(--space-4, var(--space-4)) var(--pad-18px);
}
.xp-card p { margin: 0; }
@media (max-width: 767px) {
  .xp-cards { grid-template-columns: 1fr; gap: var(--space-3, 12px); }
}
/* ============================================================
   50-fixes2.css (sprint 2 fixes, 2026-11-12). Loaded last.
   Markup from tooling/lanes/zz_fixes2.py, post_build.py and
   extra_pages.py. Layout only: no copy lives here.
   ============================================================ */

/* rows 329/331/503: reveal never gates content. Overrides the old-feel.css reveal pair (same selectors, loaded later):
   nothing starts hidden; a block entering the screen plays the fade-up from visible markup (post_build.py REVEAL_JS
   adds .is-in); a 1200 ms failsafe adds html.reveal-off when no animation frame ran; print never animates. */
@media (prefers-reduced-motion: no-preference) {
  html.js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
  html.js-reveal:not(.reveal-off) [data-reveal].is-in { animation: sr-up .8s cubic-bezier(.2,.7,.2,1) both; }
}
html.reveal-off [data-reveal] { animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
@media print {
  [data-reveal], [data-reveal].is-in, .bb-hero .hero-copy > *, .bb-hero .form-card { animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* row 357: page-specific visual key behind the service / town hero copy (the H1's service or town name) */
.hero-key { position: absolute; left: 0; right: 0; bottom: -.14em; z-index: 1; pointer-events: none; overflow: hidden;
  white-space: nowrap; text-align: right; padding-right: var(--space-6); font-family: "Fraunces", Georgia, serif; font-weight: 500;
  font-size: clamp(4rem, 11vw, 10.5rem); line-height: 1; letter-spacing: -.02em; color: var(--c-x30); user-select: none; }
@media (max-width: 860px) { .hero-key { font-size: clamp(3rem, 17vw, 6rem); bottom: auto; top: 112px; color: var(--c-x31); } }

/* row 328: hero trust chips sit side by side as a row of separate pills, wrapping, at every width */
.hero-chips { flex-direction: row; flex-wrap: wrap; gap: var(--space-2) var(--space-3); }
.hero-chips li { width: auto; }
@media (max-width: 600px) {
  .hero-chips { gap: var(--space-2); }
  .hero-chips li { flex: 1 1 calc(50% - var(--space-2)); min-width: 0; align-items: flex-start; line-height: 1.3; }
}

/* row 499: the home stats strip is one track on phones (figure beside its label, one stat per line) */
@media (max-width: 600px) {
  .trust-band.stats .wrap { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-3); }
  .trust-band.stats .stat { display: flex; align-items: baseline; gap: var(--space-4); }
  .trust-band.stats .stat b { flex: 0 0 4.2em; }
}

/* rows 302/303: on phones the hero form card follows the call button directly (kicker, H1, buttons, form, chips,
   then the longer intro). Desktop keeps the form beside the H1. */
@media (max-width: 860px) {
  .bb-hero .hero-grid { display: flex; flex-direction: column; gap: 0; }
  .bb-hero .hero-copy { display: contents; }
  .bb-hero .hero-grid > *, .bb-hero .hero-copy > * { order: 4; }
  .bb-hero .hero-copy > .kicker, .bb-hero .hero-copy > h1 { order: 0; }
  .bb-hero .hero-copy > .hero-ctas { order: 1; }
  .bb-hero .hero-grid > .form-card, .bb-hero .hero-grid > #estimate { order: 2; margin: var(--space-2) 0 var(--space-5); }
  .bb-hero .hero-copy > .hero-chips { order: 3; margin-bottom: var(--space-4); }
}

/* row 358: the quote tab also shows on phones and tablets, above the call bar; hidden while a dialog is open */
@media (max-width: 1024px) {
  .quote-tab { display: block; position: fixed; right: 0; bottom: 92px; z-index: 39; writing-mode: vertical-rl;
    background: var(--orange); color: var(--white) !important; font-family: var(--font-head); font-weight: 700;
    font-size: .74rem; padding: var(--space-3) var(--pad-6px); text-decoration: none; box-shadow: var(--shadow-1);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
}
body:has(dialog[open]) .quote-tab { display: none !important; }

/* row 317: the review band closes with a conversion button; long pages get a section-end call/inspection line */
.review-next { text-align: center; margin: var(--space-4) auto 0; }
main p.sec-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-3) var(--space-5);
  margin: var(--space-6) auto 0; max-width: none; text-align: center; }
main p.sec-cta span { font-weight: 600; }
.bb-dark p.sec-cta span, .bb-dark p.sec-cta span a { color: var(--white); }

/* row 314: prose measure about 60-75 characters; centred bands keep the block centred */
main p { max-width: 72ch; }
main .bb-center-head p, main .bb-center-head .section-lead, main .reviews p, main .xp-block > p { margin-left: auto; margin-right: auto; }
main .bb-center-head .bb-card p, main .bb-center-head .xp-card p, main .bb-center-head details p { margin-left: 0; margin-right: 0; }

/* row 346: prose over 200 characters reads left-aligned, never centred */
main p.p-long { text-align: left !important; }

/* row 277: privacy policy units as a two-column card grid at desktop */
.xp-pol-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); margin-top: var(--space-5); }
@media (min-width: 900px) { .xp-pol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.xp-pol-item { background: var(--cream-2, var(--cream-2)); border: 1px solid var(--hairline-light); border-radius: var(--radius); padding: var(--space-5); }
.xp-pol-item > :last-child { margin-bottom: 0; }

/* row 244: a short write-up on every service-area hub card */
.place-note { margin: 0 0 var(--space-3); font-size: .92rem; line-height: 1.45; color: var(--c-x15); }
.place-grid > .place-card { display: flex; flex-direction: column; }
.place-card > .place-body { flex: 1 1 auto; display: flex; flex-direction: column; }
.place-card > .place-body > .btn { margin-top: auto; }
/* ============================================================
   60-fixes3.css (sprint 2 batch 3, 2026-11-12). Loaded last.
   Markup from tooling/lanes/zz_fixes3.py. Layout only.
   ============================================================ */

/* rows 290/395: owner byline under the hero intro */
.byline { margin: var(--space-3) 0 0; font-size: .9rem; line-height: 1.45; color: var(--c-x15); }
.byline a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.byline-cred { white-space: nowrap; }
@media (max-width: 860px) { .bb-hero .hero-copy > .byline { order: 4; } }  /* phones: right after the intro it signs */
@media (max-width: 420px) { .byline-sep { display: none; } .byline-cred { display: block; } }

/* row 306: Book online, button-styled at every width, beside the call button (call stays the dominant CTA) */
.hero .hero-ctas .btn-book, .hero .hero-ctas .btn-book:hover { border: 2px solid var(--c-x2); color: var(--white);
  background: transparent; text-decoration: none; padding: var(--pad-13px) var(--space-5); }
.hero .hero-ctas .btn-book:hover { background: var(--c-x28); }
@media (max-width: 860px) {
  .hero .hero-ctas .btn-book { padding: var(--space-2) var(--space-4); font-size: .9rem; }
}

/* rows 199/209: town job cards carry photos (no subgrid rows, the card count and row count vary by town) */
.job-grid.job-grid-photo { align-items: stretch; }
.job-grid.job-grid-photo > .job-card { display: flex; flex-direction: column; gap: var(--space-2); grid-row: auto; }
.job-grid.job-grid-photo > .job-card > h3 { margin: 0; padding-bottom: var(--space-3); border-bottom: 1px solid var(--c-x22); }
.job-grid.job-grid-photo > .job-card > p { margin: 0; }
.job-grid.job-grid-photo .job-card img { height: auto; aspect-ratio: 4 / 3; margin: 0; }
.job-grid.job-grid-photo:has(> .job-card:only-child) { grid-template-columns: minmax(0, 760px); justify-content: center; }
.job-town { display: flex; align-items: center; gap: var(--space-1); font-weight: 700; font-size: .9rem; color: var(--accent-text); }
.job-town .ic { width: 16px; height: 16px; }
.job-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.job-pair figure { margin: 0; }
.job-pair figcaption { margin-top: var(--space-1); font-size: .85rem; font-weight: 700; color: var(--c-4b5563); } /* fix5: #6b7280 on #f5f1ea was 4.29:1 */

/* row 308: re-proof on the thank-you page */
.ty-proof { margin: var(--space-6) auto 0; text-align: center; }
.ty-proof + .muted { text-align: center; margin-top: var(--space-4); }
.ty-proof-list { list-style: none; padding: 0; margin: var(--space-3) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3); text-align: left; }
.ty-proof-list li { background: var(--tint); border-radius: var(--radius); padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-1); }
.ty-proof-list b { font-family: var(--font-head); font-size: 1.35rem; color: var(--ink); }
.ty-proof-list span { font-size: .92rem; color: var(--ink); }
@media (max-width: 860px) { .ty-proof-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ty-proof-list { grid-template-columns: minmax(0, 1fr); } }

/* row 410: About team block = real crew photo beside the owner's card with his credential */
.team-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-5); align-items: stretch;
  max-width: 1080px; margin: var(--space-5) auto 0; text-align: left; }
.team-photo { margin: 0; }
.team-photo img { display: block; width: 100%; height: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); }
.team-photo figcaption { margin-top: var(--space-2); font-size: .9rem; color: var(--c-x12); }
.team-row .team-card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: var(--space-5); }
.team-row .team-card h3 { margin: 0 0 var(--space-1); color: var(--ink); }
.team-role { margin: 0 0 var(--space-3); font-weight: 700; color: var(--accent-text); }
.team-facts { margin: 0; padding-left: var(--space-5); }
.team-facts li { margin-bottom: var(--space-2); }
@media (max-width: 860px) { .team-row { grid-template-columns: minmax(0, 1fr); } .team-photo img { height: auto; } }
.job-grid.job-grid-photo:has(> .job-card:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 960px; margin-inline: auto; }
@media (max-width: 860px) { .job-grid.job-grid-photo:has(> .job-card:nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr); } }
/* 2026-11-12 content2 (cost / GAF / OC pages): the cards built by extra_pages.py cards() have no image, and the
   centered-band rule `main .bb-center-head p {margin: auto}` was zeroing their side margins, so the text sat on
   the card edge. Restore the card's own 22px inset and give the heading room at the top. Depth blocks
   ("More about ...") read left-aligned like they do on the service pages. */
main .xp-block .card-grid .svc-card { padding-top: var(--pad-18px); }
main .xp-block .card-grid .svc-card p { margin-left: var(--len-22px, var(--len-22px)); margin-right: var(--len-22px, var(--len-22px)); }
main .xp-block .bb-more-about { text-align: left; }
/* four cards (OC warranty levels) sit 2 x 2 instead of 3 + 1 orphan */
@media (min-width: 768px) { main .xp-block .card-grid.cols-3:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* a paragraph right after a card grid gets air above it */
main .xp-block .card-grid + p { margin-top: var(--space-5); }
/* Sprint 3 (2026-11-12) row 259: area map caption under the service-page area map */
.bb-areas-map .map-cap{margin: var(--len-6px) 0 0;font-size:14px;line-height:1.4;opacity:.85}

/* Row 84 (2026-11-12): in-page jumps to the quote form clear the sticky header */
#estimate{scroll-margin-top:96px}
/* 2026-11-19: the hero section carries the same photo as its drift layer (lane zz_fixes10_herobg). */
.bb-hero[style*="url("]{background-size:cover;background-position:center}
@media (max-width:767px){.bb-hero[style*="--bg-sm"]{background-image:var(--bg-grad),var(--bg-sm)!important}}
/* 2026-11-19 (sheet: short form beside the H1, mobile half): on phones the hero form card shows its fields right
   under the kicker and title; the rating strip and the review quote move below the fields. Desktop is unchanged. */
@media (max-width:767px){
  .bb-hero .form-card{display:flex;flex-direction:column}
  .bb-hero .form-card > .form-kicker{order:1}
  .bb-hero .form-card > .form-title{order:2}
  .bb-hero .form-card > form{order:3}
  .bb-hero .form-card > .form-rating{order:4;margin-top: var(--space-3,var(--space-4))}
  .bb-hero .form-card > .form-review{order:5}
}
/* 2026-11-19 (sheet: clean on a phone screen): breadcrumb links get a 24px tap height (WCAG 2.2 target size minimum). */
.crumbs a{display:inline-block;min-height:24px;line-height:24px}
/* row 312 live review feed block (tooling/lanes/zz_fixes7_reviews.py) */
.rev-live { margin-top: var(--space-5, var(--space-6)); text-align: left; }
.rev-live .rev-live-head { margin-bottom: var(--space-3); }
.rev-live .rev-live-note { margin-top: var(--space-3); font-size: 14px; color: var(--c-4b5563); }
/* sheet 2026-11-23: source lines read as footnotes; before/after pairs stack on small phones */
.bb-post-body .post-sources, .post-sources { font-size: .875rem; line-height: 1.5; }
@media (max-width: 480px) { .job-pair { grid-template-columns: 1fr; } }
