:root {
  --mist: #EDF3F2;
  --paper: #F8FBFA;
  --ink: #0B2233;
  --muted: #46606E;
  --tide: #0F7FB5;
  --tide-d: #0A628D;
  --foam: #CFE4EA;
  --deep: #0A3347;
  --dig: #E0501B;
  --line: rgba(11, 34, 51, .14);
  --gut: clamp(1rem, 4vw, 3rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Bricolage Grotesque", "Public Sans", system-ui, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--tide); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--mist); padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: .5rem; top: .5rem; }

/* header: lined up with the page content */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--mist) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .25s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { max-width: 78rem; margin: 0 auto; padding: .7rem var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font: 800 1.45rem/1 var(--display); letter-spacing: -.03em; }
.top nav { display: flex; align-items: center; gap: clamp(.9rem, 2.2vw, 1.8rem); font-size: .95rem; font-weight: 500; }
.top nav a:not(.btn) { text-decoration: none; padding: .3rem 0; background: linear-gradient(var(--tide), var(--tide)) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); }
.top nav a:not(.btn):hover { background-size: 100% 2px; }

.btn { display: inline-block; border: 0; cursor: pointer; text-decoration: none; font: 600 1rem/1 var(--body); padding: .95rem 1.35rem; border-radius: 10px; background: var(--ink); color: var(--mist); transition: background .2s, transform .2s var(--ease); }
.btn:hover { background: var(--tide-d); transform: translateY(-2px); }
.btn:active { transform: none; }
.btn-small { padding: .6rem 1rem; font-size: .92rem; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(2.5rem, 6vw, 5rem) var(--gut) clamp(2rem, 5vw, 4rem); max-width: 78rem; margin: 0 auto; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); font-weight: 800; line-height: .98; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .1em; }
.hero h1 .line > span { display: block; transform: translateY(105%); transition: transform .9s var(--ease); }
.hero h1 .line:nth-child(2) > span { transition-delay: .1s; color: var(--tide-d); }
.ready .hero h1 .line > span { transform: none; }
.lede { margin-top: 1.4rem; max-width: 30rem; color: var(--muted); font-size: 1.2rem; opacity: 0; transform: translateY(10px); transition: opacity .7s .5s, transform .7s .5s var(--ease); }
.hero-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; opacity: 0; transition: opacity .7s .7s; }
.ready .lede { opacity: 1; transform: none; }
.ready .hero-cta { opacity: 1; }
.link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--tide); padding-bottom: 2px; }
.link:hover { color: var(--tide-d); }

