/* ─── design tokens ─── */
:root {
  --bg-1: #0A1420;
  --bg-2: #0C1929;
  --bg-3: #0E1B2D;
  --bg-4: #132238;
  --text: #FFFFFF;
  --muted: #8A9BB5;
  --muted-2: #C5D0DE;
  --line: rgba(255,255,255,0.08);
  --accent: #FF0000;         /* brand red — accent only */
  --accent-soft: rgba(255,0,0,0.12);
  --accent-border: rgba(255,0,0,0.32);
  --success: #2ECC71;
  --warning: #FFE500;
  --pad-section-y: 100px;
  --pad-section-x: 60px;
  --radius: 10px;
  --max-w: 1280px;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Sticky-header offset for in-page #anchor targets. Header stack = utility bar +
   logo row + secondary CTA row ≈ 148px desktop, ~100px mobile. Buffer +12 keeps
   the section title sitting cleanly below the bottom of the header. */
[id] { scroll-margin-top: 160px; }
@media (max-width: 768px) { [id] { scroll-margin-top: 112px; } }
@media (max-width: 540px) { [id] { scroll-margin-top: 96px; } }
body {
  margin: 0;
  background: var(--bg-1);
  color: var(--text);
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--accent); color: #fff; padding: 8px 16px; border-radius: 4px;
}
.skip-link:focus { left: 8px; }

/* ─── headlines / display ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
  color: var(--text);
}
h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.12; font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(32px, 4.5vw, 48px); line-height: 1.1; font-weight: 500; }
h3 { font-size: clamp(20px, 2.5vw, 24px); line-height: 1.2; font-weight: 500; }
h4 { font-size: 18px; font-weight: 500; }
em { font-style: italic; color: var(--accent); }

p { margin: 0 0 16px; color: var(--muted); }

/* ─── eyebrow + section title pattern ─── */
.se { /* section eyebrow */
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.se::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--accent);
}
.st { /* section title */
  font-family: 'Oswald', sans-serif;
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.08;
  margin: 0 0 16px;
  font-weight: 500;
}
.ss { /* section subhead */
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 36px;
}

/* ─── containers ─── */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-section-x); }
section { padding: var(--pad-section-y) var(--pad-section-x); }

/* ─── buttons / CTA ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  min-height: 44px; /* WCAG tap target */
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #d80000; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,0.32); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-arrow::after { content: "→"; font-family: 'Source Sans 3', sans-serif; font-weight: 600; }

/* ─── NAV / HEADER ─── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,20,32,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px var(--pad-section-x);
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  min-height: 78px;
}
@media (max-width: 540px) { .nav-inner { min-height: 62px; padding: 8px var(--pad-section-x); } }
.nav-logo { display: flex; align-items: center; gap: 14px; }
/* Logo lockup PNG = trimmed -03 file, aspect ~2.91:1 (wolf head + Lone Wolf + TECHNOLOGIES) */
.nav-logo img { height: 66px; width: auto; display: block; }
@media (max-width: 1024px) { .nav-logo img { height: 58px; } }
@media (max-width: 540px)  { .nav-logo img { height: 46px; } }

.nav-links {
  display: flex; align-items: center; gap: 28px;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-links a:hover { color: var(--accent); }
.nav-phone {
  color: var(--accent);
  font-weight: 600;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  letter-spacing: 1px;
}
.nav-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 20px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    padding: 24px var(--pad-section-x);
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
    gap: 20px;
  }
}

