/*
  pages/town.css: service-area (town) pages, /areas-served/<town>/ (2026-11-28).
  Loaded after service.css and reuses its hero, headings, buttons, cards and call bar.
  Band order follows the Service Area Page Template 1.0; tp- classes are the bands
  service.css does not already have. Layout families used: hero, band (short version,
  bar), prose (local), map, split (menu, turf, who), steps, strip (facts), accordion (FAQ),
  rail (explore), photo CTA (close). Photo sides alternate: right, left, right.
*/

.tp { --tp-pale: #eef4fb; --tp-line: #d7e2ef; }
.tp .sp-h2 { font-size: clamp(26px, 2.6vw, 42px); }

/* 1. Hero: the map sits where the photo would. */
.tp-h1 { font-size: clamp(32px, 3.6vw, 56px); }
.tp-hero__row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.tp-map { margin: 0; }
.tp-map__frame { position: relative; }
.tp-map--hero .tp-map__frame { overflow: hidden; border-radius: 16px; }
.tp-map__frame img { display: block; width: 100%; height: auto; }
.tp-map__pin {
  position: absolute;
  transform: translate(-50%, calc(-100% - 12px));
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(15, 34, 57, .78);
  color: #e3ecf8;
  font-size: clamp(11px, .85vw, 13px);
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  pointer-events: none;
}
.tp-map__pin--home { background: #fff; color: var(--navy); font-size: clamp(12px, 1vw, 15px); font-weight: 800; }
.tp-map figcaption { margin-top: 10px; color: #a9b9cd; font-size: 13px; line-height: 1.45; text-align: center; }
.tp-map--region .tp-map__frame { overflow: hidden; border: 1px solid var(--tp-line); border-radius: 16px; }
.tp-map--region .tp-map__pin { background: rgba(255, 255, 255, .92); color: var(--navy); box-shadow: 0 1px 4px rgba(20, 43, 70, .18); }
.tp-map--region .tp-map__pin--home { background: var(--navy); color: #fff; }

/* 3. Local problem pressure: copy left, route and winter card right, pale band (Micah's mockup, 2026-11-30). */
.tp-local { padding-bottom: var(--sp-pad); background: var(--tp-pale); }
.tp-local__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 112px); align-items: center; }
.tp-local .sp-h2 { margin: 0; }
.tp-local .sp-h2 span { display: block; }
.tp-local__h3 { margin: clamp(28px, 3.4vw, 52px) 0 10px; color: var(--navy); font-size: clamp(20px, 1.7vw, 27px); font-weight: 800; line-height: 1.2; }
.tp-local__copy p { margin: 0; }
.tp-local__callout { margin-top: clamp(20px, 2vw, 28px) !important; padding: 2px 0 2px clamp(18px, 1.6vw, 24px); border-left: 5px solid var(--blue); color: var(--navy); font-size: clamp(17px, 1.3vw, 20px); font-weight: 600; line-height: 1.5; }
.tp-local__card { padding: clamp(26px, 3.2vw, 46px); border: 1px solid var(--tp-line); border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(20, 43, 70, .06); }
.tp-route__h { margin: 0; color: var(--navy); font-size: clamp(20px, 1.7vw, 27px); font-weight: 900; line-height: 1.15; text-transform: uppercase; }
.tp-nw { white-space: nowrap; }
.tp-route__line { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(26px, 2.8vw, 40px) 0 0; padding: 0; list-style: none; }
.tp-route__line::before { content: ""; position: absolute; top: 11px; left: calc(100% / 6); right: calc(100% / 6); height: 4px; margin-top: -2px; border-radius: 2px; background: var(--blue); }
.tp-route__line li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--navy); font-size: clamp(14px, 1.1vw, 17px); font-weight: 700; line-height: 1.25; text-align: center; }
.tp-route__line li::before { content: ""; box-sizing: border-box; width: 22px; height: 22px; border: 3px solid var(--blue); border-radius: 50%; background: #fff; }
.tp-route__note { margin: clamp(16px, 1.6vw, 22px) 0 0; }
.tp-winter { margin-top: clamp(28px, 3vw, 44px); padding-top: clamp(28px, 3vw, 44px); border-top: 2px solid var(--tp-line); }
.tp-winter__h { margin: 0; color: var(--navy); font-size: clamp(15px, 1.15vw, 18px); font-weight: 800; line-height: 1.3; text-transform: uppercase; }
.tp-winter__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px clamp(16px, 2vw, 32px); margin: clamp(16px, 1.6vw, 22px) 0 0; padding: 0; list-style: none; }
.tp-winter__stats li { display: flex; flex-direction: column; gap: 6px; color: #5c6876; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.35; }
.tp-winter__n { color: var(--navy); font-size: clamp(30px, 3vw, 46px); font-weight: 900; line-height: 1; white-space: nowrap; }
.tp-winter__src { margin: clamp(18px, 2vw, 28px) 0 0; color: #5c6876; font-size: 14px; font-weight: 600; }

/* 4. Where we work: copy left, map right, pale band. */
.tp-where { margin-top: var(--sp-pad); padding-bottom: var(--sp-pad); background: var(--tp-pale); }
.tp-local + .tp-where { margin-top: 0; background: #fff; }
.tp-where__row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.tp-where__row > .tp-map { order: -1; }
.tp-where .sp-h2 span { display: block; }
.tp-where__txt p { margin: 0; font-size: clamp(17px, 1.3vw, 21px); line-height: 1.6; }
.tp-where__txt p + p { margin-top: 18px; }
.tp-where__office { margin-top: clamp(20px, 2vw, 28px); padding-top: clamp(20px, 2vw, 28px); border-top: 2px solid var(--tp-line); }
.tp-where__txt .tp-where__label { color: #2f64a8; font-size: 14px; font-weight: 800; letter-spacing: .03em; line-height: 1.3; text-transform: uppercase; }
.tp-where__txt .tp-where__addr { margin-top: 6px; color: var(--navy); font-size: clamp(17px, 1.3vw, 21px); font-weight: 600; }
.tp-where__txt .sp-h2 { margin-bottom: clamp(18px, 2vw, 28px); }

/* 5, 8, 10: copy and photo splits. */
.tp-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4.4vw, 72px); align-items: center; }
.tp-split--left { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.tp-split__fig { margin: 0; }
.tp-split__fig img { display: block; width: 100%; height: auto; border-radius: 16px; object-fit: cover; }
.tp-split__fig--tall img { max-height: 620px; aspect-ratio: 700 / 748; }
.tp-split__fig figcaption { margin-top: 10px; color: #5c6876; font-size: 13px; line-height: 1.45; }
/* 5. Services menu: navy band, one card per group, one linked card per service (Micah's mockup, 2026-11-30). */
.tp-menu { margin-top: var(--sp-pad); padding-bottom: var(--sp-pad); background: radial-gradient(ellipse 80% 120% at 20% 0%, #1b3657 0%, #142b46 60%, #102540 100%); color: #c2cfdf; }
.tp-menu .sp-h2 { margin: 0; color: #fff; }
.tp-menu .sp-h2 span { display: block; color: var(--sp-sky); }
.tp-menu__intro { margin: clamp(14px, 1.4vw, 22px) 0 0; color: #d7e0ee; font-size: clamp(17px, 1.3vw, 21px); }
.tp-menu__groups { display: grid; gap: clamp(14px, 1.4vw, 20px); margin-top: clamp(28px, 3vw, 44px); }
.tp-group { display: grid; grid-template-columns: minmax(0, clamp(220px, 21%, 300px)) minmax(0, 1fr); align-items: stretch; border: 1px solid rgba(90, 146, 220, .3); border-radius: 18px; background: rgba(255, 255, 255, .035); }
.tp-group__h { margin: 0; padding: clamp(22px, 2vw, 30px) clamp(20px, 2vw, 30px); border-right: 1px solid rgba(90, 146, 220, .3); color: var(--sp-sky); font-size: clamp(20px, 1.6vw, 26px); font-weight: 800; line-height: 1.25; }
.tp-group__list { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.tp-group__list li + li { border-left: 1px solid rgba(90, 146, 220, .3); }
.tp-svc { display: flex; flex-direction: column; height: 100%; padding: clamp(20px, 1.8vw, 26px) clamp(18px, 1.8vw, 26px); border-radius: 12px; color: #c2cfdf; text-decoration: none; transition: background-color .2s ease; }
.tp-svc:hover { background: rgba(255, 255, 255, .05); }
.tp-svc:focus-visible { outline: 3px solid var(--sp-sky); outline-offset: -3px; }
.tp-svc__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 9px; background: #fff; }
.tp-svc__icon img { display: block; width: 38px; height: auto; }
.tp-svc__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.tp-svc__name { margin: 0; color: #fff; font-size: clamp(19px, 1.5vw, 24px); font-weight: 800; line-height: 1.2; }
.tp-svc__arrow { flex: none; color: var(--sp-sky); transition: transform .2s ease; }
.tp-svc:hover .tp-svc__arrow { transform: translateX(3px); }
.tp-svc__desc { margin: 10px 0 0; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.5; }
.tp-group__list[style*="--n: 1"] .tp-svc__desc { max-width: 52em; }
.tp-turf { margin-top: var(--sp-pad); padding-bottom: var(--sp-pad); background: var(--tp-pale); }
.tp-turf + .tp-facts { margin-top: 0; }
/* No double gap under the steps: the steps band already ends with its own bottom space (Micah, 2026-11-30). */
.tp-steps + .tp-turf { margin-top: 0; }
/* 8. Home turf, road by road: photo and history card left, road card right (Micah's mockup, 2026-11-30). */
.tp-turf .sp-h2 { margin: 0; }
.tp-turf__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 52px); align-items: stretch; margin-top: clamp(26px, 3vw, 44px); }
.tp-turf__left { display: flex; flex-direction: column; gap: clamp(16px, 1.6vw, 22px); }
.tp-turf__fig { margin: 0; }
.tp-turf__fig img { display: block; width: 100%; height: auto; border-radius: 16px; object-fit: cover; }
.tp-turf__fig figcaption { display: grid; gap: 4px; margin-top: 12px; color: #5c6876; font-size: 14px; line-height: 1.45; }
/* #2f64a8: the site blue darkened to pass AA (4.5:1) at small sizes. */
.tp-turf__credit { display: flex; flex-wrap: wrap; gap: 4px 16px; color: #2f64a8; font-weight: 600; }
.tp-turf__credit a { color: inherit; text-decoration: underline; text-decoration-color: rgba(74, 127, 193, .4); text-underline-offset: 3px; }
.tp-turf__credit a:hover { text-decoration-color: currentColor; }
.tp-hist { flex: 1; padding: clamp(20px, 2vw, 28px) clamp(20px, 2vw, 30px); border-radius: 16px; background: #dde8f6; }
.tp-hist__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px clamp(16px, 2vw, 30px); }
.tp-hist__year { margin: 0; color: var(--blue); font-size: clamp(34px, 3vw, 46px); font-weight: 900; line-height: 1; }
.tp-hist__h { margin: 0; color: var(--navy); font-size: clamp(16px, 1.3vw, 20px); font-weight: 800; line-height: 1.25; text-transform: uppercase; }
.tp-hist p:not(.tp-hist__year) { margin: 14px 0 0; }
.tp-roads { display: flex; flex-direction: column; margin: 0; padding: clamp(6px, 1vw, 12px) clamp(22px, 2.4vw, 36px); border: 1px solid var(--tp-line); border-radius: 18px; background: #fff; list-style: none; }
.tp-road { flex: 1; padding: clamp(18px, 2vw, 28px) 0; }
.tp-road + .tp-road { border-top: 2px solid var(--tp-line); }
.tp-road__k { margin: 0; color: var(--blue); font-size: clamp(26px, 2.3vw, 36px); font-weight: 900; line-height: 1.1; }
.tp-road__h { margin: 8px 0 0; color: var(--navy); font-size: clamp(17px, 1.35vw, 21px); font-weight: 800; line-height: 1.3; }
.tp-road__p { margin: 8px 0 0; }

/* 9. Facts strip: navy, three columns, no boxes. Big figure, blue label, the fact, then its source (Micah's mockup, 2026-11-30). */
.tp-facts { margin-top: var(--sp-pad); padding: clamp(48px, 5vw, 80px) 0; background: radial-gradient(ellipse 80% 120% at 50% 0%, #1b3657 0%, #142b46 60%, #102540 100%); color: #d7e0ee; }
.tp-facts .sp-h2 { margin-bottom: 8px; color: #fff; }
.tp-facts__intro { margin: 0 0 clamp(26px, 2.8vw, 40px); color: #c2cfdf; font-size: clamp(16px, 1.2vw, 19px); }
.tp-facts__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin: 0; padding: 0; list-style: none; }
.tp-facts__list li { display: flex; flex-direction: column; padding-top: clamp(16px, 1.6vw, 22px); border-top: 3px solid var(--blue); }
/* Sized so the longest figure ("1 nautical mile") stays on one line at every width (Micah, 2026-11-30). */
.tp-facts__big { margin: 0; color: #fff; font-size: clamp(32px, 3vw, 44px); font-weight: 900; line-height: 1.05; white-space: nowrap; }
.tp-facts__h { margin: clamp(10px, 1vw, 16px) 0 0; color: #8fb6e8; font-size: clamp(19px, 1.5vw, 24px); font-weight: 800; line-height: 1.25; }
.tp-facts__claim { margin: 8px 0 0; color: #d7e0ee; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.5; text-wrap: pretty; }
.tp-facts__src { display: flex; flex-direction: column; gap: 2px; margin: auto 0 0; padding-top: clamp(18px, 2vw, 28px); color: #a9b9cd; font-size: 13px; line-height: 1.4; }
.tp-facts__src strong { color: #c2cfdf; font-size: 14px; font-weight: 700; }
/* Desktop: figure, label, fact and source line up across the three columns. */
@media (min-width: 981px) {
  @supports (grid-template-rows: subgrid) {
    .tp-facts__list li { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
    .tp-facts__src { margin: 0; }
  }
}
.tp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* 10. Who shows up: photo left, 2014 and Today blocks right, room below before the call band (Micah's mockup, 2026-11-30). */
.tp-who { padding-bottom: var(--sp-pad); }
/* One line where it fits (Micah, 2026-11-30). */
.tp-who .sp-h2 { max-width: none; margin: 0; }
.tp-who__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; margin-top: clamp(26px, 3vw, 44px); }
.tp-who__left { max-width: 700px; }
.tp-who__left .sp-actions { justify-content: center; margin-top: clamp(18px, 2vw, 26px); }
.tp-who__fig { margin: 0; }
.tp-who__fig img { display: block; width: 100%; height: auto; border-radius: 16px; }
.tp-moment p { margin: 12px 0 0; }
.tp-moment + .tp-moment { margin-top: clamp(20px, 2.2vw, 30px); padding-top: clamp(20px, 2.2vw, 30px); border-top: 2px solid var(--tp-line); }
.tp-moment__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px clamp(16px, 2vw, 30px); }
.tp-moment .tp-moment__k { margin: 0; color: var(--blue); font-size: clamp(34px, 3vw, 46px); font-weight: 900; line-height: 1; text-transform: uppercase; }
.tp-moment__h { margin: 0; color: var(--navy); font-size: clamp(16px, 1.3vw, 20px); font-weight: 800; line-height: 1.25; text-transform: uppercase; }

/* 2 and 6 use the service pages' short version cards and icon timeline; 12 uses the shared FAQ (Micah, 2026-11-28). */
.tp-quick { padding-top: clamp(48px, 5vw, 80px); }
/* Step lines end without a one-word last line. */
.tp-steps .sp-flow p { text-wrap: pretty; }
.tp-faq__all { margin-top: 14px; font-weight: 600; }
.tp-faq__all a { color: var(--f-blue); text-decoration: underline; text-underline-offset: 3px; }

/* 11. Mid-page call: the service pages' final call band; the title is a line styled like its H2. */
.sp-final p.tp-bar__title { max-width: 18em; margin: 0 auto 16px; color: #fff; font-size: clamp(30px, 3.4vw, 54px); font-weight: 900; line-height: 1.04; text-transform: uppercase; text-wrap: balance; }
.tp-bar__title span { color: var(--sp-sky); }
.tp-bar .sp-actions { justify-content: center; }
/* No white strip between the navy call band and the FAQ (Micah, 2026-11-28). */
.tp .tp-bar + .faq { margin-top: 0; }

/* 13. Explore cards carry a short line under the name. */
.tp-explore .tp-card small { max-width: 18em; color: #c2cfdf; font-size: clamp(14px, 1vw, 16px); font-weight: 500; line-height: 1.45; }

/* 14. Close: full-bleed photo under a navy wash, one line and the phone. */
.tp-close { position: relative; overflow: hidden; padding: clamp(72px, 8vw, 130px) 0; background: var(--navy); text-align: center; }
.tp-close__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-close::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15, 34, 57, .78), rgba(15, 34, 57, .88)); }
.tp-close__inner { position: relative; z-index: 2; }
.tp-close__line { max-width: 20em; margin: 0 auto; color: #fff; font-size: clamp(28px, 3.2vw, 50px); font-weight: 900; line-height: 1.08; text-transform: uppercase; text-wrap: balance; }
.tp-close .sp-actions { justify-content: center; }

/* Mid-size screens: the group label sits above its cards so three cards keep room. */
@media (max-width: 1180px) {
  .tp-group { grid-template-columns: minmax(0, 1fr); }
  .tp-group__h { border-right: 0; border-bottom: 1px solid rgba(90, 146, 220, .3); padding-bottom: 16px; }
}
@media (max-width: 980px) {
  .tp-facts__list { grid-template-columns: minmax(0, 1fr); }
  .tp-hero__row, .tp-local__grid, .tp-where__row, .tp-turf__grid, .tp-who__grid, .tp-split, .tp-split--left { grid-template-columns: minmax(0, 1fr); }
  .tp-split--left .tp-split__fig { order: 2; }
  .tp-where__row > .tp-map { order: 0; }
  .tp-split__fig--tall img { max-height: 420px; }
  .tp-map--hero { max-width: 560px; margin-inline: auto; }
}
@media (max-width: 767px) {
  .tp-group__list { grid-template-columns: minmax(0, 1fr); }
  .tp-group__list li + li { border-left: 0; border-top: 1px solid rgba(90, 146, 220, .3); }
  .tp-close .sp-actions { flex-direction: column; }
  .tp-map__pin:not(.tp-map__pin--home) { font-size: 10px; padding: 1px 5px; }
  .tp-map__pin--minor { display: none; }
  /* Region map on phones: the home label sits left of its dot so Green Bay never covers it. */
  .tp-map--region .tp-map__pin--home { transform: translate(calc(-100% - 12px), -50%); }
}
