/*
 * /water-heaters (Nov 9 2026): the page around the funnel, and the funnel itself
 * (inc/wh-funnel.php + assets/js/wh-funnel.js). Built on the Nov 2026 look: tokens from
 * global.css ("NOV 2026 LOOK"), shared section classes from page-dp.css.
 */

/* ───────── page ───────── */
/* The hero on the homepage and /water-heaters: the copy on the left, the first question on the
   right. Nov 9 2026 (Tyler: "fix the spacing… it still looks crammed"): the copy column gets
   more than half the width so the headline sits on two lines, every gap is wider, and the card
   is a fixed, calmer width instead of filling whatever is left. */
.wh-hero { padding-block: clamp(28px, 5vw, 76px) clamp(32px, 5vw, 72px); }
.dp-hero > .wh-hero__grid { padding-top: clamp(0px, 1.6vw, 24px); }
.wh-hero__grid { display: grid; gap: clamp(28px, 5vw, 84px); align-items: center; }
.wh-hero__grid ~ .dp-facts { margin-top: clamp(36px, 6vw, 76px); }
.wh-hero__copy { display: grid; gap: 26px; min-width: 0; align-content: start; }
.wh-hero__copy .display-xl { margin: 0; }
.wh-hero__copy > .eyebrow { text-wrap: balance; }
.wh-hero__copy .lede { max-width: 44ch; }
.wh-hero__copy .dp-actions { gap: 14px 22px; }
@media (min-width: 1040px) {
  .wh-hero__grid { grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); }
  .wh-hero__grid > #price { justify-self: end; width: 100%; max-width: 520px; }
  .wh-hero__copy .display-xl { font-size: clamp(3rem, 1.3rem + 3.5vw, 4.9rem); line-height: .95; }
  .wh-hero__copy > .eyebrow { margin-bottom: -6px; }
}
/* Phones and tablets: headline, then the question, then the rest of the copy, so the first
   tap is on the first screen. The copy column's children join the grid (display: contents). */
@media (max-width: 1039px) {
  .wh-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .wh-hero__grid > .wh-hero__copy { display: contents; }
  .wh-hero__copy > * { order: 4; }
  .wh-hero__copy > .eyebrow { order: 1; margin-bottom: -12px; }
  .wh-hero__copy > h1 { order: 2; }
  .wh-hero__grid > #price { order: 3; margin-bottom: 8px; }
  .wh-hero__copy .display-xl { line-height: .96; }
}
@media (min-width: 700px) and (max-width: 1039px) { .wh-hero__grid > #price { max-width: 600px; } }
@media (max-width: 560px) {
  .wh-hero__copy > .eyebrow { font-size: 11px; }
  .wh-eyebrow__more { display: none; }
}
.wh-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wh-trust li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--ink-2); font-size: 1.02rem; line-height: 1.4; }
.wh-trust svg, .wh-check svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.wh-trust b { color: var(--ink); }
/* Homepage hero (Nov 9 2026, Tyler: "simpler… highlight the 5 stars more"): the rating is the
   first thing in the copy column, as a white pill with big gold stars; on phones it sits above
   the headline (order 1). The review cards follow the hero directly, with no facts strip between. */
.wh-rating { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 14px; background: #fff; border: 1px solid var(--rule-thin); border-radius: 999px; box-shadow: 0 1px 2px rgba(17, 24, 39, .05), 0 6px 18px -10px rgba(17, 24, 39, .18); color: var(--ink); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.dp .wh-rating { text-decoration: none; }
.wh-rating:hover { border-color: var(--star); box-shadow: 0 1px 2px rgba(17, 24, 39, .05), 0 8px 22px -10px rgba(224, 162, 27, .45); }
.wh-rating__stars { color: var(--star); font-size: 24px; letter-spacing: 2px; line-height: 1; }
.wh-rating__txt { font-size: 16px; line-height: 1.2; color: var(--ink-2); white-space: nowrap; }
.wh-rating__txt b { color: var(--ink); font-size: 18px; }
.wh-home .wh-hero__grid ~ .dp-quotes { margin-top: clamp(32px, 5vw, 64px); }
.wh-home .wh-who img { width: 76px; height: 76px; }
.wh-home .wh-hero__copy { gap: 24px; }
@media (min-width: 1040px) { .wh-home .wh-hero__copy > .wh-rating { margin-bottom: -4px; } }
@media (max-width: 1039px) { .wh-hero__copy > .wh-rating { order: 1; margin-bottom: -8px; } }
/* On a phone the dark top bar wrapped to a second line just to say "★ 5.0 on Google", right above
   the badge. Homepage only: one line there, and the price card comes up the screen. */
@media (max-width: 759px) { body:has(.wh-home) .dp-topbar__end { display: none; } }
@media (max-width: 380px) {
  .wh-rating { gap: 7px; padding: 7px 13px 7px 10px; }
  .wh-rating__stars { font-size: 19px; letter-spacing: 1px; }
  .wh-rating__txt { font-size: 14px; }
  .wh-rating__txt b { font-size: 16px; }
}
@media (max-width: 345px) { .wh-rating__n { display: none; } }
.wh-who { display: flex; align-items: center; gap: 14px; }
.wh-who img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.wh-who p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.4; }
.wh-who b { color: var(--ink); }