/* ─── HERO ─── */
.hero {
  position: relative;
  padding: 120px var(--pad-section-x) 80px;
  min-height: 700px;
  max-height: 900px;
  display: flex; align-items: center;
  overflow: hidden;
}
@media (max-width: 900px) {
  .hero {
    /* Mobile browser chrome (address bar) eats into viewport height. 100svh
       (small viewport height) is the conservative value that accounts for
       the chrome being visible — the hero is guaranteed to fit on first load.
       Padding-top is collapsed to the height of the stacked utility +
       primary + secondary nav rows; padding-bottom shrinks for short screens.
       min-height stops dictating layout; the content drives it. */
    padding: 36px var(--pad-section-x) 48px;
    min-height: 100svh;
    max-height: none;
  }
}
@supports not (height: 100svh) {
  @media (max-width: 900px) {
    .hero { min-height: 92vh; }  /* fallback */
  }
}
.hero-bg {
  position: absolute; inset: 0;
  /* Path is relative to this CSS file's location (/preview/css/), not the consuming HTML.
     Pillar pages override this with a page-specific inline rule using ../images/. */
  background-image: url("../images/hero-industrial-water-treatment.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  filter: contrast(1.08) saturate(0.75);
  z-index: 0;
}
.hero-bg::after {
  /* Gradient anchors dark on the left (where headline + subhead sit) and
     fades through a transparent window over the photo's brighter areas
     (where the stat cards have their own dark backgrounds) before
     darkening again at the bottom-right. Tuned for opacity:0.55 above. */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(10,20,32,0.94) 0%, rgba(10,20,32,0.82) 38%, rgba(10,20,32,0.42) 65%, rgba(10,20,32,0.88) 100%),
    linear-gradient(180deg, rgba(10,20,32,0.18) 0%, rgba(10,20,32,0) 50%, rgba(10,20,32,0.45) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
}
/* Hero italic emphasis — solid red. Dropped the background-clip gradient because it
   clipped descenders on italic "p" and similar letters in tight line-height H1s. */
.hero h1 em {
  color: var(--accent);
  font-style: italic;
  font-weight: 600;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted-2);
  max-width: 580px;
  margin: 24px 0 36px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.stat-card {
  background: rgba(19,34,56,0.7);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 28px;
  backdrop-filter: blur(4px);
}
.stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 500;
}
.stat-card.headline {
  border-left-color: var(--accent);
  background: linear-gradient(135deg, rgba(255,0,0,0.08) 0%, rgba(19,34,56,0.7) 60%);
}
.stat-card.headline .stat-num { color: var(--accent); font-size: 64px; }

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px var(--pad-section-x);
}
.trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  align-items: center;
  justify-items: center;
}
@media (max-width: 768px) { .trust-inner { gap: 16px; } }
.trust-item {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
}
.trust-item::before {
  content: ""; width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── SECTION 1: Dedicated Rep ─── */
.section-dedicated {
  background: var(--bg-1);
  position: relative;
}
.section-dedicated::before {
  content: ""; position: absolute; top: 0; left: var(--pad-section-x); right: var(--pad-section-x);
  height: 1px; background: var(--line);
}
.dedicated-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .dedicated-inner { grid-template-columns: 1fr; gap: 40px; }
}
.dedicated-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
  background: #0A1420;
}
.dedicated-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.05) saturate(0.85);
}
/* Portrait-source variant — container matches source aspect so no head clipping.
   Used on the homepage Dedicated Rep section + alt-img instances showing the
   Blake field-tech photo (1200×1600 portrait). Letterbox bg matches section navy. */
.dedicated-img-wrap.is-portrait { aspect-ratio: 3/4; }
.dedicated-img-wrap.is-portrait img { object-fit: cover; object-position: center top; }
.dedicated-img-wrap::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,20,32,0.05) 0%, rgba(255,0,0,0.08) 100%);
  pointer-events: none;
}
.dedicated-tag {
  position: absolute;
  bottom: 20px; left: 20px;
  background: rgba(10,20,32,0.92);
  border-left: 3px solid var(--accent);
  padding: 12px 18px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 600;
}

/* ─── SERVICES GRID ─── */
.services-section { background: var(--bg-2); }
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
  justify-content: center;
}
.services-grid > .sv {
  flex: 0 1 240px;
  min-width: 220px;
}
@media (max-width: 540px) {
  .services-grid > .sv { min-width: calc(50% - 10px); flex-basis: calc(50% - 10px); }
}

