@font-face {
  font-family: "Rubik";
  src: url("fonts/rubik-var-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/publicsans-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cobalt: #0B4BD8;        /* white on it 6.97:1, yellow on it 4.94:1 */
  --cobalt-lift: #2F68EA;   /* plate behind the photo, decorative */
  --cobalt-deep: #0838B0;   /* chooser band, white on it 9.53:1 */
  --cobalt-hover: #0A42C2;
  --yellow: #FFD60A;        /* safety yellow: call button and two marks */
  --yellow-edge: #C7A400;
  --ink: #0B1A3A;           /* on white 17.0:1, on yellow 12.2:1 */
  --on-blue-2: #DCE5FF;     /* secondary text on cobalt */
  --white: #FFFFFF;
  --grey: #555555;          /* on white 7.46:1 */
  --rule: #E2E2E2;
  --cool: #EDF1F7;          /* cool grey ground, ink 15.3:1, grey 6.5:1 */
  --navy: #0B1A3A;          /* same as ink, used as a ground */
  --line-ink: #6B7690;      /* input borders on white 4.6:1 */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pad: 56px;
  --display: "Rubik", "Arial Rounded MT Bold", system-ui, sans-serif;
  --text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.services :focus-visible, .visit :focus-visible, .seasons :focus-visible, .jobs-sec :focus-visible, .faq :focus-visible, .request-card :focus-visible { outline-color: var(--cobalt); }
.group-heating :focus-visible { outline-color: var(--yellow); }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--yellow); color: var(--ink); padding: 12px 18px; border-radius: 10px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- the livery: header, first screen, chooser ---------- */
.livery {
  position: relative;
  color: var(--white);
  background: var(--cobalt);
  overflow: clip;
}

.site-header { position: relative; z-index: 20; background: var(--cobalt); color: var(--white); }
.bar {
  display: flex; align-items: center; gap: 40px;
  padding: 20px var(--pad);
}
.wordmark {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--white);
  min-height: 44px;
}
.wm-tile {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--yellow); color: var(--ink);
  font: 800 27px/1 var(--display);
  padding-bottom: 2px;
}
.wm-text { font: 700 21px/1.05 var(--display); letter-spacing: -0.01em; }
.wm-amp { font-weight: 500; }

.nav ul { display: flex; gap: 26px; }
.nav li a { padding: 0 2px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 600 16px/1 var(--text); text-decoration: none; color: var(--white);
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 2px no-repeat;
  transition: background-size 200ms var(--ease);
}
.nav a:hover { background-size: 100% 2px; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  text-decoration: none; font: 700 19px/1 var(--display);
}
.hp-label { font: 500 16px/1 var(--text); color: var(--on-blue-2); }
.header-phone:hover .num { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.header-book {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px;
  border-radius: 12px; background: var(--white); color: var(--ink);
  font: 700 16px/1 var(--display); text-decoration: none;
  transition: background-color 200ms var(--ease);
}
.header-book:hover { background: #E8EEFF; }
.header-call, .mmenu { display: none; }

/* first screen */
.hero {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 45vw;
  column-gap: 64px;
  padding-left: var(--pad);
  min-height: clamp(560px, calc(100svh - 88px - 176px), 760px);
}
.hero-copy { align-self: center; padding: 4px 0 30px; }
.where {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px;
  font: 600 17px/1.3 var(--text); color: var(--on-blue-2);
}
.sep { width: 28px; height: 2px; background: currentColor; opacity: .7; }
h1 {
  margin: 18px 0 26px;
  font-weight: 800;
  font-size: clamp(3.4rem, 6.75vw, 6.9rem);
  line-height: .9;
  letter-spacing: -0.03em;
}
h1 span { display: block; }
.lede { font-size: 21px; line-height: 1.42; max-width: 36ch; }

.act { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; margin-top: 28px; }
.call {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 80px; padding: 12px 30px 14px;
  border-radius: 16px;
  background: var(--yellow); color: var(--ink); text-decoration: none;
  box-shadow: 0 6px 0 var(--yellow-edge), 0 22px 34px -14px rgba(2, 12, 48, .6);
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.call:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--yellow-edge), 0 26px 38px -14px rgba(2, 12, 48, .6); }
.call:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--yellow-edge), 0 12px 20px -12px rgba(2, 12, 48, .6); }
.call-label { font: 700 13px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; }
.call-num { font: 800 35px/1.05 var(--display); letter-spacing: -0.01em; margin-top: 5px; }
.request {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px;
  font: 700 19px/1 var(--display); text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: 7px;
}
.arrow, .go::after {
  display: inline-block; width: 10px; height: 10px;
  border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor;
  transform: rotate(45deg);
}
.request .arrow { transition: transform 200ms var(--ease); }
.request:hover .arrow { transform: translateX(4px) rotate(45deg); }

.after { margin-top: 26px; max-width: 54ch; font-size: 15.5px; line-height: 1.5; color: var(--on-blue-2); }
.after strong { color: var(--white); font-weight: 700; }
.after p + p { margin-top: 6px; }

