/* services hub and the eight service pages; loaded after site.css on body.svc-page */

/* ---------------------------------------------------------------- section rhythm
   site.css drops the top padding of any listed section that follows another, whatever the surface.
   _flow() marks each section: svc-open when the surface changes, svc-join when it repeats. */
.svc-page .svc-flow > section.svc-open.svc-open { padding-top: var(--section); }
.svc-page .svc-flow > section.cta-band.svc-open.svc-open { padding-top: var(--section-tight); }
.svc-page .svc-flow > section.svc-join.svc-join { padding-top: 0; }

/* ---------------------------------------------------------------- jump strip */
.svc-jump { position: sticky; top: var(--header-h); z-index: 40; background: var(--paper); border-bottom: 1px solid var(--hair); }
.svc-jump .jump-nav { position: static; margin: 0; display: flex; align-items: center; gap: 28px; }
.svc-jump .jump-title { margin: 0; flex: none; }
.svc-jump .jump-nav ol { display: flex; gap: 0 24px; border-left: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.svc-jump .jump-nav ol::-webkit-scrollbar { display: none; }
.svc-jump .jump-nav li { flex: none; }
.svc-jump .jump-nav a { margin: 0; padding: 15px 0 13px; border-left: 0; border-bottom: 2px solid transparent; white-space: nowrap; font-size: 15px; }
.svc-jump .jump-nav a.is-active, .svc-jump .jump-nav a[aria-current="true"] { border-bottom-color: var(--pine); }
@media (max-width: 1023px) { .svc-jump .jump-title { display: none; } }
@media (min-width: 1024px) { .svc-jump .jump-nav ol { margin-inline: 0; padding-inline: 0; } }
html:has(.svc-jump) { scroll-padding-top: calc(var(--header-h) + 72px); }

/* ---------------------------------------------------------------- hero */
.svc-hero h1 { max-width: 16ch; }
.svc-h1-where { display: block; margin-top: 12px; font-size: var(--fs-h3); line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; color: var(--muted); max-width: 38ch; text-wrap: balance; }
.svc-hero-photo { width: 100%; max-width: 300px; }
.svc-hero-photo img { width: 100%; height: auto; }
.svc-hero.has-fig .hero-side { justify-items: stretch; }
.svc-hero-fig { width: 100%; max-width: 624px; }
.svc-hero.has-fig .hero-facts-list { max-width: 624px; }
@media (min-width: 1024px) {
  .svc-hero.has-fig .page-hero-grid.has-side { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; }
  .svc-hero.has-fig .hero-side { justify-items: end; }
}

/* ---------------------------------------------------------------- shared */
.svc-prose { max-width: 62ch; }
.svc-prose > p:first-child { font-size: var(--fs-lede); line-height: 1.5; color: var(--ink); }
.svc-flow .split-a > .section-head:last-child { margin-bottom: 0; }
.svc-flow .split-a > .section-head + .note,
.svc-flow .split-a > .section-head + .prose { margin-top: 0; }
.svc-flow .split-a .note { margin-top: 28px; }

/* signs */
.svc-signs .checklist { margin-top: 0; }
.svc-signs .checklist li { padding: 16px 0; font-size: var(--fs-h4); font-weight: 500; line-height: 1.4; }

/* the work */
.svc-work .split-b { display: grid; gap: 28px; align-content: start; }
.svc-work figure.photo { max-width: 300px; }
.svc-work figure.photo img { width: 100%; height: auto; }
.svc-who { max-width: 40ch; }
.svc-who h3 { font-size: var(--fs-h4); margin-bottom: 6px; }
.svc-who p { color: var(--muted); }
@media (min-width: 1024px) { .svc-work .split-b { position: sticky; top: calc(var(--header-h) + 88px); align-self: start; } }

/* price */
.svc-page .svc-flow > section.svc-price { padding-bottom: 48px; }
.svc-price .split-a > .section-head { margin-bottom: 0; }
.svc-price-call { margin-top: 20px; font-weight: 600; }
.svc-price-call a { text-decoration: underline; text-underline-offset: 4px; }
.svc-figs { display: grid; margin-bottom: 28px; }
.svc-fig { display: grid; gap: 8px; padding: 18px 0 22px; border-top: 1px solid var(--ink); }
.svc-fig + .svc-fig { border-top-color: var(--hair); }
.svc-fig-l { font-weight: 600; font-size: 16px; }
.svc-fig-n { font-size: var(--fs-fact); line-height: 1; font-weight: 700; font-stretch: var(--wide); letter-spacing: -0.02em; color: var(--pine); font-variant-numeric: tabular-nums; }
.svc-price .price-anchor-n { font-size: var(--fs-h3); line-height: 1.25; }
.svc-price .svc-figs + .price-anchor .price-anchor-n { font-size: var(--fs-lede); line-height: 1.45; font-weight: 600; letter-spacing: 0; color: var(--ink); }
.svc-drivers, .svc-compare { margin-top: clamp(48px, 36px + 3vw, 88px); }
.svc-drivers h3, .svc-compare h3 { font-size: var(--fs-h3); }
.svc-drivers h3 { margin-bottom: 24px; }
.svc-drivers dl { row-gap: 0; }
.svc-drivers dl > div { padding: 18px 0 26px; border-top: 1px solid var(--hair); }
.svc-drivers dt { font-size: var(--fs-h4); font-weight: 700; margin-bottom: 6px; }
.svc-drivers dd { color: var(--muted); max-width: 46ch; }
.svc-compare .split-a p { margin-top: 12px; color: var(--muted); max-width: 32ch; }
.svc-compare .compare { width: 100%; }

/* estimate band right under the price: same ground, set off by its own row */
.svc-page .svc-flow > .cta-band.surface-paper-deep { border: 0; }

/* included */
.svc-included .inc-exc .checklist li { font-weight: 500; }

/* timeline */
.svc-page .timeline.horizontal .tl-step { align-content: start; }
.tl-when { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 600; color: var(--pine); }
.svc-how .section-head { max-width: 640px; }

/* permits */
.svc-permits .svc-prose > p:first-child { font-size: inherit; line-height: inherit; color: inherit; }
.svc-permits .split-b { background: var(--paper-light); border-radius: var(--radius-card); padding: clamp(24px, 18px + 1.5vw, 36px); align-self: start; }
.svc-permits .split-b h3 { font-size: var(--fs-h4); }
.svc-permits .split-b .checklist li { font-weight: 500; }

/* photos */
.svc-photos .gallery { justify-content: flex-start; }

/* review and the license record */
.svc-review .review-featured blockquote p { font-size: clamp(22px, 19px + 0.8vw, 30px); }
.svc-review .split { align-items: start; }
.svc-verify { margin-top: 20px; }
.svc-review .svc-verify .text-link { color: var(--paper); }
@media (min-width: 1024px) { .svc-review .facts-panel dl { grid-template-columns: minmax(0, 1fr); } }

/* questions */
.svc-faq .section-head a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1024px) { .svc-faq > .container.narrow > .section-head { grid-row: 1 / span 12; } }

