/* Jetter Drain Solutions: the line.
   Hubot Sans (display, utility) and Mona Sans (body). Colours from their logo, contrast measured in
   design/jetter-drain.md. One pipe runs down every page; the homepage flies it in 3D. */

:root {
  --paper: #F4F6F9;
  --white: #FFFFFF;
  --ink: #0D1A2D;
  --slate: #46546B;
  --blue: #1E4490;
  --blue-2: #163773;
  --orange: #F37820;
  --night: #070C16;
  --mist: #E6ECF4;
  --fog: #A9B6C8;
  --rule: #D5DCE6;
  --tint: #E9EEF5;
  --sa-accent: #1E4490;
  --sa-accent-ink: #FFFFFF;
  --display: 'Hubot Sans', 'Mona Sans', system-ui, sans-serif;
  --body: 'Mona Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 40px);
  --lx: 36px;          /* the line's x inside the wrap */
  --gut: 112px;        /* where text starts, clear of the line */
  --step: clamp(72px, 9vw, 132px);
}
@media (max-width: 760px) {
  :root { --lx: 6px; --gut: 30px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 18px/1.6 var(--body); font-stretch: 100%;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-2); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
p { margin: 0 0 1em; max-width: 66ch; }
h1, h2, h3 { margin: 0; text-wrap: balance; color: var(--ink); }
h1, h2 { font-family: var(--display); font-weight: 320; font-stretch: 110%; letter-spacing: -0.02em; }
h1 { font-size: clamp(42px, 6vw, 88px); line-height: 1.02; }
h2 { font-size: clamp(32px, 3.5vw, 50px); line-height: 1.08; margin-bottom: 0.55em; }
h3 { font: 560 21px/1.3 var(--body); margin-bottom: 0.4em; }
ul, ol { padding-left: 1.2em; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 4px; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.lede { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.55; color: var(--slate); max-width: 58ch; }
.util { font-family: var(--display); font-stretch: 78%; font-weight: 500; font-size: 15px; letter-spacing: 0.01em; color: var(--slate); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  background: var(--blue); color: #fff; border: 0; border-radius: 6px; cursor: pointer;
  font: 500 16.5px/1 var(--body); text-decoration: none; white-space: nowrap;
  transition: background-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: var(--blue-2); color: #fff; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--mist); color: var(--ink); }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; }
.call { font: 500 17px/1.3 var(--body); color: var(--ink); }
.call:hover { color: var(--blue); }
.call b { font-weight: 560; white-space: nowrap; }

/* ---------------------------------------------------------------- header: the manifold */
.site-head { position: relative; z-index: 5; background: var(--paper); }
.site-head__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 10px; }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: clamp(168px, 17vw, 236px); height: auto; }
.head-acts { display: flex; align-items: center; gap: 18px; }
.head-acts .call { font-size: 17px; }
.menu-btn { display: none; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); border-radius: 6px; font: 500 16px/1 var(--body); cursor: pointer; }
.manifold { position: relative; margin: 0 auto; padding: 0 var(--pad) 18px; }
.manifold ul { list-style: none; margin: 0; padding: 0 0 0 var(--gut); display: flex; flex-wrap: wrap; gap: 0 clamp(18px, 2.6vw, 40px); position: relative; }
/* the header pipe: a horizontal run with tees, turning down into the page at the line's x */
.manifold::before { content: ''; position: absolute; left: calc(var(--pad) + var(--lx) + 12px); right: var(--pad); top: 0; height: 2px; background: var(--blue); }
.manifold::after { content: ''; position: absolute; left: calc(var(--pad) + var(--lx) - 1px); top: 0; bottom: 0; width: 14px; border-left: 2px solid var(--blue); border-top: 2px solid var(--blue); border-top-left-radius: 14px; }
.manifold li { position: relative; padding-top: 16px; }
.manifold li::before { content: ''; position: absolute; left: 50%; top: 0; width: 2px; height: 9px; background: var(--blue); }
.manifold a { display: inline-block; padding: 6px 0; color: var(--ink); text-decoration: none; font: 500 16px/1.2 var(--body); }
.manifold a:hover, .manifold a[aria-current='page'] { color: var(--blue); text-decoration: underline; text-underline-offset: 0.35em; }
.menu { display: none; }