/* the photo: big, bleeding off the right edge, pipe-elbow corner, on a lifted plate */
.hero-photo {
  position: relative; z-index: 3;
  margin: 0 0 -26px;
  align-self: stretch;
}
.hero-photo::before {
  content: ""; position: absolute; z-index: -1;
  top: 44px; right: 0; bottom: -18px; left: -30px;
  border-radius: 30px 0 0 240px;
  background: var(--cobalt-lift);
}
.plate {
  position: relative; height: 100%; min-height: 420px;
  border-radius: 30px 0 0 240px;
  overflow: hidden;
  background: #1B2A4A;
  box-shadow: 0 30px 50px -28px rgba(1, 8, 36, .7), 0 12px 22px -12px rgba(1, 8, 36, .4);
}
.plate img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 62%;
}
.hero-photo figcaption {
  position: absolute; right: 22px; top: 22px;
  padding: 7px 11px; border-radius: 8px;
  background: rgba(6, 16, 46, .78); color: var(--white);
  font: 600 13px/1.2 var(--text);
}

/* chooser band */
.chooser { position: relative; background: var(--cobalt-deep); }
.chooser-inner { padding: 20px var(--pad) 24px; }
.jobs { position: relative; z-index: 4; }
.chooser-title {
  font: 800 22px/1.2 var(--display); letter-spacing: -0.005em;
  margin-bottom: 24px;
}
.jobs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jobs li { border-left: 1px solid rgba(255, 255, 255, .24); }
.jobs li:last-child { border-right: 1px solid rgba(255, 255, 255, .24); }
.jobs a {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto;
  align-items: center; column-gap: 16px;
  min-height: 86px; padding: 14px 22px;
  text-decoration: none; color: var(--white);
  transition: background-color 200ms var(--ease);
}
.job { font: 700 23px/1.15 var(--display); letter-spacing: -0.01em; }
.job-note { grid-column: 1; font-size: 15px; line-height: 1.35; color: var(--on-blue-2); margin-top: 4px; }
.go {
  grid-column: 2; grid-row: 1 / span 2;
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .6);
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
}
.go::after { content: ""; margin-left: -4px; }
.jobs a:hover { background: var(--cobalt-hover); }
.jobs a:hover .go { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.jobs a:focus-visible { outline-offset: -4px; }

/* one-time load-in */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 760ms var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 70ms; }
  .hero-copy > :nth-child(3) { animation-delay: 150ms; }
  .hero-copy > :nth-child(4) { animation-delay: 220ms; }
  .hero-copy > :nth-child(5) { animation-delay: 290ms; }
  .plate { animation: slide-in 1000ms var(--ease) 40ms both; }
  .hero-photo::before { animation: plate-in 1100ms var(--ease) 120ms both; }
  .jobs li { animation: rise 700ms var(--ease) both; }
  .jobs li:nth-child(1) { animation-delay: 300ms; }
  .jobs li:nth-child(2) { animation-delay: 350ms; }
  .jobs li:nth-child(3) { animation-delay: 400ms; }
  .jobs li:nth-child(4) { animation-delay: 450ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes slide-in { from { opacity: 0; transform: translateX(48px); } }
@keyframes plate-in { from { opacity: 0; transform: translate(28px, -20px); } }

/* ---------- services ---------- */
.services { padding: 112px var(--pad) 0; }
.services-head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: 64px; align-items: end;
}
.kicker {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 12px;
  font: 700 14px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--cobalt);
  margin-bottom: 20px;
}
.kicker::before { content: ""; width: 28px; height: 4px; border-radius: 2px; background: var(--cobalt); }
.services-head h2 {
  font-weight: 800; font-size: clamp(2.4rem, 4.4vw, 4.25rem);
  line-height: .98; letter-spacing: -0.025em; max-width: 15ch;
}
.proof { font-size: 18px; line-height: 1.55; color: #333333; max-width: 44ch; padding-bottom: 6px; }

.group { margin-top: 72px; }
.group-plumbing {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  grid-template-areas: "name name" "photo list";
  column-gap: 64px;
  padding-bottom: 128px;
}
.group-side { display: contents; }
.group-name {
  font-weight: 800; font-size: clamp(4rem, 12.2vw, 11.5rem);
  line-height: .8; letter-spacing: -0.045em;
  color: var(--cobalt);
  margin-left: -0.05em;
}
.group-title { grid-area: name; display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px 28px; }
.count {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 20px/1 var(--display); color: var(--ink);
  padding-bottom: 14px;
}
.count::before { content: ""; width: 36px; height: 4px; border-radius: 2px; background: currentColor; }
.group-photo { grid-area: photo; margin: 56px 0 0; position: relative; align-self: start; }
.group-plumbing .group-photo { position: sticky; top: 48px; }
.group-photo img { width: 100%; height: auto; }
.group-plumbing .group-photo img { border-radius: 0 160px 0 0; }
.group-plumbing .group-photo::before {
  content: ""; position: absolute; z-index: -1; inset: 24px -24px -24px 24px;
  border-radius: 0 160px 0 0; background: var(--cobalt);
}
.group-plumbing .group-photo { z-index: 0; }
.group-plumbing { position: relative; z-index: 0; }

.svc {
  grid-area: list; margin-top: 56px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px;
  align-content: start;
}
.svc li { border-top: 2px solid var(--rule); padding: 14px 0 20px; }
.group-plumbing .svc {
  position: relative; z-index: -1;
  margin-left: -160px; margin-right: calc(-1 * var(--pad));
  padding: 44px var(--pad) 40px 224px;
  background: var(--cool); border-radius: 0 0 0 160px;
}
.group-plumbing .svc li { border-top-color: #CBD3E1; }
.group-plumbing .svc-name { font-size: 25px; }
.group-plumbing .svc p { color: #4D5566; }
.svc-name {
  margin: 0; padding-top: 8px;
  font: 700 24px/1.15 var(--display); letter-spacing: -0.012em;
  color: var(--ink);
}
.svc p { font-size: 16px; line-height: 1.45; color: var(--grey); margin-top: 2px; max-width: 40ch; }

/* heating: the livery returns, mirrored */
.group-heating {
  margin: 0 calc(-1 * var(--pad));
  background: var(--cobalt); color: var(--white);
}
.heating-inner {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  grid-template-areas: "name name" "list photo";
  column-gap: 64px;
  padding: 112px var(--pad) 128px;
}
.group-heating .group-name { color: var(--white); }
.group-heating .count { color: var(--yellow); }
.group-heating .svc { grid-template-columns: 1fr; }
.group-heating .svc li { border-top-color: rgba(255, 255, 255, .26); padding: 18px 0 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; align-items: baseline; }
.group-heating .svc-name { color: var(--white); font-size: 28px; }
.group-heating .svc p { color: var(--on-blue-2); font-size: 16.5px; }
.group-heating .group-photo { margin-top: 56px; }
.group-heating .group-photo img {
  border-radius: 140px 0 0 0;
  box-shadow: 0 40px 60px -24px rgba(1, 8, 36, .7), 0 12px 22px -10px rgba(1, 8, 36, .4);
}


/* ---------- tablet and phone ---------- */
@media (max-width: 1180px) {
  :root { --pad: 40px; }
  .nav ul { gap: 22px; }
  .hp-label { display: none; }
}

@media (max-width: 1023px) {
  .nav, .header-phone, .header-book { display: none; }
  .header-call {
    display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px;
    border-radius: 12px; background: var(--yellow); color: var(--ink);
    font: 800 17px/1 var(--display); text-decoration: none;
    box-shadow: 0 4px 0 var(--yellow-edge);
  }
  .mmenu { display: block; position: relative; }
  .mmenu summary {
    list-style: none; cursor: pointer;
    display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px;
    border: 2px solid rgba(255, 255, 255, .7); border-radius: 12px;
    font: 700 16px/1 var(--display);
  }
  .mmenu summary::-webkit-details-marker { display: none; }
  .mmenu-panel {
    position: absolute; right: 0; top: calc(100% + 10px); z-index: 30;
    min-width: 230px; padding: 8px; border-radius: 14px;
    background: var(--white); color: var(--ink);
    box-shadow: 0 24px 40px -16px rgba(1, 8, 36, .55);
  }
  .mmenu-panel a {
    display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 9px;
    font: 600 17px/1 var(--text); text-decoration: none;
  }
  .mmenu-panel a:hover { background: #EEF2FF; }
  .mmenu-panel :focus-visible { outline-color: var(--cobalt); }
  .header-actions { gap: 10px; }
  .site-header { position: sticky; top: 0; background: var(--cobalt); }
  .livery { overflow: visible; }
  .bar { padding: 12px var(--pad); gap: 16px; }

  .hero { grid-template-columns: 1fr; padding: 0; min-height: 0; }
  .hero-photo { order: -1; margin: 0 0 0 var(--pad); }
  .hero-photo::before { top: 34px; bottom: -22px; left: -22px; border-radius: 22px 0 0 170px; }
  .plate { min-height: 0; aspect-ratio: 2 / 1; border-radius: 22px 0 0 170px; }
  .hero-copy { padding: 44px var(--pad) 44px; }
  h1 { font-size: clamp(2.8rem, 11.6vw, 6.5rem); }

  .chooser-inner { padding: 26px var(--pad) 30px; }
  .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jobs li { border: 0; border-top: 1px solid rgba(255, 255, 255, .24); }
  .jobs li:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .24); }
  .jobs li:last-child { border-right: 0; }
  .jobs a { padding: 16px 18px; }

  .services { padding-top: 88px; }
  .services-head { grid-template-columns: 1fr; row-gap: 24px; }
  .group-plumbing { grid-template-columns: 1fr; grid-template-areas: "name" "photo" "list"; padding-bottom: 96px; }
  .group-plumbing .group-photo { position: relative; top: 0; max-width: 520px; margin-right: 24px; }
  .heating-inner { grid-template-columns: 1fr; grid-template-areas: "name" "photo" "list"; padding: 88px var(--pad) 96px; }
  .group-heating .group-photo { max-width: 420px; }
  .group-name { font-size: clamp(3.6rem, 17vw, 9rem); }
}

@media (max-width: 640px) {
  :root { --pad: 20px; }
  .wm-tile { width: 36px; height: 36px; font-size: 23px; border-radius: 9px; }
  .wm-text { font-size: 16px; max-width: 8.6em; }
  .bar { gap: 10px; }
  .header-call { padding: 0 16px; }
  .mmenu summary { padding: 0 12px; }
  .hero-photo { margin-left: 28px; }
  .plate { aspect-ratio: 4 / 3.3; border-radius: 18px 0 0 120px; }
  .hero-photo::before { top: 26px; bottom: -16px; left: -16px; border-radius: 18px 0 0 120px; }
  .hero-photo figcaption { right: 12px; top: 12px; font-size: 12px; }
  .hero-copy { padding: 40px var(--pad) 36px; }
  .where { font-size: 15px; }
  h1 { margin: 14px 0 20px; }
  .lede { font-size: 18.5px; }
  .act { gap: 6px; }
  .call { width: 100%; align-items: center; min-height: 78px; }
  .call-num { font-size: 32px; }
  .after { font-size: 15px; }

  .chooser-title { font-size: 21px; }
  .jobs { grid-template-columns: 1fr; }
  .jobs li, .jobs li:nth-child(odd) { border-right: 0; }
  .jobs a { min-height: 76px; padding: 14px 4px; }
  .job { font-size: 21px; }

  .services { padding-top: 72px; }
  .group { margin-top: 64px; }
  .svc { grid-template-columns: 1fr; margin-top: 36px; }
  .svc-name { font-size: 21px; }
  .group-photo, .group-heating .group-photo { margin-top: 40px; }
  .group-plumbing .group-photo img { border-radius: 0 110px 0 0; }
  .group-plumbing .group-photo::before { border-radius: 0 110px 0 0; inset: 16px -16px -16px 16px; }
  .group-heating .group-photo { max-width: 260px; }
  .group-heating .group-photo img { border-radius: 100px 0 0 0; }
  .group-heating .svc li { grid-template-columns: 1fr; }
  .group-heating .svc-name { font-size: 22px; }
  .heating-inner { padding: 72px var(--pad) 80px; }
  .count { font-size: 15px; padding-bottom: 6px; }
}

/* ================= below the services ================= */

/* shared */
.kicker-ink { color: var(--ink); }
.kicker-ink::before { background: var(--ink); }
.kicker-yellow { color: var(--yellow); }
.kicker-yellow::before { background: var(--yellow); }
.kicker-light { color: var(--on-blue-2); }
.kicker-light::before { background: var(--yellow); }
.sec-h2 {
  font-weight: 800; font-size: clamp(2.4rem, 4.4vw, 4.25rem);
  line-height: .98; letter-spacing: -0.025em;
}

/* ---------- emergency: hi-vis strip ---------- */
.emergency {
  background: var(--yellow); color: var(--ink);
  padding: 0 var(--pad) 104px;
}
.emergency :focus-visible { outline-color: var(--ink); }
.em-top {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: 72px; align-items: end;
}
.em-photo { margin: 0 0 0 calc(-1 * var(--pad)); position: relative; }
.em-photo img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 0 0 220px 0;
  background: #9A8A3A;
}
.em-head { padding: 96px 0 8px; }
.em-head h2 {
  font-weight: 800; font-size: clamp(3rem, 6.4vw, 6.4rem);
  line-height: .9; letter-spacing: -0.035em; max-width: 9ch;
}
.em-lede { margin-top: 28px; font-size: 21px; line-height: 1.42; max-width: 34ch; }

.em-steps {
  list-style: none; margin: 88px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px;
}
.em-steps li { border-top: 5px solid var(--ink); padding-top: 22px; }
.em-n { display: block; font: 800 104px/.82 var(--display); letter-spacing: -0.05em; }
.em-steps h3 { margin-top: 22px; font: 800 30px/1.08 var(--display); letter-spacing: -0.015em; }
.em-steps p { margin-top: 12px; font-size: 17px; line-height: 1.55; max-width: 38ch; }

.em-call {
  margin-top: 88px; padding-top: 40px; border-top: 2px solid rgba(11, 26, 58, .35);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); column-gap: 48px; align-items: center;
}
.em-call-label { font: 700 26px/1.2 var(--display); }
.em-num { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
.em-num {
  display: inline-block; margin-top: 6px;
  font: 800 clamp(3.4rem, 10.8vw, 11rem)/.95 var(--display); letter-spacing: -0.045em;
  color: var(--ink); text-decoration: none;
  margin-left: -0.04em;
}
.em-num { min-height: 48px; }
.em-num:hover { text-decoration: underline; text-decoration-thickness: 6px; text-underline-offset: 10px; }
.em-gas {
  grid-column: 2; grid-row: 1; justify-self: end;
  padding: 18px 22px; border-radius: 14px;
  background: var(--ink); color: var(--white); font-size: 16.5px; line-height: 1.5;
}
.em-gas strong { color: var(--yellow); }

/* ---------- how a visit goes ---------- */
.visit { padding: 136px var(--pad) 0; }
.visit-head { max-width: 1100px; }
.visit-head h2 {
  font-weight: 800; font-size: clamp(2.4rem, 5vw, 4.9rem);
  line-height: .96; letter-spacing: -0.028em; max-width: 17ch;
}
.visit-row {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: 72px; align-items: center; margin-top: 80px;
}
.visit-row-b { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: 96px; }
.visit-photo { margin: 0; position: relative; z-index: 0; }
.visit-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #C9CFDA; }
.visit-photo-a { margin-left: calc(-1 * var(--pad)); }
.visit-photo-a img { border-radius: 0 0 200px 0; }
.visit-photo-a::before {
  content: ""; position: absolute; z-index: -1;
  top: 36px; right: -30px; bottom: -30px; left: 0;
  border-radius: 0 0 220px 0; background: var(--cobalt);
}
.visit-photo-b { margin-right: calc(-1 * var(--pad)); }
.visit-photo-b img { border-radius: 200px 0 0 0; }
.visit-photo-b::before {
  content: ""; position: absolute; z-index: -1;
  top: -30px; right: 0; bottom: 36px; left: -30px;
  border-radius: 220px 0 0 0; background: var(--yellow);
}
.steps { list-style: none; margin: 0; padding: 0; }
.step {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 20px;
  padding: 30px 0 34px; border-top: 2px solid var(--rule);
}
.step:first-child { border-top: 0; }
.step-n { font: 800 112px/.78 var(--display); letter-spacing: -0.06em; color: var(--cobalt); }
.step h3 { font: 800 29px/1.1 var(--display); letter-spacing: -0.015em; }
.step p { margin-top: 10px; font-size: 17px; line-height: 1.55; color: var(--grey); max-width: 40ch; }

/* ---------- about: navy, the photo pulls up into the white ---------- */
.about { margin-top: 200px; background: var(--navy); color: var(--white); }
.about :focus-visible { outline-color: var(--yellow); }
.about-inner {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  column-gap: 88px; padding: 0 var(--pad) 128px;
}
.about-photo { margin: -120px 0 0; position: relative; align-self: start; }
.about-photo img {
  width: 100%; aspect-ratio: 2 / 3; object-fit: cover;
  border-radius: 0 180px 0 0; background: #2A3A5C;
  box-shadow: 0 44px 60px -26px rgba(0, 4, 20, .8);
}
.about-copy { padding-top: 128px; }
.about-copy h2 {
  font-weight: 800; font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: .94; letter-spacing: -0.03em; max-width: 13ch;
}
.about-block {
  margin-top: 48px; max-width: 30ch;
  font: 500 clamp(1.5rem, 2.4vw, 2.35rem)/1.3 var(--display); letter-spacing: -0.01em;
}
.about-block strong { color: var(--yellow); font-weight: 700; }
.about-note {
  margin-top: 40px; padding-top: 24px; border-top: 2px solid rgba(255, 255, 255, .22);
  max-width: 52ch; font-size: 17px; color: var(--on-blue-2);
}

/* ---------- seasons: cool grey, the plan panel steps down ---------- */
.seasons { background: var(--cool); padding: 136px var(--pad) 0; }
.seasons-head h2 {
  font-weight: 800; font-size: clamp(2.4rem, 4.6vw, 4.5rem);
  line-height: .98; letter-spacing: -0.026em; max-width: 18ch;
}
.season-list {
  margin-top: 72px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.season { padding: 0 32px 8px; border-left: 2px solid #C9D2E0; }
.season:first-child { padding-left: 0; border-left: 0; }
.season h3 {
  font: 800 clamp(2.4rem, 4.2vw, 4.2rem)/.9 var(--display); letter-spacing: -0.04em;
  color: var(--cobalt);
}
.months { margin-top: 12px; font: 700 14px/1.2 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.season ul { margin-top: 22px; }
.season li li, .season ul li {
  padding: 12px 0; border-top: 1px solid #C9D2E0;
  font-size: 17px; line-height: 1.4;
}

.plan {
  position: relative; z-index: 2;
  margin: 96px 0 -120px;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px;
  padding: 64px 64px 64px;
  border-radius: 28px 28px 28px 200px;
  background: var(--cobalt); color: var(--white);
  box-shadow: 0 46px 70px -30px rgba(1, 8, 36, .55);
}
.plan :focus-visible { outline-color: var(--yellow); }
.plan-title {
  font: 800 clamp(3rem, 6vw, 6rem)/.86 var(--display); letter-spacing: -0.04em; max-width: 6ch;
}
.plan-copy p { font-size: 19px; line-height: 1.55; max-width: 48ch; }
.plan-copy p + p { margin-top: 14px; color: var(--on-blue-2); }
.plan-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 18px;
  font: 700 19px/1 var(--display); color: var(--yellow);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px;
}

/* ---------- recent jobs ---------- */
.jobs-sec { padding: calc(120px + 128px) var(--pad) 136px; }
.jobs-head h2 {
  font-weight: 800; font-size: clamp(2.6rem, 5.4vw, 5.4rem);
  line-height: .94; letter-spacing: -0.03em; max-width: 14ch;
}
.jobcard { margin: 0; }
.jobcard-photo { margin: 0; }
.jobcard-photo img { width: 100%; object-fit: cover; background: #C9CFDA; }
.jobcard-meta {
  display: flex; flex-wrap: wrap; gap: 4px 10px;
  font: 700 15px/1.3 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--cobalt);
}
.jobcard h3 { margin-top: 12px; font: 800 32px/1.05 var(--display); letter-spacing: -0.02em; max-width: 18ch; }
.jobcard dl { margin: 22px 0 0; }
.jobcard dl div + div { margin-top: 14px; }
.jobcard dt { font: 700 14px/1.3 var(--text); letter-spacing: .08em; text-transform: uppercase; }
.jobcard dd { margin: 4px 0 0; font-size: 17px; line-height: 1.55; color: var(--grey); max-width: 46ch; }

.jobcard-lead {
  margin-top: 72px;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end;
}
.jobcard-lead .jobcard-photo { grid-column: 1 / 10; grid-row: 1; margin-left: calc(-1 * var(--pad)); }
.jobcard-lead .jobcard-photo img { aspect-ratio: 3 / 2; border-radius: 0 220px 0 0; }
.jobcard-lead .jobcard-text {
  grid-column: 8 / 13; grid-row: 1; position: relative; z-index: 1;
  margin-bottom: -64px; padding: 44px 44px 48px;
  border-radius: 0 0 0 120px;
  background: var(--navy); color: var(--white);
  box-shadow: 0 40px 60px -28px rgba(1, 8, 36, .6);
}
.jobcard-lead .jobcard-meta { color: var(--yellow); }
.jobcard-lead dd { color: var(--on-blue-2); }

.jobs-pair {
  margin-top: 160px;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 80px; align-items: start;
}
.jobs-pair .jobcard-text { padding-top: 32px; }
.jobs-pair .jobcard:first-child img { aspect-ratio: 1 / 1; border-radius: 160px 0 0 0; }
.jobcard-low { margin-top: 200px; }
.jobcard-low img { aspect-ratio: 3 / 2; border-radius: 0 0 0 180px; }
.jobcard-low .jobcard-photo { margin-right: calc(-1 * var(--pad)); }

/* ---------- areas: towns as signage ---------- */
.areas { background: var(--cobalt); color: var(--white); overflow: clip; }
.areas :focus-visible { outline-color: var(--yellow); }
.areas-inner { padding: 128px var(--pad) 120px; }
.areas-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; }
.areas-head .kicker { grid-column: auto; margin-bottom: 0; }
.areas-head h2 { order: -1; font: 800 clamp(1.8rem, 2.6vw, 2.5rem)/1 var(--display); letter-spacing: -0.015em; }
.towns { margin-top: 48px; }
.towns li {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 28px;
  border-top: 2px solid rgba(255, 255, 255, .26);
  padding: 6px 0 2px;
}
.towns li:nth-child(2) { padding-left: 9vw; }
.towns li:nth-child(3) { padding-left: 18vw; }
.towns li:nth-child(4) { padding-left: 27vw; }
.town {
  font: 800 clamp(4.2rem, 13.6vw, 13.5rem)/.92 var(--display); letter-spacing: -0.05em;
  margin-left: -0.04em;
}
.county { font: 700 15px/1.2 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--on-blue-2); }
.areas-note {
  margin-top: 56px; padding-top: 28px; border-top: 2px solid rgba(255, 255, 255, .26);
  font-size: 21px; line-height: 1.45; max-width: 46ch;
}
.areas-note a { display: inline-block; padding: 10px 0; margin: -10px 0; font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- questions ---------- */
.faq {
  padding: 136px var(--pad);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 88px;
}
.faq-head { align-self: start; position: sticky; top: 48px; }
.faq-head h2 {
  font-weight: 800; font-size: clamp(2.4rem, 4.4vw, 4.4rem);
  line-height: .96; letter-spacing: -0.028em; max-width: 9ch;
}
.faq-list { margin: 0; }
.faq-list div { padding: 30px 0 32px; border-top: 2px solid var(--rule); }
.faq-list div:first-child { border-top: 4px solid var(--ink); }
.faq-list dt { font: 800 29px/1.12 var(--display); letter-spacing: -0.015em; }
.faq-list dd { margin: 12px 0 0; font-size: 18px; line-height: 1.6; color: var(--grey); max-width: 62ch; }

/* ---------- request: deep cobalt, white card ---------- */
.request-sec { background: var(--cobalt-deep); color: var(--white); }
.request-inner {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 80px;
  padding: 128px var(--pad);
}
.request-side :focus-visible { outline-color: var(--yellow); }
.request-side h2 {
  font-weight: 800; font-size: clamp(3rem, 6.4vw, 6.2rem);
  line-height: .88; letter-spacing: -0.035em; max-width: 7ch;
}
.request-lede { margin-top: 28px; font-size: 20px; line-height: 1.5; max-width: 34ch; }
.call-big { margin-top: 36px; }
.request-facts { margin: 44px 0 0; max-width: 34ch; }
.request-facts div { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .26); }
.request-facts dt { font: 700 14px/1.3 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--on-blue-2); }
.request-facts dd { margin: 4px 0 0; font-size: 17px; }