.net { margin: 0; }
.net-map { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(11, 34, 51, .5); background: #6f8153; }
.net-map svg { width: 100%; height: auto; }
.call { position: absolute; left: calc(var(--x) / 600 * 100%); top: calc(var(--y) / 520 * 100%); background: rgba(255, 255, 255, .96); border-radius: 9px; padding: .45rem .65rem; font-size: .78rem; line-height: 1.3; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s var(--ease), outline-color .2s; outline: 2px solid transparent; }
.call b { display: block; font-size: .82rem; }
.call span { color: var(--muted); }
.ready .call { opacity: 1; transform: none; transition-delay: var(--d, 1.4s); }
.call.on { outline-color: var(--tide); }
.net .pin { cursor: pointer; outline: none; }
.net .pin .ring { fill: #fff; stroke: var(--ink); stroke-width: 3; transition: fill .2s, stroke .2s; }
.net .pin:hover .ring, .net .pin:focus-visible .ring, .net .pin.on .ring { fill: var(--foam); stroke: var(--tide); }
.net .pin.ticket .ring { stroke: var(--dig); }
.net .pin g { stroke: var(--ink); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tip { margin-top: .8rem; color: var(--muted); font-size: .95rem; }
.pipe-o { stroke: rgba(4, 28, 44, .55); stroke-width: 9; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pipe-i { stroke: #5fd3f7; stroke-width: 4.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pipe-f { stroke: #fff; stroke-width: 2; fill: none; stroke-linecap: round; stroke-dasharray: 1 14; opacity: 0; animation: drift 2.6s linear infinite; transition: opacity .8s 2.2s; }
.ready .pipe-f { opacity: .9; }
@keyframes drift { to { stroke-dashoffset: -30; } }

/* features along the pipe */
.stops { position: relative; max-width: 78rem; margin: 0 auto; padding: 2rem var(--gut) 2rem calc(var(--gut) + 4.6rem); }
.rail { position: absolute; left: var(--gut); top: 1.5rem; bottom: 1.5rem; width: 4px; border-radius: 4px; background: var(--foam); overflow: hidden; }
.rail-fill { position: absolute; top: 0; left: 0; right: 0; height: var(--fill, 0px); background: linear-gradient(180deg, var(--tide-d), #35b4ea); border-radius: 4px; }
.stop { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding: 3.2rem 0; }
.node { position: absolute; left: calc(-4.6rem - 20px); top: 2.5rem; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 1.5px solid #b9cfd6; color: var(--tide-d); display: grid; place-items: center; box-shadow: 0 0 0 6px var(--mist); transition: background .35s, color .35s, border-color .35s, box-shadow .35s; }
.node svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.node.lit { background: var(--tide); border-color: var(--tide); color: #fff; box-shadow: 0 0 0 6px var(--mist), 0 6px 16px -4px rgba(15, 127, 181, .6); }
.node.dig-node.lit { background: var(--dig); border-color: var(--dig); box-shadow: 0 0 0 6px var(--mist), 0 6px 16px -4px rgba(224, 80, 27, .6); }
.stop h2 { font-size: clamp(1.6rem, 2.9vw, 2.3rem); font-weight: 700; line-height: 1.1; max-width: 20ch; }
.stop-text p { margin-top: 1rem; color: var(--muted); max-width: 34rem; }

.vis { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem; min-width: 0; }
.vis-note { margin-top: .9rem; color: var(--muted); font-size: .85rem; }

/* report-style table */
.vis-report { overflow-x: auto; }
.report { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 24rem; }
.report th { text-align: left; font-weight: 600; font-size: .82rem; color: var(--muted); padding: 0 .6rem .6rem 0; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.report td { padding: .65rem .6rem .65rem 0; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.report .n { text-align: right; }
.report th.n { padding-right: .9rem; }
.report td.n { padding-right: .9rem; }
.report .up { color: #a23a12; font-weight: 600; }
.report .down { color: var(--tide-d); font-weight: 600; }
.flag { font-size: .78rem; font-weight: 600; padding: .18rem .6rem; border-radius: 999px; }
.flag.hi { background: #fde3d6; color: #9a3512; }
.flag.ok { background: #e4efe9; color: #2f6b4d; }
.flag.lo { background: #d9ecf8; color: #0a5a82; }

.asset-list, .wo { list-style: none; margin: 0; padding: 0; }
.asset-list li, .wo li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.asset-list li:first-child, .wo li:first-child { padding-top: 0; }
.asset-list span { color: var(--muted); font-size: .95rem; }
.asset-list .near { border-bottom: 0; padding-bottom: 0; }
.asset-list .near b { color: var(--tide-d); }

.map { position: relative; border-radius: 10px; overflow: hidden; line-height: 0; }
.map svg { width: 100%; height: auto; }
.map .sat, .map .street { transition: opacity .45s; }
.map[data-mode="sat"] .street, .map[data-mode="street"] .sat { opacity: 0; }
.map-card { position: absolute; left: .6rem; bottom: .6rem; background: rgba(255, 255, 255, .96); border-radius: 8px; padding: .4rem .65rem; font-size: .78rem; line-height: 1.3; box-shadow: 0 4px 14px -4px rgba(0, 0, 0, .4); }
.map-card b { display: block; }
.map-card span { color: var(--muted); }
.map-toggle, .lang { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--paper); line-height: 1; }
.map-toggle { position: absolute; right: .6rem; top: .6rem; }
.map-toggle button, .lang button { border: 0; background: transparent; font: 500 .85rem/1 var(--body); padding: .55rem .8rem; cursor: pointer; color: var(--ink); transition: background .2s, color .2s; }
.map-toggle button.on, .lang button.on { background: var(--ink); color: var(--mist); }

.meterbar { display: flex; height: 44px; border-radius: 8px; overflow: hidden; background: var(--foam); }
.meterbar span { display: flex; align-items: center; padding: 0 .9rem; font-size: .88rem; font-weight: 600; width: 0; white-space: nowrap; overflow: hidden; transition: width 1.1s var(--ease); }
.meterbar .under { background: var(--tide); color: #fff; }
.meterbar .over { background: var(--dig); color: #fff; }
.in-view .meterbar .under, .in-view .meterbar .over { width: var(--w); }
.mini { display: grid; gap: .8rem; margin: 1.2rem 0 0; }
.mini dt { font-weight: 600; }
.mini dd { margin: 0; color: var(--muted); font-size: .95rem; }

.phone-msg { display: grid; gap: 1rem; justify-items: start; }
.bubble { background: var(--ink); color: var(--mist); padding: .9rem 1.1rem; border-radius: 18px 18px 18px 4px; max-width: 30rem; animation: swap .35s var(--ease); }
.bubble[hidden] { display: none; }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } }

.st { font-size: .82rem; font-weight: 600; padding: .2rem .65rem; border-radius: 999px; }
.st.open { background: #d8eefa; color: #0a5a82; }
.st.prog { background: #fbe9c2; color: #7a4d00; }
.st.hold { background: #e2e6e9; color: #3f4c55; }
.st.done { background: #d6efdf; color: #17683a; }

/* connections */
.connect { max-width: 78rem; margin: 2rem auto 0; padding: 4rem var(--gut); }
.connect-head h2, .field h2, .data h2, .contact h2, .faq h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 700; line-height: 1.06; max-width: 22ch; }
.connect-head p { margin-top: 1rem; color: var(--muted); max-width: 40rem; }
.flowrow { margin-top: 2.6rem; display: grid; grid-template-columns: minmax(0, 1fr) 96px auto 96px minmax(0, 1fr); align-items: center; }
.flowrow ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.flowrow .in { justify-items: end; }
.flowrow li { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: .55rem .9rem; font-size: .95rem; font-weight: 500; }
/* steel pipe with water running through it, flanged where it meets the boxes and the hub */
.pipe-h { position: relative; height: 26px; margin: 0 -2px; z-index: 2; border-radius: 3px;
  background: linear-gradient(180deg, #f4f8f9 0%, #c3d3d9 38%, #8fa6b1 100%); box-shadow: 0 0 0 1px rgba(11, 34, 51, .35); }
.pipe-h::before, .pipe-h::after { content: ""; position: absolute; top: -5px; bottom: -5px; width: 10px; border-radius: 3px;
  background: linear-gradient(180deg, #f4f8f9 0%, #b3c5cc 45%, #7c939e 100%); box-shadow: 0 0 0 1px rgba(11, 34, 51, .4); }
.pipe-h::before { left: 0; }
.pipe-h::after { right: 0; }
.pipe-h i { position: absolute; left: 10px; right: 10px; top: 5px; bottom: 5px; border-radius: 3px; overflow: hidden;
  background: repeating-linear-gradient(90deg, #35b4ea 0 10px, #1d93c9 10px 20px); animation: run 1s linear infinite; }
.pipe-h i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 45%, rgba(0, 40, 70, .25)); }
@keyframes run { to { background-position: 20px 0; } }
.hub { background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; padding: 1.1rem 1.3rem; display: grid; justify-items: center; gap: .3rem; font: 800 1.2rem var(--display); letter-spacing: -.02em; box-shadow: 0 14px 28px -14px rgba(11, 34, 51, .5); position: relative; z-index: 1; }
.connect-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.connect-grid h3 { font-size: 1.2rem; font-weight: 700; }
.connect-grid p { margin-top: .5rem; color: var(--muted); max-width: 22rem; }

/* mobile app */
.field { max-width: 78rem; margin: 0 auto; padding: 3rem var(--gut) 4rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.field-copy p { margin-top: 1.1rem; color: var(--muted); max-width: 34rem; }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .7rem; }
.ticks li { padding-left: 1.9rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 1.05rem; height: .6rem; border-left: 3px solid var(--tide); border-bottom: 3px solid var(--tide); transform: rotate(-45deg) translateY(-30%); }

.phone { width: 292px; height: 590px; border-radius: 46px; background: #07121b; padding: 10px; box-shadow: 0 0 0 2px #1d3445, 0 36px 70px -28px rgba(11, 34, 51, .65); transition: transform .5s var(--ease); }
.phone:hover { transform: rotate(-1.5deg) translateY(-6px); }
.screen { position: relative; height: 100%; border-radius: 37px; background: #0c1a25; color: #e8f1f4; padding: 0 .9rem .9rem; overflow: hidden; display: flex; flex-direction: column; gap: .55rem; font-size: .8rem; line-height: 1.3; }
.island { position: absolute; top: 9px; left: 50%; width: 82px; height: 24px; margin-left: -41px; border-radius: 14px; background: #000; }
.p-status { display: flex; justify-content: space-between; padding: 14px 8px 8px; font-weight: 600; font-size: .78rem; }
.p-off { display: flex; align-items: center; gap: .5rem; background: #3a2c0b; color: #f4c04e; border-radius: 10px; padding: .45rem .7rem; font-weight: 500; font-size: .76rem; }
.p-off i { width: 8px; height: 8px; border-radius: 50%; background: #f4c04e; }
.p-title { font: 700 1.25rem var(--display); margin-top: .2rem; }
.p-chips { display: flex; gap: .4rem; }
.p-chips span { border: 1px solid #2a4254; border-radius: 999px; padding: .25rem .65rem; font-size: .74rem; color: #a9c0cc; }
.p-chips .on { background: #1caade; border-color: #1caade; color: #06232e; font-weight: 600; }
.p-card { display: flex; justify-content: space-between; align-items: center; gap: .6rem; background: #132b3b; border: 1px solid #1f3b4e; border-radius: 12px; padding: .6rem .75rem; }
.p-card b { display: block; font-size: .82rem; }
.p-card span { color: #8fa9b7; font-size: .74rem; }
.p-card .d { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.d.open { background: #1caade; }
.d.prog { background: #e0a01b; }
.p-map { flex: 1; min-height: 0; border-radius: 12px; overflow: hidden; line-height: 0; border: 1px solid #1f3b4e; }
.p-map svg { width: 100%; height: 100%; }
.p-tabs { display: flex; justify-content: space-around; padding-top: .55rem; border-top: 1px solid #1f3b4e; color: #8fa9b7; font-size: .74rem; }
.p-tabs .on { color: #1caade; font-weight: 600; }

/* data */
.data { background: var(--deep); color: var(--foam); }
.data-in { max-width: 78rem; margin: 0 auto; padding: 5rem var(--gut); }
.data h2 { color: #fff; }
.data-grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); }
.data h3 { font-size: 1.25rem; color: #fff; font-weight: 700; }
.data p { margin-top: .6rem; max-width: 24rem; }

/* contact */
.contact { max-width: 78rem; margin: 0 auto; padding: 6rem var(--gut); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact-copy p { margin-top: 1.1rem; color: var(--muted); max-width: 30rem; }
.form { display: grid; gap: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 1.6rem; }
.form label { display: grid; gap: .4rem; font-weight: 600; font-size: .95rem; }
.form input, .form textarea { font: 400 1rem var(--body); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 9px; padding: .75rem .85rem; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--tide); box-shadow: 0 0 0 3px rgba(15, 127, 181, .2); }
.form input.bad { border-color: var(--dig); }
.form .btn { justify-self: start; }
.form-note { min-height: 1.4em; font-size: .95rem; color: var(--muted); }

/* questions */
.faq { max-width: 52rem; margin: 0 auto; padding: 2rem var(--gut) 6rem; }
.faq h2 { margin-bottom: 1.5rem; }
.q { border-top: 1px solid var(--line); }
.q:last-child { border-bottom: 1px solid var(--line); }
.q-b { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; background: none; border: 0; cursor: pointer; padding: 1.2rem 0; font: 600 1.1rem var(--body); color: var(--ink); }
.q-b::after { content: ""; width: .7rem; height: .7rem; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); transition: transform .3s var(--ease); flex: none; margin-right: .3rem; }
.q-b[aria-expanded="true"]::after { transform: rotate(-135deg); }
.q-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.q-b[aria-expanded="true"] + .q-a { grid-template-rows: 1fr; }
.q-a > div { overflow: hidden; }
.q-a p { padding-bottom: 1.3rem; color: var(--muted); max-width: 40rem; }
.q-a a { color: var(--tide-d); font-weight: 600; }

.foot { border-top: 1px solid var(--line); }
.foot-in { max-width: 78rem; margin: 0 auto; padding: 2rem var(--gut); display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; align-items: center; color: var(--muted); font-size: .92rem; }
.foot-brand { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); font: 800 1.1rem var(--display); }

/* the line lights each stop; the text slides in once */
.stop-text, .vis { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .stop:not(.in-view) .stop-text { opacity: 0; transform: translateX(-18px); }
.js .stop:not(.in-view) .vis { opacity: 0; transform: translateY(22px); }

@media (max-width: 900px) {
  .top nav a:not(.btn) { display: none; }
  .hero, .stop, .field, .contact { grid-template-columns: minmax(0, 1fr); }
  .stops { padding-left: calc(var(--gut) + 3.4rem); }
  .stop { gap: 1.4rem; padding: 2.4rem 0; }
  .node { left: calc(-3.4rem - 17px); top: 2.2rem; width: 38px; height: 38px; }
  .node svg { width: 22px; height: 22px; }
  .data-grid, .connect-grid { grid-template-columns: minmax(0, 1fr); }
  .field .phone { justify-self: center; }
  .flowrow { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: .6rem; }
  .flowrow .in, .flowrow .out { justify-items: center; }
  .pipe-h { width: 26px; height: 56px; margin: -2px 0; background: linear-gradient(90deg, #f4f8f9 0%, #c3d3d9 38%, #8fa6b1 100%); }
  .pipe-h::before, .pipe-h::after { left: -5px; right: -5px; width: auto; height: 10px; top: auto; bottom: auto; }
  .pipe-h::before { top: 0; } .pipe-h::after { bottom: 0; }
  .pipe-h i { left: 5px; right: 5px; top: 10px; bottom: 10px; background: repeating-linear-gradient(180deg, #35b4ea 0 10px, #1d93c9 10px 20px); animation-name: run-v; }
}
@keyframes run-v { to { background-position: 0 20px; } }
@media (max-width: 600px) {
  .call { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero h1 .line > span, .lede, .hero-cta, .call { opacity: 1 !important; transform: none !important; }
  .pipe-f { opacity: .9 !important; }
  .js .stop:not(.in-view) .stop-text, .js .stop:not(.in-view) .vis { opacity: 1; transform: none; }
}

/* contact pushes */
.btn-tide { background: var(--tide); color: #fff; box-shadow: 0 10px 24px -10px rgba(15, 127, 181, .8); }
.btn-tide:hover { background: var(--tide-d); }
.btn-light { background: #fff; color: var(--deep); }
.btn-light:hover { background: var(--foam); }
.ask { display: inline-block; margin-top: 1.1rem; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--tide-d); border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.ask:hover { color: var(--ink); }
.band { background: var(--deep); color: #fff; margin: 2rem 0; }
.band-in { max-width: 78rem; margin: 0 auto; padding: clamp(2.2rem, 5vw, 3.6rem) var(--gut); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem 3rem; }
.band h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; line-height: 1.05; }
.band p { margin-top: .7rem; max-width: 36rem; color: #cfe4ea; }
.contact-copy .reply { font-weight: 600; color: var(--tide-d); }
.float-cta { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 30; background: var(--tide); color: #fff; text-decoration: none; font-weight: 600; padding: .85rem 1.3rem; border-radius: 999px; box-shadow: 0 14px 30px -10px rgba(10, 51, 71, .7); transition: opacity .3s, transform .3s var(--ease), background .2s; }
.float-cta:hover { background: var(--tide-d); }
.float-cta.away { opacity: 0; transform: translateY(12px); pointer-events: none; }

/* real imagery under the sample maps */
.tiles image { image-rendering: auto; }
.net-map .shade, .map .shade { pointer-events: none; }

.net .pin.ticket .ring { fill: var(--dig); stroke: #fff; stroke-width: 2.5; }
.contact { padding-top: 2rem; padding-bottom: 3rem; }

/* branch pipes: every box feeds the header pipe, which runs into the hub */
.flowrow .in, .flowrow .out { position: relative; }
.flowrow .in { padding-right: 28px; }
.flowrow .out { padding-left: 28px; }
.flowrow li { position: relative; }
.flowrow .in li::after, .flowrow .out li::before { content: ""; position: absolute; top: 50%; width: 28px; height: 8px; margin-top: -4px;
  background: linear-gradient(180deg, #f4f8f9, #b3c5cc 50%, #7c939e); box-shadow: 0 0 0 1px rgba(11, 34, 51, .35); }
.flowrow .in li::after { left: 100%; }
.flowrow .out li::before { right: 100%; }
.flowrow .in::after, .flowrow .out::before { content: ""; position: absolute; top: 24px; bottom: 24px; width: 14px; border-radius: 4px;
  background: linear-gradient(90deg, #f4f8f9, #b3c5cc 50%, #7c939e); box-shadow: 0 0 0 1px rgba(11, 34, 51, .4); }
.flowrow .in::after { right: 0; }
.flowrow .out::before { left: 0; }
@media (max-width: 900px) {
  .flowrow .in, .flowrow .out { padding: 0; }
  .flowrow li::before, .flowrow li::after, .flowrow .in::after, .flowrow .out::before { display: none; }
}

/* water: depth, a moving sheen, and bubbles */
.pipe-h i {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .95) 0 1.4px, rgba(255, 255, 255, 0) 2.4px) 0 0 / 31px 100% repeat-x,
    radial-gradient(circle at 50% 68%, rgba(255, 255, 255, .8) 0 1px, rgba(255, 255, 255, 0) 2px) 9px 0 / 23px 100% repeat-x,
    linear-gradient(100deg, rgba(255, 255, 255, 0) 0 30%, rgba(255, 255, 255, .45) 50%, rgba(255, 255, 255, 0) 70% 100%) 0 0 / 54px 100% repeat-x,
    linear-gradient(180deg, #8ae6ff 0%, #35b9ee 40%, #1387c2 75%, #0b5f93 100%);
  animation: flow 1.5s linear infinite;
}
@keyframes flow { to { background-position: 31px 0, 32px 0, 54px 0, 0 0; } }
.pipe-h i::after { background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 38%, rgba(0, 30, 60, .3)); }
.flowrow .in li::after, .flowrow .out li::before {
  padding: 2px; box-sizing: border-box;
  background:
    linear-gradient(180deg, #8ae6ff, #2aa7e0 55%, #0e6fa6) content-box,
    linear-gradient(180deg, #f4f8f9, #b3c5cc 50%, #7c939e) border-box;
}
.flowrow .in::after, .flowrow .out::before {
  padding: 3px; box-sizing: border-box;
  background:
    linear-gradient(90deg, #8ae6ff, #2aa7e0 55%, #0e6fa6) content-box,
    linear-gradient(90deg, #f4f8f9, #b3c5cc 50%, #7c939e) border-box;
}
@media (max-width: 900px) {
  .pipe-h i {
    background:
      radial-gradient(circle at 30% 50%, rgba(255, 255, 255, .95) 0 1.4px, rgba(255, 255, 255, 0) 2.4px) 0 0 / 100% 31px repeat-y,
      radial-gradient(circle at 68% 50%, rgba(255, 255, 255, .8) 0 1px, rgba(255, 255, 255, 0) 2px) 0 9px / 100% 23px repeat-y,
      linear-gradient(10deg, rgba(255, 255, 255, 0) 0 30%, rgba(255, 255, 255, .45) 50%, rgba(255, 255, 255, 0) 70% 100%) 0 0 / 100% 54px repeat-y,
      linear-gradient(90deg, #8ae6ff 0%, #35b9ee 40%, #1387c2 75%, #0b5f93 100%);
    animation: flow-v 1.5s linear infinite;
  }
  @keyframes flow-v { to { background-position: 0 31px, 0 32px, 0 54px, 0 0; } }
}
@media (prefers-reduced-motion: reduce) { .pipe-h i { animation: none !important; } }

/* modern flow lines: flat tracks with light moving through them (replaces the steel pipes above) */
.pipe-h { height: 10px; margin: 0; border-radius: 999px; background: var(--foam); box-shadow: none; z-index: 2; }
.pipe-h::before, .pipe-h::after { content: ""; position: absolute; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--paper); border: 3px solid var(--tide); box-shadow: none; }
.pipe-h::before { left: -8px; bottom: auto; }
.pipe-h::after { right: -8px; }
.pipe-h i, .pipe-h i::after { inset: 0; left: 0; right: 0; top: 0; bottom: 0; border-radius: 999px; }
.pipe-h i { background: linear-gradient(90deg, rgba(15, 127, 181, .28), rgba(15, 127, 181, .28)) , linear-gradient(90deg, transparent 0, #0F7FB5 35%, #6fdcff 50%, #0F7FB5 65%, transparent 100%) 0 0 / 60px 100% repeat-x; background-blend-mode: normal; animation: pulse 1.4s linear infinite; }
.pipe-h i::after { background: none; }
@keyframes pulse { to { background-position: 0 0, 60px 0; } }
.flowrow .in li::after, .flowrow .out li::before { height: 3px; margin-top: -1.5px; padding: 0; width: 28px; box-shadow: none; border-radius: 3px;
  background: linear-gradient(90deg, transparent 0, #0F7FB5 40%, #6fdcff 50%, #0F7FB5 60%, transparent 100%) 0 0 / 40px 100% repeat-x, var(--foam); animation: pulse2 1.4s linear infinite; }
@keyframes pulse2 { to { background-position: 40px 0, 0 0; } }
.flowrow .in::after, .flowrow .out::before { width: 3px; padding: 0; box-shadow: none; border-radius: 3px; background: var(--foam); }
.flowrow .in::after { right: 0; } .flowrow .out::before { left: 0; }
.flowrow .in { padding-right: 28px; } .flowrow .out { padding-left: 28px; }
.hub { border: 2px solid var(--tide); box-shadow: 0 0 0 6px rgba(15, 127, 181, .12), 0 18px 36px -18px rgba(11, 34, 51, .5); }
@media (max-width: 900px) {
  .flowrow .in, .flowrow .out { padding: 0; }
  .flowrow li::before, .flowrow li::after, .flowrow .in::after, .flowrow .out::before { display: none; }
  .pipe-h { width: 10px; height: 56px; }
  .flowrow .pipe-h::before, .flowrow .pipe-h::after { display: block; left: 50%; right: auto; top: auto; margin: 0 0 0 -8px; }
  .pipe-h::before { top: -8px; } .pipe-h::after { bottom: -8px; }
  .pipe-h i { background: linear-gradient(180deg, rgba(15, 127, 181, .28), rgba(15, 127, 181, .28)), linear-gradient(180deg, transparent 0, #0F7FB5 35%, #6fdcff 50%, #0F7FB5 65%, transparent 100%) 0 0 / 100% 60px repeat-y; animation: pulse-v 1.4s linear infinite; }
  @keyframes pulse-v { to { background-position: 0 0, 0 60px; } }
}
@media (prefers-reduced-motion: reduce) { .pipe-h i, .flowrow li::after, .flowrow li::before { animation: none !important; } }

/* one continuous run of water: boxes, branches, header, main line and hub share one color and one flow */
.flowrow { --track: #9ccfe6; }
.flowrow .in::after, .flowrow .out::before { background: var(--track); }
.flowrow .in li::after, .flowrow .out li::before { background: linear-gradient(90deg, transparent 0, #0F7FB5 40%, #6fdcff 50%, #0F7FB5 60%, transparent 100%) 0 0 / 40px 100% repeat-x, var(--track); }
.pipe-h { background: var(--track); }
.pipe-h i { background: linear-gradient(90deg, transparent 0, #0F7FB5 35%, #6fdcff 50%, #0F7FB5 65%, transparent 100%) 0 0 / 60px 100% repeat-x; animation: pulse3 1.4s linear infinite; }
@keyframes pulse3 { to { background-position: 60px 0; } }
.in + .pipe-h::before, .hub + .pipe-h::after { display: none; }
.in + .pipe-h::after { right: -2px; }
.hub + .pipe-h::before { left: -2px; }
.in + .pipe-h { margin-left: -3px; } .hub + .pipe-h { margin-right: -3px; }
@media (max-width: 900px) {
  .in + .pipe-h, .hub + .pipe-h { margin: 0; }
  .in + .pipe-h::before, .hub + .pipe-h::after { display: none; }
  .in + .pipe-h::after { right: auto; bottom: -8px; }
  .hub + .pipe-h::before { left: 50%; top: -8px; }
  .pipe-h i { background: linear-gradient(180deg, transparent 0, #0F7FB5 35%, #6fdcff 50%, #0F7FB5 65%, transparent 100%) 0 0 / 100% 60px repeat-y; animation: pulse4 1.4s linear infinite; }
  @keyframes pulse4 { to { background-position: 0 60px; } }
}

/* same thickness everywhere so branches, header and main line merge; the hub dots sit above the water */
.pipe-h { height: 6px; }
.pipe-h::before, .pipe-h::after { z-index: 3; width: 14px; height: 14px; margin-top: -7px; border-width: 3px; }
.pipe-h i { z-index: 1; }
.in + .pipe-h::after { right: -3px; }
.hub + .pipe-h::before { left: -3px; }
.in + .pipe-h { margin-left: -6px; } .hub + .pipe-h { margin-right: -6px; }
.flowrow .in li::after, .flowrow .out li::before { height: 6px; margin-top: -3px; border-radius: 0; }
.flowrow .in::after, .flowrow .out::before { width: 6px; border-radius: 3px; }
@media (max-width: 900px) {
  .pipe-h { width: 6px; height: 56px; }
  .in + .pipe-h, .hub + .pipe-h { margin: 0; }
  .pipe-h::before, .pipe-h::after { margin: 0 0 0 -7px; }
}
.flowrow .in::after, .flowrow .out::before { top: 21px; bottom: 21px; border-radius: 0; }
@media (max-width: 900px) { .flowrow .in::after, .flowrow .out::before { display: none; } }

/* the map key: shown on phones, where the floating labels would not fit */
.legend { display: none; list-style: none; margin: 1rem 0 0; padding: 0; gap: .6rem; }
.legend li { display: flex; align-items: center; gap: .75rem; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: .6rem .8rem; }
.legend .lg { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); display: grid; place-items: center; }
.legend .lg svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.legend .lg-usa { border-color: var(--dig); background: var(--dig); color: #fff; }
.legend b { display: block; font-size: .92rem; line-height: 1.25; }
.legend span:not(.lg) { color: var(--muted); font-size: .85rem; }

@media (max-width: 600px) {
  .legend { display: grid; }
  .tip { display: none; }
  /* meter table: fits the screen */
  .vis-report { overflow-x: visible; padding: 1rem .9rem; }
  .report { min-width: 0; font-size: .85rem; table-layout: auto; }
  .report th, .report td { white-space: normal; padding-right: .5rem; }
  .report th:first-child, .report td:first-child { display: none; }
  .report td:nth-child(2) { min-width: 6.2rem; }
  .report th.n, .report td.n { padding-right: .6rem; }
  .meterbar span { padding: 0 .6rem; font-size: .82rem; }
  /* connections: two tidy groups with water between them */
  .flowrow { justify-items: stretch; gap: 0; }
  .flowrow .in, .flowrow .out { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; width: 100%; justify-items: stretch; }
  .flowrow li { text-align: center; font-size: .86rem; padding: .55rem .5rem; }
  .flowrow li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .flowrow .in::before, .flowrow .out::before { display: block; position: static; grid-column: 1 / -1; width: auto; height: auto; background: none; box-shadow: none; padding: 0 0 .1rem; font: 600 .8rem var(--body); color: var(--muted); text-align: center; }
  .flowrow .in::before { content: "What you bring"; }
  .flowrow .out::before { content: "What you get"; }
  .flowrow .pipe-h { justify-self: center; height: 48px; margin: 0; }
  .flowrow .hub { justify-self: center; margin: 0; }
}
@media (max-width: 600px) {
  .flowrow .pipe-h::before, .flowrow .pipe-h::after { left: 50%; right: auto; margin-left: -7px; }
  .flowrow .out::before { margin-top: .6rem; }
}

/* work order rows keep the status beside the title, even on phones */
.wo li { flex-wrap: nowrap; align-items: center; }
.wo li b { min-width: 0; }
.wo li .st { flex: none; white-space: nowrap; }

.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form.sent > :not(.thanks) { display: none; }
.form .thanks { display: grid; gap: .5rem; align-content: center; justify-items: center; text-align: center; min-height: 16rem; }
.form .thanks h3 { font: 700 1.8rem var(--head, var(--body)); color: var(--ink); }
.form .thanks p { color: var(--muted); max-width: 28ch; }
.form .thanks p { font: 700 1.5rem var(--body); color: var(--ink); max-width: 20ch; line-height: 1.3; }