@media (max-width: 900px) {
  .head-acts .btn { display: none; }
}
@media (max-width: 760px) {
  .site-head__row { padding-top: 12px; padding-bottom: 12px; }
  .head-acts .call { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .manifold { display: none; }
  .site-head { border-bottom: 2px solid var(--blue); }
  .menu { position: fixed; inset: 0; z-index: 40; background: var(--paper); padding: 20px var(--pad) 120px; overflow-y: auto; }
  .menu.is-open { display: block; }
  .menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
  .menu ul { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--blue); }
  .menu li a { display: block; padding: 12px 0 12px 22px; font: 360 26px/1.2 var(--display); font-stretch: 108%; color: var(--ink); text-decoration: none; }
  .menu .sub a { font: 500 17px/1.3 var(--body); padding: 9px 0 9px 22px; color: var(--slate); }
}

/* ---------------------------------------------------------------- the run: where the line lives */
.run { position: relative; }
.run > .line { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; z-index: 2; }
.run > *:not(.line) { position: relative; z-index: 1; }
.line__main, .line__branch { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.line__cap { stroke: var(--blue); stroke-width: 2; stroke-linecap: round; }
.line__head { fill: var(--paper); stroke: var(--orange); stroke-width: 2.5; }
.line__node { fill: var(--paper); stroke: var(--blue); stroke-width: 2; }
/* no JS: a still line stands in */
.run::before { content: ''; position: absolute; top: 0; bottom: 0; z-index: 0; left: calc(max(0px, (100% - var(--wrap)) / 2) + var(--pad) + var(--lx)); border-left: 2px solid var(--blue); }
.js-line .run::before { display: none; }

.sec { padding: var(--step) 0; }
.sec--tint { background: var(--tint); }
.sec > .wrap, .page-head > .wrap { padding-left: calc(var(--pad) + var(--gut)); }
.sec:not(.sec--tint):not(.cta) + .sec:not(.sec--tint):not(.cta) { padding-top: 0; }

/* ---------------------------------------------------------------- inner page head */
.page-head { padding: clamp(28px, 4vw, 56px) 0 var(--step); }
.crumbs ol { list-style: none; margin: 0 0 clamp(28px, 4vw, 48px); padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li { font: 500 15px/1.4 var(--display); font-stretch: 80%; color: var(--slate); }
.crumbs li + li::before { content: '/'; margin: 0 10px; color: var(--fog); }
.crumbs a { color: var(--slate); }
.page-head__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-head__grid--solo { grid-template-columns: minmax(0, 1fr); }
.page-head h1 { margin-bottom: 0.35em; }
@media (max-width: 900px) {
  .page-head__grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- the viewfinder */
.finder { margin: 0; justify-self: center; width: min(100%, 420px); }
.finder__glass { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--night); box-shadow: 0 0 0 2px var(--blue), 0 0 0 10px var(--paper), 0 0 0 11px var(--rule); }
.finder__glass img { width: 100%; height: 100%; object-fit: cover; }
.finder__glass::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg stroke='%23E6ECF4' stroke-opacity='.55' stroke-width='.35'%3E%3Cpath d='M50 2v5M50 93v5M2 50h5M93 50h5'/%3E%3Cpath d='M47 50h6M50 47v6' stroke-opacity='.4'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; pointer-events: none; }
.finder figcaption { margin-top: 18px; text-align: center; font: 500 14.5px/1.45 var(--display); font-stretch: 80%; color: var(--slate); }

/* ---------------------------------------------------------------- homepage: the story */
.story { position: relative; }
.stage { display: none; }
.has-3d .stage { display: block; position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--paper); z-index: 0; }
.has-3d .stage canvas { display: block; width: 100%; height: 100%; }
.has-3d .beats { margin-top: -100vh; margin-top: -100svh; position: relative; z-index: 1; }
.hud { position: absolute; inset: 0; pointer-events: none; opacity: calc(clamp(0, (var(--open, 0) - 0.85) * 6.7, 1) * (1 - var(--day, 0))); transition: opacity 0.2s linear; font: 500 14.5px/1.35 var(--display); font-stretch: 78%; letter-spacing: 0.02em; color: var(--mist); }
.hud p { position: absolute; margin: 0; max-width: none; }
.hud__brand { left: var(--pad); top: 22px; }
.hud__dist { left: var(--pad); bottom: 22px; color: var(--orange); font-variant-numeric: tabular-nums; }
.hud__note { right: var(--pad); bottom: 22px; text-align: right; }
.stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: calc(clamp(0, (var(--open, 0) - 0.85) * 6.7, 1) * (1 - var(--day, 0))); background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(3, 6, 12, 0.55) 100%); }

