/* Written by build.py from site/css/pages/*.css. Edit those, not this file. */

/* ==== about-contact.css ==== */
/* About, Contact, Privacy and Accessibility (stage B group E). Reuses the tokens,
   grounds, .band, .wrap, .lead, .btn, .crumbs, .ticks, .steps-list, .faq-list and
   .post-faq-grid from styles.css; everything new is prefixed about-, contact- or policy-. */

/* ---------------------------------------------------------------- shared */
.about-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
main a.about-tel, main a.policy-tel { white-space: nowrap; }

/* ---------------------------------------------------------------- about */
.about-hero { padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); }
.about-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-hero h1 { max-width: 16ch; }
.about-hero .lead { margin-bottom: 0; }
.about-hero-photo { width: 100%; max-width: 420px; justify-self: end; }
.about-hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }

.about-story-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about-story-text p { max-width: 62ch; }
.about-quote { margin: 2rem 0 0; padding: 1.5rem 1.6rem 1.35rem; border-left: 5px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; max-width: 62ch; }
.about-quote blockquote { margin: 0; }
.about-quote blockquote p { font-size: 1.15rem; margin-bottom: 1rem; }
.about-quote figcaption { display: flex; flex-direction: column; gap: .1rem; margin: 0; font-size: .95rem; }
.about-quote-name { color: var(--heading); font-weight: 700; }

.about-facts { border-radius: var(--radius); border-top: 4px solid var(--gold); padding: 1.5rem 1.5rem 1.6rem; position: sticky; top: 1.5rem; }
.about-facts h3 { font-size: 1.3rem; font-stretch: var(--wide); margin-bottom: 1rem; }
.about-facts-list { margin: 0; }
.about-facts-list div { display: grid; gap: .1rem; padding: .7rem 0; border-top: 1px solid var(--rule); }
.about-facts-list dt { font-size: .88rem; font-weight: 650; color: var(--muted); }
.about-facts-list dd { margin: 0; font-size: 1.02rem; font-weight: 600; color: var(--heading); line-height: 1.4; }

.about-work .lead { margin-bottom: 0; }
.about-work-list { list-style: none; margin: 2.25rem 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 2.25rem; }
.about-work-list li { border-top: 2px solid var(--gold); padding-top: 1.1rem; }
.about-work-list h3 { color: var(--heading); }
.about-work-list p { margin: 0; }
.about-work-links { margin: 0; max-width: 72ch; padding-top: 1.5rem; border-top: 1px solid var(--rule-dark); }

.about-crew .lead { margin-bottom: 2rem; }
.about-crew-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto auto; gap: 1.5rem clamp(1.5rem, 3vw, 2.5rem); }
.about-crew-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
/* The tall photo fills both rows beside the two wide ones; flex-basis 0 lets the
   right column set the height, so it never stretches the grid. */
.about-crew-item:first-child { grid-row: 1 / span 2; display: flex; flex-direction: column; }
.about-crew-item:first-child img { flex: 1 1 0; min-height: 0; aspect-ratio: auto; }

.about-faq-side .btn, .contact-faq-side .btn { margin-top: .25rem; }