.wh-incl { display: grid; gap: clamp(18px, 3vw, 40px); align-items: center; }
@media (min-width: 900px) { .wh-incl { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.wh-incl__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wh-incl__pics figure { margin: 0; display: grid; gap: 6px; }
.wh-incl__pics img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-md); background: var(--blue-wash); }
.wh-incl__pics figcaption { font-size: .85rem; color: var(--muted); line-height: 1.35; }
.wh-incl__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wh-incl__list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 1.05rem; line-height: 1.4; }
.wh-incl__note { margin-top: 18px; color: var(--muted); font-size: .95rem; }

.wh-why { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.wh-why article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; display: grid; gap: 8px; align-content: start; }
.wh-why h3 { margin: 0; }
.wh-why p { margin: 0; color: var(--ink-2); line-height: 1.5; }
.wh-towns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* ───────── funnel ─────────
   Nov 9 2026, third pass. Tyler: "not simple enough… hims or ro are so much simpler and less
   distracting, even tesla". One question per screen, plain answers, one button, lots of room.
   Markup: inc/wh-funnel.php. Behaviour: assets/js/wh-funnel.js. */
.whf { position: relative; font-family: var(--font-sans); color: var(--ink); min-width: 0; }
.whf__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.whf__h { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 0; outline: none; text-wrap: balance; }
.whf__sub { color: var(--muted); font-size: 1.06rem; line-height: 1.45; margin: 10px 0 0; }
.whf__eyebrow { margin: 0 0 10px; font: 600 .74rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.whf__pick { margin: 0 0 14px; font-size: .88rem; font-weight: 600; color: var(--muted); line-height: 1.4; }
.whf__note { margin: 0; min-height: 1.45em; font-size: .95rem; line-height: 1.45; color: var(--muted); }
.whf__note.is-ok { color: #1f7a45; font-weight: 600; }
.whf__note.is-far { color: #8a5a00; font-weight: 600; }
.whf__note.is-err { color: #b42318; font-weight: 600; }
.whf__note.is-err:empty { display: none; }
.whf__noscript { margin: 0; font-size: 1.05rem; }
.whf__consent { margin: 0; font-size: .78rem; color: var(--muted); line-height: 1.45; }

/* answers: a bold label, a plain line under it, sometimes a word on the right */
.whf-opts { display: grid; gap: 10px; margin-top: 26px; }
.whf-opt { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; min-height: 68px; padding: 16px 20px;
           text-align: left; border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); font: inherit; cursor: pointer;
           -webkit-tap-highlight-color: transparent; transition: border-color .12s, background-color .12s, transform .12s; }
@media (hover: hover) { .whf-opt:hover, .whf-pkg:hover, .whf-win:hover { border-color: var(--blue); } .whf-btn:hover { background: var(--blue-deep); } .whf-top__back:hover { background: var(--page); } }
.whf-opt:active { transform: scale(.985); }
.whf-opt:focus-visible, .whf-pkg:focus-visible, .whf-btn:focus-visible, .whf-day:focus-visible, .whf-win:focus-visible, .whf-top__back:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.whf-opt[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-tint); box-shadow: inset 0 0 0 1px var(--blue); }
.whf-opt__words { display: grid; gap: 3px; min-width: 0; }
.whf-opt__label { font-weight: 700; font-size: 1.12rem; line-height: 1.25; }
.whf-opt__note { color: var(--muted); font-size: .95rem; line-height: 1.35; }
.whf-opt__side { font-weight: 700; font-size: .95rem; color: var(--blue-deep); white-space: nowrap; }
/* A drawing beside the answer (the tank / tankless / not sure question). */
.whf-opt--icon { grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; }
.whf-opt__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--blue-wash); display: grid; place-items: center; transition: background-color .12s; }
.whf-opt__icon svg { display: block; width: 46px; height: 46px; transition: transform .25s cubic-bezier(.2, 1.6, .45, 1); }
.whf-opt[aria-pressed="true"] .whf-opt__icon { background: var(--surface); }
.whf-opt__icon .s { fill: none; stroke: var(--blue); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.whf-opt__icon .f { fill: var(--surface); }
.whf-opt[aria-pressed="true"] .whf-opt__icon .f { fill: var(--blue-wash); }
.whf-opt__icon .w { fill: var(--surface); }
.whf-opt__icon .flame { fill: #ffcc33; stroke: #d98a00; stroke-width: 1; stroke-linejoin: round; }
.whf-opt__icon .drop { fill: #8fb3ec; stroke: var(--blue); stroke-width: 1.6; stroke-linejoin: round; }
@media (hover: hover) { .whf-opt:hover .whf-opt__icon svg { transform: translateY(-3px) rotate(-3deg); } }
@media (max-width: 400px) { .whf-opt--icon { gap: 12px; padding-left: 14px; } .whf-opt__icon { width: 48px; height: 48px; } .whf-opt__icon svg { width: 40px; height: 40px; } }
.whf-opts--quiet { margin-top: 0; }
.whf-opts--quiet .whf-opt { min-height: 0; padding: 13px 18px; }
.whf-opts--quiet .whf-opt__label { font-size: 1rem; }
.whf-opts--quiet .whf-opt__note { font-size: .9rem; }

/* the one button */
.whf-btn { display: block; width: 100%; font: inherit; font-weight: 800; font-size: 1.1rem; padding: 17px 20px; border: 0; border-radius: 999px; background: var(--blue); color: var(--on-blue);
           cursor: pointer; box-shadow: var(--shadow-call); -webkit-tap-highlight-color: transparent; transition: background-color .15s, transform .1s; }
.whf-btn:active { transform: scale(.985); }
.whf-btn[disabled] { opacity: .6; cursor: progress; }

/* the price: the choices carry the numbers (no giant figure on top; Tyler, Nov 9: "seems daunting") */
.whf-price__sub { margin-top: 12px; font-size: 1.02rem; }
.whf-link { display: inline; margin: 0; padding: 0; border: 0; background: none; color: var(--blue); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.whf-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.whf-pkgs { display: grid; gap: 8px; margin-top: 22px; }
.whf-pkg { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; padding: 13px 16px; text-align: left;
           border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); font: inherit; cursor: pointer;
           -webkit-tap-highlight-color: transparent; transition: border-color .12s, background-color .12s; }
.whf-pkg[aria-checked="true"] { border-color: var(--blue); background: var(--blue-tint); box-shadow: inset 0 0 0 1px var(--blue); }
.whf-pkg__dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--rule-mid); background: var(--surface); }
.whf-pkg[aria-checked="true"] .whf-pkg__dot { border-color: var(--blue); background: radial-gradient(circle, var(--blue) 0 5px, var(--surface) 5.5px); }
.whf-pkg__words { min-width: 0; }
.whf-pkg__name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.whf-pkg__tag { font-size: .66rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--blue-deep); background: var(--blue-soft); padding: 3px 8px; border-radius: 999px; }
.whf-pkg[aria-checked="true"] .whf-pkg__tag { background: var(--surface); }
.whf-pkg__line { display: block; margin-top: 2px; color: var(--muted); font-size: .9rem; line-height: 1.35; }
.whf-pkg__price { font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.whf-pkg--solo { grid-template-columns: minmax(0, 1fr) auto; padding: 16px 18px; cursor: default; border-color: var(--blue); background: var(--blue-tint); box-shadow: inset 0 0 0 1px var(--blue); }
.whf-incl { margin: 18px 0 0; color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
.whf-checks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; font-size: .97rem; line-height: 1.4; color: var(--ink-2); }
.whf-checks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 9px; }
.whf-checks svg { width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--blue); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.whf-more { margin-top: 2px; }
.whf-more summary { display: inline-block; cursor: pointer; list-style: none; padding: 9px 0; color: var(--blue); font-weight: 700; font-size: .95rem; }
.whf-more summary::-webkit-details-marker { display: none; }
.whf-more summary::after { content: " +"; }
.whf-more[open] summary::after { content: " −"; }
.whf-more__h { margin: 12px 0 0; font-weight: 800; }
.whf-more .whf-checks { margin-top: 8px; }
.whf-more__not { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: .95rem; color: var(--ink-2); }
.whf-more__fine { margin: 12px 0 0; font-size: .84rem; color: var(--muted); line-height: 1.5; }
.whf-more--form { margin: -4px 0; }
.whf-more--form[open] { display: grid; gap: 12px; }
.whf-cta { position: sticky; bottom: 0; z-index: 5; margin-top: 20px; padding: 14px 0 calc(12px + env(safe-area-inset-bottom, 0px));
           background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--surface) 14px); }