.sv {
  position: relative;
  background: var(--bg-4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
  display: flex; flex-direction: column;
}
.sv:hover { border-color: var(--accent-border); transform: translateY(-3px); }
.sv-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-3);
}
.sv-img img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.78;
  transition: opacity 0.3s, transform 0.4s;
  filter: contrast(1.05) saturate(0.7);
}
.sv:hover .sv-img img { opacity: 0.95; transform: scale(1.03); }
.sv-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(10,20,32,0.85) 100%);
  pointer-events: none;
}
.sv-eyebrow {
  position: absolute;
  bottom: 12px; left: 14px;
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.sv-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.sv-body h3 { font-size: 17px; margin-bottom: 8px; font-weight: 500; }
.sv-body p { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin-bottom: 16px; flex: 1; }
.lm {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lm:hover { gap: 10px; }

/* "By Industry" subnav under services grid */
.by-industry {
  margin-top: 28px;
  padding: 16px 24px;
  background: var(--bg-3);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.by-industry-label {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.by-industry-list { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; }
.by-industry-list a { color: var(--text); border-bottom: 1px dotted rgba(255,255,255,0.3); padding-bottom: 2px; }
.by-industry-list a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ─── PROGRAMS BUILT (alternating layout) ─── */
.programs-section { background: var(--bg-1); }
.alt-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.alt-inner.reverse { grid-template-columns: 1fr 1.05fr; }
@media (max-width: 900px) {
  .alt-inner, .alt-inner.reverse { grid-template-columns: 1fr; gap: 40px; }
}
.alt-inner.reverse .alt-img { order: 2; }
@media (max-width: 900px) {
  .alt-inner.reverse .alt-img { order: 0; }
}
.alt-img {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0A1420;
}
.alt-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.05) saturate(0.75);
}
/* Portrait-source variant — used wherever the Blake field-tech photo lives.
   Container flips to 3/4 portrait so full frame shows, head visible at top. */
.alt-img.is-portrait { aspect-ratio: 3/4; }
.alt-img.is-portrait img { object-fit: cover; object-position: center top; }
.alt-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(225deg, rgba(255,0,0,0.06) 0%, transparent 60%);
}
.feature-list {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 14px 24px;
}
.feature-list li {
  font-size: 14.5px;
  color: var(--muted-2);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 2px;
  background: var(--accent);
}

/* ─── REGIONAL MAP + CITIES ─── */
.regional-section {
  background: var(--bg-3);
  position: relative;
}
.regional-section::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(to right, transparent 10%, var(--accent-border) 50%, transparent 90%);
}
.regional-head { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.regional-head .ss { margin-left: auto; margin-right: auto; }

.us-map-wrap {
  max-width: 1080px;
  margin: 0 auto 64px;
  position: relative;
  padding: 24px;
  background: rgba(12,25,41,0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
/* Map SVG is loaded externally via <object> — see images/us-map.svg for
   its internal styles. Page-side just sizes the container. */
.us-map { line-height: 0; }
.us-map object { width: 100%; height: auto; display: block; }
.map-legend {
  display: flex; justify-content: center; gap: 28px;
  margin-top: 16px;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.map-legend .swatch {
  display: inline-block; width: 14px; height: 14px;
  background: rgba(255,0,0,0.32); border: 1.5px solid var(--accent);
  vertical-align: middle; margin-right: 8px;
}
.map-legend .swatch.pin {
  background: var(--accent); border-radius: 50%; border-color: #fff;
}

/* 8-city grid */
.city-divider {
  text-align: center;
  margin: 60px auto 36px;
  position: relative;
}
.city-divider::before, .city-divider::after {
  content: "";
  display: inline-block;
  width: 80px; height: 1px;
  background: rgba(255,0,0,0.4);
  vertical-align: middle;
  margin: 0 12px;
}
.city-divider span {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.city-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}
.city-grid > .cc {
  flex: 0 1 220px;
  min-width: 200px;
}
@media (max-width: 540px) {
  .city-grid > .cc { min-width: calc(50% - 9px); flex-basis: calc(50% - 9px); }
}

.cc {
  background: var(--bg-4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  display: block;
}
.cc:hover { border-color: var(--accent-border); transform: translateY(-3px); }
.ccwrap { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-3); }
.ccimg { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: opacity 0.3s; display: block; filter: contrast(1.05) saturate(0.7); }
.cc:hover .ccimg { opacity: 0.92; }
.ccoverlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 35%, rgba(10,20,32,0.88) 100%); pointer-events: none; }
.cci {
  position: absolute; bottom: 10px; left: 14px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  font-family: 'Oswald', sans-serif;
}
.ccb { padding: 16px 18px 18px; }
.ccb h4 { font-size: 17px; margin: 0 0 4px; font-weight: 500; }
.ccb p { font-size: 12.5px; color: var(--muted); margin: 0; }
/* No-photo coverage tile variant — gradient + map-pin glyph in place of skyline photo */
.cc.no-photo .ccwrap { background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%); display: flex; align-items: center; justify-content: center; }
.cc.no-photo .ccwrap::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 35%, rgba(255,0,0,0.08) 0%, transparent 60%); }
.cc.no-photo .ccwrap .pin-glyph { width: 32px; height: 32px; color: var(--accent); opacity: 0.85; position: relative; z-index: 1; }

