/* Shared trust and contact pages retain the directory's typography and spacing. */
.content-page { padding: 3rem 1.25rem; }
.content-inner { max-width: 760px; margin: 0 auto; }
.content-inner h1 { margin: 1rem 0; }
.content-inner h2 { margin-top: 2rem; }
.content-inner label { display: block; margin: 1rem 0 .4rem; }
.content-inner input:not([type=hidden]), .content-inner textarea { width: 100%; padding: .8rem; border: 1px solid #a5adb4; border-radius: .35rem; font: inherit; }
.content-inner button { cursor: pointer; padding: .8rem 1.2rem; }
.blog-byline a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.standards-content img { max-width: 100%; height: auto; }
.standards-content section > img { display: block; margin-bottom: 24px; border-radius: 8px; }

/* Visual polish: retain HomePros' Sora/Manrope, navy, blue and white identity. */
:root { --polish-muted: #465e76; }
html { scroll-padding-top: 28px; }
main h1, main h2, main h3 { text-wrap: pretty; }
main h1 { text-wrap: balance; }
select:focus-visible, summary:focus-visible { outline: 3px solid #185bd5; outline-offset: 4px; }
.desktop-nav a { padding-block: 12px; border-bottom: 2px solid transparent; }
.desktop-nav a[aria-current] { color: #185bd5; border-bottom-color: #185bd5; }
.mobile-nav a[aria-current] { color: #185bd5; font-weight: 800; }
.mobile-menu { min-width: 48px; min-height: 48px; }
.breadcrumbs { flex-wrap: wrap; gap: 6px; line-height: 1.6; }
.breadcrumbs a, .breadcrumb a { text-underline-offset: 3px; }
.breadcrumbs a:hover, .breadcrumb a:hover { text-decoration: underline; }
.pro-name { display: block; overflow: visible; -webkit-line-clamp: unset; }
.pro-meta { font-size: 12px; line-height: 1.55; letter-spacing: .06em; white-space: normal; color: var(--polish-muted); }
.pro-proof { color: var(--polish-muted); white-space: normal; overflow: visible; line-height: 1.6; }
.pro-links { gap: 12px; margin-top: 5px; }
.pro-links a { min-height: 44px; }
.pro-foot { padding-bottom: 12px; }
.topic-links a { min-height: 44px; white-space: normal; }
.area-card .area-go { margin-top: auto; padding-top: 18px; }
.section-heading p, .page-intro p:not(.eyebrow) { max-width: 72ch; }
.profile-title-row { align-items: center; }
.profile-intro .eyebrow { margin-top: 0; }
.profile-summary { max-width: 72ch; }
.standards-content { max-width: 900px; }
.standards-content p { line-height: 1.8; }
.standards-content + .standards-content { padding-top: 0; }
.standards-content a:not(.button), .business-profile-content .fineprint a { text-decoration: underline; text-underline-offset: 3px; }
.content-page { padding: clamp(32px,5vw,64px) 24px; }
.content-inner { max-width: 1120px; }
.content-inner > p { max-width: 72ch; color: var(--polish-muted); line-height: 1.8; margin-top: 16px; }
.content-inner > .breadcrumb { color: var(--polish-muted); font-size: 14px; margin-bottom: 24px; }
.content-inner .section-kicker { color: #185bd5; font-weight: 700; }
.content-inner h1 { font-size: clamp(32px,4vw,46px); text-align: left; }
.contact-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(28px,5vw,64px); margin-top: 36px; align-items: start; }
.contact-layout h2 { margin-top: 0; font-size: 25px; letter-spacing: -.6px; }
.contact-layout a:not(.button) { color: #1854b8; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.contact-layout .form-card { padding: 28px; background: #f5f8fd; border: 1px solid #dfe6ed; border-radius: 8px; }
.contact-layout .form-card h3 { font-size: 23px; }
.contact-layout .form-group { margin-top: 18px; }
.contact-layout label { font-size: 14px; font-weight: 700; }
.contact-layout textarea { min-height: 150px; resize: vertical; }
.contact-layout .form-submit { width: 100%; margin-top: 20px; }
.contact-layout .alert { padding: 20px; border-radius: 8px; border: 1px solid #a9d5b6; background: #eef8f1; color: #235d36; }
.contact-layout .alert-error { border-color: #e6a8a5; background: #fff0ef; color: #8c2323; }
.blog-post .breadcrumb { font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; margin-bottom: 24px; }
.blog-post-header { max-width: 960px; }
.blog-post-header h1 { text-wrap: pretty; }
.blog-post-hero { height: clamp(240px,39vw,540px); overflow: hidden; border-radius: 10px; }
.blog-post-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-reading-grid { display: grid; grid-template-columns: minmax(0,790px) minmax(220px,1fr); gap: 48px; align-items: start; }
.article-reading-grid .blog-post-content { grid-column: 1; grid-row: 1; min-width: 0; font-size: 17px; }
.article-toc { grid-column: 2; grid-row: 1; position: sticky; top: 28px; padding: 20px; border: 1px solid #dfe6ed; border-top: 3px solid #185bd5; border-radius: 6px; background: #f8fbff; }
.article-toc summary { cursor: pointer; font-weight: 800; font-size: 16px; }
.article-toc ol { padding: 0; margin: 14px 0 0; list-style: none; max-height: 65vh; overflow: auto; }
.article-toc li + li { border-top: 1px solid #e0e8f2; }
.article-toc a { display: block; padding: 10px 0; min-height: 44px; color: #34516e; font-size: 14px; line-height: 1.5; }
.article-toc a:hover { color: #185bd5; text-decoration: underline; }
.article-table-scroll { overflow-x: auto; max-width: 100%; margin-bottom: 24px; }
.blog-post-content [id] { scroll-margin-top: 28px; }
.blog-card-meta { flex-wrap: wrap; }
.blog-card-body > p { color: var(--polish-muted); }
.blog-pagination a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 1000px) {
  .article-reading-grid { grid-template-columns: minmax(0,1fr) 230px; gap: 28px; }
}
@media (max-width: 900px) {
  .article-reading-grid { display: block; }
  .article-toc { position: static; margin-bottom: 28px; padding: 16px 20px; }
  .article-toc ol { max-height: none; }
}
@media (max-width: 767px) {
  main input:not([type=checkbox]):not([type=radio]), main textarea, main select, .home-search .picker { font-size: 16px !important; }
  .contact-layout { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .contact-layout .form-card { padding: 22px; }
  .content-page { padding-inline: 20px; }
  .profile-title-row { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 14px; align-items: start; }
  .profile-title-row .profile-monogram { width: 48px; height: 48px; font-size: 16px; }
  .profile-title-row h1 { font-size: 27px; letter-spacing: -.9px; }
  .profile-title-row .eyebrow { margin-bottom: 10px; }
  .profile-contact-card h2 { margin: 8px 0 18px; font-size: 23px; }
  .blog-post-header h1 { font-size: 32px; letter-spacing: -1.15px; line-height: 1.2; }
  .blog-post-excerpt { font-size: 16px; padding-left: 14px; }
  .blog-post-header { margin-bottom: 28px; }
  .blog-post-hero { height: auto; }
  .blog-post-hero img { height: auto; }
  .topic-links a { padding-block: 10px; }
  .mobile-nav { gap: 2px; padding-block: 12px; }
  .mobile-nav a { padding-block: 12px; min-height: 48px; }
}
@media (max-width: 640px) {
  .hero-banner-img, .hero-banner-fade { height: 140px; }
  .hero-banner-inner { display: flex; flex-direction: column; padding-top: 12px; }
  .hero-banner .hero-copy { display: contents; }
  .hero-banner .eyebrow { order: 0; font-size: 10px; letter-spacing: 1px; margin-bottom: 12px; }
  .hero-banner h1 { order: 1; font-size: 36px; letter-spacing: -1.4px; line-height: 1.13; text-wrap: pretty; }
  .hero-banner .hero-description { order: 2; margin-top: 16px; font-size: 16px; line-height: 1.65; }
  .hero-banner .hero-search-wrap { order: 3; margin-top: 22px; width: 100%; }
  .hero-banner .hero-benefits { order: 4; margin-top: 22px; gap: 8px 14px; font-size: 12px; }
  .hero-banner .hero-local { order: 5; margin-top: 12px; }
  .hero-banner .hero-stats { order: 6; margin-top: 22px; padding-top: 20px; border-top: 1px solid #dfe6ed; gap: 18px; }
  .hero-stats > div { flex: 1; min-width: 0; }
  .hero-stats span { font-size: 10px; letter-spacing: .3px; }
  .project-quick-links { gap: 6px 12px; }
  .project-quick-links a { min-height: 36px; display: inline-flex; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pro-card, .area-card, .project-story, a, button { transition: none; }
  .pro-card:hover, .area-card:hover, .project-story:hover { transform: none; }
}
