/* Designed page rebuilds (2026-11-14): fixes for the eleven redesigned industry and service pages on WordPress.
   Loaded after each page's own stylesheet and after site-header-unified.css / site-footer.css, only on
   those pages (child theme, lh_design_pages()). Source: the design-pages build (lh-design-glue.css). */

/* Shared header: some of the designer's page stylesheets set `.site-header nav{font:13px/1.5 Mono}`;
   site-header-unified.css restates the size but not the family, so the nav and the black
   "Let's talk" button turned monospace and the button wrapped to two lines on phones. */
body.lh-unified .site-header nav,
body.lh-unified .site-header .nav-cta{font-family:LHHeaderSans,"LH Montreal Fallback",Arial,sans-serif;line-height:1.45;letter-spacing:normal;text-transform:none}
body.lh-unified .site-header .nav-cta{white-space:nowrap}

/* Shared header menus: the designer's global `.eyebrow{margin-bottom:20-24px}` reached the group labels in the
   Services / Who we help dropdowns and the phone menu (site-header-unified.css sets no margin). */
body.lh-unified .site-header .nav-menu .eyebrow{margin:0}

/* Shared footer: its markup carries class "wrap", and the designer's `.wrap{width:min(1440px,92%)}` narrowed it
   on top of site-footer.css's own 4% padding, so the footer no longer lined up with the header logo. */
body.lh-unified div.lh-site-footer.wrap{width:auto;max-width:none;margin-inline:0}

/* Focus rings on the shared crumb bar, footer and phone bar: the designer's pink #ff83ca outline is about 2.1:1
   on the cream background; use the site's darker pink (3:1+), as on the other pages. */
