/* plumber/[city] — page styles */

/* ---------- houses ---------- */
.houses { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.houses__h h2 { font-size: var(--step-3); margin-top: 1rem; }
.houses__b { border-top: 1.5px solid var(--ink); padding-top: 1.6rem; }
.houses__b p { font-size: 1.02rem; line-height: 1.72; color: var(--fg-2); max-width: 64ch; }
.houses__b p + p { margin-top: 1.1rem; }
.houses__hoods { font-size: 0.98rem !important; line-height: 1.6; color: var(--fg-2) !important; border-top: 1px solid var(--rule-thin); padding-top: 1.1rem; margin-top: 1.5rem !important; }
.houses__hoods strong { color: var(--fg-2); }
@media (max-width: 820px) { .houses { grid-template-columns: 1fr; } }

/* ---------- cost of waiting ---------- */
.cost {
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  border: 1.5px solid var(--ink);
  background: var(--paper-2);
  max-width: 64ch;
}
.cost__k {
  font-size: var(--step--2); font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding-bottom: 0.7rem; margin-bottom: 0.9rem;
  border-bottom: 1px solid var(--rule-thin);
}
.cost__b { font-size: 1.02rem; line-height: 1.72; color: var(--fg-2); max-width: 68ch; }

/* ---------- calls ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 0; margin-top: clamp(2rem, 4vw, 3rem); border-top: 1.5px solid var(--ink); border-left: 1px solid var(--rule-thin); }
.card { padding: clamp(1.4rem, 2.4vw, 2rem); border-right: 1px solid var(--rule-thin); border-bottom: 1px solid var(--rule-thin); background: var(--paper); }
.card__n { font-family: var(--display); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.1em; }
.card__t { font-size: var(--step-1); margin-block: 0.6rem 0.5rem; text-wrap: balance; }
/* the trade name, kept small under the symptom */
.card__job {
  font-size: 0.66rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3);
  padding-bottom: 0.8rem; margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--rule-thin);
}
.card__b { font-size: 0.98rem; line-height: 1.6; color: var(--fg-2); }

/* single line of town-specific proof, set like a printed strapline */
.proof {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding-left: clamp(1rem, 2vw, 1.4rem);
  border-left: 2px solid var(--ink);
  max-width: 54ch;
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--step-1);
  line-height: 1.35;
}

/* ---------- notes ---------- */
.notes__in { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.notes__in h2 { font-size: var(--step-3); margin-top: 1rem; }
.notes__lede { font-size: 1rem; line-height: 1.65; color: var(--fg-2); margin-top: 1rem; max-width: 36ch; }
.notes { margin: 0; border-top: 1.5px solid var(--ink); }
.notes__it { display: grid; grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr); gap: 0.4rem 1.5rem; padding-block: 1.05rem; border-bottom: 1px solid var(--rule-thin); }
.notes__it dt {
  font-family: var(--display); font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.notes__it dd { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--fg-2); }
@media (max-width: 820px) {
  .notes__in { grid-template-columns: 1fr; }
  .notes__it { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* ---------- nearby ---------- */
.near { list-style: none; padding: 0; margin-top: clamp(1.75rem, 3vw, 2.5rem); border-top: 1.5px solid var(--ink); }
.near li { border-bottom: 1px solid var(--rule-thin); }
.near li:last-child { border-bottom: 1.5px solid var(--ink); }
.near a {
  display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr) 2rem;
  gap: 0.3rem 1.5rem; align-items: baseline;
  padding-block: 1.1rem;
  transition: background .25s, padding-inline .25s;
}
.near a:hover { background: var(--paper-2); padding-inline: 1rem; }
.near__t {
  font-family: var(--display); font-weight: 800;
  font-size: var(--step-2); line-height: 0.95;
}
.near__b { font-size: 0.96rem; line-height: 1.55; color: var(--fg-2); }
.near__x { font-size: 1.1rem; text-align: right; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.near a:hover .near__x { opacity: 1; transform: none; }
.near__all { margin-top: 1.2rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.near__all a { display: inline-flex; align-items: center; min-height: 44px; }
.near__all a span { border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
@media (max-width: 720px) {
  .near a { grid-template-columns: 1fr; }
  .near__x { display: none; }
}


/* ---------- services strip ---------- */
.svc { border-top: 1.5px solid var(--ink); }


/* the trade name under a symptom, linked to its service page */
a.card__job { display: inline-block; }
a.card__job:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- map ---------- */
.mapb { padding-bottom: var(--bay); }
.mapb__frame { border: 1.5px solid var(--ink); background: var(--paper-2); }
.mapb__frame iframe { display: block; filter: grayscale(1) contrast(1.05); }
.mapb__note { margin-top: 0.8rem; font-size: 0.86rem; color: var(--fg-3); }

/* ---------- recent work ---------- */
.jobs { border-top: 1.5px solid var(--ink); }
.jobs__list { list-style: none; padding: 0; margin: clamp(2rem, 4vw, 3rem) 0 0; border-top: 1.5px solid var(--ink); }
.jobs__it { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: 0.4rem 1.5rem; padding-block: 1.2rem; border-bottom: 1px solid var(--rule-thin); }
.jobs__when { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); padding-top: 0.35rem; }
.jobs__t { font-size: var(--step-1); line-height: 1.2; }
.jobs__b { margin-top: 0.4rem; font-size: 0.98rem; line-height: 1.62; color: var(--fg-2); max-width: 64ch; }
.jobs__note { margin-top: 1rem; font-size: 0.86rem; color: var(--fg-3); }
@media (max-width: 640px) { .jobs__it { grid-template-columns: 1fr; gap: 0.2rem; } }