/* ─── SYSTEMS TREATED — self-balancing flex layout ─── */
/* flex-wrap + justify-content:center → tiles distribute evenly, orphans center on their row */
.systems-section { background: var(--bg-2); }
.systems-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  justify-content: center;
}
.systems-grid > .sy {
  flex: 0 1 240px;
  min-width: 200px;
}
@media (max-width: 540px) {
  .systems-grid > .sy { min-width: calc(50% - 7px); flex-basis: calc(50% - 7px); }
}

.sy {
  background: var(--bg-4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 18px;
  text-align: center;
  transition: border-color 0.3s, background 0.3s;
}
.sy:hover { border-color: var(--accent-border); background: var(--bg-3); }
.sy-icon {
  width: 44px; height: 44px;
  margin: 0 auto 14px;
  display: block;
  color: var(--accent);
}
.sy h4 {
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 8px;
}
.sy p {
  font-size: 12.5px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

/* ─── OUR PROMISE ─── */
.promise-section { background: var(--bg-1); }
.promise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 36px;
  margin-top: 36px;
}
@media (max-width: 768px) { .promise-grid { grid-template-columns: 1fr; } }
.promise-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--text);
  display: flex; align-items: center; gap: 16px;
}
.promise-item::before {
  content: "";
  width: 24px; height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ─── MEMBERSHIPS ─── */
.memberships-section {
  background: var(--bg-2);
  padding: 60px var(--pad-section-x);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.memberships-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 56px;
  flex-wrap: wrap;
}
.membership-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-3);
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
  transition: border-color 0.3s, color 0.3s;
}
.membership-card:hover { border-color: var(--accent-border); color: var(--accent); }
.membership-card .badge {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  color: #fff;
}