.beat { position: relative; }
.hero { text-align: center; padding-top: clamp(12px, 2vh, 28px); padding-bottom: clamp(40px, 6vh, 72px); }
.hero h1 { font-size: clamp(38px, 4.9vw, 72px); max-width: 16ch; margin: 0 auto; }
.hero__sub { margin: 16px auto 0; font-size: clamp(18px, 1.35vw, 20px); color: var(--slate); max-width: 56ch; }
.hero__lens { position: relative; width: min(46vh, 80vw, 470px); aspect-ratio: 1; margin: clamp(28px, 4.4vh, 48px) auto 0; border-radius: 50%; }
.hero__lens img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; transition: opacity 0.5s ease; }
.hero__bezel { position: absolute; inset: -14px; pointer-events: none; color: var(--blue); }
.hero__bezel svg { width: 100%; height: 100%; overflow: visible; }
.pipe-live .hero__lens img { opacity: 0; }
.has-3d .hero > :not(.hero__lens) { opacity: calc(1 - var(--open, 0) * 2.2); }
.has-3d .hero__bezel { opacity: calc(1 - var(--open, 0) * 3); }
.hero .acts { justify-content: center; margin-top: clamp(18px, 2.6vh, 28px); }

.beat__panel { position: relative; }
.beat__panel h2 { margin-bottom: 0.4em; }
.beat__panel p { margin-bottom: 0.8em; }
.beat__panel .acts { margin-top: 18px; }
.beat__more { font: 500 16.5px/1.3 var(--body); }

/* no 3D (no WebGL, no JS, reduced motion): the beats are an ordinary, complete page */
html:not(.has-3d) .beat:not(.beat--hero) { padding: clamp(56px, 7vw, 96px) 0; }
html:not(.has-3d) .beat:not(.beat--hero):nth-child(even) { background: var(--tint); }
html:not(.has-3d) .beat__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 72px); align-items: center; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad) 0 calc(var(--pad) + var(--gut)); }
html:not(.has-3d) .beat--r .beat__inner .finder { order: -1; }
html:not(.has-3d) .beat--exit .beat__inner { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 900px) {
  html:not(.has-3d) .beat__inner { grid-template-columns: 1fr; }
  html:not(.has-3d) .beat--r .beat__inner .finder { order: 0; }
}

