/* Service pages (built by tools/build-pages.py). Loads after style.css and uses its tokens, header, buttons and footer. */
.sv-top { padding-block: clamp(40px, 6vw, 88px); }
.sv-top__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 5vw, 80px); align-items: center; }
.sv-top h1 { margin: 0; }
.sv-top .kw { color: var(--dim); }
.sv-title { display: block; margin-top: 12px; font-size: clamp(46px, 6.4vw, 96px); font-weight: 700; line-height: .95; letter-spacing: -.045em; text-wrap: balance; }
.sv-top .lede { max-width: 38ch; }
.sv-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.sv-top__img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); outline: 1px solid rgba(255, 255, 255, .1); outline-offset: -1px; }

.sv-inc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.sv-list { list-style: none; border-top: 1px solid var(--rule); }
.sv-list li { padding: 18px 0; border-bottom: 1px solid var(--rule); font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.sv-note { margin-top: 28px; padding: 22px 24px; border-radius: var(--r); background: var(--green-deep); color: var(--white); font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.sv-note b { display: block; font-size: 19px; }
.sv-note a { color: var(--white); font-weight: 600; text-underline-offset: 4px; white-space: nowrap; }

.sv-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-block: clamp(32px, 4vw, 56px) 36px; list-style: none; }
.sv-shots--1 { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
.sv-shots--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sv-shots img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); outline: 1px solid rgba(255, 255, 255, .1); outline-offset: -1px; }

.sv-qa { border-top: 1px solid var(--rule); }
.sv-qa > div { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.sv-qa dt { font-size: clamp(20px, 1.9vw, 25px); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.sv-qa dd { margin-top: 8px; max-width: 58ch; font-size: 18px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.sv-qa a { color: var(--black); text-underline-offset: 4px; }

.sv-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; margin-top: clamp(32px, 4vw, 56px); }
.sv-more a { display: block; text-decoration: none; }
.sv-more img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 12px; border-radius: var(--r); outline: 1px solid rgba(0, 0, 0, .1); outline-offset: -1px; }
.sv-more b { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.sv-more a:hover b { color: var(--green-ink); }
.sv-more--txt span { display: block; margin-top: 4px; font-size: 16px; line-height: 1.4; color: var(--ink-2); }
.sv-inc .lede { margin-top: 0; max-width: 40ch; }
.sv-reach { margin-top: 28px; font-size: 18px; color: var(--ink-2); }
.sv-reach a { color: var(--black); text-underline-offset: 4px; white-space: nowrap; }

/* location pages */
.sv-title--loc { font-size: clamp(38px, 4.6vw, 68px); line-height: 1; letter-spacing: -.04em; }
.sv-rows { display: grid; gap: clamp(48px, 6vw, 88px); }
.sv-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 80px); align-items: center; }
.sv-row:nth-child(even) img { order: 2; }
.sv-row img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); outline: 1px solid rgba(0, 0, 0, .1); outline-offset: -1px; }
.sv-row h2 { font-size: clamp(32px, 3.8vw, 56px); }
.sv-row p { margin-top: 18px; max-width: 44ch; font-size: 19px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.sv-row__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.sv-row__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--black); font-weight: 600; text-underline-offset: 4px; }
.sv-row__links svg, .sv-loc svg { width: 18px; height: 18px; }
.sv-locs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 40px clamp(32px, 5vw, 80px); }
.sv-loc h2 { font-size: clamp(32px, 3.8vw, 56px); }
.sv-loc h2 a { text-decoration: none; }
.sv-loc h2 a:hover { color: var(--green-ink); }
.sv-loc ul { margin-top: 24px; list-style: none; border-top: 1px solid var(--rule); }
.sv-loc li a { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: clamp(19px, 1.7vw, 23px); font-weight: 600; letter-spacing: -.025em; text-decoration: none; }
.sv-loc li a:hover { color: var(--green-ink); }
@media (max-width: 900px) { .sv-row, .sv-locs { grid-template-columns: minmax(0, 1fr); } .sv-row:nth-child(even) img { order: 0; } }