/* ---------------------------------------------------------------- contact */
.contact-hero { padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); }
.contact-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.contact-hero h1 { max-width: 17ch; }
.contact-hero .lead { margin-bottom: 0; }
.contact-card { border: 2px solid var(--ink); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.contact-card-title { font-size: 1.4rem; max-width: none; margin-bottom: 1rem; }
.contact-nap { display: flex; flex-direction: column; gap: .15rem; font-style: normal; font-size: 1.1rem; line-height: 1.45; margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 2px solid var(--ink); }
.contact-nap-name { font-weight: 750; font-stretch: 112%; }
main .contact-nap a.contact-phone { display: inline-block; margin-top: .2rem; font-stretch: var(--wide); font-weight: 800; font-size: clamp(1.45rem, 1.2vw + 1rem, 1.85rem); line-height: 1.15; white-space: nowrap; }
.contact-hours { width: 100%; border-collapse: collapse; font-size: 1rem; font-variant-numeric: tabular-nums; margin-bottom: 1rem; }
.contact-hours caption { text-align: left; font-weight: 750; font-stretch: 112%; font-size: 1.05rem; padding-bottom: .4rem; color: var(--heading); }
.contact-hours th, .contact-hours td { padding: .6rem 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.contact-hours th { font-weight: 500; padding-right: 1rem; }
.contact-hours td { text-align: right; font-weight: 700; white-space: nowrap; }
.contact-note { font-size: .95rem; color: var(--muted); margin: 0; }

.contact-next .lead { margin-bottom: 0; }
.contact-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 2.25rem; }
.contact-next-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.contact-area-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.contact-area-text h3 { margin-top: 1.75rem; }
.contact-towns { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1.5rem; border-top: 2px solid var(--ink); }
.contact-towns li { border-bottom: 1px solid var(--rule); }
.contact-towns a { display: block; padding: .7rem 0; }
.contact-area-text > p:last-child { margin-bottom: 0; }
.contact-area-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* ---------------------------------------------------------------- privacy, accessibility */
.policy-wrap { max-width: 860px; }
.policy-hero { padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.policy-hero h1 { max-width: 20ch; }
.policy-date { font-size: .95rem; color: var(--muted); margin: 0; }
.policy-body { padding-top: clamp(2.5rem, 5vw, 4rem); }
.policy-section + .policy-section { margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--rule); }
.policy-section h2 { font-size: clamp(1.4rem, .8vw + 1.15rem, 1.8rem); max-width: 30ch; margin-bottom: .75rem; }
.policy-section p, .policy-list li { max-width: 66ch; }
.policy-section p:last-child { margin-bottom: 0; }
.policy-list { margin: 0 0 1rem; padding-left: 1.3rem; }
.policy-list li { padding: .3rem 0 .3rem .25rem; }
.policy-list li::marker { color: var(--steel); }
.policy-actions { margin-top: 2.75rem; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .about-hero-grid, .about-story-grid, .contact-hero-grid, .contact-area-grid { grid-template-columns: minmax(0, 1fr); }
  .about-hero-photo { justify-self: start; }
  .about-facts { position: static; max-width: 560px; }
  .about-faq-side, .contact-faq-side { margin-bottom: 2.25rem; }
  .about-work-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card { max-width: 560px; }
  .contact-area-photo { max-width: 560px; }
}
@media (max-width: 760px) {
  .about-actions .btn, .contact-actions .btn, .contact-next-actions .btn, .policy-actions .btn { flex: 1 1 100%; }
  .policy-actions { display: flex; }
  .about-hero-photo { max-width: 360px; }
  .about-work-list { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .about-crew-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .about-crew-item:first-child { grid-row: auto; }
  .about-crew-item:first-child img { aspect-ratio: 4 / 5; flex: none; }
  .contact-steps { grid-template-columns: minmax(0, 1fr); }
  .contact-towns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-quote { padding: 1.25rem 1.2rem 1.1rem; }
}

/* ==== services.css ==== */
/* Services: the hub (/services) and the three service pages (templates/pages/services.html,
   service.html). Same tokens, grounds and type as the homepage; every class starts svc- so
   nothing here reaches another page. Colours come from the ground's custom properties. */

/* ---------------------------------------------------------------- hero */
.svc-hero { padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(2.75rem, 5vw, 4.25rem); }
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.svc-hero h1 { font-size: clamp(2.1rem, 2.4vw + 1.1rem, 3.3rem); max-width: 19ch; }
.svc-hero-text .lead { font-size: 1.2rem; max-width: 60ch; }
.svc-hero-text p { max-width: 62ch; }
.svc-updated { font-size: 1rem; color: var(--muted); margin: 0 0 1.5rem; }
.svc-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.svc-hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.svc-hero-photo.svc-tall img { aspect-ratio: 4 / 5; }
.svc-hub-hero .svc-hero-text .lead { margin-bottom: 1.75rem; }

.svc-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 1.5rem; margin: clamp(2.25rem, 4vw, 3.25rem) 0 0; }
.svc-facts div { border-top: 2px solid var(--heading); padding-top: .8rem; }
.svc-facts dt { font-size: 1rem; color: var(--muted); font-weight: 600; margin-bottom: .15rem; }
.svc-facts dd { margin: 0; color: var(--heading); font-weight: 700; font-size: 1.05rem; line-height: 1.35; }

/* ---------------------------------------------------------------- text sections */
.svc-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem clamp(2rem, 5vw, 4.5rem); align-items: start; }
.svc-aside { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 2rem clamp(2rem, 5vw, 4.5rem); align-items: start; }
.svc-head h2 { max-width: 22ch; }
.svc-head .lead { max-width: 60ch; }
.svc-stack .svc-head, .svc-main .svc-head { margin-bottom: 1.75rem; }
.svc-body > :last-child { margin-bottom: 0; }
.svc-body p { max-width: 64ch; }
.svc-body .btn { margin-top: .5rem; }
.svc-list-title { margin-top: .25rem; }

