/* scrub-v1 (2026-11-09): typography normalization + layout fixes. Loaded after site.min.css and audit-fixes-v1.css. */
/* H1: one scale on every page (was 3: home 57.6px, legal 48px/tight leading, others 54.4px) */
main h1.big{font-size:2.3rem;line-height:1.08}
@media (min-width:768px){main h1.big{font-size:3.4rem}}
/* Display H2 (big statement headings): one scale (was 38.4px, 41.6px and 48px on desktop) */
main h2.big.text-3xl,.cta-h2{font-size:1.875rem;line-height:1.1}
@media (min-width:768px){main h2.big.text-3xl{font-size:2.4rem;line-height:1.08}}
/* Standard H2 used as card titles on Work: same leading as other standard H2s */
main h2.big.text-2xl{line-height:2rem}
@media (min-width:768px){main h2.big.text-2xl{line-height:2.25rem}}
/* Card H3 titles: one size (was 18px on Services, 20px on pricing cards) */
main h3.text-lg{font-size:1.25rem;line-height:1.75rem}
/* H4: same family as every other heading */
main h4{font-family:Montserrat,sans-serif}
/* Eyebrow labels: match .kicker (was 12px vs 12.8px, two trackings) */
main .text-xs.font-semibold.uppercase.tracking-wider{font-size:.8rem;letter-spacing:.1em}
/* Mobile: body text at least 16px; captions at least 14px. Diagram mockups keep their own sizes. */
@media (max-width:767px){
 main :is(p,li,span,div).text-sm:not(.font-semibold):not(.kicker),
 main :is(ul,ol,div).text-sm>li,
 main ul.text-\[15px\]>li{font-size:1rem;line-height:1.6}
 main aside.text-sm{font-size:1rem;line-height:1.6}
 main p.text-xs:not(.font-semibold):not(.uppercase){font-size:.875rem;line-height:1.45}
}
/* Header at 1024–1279px: nav + full CTA overflowed (logo overlapped “Services”, page scrolled sideways) */
@media (min-width:1024px) and (max-width:1279px){
 header nav.gap-6{gap:1.1rem}
 header nav a{white-space:nowrap}
 #hbook .sm\:inline{display:none}
 #hbook .sm\:hidden{display:inline}
}
/* Phones: lift the cookie card above the sticky Book bar so the two never stack on top of each other */
@media (max-width:639px){
 html.mb-on #cookie-banner{bottom:calc(4.5rem + env(safe-area-inset-bottom,0px))}
 #cookie-banner{transition:opacity .25s ease-out,transform .25s ease-out,bottom .25s ease-out}
 /* Contact quote card: less nested padding so the CRM form gets the column width */
 #quote>.card{padding:.75rem}
}
