:root {
  color-scheme: light;
  --paper: #f8f2e8;
  --cream: #fffbf5;
  --ink: #29231e;
  --muted: #665951;
  --rust: #943e27;
  --rust-dark: #76301f;
  --brick: #b76a50;
  --rule: #cfc1b1;
  --inverse: #faefe4;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
main { display: block; }
h1, h2, h3, h4 { line-height: 1.13; margin: 0; overflow-wrap: anywhere; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
h1 { font-size: clamp(2.25rem, 1.1rem + 3.4vw, 4.6rem); letter-spacing: -.041em; }
h2 { font-size: clamp(1.65rem, 1.23rem + 1.25vw, 2.55rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.22rem, 1.08rem + .45vw, 1.65rem); }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--rust-dark); text-underline-offset: .2em; text-decoration-thickness: .085em; }
a:hover { text-decoration-thickness: .15em; }
img, video { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #a84d22; outline-offset: 4px; }
.container { width: min(100% - 2.5rem, 74rem); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; inset: .5rem auto auto .5rem; padding: .75rem 1rem; background: var(--cream); transform: translateY(-155%); }
.skip-link:focus { transform: none; }

.preview-note { padding: .35rem 1rem; text-align: center; font-size: .8rem; color: var(--ink); background: #e8d7c2; }
.utility-bar { background: var(--ink); color: var(--inverse); font-size: .84rem; }
.utility-bar a { color: inherit; }
.utility-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 2.75rem; }
.utility-inner a { margin-left: auto; font-weight: 700; }
.site-header { position: relative; z-index: 2; background: var(--cream); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 5.25rem; gap: 1rem; }
.wordmark { color: var(--ink); font: 500 clamp(1.33rem, 1rem + .55vw, 1.65rem)/1.05 var(--serif); white-space: nowrap; text-decoration: none; }
.wordmark span:last-child { display: block; margin-top: .36rem; color: var(--rust-dark); font: 750 .71rem/1.1 var(--sans); letter-spacing: .19em; text-transform: uppercase; }
.wide-nav ul, .mobile-menu ul, .breadcrumbs ol { list-style: none; display: flex; margin: 0; padding: 0; }
.wide-nav ul { gap: clamp(.8rem, 1.9vw, 1.65rem); align-items: center; }
.wide-nav a, .mobile-menu a { display: flex; align-items: center; min-height: 2.75rem; color: var(--ink); font-size: .95rem; font-weight: 650; text-decoration: none; }
.wide-nav a:hover, .wide-nav [aria-current="page"], .mobile-menu [aria-current="page"] { color: var(--rust-dark); text-decoration: underline; }
.mobile-menu { display: none; }

.home-hero { background: var(--ink); color: var(--inverse); border-bottom: .38rem solid var(--brick); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(19rem, 1fr); gap: clamp(2rem, 6vw, 6.3rem); align-items: center; padding-block: clamp(2.6rem, 5.5vw, 5.15rem); }
.hero-copy { position: relative; padding-top: 1.2rem; }
.hero-copy::before { position: absolute; top: 0; width: 3.8rem; height: .22rem; background: #d48768; content: ''; }
.hero-copy h1 { max-width: 20ch; margin-bottom: 1.6rem; text-wrap: balance; }
.hero-copy h2 { margin: 0 0 .75rem; font: 650 .95rem/1.5 var(--sans); color: #f2c3a9; }
.hero-copy p { max-width: 57ch; color: #efe0d2; }
.hero-copy p:first-of-type { font-size: clamp(1.03rem, .92rem + .4vw, 1.22rem); color: var(--inverse); }
.hero-copy a { color: #ffebda; font-weight: 750; }
.hero-copy p:last-of-type { margin-top: 1.42rem; }
.hero-copy a[href^="tel:"] { display: inline-flex; align-items: center; min-height: 2.75rem; }
.hero-copy .slot-media { margin-top: 1.5rem; }

.home-content { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 6vw, 6rem); padding-block: 2rem 5rem; }
.home-content > section { min-width: 0; padding-block: 2.15rem; border-bottom: 1px solid var(--rule); }
.home-content > .topic-rows, .home-content > .feature-topics { grid-column: 1 / -1; }
.home-content h2 { margin: 0 0 1.3rem; }
.topic-rows { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.topic-rows h2 { grid-column: 1 / -1; margin-bottom: .15rem; }
.topic-rows p { margin: 0; padding-top: .95rem; border-top: 2px solid var(--brick); color: var(--muted); }
.topic-rows strong { display: block; margin-bottom: .42rem; color: var(--ink); font: 600 1.22rem/1.2 var(--serif); }
.tile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.service-tile { background: var(--cream); border-top: 2px solid var(--rust); padding: 1rem; }
.service-tile h3 { line-height: 1.26; margin-bottom: .65rem; }
.service-tile p { font-size: .93rem; color: var(--muted); }
.directory-group { border-top: 1px solid var(--rule); }
.directory-group:last-child { border-bottom: 1px solid var(--rule); }
.directory-group summary { font-weight: 700; min-height: 2.75rem; padding-block: .6rem; }
.directory-group p, .directory-group ul { margin: 0 0 1rem; }
.directory-group ul { padding-left: 1.25rem; }
.directory-group li + li, .article-outline li + li { margin-top: .32rem; }

.request-panel { padding: clamp(1.1rem, 1rem + 1vw, 1.7rem); background: var(--cream); color: var(--ink); border: 1px solid var(--rule); border-top: 3px solid var(--brick); border-radius: 3px; }
.request-panel h2 { margin-bottom: .5rem; font-size: clamp(1.7rem, 1.5rem + .6vw, 2.2rem); }
.form-intro { color: var(--muted); font-size: .93rem; line-height: 1.5; }
.service-form label { display: block; margin: .75rem 0 .26rem; font-size: .88rem; font-weight: 675; }
.service-form label span { color: var(--rust-dark); }
.service-form input:not([type="hidden"], [type="checkbox"]), .service-form select, .service-form textarea { width: 100%; min-width: 0; min-height: 2.8rem; border: 1px solid #a69786; border-radius: 2px; color: inherit; background: #fffdfa; padding: .42rem .58rem; }
.service-form input[aria-invalid="true"] { border-color: var(--rust-dark); }
.form-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: .65rem; }
.form-extra { margin: .7rem 0 1rem; }
.form-extra summary { padding-block: .49rem; font-size: .88rem; font-weight: 700; }
.form-extra summary span { color: var(--muted); font-weight: 450; }
.service-form textarea { resize: vertical; }
.button { display: inline-flex; min-height: 2.85rem; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 3px; padding: .5rem 1.03rem; text-decoration: none; font-weight: 750; }
.button.primary { background: var(--rust); color: white; }
.button.primary:hover { background: var(--rust-dark); }
.button:disabled { cursor: wait; opacity: .72; }
.submit { width: 100%; }
.form-privacy { margin: .73rem 0 0; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.form-status { margin: .8rem 0 0; padding: .72rem .9rem; color: #4b3427; background: #efe0cf; font-size: .9rem; }
.form-status.error { color: #701e12; background: #f8e3db; }

.page-head { background: #efe4d6; border-bottom: 1px solid var(--rule); padding-block: clamp(1.7rem, 4vw, 3.4rem); }
.page-head h1 { max-width: 23ch; font-size: clamp(2.1rem, 1.35rem + 2.6vw, 4rem); }
.breadcrumbs { margin: 0 0 .75rem; font-size: .875rem; color: var(--muted); }
.breadcrumbs ol { flex-wrap: wrap; gap: .15rem .6rem; }
.breadcrumbs li + li::before { content: '/'; padding-right: .6rem; color: var(--muted); }
.article-layout { padding-block: clamp(1.6rem, 3vw, 3rem) 4.8rem; min-height: min(35rem, 50vh); }
.article-layout.has-form { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(17.5rem, 1fr); gap: clamp(1.5rem, 5.5vw, 5.25rem); align-items: start; }
.article-copy { min-width: 0; max-width: 72ch; overflow-wrap: anywhere; }
.article-copy h2 { margin: 2.1rem 0 .65rem; font-size: clamp(1.45rem, 1.23rem + .75vw, 2.05rem); }
.article-copy h3 { margin: 1.45rem 0 .55rem; }
.article-copy h4 { margin: 1.2rem 0 .48rem; }
.article-copy h2:first-child { margin-top: 0; }
.article-copy ul, .article-copy ol { padding-inline-start: 1.4rem; }
.article-copy blockquote { margin: 1rem 0; padding: .5rem 1rem; border-inline-start: 3px solid var(--brick); }
.article-copy table { max-width: 100%; display: block; overflow-x: auto; border-collapse: collapse; }
.article-copy :is(td, th) { padding: .48rem .65rem; border: 1px solid var(--rule); text-align: left; }
.article-outline { margin-bottom: 1.3rem; padding: .6rem .85rem; background: var(--cream); border: 1px solid var(--rule); font-size: .9rem; }
.article-outline summary { font-weight: 725; }
.slot-media { margin: 0 0 1.1rem; }
.slot-media img, .slot-media video { display: block; width: 100%; object-fit: contain; background: var(--ink); }
.slot-media figcaption { margin-top: .35rem; color: var(--muted); font-size: .8rem; }
.hero-copy .slot-media figcaption { color: var(--inverse); }

.site-footer { background: var(--ink); color: var(--inverse); }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2.25rem; padding-block: 2.1rem 2.55rem; font-size: .9rem; }
.footer-inner a { color: var(--inverse); }
.footer-inner p, .footer-inner address { margin: .35rem 0; }
.footer-brand { font: 500 1.5rem/1.25 var(--serif); text-decoration: none; }
.mobile-actions { display: none; }

@media (max-width: 53rem) {
  .wide-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .75rem; padding: .39rem .78rem; background: var(--cream); border: 1px solid var(--rule); border-radius: 2px; font-weight: 700; }
  .mobile-menu summary::after { content: '+'; color: var(--rust-dark); font-size: 1.25rem; }
  .mobile-menu[open] summary::after { content: '−'; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav { position: absolute; right: 1.25rem; top: calc(100% + 1px); width: min(18rem, calc(100vw - 2.5rem)); background: var(--cream); border: 1px solid var(--rule); box-shadow: 0 .5rem 1.3rem #29231e23; }
  .mobile-menu ul { display: block; padding: .55rem 1rem; }
  .mobile-menu li + li { border-top: 1px solid var(--rule); }
  .tile-grid, .topic-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { gap: 1.7rem; }
}

@media (max-width: 40rem) {
  body { padding-bottom: calc(3.6rem + env(safe-area-inset-bottom, 0px)); }
  .container { width: calc(100% - 2rem); }
  .utility-inner { gap: .5rem; justify-content: space-between; font-size: .74rem; }
  .utility-inner a { display: none; }
  .header-inner { min-height: 4.35rem; }
  .hero-grid, .home-content, .article-layout.has-form, .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { padding-block: 2.2rem; }
  .hero-copy h1 { margin-bottom: 1.05rem; }
  .hero-copy p:last-of-type { margin-top: .75rem; }
  .home-content { padding-block: .5rem 2.1rem; }
  .home-content > section { padding-block: 1.6rem; }
  .article-layout { padding-bottom: 2.3rem; }
  .footer-inner { gap: 1.25rem; }
  .mobile-actions { position: fixed; z-index: 3; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; align-items: center; padding: .36rem max(.7rem, env(safe-area-inset-right, 0px)) max(.36rem, env(safe-area-inset-bottom, 0px)) max(.7rem, env(safe-area-inset-left, 0px)); background: var(--ink); }
  .mobile-actions a { display: flex; min-height: 2.75rem; align-items: center; justify-content: center; color: var(--inverse); font-size: .85rem; font-weight: 725; text-decoration: none; text-align: center; }
  .mobile-actions a:last-child { background: var(--rust); border-radius: 2px; }
  body:has(.service-form :is(input, textarea, select):focus) .mobile-actions { visibility: hidden; }
}

@media (max-width: 25rem) {
  .topic-rows, .tile-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Media added December 5, 2026 */
.wordmark { display: inline-grid; grid-template-columns: auto auto; align-items: center; column-gap: .65rem; }
.wordmark-logo { grid-row: 1 / span 2; width: 3.4rem; height: auto; }
.wordmark span:first-of-type { align-self: end; }
.wordmark span:last-child { align-self: start; margin-top: .28rem; }

/* Page images: never upscaled, consistent crops */
.slot-media img, .slot-media video { height: auto; border-radius: .3rem; }
.article-copy .slot-media { max-width: min(100%, var(--media-w, 100%)); margin-bottom: 1.4rem; }
.article-copy .slot-media:not(.compact) img, .article-copy .slot-media:not(.compact) video { aspect-ratio: 16 / 9; max-height: 26rem; object-fit: cover; }
.article-copy .slot-media.compact ~ .article-outline { overflow: hidden; }
@media (min-width: 53.01rem) {
  .article-copy .slot-media.compact { float: right; width: min(20rem, var(--media-w, 20rem)); max-width: 45%; margin: .25rem 0 1.1rem 1.7rem; }
}
@media (max-width: 53rem) {
  .article-copy .slot-media.compact { margin-inline: auto; }
  .article-copy .slot-media.portrait img, .article-copy .slot-media.portrait video { max-height: 22rem; object-fit: cover; }
}
.service-tile .slot-media { max-width: none; }
.service-tile .slot-media img, .service-tile .slot-media video { aspect-ratio: 4 / 3; object-fit: cover; }

/* Home hero */
.home-hero.has-media { position: relative; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.home-hero.has-media::before { position: absolute; inset: 0; z-index: -1; content: '';
  background: linear-gradient(90deg, rgba(31, 26, 22, .93) 0%, rgba(31, 26, 22, .8) 44%, rgba(31, 26, 22, .42) 100%); }
.hero-toggle { position: absolute; right: 1rem; bottom: 1rem; z-index: 1; min-height: 2.25rem; padding: .3rem .8rem;
  border: 1px solid rgba(248, 242, 232, .6); border-radius: 2rem; background: rgba(31, 26, 22, .7);
  color: var(--inverse); font: 600 .78rem/1 var(--sans); cursor: pointer; }
.hero-toggle:hover, .hero-toggle:focus-visible { background: rgba(31, 26, 22, .95); }
.hero-toggle[hidden] { display: none; }

/* Home: compact service and community directories */
.home-content > .directory-wide, .home-content > .photo-gallery { grid-column: 1 / -1; }
.directory-wide { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); column-gap: 1.1rem; align-items: start; }
.directory-wide > h2, .directory-wide > p { grid-column: 1 / -1; }
.directory-wide > p { max-width: 72ch; }
.directory-wide .directory-group, .directory-wide .directory-group:last-child { border-top: 1px solid var(--rule); border-bottom: 0; }
.directory-wide .directory-group summary { min-height: 2.5rem; padding-block: .5rem; font-size: .95rem; cursor: pointer; }
.directory-wide .directory-group[open] { padding-bottom: .4rem; background: var(--cream); }
.directory-wide .directory-group[open] summary { padding-inline: .5rem; }
.directory-wide .directory-group p, .directory-wide .directory-group ul { padding-inline: .5rem; font-size: .93rem; }
.directory-wide .directory-group ul { padding-left: 1.5rem; }

/* Photo gallery, photo strips and cards */
.gallery-grid, .card-grid, .article-copy .post-grid, .article-copy .photo-strip { display: grid; margin: 0; padding: 0; list-style: none; }
.gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.gallery-grid img, .article-copy .photo-strip img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .3rem; background: var(--ink); }
.article-copy .photo-strip { clear: both; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-block: 1.8rem; }
.article-copy .photo-strip li, .article-copy .post-grid li, .card-grid li { margin: 0; }
.related-services { clear: both; margin-top: 1rem; padding-block: 2.4rem 3.4rem; border-top: 1px solid var(--rule); background: var(--cream); }
.related-services h2 { margin: 0 0 1.3rem; }
/* Guides sit directly above the related services; one rule between them is enough */
.related-guides { padding-bottom: 2.4rem; }
.related-guides + .related-services { margin-top: 0; }
.nearby-areas { padding-block: 1.6rem 2.4rem; border-top: 1px solid var(--rule); background: var(--cream); }
.nearby-areas h2 { margin: 0 0 .8rem; font-size: 1.25rem; }
.nearby-areas ul { display: flex; flex-wrap: wrap; gap: .5rem .6rem; margin: 0; padding: 0; list-style: none; }
.nearby-areas li { margin: 0; }
.nearby-areas a { display: inline-block; padding: .45rem .85rem; background: #fff; border: 1px solid var(--rule); border-radius: 2rem;
  color: var(--ink); font-size: .95rem; text-decoration: none; }
.nearby-areas a:hover, .nearby-areas a:focus-visible { border-color: var(--rust); color: var(--rust-dark); text-decoration: underline; }
.related-services + .nearby-areas { border-top: 0; padding-top: 0; }
.card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.article-copy .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-block: 1.5rem 2.2rem; }
.svc-card a, .post-card a { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff; border: 1px solid var(--rule);
  border-radius: .35rem; color: var(--ink); text-decoration: none; transition: box-shadow .15s ease, transform .15s ease; }
.svc-card img, .post-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--ink); }
.svc-card span, .post-card span { display: block; padding: .8rem .95rem 1rem; font: 500 1.08rem/1.3 var(--serif); }
.post-card span { font-size: 1.02rem; }
.svc-card a:hover, .svc-card a:focus-visible, .post-card a:hover, .post-card a:focus-visible { box-shadow: 0 8px 22px rgba(41, 35, 30, .16); transform: translateY(-2px); }
.svc-card a:hover span, .post-card a:hover span { color: var(--rust-dark); text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .svc-card a, .post-card a { transition: none; } .svc-card a:hover, .post-card a:hover { transform: none; } }

@media (max-width: 53rem) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid, .article-copy .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  /* Phone: the video sits above the copy, and the request form moves to the contact page */
  .home-hero.has-media .hero-bg { position: relative; inset: auto; z-index: 0; display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .home-hero.has-media::before { display: none; }
  .home-hero .request-panel { display: none; }
  .hero-toggle { top: .6rem; right: .6rem; bottom: auto; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .card-grid { gap: .7rem; }
  .article-copy .photo-strip { gap: .45rem; }
  .svc-card span, .post-card span { padding: .6rem .7rem .75rem; font-size: .98rem; }
  .related-services { padding-block: 1.8rem 2.4rem; }
  .related-guides { padding-bottom: 1.6rem; }
  .nearby-areas a { padding: .55rem .8rem; }
  .directory-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: .8rem; }
  .wordmark-logo { width: 2.8rem; }
}
