/* TYPOGRAPHY CONTRACT — loaded last on every page.
   Sora: headings/UI; Inter: prose/forms; Georgia bold italic: heading accents.
   No page-specific heading weights. Exceptions below are semantic roles, not pages.
   Georgia is a system font (not a bundled/licensed webfont). */
:root {
 --type-h1:clamp(36px,4.4vw,68px);
 --type-h2:clamp(28px,3.4vw,44px);
 --type-h3:clamp(20px,2vw,26px);
 --type-editorial:clamp(26px,2.6vw,34px);
 --type-compact:18px;
}
#main-content :is(h1,h2,h3,h4,h5,h6),.site-footer :is(h2,h3,h4) {
 font-family:Sora,Inter,sans-serif;font-style:normal;font-weight:600;
 letter-spacing:-.02em;text-wrap:balance;hyphens:none;overflow-wrap:normal;
}
#main-content h1 {font-size:var(--type-h1);line-height:1.12}
#main-content h2 {font-size:var(--type-h2);line-height:1.2}
#main-content h3 {font-size:var(--type-h3);line-height:1.3}
#main-content h4 {font-size:18px;line-height:1.4}
#main-content h5 {font-size:16px;line-height:1.4}
#main-content h6 {font-size:14px;line-height:1.4}
#main-content :is(h1,h2,h3,h4,h5,h6) em {
 font-family:Georgia,"Times New Roman",serif;font-weight:700;font-style:italic;
 font-size:1em;letter-spacing:0;line-height:inherit;
}
/* Section titles stay the same whether or not they contain an accent.
   Larger H3 only for substantial editorial cards/chronicle chapters. */
#main-content :is(.offering-copy,.about-chapter) h3 {font-size:var(--type-editorial);line-height:1.2}
/* Selected employee is a profile display, not a small card title. */
#main-content .team-feature-copy h3 {font-size:var(--type-h1);line-height:1.12}
/* Compact UI titles: steps, benefits, gallery captions, confirmations, footer. */
#main-content :is(.step,.why-item,.bath-project-info,.bath-lightbox-top,.contact-confirmation,.form-local-confirmation) h3,
.site-footer :is(h2,h3,h4) {font-size:var(--type-compact);line-height:1.4;letter-spacing:0}
/* Form panel headings are nested functional labels, not section introductions. */
#main-content :is(.contact-form-heading,.contact-hero-copy) h2 {font-size:24px;line-height:1.3}
/* Location suffix is part of H1 semantics, but visually subordinate on all heroes. */
#main-content :is(.service-loop-content h1 > span,.title-region) {font-family:Sora,Inter,sans-serif;font-size:clamp(16px,1.5vw,22px);font-style:normal;font-weight:500;line-height:1.5;letter-spacing:0}
#main-content :is(.kicker,.hero-eyebrow,.offering-type,.form-step-kicker) {font-family:Sora,Inter,sans-serif;font-size:12px;font-weight:600;line-height:1.5;letter-spacing:.07em;text-transform:uppercase}
body .btn,.navlinks a {font-family:Sora,Inter,sans-serif;font-size:14px;font-weight:600;line-height:1.4;letter-spacing:0}
#main-content :is(input,textarea,select) {font-family:Inter,sans-serif;font-size:16px;line-height:1.5}
#main-content .form-question {font-family:Sora,Inter,sans-serif;font-size:var(--type-h3);font-weight:600;line-height:1.3;letter-spacing:-.02em}
@media(max-width:760px) {
 :root {--type-h1:clamp(32px,8.6vw,44px);--type-h2:clamp(27px,7vw,32px);--type-h3:22px;--type-editorial:26px;--type-compact:17px}
 #main-content :is(h1,h2,h3,h4,h5,h6) {overflow-wrap:anywhere}
}