.request-card {
  align-self: start;
  background: var(--white); color: var(--ink);
  border-radius: 28px 28px 28px 160px;
  padding: 48px 48px 56px;
  box-shadow: 0 50px 80px -34px rgba(0, 6, 30, .75);
}
.form-note {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  padding: 8px 14px; border-radius: 10px;
  background: var(--cool); font: 700 15px/1.2 var(--text); color: var(--ink);
}
.form-note::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--cobalt); }
.field { display: grid; gap: 8px; margin-bottom: 20px; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.field-row-addr { grid-template-columns: 3fr 2fr; }
.field label, .choice legend { font-weight: 700; font-size: 15.5px; }
.opt { font-weight: 500; color: var(--grey); }
input[type="text"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: 500 17px/1.3 var(--text); color: var(--ink);
  background: var(--white);
  border: 2px solid var(--line-ink); border-radius: 12px;
}
select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
textarea { resize: vertical; min-height: 120px; }
input::placeholder, textarea::placeholder { color: #6A7286; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; border-color: var(--cobalt); border-radius: 12px; }
input[type="file"] { font: 500 16px/1.3 var(--text); min-height: 48px; }
input[type="file"]::file-selector-button {
  min-height: 44px; margin-right: 14px; padding: 0 16px;
  font: 700 15px/1 var(--display); color: var(--ink);
  background: var(--cool); border: 2px solid var(--line-ink); border-radius: 10px; cursor: pointer;
}
.choice { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.choice legend { padding: 0; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px;
  border: 2px solid var(--line-ink); border-radius: 12px; cursor: pointer;
  font-size: 16.5px; font-weight: 600;
}
.chips label:has(input:checked) { border-color: var(--cobalt); background: #EAF0FF; box-shadow: inset 0 0 0 1px var(--cobalt); }
.chips input, .consent input { margin: 0; width: 20px; height: 20px; accent-color: var(--cobalt); }
.chips label:has(input:focus-visible), .consent:has(input:focus-visible) { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.consent {
  display: flex; align-items: center; gap: 12px; min-height: 48px; margin: 4px 0 24px;
  font-size: 16.5px; cursor: pointer; border-radius: 8px;
}
.send {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 60px; padding: 0 34px; border: 0; border-radius: 14px; cursor: pointer;
  background: var(--cobalt); color: var(--white);
  font: 800 20px/1 var(--display);
  box-shadow: 0 5px 0 var(--cobalt-deep);
  transition: background-color 160ms var(--ease), transform 160ms var(--ease);
}
.send:hover { background: var(--cobalt-hover); }
.send:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--cobalt-deep); }

.sent { display: none; margin-bottom: 32px; padding: 26px 28px; border-radius: 16px; background: var(--navy); color: var(--white); }
.sent:target { display: block; }
.sent:focus { outline: none; }
.sent h3 { font: 800 26px/1.15 var(--display); letter-spacing: -0.01em; }
.sent p { margin-top: 10px; color: var(--on-blue-2); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: var(--white); padding: 88px var(--pad) 40px; }
.site-footer :focus-visible { outline-color: var(--yellow); }
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 3fr); column-gap: 48px; row-gap: 40px;
}
.footer-brand p { margin-top: 18px; color: var(--on-blue-2); max-width: 30ch; }
.footer-h { font: 700 14px/1.3 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--on-blue-2); margin-bottom: 12px; }
.footer-phone {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 800 26px/1 var(--display); color: var(--yellow); text-decoration: none;
}
.footer-phone:hover { text-decoration: underline; text-underline-offset: 5px; }
.site-footer p { font-size: 16px; line-height: 1.6; }
.site-footer div > p + p { margin-top: 12px; }
.footer-links a {
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px;
  font-size: 16px; text-decoration: none;
}
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.sample-note {
  margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: 15px; color: var(--on-blue-2);
}

