.site-header { z-index: 50; }
.site-header--internal { position: relative; }
.desktop-nav { gap: 23px; margin-right: 12px; }
.desktop-nav a { white-space: nowrap; }
.desktop-nav a[aria-current="page"] { color: var(--sand); text-decoration: underline; text-underline-offset: 7px; }
.mobile-nav { display: none; }
.page-internal { display: flex; flex-direction: column; min-height: 100svh; }
.page-internal > main { flex: 1; }
.content-wrap { margin: 0 auto; padding: 72px var(--page-gutter); width: 100%; }
.page-heading { padding: 42px var(--page-gutter) 55px; border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px 13px; color: var(--muted); font-size: 12px; line-height: 1.5; margin-bottom: 43px; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs > span:last-child { max-width: 70ch; }
.page-heading > .eyebrow { margin-bottom: 18px; }
.page-heading h1 { max-width: 980px; font-size: clamp(38px, 4.4vw, 62px); line-height: 1.11; text-wrap: pretty; }
.page-lead { font-size: 18px; max-width: 66ch; color: var(--muted); margin-top: 26px; }
.home-services { display: grid; grid-template-columns: 1fr 1.05fr; gap: 12%; }
.home-services .section-intro > p { max-width: 40ch; color: var(--muted); margin-top: 26px; }
.service-row { display: grid; grid-template-columns: 1fr 35px; gap: 15px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.service-row:first-child { padding-top: 0; }
.service-row h3 { font-size: 27px; }
.service-row p { grid-column: 1; font-size: 15px; color: var(--muted); }
.service-row > span { grid-row: 1 / 3; grid-column: 2; align-self: center; justify-self: end; color: var(--olive); font-size: 25px; }
.service-row:hover h3 { color: var(--olive); }
.home-objects { background: var(--surface); display: grid; grid-template-columns: 1.05fr 1fr; gap: 9%; align-items: center; }
.home-objects img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.home-objects h2 { margin-top: 19px; }
.home-objects p { margin-top: 24px; max-width: 40ch; color: var(--muted); }
.home-objects .text-action { margin-top: 17px; }
.home-journal .section-heading-row { margin-bottom: 20px; }
.archive-intro { font-size: 14px; color: var(--muted); margin-bottom: 32px; max-width: 65ch; }
.journal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; }
.journal-entry { padding: 30px 0; border-top: 1px solid var(--line); }
.journal-meta { display: flex; flex-wrap: wrap; gap: 5px 18px; font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.journal-meta > span:first-child { color: var(--olive); }
.journal-entry h2 { font-size: 28px; line-height: 1.19; letter-spacing: -0.02em; margin-bottom: 19px; }
.journal-entry h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.journal-entry > p { font-size: 15px; color: var(--muted); max-width: 65ch; }
.journal-entry .text-action { margin-top: 15px; }
.page-cta { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 54px var(--page-gutter); background: var(--surface); }
.page-cta h2 { font-size: 30px; line-height: 1.15; }
.page-cta p { margin-top: 13px; color: var(--muted); font-size: 14px; max-width: 60ch; }
.page-cta .button { flex-shrink: 0; }
.reading-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(210px, 290px); justify-content: space-between; gap: 9%; }
.prose-section + .prose-section { margin-top: 45px; padding-top: 35px; border-top: 1px solid var(--line); }
.prose-section h2 { font-size: 31px; line-height: 1.2; margin-bottom: 23px; }
.prose-section p + p { margin-top: 18px; }
.prose-section p { font-size: 16px; color: var(--muted); }
.page-aside { align-self: start; border-top: 2px solid var(--olive); padding-top: 24px; }
.page-aside > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 30px; }
.page-aside h2 { font-size: 19px; margin-bottom: 14px; }
.page-aside > a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.page-aside > a:hover { color: var(--olive); }
.step-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-bottom: 24px; margin-bottom: 50px; border-bottom: 1px solid var(--line); }
.step-nav a { font-size: 14px; padding: 10px 0; }
.step-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.step-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 9%; align-items: center; scroll-margin-top: 36px; }
.step-section + .step-section { border-top: 1px solid var(--line); margin-top: 64px; padding-top: 64px; }
.step-section > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.step-section .eyebrow { margin-bottom: 20px; }
.step-section h2 { font-size: 36px; margin-bottom: 24px; }
.step-section p { color: var(--muted); }
.quiet-note { padding: 22px 0 0; margin-top: 28px; border-top: 1px solid var(--line); }
.quiet-note strong { font-size: 13px; color: var(--olive); font-weight: 500; }
.quiet-note p { font-size: 14px; margin-top: 10px; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-top: 56px; }
.category-link { display: block; border-top: 1px solid var(--line); padding: 30px 0; }
.category-link h2 { font-size: 27px; margin-bottom: 18px; }
.category-link p { color: var(--muted); font-size: 14px; }
.category-link > span { display: inline-block; font-size: 13px; color: var(--olive); margin-top: 22px; text-decoration: underline; text-underline-offset: 4px; }
.category-link:hover h2 { color: var(--olive); }
.evaluation-details { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 12%; margin-top: 75px; }
.evaluation-details > h2 { font-size: 32px; }
.inspection-entry .text-action { font-size: 13px; }
.contact-page { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 10%; }
.address-block { border-left: 2px solid var(--olive); padding-left: 30px; align-self: start; }
.address-block h2 { font-size: 28px; margin-bottom: 25px; }
.address-block address { font-style: normal; font-size: 19px; line-height: 1.75; }
.address-block p { margin-top: 24px; color: var(--muted); font-size: 14px; }
.address-block .text-action { font-size: 14px; }
.services-overview { max-width: 900px; padding-top: 0; }
.faq-list { max-width: 1050px; }
.faq-list summary { font-size: 17px; padding: 22px 0; }
.faq-list .inspection-detail p { font-size: 15px; max-width: 72ch; }
.blog-layout { display: grid; grid-template-columns: 180px minmax(0, 800px); justify-content: space-between; gap: 8%; }
.archive-sidebar { align-self: start; position: sticky; top: 25px; }
.archive-sidebar h2 { font-size: 19px; margin-bottom: 22px; }
.year-nav { display: flex; flex-direction: column; gap: 4px; }
.year-nav a { font-size: 14px; padding: 9px 0; }
.year-nav a[aria-current="page"] { color: var(--olive); text-decoration: underline; text-underline-offset: 5px; }
.archive-notice { border-left: 2px solid var(--olive); padding-left: 22px; margin-bottom: 35px; }
.archive-notice strong { font-size: 14px; font-weight: 500; }
.archive-notice p { font-size: 13px; margin-top: 10px; color: var(--muted); }
.blog-filters { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px 22px; margin-bottom: 33px; }
.blog-filters label { display: block; font-size: 13px; margin-bottom: 8px; }
.blog-filters input, .blog-filters select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 2px; background: var(--ground); color: var(--sand); font-size: 14px; }
.blog-filters input:focus-visible, .blog-filters select:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
#blog-result-count { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
.journal-list .journal-entry h2 { font-size: 31px; }
.article-layout { display: grid; grid-template-columns: 235px minmax(0, 760px); gap: 9%; justify-content: space-between; }
.article-toc { position: sticky; top: 30px; align-self: start; }
.article-toc h2 { font-size: 18px; margin-bottom: 18px; }
.article-toc nav { display: flex; flex-direction: column; gap: 16px; }
.article-toc a { font-size: 14px; line-height: 1.5; color: var(--muted); }
.article-toc a:hover { color: var(--olive); }
.article-toc > a { display: block; padding-top: 23px; margin-top: 25px; border-top: 1px solid var(--line); }
.article-dates { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.article-dates p + p { margin-top: 5px; }
.article-dates strong { font-weight: 500; color: var(--sand); }
.article-date-note { font-size: 13px; padding-bottom: 28px; border-bottom: 1px solid var(--line); color: var(--muted); }
.article-prose section { padding-top: 40px; scroll-margin-top: 30px; }
.article-prose section h2 { font-size: 32px; line-height: 1.2; margin-bottom: 25px; }
.article-prose section p { color: var(--muted); font-size: 17px; line-height: 1.8; }
.article-prose section p + p { margin-top: 23px; }
.article-prose .quiet-note { margin-top: 43px; }
.article-prose .quiet-note h2 { font-size: 23px; }
.related-articles { padding-top: 20px; }
.related-articles > h2 { font-size: 30px; margin-bottom: 30px; }
.footer-columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 35px; padding-bottom: 38px; }
.footer-columns h2 { font-family: "Archivo", sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 0; margin-bottom: 18px; line-height: 1.45; }
.footer-columns nav { display: flex; flex-direction: column; gap: 11px; }
.footer-columns a { font-size: 13px; color: var(--muted); line-height: 1.45; }
.footer-columns a:hover { color: var(--sand); text-decoration: underline; }
.multipage-footer .footer-top > p { font-size: 13px; color: var(--muted); }
.multipage-footer .footer-bottom > button { background: none; border: 0; padding: 8px 0; font-size: 12px; cursor: pointer; }
@media (max-width: 1100px) {
  .desktop-nav, .header-contact { display: none; }
  .site-header { min-height: 72px; height: auto; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
  .page-home .site-header { position: relative; }
  .has-js .page-home .site-header { position: absolute; }
  .has-js .site-header { height: 72px; flex-wrap: nowrap; padding-top: 0; padding-bottom: 0; }
  .menu-toggle:not([hidden]) { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 44px; height: 44px; margin-left: auto; border: 0; background: none; }
  .menu-toggle > span { width: 19px; height: 1px; background: var(--sand); }
  .mobile-nav:not([hidden]) { display: flex; flex-direction: row; flex-wrap: wrap; flex-basis: 100%; position: static; gap: 8px 18px; padding: 13px 0 0; border: 0; }
  .mobile-nav a { font-size: 14px; padding: 10px 0; }
  .has-js .mobile-nav:not([hidden]) { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; flex-wrap: nowrap; padding: 18px var(--page-gutter) 25px; background: var(--ground); border-bottom: 1px solid var(--line); max-height: calc(100dvh - 72px); overflow-y: auto; }
  .reading-layout { gap: 6%; grid-template-columns: minmax(0, 1fr) 230px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 6%; }
  .blog-layout { grid-template-columns: 140px minmax(0, 1fr); gap: 6%; }
}
@media (max-width: 760px) {
  .content-wrap { padding: 52px var(--page-gutter); }
  .page-heading { padding: 25px var(--page-gutter) 37px; }
  .breadcrumbs { font-size: 11px; margin-bottom: 28px; gap: 6px 10px; }
  .page-heading > .eyebrow { font-size: 12px; margin-bottom: 14px; }
  .page-heading h1 { font-size: 35px; }
  .page-lead { font-size: 15px; margin-top: 22px; }
  .home-services, .home-objects, .reading-layout, .contact-page, .evaluation-details, .article-layout, .blog-layout { display: block; }
  .home-services .section-intro > p { font-size: 14px; margin-top: 22px; }
  .home-services .section-intro { margin-bottom: 38px; }
  .service-row h3 { font-size: 24px; }
  .service-row p { font-size: 14px; }
  .home-objects img { margin-bottom: 32px; }
  .home-objects p { font-size: 14px; }
  .journal-grid { display: block; }
  .journal-entry h2, .journal-list .journal-entry h2 { font-size: 25px; }
  .journal-entry p { font-size: 14px; }
  .journal-meta { font-size: 11px; }
  .page-cta { display: block; padding: 38px var(--page-gutter); }
  .page-cta h2 { font-size: 27px; }
  .page-cta .button { margin-top: 25px; }
  .page-aside { margin-top: 38px; }
  .page-aside > img { max-width: 400px; }
  .prose-section h2 { font-size: 27px; }
  .prose-section p { font-size: 15px; }
  .step-nav { gap: 6px 18px; margin-bottom: 35px; }
  .step-section { display: block; }
  .step-section > img { margin-bottom: 27px; }
  .step-section h2 { font-size: 31px; }
  .step-section p { font-size: 14px; }
  .step-section + .step-section { margin-top: 42px; padding-top: 42px; }
  .category-grid { gap: 0 25px; margin-top: 33px; }
  .category-link { padding: 23px 0; }
  .category-link h2 { font-size: 22px; }
  .category-link p { font-size: 13px; }
  .category-link > span { font-size: 12px; }
  .evaluation-details { margin-top: 46px; }
  .evaluation-details > h2 { font-size: 28px; margin-bottom: 26px; }
  .address-block { padding-left: 22px; margin-bottom: 42px; }
  .address-block h2 { font-size: 25px; }
  .address-block address { font-size: 17px; }
  .faq-list summary { font-size: 15px; }
  .archive-sidebar { position: static; margin-bottom: 30px; }
  .archive-sidebar h2 { font-size: 17px; margin-bottom: 13px; }
  .year-nav { flex-direction: row; flex-wrap: wrap; gap: 5px 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .year-nav a { font-size: 14px; }
  .blog-filters { grid-template-columns: 1fr; }
  .archive-notice { padding-left: 18px; }
  .archive-notice p { font-size: 12px; }
  .article-toc { position: static; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 27px; }
  .article-toc h2 { font-size: 17px; }
  .article-toc nav { gap: 12px; }
  .article-prose section h2 { font-size: 27px; }
  .article-prose section p { font-size: 15px; }
  .article-prose section { padding-top: 33px; }
  .footer-columns { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-columns h2 { font-size: 13px; }
  .footer-columns a { font-size: 12px; }
  .multipage-footer .footer-top > p { display: none; }
  .page-internal > .site-header { order: 0; }
  .page-internal > main { order: 2; }
  .page-internal > .site-footer { order: 3; }
  .page-internal > .pw-privacy-notice { order: 1; position: static; width: calc(100% - 12%); max-block-size: none; margin: 12px auto 0; box-shadow: none; }
}
@media (max-width: 420px) {
  .category-grid { grid-template-columns: 1fr; }
}