.svc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 2.25rem; margin: 0; padding: 0; list-style: none; }
.svc-stack .svc-cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.svc-cards li { border-top: 2px solid var(--heading); padding-top: 1rem; }
.svc-cards h3 { margin-bottom: .45rem; }
.svc-cards p { margin: 0; }

/* "not ours" list: a drawn x, the counterpart of the homepage's drawn tick */
.svc-not { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.svc-not li { position: relative; padding: .55rem 0 .55rem 1.9rem; border-bottom: 1px solid var(--rule); }
.svc-not li:first-child { border-top: 1px solid var(--rule); }
.svc-not li::before, .svc-not li::after {
  content: ""; position: absolute; left: .2rem; top: 1.2rem; width: 1rem; height: 3px;
  background: var(--muted); border-radius: 2px; transform: rotate(45deg);
}
.svc-not li::after { transform: rotate(-45deg); }

/* tables: the homepage cost table, in a box on the opposite ground */
.svc-table-box { border-radius: var(--radius); padding: .4rem 1.25rem 1rem; margin-bottom: 1.25rem; }
.svc-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.svc-table caption { text-align: left; color: var(--heading); font-weight: 750; font-stretch: 112%; font-size: 1.1rem; padding: .9rem 0 .6rem; }
.svc-table th, .svc-table td { text-align: left; vertical-align: top; padding: .75rem .9rem .75rem 0; border-bottom: 1px solid var(--rule); }
.svc-table td { color: var(--text); }
.svc-table thead th { font-size: 1rem; color: var(--muted); font-weight: 650; border-bottom: 2px solid var(--heading); }
.svc-table tbody th { color: var(--heading); font-weight: 700; width: 32%; }
.svc-table tbody tr:last-child > * { border-bottom: 0; }
.svc-table-multi tbody th { width: 24%; }

/* review and source quote, the aside of a text section */
.svc-review { margin: 0; padding: 1.5rem 1.5rem 1.35rem; border-radius: var(--radius); }
.svc-review blockquote { margin: .8rem 0 1rem; }
.svc-review blockquote p { font-size: 1.15rem; margin: 0; }
.svc-review figcaption { display: flex; flex-direction: column; gap: .1rem; margin: 0; font-size: 1rem; color: var(--text); }
.svc-review-note { font-size: 1rem; color: var(--muted); margin: .9rem 0 0; padding-top: .8rem; border-top: 1px solid var(--rule); }
.svc-quote { border-left: 5px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.25rem 1.5rem; }
.svc-quote p { margin: 0; }
.svc-quote-text { color: var(--heading); font-size: 1.15rem; font-weight: 600; line-height: 1.45; }
.svc-quote .svc-quote-src { margin-top: .7rem; font-size: 1rem; }

/* ---------------------------------------------------------------- steps (dark) */
.svc-steps .lead { margin-bottom: 0; }

/* ---------------------------------------------------------------- photo band (dark) */
.svc-band-head { margin-bottom: 2rem; }
.svc-band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: 1.25rem; align-items: start; }
/* first photo wide, the other two tall, so the three tops and bottoms line up */
.svc-band img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.svc-band figure:not(:first-child) img { aspect-ratio: 4 / 5; }
.svc-band figcaption { font-size: 1rem; }

