/* Areas page (the Service Areas hub): a coverage layout. Loads after concept.css and shares only its
   tokens, type, buttons and chrome. Composition is its own so it never reads as a service page or
   as the Services hub. */

.sa-sr { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.sa-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Hero: the homepage's full-bleed stage, technician held right ---------- */
.sa-hero .hero-bg img { object-position: 58% 0%; }
.sa-hero .hero-inner { padding-top: clamp(40px, calc(100svh - var(--top) - 500px), 400px); }
.sa-hero .rating .r-sub { color: var(--on-ink); }
.sa-note { order: 5; display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; font-size: 15px; line-height: 1.45; color: var(--on-ink); }
.sa-note svg { flex: none; margin-top: 2px; color: var(--orange-hi); }

/* ---------- Directory: feature cards, then compact ruled tiles ---------- */
.sa-dir-head { display: grid; gap: 8px; margin-bottom: 36px; }
.sa-dir-head h2 { margin: 0; }
.sa-dir-head .lede { margin: 0; }
.sa-dir-head .lede a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: var(--rule-link); text-underline-offset: 4px; }
.sa-tier + .sa-tier { margin-top: 48px; }
.sa-tier-h { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-family: var(--f-label); font-weight: 700; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; }
.sa-tier-h svg { flex: none; }

.sa-primary, .sa-also { list-style: none; margin: 0; padding: 0; display: grid; }
.sa-go { display: inline; font-family: var(--f-label); font-weight: 700; font-size: 17px; letter-spacing: .02em; text-transform: uppercase; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: var(--rule-link); text-underline-offset: 6px; }
.sa-nw { white-space: nowrap; }
.sa-go svg { display: inline-block; vertical-align: -3px; transition: transform .18s ease; }
.sa-primary a:hover .sa-go svg, .sa-also a:hover .sa-go svg { transform: translateX(3px); }

.sa-primary { gap: 12px; }
.sa-primary a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px 22px 22px; border-top: 4px solid var(--ink); border-radius: 0 0 4px 4px; background: var(--smoke); color: var(--ink); text-decoration: none; transition: background-color .18s ease; }
.sa-primary h3 { margin: 0; font-family: var(--f-label); font-weight: 700; font-size: 34px; line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.sa-primary p { margin: 0 0 6px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.sa-primary .sa-go { margin-top: auto; }
.sa-primary a:hover { background: var(--line); }

.sa-also { border-top: 2px solid var(--ink); }
.sa-also li { border-bottom: 1px solid var(--line); }
.sa-also a { display: grid; gap: 6px; padding: 18px 0; color: var(--ink); text-decoration: none; }
.sa-also h3 { margin: 0; font-size: 20px; }
.sa-also p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.sa-also .sa-go { font-size: 16px; }

/* ---------- City by service matrix, on black ---------- */
.sa-mx-head { display: grid; gap: 8px; margin-bottom: 28px; }
.sa-mx-head h2 { margin: 0; }
.sa-mx-head .lede { margin: 0; }
.sa-mx { display: grid; gap: 28px; }
.sa-mx-row h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid var(--white); font-family: var(--f-label); font-weight: 700; font-size: 24px; line-height: 1.1; letter-spacing: .02em; text-transform: uppercase; }
.sa-mx-row h3 svg { flex: none; color: var(--orange-hi); }
.sa-mx-row ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sa-mx-row li.sa-none { display: none; }
.sa-mx-row a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 100%; min-height: 56px; padding: 10px 12px; border: 1px solid var(--grey); border-radius: 4px; color: var(--white); font-weight: 600; font-size: 15.5px; line-height: 1.25; text-decoration: none; transition: border-color .18s ease, background-color .18s ease; }
.sa-mx-row a svg { flex: none; width: 16px; height: 16px; transition: transform .18s ease; }
.sa-mx-row a:hover { border-color: var(--white); background: #141414; }
.sa-mx-row a:hover .svc { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: var(--rule-link); text-underline-offset: 4px; }
.sa-mx-row a:hover svg { transform: translateX(3px); }

/* ---------- How it works: the live 1-2-3 as a route line ---------- */
.sa-steps-head { display: grid; gap: 8px; margin-bottom: 32px; }
.sa-steps-head h2, .sa-steps-head .lede { margin: 0; }
.sa-route { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.sa-route:before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; border-left: 2px dashed var(--ink); }
.sa-route li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; }
.sa-stop { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--white); font-family: var(--f-label); font-weight: 700; font-size: 24px; line-height: 1; box-shadow: 0 0 0 6px var(--smoke); }
.sa-route h3 { margin: 10px 0 4px; }
.sa-route p { margin: 0; color: var(--muted); }