body.lh-unified .lh-crumbbar a:focus-visible,
body.lh-unified .lh-site-footer a:focus-visible,
body.lh-unified .lh-mobile-cta a:focus-visible{outline-color:#a52868}

/* Phones: the site's own "Let's talk / Call" bar (aside.lh-mobile-cta) is on every page; the designer's page
   sticky CTA bars sat underneath it (two bars, taps landing on the wrong one). Desktop keeps the designer's bar. */
@media(max-width:760px){body.lh-unified #sticky-cta.sticky-cta{display:none!important}}

/* The site breadcrumb bar replaces the crumb row the design had inside each hero; give the hero back the
   space that row used (values measured against each original). */
body.lh-page-roof .lh-crumbbar{padding-top:28px}
body.lh-page-roof .lh-crumbbar .crumbs{margin-bottom:28px}
@media(max-width:760px){body.lh-page-roof .lh-crumbbar{padding-top:23px}}
body.lh-page-land .lh-crumbbar{padding-top:25px}
body.lh-page-ind .lh-crumbbar{padding-top:22px}
body.lh-page-hc .lh-crumbbar{padding-top:22px}
body.lh-page-hvac .lh-crumbbar{padding-top:30px}
@media(max-width:620px){body.lh-page-hvac .lh-crumbbar{padding-top:24px}}

/* Healthcare: the keyword-led FAQ heading wraps more evenly. */
body.lh-page-hc .faq h2{text-wrap:balance}

/* HVAC: This page was built against the live header's class names, so its header, phone-bar and
   footer rules restyle the SHARED header/footer. Reset what leaked (each verified against the
   page with the page CSS disabled). */
@media(max-width:850px){
 body.lh-page-hvac .site-header nav{position:static;z-index:auto;background:none;padding:0;max-height:none;overflow:visible;border-bottom:0}
 body.lh-page-hvac .site-header .nav-toggle span{top:0;left:0}
 body.lh-page-hvac .site-header .nav-menu{margin:0}
 body.lh-page-hvac .lh-mobile-cta{background:none;border-top:0;padding:0}
 body.lh-page-hvac .lh-mobile-cta a{padding:0}
 body.lh-page-hvac .lh-mobile-cta .lh-mcta-main span{margin-left:0}
}
body.lh-page-hvac .site-header .nav-menu{max-height:none;overflow:visible}
body.lh-page-hvac .site-header .nav-group>button:after{margin-left:0}
body.lh-page-hvac .lh-site-footer .footer-cols a{margin-bottom:0}
body.lh-page-hvac .lh-site-footer .footer-brand img{margin-bottom:0}
body.lh-page-hvac .lh-site-footer .footer-nap span{margin-top:0}
body.lh-page-hvac .lh-site-footer .footer-meta{margin-top:0}

/* WCAG AA text contrast (measured 2026-11-14): the designer's small mono labels use brand blue #092aff on pink
   #ff83ca, or pink on blue, at 3.36:1 (small text needs 4.5:1). The smallest shade shifts that pass, as
   already done on How it works: blue text on pink -> #0418c0 (4.93:1), pink text on blue -> #ffb6de
   (4.66:1). The GBP hand-lettered caption (30px, large text, needs 3:1) -> #ff38aa (3.12:1). */
body.lh-page-elec #client-scans .eyebrow,
body.lh-page-elec #amprite-work .section-heading .eyebrow,
body.lh-page-hvac #map-results button:not([aria-pressed="true"]) span{color:#ffb6de}
body.lh-page-elec #research .section-heading .eyebrow,
body.lh-page-land section.process .eyebrow, body.lh-page-land section.process .process-steps li>span,
body.lh-page-hc section.process .eyebrow, body.lh-page-hc section.process .process-steps li>span,
body.lh-page-hs section.process .eyebrow, body.lh-page-hs section.process .process-steps li>span,
body.lh-page-rest section.process .eyebrow, body.lh-page-rest section.process .process-steps li>span,
body.lh-page-lss .research-section .eyebrow,
body.lh-page-maps .maps-pink .eyebrow,
body.lh-page-gbp section.ongoing .eyebrow,
body.lh-page-hvac section.closing .eyebrow,
body.lh-page-roof #search-and-backlinks .eyebrow,
body.lh-page-roof section.closing .eyebrow{color:#0418c0}
body.lh-page-gbp .profile-photo figcaption.hand{color:#ff38aa}

/* Electrician audit facts: the notes under each figure are now <dd> (a <p> inside <dl> is invalid);
   keep the note styling the design gave the <p>. */
body.lh-page-elec .audit-two-facts dd.audit-fact-note{font:12px/1.4 Montreal,"LH Montreal Fallback",Arial,sans-serif;margin:0;color:inherit}
@media(max-width:560px){body.lh-page-elec .audit-two-facts dd.audit-fact-note{font-size:11px}}
body.lh-page-hs .lh-crumbbar,body.lh-page-rest .lh-crumbbar{padding-top:22px}
body.lh-page-lss .lh-crumbbar,body.lh-page-maps .lh-crumbbar,body.lh-page-gbp .lh-crumbbar{padding-top:22px}
@media(max-width:650px){body.lh-page-lss .lh-crumbbar,body.lh-page-maps .lh-crumbbar,body.lh-page-gbp .lh-crumbbar{padding-top:20px}}
/* Electrician: its hero had no top padding of its own (all of it came from the crumb row). */
body.lh-page-elec .lh-crumbbar{padding-block:10px}
body.lh-page-elec .hero{padding-top:28px}
@media(max-width:560px){body.lh-page-elec .hero{padding-top:18px}}

/* the designer's leftover header CTA border on some pages made the black button 2px larger. */
body.lh-unified .site-header .nav-cta{border:0}
body.lh-unified a.skip:focus-visible{outline-color:#a52868}

/* Services pages (Maps, GBP): services.css sets `.site-header nav{justify-content:flex-end;flex-wrap:wrap}`,
   which bottom-aligned the shared phone menu and wrapped expanded groups into two columns. */
@media(max-width:650px){
 body.lh-unified.services-collection .site-header nav{justify-content:normal;flex-wrap:nowrap}
 body.lh-unified.services-collection .site-header{min-height:0}
}

/* GBP: the keyword kicker added above the headline uses the small mono style of the other services heroes. */
body.lh-page-gbp .profile-hero h1 small{display:block;color:var(--cream);font:13px/1.5 Mono,monospace;letter-spacing:.03em;margin:0 0 20px}
@media(max-width:650px){body.lh-page-gbp .profile-hero h1 small{font-size:11px;margin-bottom:16px}}

/* Related pages after the FAQ (internal links between sibling industry and service pages, 2026-11-14). */
body.lh-unified .faq-related{margin-top:34px;grid-column:1/-1}
body.lh-unified .faq-related .eyebrow{margin:0 0 10px}
body.lh-unified .faq-related ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 22px}
body.lh-unified .faq-related li{margin:0;padding:0;border:0}
body.lh-unified .faq-related li::before,body.lh-unified .faq-related li::after{content:none}
body.lh-unified .faq-related a{font-size:16px;line-height:1.5;color:inherit;text-decoration:underline;text-underline-offset:4px}

/* Bylines in the Maps and GBP heroes (E-E-A-T; carried over from the previous pages). */
body.lh-unified .hero-note.byline{color:#faf9f5;font:12px/1.5 Mono,monospace;letter-spacing:.03em;margin-top:22px}
body.lh-unified .hero-note.byline a{color:inherit;text-decoration:underline;text-underline-offset:3px}

/* Final QA (2026-11-14). Keyboard focus: one two-tone ring that stays visible on every section color
   (pink, cobalt, yellow, cream, black); the designer's pink/magenta rings vanished on pink and cobalt sections. */
body.lh-unified main :focus-visible{outline:3px solid #101010!important;outline-offset:3px!important;box-shadow:0 0 0 6px #faf9f5!important}
/* Image links: an inline <a> around a block <img> never paints its focus ring in Chrome. */
body.lh-unified main figure > a:has(> img),body.lh-unified main .scan-card > a:has(> img),body.lh-unified main a.map-link:has(> img){display:block}
/* Focused links must not end up under the phone "Let's talk / Call" bar or the designer's desktop sticky CTA. */
html:has(body.lh-unified){scroll-padding-bottom:96px}
/* HVAC scan source links: 24px targets. */
body.lh-page-hvac .scan-source-row{gap:10px}
@media(max-width:620px){body.lh-page-hvac .neighborhood-sticker{margin-top:16px}}
/* GBP: give the "60%" stat a little room before its sentence. */
body.lh-page-gbp .review-stat strong{padding-right:.15em}
/* Restaurant: the review attribution sits on its own line. */
body.lh-page-rest .team blockquote cite{display:block;margin-top:12px;font:13px/1.5 Mono,monospace;font-style:normal}
/* round 2 (2026-11-15): keyword line above the designer's hero headline, as on /google-business-profile-optimization */
body.lh-page-cit .cit-hero h1 small,body.lh-page-caud .audit-hero h1 small,body.lh-page-comp .comp-hero h1 small,body.lh-page-rev .review-hero h1 small{display:block;color:var(--ink);font:13px/1.5 Mono,monospace;letter-spacing:.03em;margin:0 0 20px}
@media(max-width:650px){body.lh-page-cit .cit-hero h1 small,body.lh-page-caud .audit-hero h1 small,body.lh-page-comp .comp-hero h1 small,body.lh-page-rev .review-hero h1 small{font-size:11px;margin-bottom:16px}}
/* round 2: the 11-14 platform sticker row kept on the new citations page (site-additions.css does not load on design pages) */
body.lh-page-cit .sticker-wall{padding-block:34px 10px}
body.lh-page-cit .sticker-wall-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:18px 30px}
body.lh-page-cit .sticker-wall-list li{margin:0;padding:0}
body.lh-page-cit .sticker-wall-list img{display:block;height:var(--h,58px);width:auto;max-width:100%;transform:rotate(-2deg)}
body.lh-page-cit .sticker-wall-list li:nth-child(even) img{transform:rotate(2deg)}
body.lh-page-cit .sticker-wall .sticker-wall-caption{display:block;width:100%;max-width:none;text-align:center;margin:24px 0 0}
@media(max-width:760px){body.lh-page-cit .sticker-wall-list{gap:12px 18px}body.lh-page-cit .sticker-wall-list img{height:calc(var(--h,58px) * .7)}}

/* Round 3 (2026-11-17): Google Ads (589) and Case Studies (26), from the preview QA. */
body.lh-page-ads .lh-crumbbar,body.lh-page-cases .lh-crumbbar,body.lh-page-pricing .lh-crumbbar,body.lh-page-chatgpt .lh-crumbbar{padding-top:25px}
@media(max-width:360px){body.lh-page-ads .lh-crumbbar nav,body.lh-page-ads .lh-crumbbar nav *{column-gap:6px!important;letter-spacing:0!important}}
@media(max-width:800px){body.lh-page-ads .auction .keyword-layout{row-gap:35px}}
body.lh-page-ads section.process .eyebrow,body.lh-page-ads section.process .process-steps li>span,body.lh-page-cases section.process .eyebrow{color:#0418c0}
body.lh-page-cases .sticky-cta:not(.on){visibility:hidden;pointer-events:none}
body.lh-page-ads .sticky-cta:focus-within,body.lh-page-cases .sticky-cta:focus-within,body.lh-page-pricing .sticky-cta:focus-within,body.lh-page-chatgpt .sticky-cta:focus-within{transform:none;visibility:visible;pointer-events:auto}
body.lh-unified main [tabindex="-1"]:focus-visible{outline:0!important;box-shadow:none!important}

/* Round 4 (2026-11-17): Pricing (44), from the preview QA. */
body.lh-page-pricing .sticky-cta:not(.on),body.lh-page-chatgpt .sticky-cta:not(.on){visibility:hidden;pointer-events:none}
body.lh-page-pricing :is(.quiz-top,.challenge-top) li:not(.is-current,.is-done){opacity:.8}
body.lh-page-pricing .compare-table td.no{color:#6b6b64}
@media(prefers-reduced-motion:reduce){body.lh-page-pricing .type-strip-group b{display:none}body.lh-page-pricing .type-strip-group span{white-space:nowrap}body.lh-page-pricing .type-strip-group span::after{content:"\2733";display:inline-block;margin-left:18px;font:46px/1 Montreal,sans-serif;font-weight:400;vertical-align:middle}}
@media(prefers-reduced-motion:reduce) and (max-width:620px){body.lh-page-pricing .type-strip-group span::after{font-size:32px}}

/* r5 /chatgpt-business-profile (2026-11-18, tech review): AA contrast on the pink process band (#0418c0 = 4.93:1, as land/hc/hs/rest/ads);
   reduced motion shows the hero poster before/without JS (chatgpt.css hides it after base.css re-shows it); trademark note in the blue
   closing band (#dfe4ff, ads trademark-line colour); reduced-motion type strip without lone glyphs (same as pricing). */
body.lh-page-chatgpt section.process .eyebrow,body.lh-page-chatgpt section.process .process-steps li>span{color:#0418c0}
@media(prefers-reduced-motion:reduce){body.lh-page-chatgpt .hero-still .hero-video-poster{display:block}}
body.lh-page-chatgpt .closing .art-note{color:#dfe4ff;margin:40px 0 0;max-width:none}
@media(prefers-reduced-motion:reduce){body.lh-page-chatgpt .type-strip-group b{display:none}body.lh-page-chatgpt .type-strip-group span{white-space:nowrap}body.lh-page-chatgpt .type-strip-group span::after{content:"\2733";display:inline-block;margin-left:18px;font:46px/1 Montreal,sans-serif;font-weight:400;vertical-align:middle}}
@media(prefers-reduced-motion:reduce) and (max-width:620px){body.lh-page-chatgpt .type-strip-group span::after{font-size:32px}}
/* r6 /about (2026-11-18, review): crumb bar spacing (flush on the header line), desktop sticky CTA clear of the WPE chat launcher,
   art note on the blue closing band, reduced-motion hero poster before JS (hero autoplays), sound "on" state via .is-on (aria-pressed
   dropped by the sound standard), reduced-motion type strip without lone glyphs. */
body.lh-page-about .lh-crumbbar{padding-block:24px 26px}
@media(max-width:520px){body.lh-page-about .lh-crumbbar{padding-block:20px 22px}}
@media(min-width:801px){body.lh-page-about:has(#wpe-ai-chatbot-root) .sticky-cta{padding-right:96px}}
body.lh-page-about .closing .art-note{color:#dfe4ff;margin:40px 0 0;max-width:none}
@media(prefers-reduced-motion:reduce){body.lh-page-about .hero-still video{display:none}body.lh-page-about .hero-still .hero-video-poster{display:block}}
body.lh-page-about .sound.is-on{background:var(--pink);color:var(--ink)}
@media(prefers-reduced-motion:reduce){body.lh-page-about .type-strip-group b{display:none}body.lh-page-about .type-strip-group span{white-space:nowrap}body.lh-page-about .type-strip-group span::after{content:"\2733";content:"\2733" / "";display:inline-block;margin-left:20px;font-family:Montreal,"LH Montreal Fallback",Arial,sans-serif;font-weight:400;vertical-align:top}}
/* r6 /about: "See the service ->" kept on one line in the 120px service-row column (it wrapped at >=1280px). */
body.lh-page-about .svc-go{white-space:nowrap}
/* 2026-11-18: the "Compare every plan" section is hidden on /pricing for now (designer request); hide its hero jump link too. Remove this rule when the section returns. */
body.lh-page-pricing .hero a[href="#compare-every-plan"]{display:none!important}
/* r7 Guides hub (31) + 14 lessons (2026-11-19, review): crumb row spacing as in the designer's in-hero crumbs, the restored art note
   readable on the blue closing band (#dfe4ff on #092aff = 5.98:1), hub sound "on" state via .is-on (sound standard), keyboard-scrollable
   JSON-LD example on the schema lesson, reduced-motion type strip without lone glyphs, sticky lesson menu clear of the WPE chat launcher. */
body[class*="lh-page-edu"] .lh-crumbbar{padding-block:24px 26px}
body[class*="lh-page-edu"] .closing .art-note{color:#dfe4ff;margin:40px 0 0;max-width:none}
body.lh-page-eduhub .edu-video .sound.is-on{background:#101010;color:#fff078}
body.lh-page-eduschema .prose .table-scroll>pre{overflow-x:visible;width:max-content;min-width:100%}
@media(prefers-reduced-motion:reduce){body.lh-page-eduhub .type-strip-group b{display:none}body.lh-page-eduhub .type-strip-group span{white-space:nowrap}body.lh-page-eduhub .type-strip-group span::after{content:"\2733";content:"\2733" / "";display:inline-block;margin-left:20px;font-family:Montreal,"LH Montreal Fallback",Arial,sans-serif;font-weight:400}}
@media(min-width:1101px){body[class*="lh-page-edu"]:has(#wpe-ai-chatbot-root) .article-aside .aside-sticky{max-height:calc(100svh - 124px)}}

/* 2026-11-19: the site header is sticky (Customizer > Additional CSS, added 2026-11-18): 104px tall, 84px at <=760px, under the WP
   admin bar when logged in. Sticky page parts start below it instead of sliding under it. Keep these heights in step with that CSS. */
:root{--lh-sticky-head:104px}
@media(max-width:760px){:root{--lh-sticky-head:84px}}
body.admin-bar{--lh-sticky-head:136px}
@media(max-width:782px){body.admin-bar{--lh-sticky-head:150px}}
@media(max-width:760px){body.admin-bar{--lh-sticky-head:130px}}
@media(max-width:600px){body.admin-bar{--lh-sticky-head:84px}}
body[class*="lh-page-edu"] .article-aside{top:calc(var(--lh-sticky-head) + 28px)}
body[class*="lh-page-edu"] .article-aside .aside-sticky{max-height:calc(100svh - var(--lh-sticky-head) - 56px)}
@media(min-width:1101px){body[class*="lh-page-edu"]:has(#wpe-ai-chatbot-root) .article-aside .aside-sticky{max-height:calc(100svh - var(--lh-sticky-head) - 124px)}}
body.lh-page-hc .keyword-table,body.lh-page-hs .keyword-table,body.lh-page-ads .keywords .keyword-table,body.lh-page-land .keywords .keyword-table{top:calc(var(--lh-sticky-head) + 30px)}
body.lh-page-about .onboard-loop{top:calc(var(--lh-sticky-head) + 35px)}
