  :root {
    --bg: #f6f9fc; --surface: #ffffff; --ink: #14202e; --muted: #52627a;
    --line: #dbe4ee; --brand: #0b6fb8; --brand-ink: #ffffff; --brand-soft: #e4f1fb;
    --deep: #0a2a43;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #0c141d; --surface: #111c28; --ink: #e8eef5; --muted: #9db0c5;
      --line: #223245; --brand: #4aa3e0; --brand-ink: #06121d; --brand-soft: #112a3f;
      --deep: #06121d; color-scheme: dark;
    }
  }
  :root[data-theme="dark"] {
    --bg: #0c141d; --surface: #111c28; --ink: #e8eef5; --muted: #9db0c5;
    --line: #223245; --brand: #4aa3e0; --brand-ink: #06121d; --brand-soft: #112a3f;
    --deep: #06121d; color-scheme: dark;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0; background: var(--bg); color: var(--ink);
    font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  }
  a { color: var(--brand); }
  .wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
  header.top { background: var(--surface); border-bottom: 1px solid var(--line); }
  header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
  .logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; }
  .brand { display: flex; flex-direction: column; line-height: 1.1; }
  .brand small { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
  .logo img { width: 48px; height: 48px; border-radius: 50%; }
  nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 16px; }
  nav a { color: var(--muted); text-decoration: none; font-size: 15px; white-space: nowrap; }
  nav a:hover { color: var(--brand); }
  .btn {
    display: inline-block; background: var(--brand); color: var(--brand-ink); text-decoration: none;
    padding: 12px 22px; border-radius: 8px; font-weight: 600; border: 2px solid var(--brand);
  }
  .btn:hover { filter: brightness(1.08); }
  .btn.ghost { background: transparent; color: var(--brand); }
  .hero { padding: 72px 0 56px; background: linear-gradient(180deg, var(--brand-soft), var(--bg)); }
  .eyebrow { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin: 0 0 12px; }
  .hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 0 0 16px; max-width: 18em; }
  .hero p.lead { font-size: 19px; color: var(--muted); max-width: 38em; margin: 0 0 28px; }
  .hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
  .hero-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
  @media (min-width: 900px) { .hero-grid { grid-template-columns: 0.9fr 1.1fr; } }
  .shot { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(10, 42, 67, .16); }
  .shot img { display: block; width: 100%; height: auto; }
  .frame { display: flex; gap: 6px; padding: 10px 12px; background: var(--brand-soft); border-bottom: 1px solid var(--line); }
  .frame span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
  .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 28px; }
  .gallery figcaption { padding: 14px 16px 16px; }
  .gallery figcaption strong { display: block; font-size: 17px; margin-bottom: 2px; }
  .gallery figcaption span { color: var(--muted); font-size: 15px; }
  .note { color: var(--muted); font-size: 14px; margin-top: 18px; }
  section { padding: 56px 0; }
  section h2 { font-size: 28px; margin: 0 0 8px; }
  section p.sub { color: var(--muted); margin: 0 0 28px; max-width: 40em; }
  .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
  .card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
  h3.group { font-size: 20px; margin: 36px 0 4px; color: var(--brand); }
  .band .grid + h3.group, .band h3.group { color: #8fd0f5; }
  .tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 8px 0 4px; }
  .tab { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; background: var(--surface); color: var(--muted); border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
  .tab:hover { color: var(--brand); border-color: var(--brand); }
  .tab[aria-selected="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
  .js .panel[hidden] { display: none; }
  .panel h3.group { margin-top: 28px; }
  @media (max-width: 700px) { .tabs { grid-template-columns: repeat(3, 1fr); } .tab { font-size: 13px; padding: 12px 4px; } }
  .card h3 { margin: 0 0 6px; font-size: 18px; }
  .card p { margin: 0; color: var(--muted); font-size: 16px; }
  .band { background: var(--deep); color: #eaf3fb; }
  .band h2, .band p { color: #eaf3fb; }
  .band p.sub { color: #b9cde0; }
  .band .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); }
  .band .card h3 { color: #ffffff; }
  .band .card p { color: #c9d9e8; }
  .band .btn { background: #ffffff; color: #0a2a43; border-color: #ffffff; }
  .contact .card { max-width: 560px; }
  footer { padding: 28px 0 40px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
  .todo { background: #fff4c2; color: #4a3b00; padding: 1px 6px; border-radius: 4px; }
  @media (max-width: 560px) { .hero { padding: 48px 0 36px; } section { padding: 40px 0; } header.top .wrap { flex-wrap: wrap; } }

/* multi-page layout */
body { display: flex; flex-direction: column; min-height: 100vh; }
body > main { flex: 1 0 auto; }
.home { display: flex; align-items: center; padding: 10px 0;
  background: linear-gradient(180deg, var(--brand-soft), var(--bg)); }
.home h1 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.15; margin: 0 0 10px; max-width: 22em; }
.home .lead { font-size: 18px; color: var(--muted); max-width: 44em; margin: 0 0 18px; }
.quick { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; }
.quick .btn.ghost { background: var(--surface); }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  min-height: 100px; padding: 12px 10px; background: var(--surface); color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); border-radius: 14px; font-weight: 600; font-size: 15px; line-height: 1.25;
  box-shadow: 0 2px 8px rgba(10, 42, 67, .06); transition: transform .12s, border-color .12s; }
.tile svg { color: var(--brand); }
.tile:hover { border-color: var(--brand); transform: translateY(-2px); }
.tile:focus-visible, .mini:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; } .tile { min-height: 96px; font-size: 14px; } .home .lead { font-size: 16px; } }
.strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.strip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
.mini { display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 8px; color: var(--muted);
  text-decoration: none; font-size: 14px; white-space: nowrap; background: var(--bg); border: 1px solid var(--line); }
.mini:hover { color: var(--brand); border-color: var(--brand); }
.home-btn { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 600; }
.home-btn:hover { color: var(--bg); border-color: var(--ink); opacity: .88; }
.mini.on { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
@media (max-width: 700px) {
  .strip-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .mini { flex-direction: column; justify-content: center; gap: 4px; padding: 8px 2px; font-size: 11px; line-height: 1.2;
    white-space: normal; text-align: center; min-width: 0; }
}
.topic { padding: 36px 0 48px; }
.topic-head { display: flex; align-items: center; gap: 14px; color: var(--brand); margin-bottom: 10px; }
.topic-head h1 { color: var(--ink); font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; margin: 0; }
.topic .sub { color: var(--muted); max-width: 46em; margin: 0 0 24px; }
.topic .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.contact-card { max-width: 560px; margin-top: 24px; }
.next { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
footer { padding: 20px 0; }
.logo { gap: 18px; }
.logo img { width: 90px; height: 90px; }
.brand { font-size: 38px; font-weight: 800; letter-spacing: -.01em; }
.brand small { font-size: 17px; font-weight: 600; margin-top: 2px; }
header.top .wrap { padding-top: 10px; padding-bottom: 10px; }
@media (max-width: 560px) { .logo img { width: 66px; height: 66px; } .brand { font-size: 28px; } .brand small { font-size: 13px; } }

/* water and wastewater artwork */
:root { --wave1: #cfe6f7; --wave2: #a9d3f0; --wave3: #7dbbe6; --art: #0b6fb8; --art-op: .12; --sky: #e9f4fc; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --wave1: #11283b; --wave2: #15324a; --wave3: #1b3f5c; --art: #4aa3e0; --art-op: .18; --sky: #0e1a26; } }
:root[data-theme="dark"] { --wave1: #11283b; --wave2: #15324a; --wave3: #1b3f5c; --art: #4aa3e0; --art-op: .18; --sky: #0e1a26; }
.home { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky), var(--bg) 70%); }
.home .wrap { position: relative; z-index: 1; }
.waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 150px; display: block; pointer-events: none; }
.waves .w1 { fill: var(--wave1); } .waves .w2 { fill: var(--wave2); } .waves .w3 { fill: var(--wave3); }
.plant-art { position: absolute; right: -110px; top: -6px; width: min(640px, 55vw); height: auto; opacity: var(--art-op); pointer-events: none; }
.plant-art .art { fill: none; stroke: var(--art); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.plant-art .thin { stroke-width: 1.6; stroke-dasharray: 6 6; }
.plant-art text { fill: var(--art); stroke: none; font: 700 15px system-ui, sans-serif; letter-spacing: .12em; text-anchor: middle; }
.plant-art .bub { fill: var(--art); stroke: none; animation: rise 4s ease-in-out infinite; transform-box: fill-box; }
@keyframes rise { 0%,100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(-14px); opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .plant-art .bub { animation: none; } }
.tiles { padding-bottom: 40px; }
.tile { background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(2px); }
.topic { padding-top: 0; }
.topic-band { position: relative; background: linear-gradient(180deg, var(--sky), var(--bg)); padding-block: 32px 96px; margin-bottom: 8px; overflow: hidden; }
.topic-band .wrap { position: relative; z-index: 1; }
.topic-band .waves { height: 70px; }
.topic-band .sub { margin-bottom: 0; }
@media (max-width: 700px) { .plant-art { width: 90vw; right: -30vw; top: 4px; opacity: calc(var(--art-op) * .7); } .waves { height: 90px; } }