/* ─── FOOTER ─── */
.footer {
  background: #060A10;
  padding: 80px var(--pad-section-x) 32px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 540px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-brand img { height: 70px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 13.5px; color: var(--muted); max-width: 320px; }
.footer-col h5 {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--muted-2); font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-col .phone-big {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--accent);
  font-weight: 600;
  margin: 6px 0 10px;
}
.footer-col .phone-legacy {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.footer-chemtrec {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px dashed var(--accent-border);
  border-radius: 4px;
  font-size: 12px;
  color: var(--muted-2);
}
.footer-chemtrec strong { color: var(--accent); display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 4px; font-family: 'Oswald', sans-serif; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }

/* Standing policy: Altitude Media Group designer credit on every build.
   Injected into .footer-bottom by chat.js (because CSS-generated content
   can't produce a clickable link). Remove site-wide by deleting:
   (a) this rule block, OR
   (b) the injectAmgCredit() call in /js/chat.js (mechanism toggle). */
.amg-credit {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  color: #6c7787;
  text-align: center;
  letter-spacing: 0.2px;
}
.amg-credit a {
  color: #8a96a8;
  text-decoration: none;
  border-bottom: 1px dotted rgba(138,150,168,0.35);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.amg-credit a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ─── responsive padding tightening on small viewports ─── */
@media (max-width: 768px) {
  :root { --pad-section-x: 24px; --pad-section-y: 64px; }
  .nav-inner { padding-left: 24px; padding-right: 24px; }
  .stat-card { padding: 18px 22px; }
  .stat-num, .stat-card.headline .stat-num { font-size: 44px; }
}

/* ────────────────────────────────────────────────────────────────────
   CLIENT-FEEDBACK PASS — June 11
   Nav restructure, utility bar, registered trademark, credential popups,
   rotating hero word, CTA variations. See client docx for spec.
   ──────────────────────────────────────────────────────────────────── */

/* Nav utility bar (above the primary nav) */
.nav-utility {
  background: var(--bg-0, #050a14);
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.nav-utility-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: flex-end;
  gap: 16px; font-size: 13px;
}
.nav-utility .util-phone {
  color: var(--text); font-family: 'Oswald', sans-serif;
  font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  font-size: 12px;
}
.nav-utility .util-phone:hover { color: var(--accent); }
.nav-utility .util-phone-icon {
  display: inline-block; transform: rotate(-12deg) translateY(1px);
  color: var(--accent); margin-right: 3px;
}
.nav-utility .util-link {
  color: var(--muted-2); font-size: 12.5px;
}
.nav-utility .util-link:hover { color: var(--text); border-bottom: 1px solid var(--accent); }
.nav-utility .util-cta {
  background: var(--accent); color: #fff;
  padding: 5px 14px; border-radius: 3px;
  font-family: 'Oswald', sans-serif;
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 1.4px; text-transform: uppercase;
  transition: background 0.16s;
}
.nav-utility .util-cta:hover { background: #cc0000; }
@media (max-width: 768px) {
  .nav-utility-inner { justify-content: center; flex-wrap: wrap; gap: 10px; padding: 0 16px; }
  .nav-utility .util-link { display: none; }   /* keep it lean on small screens */
}

/* "Below the line" secondary nav row */
.nav-secondary {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.nav-secondary-inner {
  max-width: 1280px; margin: 0 auto; padding: 8px 24px;
  display: flex; align-items: center; justify-content: center;
  gap: 36px;
}
.nav-secondary .ns-link {
  color: var(--muted-2);
  font-family: 'Oswald', sans-serif;
  font-size: 12px; font-weight: 500;
  letter-spacing: 1.6px; text-transform: uppercase;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
.nav-secondary .ns-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
@media (max-width: 540px) {
  .nav-secondary-inner { gap: 18px; padding: 8px 12px; flex-wrap: wrap; }
  .nav-secondary .ns-link { font-size: 11px; }
}

/* EOx label inside the primary nav */
.nav-links .nav-eox {
  display: inline-block;
  background: rgba(255, 0, 0, 0.12);
  color: var(--accent);
  border: 1px solid rgba(255, 0, 0, 0.32);
  border-radius: 3px;
  padding: 1px 6px 0;
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-left: 4px;
  vertical-align: 2px;
}

/* Registered trademark mark, anchored to the logo */
.nav-logo {
  display: inline-flex; align-items: flex-start; position: relative;
}
/* Registered-trademark mark next to the logo PNG. Sits as a top-right
   superscript against the image; brand red reads cleaner than muted text
   when standing next to the visual logo. */
.logo-mark, .footer-logo-mark {
  display: inline-block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-left: 3px;
  margin-top: 6px;
  line-height: 1;
  letter-spacing: 0;
}
/* Inline registered-trademark mark used in body text (e.g. copyright line
   "Lone Wolf Technologies®, Inc."). Renders at the same color as the
   surrounding muted text so it integrates rather than reading as a red speck. */
.tm {
  font-size: 13px;
  vertical-align: super;
  line-height: 0;
  font-weight: 600;
  color: inherit;
  margin-left: 1px;
}
.footer-logo-wrap { display: inline-flex; align-items: flex-start; }

/* ── Credentials trust bar — items become popover triggers ── */
.trust-bar .trust-item.cred-trigger {
  cursor: help;
  position: relative;
  text-decoration: underline dotted;
  text-decoration-color: rgba(255,255,255,0.32);
  text-underline-offset: 4px;
  outline: none;
}
.trust-bar .trust-item.cred-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.cred-popup {
  position: fixed; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  background: var(--bg-2);
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  padding: 28px 32px;
  width: min(560px, 92vw);
  max-height: min(80vh, 720px);
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  opacity: 0; visibility: hidden;
  transition: opacity 0.16s, transform 0.18s;
}
.cred-popup.open {
  opacity: 1; visibility: visible;
  transform: translate(-50%, -50%);
}
.cred-popup-backdrop {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(5, 10, 20, 0.74);
  backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.16s;
}
.cred-popup-backdrop.open { opacity: 1; visibility: visible; }
.cred-popup .cred-title {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.cred-popup h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  color: var(--text);
  margin: 0 0 16px;
}
.cred-popup h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 18px 0 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}
.cred-popup p {
  color: var(--muted-2);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 12px;
}
.cred-popup ul {
  margin: 0 0 0 0;
  padding: 0;
  list-style: none;
}
.cred-popup ul li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
  font-size: 13.5px;
  color: var(--muted-2);
  line-height: 1.55;
}
.cred-popup ul li::before {
  content: "◆";
  color: var(--accent);
  position: absolute;
  left: 0; top: 0;
  font-size: 11px;
}
.cred-popup-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted-2);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.cred-popup-close:hover { color: var(--text); border-color: var(--accent); }

/* ── Rotating discipline word in the hero ──
   Fixed-size stage: container locked to longest word's width (via hidden sizer);
   words layered absolutely on top, ONLY opacity animates (600ms ease-in-out).
   No width transition. No transform. Nothing reflows. */
/* H1 stack: 'Your' / [rotator slot] / 'deserves a partner...' — each a block.
   Rotator slot has fixed height = one line-height. Words layer absolutely on
   top. Crossfade OPACITY only. Container height never changes, surrounding
   blocks never reflow. */
.hero h1 .hero-line,
.hero-rotator {
  display: block;
}
.hero-rotator {
  position: relative;
  height: 1.12em;        /* matches H1 line-height — locks the slot */
  color: var(--accent);
  overflow: hidden;      /* clip if a future term is somehow longer than its slot */
}
.hero-rotator-word {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 550ms ease-in-out;
}
.hero-rotator-word.active { opacity: 1; }
/* Scope the smaller H1 floor to the homepage hero only so the longest term
   ('reverse osmosis system') fits on one line at every breakpoint. */
#hero-heading { font-size: clamp(34px, 5vw, 72px); }

/* Reduce motion — no cycling. The first (strongest) word stays visible. */
@media (prefers-reduced-motion: reduce) {
  .hero-rotator-word { transition: none !important; }
  /* Scroll-reveal / band animations also calm down */
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── EOx homepage feature band ── */
.eox-band {
  background: linear-gradient(135deg, #050a14 0%, #150b16 70%, #2a0a1c 100%);
  border-top: 1px solid var(--accent-border);
  border-bottom: 1px solid var(--accent-border);
  padding: 56px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.eox-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 0, 0, 0.10), transparent 70%);
  pointer-events: none;
}
.eox-band-inner {
  max-width: 920px; margin: 0 auto;
  position: relative; z-index: 1;
}
.eox-band .se {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--accent-border);
  border-radius: 3px;
}
.eox-band h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  margin: 0 0 16px;
  color: #fff;
}
.eox-band h2 em {
  font-style: normal;
  color: var(--accent);
}
.eox-band p {
  font-size: 16px;
  color: var(--muted-2);
  max-width: 680px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.eox-band .btn-primary {
  background: var(--accent);
  color: #fff;
}

/* Hover style for util-cta to match btn-primary at small size */
.util-cta:hover { text-decoration: none; }

/* Slight desaturated accent — fixes "red pixelation" report by softening
   the pure #FF0000 against the dark navy. Apply to body text accents,
   not to button backgrounds (those stay full saturation). */
.accent-text, em.accent, em {
  /* em is widely used in heads; this softens it a touch. */
}

/* ── A.9 — Red pixelation fix ──────────────────────────────────────
   Pure #FF0000 on dark navy is subpixel-rendered poorly in some
   browsers (Windows ClearType + smaller sizes). Shift body-text accents
   to a slightly desaturated red that resolves cleaner without losing
   brand identity. Keep buttons + actionable surfaces at full saturation
   so the brand mark stays vivid where it matters. */
em, .hero h1 em, .hero-rotator-word, .hero h2 em, .hero h3 em,
.eyebrow, .se, .accent-text,
.trust-bar .trust-item, .nav-utility .util-phone:hover,
.pillar-eyebrow, .stat-num, .nav-eox,
.cred-popup .cred-title, .cred-popup ul li::before,
.foulant-table th, .compare-table th,
.norm-card .metric, .ind-card h4,
.cred-trigger {
  color: #E5352B;        /* slightly desaturated red — renders cleaner */
}
/* Buttons stay full red — they're the brand action */
.btn-primary, .util-cta, .footer-chemtrec {
  /* unchanged */
}

/* ── A.10 — Image audit fix ────────────────────────────────────────
   Most service photos are portrait (1200x1600). When dropped into
   landscape containers (hero, banner, equal-height cards) they get
   stretched and look "crooked/out of focus" to the client. Force
   object-fit: cover so they crop cleanly to the container aspect. */
.alt-img img, .dedicated-img-wrap img, .hero-bg img,
.svc-card img, .blog-post img, .sds-card img,
.unit-gallery img, figure img {
  object-fit: cover;
  object-position: center;
}
.alt-img, .dedicated-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
}
.alt-img img, .dedicated-img-wrap img {
  width: 100%; height: 100%;
  display: block;
}

/* ── Nav fit — pre-call tighten (rev. 2) ───────────────────────
   8 discipline links land on ONE line at >=1025. Below 1024 the
   existing mobile breakpoint (line 179) hides .nav-links and shows
   the toggle — these rules are scoped to >=1025 so they don't fight it. */
@media (min-width: 1025px) {
  header.nav .nav-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
    padding-left: 28px;     /* keeps first item clear of the logo */
  }
  header.nav .nav-links a {
    white-space: nowrap;
    font-size: 11.5px;
    letter-spacing: 1.2px;
    padding: 6px 2px;
    line-height: 1.15;
  }
  header.nav .nav-links .nav-eox {
    font-size: 9px;
    padding: 0 5px 0;
    letter-spacing: 1px;
    margin-left: 2px;
    vertical-align: 1px;
  }
}
@media (min-width: 1025px) and (max-width: 1279px) {
  /* 1025–1279: tightest packing for the 8-item nav */
  header.nav .nav-links { gap: 7px; padding-left: 20px; }
  header.nav .nav-links a { font-size: 10.5px; letter-spacing: 0.9px; padding: 6px 1px; }
  header.nav .nav-links .nav-eox { font-size: 8.5px; letter-spacing: 0.6px; padding: 0 4px 0; }
}
@media (min-width: 1440px) {
  header.nav .nav-links { gap: 12px; padding-left: 40px; }
  header.nav .nav-links a { font-size: 12px; letter-spacing: 1.4px; padding: 6px 3px; }
}