/* ---------- Regional statement: photo with an overlapping copy panel ---------- */
.sa-region-grid { display: grid; }
.sa-region-media { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--smoke); }
.sa-region-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.sa-region-copy { position: relative; margin: -40px 12px 0; padding: 26px 20px 24px; border-top: 4px solid var(--ink); border-radius: 0 0 4px 4px; background: var(--white); box-shadow: var(--shadow); }
.sa-region-copy h2 { margin: 0 0 14px; }
.sa-region-copy p { margin: 0 0 22px; font-size: 17px; line-height: 1.65; color: var(--muted); }

/* ---------- FAQ: sticky heading, every answer open ---------- */
.sa-faq { padding-top: 24px; }
.sa-faq-grid { display: grid; gap: 28px; }
.sa-faq-head h2 { margin: 0 0 8px; }
.sa-faq-head .lede { margin: 0 0 20px; }
.sa-qa-list { border-top: 2px solid var(--ink); }
.sa-qa { padding: 22px 0; border-bottom: 1px solid var(--line); }
.sa-qa h3 { margin: 0 0 8px; }
.sa-qa p { margin: 0; color: var(--muted); font-size: 16.5px; line-height: 1.6; }

/* ---------- Close: centred ---------- */
.sa-final { padding: 64px 0 72px; }
.sa-final-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sa-final-mark { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 18px; border: 2px solid var(--ink); border-radius: 50%; }
.sa-final h2 { max-width: 20ch; margin: 0 0 14px; }
.sa-final .lede { margin: 0 auto 24px; }
.sa-final .sa-actions { justify-content: center; }

@media (max-width: 359px) {
  .sa-hero .hero-inner { padding-top: 24px; }
  .sa-mx-row ul { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 559px) {
  .sa-actions { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .sa-actions .btn { justify-content: center; }
  .sa-faq-head .btn { width: 100%; justify-content: center; }
  .sa-region-copy .btn { width: 100%; justify-content: center; }
}
@media (min-width: 700px) {
  .sa-primary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .sa-also { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .sa-mx-row ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sa-region-copy { margin: -72px 32px 0; padding: 32px 32px 30px; }
}
@media (min-width: 1000px) {
  .sa-hero .hero-bg { transform: none; }
  .sa-hero .hero-bg img { object-position: 78% 38%; }
  .sa-hero .hero-inner { padding-top: 32px; padding-bottom: 96px; }
  .sa-hero .hero-lede { max-width: 35rem; }
  .sa-hero .trust { max-width: 46rem; }
  .sa-hero h1 { max-width: 52rem; font-size: clamp(44px, 3.6vw, 56px); }
  .sa-note { margin-top: 18px; font-size: 16px; }

  .sa-dir-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; align-items: end; margin-bottom: 44px; }
  .sa-primary a { padding: 28px 24px 24px; }

  .sa-mx-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; margin-bottom: 40px; }
  .sa-mx-row ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .sa-steps-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; margin-bottom: 44px; }
  .sa-route { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .sa-route:before { left: 24px; right: calc((100% - 80px) / 3 - 24px); top: 23px; bottom: auto; border-left: 0; border-top: 2px dashed var(--ink); }
  .sa-route li { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .sa-route h3 { margin: 0 0 6px; font-size: 22px; }
  .sa-route p { max-width: 22rem; }

  .sa-region-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; }
  .sa-region-media { grid-column: 1 / 9; grid-row: 1; aspect-ratio: 3 / 2; }
  .sa-region-copy { grid-column: 7 / 13; grid-row: 1; margin: 0 0 -40px; padding: 40px 40px 36px; }
  .sa-region { padding-bottom: 112px; }

  .sa-faq-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr); gap: 72px; align-items: start; }
  .sa-faq-head { position: sticky; top: calc(var(--top) + 24px); }
  .sa-qa { padding: 26px 0; }
  .sa-qa h3 { font-size: 22px; }

  .sa-final { padding: 88px 0 96px; }
}
/* Seven real links do not divide by 2 or 3. Pair the first four and let the last three share the row
   until the 7-column table at 1200px. Rows that end in a hidden sa-none cell have six links and
   already fill the 2- and 3-column grids. */