.whf-cta__note { margin: 10px 0 0; text-align: center; color: var(--muted); font-size: .86rem; }

/* typing: a ZIP, then a first name and a mobile */
.whf-form { display: grid; gap: 14px; margin-top: 24px; }
.whf-field { display: grid; gap: 6px; min-width: 0; }
.whf-field label { font-weight: 700; font-size: .92rem; }
.whf input[type="text"], .whf input[type="tel"], .whf textarea { font: inherit; font-size: 17px; padding: 15px 16px; border: 1.5px solid var(--rule-mid); border-radius: 14px;
       background: var(--surface); color: var(--ink); width: 100%; min-width: 0; }
.whf input:focus, .whf textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.whf textarea { resize: vertical; }
.whf input.whf-zip { font-size: 2rem; font-weight: 800; letter-spacing: .16em; text-align: center; padding: 16px; font-variant-numeric: tabular-nums; }
.whf input.whf-zip::placeholder { color: #cdd3dc; }
.whf-file { position: absolute; width: 1px; height: 1px; opacity: 0; }
.whf-photo { display: block; padding: 13px 16px; border: 1.5px dashed var(--rule-mid); border-radius: 14px; cursor: pointer; font-size: .95rem; color: var(--ink-2); }
.whf-file:focus-visible + .whf-photo { outline: 3px solid var(--blue); outline-offset: 2px; }
.whf-recap { display: grid; gap: 4px; margin-top: 20px; padding: 14px 16px; background: var(--page); border-radius: 14px; font-size: .98rem; line-height: 1.4; }
.whf-recap span:first-child { font-weight: 700; }
.whf-recap span + span { color: var(--ink-2); }

/* when */
.whf-when { display: grid; gap: 12px; margin-top: 24px; }
.whf-days { display: flex; gap: 8px; overflow-x: auto; padding: 2px; margin: -2px; scrollbar-width: none; }
.whf-days::-webkit-scrollbar { display: none; }
.whf-day { flex: 1 0 auto; min-width: 78px; display: grid; gap: 2px; padding: 11px 8px; text-align: center; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface);
           color: var(--ink); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.whf-day b { font-size: .95rem; }
.whf-day span { font-size: .8rem; color: var(--muted); }
.whf-day[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--on-ink); }
.whf-day[aria-pressed="true"] span { color: var(--on-ink-2); }
.whf-wins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.whf-win { padding: 19px 10px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; font-size: 1.05rem;
           cursor: pointer; -webkit-tap-highlight-color: transparent; transition: border-color .12s, background-color .12s, transform .12s; }