/* hub */
.svc-intro .facts-panel { align-self: start; }
.svc-group .section-head { max-width: 380px; }
.svc-hub-note { margin-top: 36px; }
@media (min-width: 1024px) { .svc-group .split-a { position: sticky; top: calc(var(--header-h) + 88px); align-self: start; } }
.svc-hub .svc-hero h1 { max-width: 20ch; }
.svc-reviews .section-head { max-width: 640px; }
.svc-related .section-head { max-width: 640px; }

/* service card sections */
.svc-cards .section-head { max-width: 640px; }

/* PHONE PASS 2026-11-06. Phone-only (under 768px). */
@media (max-width: 767px) {
  .svc-h1-where { margin-top: 8px; font-size: 20px; }
  .svc-drivers, .svc-compare { margin-top: 36px; }
  .svc-drivers h3 { margin-bottom: 16px; }
  .svc-drivers dl > div { padding: 12px 0 16px; }
  .svc-drivers dt { font-size: 18px; margin-bottom: 4px; }
  .svc-fig { padding: 12px 0 16px; }

  /* the section links scroll away with the page instead of stacking under the header */
  .svc-jump { position: static; }
  html:has(.svc-jump) { scroll-padding-top: calc(var(--header-h) + 16px); }

  /* license facts: two across */
  .svc-review .facts-panel dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .svc-review .facts-panel dd { font-size: 16px; }

  /* related services: compact rows, small picture beside the name */
  .svc-related .cards.cols-3:has(> .card) { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--hair); }
  .svc-related .card { border-bottom: 1px solid var(--hair); }
  .svc-related .card-link { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 16px; padding: 12px 0; }
  .svc-related .card-media { aspect-ratio: 1 / 1; border-radius: 8px; }
  .svc-related .card:not(.text) .card-body { padding: 0; }
}