@media (min-width: 360px) and (max-width: 1199px) {
  .sa-mx-row ul:not(:has(> li.sa-none)) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .sa-mx-row ul:not(:has(> li.sa-none)) > li { grid-column: span 3; }
  .sa-mx-row ul:not(:has(> li.sa-none)) > li:nth-last-child(-n + 3) { grid-column: span 2; }
}
@media (min-width: 1200px) {
  .sa-primary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sa-primary a { padding: 26px 20px 22px; }
  .sa-primary h3 { font-size: 30px; letter-spacing: 0; }
  .sa-primary .sa-go { font-size: 15px; }
  .sa-also { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; border-top: 0; }
  .sa-also li { border-bottom: 0; border-top: 2px solid var(--ink); }
  .sa-also li:nth-child(n+5) { border-top-width: 1px; border-top-color: var(--line); }
  .sa-also a { padding: 18px 0 26px; }
  .sa-mx { gap: 0; border-top: 2px solid var(--white); }
  .sa-mx-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: stretch; border-bottom: 1px solid var(--grey); }
  .sa-mx-row h3 { margin: 0; padding: 18px 12px 18px 0; border-bottom: 0; font-size: 22px; }
  .sa-mx-row ul:has(> li),
  .sa-mx-row ul:not(:has(> li.sa-none)) { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; }
  .sa-mx-row ul:not(:has(> li.sa-none)) > li,
  .sa-mx-row ul:has(> li.sa-none) > li { grid-column: auto; }
  .sa-mx-row li { border-left: 1px solid var(--grey); }
  .sa-mx-row li.sa-none { display: block; background: repeating-linear-gradient(135deg, transparent 0 7px, rgba(255,255,255,.07) 7px 8px); }
  .sa-mx-row a { min-height: 76px; padding: 14px 12px; border: 0; border-radius: 0; font-size: 15px; }
  .sa-mx-row a:hover { background: #141414; }
}
@media (min-width: 1000px) and (max-height: 820px) {
  .sa-hero .hero-inner { padding-top: 24px; padding-bottom: 72px; }
  .sa-note { margin-top: 12px; font-size: 15px; }
}

/* ---------- Coverage map (inside "Where we work"): Census city shapes, orange and ink ----------
   Everything inside a scale(var(--u)) group is drawn in screen pixels, so labels, pins and shields
   hold their size while the view box zooms. */