.whf-win:active { transform: scale(.985); }
.whf-win[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: var(--on-blue); }
.whf-win small { display: block; margin-top: 3px; font-size: .8rem; font-weight: 600; }
.whf-win--wide { grid-column: 1 / -1; padding-block: 15px; }
.whf-win--wide small { color: var(--muted); font-size: .88rem; font-weight: 500; }
.whf-win--wide[aria-pressed="true"] small { color: var(--on-blue); }
.whf-win:disabled { padding-block: 10px; color: var(--faint); background: var(--page); cursor: not-allowed; }
.whf__or { display: flex; align-items: center; gap: 12px; margin: 4px 0 0; color: var(--faint); font-size: .85rem; }
.whf__or::before, .whf__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* each new question fades up into place */
.whf--full .whf__stage.is-in > * { animation: whf-in .34s cubic-bezier(.2, .7, .2, 1) both; }
.whf--full .whf__stage.is-in > :nth-child(2) { animation-delay: .03s; }
.whf--full .whf__stage.is-in > :nth-child(3) { animation-delay: .06s; }
.whf--full .whf__stage.is-in > :nth-child(n + 4) { animation-delay: .09s; }
@keyframes whf-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .whf *, .whf__stage > * { animation: none !important; transition: none !important; } }

/* ───────── the first question, on the homepage and /water-heaters ───────── */
.whf--launch { scroll-margin-top: 88px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); padding: clamp(22px, 3vw, 38px); }
.whf--launch .whf__h { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.1rem); }
.whf--launch .whf__sub { margin-top: 8px; font-size: 1.02rem; }
.whf--launch .whf-opts { margin-top: 22px; gap: 12px; }
.whf--launch .whf-opt { padding: 17px 22px; }
@media (max-width: 560px) {
  .whf--launch { padding: 20px 18px 18px; }
  .whf--launch .whf-opts { margin-top: 18px; gap: 10px; }
  .whf--launch .whf-opt { padding: 15px 18px; }
  .whf--launch .whf-opt__label { font-size: 1.06rem; }
}