/* ---------- below the services: tablet ---------- */
@media (max-width: 1023px) {
  .emergency { padding-bottom: 88px; }
  .em-top { grid-template-columns: 1fr; }
  .em-photo { margin-right: 22%; }
  .em-photo img { aspect-ratio: 4 / 3; border-radius: 0 0 170px 0; }
  .em-head { padding-top: 56px; }
  .em-steps { grid-template-columns: 1fr; margin-top: 56px; }
  .em-steps li { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 20px; padding: 24px 0 30px; }
  .em-n { grid-row: 1 / span 2; font-size: 96px; }
  .em-steps h3 { margin-top: 0; }
  .em-steps p { max-width: 56ch; }
  .em-call { grid-template-columns: 1fr; margin-top: 48px; }
  .em-gas { grid-column: 1; grid-row: 3; justify-self: start; margin-top: 28px; max-width: 56ch; }
  .group-plumbing .svc { margin: -96px calc(-1 * var(--pad)) 0; padding: 136px var(--pad) 32px; border-radius: 0 0 0 120px; column-gap: 40px; }
  .group-plumbing .group-photo { z-index: 1; }

  .visit { padding-top: 104px; }
  .visit-row, .visit-row-b { grid-template-columns: 1fr; margin-top: 56px; row-gap: 48px; }
  .visit-row-b .visit-photo { order: -1; }
  .visit-photo-a { margin-right: 30px; }
  .visit-photo-b { margin-left: 30px; }

  .about { margin-top: 176px; }
  .about-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 40px; padding-bottom: 104px; }
  .about-copy { padding-top: 88px; }

  .seasons { padding-top: 104px; }
  .season-list { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .season:nth-child(3) { padding-left: 0; border-left: 0; }
  .plan { grid-template-columns: 1fr; row-gap: 28px; padding: 48px 40px 52px; border-radius: 24px 24px 24px 140px; margin-top: 72px; }

  .jobs-sec { padding-bottom: 112px; }
  .jobcard-lead { display: block; }
  .jobcard-lead .jobcard-photo { margin-right: 30px; }
  .jobcard-lead .jobcard-text { margin: -72px 0 0 15%; padding: 36px 32px 40px; border-radius: 0 0 0 90px; }
  .jobs-pair { grid-template-columns: 1fr; margin-top: 88px; row-gap: 72px; }
  .jobs-pair .jobcard:first-child .jobcard-photo { max-width: 520px; }
  .jobcard-low { margin-top: 0; }

  .faq { grid-template-columns: 1fr; padding: 104px var(--pad); row-gap: 40px; }
  .faq-head { position: static; }
  .faq-head h2 { max-width: 14ch; }

  .request-inner { grid-template-columns: 1fr; row-gap: 56px; padding: 104px var(--pad); }
  .request-side h2 { max-width: none; }
  .request-card { border-radius: 24px 24px 24px 110px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- below the services: phone ---------- */
@media (max-width: 640px) {
  .emergency { padding-bottom: 72px; }
  .em-photo { margin-right: 14%; }
  .em-photo img { border-radius: 0 0 120px 0; }
  .em-head { padding-top: 44px; }
  .em-lede { font-size: 18.5px; }
  .em-steps li { grid-template-columns: 64px minmax(0, 1fr); column-gap: 14px; }
  .em-n { font-size: 72px; }
  .em-steps h3 { font-size: 25px; }
  .em-call-label { font-size: 20px; }
  .em-num { font-size: clamp(2.4rem, 11vw, 4rem); }

  .visit { padding-top: 80px; }
  .step { grid-template-columns: 58px minmax(0, 1fr); column-gap: 12px; padding: 26px 0 28px; }
  .step-n { font-size: 76px; }
  .step h3 { font-size: 24px; }
  .visit-photo-a img { border-radius: 0 0 120px 0; }
  .visit-photo-b img { border-radius: 120px 0 0 0; }
  .visit-photo-a::before { top: 22px; right: -18px; bottom: -18px; border-radius: 0 0 130px 0; }
  .visit-photo-b::before { top: -18px; left: -18px; bottom: 22px; border-radius: 130px 0 0 0; }
  .visit-photo-a { margin-right: 18px; }
  .visit-photo-b { margin-left: 18px; }

  .about { margin-top: 140px; }
  .about-inner { grid-template-columns: 1fr; padding-bottom: 80px; }
  .about-photo { max-width: 260px; margin-top: -100px; }
  .about-photo img { border-radius: 0 120px 0 0; }
  .about-copy { padding-top: 48px; }
  .about-block { margin-top: 28px; font-size: 1.4rem; }

  .seasons { padding-top: 80px; }
  .season-list { grid-template-columns: 1fr; row-gap: 40px; margin-top: 48px; }
  .season, .season:nth-child(3) { padding: 0; border-left: 0; }
  .plan { margin: 56px calc(-1 * var(--pad) / 2) -96px; padding: 36px 24px 40px; border-radius: 20px 20px 20px 90px; }
  .plan-copy p { font-size: 17.5px; }
  .jobs-sec { padding-top: calc(96px + 80px); padding-bottom: 88px; }

  .jobcard-lead { margin-top: 48px; }
  .jobcard-lead .jobcard-photo img { border-radius: 0 130px 0 0; }
  .jobcard-lead .jobcard-photo { margin-right: 18px; }
  .jobcard-lead .jobcard-text { margin: -48px 0 0 8%; padding: 28px 22px 32px; border-radius: 0 0 0 64px; }
  .jobcard h3 { font-size: 26px; }
  .jobs-pair .jobcard:first-child img { border-radius: 110px 0 0 0; }
  .jobcard-low img { border-radius: 0 0 0 120px; }

  .areas-inner { padding: 88px var(--pad) 80px; }
  .towns li { padding-left: 0; }
  .towns li { flex-direction: column; align-items: flex-start; padding: 8px 0 12px; }
  .towns li:nth-child(2) { padding-left: 4vw; }
  .towns li:nth-child(3) { padding-left: 8vw; }
  .towns li:nth-child(4) { padding-left: 12vw; }
  .town { font-size: clamp(3.4rem, 18vw, 6rem); line-height: .95; }
  .county { margin-top: 4px; }
  .areas-note { font-size: 18px; }

  .faq { padding: 80px var(--pad); }
  .faq-list dt { font-size: 23px; }
  .faq-list dd { font-size: 17px; }

  .request-inner { padding: 80px var(--pad); row-gap: 44px; }
  .request-lede { font-size: 18px; }
  .request-card { margin: 0 calc(-1 * var(--pad) / 2); padding: 32px 20px 40px; border-radius: 20px 20px 20px 72px; }
  .field-row, .field-row-addr { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding-top: 64px; }
}