.sa-map { position: relative; margin: 0 0 48px; }
.sa-map-frame { position: relative; margin: 0 calc(var(--gutter) * -1); aspect-ratio: 4 / 5; max-height: 620px; overflow: hidden; border-top: 4px solid var(--ink); background: var(--smoke); }
.sa-map-svg { display: block; width: 100%; height: 100%; touch-action: pan-y pinch-zoom; cursor: grab; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.sa-map.is-zoomed .sa-map-svg { touch-action: none; }
.sa-map.is-dragging .sa-map-svg { cursor: grabbing; }
.sa-map-svg path { vector-effect: non-scaling-stroke; }
.m-land { fill: var(--white); }
.m-out { fill: #efefef; }
.m-ctx { fill: #ebebeb; }
.m-water { fill: #d6d6d6; }
.m-river { fill: none; stroke: #cdcdcd; stroke-width: 1.4; stroke-linejoin: round; }
.m-county { fill: none; stroke: #a9a9a9; stroke-width: 1; stroke-dasharray: 4 3; }
.m-state { fill: none; stroke: #6a6a6a; stroke-width: 1.6; stroke-dasharray: 9 3 2 3; }
.m-rd2 { fill: none; stroke: #d2d2d2; stroke-width: 1; stroke-linejoin: round; }
.m-rd1 { fill: none; stroke: #a3a3a3; stroke-width: 1.7; stroke-linejoin: round; }
.m-st, .m-co { font-family: var(--f-label); font-weight: 700; text-anchor: middle; text-transform: uppercase; pointer-events: none; }
.m-st { font-size: 13px; letter-spacing: .32em; fill: #8f8f8f; }
.m-co { font-size: 11px; letter-spacing: .18em; fill: #8f8f8f; paint-order: stroke; stroke: var(--white); stroke-width: 3px; }
.m-sh { pointer-events: none; }
.m-sh rect { fill: var(--white); stroke: #505050; stroke-width: 1.2px; }
.m-sh text { font-family: var(--f-label); font-weight: 700; font-size: 11.5px; text-anchor: middle; fill: var(--ink); }
.m-sh-i rect { fill: var(--ink); stroke: var(--ink); }
.m-sh-i text { fill: var(--white); }

.m-city { cursor: pointer; outline: none; transition: opacity .18s ease; }
.m-city path { stroke-linejoin: round; transition: fill .18s ease; }
.m-city.t-home path { fill: var(--ink); stroke: var(--white); stroke-width: 1.5; }
.m-city.t-primary path { fill: var(--orange); stroke: var(--white); stroke-width: 1.5; }
.m-city.t-also path { fill: url(#sa-hatch); stroke: var(--orange); stroke-width: 1.6; }
.m-city.is-on path, .m-city:focus-visible path { stroke: var(--ink); stroke-width: 3; }
.m-city.t-primary.is-on path { fill: var(--orange-hover); }
.m-city.t-home.is-on path, .m-city.t-home:focus-visible path { stroke: var(--orange); }
.m-hl { fill: none; stroke: var(--ink); stroke-width: calc(3px * var(--u, 1)); stroke-linejoin: round; pointer-events: none; }
.m-hit { fill: transparent; }
.m-dot { fill: var(--orange); stroke: var(--white); stroke-width: 2.5px; }
.m-city.is-on .m-dot, .m-city:focus-visible .m-dot { stroke: var(--ink); stroke-width: 3px; }
.m-lb { cursor: pointer; outline: none; transition: opacity .18s ease; }
.m-lb text { font-family: var(--f-label); font-weight: 700; font-size: 13px; letter-spacing: .05em; text-anchor: middle; text-transform: uppercase; fill: var(--ink); paint-order: stroke; stroke: var(--white); stroke-width: 3.5px; stroke-linejoin: round; }
.m-lb.a-r text { text-anchor: start; }
.m-lb.t-home text { font-size: 15px; }
.m-lb .m-sub { font-size: 10.5px; letter-spacing: .14em; fill: var(--grey); }
.m-lb.is-on text:not(.m-sub) { font-size: 15px; stroke-width: 5px; }
.m-lb.t-home.is-on text:not(.m-sub) { font-size: 16px; }
.m-home circle { fill: var(--orange); stroke: var(--white); stroke-width: 2.5px; }
.m-home path { fill: none; stroke: var(--white); stroke-width: 2px; stroke-linecap: round; stroke-linejoin: round; }
.sa-map-svg .is-hid { visibility: hidden; }
.sa-map-svg .m-lb.is-on.is-hid { visibility: visible; }
.sa-map.has-on .m-city:not(.is-on) { opacity: .6; }
.sa-map[data-tier-on] .m-city, .sa-map[data-tier-on] .m-lb { opacity: .2; }
.sa-map[data-tier-on="home"] .t-home, .sa-map[data-tier-on="primary"] .t-primary, .sa-map[data-tier-on="also"] .t-also { opacity: 1; }

.sa-map-zoom { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; overflow: hidden; border-radius: 4px; background: var(--white); box-shadow: var(--shadow); }
.sa-map-zoom button { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: var(--white); color: var(--ink); cursor: pointer; }
.sa-map-zoom button + button { border-top: 1px solid var(--line); }
.sa-map-zoom button:hover:not(:disabled) { background: var(--smoke); }
.sa-map-zoom button:disabled { color: #b4b4b4; cursor: default; }
.sa-map-zoom button:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
.sa-map-zoom svg path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.sa-map-card { position: absolute; z-index: 3; top: 0; left: 0; display: grid; gap: 6px; width: 280px; padding: 14px 18px 16px; border-top: 4px solid var(--ink); border-radius: 0 0 4px 4px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); pointer-events: none; }
.sa-map-card[hidden] { display: none; }
.sa-map-tier { display: flex; align-items: center; gap: 8px; font-family: var(--f-label); font-weight: 700; font-size: 13px; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); }
.sa-map-name { font-family: var(--f-label); font-weight: 700; font-size: 26px; line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.sa-map-text { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.sa-map-card .sa-go { margin-top: 2px; font-size: 15px; }
.sa-map.is-dock .sa-map-card { position: relative; top: auto; left: auto; width: auto; margin: 0 calc(var(--gutter) * -1); padding: 16px var(--gutter) 18px; border-top: 0; border-radius: 0; background: var(--smoke); box-shadow: none; pointer-events: auto; }

.sw { flex: none; display: inline-block; width: 18px; height: 18px; border-radius: 3px; }
.sw-home { background: var(--ink); }
.sw-primary { background: var(--orange); }
.sw-also { background: repeating-linear-gradient(135deg, var(--white) 0 3px, var(--orange) 3px 5.2px); box-shadow: inset 0 0 0 1.5px var(--orange); }
.sa-map.is-gmap .sw-also { background: rgba(250,102,0,.2); box-shadow: inset 0 0 0 2px var(--orange); }

.sa-map-legend { padding: 18px 0 0; }
.sa-map-lh { margin: 0 0 6px; font-family: var(--f-label); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.sa-map-legend ul { list-style: none; margin: 0; padding: 0; display: grid; }
.sa-map-legend button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 6px 8px; margin: 0 -8px; border: 0; border-radius: 4px; background: none; color: var(--ink); font: inherit; font-size: 15.5px; font-weight: 600; line-height: 1.3; text-align: left; cursor: pointer; box-sizing: content-box; }
.sa-map-legend button:hover, .sa-map-legend button[aria-pressed="true"] { background: var(--smoke); }
.sa-map-legend button:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; }
.sa-map-legend small { display: block; color: var(--muted); font-size: 13.5px; font-weight: 400; }
.sa-map-hint { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.sa-gmap { position: absolute; inset: 0; }
.sa-map.is-gmap .sa-map-svg, .sa-map.is-gmap .sa-map-zoom { display: none; }

@media (max-width: 599px) {
  .m-lb text { font-size: 12px; letter-spacing: .03em; }
  .m-lb.t-home text { font-size: 13.5px; }
  .m-lb .m-sub { font-size: 9.5px; }
  .m-home { transform: scale(.82); }
}
@media (min-width: 700px) {
  .sa-map-frame { margin: 0; aspect-ratio: 16 / 11; border-radius: 0 0 4px 4px; }
  .sa-map.is-dock .sa-map-card { margin: 0; padding: 18px 20px 20px; border-radius: 0 0 4px 4px; }
  .sa-map-legend ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 24px; }
}
@media (min-width: 1000px) {
  .sa-map { margin-bottom: 64px; }
  .sa-map-frame { aspect-ratio: auto; height: clamp(560px, 44vw, 640px); max-height: none; }
  .sa-map-zoom { top: auto; bottom: 16px; right: 16px; }
  .sa-map-legend { position: absolute; z-index: 2; top: 24px; left: 24px; width: 272px; padding: 16px 18px 14px; border-top: 4px solid var(--ink); border-radius: 0 0 4px 4px; background: var(--white); box-shadow: var(--shadow); }
  .sa-map-legend ul { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sa-map-legend button { font-size: 15px; }
  .sa-map.is-gmap .sa-map-legend { top: 24px; left: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .m-city, .m-city path, .m-lb { transition: none; }
}