/* ───────── Nov 10 2026: "Get my quote" (Tyler: "instead of the tankless or non-tankless question,
   it could say, get my quote. With a nice button... simple and look really nice") and photos of the
   heaters Dan installs, a Bradford White tank and a Noritz tankless ("help people visualize it"). ───────── */
.whf--launch .whf__stage { display: grid; justify-items: center; text-align: center; }
.whq__pics { position: relative; width: 100%; height: 176px; display: flex; align-items: flex-end; justify-content: center; margin: 0 0 20px; }
.whq__pics::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 176px; height: 176px; transform: translateX(-50%); border-radius: 50%;
                     background: linear-gradient(170deg, var(--blue-tint) 10%, var(--blue-soft)); }
.whq__pics::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 200px; height: 16px; transform: translateX(-50%); border-radius: 50%;
                    background: radial-gradient(closest-side, rgba(21, 32, 43, .2), transparent); }
.whf .whq__tank, .whf .whq__tankless { position: relative; z-index: 1; width: auto; filter: drop-shadow(0 8px 10px rgba(21, 32, 43, .18)); user-select: none; }
.whf .whq__tank { height: 158px; margin-right: -8px; z-index: 2; }
.whf .whq__tankless { height: 124px; margin-bottom: 30px; }
.whq__tag { position: absolute; z-index: 3; top: 6px; left: calc(50% + 46px); padding: 7px 12px; border-radius: 999px; background: #ffcc33; color: var(--ink);
            font-size: .84rem; font-weight: 600; white-space: nowrap; box-shadow: 0 8px 16px -10px rgba(8, 18, 40, .7); transform: rotate(5deg); }
.whq__tag b { font-weight: 800; }
.whf--launch .whq__h { max-width: 16ch; }
.whq__sub { max-width: 36ch; }
.whq__btn { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 66px; margin-top: 24px;
            padding: 10px 11px 10px 26px; border-radius: 999px; text-decoration: none; color: #fff; font-weight: 800; font-size: 1.24rem; letter-spacing: -.01em;
            background: linear-gradient(180deg, #3069c2, var(--blue) 55%, #1e4c96);
            box-shadow: 0 18px 30px -16px rgba(36, 86, 166, .95), inset 0 1px 0 rgba(255, 255, 255, .25);
            -webkit-tap-highlight-color: transparent; transition: transform .22s cubic-bezier(.2, 1.6, .45, 1), box-shadow .2s; }
.whq__btn-txt { flex: 1; padding-left: 44px; text-align: center; }
.whq__btn-arrow { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center;
                  box-shadow: 0 4px 10px -4px rgba(8, 18, 40, .5); transition: transform .25s cubic-bezier(.2, 1.6, .45, 1); }
.whq__btn-arrow svg { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
/* a slow shine across the button, now and then */
.whq__btn::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -45%; width: 32%; transform: skewX(-20deg);
                   background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .26), transparent); animation: whq-shine 5s ease-in-out 1.4s infinite; }