/* 3D: each beat is a stretch of scroll; its panel rides over the camera's view */
.has-3d .beat--hero { min-height: 145vh; }
.has-3d .beat:not(.beat--hero) { height: 170vh; }
.has-3d .beat--exit { height: 150vh; }
.has-3d .beat .finder { display: none; }
.has-3d .beat__inner { position: sticky; top: 0; height: 100vh; height: 100svh; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; }
.has-3d .beat--r .beat__inner { justify-content: flex-end; }
.has-3d .beat__panel { width: min(440px, 40vw); padding: 30px 32px 26px; background: rgba(5, 9, 17, 0.8); border-radius: 6px; color: var(--mist); opacity: 0; transform: translateY(14px); transition: opacity 0.45s ease, transform 0.45s ease; }
.has-3d .beat.is-live .beat__panel { opacity: 1; transform: none; }
.has-3d .beat__panel h2 { color: #fff; font-size: clamp(30px, 2.8vw, 42px); }
.has-3d .beat__panel p { color: var(--mist); font-size: 17.5px; }
.has-3d .beat__panel a:not(.btn) { color: #fff; }
.has-3d .beat__panel .btn { background: #fff; color: var(--ink); }
.has-3d .beat__panel .btn:hover { background: var(--mist); }
.has-3d .beat__panel :focus-visible { outline-color: var(--orange); }
.has-3d .beat--exit .beat__inner { justify-content: center; }
.has-3d .beat--exit .beat__panel { background: rgba(255, 255, 255, 0.92); color: var(--ink); width: min(560px, 90vw); text-align: center; }
.has-3d .beat--exit .beat__panel h2 { color: var(--ink); }
.has-3d .beat--exit .beat__panel p { color: var(--slate); margin-left: auto; margin-right: auto; }
.has-3d .beat--exit .beat__panel .acts { justify-content: center; }
.has-3d .beat--exit .beat__panel a:not(.btn) { color: var(--blue); }
.has-3d .beat--exit .beat__panel .btn { background: var(--blue); color: #fff; }
.has-3d .beat--exit .beat__panel :focus-visible { outline-color: var(--blue); }
@media (max-width: 760px) {
  .has-3d .beat__inner { align-items: flex-end; padding-bottom: 96px; }
  .has-3d .beat__panel { width: 100%; padding: 22px 20px 18px; }
  .has-3d .beat__panel h2 { font-size: 28px; }
  .has-3d .beat__panel p { font-size: 16.5px; }
  .hud__brand { top: 14px; }
  .hud__dist, .hud__note { bottom: auto; top: 36px; }
  .hud__note { left: auto; }
}

/* ---------------------------------------------------------------- proof: Google */
.score { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 clamp(28px, 4vw, 44px); }
.score__num { font: 300 clamp(96px, 12vw, 168px)/0.9 var(--body); font-stretch: 100%; letter-spacing: -0.045em; color: var(--ink); }
.score__of { font: 400 clamp(20px, 1.8vw, 26px)/1.3 var(--body); color: var(--slate); max-width: 22ch; }
.stars { display: inline-flex; gap: 2px; color: var(--orange); vertical-align: middle; }
.stars svg { width: 15px; height: 15px; }
.wall { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 0 28px; border-top: 1px solid var(--rule); }
.wall li { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto 1fr; align-content: start; gap: 2px 14px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.mono { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--blue); display: grid; place-items: center; font: 500 15px/1 var(--display); font-stretch: 90%; color: var(--blue); background: var(--white); }
.wall__who { grid-column: 2; font: 560 17px/1.3 var(--body); }
.wall__meta { grid-column: 2; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 14.5px; color: var(--slate); }
.wall__meta time { white-space: nowrap; }
.reply { grid-column: 2; margin: 8px 0 0; padding: 10px 12px; background: var(--white); border-radius: 4px; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.reply b { display: block; font: 500 14px/1.3 var(--display); font-stretch: 80%; color: var(--blue); margin-bottom: 2px; }
.proof-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; font-weight: 500; }

/* ---------------------------------------------------------------- sequences (real ones only) */
.seq { list-style: none; padding: 0; margin: clamp(24px, 3vw, 40px) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px clamp(24px, 3vw, 44px); counter-reset: step; }
.seq li { counter-increment: step; position: relative; padding-top: 58px; }
.seq li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--blue); display: grid; place-items: center; font: 400 18px/1 var(--display); font-stretch: 100%; color: var(--blue); background: var(--paper); }
.seq li::after { content: ''; position: absolute; left: 48px; right: -12px; top: 20px; height: 2px; background: var(--rule); }
.seq li:last-child::after { display: none; }
.seq h3 { font-size: 20px; }
.seq p { font-size: 16.5px; color: var(--slate); }
.sec--tint .seq li::before { background: var(--tint); }

/* ---------------------------------------------------------------- lists and content blocks */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px clamp(28px, 4vw, 56px); margin-top: 8px; }
.cols h3 { font-size: 19px; }
.cols p { font-size: 16.5px; color: var(--slate); margin: 0; }
.ticks { list-style: none; padding: 0; margin: 0; columns: 2 280px; column-gap: 48px; }
.ticks li { break-inside: avoid; padding: 10px 0 10px 26px; position: relative; border-bottom: 1px solid var(--rule); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 21px; width: 12px; height: 2px; background: var(--blue); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border-top: 2px solid var(--blue); margin: 8px 0 12px; }
.facts div { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font: 500 14.5px/1.3 var(--display); font-stretch: 80%; color: var(--slate); }
.facts dd { margin: 4px 0 0; font: 400 clamp(24px, 2.2vw, 32px)/1.15 var(--body); letter-spacing: -0.01em; }
.compare { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 16.5px; }
.compare caption { text-align: left; }
.compare th, .compare td { text-align: left; padding: 13px 16px 13px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare thead th { font: 500 15px/1.3 var(--display); font-stretch: 80%; color: var(--slate); border-bottom: 2px solid var(--blue); }
.compare tbody th { font-weight: 500; }
.note { border-left: 2px solid var(--orange); padding: 4px 0 4px 18px; color: var(--ink); max-width: 64ch; }
.safety { background: var(--white); border: 1px solid var(--rule); border-radius: 6px; padding: 24px 26px; max-width: 70ch; }
.safety h3 { margin-bottom: 8px; }

/* prices and plans */
.prices { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.prices li { background: var(--white); border: 1px solid var(--rule); border-radius: 6px; padding: 26px 24px; }
.prices h3 { margin-bottom: 2px; }
.from { font: 300 54px/1 var(--body); letter-spacing: -0.035em; margin: 10px 0 4px; }
.from small { font: 500 15px/1 var(--display); font-stretch: 80%; color: var(--slate); letter-spacing: 0; margin-left: 6px; }
.prices ul { list-style: none; padding: 0; margin: 14px 0 0; }
.prices ul li { background: none; border: 0; border-top: 1px solid var(--rule); border-radius: 0; padding: 9px 0; font-size: 16px; }

/* questions */
.qa { border-top: 1px solid var(--rule); max-width: 820px; }
.qa details { border-bottom: 1px solid var(--rule); }
.qa summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font: 500 19px/1.4 var(--body); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform 0.2s ease; }
.qa details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.qa details > div { padding: 0 0 22px; color: var(--slate); }
.qa details > div p { margin-bottom: 0.7em; }

/* the service list on the hub */
.svc { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.svc li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.svc h3 { font: 340 clamp(24px, 2.2vw, 30px)/1.15 var(--display); font-stretch: 106%; margin: 0 0 6px; }
.svc h3 a { color: var(--ink); text-decoration: none; }
.svc h3 a:hover { color: var(--blue); text-decoration: underline; }
.svc p { margin: 0; color: var(--slate); font-size: 16.5px; }
.svc .ask { font: 500 16px/1.3 var(--body); color: var(--blue); background: none; border: 0; padding: 8px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; white-space: nowrap; }
@media (max-width: 640px) { .svc li { grid-template-columns: 1fr; } .svc .ask { justify-self: start; } }

/* service area: the network */
.net { margin: 12px 0 0; }
.net svg { width: 100%; height: auto; display: block; max-width: 880px; }
.net .pipe { fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.net .hub { fill: var(--blue); }
.net .town { fill: var(--paper); stroke: var(--blue); stroke-width: 2.2; }
.net a text { fill: var(--ink); font: 500 15px var(--body); }
.net a:hover text, .net a:focus text { fill: var(--blue); text-decoration: underline; }
.net a:focus { outline: none; }
.net a:focus-visible .town { stroke: var(--orange); stroke-width: 3; }
.net .hub-label { fill: var(--ink); font: 400 18px var(--display); font-stretch: 104%; }
.towns { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0 40px; }
.towns li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.towns a { font: 560 18px/1.3 var(--body); }
.towns span { display: block; color: var(--slate); font-size: 15.5px; margin-top: 3px; }
@media (max-width: 760px) {
  .net a text { font-size: 30px; }
  .net .hub-label { font-size: 34px; }
  .net .pipe { stroke-width: 4.5; }
  .net .town { stroke-width: 4; }
}
.map { margin-top: 24px; border-radius: 6px; overflow: hidden; border: 1px solid var(--rule); background: var(--tint); }
.map iframe { display: block; width: 100%; height: clamp(280px, 38vw, 420px); border: 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.hours { width: 100%; border-collapse: collapse; font-size: 16.5px; }
.hours th, .hours td { text-align: left; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.hours th { font-weight: 500; }
form.enquiry { display: grid; gap: 18px; max-width: 560px; }
.field label { display: block; font: 500 16px/1.3 var(--body); margin-bottom: 7px; }
.field input, .field textarea { width: 100%; font: 400 17px/1.4 var(--body); color: var(--ink); background: var(--white); border: 1.5px solid #8C99AD; border-radius: 6px; padding: 13px 14px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form-status { min-height: 1.6em; margin: 0; font-weight: 500; }
.form-status.is-ok { color: #1D6B3A; }
.form-status.is-err { color: #A3261B; }

/* the closing band */
.cta { background: var(--blue); color: #fff; }
.cta h2 { color: #fff; }
.cta p { color: var(--mist); }
.cta .btn { background: #fff; color: var(--ink); }
.cta .btn:hover { background: var(--mist); }
.cta .call { color: #fff; }
.cta :focus-visible { outline-color: #fff; }

/* ---------------------------------------------------------------- footer: where the line meets the main */
.site-foot { background: var(--ink); color: var(--fog); padding: 0 0 36px; font-size: 16px; position: relative; }
.site-foot::before { content: ''; display: block; height: 2px; background: var(--blue); }
.foot-grid { display: grid; grid-template-columns: 1.25fr 1fr 0.9fr 1.35fr 0.8fr; gap: 36px clamp(24px, 3vw, 44px); padding-top: 56px; padding-bottom: 36px; border-bottom: 1px solid rgba(169, 182, 200, 0.25); }
.foot-grid h2 { font: 500 15px/1.3 var(--display); font-stretch: 80%; letter-spacing: 0.01em; color: #fff; margin: 0 0 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin: 0 0 9px; }
.foot-grid a { color: var(--mist); text-decoration: none; overflow-wrap: anywhere; }
.foot-grid a:hover { color: #fff; text-decoration: underline; }
.foot-brand img { width: 220px; margin-bottom: 16px; }
.foot-brand p { color: var(--fog); font-size: 15.5px; max-width: 34ch; }
.foot-grid :focus-visible, .foot-legal :focus-visible { outline-color: var(--orange); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 22px; font-size: 14px; color: var(--fog); }
.foot-legal p { margin: 0; max-width: none; }
.foot-legal a { color: var(--mist); }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