/* ---------------------------------------------------------------- two short questions */
.svc-pair-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 5vw, 4.5rem); }
.svc-pair-item { border-top: 3px solid var(--gold); padding-top: 1.5rem; }
.svc-pair-item h2 { font-size: clamp(1.5rem, 1vw + 1.15rem, 2.1rem); }
.svc-pair-item > :last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- towns and reading */
.svc-where-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 2rem clamp(2rem, 5vw, 4.5rem); align-items: start; }
.svc-towns { list-style: none; margin: 1.5rem 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
.svc-towns li { border-bottom: 1px solid var(--rule); }
.svc-towns a { display: block; padding: .7rem 0; }
.svc-hub-link { margin: 0; }
.svc-reading { border-radius: var(--radius); border-top: 3px solid var(--gold); padding: 1.4rem 1.6rem 1.25rem; }
.svc-reading h3 { margin-bottom: .5rem; }
.svc-reading > ul:not(.ticks) { list-style: none; margin: 0; padding: 0; }
.svc-reading > ul:not(.ticks) li { display: grid; gap: .15rem; padding: .7rem 0; }
.svc-reading > ul:not(.ticks) li + li { border-top: 1px solid var(--rule); }
.svc-reading span { color: var(--muted); font-size: 1rem; }
.svc-reading .ticks { margin: 0; }

/* ---------------------------------------------------------------- FAQ */
.svc-faq-side p { max-width: 40ch; }
@media (max-width: 1000px) { .svc-faq-side { margin-bottom: 2rem; } }

/* ---------------------------------------------------------------- hub */
.svc-hub-services .svc-head { margin-bottom: 2.25rem; }
.svc-hub-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 3vw, 2.25rem); margin: 0; padding: 0; list-style: none; }
.svc-hub-card { display: flex; flex-direction: column; border-top: 3px solid var(--gold); padding-top: 1.25rem; }
.svc-hub-photo { display: block; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.15rem; }
.svc-hub-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-hub-card h3 { font-size: clamp(1.3rem, .6vw + 1.1rem, 1.55rem); font-stretch: var(--wide); line-height: 1.12; margin-bottom: .45rem; }
main .svc-hub-card h3 a:not(.btn) { text-decoration: none; }
main .svc-hub-card h3 a:not(.btn):hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--gold); }
.svc-hub-terms { color: var(--muted); font-weight: 600; font-size: 1rem; margin-bottom: .75rem; }
.svc-hub-card .ticks { margin-bottom: .75rem; }
.svc-hub-for { margin: auto 0 0; padding-top: .75rem; border-top: 1px solid var(--rule); font-size: 1rem; color: var(--muted); }
.svc-hub-not-body { display: grid; gap: 1.5rem; }
.svc-hub-not-body .svc-not { margin: 0; }