@keyframes whq-shine { 0%, 72% { left: -45%; } 100% { left: 125%; } }
@media (hover: hover) {
  .whq__btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 22px 34px -16px rgba(36, 86, 166, 1), inset 0 1px 0 rgba(255, 255, 255, .25); }
  .whq__btn:hover .whq__btn-arrow { transform: translateX(4px); }
  .whf--launch:hover .whq__tank { transform: translateY(-3px); }
}
.whf .whq__tank { transition: transform .3s cubic-bezier(.2, 1.6, .45, 1); }
.whq__btn:active { transform: scale(.985); }
.whq__btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.whq__fine { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.whq__stars { color: #f5b400; letter-spacing: 1px; }
@media (max-width: 560px) {
  .whq__pics { height: 128px; margin-bottom: 12px; }
  .whq__pics::before { width: 128px; height: 128px; }
  .whf .whq__tank { height: 118px; }
  .whf .whq__tankless { height: 92px; margin-bottom: 22px; }
  /* the button right under the headline, so it shows sooner on a phone; the line moves under it */
  .whq__btn { order: 3; margin-top: 16px; }
  .whq__sub { order: 4; margin-top: 14px; font-size: .95rem; }
  .whq__fine { order: 5; margin-top: 10px; }
  .whq__tag { left: calc(50% + 36px); font-size: .8rem; padding: 6px 10px; }
  .whq__btn { min-height: 62px; font-size: 1.16rem; margin-top: 20px; }
  .whq__btn-arrow { width: 42px; height: 42px; }
  .whq__btn-txt { padding-left: 42px; }
}

/* a photo in place of the drawing on an answer */
.whf-opt__pic { width: 72px; height: 84px; border-radius: 14px; background: var(--blue-wash); display: grid; place-items: center; overflow: hidden; transition: background-color .12s; }
.whf .whf-opt__pic img { display: block; width: auto; height: auto; max-width: 60px; max-height: 72px; filter: drop-shadow(0 3px 4px rgba(21, 32, 43, .2));
                    transition: transform .25s cubic-bezier(.2, 1.6, .45, 1); }
.whf .whf-opt__pic--dan img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: 46% 26%; filter: none; }
.whf-opt[aria-pressed="true"] .whf-opt__pic { background: var(--surface); }
@media (hover: hover) { .whf-opt:hover .whf-opt__pic img { transform: translateY(-3px); } .whf-opt:hover .whf-opt__pic--dan img { transform: scale(1.06); } }
@media (max-width: 400px) { .whf-opt__pic { width: 62px; height: 74px; } .whf .whf-opt__pic img { max-width: 52px; max-height: 64px; } }

/* the heater being priced, above "Your installed price" */
.whf-heater { display: flex; align-items: center; gap: 16px; margin: 6px 0 18px; min-height: 104px; }
.whf-heater__pic { position: relative; flex: none; width: 92px; height: 92px; border-radius: 50%; background: linear-gradient(170deg, var(--blue-tint) 10%, var(--blue-soft));
                   display: flex; align-items: flex-end; justify-content: center; }
.whf .whf-heater img { height: 104px; width: auto; margin-bottom: 4px; filter: drop-shadow(0 6px 8px rgba(21, 32, 43, .2)); animation: whf-pop .4s cubic-bezier(.2, 1.4, .45, 1) both; }
.whf-heater[data-k="tankless"] img { height: 84px; margin-bottom: 8px; }
.whf-heater figcaption { font: 600 .74rem/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
@keyframes whf-pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .whf-heater { min-height: 92px; margin-bottom: 12px; } .whf-heater__pic { width: 80px; height: 80px; } .whf .whf-heater img { height: 92px; } .whf-heater[data-k="tankless"] img { height: 74px; } }

/* ───────── /water-heater-price: only the funnel on the page ─────────
   The shared layout still prints the site's top bar, header, footer and call bar; they are
   hidden here for this page alone. Two rules, because a browser that doesn't know :has()
   throws away a whole selector list that contains it. */
html.whp-on .dp-topbar, html.whp-on .dp-header, html.whp-on .dp-footer, html.whp-on .dp-callbar { display: none !important; }
body:has(.whp) .dp-topbar, body:has(.whp) .dp-header, body:has(.whp) .dp-footer, body:has(.whp) .dp-callbar { display: none !important; }
html.whp-on body { background: var(--surface); padding-bottom: 0; }
.whp { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--surface); }
.whf--full { flex: 1; display: flex; flex-direction: column; }
.whf-top { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 58px;
           padding: 0 max(8px, env(safe-area-inset-right, 0px)) 0 max(8px, env(safe-area-inset-left, 0px)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); }
.whf-top__back { justify-self: start; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.whf-top__back.is-off { visibility: hidden; }
.whf-top__back svg, .whf-top__call svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.whf-top__brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1rem; letter-spacing: -.01em; white-space: nowrap; }
.whf-top__brand img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: 44% 30%; background: var(--blue-wash); }
.whf-top__call { justify-self: end; display: inline-flex; align-items: center; gap: 6px; padding: 10px 8px; color: var(--blue); font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.whf-top__call svg { width: 17px; height: 17px; }
.whf-top__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line); }
.whf-top__bar span { display: block; width: 0; height: 100%; background: var(--blue); border-radius: 0 3px 3px 0; transition: width .4s cubic-bezier(.2, .7, .2, 1); }
.whf--full .whf__stage { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: clamp(26px, 6vh, 72px) 20px 28px; }
/* The bottom of /water-heater-price: the same blue bar as every other page (global.css, "the call
   bar at the bottom of every page"), with Dan and Dave standing behind it. In the bar:
   who they are, or on the price step the "Pick a time" button. The page keeps room for it at the
   bottom, and on a phone it steps aside while a field has the keyboard up. */