/* service area page: lookup beside the map, county cards */
.lc-top { padding-block: clamp(40px, 6vw, 88px); }
.lc-top h1 { margin: 0; }
.lc-top .kw { color: var(--dim); }
.lc-top__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px clamp(32px, 5vw, 80px); align-items: center; }
.lc-form { margin-top: 36px; max-width: 460px; }
html:not(.js) .lc-form { display: none; } /* the check needs the script; the list of towns below does not */
.lc-form label { display: block; margin-bottom: 8px; font-size: 16px; font-weight: 600; }
.lc-form div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.lc-form input { min-height: 56px; padding: 0 16px; border: 1.5px solid rgba(255, 255, 255, .28); border-radius: var(--r); background: none; color: var(--white); font: 500 19px/1 var(--font); }
.lc-form input:focus { outline: none; border-color: var(--green); }
.lc-result { min-height: 3.2em; margin-top: 18px; max-width: 30ch; font-size: clamp(20px, 2vw, 26px); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; text-wrap: pretty; }
.lc-result a { color: var(--green); text-underline-offset: 4px; white-space: nowrap; }
.lc-map svg { display: block; width: 100%; height: auto; max-height: 84vh; }
.lc-map .town { fill: #1D2229; stroke: var(--black); stroke-width: 2; stroke-linejoin: round; transition: fill .2s ease-out; }
.lc-map .town.on { fill: var(--green-deep); }
.lc-map .cty-link:hover .town, .lc-map .cty-link:focus-visible .town { fill: #2A313A; }
.lc-map .cty-link:hover .town.on, .lc-map .cty-link:focus-visible .town.on { fill: #2B7A3C; }
.lc-map .town.hit, .lc-map .cty-link:hover .town.hit { fill: var(--white); }
.lc-map .town-labels text { fill: rgba(255, 255, 255, .7); font: 500 10.5px var(--font); text-anchor: middle; pointer-events: none; }
.lc-map .base-pin circle { fill: var(--white); stroke: var(--black); stroke-width: 3; }
.lc-map .base-pin text { fill: var(--white); font: 700 17px var(--font); letter-spacing: -.02em; paint-order: stroke; stroke: var(--black); stroke-width: 4px; }
.lc-map figcaption { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 15px; color: var(--dim); }
.lc-key { width: 14px; height: 14px; border-radius: 3px; background: var(--green-deep); }
.lc-hit { margin-left: auto; color: var(--white); font-weight: 600; }
.lc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 56px); }
.lc-card { display: block; text-decoration: none; }
.lc-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 18px; border-radius: var(--r); outline: 1px solid rgba(0, 0, 0, .1); outline-offset: -1px; }
.lc-card b { display: block; font-size: clamp(28px, 3vw, 44px); font-weight: 600; line-height: 1.05; letter-spacing: -.035em; }
.lc-card span { display: block; margin-top: 6px; font-weight: 600; color: var(--green-ink); }
.lc-card p { margin-top: 10px; max-width: 34ch; color: var(--ink-2); line-height: 1.45; }
.lc-card em { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-style: normal; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.lc-card em svg { width: 18px; height: 18px; }
.lc-card:hover b { color: var(--green-ink); }
.sv-loc h3 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.03em; }
.sv-loc h3 a { text-decoration: none; }
.sv-loc h3 a:hover { color: var(--green-ink); }
.sv-loc h3 + ul { margin-top: 18px; }
.sv-inc .sv-loc ul { margin-top: 0; }
.sv-locs { margin-top: clamp(32px, 4vw, 56px); }
@media (max-width: 900px) { .lc-top__in, .lc-cards { grid-template-columns: minmax(0, 1fr); } .lc-cards { gap: 40px; } .lc-map .town-labels { display: none; } }

/* privacy and terms */
.lg { max-width: 760px; }
.lg h2 { margin-top: 44px; font-size: clamp(26px, 2.6vw, 34px); }
.lg p { margin-top: 14px; font-size: 18px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.lg a { color: var(--black); text-underline-offset: 4px; }

.sv-cta { border-top: 1px solid var(--rule-d); }

@media (max-width: 900px) {
  .sv-top__in, .sv-inc { grid-template-columns: minmax(0, 1fr); }
  .sv-shots, .sv-shots--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .sv-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) { .sv-btns { display: grid; } }

/* Dec 3: fuller service pages (about, how it works, where) */
.sv-body p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }
.sv-body p + p { margin-top: 16px; }
.sv-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 56px); list-style: none; counter-reset: step; }
.sv-steps li { counter-increment: step; padding: 28px; border: 1px solid var(--rule-d); border-radius: 14px; background: #14171b; }
.sv-steps li::before { content: "0" counter(step); display: block; margin-bottom: 28px; font-size: 15px; color: var(--dim); font-variant-numeric: tabular-nums; }
.sv-steps b { display: block; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.025em; color: var(--white); }
.sv-steps span { display: block; margin-top: 8px; color: var(--dim); font-size: 17px; line-height: 1.5; }
.sv-towns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px !important; }
.sv-towns a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--black); text-decoration: none; }
.sv-towns a:hover { border-color: var(--black); }
.sv-towns svg { width: 15px; height: 15px; }
@media (max-width: 900px) { .sv-steps { grid-template-columns: minmax(0, 1fr); } }