/* ---------------------------------------------------------------- breakpoints */
@media (max-width: 1000px) {
  .svc-hero-grid, .svc-split, .svc-aside, .svc-where-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-hero-photo { max-width: 560px; }
  .svc-side { max-width: 560px; }
  .svc-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-hub-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-band figure:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .svc-hero-text .lead { font-size: 1.1rem; }
  .svc-actions .btn { flex: 1 1 100%; }
  .svc-cards, .svc-stack .svc-cards { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .svc-pair-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-towns { grid-template-columns: minmax(0, 1fr); }
  .svc-hub-cards { grid-template-columns: minmax(0, 1fr); }
  .svc-table-box { padding: .25rem .9rem .5rem; }
  /* three-column tables become one card per row, each cell labelled */
  .svc-table-multi thead { display: none; }   /* each cell carries its column name instead */
  .svc-table-multi, .svc-table-multi tbody, .svc-table-multi tr, .svc-table-multi th, .svc-table-multi td { display: block; width: auto; }
  .svc-table-multi caption { display: block; }
  .svc-table-multi tr { padding: .8rem 0; border-bottom: 1px solid var(--rule); }
  .svc-table-multi tbody tr:last-child { border-bottom: 0; }
  .svc-table-multi tbody th, .svc-table-multi tbody td { border: 0; padding: .2rem 0; }
  .svc-table-multi tbody th { width: auto; }
  .svc-table-multi td::before { content: attr(data-label); display: block; font-size: 1rem; font-weight: 650; color: var(--muted); }
}
@media (max-width: 600px) {
  .svc-facts { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  .svc-facts div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; border-top: 0; border-bottom: 1px solid var(--rule); padding: .6rem 0; }
  .svc-facts div:first-child { border-top: 2px solid var(--heading); }
  .svc-band { grid-template-columns: minmax(0, 1fr); }
  .svc-band figure:not(:first-child) img { aspect-ratio: 4 / 3; }
}
.svc-table-which tbody th { width: 58%; }

/* ==== towns.css ==== */
/* Town pages (/service-areas/<slug>) and the areas hub (/service-areas). Group B1.
   Same tokens, grounds and type as the homepage; the gold rule is the one accent. */

/* ---------------------------------------------------------------- town: hero */
.town-hero { padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); }
.town-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.town-hero h1 { max-width: 20ch; }
.town-answer { margin-bottom: 1.75rem; }
.town-trust { display: grid; gap: 0; max-width: 520px; border-top: 1px solid var(--rule); padding-top: .4rem; margin-bottom: 0; }
.town-trust li { font-weight: 600; font-size: 1rem; border-bottom: 1px solid var(--rule); padding-top: .55rem; padding-bottom: .55rem; }
.town-trust li::before { top: .93rem; }
.town-hero-photo img { width: 100%; border-radius: var(--radius); }

/* ---------------------------------------------------------------- town: local */
.town-local-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.town-local-text p { max-width: 66ch; }
.town-facts { border-radius: var(--radius); border-top: 4px solid var(--gold); padding: 1.5rem 1.5rem 1.4rem; }
.town-facts h3 { font-size: 1.35rem; font-stretch: var(--wide); margin-bottom: 1rem; }
.town-facts-list { margin: 0 0 1rem; }
.town-facts-list div { padding: .7rem 0; border-top: 1px solid var(--rule-dark); }
.town-facts-list dt { color: var(--heading); font-weight: 700; font-size: 1rem; margin-bottom: .15rem; }
.town-facts-list dd { margin: 0; color: var(--text); font-size: 1rem; line-height: 1.45; }
.town-facts-note { font-size: .92rem; margin: 0; padding-top: .9rem; border-top: 1px solid var(--rule-dark); }

.town-table-wrap { margin-top: 1.75rem; }
.town-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.town-table caption { text-align: left; font-weight: 750; font-stretch: 112%; font-size: 1.1rem; padding: 0 0 .6rem; }
.town-table th, .town-table td { text-align: left; vertical-align: top; padding: .75rem .9rem .75rem 0; border-bottom: 1px solid var(--rule); }
.town-table thead th { font-size: .92rem; color: var(--steel); font-weight: 650; border-bottom: 2px solid var(--ink); }
.town-table tbody th { font-weight: 700; width: 28%; }
.town-table tbody tr:last-child > * { border-bottom: 0; }