.whf-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; background: var(--blue); color: var(--on-blue);
            padding: 16px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
            box-shadow: 0 -10px 26px -18px rgba(21, 32, 43, .55); }
.whf-foot__in { max-width: 520px; margin: 0 auto; }
/* Dan and Dave: the same parts as the site's bar (global.css, ".dp-crew"), lined up with the column. */
.whf-foot .dp-crew { left: max(6px, calc(50% - 270px)); }
.whf-foot__slot { min-width: 0; }
.whf-foot__cap { margin: 0; padding: 6px 0; font-size: .95rem; line-height: 1.35; color: rgba(255, 255, 255, .86); }
.whf-foot__cap b { color: var(--on-blue); }
.whf-foot .whf-btn { background: var(--call); color: var(--ink); box-shadow: 0 8px 20px -10px rgba(8, 18, 40, .7); padding-block: 15px; transition: transform .25s cubic-bezier(.2, 1.6, .45, 1), background-color .15s, box-shadow .2s; }
@media (hover: hover) { .whf-foot .whf-btn:hover { background: var(--call-hover); } }
.whf-foot .whf-cta__note { margin: 7px 0 0; font-size: .8rem; color: rgba(255, 255, 255, .8); text-wrap: balance; }
@media (pointer: coarse), (max-width: 700px) { .whf.is-typing .whf-foot { display: none; } }
.whp { padding-bottom: 190px; }
.whf--full .whf__stage[data-step="price"] { padding-bottom: 72px; }
.whp__legal { max-width: 560px; margin: 0 auto; padding: 8px 20px calc(18px + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: .72rem; line-height: 1.5; color: var(--faint); }
.whp__legal a { color: inherit; }
/* Phones: the phone icon alone, in a round button, so Dan's name stays centered. */
@media (max-width: 520px) { .whf-top__call span { display: none; } .whf-top__call { width: 40px; height: 40px; padding: 0; margin-right: 4px; justify-content: center; border-radius: 50%; background: var(--blue-wash); } }

/* ───────── water heater search pages (Nov 9 2026) ─────────
   /water-heater-replacement-cost, /water-heater-leaking, /no-hot-water (inc/wh-seo.php), and the
   price card on the town water heater pages. The answer and the table share the first screen. */
.whs-hero { padding-block: clamp(20px, 3.5vw, 48px) clamp(24px, 4vw, 56px); }
.whs-hero__grid { display: grid; gap: clamp(28px, 4.5vw, 72px); align-items: start; }
@media (min-width: 1040px) { .whs-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.whs-hero__copy { display: grid; gap: 22px; min-width: 0; align-content: start; }
.whs-hero__copy .display-l { margin: 0; text-wrap: balance; font-size: clamp(2.1rem, 1.3rem + 2.1vw, 3.3rem); line-height: 1.02; }
.whs-hero__copy .lede { margin: 0; max-width: 46ch; color: var(--ink-2); }
.whs-hero__copy .lede b { color: var(--ink); }

.whs-prices { display: grid; gap: 18px; min-width: 0; }
.whs-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 10px 30px -18px rgba(17, 24, 39, .25); }
.whs-table__cap { caption-side: bottom; text-align: left; padding-top: 10px; font-size: 14px; color: var(--muted); }
.whs-table thead th { text-align: left; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--paper-2, #f6f7f9); }
.whs-table thead th:last-child, .whs-table td { text-align: right; }
.whs-table tbody th, .whs-table td { padding: 14px 18px; border-bottom: 1px solid var(--rule-thin); vertical-align: top; }
.whs-table tbody tr:last-child th, .whs-table tbody tr:last-child td { border-bottom: 0; }
.whs-table tbody th { text-align: left; font-weight: 400; }
.whs-table__what { display: block; font-weight: 700; color: var(--ink); font-size: 16px; }
.whs-table__detail { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; margin-top: 2px; }
.whs-table td { font-weight: 800; font-size: 18px; color: var(--ink); white-space: nowrap; }
.whs-table tr.is-hi { background: var(--blue-wash); }
.whs-table tr.is-hi td { color: var(--blue); font-size: 22px; }
.whs-prices__go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
@media (max-width: 520px) {
  .whs-table tbody th, .whs-table td { padding: 12px 14px; }
  .whs-table td { font-size: 16px; white-space: normal; }
  .whs-table tr.is-hi td { font-size: 19px; }
  .whs-prices__go .dp-btn { width: 100%; justify-content: center; }
}

.whs-two { display: grid; gap: var(--space-5); }
@media (min-width: 860px) { .whs-two { grid-template-columns: 1fr 1fr; } }
.whs-out { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.whs-out li { position: relative; padding-left: 22px; font-size: 1.05rem; line-height: 1.4; color: var(--ink-2); }
.whs-out li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 2px; background: var(--muted); }

.whs-first { gap: var(--space-4); }
.whs-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.whs-step { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.whs-step__n { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 17px; }
.whs-step .h3 { margin: 4px 0 4px; font-size: 18px; line-height: 1.25; }
.whs-step p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.5; }

.whs-card .dp-btn { align-self: flex-start; margin-top: 4px; }

/* Water heater town pages and the "towns we cover" list (Nov 9 2026, inc/wh-towns.php). */
/* the towns we cover (inc/wh-towns.php wh_towns_block, Nov 10 2026): the clickable map beside one row per region */
.wht { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (min-width: 1000px) { .wht { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } .wht__map { position: sticky; top: 100px; } }
.wht__map { margin: 0; display: grid; gap: 10px; min-width: 0; }
.wht__mapbox { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #dfe9f7; }
.wht__map figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); }
.wht__star { color: #f5b400; -webkit-text-stroke: .6px var(--ink); }
.wht__ring { display: inline-block; width: 22px; border-top: 2px dashed var(--blue); margin: 0 2px 0 10px; }
@media (max-width: 699px) { .wht__map { display: none; } }
.wht__regions { display: grid; min-width: 0; }
.wht__row { display: grid; gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); }
.wht__row:first-child { border-top: 0; padding-top: 0; }
.wht__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.wht__name { margin: 0; font-weight: 800; font-size: 1.05rem; line-height: 1.25; color: var(--ink); }
.wht__sub { margin: 0; font: 600 .72rem/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.wht__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.dp .wht__chips a { display: inline-block; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink);
                    font-weight: 600; font-size: 14px; line-height: 1.3; text-decoration: none; transition: border-color .12s, background-color .12s, color .12s; }
.dp .wht__chips a:hover, .dp .wht__chips a:focus-visible { border-color: var(--blue); background: var(--blue-tint); color: var(--blue-deep); }
.dp .wht__chips a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.whs-incl { margin-top: var(--space-5); columns: 2 280px; column-gap: var(--space-7); display: block; }
.whs-incl li { break-inside: avoid; margin-bottom: 12px; }
.whs-built { margin: 0; display: grid; gap: 10px; max-width: 760px; }
.whs-built__row { display: grid; grid-template-columns: 130px 1fr; gap: 14px; align-items: center; }
.whs-built__row dt { font-size: 15px; color: var(--ink-2); }
.whs-built__row dd { margin: 0; display: flex; align-items: center; gap: 10px; }
.whs-built__bar { display: block; height: 14px; border-radius: 7px; background: var(--blue); opacity: .85; }
.whs-built__row b { font-size: 15px; min-width: 3ch; }

/* Homepage link to the age lookup (Nov 11 2026): a strip at the end of the services section. */
.dp .wh-agecta { margin-top: clamp(22px, 3vw, 34px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 24px; align-items: center; padding: 18px 22px; border-radius: var(--radius-lg); background: var(--blue-wash); border: 1px solid #d5e0f0; color: var(--ink-2); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.dp .wh-agecta:hover { border-color: var(--blue); box-shadow: 0 10px 24px -18px rgba(36, 86, 166, .7); }
.wh-agecta__sn { font: 600 20px/1 var(--font-mono); letter-spacing: .06em; color: var(--ink-3); background: #fff; border: 2px solid var(--blue); border-radius: 12px; padding: 12px 14px; white-space: nowrap; }
.wh-agecta__y { background: #cfe0f7; box-shadow: inset 0 -3px 0 var(--blue); border-radius: 3px; color: var(--ink); }
.wh-agecta__m { background: var(--sun); box-shadow: inset 0 -3px 0 var(--star); border-radius: 3px; color: var(--ink); }
.wh-agecta__words { font-size: 16px; line-height: 1.45; }
.wh-agecta__words b { display: block; font-size: 19px; color: var(--ink); margin-bottom: 2px; }
.wh-agecta__go { font: 700 15px/1 var(--font-sans); color: #fff; background: var(--blue); padding: 13px 18px; border-radius: var(--radius-pill); white-space: nowrap; }
.dp .wh-agecta:hover .wh-agecta__go { background: var(--blue-deep); }
@media (max-width: 760px) {
  .dp .wh-agecta { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .wh-agecta__sn { justify-self: start; font-size: 18px; }
  .wh-agecta__go { justify-self: start; }
}