/* ---------------------------------------------------------------- town: photos and review */
.town-photo-band { display: grid; gap: 1.25rem; margin-top: 2rem; }
.town-photo-band-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.town-photo-band-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.town-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.town-review-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 1.5rem clamp(2rem, 5vw, 4rem); align-items: start; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--rule-dark); }
.town-review-head h3 { font-size: 1.45rem; font-stretch: var(--wide); }
.town-review-head .stars { margin-bottom: .75rem; }
.town-review-head p { margin: 0; font-size: 1rem; }
.town-review { margin: 0; }
.town-review p { font-size: 1.2rem; }

/* ---------------------------------------------------------------- town: services */
.town-services-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; margin-top: 2rem; }
.town-service-lead { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); border-radius: var(--radius); overflow: hidden; border-top: 4px solid var(--gold); }
.town-service-photo { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.town-service-body { padding: 1.5rem 1.5rem 1rem; }
.town-service-body h3, .town-service h3 { font-size: 1.35rem; font-stretch: var(--wide); }
.town-service-body .ticks { margin-bottom: .5rem; }
.town-service-body .ticks li { font-size: 1rem; }
.town-service-more { display: grid; gap: 1.25rem; }
.town-service { border-top: 2px solid var(--ink); padding-top: 1rem; }
.town-service p { margin: 0; }
.town-service-more .btn { justify-self: start; }

/* ---------------------------------------------------------------- town: FAQ and nearby */
.town-faq-side .btn { margin-top: .25rem; }
.town-nearby .town-list { margin-top: 2rem; }
.town-nearby-list { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* ---------------------------------------------------------------- hub */
.areas-hero { padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); }
.areas-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.areas-hero h1 { max-width: 18ch; }
.areas-hero .lead { margin-bottom: 1.75rem; }
.areas-hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.areas-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.areas-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .95rem; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 1rem; }
main .areas-jump a:not(.btn) { text-decoration: none; font-weight: 650; }
main .areas-jump a:not(.btn):hover { background: var(--storm); color: var(--white); }

.areas-band-head { margin-bottom: 2.25rem; }
.areas-band-head h2 { max-width: 26ch; }
.areas-band-head p { margin: 0; }
.areas-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.areas-card { border-radius: var(--radius); padding: 1.35rem 1.4rem 1.4rem; border-top: 4px solid var(--gold); }
.areas-card h3 { font-size: 1.4rem; font-stretch: var(--wide); margin-bottom: .7rem; }
main .areas-card h3 a:not(.btn) { text-decoration-thickness: 2px; }
.areas-card p { margin: 0 0 .75rem; font-size: 1.02rem; }
.areas-card p:last-child { margin-bottom: 0; }
.areas-card .areas-near { font-size: .95rem; color: var(--muted); }
.areas-near strong { color: var(--heading); font-weight: 650; }
.areas-up .areas-card { background: var(--storm-2); }
.areas-up .areas-cards { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.areas-faq-side .btn { margin-top: .25rem; }

/* ---------------------------------------------------------------- breakpoints */
@media (max-width: 1000px) {
  .town-hero-grid, .town-local-grid, .town-services-grid, .town-review-row, .areas-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .town-hero-photo img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
  .town-faq-side { margin-bottom: 1.5rem; }
  .town-hero-photo, .areas-hero-photo { max-width: 520px; }
  .town-facts { max-width: 620px; }
}
@media (max-width: 760px) {
  .town-photo-band-3, .town-photo-band-2 { grid-template-columns: minmax(0, 1fr); }
  .town-service-lead { grid-template-columns: minmax(0, 1fr); }
  .town-service-photo { min-height: 0; aspect-ratio: 4 / 3; }
  /* the snippet table stacks: one block per row, each cell labelled from its column head */
  .town-table thead { display: none; }   /* each cell carries its column name in data-label */
  .town-table, .town-table tbody, .town-table tr, .town-table th, .town-table td { display: block; width: auto; }
  .town-table caption { display: block; }
  .town-table tr { padding: .9rem 0; border-bottom: 1px solid var(--rule); }
  .town-table tbody tr:first-child { border-top: 2px solid var(--ink); }
  .town-table tbody th, .town-table td { border: 0; padding: .2rem 0; }
  .town-table tbody th { width: auto; font-size: 1.05rem; padding-bottom: .4rem; }
  .town-table td::before { content: attr(data-label); display: block; font-size: .88rem; font-weight: 650; color: var(--muted); }
  .town-faq-side .btn { width: 100%; }
}

/* ==== when.css ==== */
/* The pillar: /when-to-clean-gutters-sonora (templates/pages/when.html).
   Same tokens and grounds as the homepage; the gold rule marks the answers,
   and the gutter calendar (shared partial) is the hero right under the head. */

/* head */
.when-hero { padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.when-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.when-hero h1 { font-size: clamp(2rem, 2.2vw + 1rem, 3rem); max-width: 22ch; }
.when-checked { font-size: 1rem; color: var(--muted); max-width: 62ch; margin-bottom: 1.5rem; }
.when-checked strong { color: var(--text); }
.when-answer { border-left: 5px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.25rem 1.5rem 1.1rem; margin-bottom: 1.75rem; }
.when-answer-label { font-weight: 750; font-stretch: 112%; font-size: 1rem; margin-bottom: .4rem; }
.when-answer-text { font-size: 1.15rem; max-width: 62ch; }
.when-times { list-style: none; margin: 0; padding: 0; }
.when-times li { display: grid; grid-template-columns: 11.5rem minmax(0, 1fr); gap: .25rem 1rem; padding: .7rem 0; border-top: 1px solid var(--rule); font-size: 1rem; }
.when-time { font-weight: 750; font-stretch: 112%; color: var(--heading); }
.when-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.when-toc { position: sticky; top: 1.5rem; padding: 1.25rem 1.4rem; border-radius: var(--radius); border-top: 3px solid var(--gold); }
.when-toc-title { font-weight: 750; font-stretch: 112%; margin-bottom: .6rem; }
.when-toc ol { margin: 0; padding: 0 0 0 1.3rem; font-size: 1rem; }
.when-toc li { padding: .3rem 0; }
.when-toc li::marker { color: var(--muted); font-weight: 650; }
main .when-toc a:not(.btn) { font-weight: 550; text-decoration-thickness: 1px; }

/* sections: a reading column, with a photo or an aside beside it when the
   section has one; tables, steps and the service cards run the full width */
.when-sec-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.when-sec-grid.has-side { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.when-sec-grid:not(.has-side) .when-sec-main > * { max-width: 760px; }
.when-sec-grid:not(.has-side) .when-sec-main > :is(.when-table-wrap, .when-steps, .when-services) { max-width: none; }
.when-sec-grid:not(.has-side) .when-sec-main > .when-list { max-width: none; columns: 2; column-gap: 3rem; }
.when-sec-grid:not(.has-side) .when-sec-main > .when-list li { break-inside: avoid; }
.when-sec h2 { max-width: 26ch; }
.when-sec-main p, .when-sec-main li { max-width: 68ch; }
.when-lead { margin-bottom: 1.5rem; }
.when-sec-main h3 { margin-top: 1.75rem; }
.when-figure, .when-aside { position: sticky; top: 1.5rem; margin-top: .5rem; }
.when-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.when-aside > h3 { font-size: 1.15rem; margin: 0 0 .75rem; }
.when-aside > h3 ~ h3 { margin-top: 1.75rem; }
.when-aside .ticks li { font-size: 1rem; }
.when-list { margin-bottom: 1.5rem; }

/* quotes from the fire guidance */
.when-quotes { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
.when-quotes li { border-left: 4px solid var(--gold); padding: .25rem 0 .25rem 1.25rem; }
.when-quotes blockquote { margin: 0; }
.when-quotes blockquote p { font-size: 1.12rem; font-weight: 600; margin: 0 0 .3rem; }
.when-quote-by { font-size: .95rem; color: var(--muted); margin: 0; }

/* tables */
.when-table-wrap { border-radius: var(--radius); padding: .25rem 1.25rem .75rem; margin: 1.25rem 0 .5rem; border: 1px solid var(--rule); }
.when-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.when-table caption { text-align: left; font-weight: 750; font-stretch: 112%; font-size: 1.1rem; padding: .9rem 0 .6rem; }
.when-table th, .when-table td { text-align: left; vertical-align: top; padding: .75rem .9rem .75rem 0; border-bottom: 1px solid var(--rule); }
.when-table thead th { font-size: .88rem; color: var(--muted); font-weight: 650; border-bottom: 2px solid var(--ink); }
.when-table tbody th { font-weight: 700; }
.when-table tbody tr:last-child > * { border-bottom: 0; }
.when-towns td:nth-child(2) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.when-towns strong { font-weight: 650; }
.when-table-note { font-size: .92rem; color: var(--muted); margin: 0 0 1.5rem; }

/* how we schedule */
.when-steps { list-style: none; margin: .5rem 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 2rem; counter-reset: when-step; }
.when-steps li { counter-increment: when-step; border-top: 2px solid var(--ink); padding-top: 1rem; }
.when-steps li::before { content: counter(when-step); display: block; font-stretch: var(--wide); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--storm); margin-bottom: .6rem; font-variant-numeric: tabular-nums; }
.when-steps h3 { margin: 0 0 .4rem; }
.when-steps p { margin: 0; font-size: 1.05rem; }
.when-services { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.when-services li { border-radius: var(--radius); border-top: 3px solid var(--gold); padding: 1.1rem 1.25rem 1.25rem; }
.when-services h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
.when-services p { margin: 0; font-size: 1rem; }

/* sources */
.when-sources-intro { max-width: 68ch; }
.when-source-list { margin: 1.25rem 0 0; padding: 0 0 0 1.4rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 2.5rem; font-size: 1rem; }
.when-source-list li { padding-left: .25rem; }
.when-source-list li::marker { color: var(--muted); font-weight: 650; }
.when-source-list a { display: inline; overflow-wrap: anywhere; }
.when-source-list span { display: block; color: var(--muted); font-size: .95rem; margin-top: .15rem; }

@media (max-width: 1000px) {
  .when-hero-grid, .when-sec-grid.has-side { grid-template-columns: minmax(0, 1fr); }
  .when-toc, .when-figure, .when-aside { position: static; }
  .when-aside { max-width: 760px; }
  .when-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .when-figure { max-width: 520px; }
  .when-figure img { aspect-ratio: 4 / 3; }
  .when-services { grid-template-columns: minmax(0, 1fr); }
  .when-sec-grid:not(.has-side) .when-sec-main > .when-list { columns: 1; }
  .when-source-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .when-times li { grid-template-columns: minmax(0, 1fr); }
  .when-actions .btn { flex: 1 1 100%; }
  .when-steps { grid-template-columns: minmax(0, 1fr); }
  .when-table-wrap { padding: .25rem 1rem .5rem; }
  .when-table caption { display: block; width: 100%; }
  .when-table thead { display: none; }   /* each cell carries its column name (data-label) */
  .when-table, .when-table tbody, .when-table tr, .when-table th, .when-table td { display: block; width: 100%; }
  .when-table tbody tr { padding: .6rem 0; border-bottom: 1px solid var(--rule); }
  .when-table tbody tr:last-child { border-bottom: 0; }
  .when-table tbody th, .when-table td { border: 0; padding: .15rem 0; }
  .when-table tbody th { font-size: 1.1rem; padding-bottom: .3rem; }
  .when-table td::before { content: attr(data-label) ": "; font-weight: 650; color: var(--muted); }
  .when-towns td:nth-child(2) { white-space: normal; }
}
