/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · system-managed multi-page site · genre: modern-minimal · tone: technical · anchor hue: teal */
/* ============================================================
   MASEST / VertKleen Design System v2 (taste-skill applied)
   Theme lock: LIGHT,
one dark color-block at page end.
   Accent lock: single desaturated teal (#0e7c86). Brand
   gradient stays industrial teal/ink, not purple-blue.
   Shape rule: buttons = pill,
cards/panels = 16px,
inputs = 10px.
   Type: Satoshi (Fontshare,
font-display swap).
   Icons: Phosphor (web),
strokeWeight regular,
one family.
   ============================================================ */

/* Satoshi @font-face inlined to drop the chained stylesheet request. */
@font-face {
  font-family: 'Satoshi';
  src: url('../vendor/satoshi/satoshi-01.woff2') format('woff2');
  font-weight: 400; font-display: swap; font-style: normal;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../vendor/satoshi/satoshi-04.woff2') format('woff2');
  font-weight: 500; font-display: swap; font-style: normal;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../vendor/satoshi/satoshi-07.woff2') format('woff2');
  font-weight: 700; font-display: swap; font-style: normal;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../vendor/satoshi/satoshi-10.woff2') format('woff2');
  font-weight: 900; font-display: swap; font-style: normal;
}

:root {
  --ink: #15171c;
  --ink-soft: #393d44;
  --ink-inverse: #f4f6f8;
  --muted: #5f656d;          /* darkened from #6b7077 for AA body contrast */
  --line: #e4e6e9;
  --line-soft: #eef0f2;
  --line-strong: #c9ccd1;     /* stronger input border, matches .field input */
  --bg: #fafbfc;
  --surface: #ffffff;
  --surface-soft: #f7f9fa;
  --surface-2: var(--panel); /* alias: CRM/admin component layer */
  --panel: #f1f3f4;
  --panel-cool: #eef5f5;
  --border: var(--line);      /* alias: CRM/admin component layer */
  --accent: #0e7c86;
  --accent-ink: #0a5b62;
  --accent-soft: #e3f0f1;
  --accent-tint: #f1f8f8;
  --brand: var(--accent);       /* blog.css aliases: keep blog on the teal brand, not the purple fallback */
  --soft: var(--accent-tint);
  --danger: #a63a2e;          /* form errors, hazard markers — AA on white (6.4:1) */
  --status-success-bg: #e7f5ed;
  --status-success-ink: #17623b;
  --status-warning-bg: #fef3c7;
  --status-warning-ink: #92400e;
  --status-warning-strong-bg: #fbe6cf;
  --status-warning-strong-ink: #8a4a09;
  --status-danger-bg: #fee2e2;
  --status-danger-ink: #b42318;
  --status-danger-soft-bg: #fae8e6;
  --status-danger-soft-ink: #8a2d24;
  --rating-star: #e3a008;       /* rating-star gold — NOT a status color; stars were mis-using --status-warning-ink (brown) */
  --brand-grad: linear-gradient(118deg, #13343a 0%, #0e7c86 58%, #77a8a0 100%);
  --surface-raised: linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,250,249,.9));
  --surface-edge: inset 0 1px 0 rgba(255,255,255,.86), inset 0 -1px 0 rgba(15,74,80,.035);

  /* Elevation: soft, layered, low-opacity — the Apple-grade material */
  --shadow-xs: 0 1px 2px rgba(16,46,51,.05), 0 1px 1px rgba(20,24,32,.025);
  --shadow-sm: 0 4px 12px -8px rgba(16,74,80,.18), 0 1px 2px rgba(20,24,32,.04);
  --shadow-md: 0 18px 42px -20px rgba(16,74,80,.28), 0 8px 18px -14px rgba(20,24,32,.16);
  --shadow-lg: 0 34px 74px -28px rgba(16,74,80,.34), 0 16px 30px -20px rgba(20,24,32,.18);

  /* Radii */
  --r-card: 16px;
  --r-lg: 22px;
  --r-input: 10px;
  --r-pill: 999px;

  /* Fluid spacing scale */
  --space-section: clamp(72px, 9vw, 116px);
  --maxw: 1180px;

  /* Easing — exponential ease-out, no bounce */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-out-soft: cubic-bezier(.22, .61, .36, 1);
  --z-texture: 60;

  --font: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --body-font: var(--font);
}


* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  overflow-x: clip;
font-family: var(--body-font);
color: var(--ink);
background: var(--bg);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
font-feature-settings: "ss01", "cv01";
line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-texture);
  pointer-events: none;
  opacity: .028;
  background-image:
    linear-gradient(0deg, rgba(16, 74, 80, .55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 74, 80, .38) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  mix-blend-mode: multiply;
}

body.site-soft-bg {
  background:
    linear-gradient(135deg, rgba(14, 124, 134, .08), rgba(250, 251, 252, 0) 46%) 0 0 / 100% 760px no-repeat,
    var(--bg);
}

body.site-soft-bg main {
  background: transparent;
}

body.site-soft-bg main > section:first-child:not(.block-dark) {
  background:
    linear-gradient(135deg, rgba(14, 124, 134, .08), rgba(250, 251, 252, 0) 46%),
    var(--surface);
}

body.site-soft-bg main > section:not(:first-child):not(.block-dark) {
  background: var(--bg);
}

.proof-doc-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.brand,
.adm-input {
  min-height: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
i.ph,
i.ph-fill { line-height: 1; }
::selection { background: var(--accent); color: #fff; }

/* Consistent,
visible keyboard focus across the system */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; } /* alias of .wrap; commerce pages (cart, order-confirmed) use .container */

/* ---------- Typography ---------- */
h1,
h2,
h3 {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: var(--font);
  font-style: normal;
  letter-spacing: -0.022em;
  line-height: 1.06;
  font-weight: 700;
  text-wrap: balance;
}
.display {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: clamp(2.6rem, 5.4vw, 4.2rem); font-weight: 900;
  letter-spacing: -0.035em; line-height: 1.02;
}
.headline { min-width: 0; overflow-wrap: anywhere; font-size: clamp(1.75rem, 3.4vw, 2.55rem); font-weight: 700; letter-spacing: -0.028em; }
.subhead {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--muted); font-weight: 400;
  line-height: 1.55; max-width: 62ch; text-wrap: pretty;
}
/* Default gap when a subhead directly follows a display heading. Without it a hero
   in a bare .wrap (account, dashboard, admin) has zero space and the .display
   descenders collide with the subhead once the heading wraps. Hero wrappers that set
   their own subhead margin (.hero-copy, .page-hero, .contact-hero, …) are equal-or-
   higher specificity and defined later, so they still win — this only fills the gap. */
.display + .subhead { margin-top: 22px; }
.subhead + .btn,
.subhead + .hero-actions,
.section-head .subhead + .btn,
.section-head .subhead + .hero-actions,
.page-hero .subhead + .btn,
.hero-copy .subhead + .hero-actions,
.services-hero-copy .subhead + .hero-actions {
  margin-top: 30px;
}
/* Tabular,
lined-up figures for all data numerics */
.display,
.stat .big,
.big-fig,
.hmis-row .val,
.zero-lockup,
.cmp-table td { font-variant-numeric: tabular-nums; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .76rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 16px;
}
/* ---------- Nav (height 64px,
one line) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,251,252,.72);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(20,24,32,.02), 0 8px 24px -18px rgba(20,24,32,.3);
}
/* Dark glass variant while the nav overlaps the dark story opener */
.nav.over-dark {
  background: rgba(11,13,18,.92);
}
.nav.over-dark.scrolled {
  border-bottom-color: rgba(255,255,255,.12);
  box-shadow: none;
}
.nav.over-dark .nav-logo { color: var(--ink-inverse); }
.nav.over-dark .nav-links { color: var(--ink-inverse); }
.nav.over-dark .nav-links a:hover,
.nav.over-dark .nav-links a.active { color: #fff; }
.nav.over-dark .nav-signin,
.nav.over-dark .nav-account .nav-signin {
  color: #fff !important;
  border-color: rgba(255,255,255,.38) !important;
}
.nav.over-dark .nav-cta { background: #fff; color: var(--ink); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
}
.nav-account {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  padding: 0;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
}
.nav-signin {
  align-self: center;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.nav-account:hover { color: var(--accent); }
.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 800;
  background: rgba(255,255,255,.78);
}
.nav-cart:hover { border-color: var(--accent); color: var(--accent-ink); }
.cart-count {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  line-height: 1;
}
.cart-count[hidden] { display: none; }
.nav.over-dark:not(.scrolled) .nav-cart { border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.12); color: #fff; }
.nav.over-dark:not(.scrolled) .nav-account { color: rgba(255,255,255,.78); }
.nav.over-dark .nav-cta:hover { background: #e8eaed; }
.nav.over-dark .nav-burger span { background: var(--ink-inverse); }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; height: 56px;
}
.nav-logo { display: flex; align-items: center; gap: 11px; min-width: 44px; font-family: var(--font); font-weight: 900; font-size: 1.05rem; letter-spacing: .04em; }
/* Both logo PNGs share an identical square canvas,
so a single height fills
   the header top-to-bottom and renders the same size on either background. */
.nav-logo .logo-image { height: 52px; width: auto; display: block; }
/* Logo swaps by nav background for contrast: dark-ink mark on the default
   (light) nav,
gradient mark when the nav rides over a dark hero. */
.nav-logo .logo-ink { display: block; }
.nav-logo .logo-grad { display: none; }
.nav.over-dark .nav-logo .logo-ink { display: none; }
.nav.over-dark .nav-logo .logo-grad { display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,.28)); }
.nav-logo .logo-mark {
 position: relative; width: 31px; height: 31px; border-radius: 9px; background: var(--ink);
  display: grid; place-items: center; font-size: .85rem; font-weight: 900;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.nav-logo .logo-mark span {
 position: relative; z-index: 1;
 color: #fff;
}
.nav-links { display: flex; gap: 30px; font-size: 1rem; color: var(--ink-soft); }
.nav-links a { position: relative; transition: color .2s; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px;
  background: var(--accent); border-radius: 2px; transition: right .35s var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }
.nav-links a.active { font-weight: 700; }
.nav-cta {
  background: var(--ink); color: #fff; padding: 10px 20px; border-radius: var(--r-pill);
  font-size: .88rem; font-weight: 700; box-shadow: var(--shadow-sm);
  transition: background .2s, box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
}
.nav-cta:hover { background: var(--ink-soft); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; width: 34px; height: 34px; }
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; }

/* ---------- Buttons (pill,
one accent) ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px;
  border-radius: var(--r-pill); font-size: 1rem; font-weight: 700; cursor: pointer;
  border: 0; white-space: nowrap; font-family: var(--font); letter-spacing: -.01em;
  transition: transform .35s var(--ease-out), background .25s var(--ease-out),
              border-color .25s var(--ease-out), box-shadow .35s var(--ease-out), color .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(10,91,98,.25), 0 8px 20px -8px rgba(14,124,134,.55); }
.btn-primary:hover { background: var(--accent-ink); box-shadow: 0 2px 4px rgba(10,91,98,.28), 0 14px 28px -10px rgba(14,124,134,.62); transform: translateY(-1px); }
.btn-secondary { background: var(--accent-soft); color: var(--accent-ink); border: 1.5px solid rgba(14,124,134,.18); box-shadow: var(--shadow-xs); }
.btn-secondary:hover { border-color: rgba(14,124,134,.4); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.btn:disabled { cursor: not-allowed; opacity: .55; transform: none; box-shadow: none; filter: grayscale(.25); }
.btn[hidden] { display: none !important; } /* .btn sets display:inline-flex, which otherwise overrides the hidden attr (e.g. self-gated #pBuyBtn) */
.btn-ink {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-xs);
}
.btn-ink:hover {
  background: var(--accent-soft);
  border-color: rgba(14, 124, 134, .34);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.btn-ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); box-shadow: var(--shadow-xs); }
.btn-ghost:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: .87rem; }

/* On-dark variants */
.on-dark .btn-ghost { background: rgba(255,255,255,.04); color: #fff; border-color: rgba(255,255,255,.3); box-shadow: none; }
.on-dark .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-delay: 0s !important;
    transition-duration: 0s !important;
  }
  .btn,
  .btn:hover { transform: none; }
}

/* ---------- Sections ---------- */
section { padding: var(--space-section) 0; }
.section-slim { padding-top: 0; padding-bottom: clamp(44px, 6vw, 70px); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head .subhead { margin-top: 14px; }

/* Single dark color-block (used once,
at page end) */
.block-dark {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  background-image:
    radial-gradient(90% 130% at 12% 0%, rgba(14,124,134,.32) 0%, transparent 55%),
    radial-gradient(70% 120% at 100% 100%, rgba(14,124,134,.16) 0%, transparent 55%);
}
.block-dark::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 0%, transparent 72%);
}
.block-dark .subhead { color: rgba(255,255,255,.72); }
.block-dark .wrap { position: relative; z-index: 1; }

/* ---------- Split hero (light) ---------- */
.hero-split {
  position: relative; overflow: hidden;
  padding: clamp(56px, 7vw, 92px) 0 clamp(64px, 8vw, 100px);
  background:
    radial-gradient(120% 90% at 88% 0%, var(--accent-tint) 0%, transparent 55%),
    var(--bg);
}
/* Faint precision dot-grid: the only decorative texture,
scoped to the hero */
.hero-split::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(20,24,32,.05) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(105% 80% at 80% 8%, #000 0%, transparent 62%);
  mask-image: radial-gradient(105% 80% at 80% 8%, #000 0%, transparent 62%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(40px, 5vw, 72px); align-items: center;
}
.hero-copy .subhead { margin: 22px 0 34px; max-width: 30ch; }
.contact-hero .subhead { margin-top: 22px; }
.contact-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}
.contact-hero-copy { min-width: 0; }
.contact-hero-copy .display { font-size: clamp(3rem, 5.5vw, 5rem); }
.contact-hero-copy .subhead { max-width: 58ch; }
.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.contact-hero-media {
  margin: 0;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
  box-shadow: var(--shadow-sm);
}
.contact-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 940px) {
  .contact-hero-grid { grid-template-columns: 1fr; }
  .contact-hero-media { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .contact-hero-copy .display { font-size: clamp(2.7rem, 13vw, 3.5rem); }
  .contact-hero-media {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.cart-feedback {
  margin-top: 14px;
  color: var(--muted);
  font-weight: 700;
}
.cart-feedback[data-state=err] { color: var(--danger); }
.cart-feedback[hidden] { display: none !important; }
.cart-feedback a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Signature Triple-Zero lockup: the brand argument as the hero's hero. */
.zero-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--shadow-lg);
}
.zero-card .panel-title {
  display: flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 26px;
}
.zero-card .panel-title::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.zero-lockup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.zero-unit {
  position: relative; text-align: center;
  padding: 20px 8px 18px;
  border-radius: var(--r-card);
  background: linear-gradient(180deg, var(--accent-tint), var(--surface));
  border: 1px solid var(--line-soft);
}
.zero-unit .digit {
  font-size: clamp(3.4rem, 7vw, 4.6rem); font-weight: 900; line-height: 1;
  letter-spacing: -.05em; color: var(--ink);
}
.zero-unit .cap {
  display: block; margin-top: 12px;
  font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted);
}
.zero-card .panel-foot {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: .86rem; color: var(--muted); line-height: 1.6;
}
.zero-card .panel-foot b { color: var(--ink-soft); font-weight: 700; }

/* Previous .hmis-panel kept for interior product pages (refined) */
.hmis-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px; box-shadow: var(--shadow-lg);
}
.hmis-panel .panel-title { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.hmis-rows { display: grid; gap: 14px; }
.hmis-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hmis-row .lbl { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.hmis-row .val {
  width: 46px; height: 46px; border-radius: var(--r-input); display: grid; place-items: center;
  font-size: 1.35rem; font-weight: 900; background: var(--accent-soft); color: var(--accent-ink);
}
.hmis-panel .panel-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

/* ---------- Trust strip (hairlines,
no dots) ---------- */
.trust-strip {
  background: var(--surface);
  padding: clamp(18px, 3vw, 28px) 0;
}
.trust-cols {
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.trust-cols > div {
  padding: 22px 18px; text-align: center; font-size: .9rem; font-weight: 700; color: var(--ink-soft);
}
.trust-cols > div + div { border-left: 1px solid var(--line); }
.trust-cols span { display: block; font-size: .78rem; font-weight: 500; color: var(--muted); margin-top: 2px; }

/* ---------- Bento grid ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 18px; }
.bento-cell {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 32px 30px; box-shadow: var(--shadow-xs);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s var(--ease-out);
}
.bento-cell:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bento-cell.lg { grid-column: span 2; grid-row: span 1; }
.bento-cell.tint { background: var(--accent-soft); border-color: transparent; }
.bento-cell.ink {
  background: var(--ink); color: #fff; border-color: transparent;
  background-image: radial-gradient(130% 120% at 100% 0%, rgba(14,124,134,.4) 0%, transparent 50%);
  box-shadow: var(--shadow-md);
}
.bento-cell.ink:hover { box-shadow: var(--shadow-lg); }
.bento-cell.ink p { color: rgba(255,255,255,.72); }
.bento-cell i { font-size: 1.7rem; color: var(--accent); display: block; margin-bottom: 16px; }
.bento-cell.ink i { color: #7adfe7; }
.bento-cell h3 { font-size: 1.18rem; margin-bottom: 8px; }
.bento-cell p { color: var(--muted); font-size: .94rem; }
.bento-cell .big-fig { font-size: 2.7rem; font-weight: 900; letter-spacing: -.04em; line-height: 1; margin-bottom: 10px; color: var(--accent-ink); }

/* ---------- Category split ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cat-card {
  border-radius: var(--r-lg); padding: 104px 40px 40px; position: relative; overflow: hidden;
  min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-xs);
  transition: transform .45s var(--ease-out), border-color .3s var(--ease-out), box-shadow .45s var(--ease-out);
}
.cat-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(80% 70% at 85% 0%, var(--accent-tint), transparent 60%);
  transition: opacity .45s var(--ease-out);
}
.cat-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-card:hover::after { opacity: 1; }
.cat-card > * { position: relative; z-index: 1; }
.cat-card h3 { font-size: 1.7rem; margin-bottom: 10px; }
.cat-card p { color: var(--muted); margin-bottom: 20px; max-width: 420px; }
.cat-card .link { font-weight: 700; color: var(--accent-ink); display: inline-flex; align-items: center; gap: 7px; }
.cat-card .link::after { content: "\2192"; transition: transform .35s var(--ease-out); }
.cat-card:hover .link::after { transform: translateX(4px); }
.cat-card i.cat-ico { font-size: 2.2rem; color: var(--accent); position: absolute; top: 40px; left: 40px; z-index: 1; }

/* ---------- Products: featured asymmetric ---------- */
.feat-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; align-items: stretch; }
.feat-side { display: grid; gap: 22px; min-width: 0; }
.feat-grid > .prod-card,
.feat-side > .prod-card { min-width: 0; }

.prod-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 32px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-xs);
  transition: transform .45s var(--ease-out), border-color .3s var(--ease-out), box-shadow .45s var(--ease-out);
}
.prod-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.prod-card .prod-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.prod-card .prod-top i { font-size: 2rem; color: var(--accent); }
.hmis-badge {
  font-size: .7rem; font-weight: 900; letter-spacing: .06em;
  padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink);
}
.hmis-badge.note { background: var(--panel); color: #3f444b; }
.prod-card .replaces { font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.prod-card h3 { font-size: 1.3rem; }
.prod-card p { color: var(--muted); font-size: .94rem; flex: 1; }
.prod-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }

.buyer-router {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: start;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}
.buyer-router .subhead { margin-bottom: 0; }
.route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.route-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  align-items: center;
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out), background .25s var(--ease-out);
}
.route-card:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}
.route-card i {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 1.15rem;
}
.route-card span {
  font-weight: 800;
  line-height: 1.2;
}
.route-card b {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
}
/* When the <b> slot carries the card's ACTION (order-confirmed) rather than a
   description, it reads as a link, not muted metadata. */
.route-card .route-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-ink);
  font-weight: 800;
}
.route-card .route-card-cta i { transition: transform .18s var(--ease-out); }
.route-card:hover .route-card-cta i { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .route-card .route-card-cta i { transition: none; }
}
.route-card-media-card {
  grid-template-columns: 64px 1fr;
}
.route-card-media {
  grid-row: 1 / span 3;
  grid-column: 1;
  width: 64px;
  height: 64px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel-cool);
}
.route-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.route-card-media-card .route-card-kicker,
.route-card-media-card strong,
.route-card-media-card b {
  grid-column: 2;
}
.route-card-media-card .route-card-kicker {
  grid-row: auto;
  color: var(--accent-ink);
  font-weight: 800;
  line-height: 1.2;
}
.route-card-strong {
  grid-column: 1 / -1;
  background: var(--accent-soft);
  border-color: rgba(14, 124, 134, .32);
  color: var(--ink);
}
.route-card-strong i {
  background: var(--surface);
  color: var(--accent-ink);
}
.route-card-strong b { color: var(--muted); }
.route-card-strong:hover {
  background: var(--surface);
  border-color: rgba(14, 124, 134, .34);
}
.cms-page-sections[data-cms-loaded="true"] {
  display: grid;
  gap: 0;
}
.cms-page-section {
  padding: clamp(48px, 7vw, 92px) 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.cms-page-section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .72fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.cms-page-section-copy {
  display: grid;
  justify-items: start;
  gap: 14px;
  min-width: 0;
}
.cms-page-section-copy .headline,
.cms-page-section-copy .subhead {
  margin: 0;
}
.cms-page-section-media {
  margin: 0;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel-cool);
}
.cms-page-section-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.buyer-router .route-card {
  border-color: #dde3e6;
  background: linear-gradient(180deg, var(--surface) 0%, #f7f9fa 100%);
}
.buyer-router .route-card:hover {
  border-color: rgba(14, 124, 134, .42);
  background: var(--surface);
}
.buyer-router .route-card i {
  background: var(--panel-cool);
  box-shadow: inset 0 0 0 1px rgba(14, 124, 134, .12);
}
.buyer-router .route-card-strong {
  border-color: rgba(14, 124, 134, .24);
  background: linear-gradient(180deg, #f7fbfb 0%, #edf6f6 100%);
}
.buyer-router .route-card-strong:hover {
  background: var(--surface);
}

.conversion-proof {
  display: block;
  padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 48px);
  border: none;
  border-radius: 0;
  background: var(--ink);
  color: #fff;
}
.conversion-proof-head {
  padding: 10px 12px;
}
.conversion-proof-head .eyebrow {
  color: #7dd6dc;
}
.conversion-proof-head .headline {
  color: #fff;
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
}
.resource-disclosure {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: 0;
  margin-block: clamp(28px, 5vw, 58px);
}
.section-slim + .resource-disclosure { margin-top: clamp(36px, 6vw, 70px); }
.resource-disclosure + section { margin-top: clamp(34px, 5vw, 64px); }
.resource-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px;
  cursor: pointer;
  list-style: none;
}
.resource-disclosure summary::-webkit-details-marker { display: none; }
/* The summary hid the native marker with no replacement, so the whole panel read
   as a static heading card. Restore an explicit open/close affordance. */
.resource-disclosure summary::after {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  background: var(--accent-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 5l6 6 6-6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 5l6 6 6-6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s var(--ease-out);
}
.resource-disclosure[open] summary::after { transform: rotate(180deg); }
.resource-disclosure summary:hover strong,
.resource-disclosure summary:focus-visible strong { color: var(--accent-ink); }
@media (prefers-reduced-motion: reduce) {
  .resource-disclosure summary::after { transition: none; }
}
.quote-advanced-toggle {
  align-self: end;
}

.resource-disclosure summary strong {
  display: block;
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  letter-spacing: -.02em;
}
.resource-disclosure summary b {
  display: inline-block;
  white-space: normal;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: .9rem;
}
.resource-disclosure-body {
  padding: 0 28px 28px;
}
.resource-disclosure-body .section-head {
  margin-bottom: 22px;
}

@media (max-width: 820px) {
  .buyer-router {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .cms-page-section-inner {
    grid-template-columns: 1fr;
  }
  .route-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .buyer-router {
    padding: 18px;
  }
  .resource-disclosure summary {
    align-items: flex-start;
    flex-direction: column;
    position: relative;
    padding: 20px 52px 20px 20px;
  }
  .resource-disclosure summary::after {
    position: absolute;
    top: 22px;
    right: 20px;
  }
  .resource-disclosure summary > span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .resource-disclosure-body {
    padding: 0 20px 20px;
  }
  .conversion-proof {
    padding: 40px 0 30px;
  }
}
.prod-card.hero-card { padding: 44px; }
.prod-card.hero-card h3 { font-size: 1.9rem; }
.prod-card.hero-card .prod-top i { font-size: 3rem; }
/* The featured card runs as tall as its stacked siblings; hand the extra height
   to the product photo instead of a blank gap between copy and actions. */
.prod-card.hero-card .prod-media { flex: 1; min-height: 240px; }
.prod-card.hero-card .prod-media img { max-height: none; height: 100%; }
.prod-card.hero-card p { flex: 0 1 auto; }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
/* A single product in a category spans the row as a hero-card variant */
.prod-grid .prod-card:only-child { grid-column: 1 / -1; }

/* ---------- Stat band (hairline,
light) ---------- */
.stat-band { background: var(--surface); padding: 56px 0; }
.stat-band .stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 0 28px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .big { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 900; letter-spacing: -.03em; color: var(--ink); }
.stat .lbl { color: var(--muted); font-size: .9rem; margin-top: 4px; }

/* ---------- Industry scroller (scroll-snap) ---------- */
.snap-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-top: 6px; padding-bottom: 14px; margin: -6px -28px 0; padding-left: 28px; padding-right: 28px;
  scrollbar-width: thin;
}
.snap-row:focus-visible { outline: 3px solid rgba(14,124,134,.38); outline-offset: 6px; border-radius: 14px; }
.snap-card {
  scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 28px 26px; min-height: 180px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-xs);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s var(--ease-out);
}
.snap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.snap-card i { font-size: 1.8rem; color: var(--accent); margin-bottom: 14px; }
.snap-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.snap-card p { font-size: .87rem; color: var(--muted); flex: 1; }

/* ---------- Buyer path strips ---------- */
.decision-strip,
.quote-assurance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.decision-strip > div,
.quote-assurance > div {
  padding: 24px 26px;
  border-left: 1px solid var(--line);
}
.decision-strip > div:first-child,
.quote-assurance > div:first-child { border-left: 0; }
.decision-strip span,
.quote-assurance span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-ink);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .16em;
}
.decision-strip b,
.quote-assurance b { display: block; margin-bottom: 8px; color: var(--ink); }
.decision-strip p,
.quote-assurance p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }

.product-flow {
  display: grid;
  grid-template-columns: 1.05fr .95fr .95fr;
  gap: clamp(14px, 2.2vw, 22px);
  margin-top: clamp(24px, 4vw, 42px);
}
.flow-item {
  min-height: 176px;
  padding: clamp(22px, 2.8vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background:
    linear-gradient(180deg, rgba(14,124,134,.07), rgba(14,124,134,0) 62%),
    var(--surface);
  box-shadow: var(--shadow-xs);
}
.flow-item:nth-child(2) { margin-top: clamp(18px, 3vw, 34px); }
.flow-item:nth-child(3) { margin-top: clamp(36px, 5vw, 68px); }
.flow-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 18px;
  padding: 0 12px;
  border: 1px solid rgba(14,124,134,.24);
  border-radius: 999px;
  color: var(--accent-ink);
  background: rgba(14,124,134,.08);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.flow-item b { display: block; margin-bottom: 8px; color: var(--ink); }
.flow-item p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }

/* ---------- Process (vertical,
no number circles) ---------- */
.process { display: grid; gap: 0; max-width: 760px; }
.process-item { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 30px 0; }
.process-item + .process-item { border-top: 1px solid var(--line); }
.process-item i { font-size: 1.9rem; color: var(--accent); margin-top: 2px; }
.process-item h3 { font-size: 1.25rem; margin-bottom: 6px; }
.process-item p { color: var(--muted); font-size: .96rem; max-width: 56ch; }

/* ---------- Comparison table ---------- */
.cmp-table { width: 100%; border-collapse: collapse; font-size: .93rem; background: var(--surface); }
.cmp-table th,
.cmp-table td { padding: 16px 18px; text-align: left; }
.cmp-table thead th {
  font-size: .76rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--ink);
}
.cmp-table tbody tr + tr td { border-top: 1px solid var(--line); }
.cmp-table .haz { color: var(--danger); font-weight: 700; background: rgba(166,58,46,.06); }
.cmp-table .safe { color: var(--accent-ink); font-weight: 700; background: rgba(14,124,134,.06); }
.cmp-table a b { color: var(--accent-ink); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); }
.table-scroll .cmp-table { min-width: 760px; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 46px; box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .84rem; font-weight: 700; margin-bottom: 7px; color: var(--ink-soft); }
.field input,
.field select,
.field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--r-input);
  border: 1.5px solid #c9ccd1; font-family: var(--font); font-size: .95rem;
  background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14,124,134,.15);
}
.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; }
.field-err { display: block; margin-top: 6px; font-size: .8rem; font-weight: 700; color: var(--danger); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success i { font-size: 3rem; color: var(--accent); margin-bottom: 12px; }
.form-success-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }
/* Beats the .btn `display: inline-flex !important` touch-target rule. */
.form-success-actions [hidden] { display: none !important; }
#formSuccessTitle:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

.newsletter-form {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  max-width: 560px; margin-top: 24px;
}
.newsletter-form input[type=email] {
  flex: 1 1 260px; min-width: 0; min-height: 52px;
  padding: 0 16px; border-radius: var(--r-input); border: 1.5px solid var(--line-strong);
  background: var(--surface); color: var(--ink); font: inherit;
  box-shadow: var(--shadow-xs); transition: border-color .2s, box-shadow .2s;
}
.newsletter-form input[type=email]::placeholder { color: var(--muted); }
.newsletter-form input[type=email]:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14,124,134,.15);
}
.newsletter-form .form-msg {
  flex-basis: 100%; min-height: 1.2em; margin: 0; color: var(--muted);
  font-size: .9rem; font-weight: 700;
}

/* ---------- Page hero (interior,
light) ---------- */
.page-hero { padding: 76px 0 64px; }
.page-hero .subhead { margin-top: 22px; }
.page-hero-scene {
  padding: clamp(52px, 7vw, 84px) 0;
  background:
    linear-gradient(135deg, rgba(14, 124, 134, .07), rgba(250, 251, 252, 0) 48%),
    var(--surface);
}
.page-hero-scene-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
}
.page-hero-scene-copy { min-width: 0; }
.page-hero-scene .display {
  max-width: 780px;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}
.page-hero-scene .subhead { max-width: 62ch; }
.page-hero-scene-media {
  margin: 0;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-cool);
  box-shadow: var(--shadow-sm);
}
.page-hero-scene-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 860px) {
  .page-hero-scene-grid { grid-template-columns: 1fr; }
  .page-hero-scene-media { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .page-hero-scene { padding: 36px 0 42px; }
  .page-hero-scene .display { font-size: clamp(2.45rem, 12vw, 3.25rem); }
  .page-hero-scene-media {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }
}
body:has(.about-router) .page-hero { padding-bottom: clamp(28px, 4vw, 44px); }
body:has(.about-router) .page-hero + section { padding-top: clamp(42px, 6vw, 66px); }
body:has(.about-router) .page-hero + section .hero-grid { align-items: start; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--ink); }

/* ---------- Row cards (industries page) ---------- */
.row-card {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 26px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 30px 32px; box-shadow: var(--shadow-xs);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s var(--ease-out);
}
.row-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.row-card i { font-size: 1.9rem; color: var(--accent); }
.row-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.row-card p { color: var(--muted); font-size: .94rem; max-width: 64ch; }
.row-card.has-photo { grid-template-columns: 56px 1fr 168px auto; }
.row-thumb {
  display: block; width: 168px; height: 104px; overflow: hidden;
  border-radius: var(--r-input); border: 1px solid var(--line);
  transition: border-color .3s var(--ease-out);
}
.row-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.row-card:hover .row-thumb { border-color: var(--accent); }

.row-card.has-photo {
  grid-template-columns: 56px minmax(0, 1fr) 168px auto;
}

/* ---------- Detail page ---------- */
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.spec-item {
  display: flex; gap: 14px; align-items: flex-start; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-input); padding: 18px 20px;
}
.spec-item i { font-size: 1.35rem; color: var(--accent); margin-top: 2px; }
.spec-item b { display: block; font-size: .95rem; }
.spec-item span { font-size: .86rem; color: var(--muted); }

.doc-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-input);
  padding: 16px 20px; margin-bottom: 12px;
}
.doc-row b { font-size: .95rem; }
.doc-row span { font-size: .8rem; color: var(--muted); display: block; }

/* ---------- Photography ---------- */
figure.photo {
  margin: 0; border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--line); background: var(--panel);
}
figure.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
figure.photo figcaption {
  padding: 14px 18px; font-size: .85rem; color: var(--muted); background: var(--surface);
  border-top: 1px solid var(--line);
}
.photo-tall img { aspect-ratio: 3 / 4; }
.photo-wide img { aspect-ratio: 16 / 7; }
.photo-std img { aspect-ratio: 4 / 3; }

/* Field-proof split section */
.field-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
/* Form rows: top-align so an inline error growing one cell never vertically
   shifts its partner. The centered base is for the content image+text layout. */
#quoteForm { scroll-margin-top: 74px; }
#quoteForm .field-grid { grid-template-columns: 1fr 1fr; gap: 18px 24px; align-items: start; }

@media (max-width: 680px) {
  #quoteForm .field-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: stretch;
  }
}

/* Product card photo header */
.prod-photo {
  margin: -32px -32px 18px; border-bottom: 1px solid var(--line);
  border-radius: var(--r-card) var(--r-card) 0 0; overflow: hidden;
}
.prod-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.prod-card.hero-card .prod-photo { margin: -44px -44px 22px; }

/* Product detail hero photo inside panel */
.hmis-panel .panel-photo { margin: -34px -34px 24px; border-bottom: 1px solid var(--line); overflow: hidden; border-radius: var(--r-card) var(--r-card) 0 0; }
.hmis-panel .panel-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* Screen-reader-only text */
.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;
}

/* No-JS fallback nav (chrome is normally JS-injected) */
.nojs-nav {
  display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center;
  padding: 16px 28px; border-bottom: 1px solid var(--line); background: var(--surface);
  font-size: .92rem; font-weight: 700;
}
.nojs-nav span { color: var(--accent-ink); }
.nojs-logo img { width: 50px; height: auto; display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,.22)); }
.nojs-nav a:hover { color: var(--accent-ink); }

/* ---------- Contact cards ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px;
  box-shadow: var(--shadow-xs);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s var(--ease-out);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.contact-card i { font-size: 1.8rem; color: var(--accent); margin-bottom: 14px; display: block; }
.contact-card h2,
.contact-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.contact-card p { color: var(--muted); font-size: .92rem; line-height: 1.7; }
.contact-card a { color: var(--accent-ink); font-weight: 700; }

/* ---------- Footer (part of the single dark end-block) ---------- */
footer { background: var(--ink); color: rgba(255,255,255,.74); padding: 72px 0 38px; font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; margin-bottom: 48px; }
.foot-title { color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.foot-grid a { display: block; padding: 4px 0; color: var(--ink-inverse); transition: color .2s; }
.foot-grid a:hover { color: #fff; }
.foot-quote { display: inline-flex !important; margin-top: 10px; padding: 10px 18px !important; color: var(--ink) !important; }
.foot-secondary { border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 16px; }

@media (max-width: 700px) {
  .industry-router .route-grid,
.resource-router .route-grid,
.why-router .route-grid,
.about-router .route-grid { grid-template-columns: 1fr; }
  .industry-router .route-card { min-height: 92px; }
  .resource-router .route-card { min-height: 92px; }
  .why-router .route-card { min-height: 92px; }
  .about-router .route-card { min-height: 92px; }
  .resource-router .route-card {
    grid-template-columns: 44px 1fr;
    gap: 12px;
  }
  .why-router .route-card {
    grid-template-columns: 44px 1fr;
    gap: 12px;
  }
  .about-router .route-card {
    grid-template-columns: 44px 1fr;
    gap: 12px;
  }
  .resource-router .route-card span {
    grid-row: 1 / span 2;
  }
  .why-router .route-card span {
    grid-row: 1 / span 2;
  }
  .about-router .route-card span {
    grid-row: 1 / span 2;
  }
  .resource-router .route-card strong,
.resource-router .route-card b,
.why-router .route-card strong,
.why-router .route-card b,
.about-router .route-card strong,
.about-router .route-card b {
    grid-column: 2;
  }
  .resources-reference-disclosure summary {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }
  .resources-reference-disclosure summary b {
    white-space: normal;
    line-height: 1.45;
  }
  .why-comparison-disclosure summary {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }
  .why-comparison-disclosure summary b {
    white-space: normal;
    line-height: 1.45;
  }
  .about-services-disclosure summary {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }
  .about-services-disclosure summary b {
    white-space: normal;
    line-height: 1.45;
  }
}
.foot-logo-link { display: inline-block; margin-bottom: 16px; }
.foot-logo { width: 84px; height: auto; display: block; filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); }
.foot-brand { font-weight: 900; color: #fff; font-size: 1.15rem; margin-bottom: 12px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: rgba(255,255,255,.75); }
.foot-legal { display: inline-flex; gap: 14px; }
.foot-legal a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255,255,255,.82); text-decoration: none; }
.foot-legal a:hover { color: #fff; }

/* Footer newsletter signup (Klaviyo) */
.foot-news { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; padding-top: 32px; padding-bottom: 4px; border-top: 1px solid rgba(255,255,255,.16); }
.foot-news-copy { max-width: 40ch; }
.foot-news-copy p { margin-top: 6px; font-size: .86rem; line-height: 1.6; color: rgba(255,255,255,.7); }
.foot-news-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; flex: 1; min-width: 280px; max-width: 460px; }
.foot-news-form input[type=email] { flex: 1; min-width: 200px; padding: 13px 15px; border-radius: var(--r-input); border: 1.5px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff; font-family: var(--font); font-size: .95rem; transition: border-color .2s, box-shadow .2s, background .2s; }
.foot-news-form input[type=email]::placeholder { color: rgba(255,255,255,.5); }
.foot-news-form input[type=email]:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,.1); box-shadow: 0 0 0 3px rgba(14,124,134,.3); }
.foot-news-gotcha { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.foot-news-status { flex-basis: 100%; margin: 2px 0 0; font-size: .8rem; font-weight: 600; min-height: 1em; color: rgba(255,255,255,.7); }
.foot-news-status[data-state=ok] { color: #6ee7b7; }
.foot-news-status[data-state=err] { color: #fca5a5; }
@media (max-width: 640px) { .foot-news { flex-direction: column; gap: 18px; } }

/* ---------- Narrative: lead statement ---------- */
.lead-statement { max-width: 980px; }
.lead-statement .big-line {
  font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -.025em;
  line-height: 1.22; text-wrap: balance; color: var(--ink);
}
.lead-statement .big-line .em { color: var(--accent-ink); }
.lead-statement .attrib { margin-top: 18px; font-size: .9rem; color: var(--muted); }

/* ---------- Soft section (the problem) ---------- */
.section-soft { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Pain points: colored top-rule,
no card chrome (distinct from bento) */
.pain-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 8px; }
.pain-item { padding-top: 20px; border-top: 2px solid #e4b6ad; }
.pain-item i { font-size: 1.6rem; color: var(--danger); display: block; margin-bottom: 14px; }
.pain-item h3 { font-size: 1.06rem; margin-bottom: 6px; }
.pain-item p { color: var(--muted); font-size: .92rem; }

/* Why it wins: three pillars,
tile icon + text (borderless) */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.8vw, 36px); }
.why-col {
  padding: 28px 24px 24px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-xs);
  transition: border-color .28s var(--ease-out), box-shadow .28s var(--ease-out), transform .28s var(--ease-out);
}
.why-col:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.why-col .ico {
  width: 54px; height: 54px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 20px;
}
.why-col h3 { font-size: 1.18rem; margin-bottom: 8px; }
.why-col p { color: var(--muted); font-size: .95rem; }
.why-col .tag { display: block; margin-top: 14px; font-size: .82rem; font-weight: 700; color: var(--accent-ink); }

/* The difference: "zero,
in plain terms" list */
.diff-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.diff-list { display: grid; gap: 0; }
.diff-item {
  display: flex; align-items: center; gap: 18px; padding: 18px 0;
  font-size: clamp(1.1rem, 1.9vw, 1.4rem); font-weight: 700; letter-spacing: -.02em; color: var(--ink);
}
.diff-item + .diff-item { border-top: 1px solid var(--line); }
.diff-item .chk {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-size: 1rem;
}
.diff-aside {
  background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 40px 36px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
  background-image: radial-gradient(120% 120% at 100% 0%, rgba(14,124,134,.42) 0%, transparent 55%);
}
.diff-aside .big-zero { font-size: clamp(4rem, 8vw, 6rem); font-weight: 900; letter-spacing: -.06em; line-height: 1; }
.diff-aside h3 { font-size: 1.25rem; margin: 14px 0 10px; }
.diff-aside p { color: rgba(255,255,255,.74); font-size: .96rem; line-height: 1.6; }

/* Comparison helper note under the homepage table */
.cmp-note { margin-top: 16px; font-size: .86rem; color: var(--muted); max-width: 70ch; line-height: 1.6; }
.cmp-table .job { font-weight: 700; color: var(--ink); }
.cmp-table .hmis-tag { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; word-break: keep-all; overflow-wrap: normal; hyphens: none; }

/* ---------- Reveal (motion 4: fluid CSS, reduced-motion safe) ---------- */
@media (prefers-reduced-motion: no-preference) {
  body.reveal-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
  body.reveal-ready .reveal.in { opacity: 1; transform: none; }
  /* Staggered children: set --i on the container; children fade up in sequence */
  .stagger.in > * { animation: rise .7s var(--ease-out) both; }
  .stagger.in > *:nth-child(1) { animation-delay: .02s; }
  .stagger.in > *:nth-child(2) { animation-delay: .09s; }
  .stagger.in > *:nth-child(3) { animation-delay: .16s; }
  .stagger.in > *:nth-child(4) { animation-delay: .23s; }
  .stagger.in > *:nth-child(5) { animation-delay: .30s; }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

  /* Hero entrance — animates UP TO the visible default,
so no-JS / hidden-tab renders stay visible */
  .hero-anim { animation: heroRise .9s var(--ease-out) both; }
  .hero-anim.d1 { animation-delay: .06s; }
  .hero-anim.d2 { animation-delay: .14s; }
  .hero-anim.d3 { animation-delay: .22s; }
  .hero-anim.d4 { animation-delay: .30s; }
  @keyframes heroRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  .zero-unit { animation: zeroPop .8s var(--ease-out) both; }
  .zero-unit:nth-child(1) { animation-delay: .34s; }
  .zero-unit:nth-child(2) { animation-delay: .42s; }
  .zero-unit:nth-child(3) { animation-delay: .50s; }
  @keyframes zeroPop { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-cell.lg { grid-column: span 2; }
  .feat-grid,
.prod-grid,
.contact-cards { grid-template-columns: 1fr 1fr; }
  /* Column gap so neighbouring captions don't read as one run-on line. */
  .stat-band .stats { grid-template-columns: 1fr 1fr; gap: 28px 22px; }
  .stat { padding: 0 0 0 18px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:first-child { padding-left: 0; }
  .trust-cols { grid-template-columns: 1fr 1fr; }
  .trust-cols > div:nth-child(3) { border-left: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .pain-row { grid-template-columns: 1fr 1fr; }
  .product-flow { grid-template-columns: 1fr 1fr; }
  .flow-item:nth-child(2),
.flow-item:nth-child(3) { margin-top: 0; }
  .flow-item:nth-child(3) { grid-column: 1 / -1; min-height: 150px; }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .diff-grid { grid-template-columns: 1fr; }
}
@media (min-width: 681px) and (max-width: 940px) {
  .feat-grid { grid-template-columns: 1fr; }
  .feat-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  section { padding: 60px 0; }
  .grid-2,
.bento,
.feat-grid,
.prod-grid,
.form-grid,
.spec-list,
.contact-cards { grid-template-columns: 1fr; }
  .cat-card { padding: 92px 28px 32px; min-height: 0; }
  .cat-card i.cat-ico { top: 32px; left: 28px; }
  .product-flow { grid-template-columns: 1fr; }
  .flow-item,
.flow-item:nth-child(3) { min-height: 0; grid-column: auto; }
  .pain-row { grid-template-columns: 1fr; }
  .bento-cell.lg { grid-column: span 1; }
  .nav-links {
    display: none; position: fixed; top: 66px; left: 0; right: 0;
    background: #fff;
    flex-direction: column; gap: 0;
    padding: 12px 28px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    z-index: 85;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 1.05rem; }
  /* dropdown panel is white even in the over-dark nav state */
  .nav.over-dark .nav-links { color: var(--ink-soft); }
  .nav.over-dark .nav-links a:hover,
.nav.over-dark .nav-links a.active { color: var(--ink); }
  .nav-burger { display: block; }
  .hero-split { padding: 48px 0 60px; }
  .row-card,
.row-card.has-photo { grid-template-columns: 1fr; gap: 14px; }
  .row-thumb { width: 100%; height: 180px; order: -1; }
  .form-card { padding: 28px 22px; }
  .stat + .stat { border-left: 0; }
  .stat { padding: 0; }
  .trust-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 360px) {
  .nav-inner { padding: 0 14px; gap: 8px; }
  .nav-logo { gap: 8px; font-size: .92rem; }
  .nav-cta { padding: 9px 13px; font-size: .78rem; white-space: nowrap; }
  .nav-burger { width: 30px; height: 30px; }
}

/* ---------- Refinement overrides ---------- */
.quote-section { padding-bottom: clamp(58px, 7vw, 88px); }
.quote-assurance { margin-top: 22px; }

@media (max-width: 940px) {
  .decision-strip,
.quote-assurance { grid-template-columns: 1fr; }
  .decision-strip > div,
.quote-assurance > div { border-left: 0; border-top: 1px solid var(--line); }
  .decision-strip > div:first-child,
.quote-assurance > div:first-child { border-top: 0; }
}

@media (max-width: 680px) {
  .nav.over-dark .nav-logo { color: var(--ink); }
  .nav.over-dark .nav-cta { background: var(--ink); color: #fff; }
  .nav.over-dark .nav-burger span { background: var(--ink); }
}

/* Site image polish. Source photos remain documentary; this layer improves
   rendered clarity and makes mixed proof assets feel like one evidence set. */
.photo img,
.proof-card figure img {
  filter: saturate(1.03) contrast(1.07) brightness(1.02);
}

.photo.photo-wide {
  background: #f0f2f3;
  border-color: #d6dade;
  box-shadow: 0 24px 70px -54px rgba(21, 23, 28, .52);
}

.proof-card figure {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(245, 247, 248, .94));
  border-color: #d9dde1;
}

.proof-card figure img {
  transform: scale(1.01);
}

@media (max-width: 680px) {
  .nav.over-dark .nav-logo,
.nav.over-dark .nav-links a {
    color: #fff;
  }

  .nav.over-dark .nav-burger span {
    background: #fff;
  }
}

.proof-section { padding-top: clamp(40px, 5vw, 72px); }
.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 18px;
}
.proof-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: #fff;
}
.proof-card figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.proof-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.proof-card div { padding: 22px; }
.proof-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-ink);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.proof-card h3 { margin-bottom: 8px; font-size: 1.16rem; }
.proof-card p { color: var(--muted); font-size: .94rem; line-height: 1.58; }

.proof-card:first-child { grid-row: span 2; }
.proof-card:not(:first-child) {
  grid-template-columns: minmax(150px, .72fr) minmax(0, 1fr);
  grid-template-rows: auto;
}
.proof-card:not(:first-child) figure {
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

@media (max-width: 940px) {
  .proof-grid { grid-template-columns: 1fr; }
  .proof-card,
  .proof-card:not(:first-child) { grid-row: auto; grid-template-columns: minmax(160px, .85fr) minmax(0, 1fr); grid-template-rows: auto; }
  .proof-card figure { border-bottom: 0; border-right: 1px solid var(--line); }
  .proof-card img { height: 100%; min-height: 190px; }
}

@media (max-width: 560px) {
  .proof-card,
  .proof-card:not(:first-child) { grid-template-columns: 1fr; }
  .proof-card figure { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-card img { min-height: 0; }
}
/* QA hardening: target size and mobile table layout overrides. */
.nav-logo,
.nav-links a,
.nav-cta,
.btn,
.btn-sm,
.breadcrumb a,
.cmp-table a {
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
}
/* Footer column links stay stacked (block-level flex) while keeping the 44px touch target. */
.foot-grid a {
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
}
.nav-burger {
  width: 44px !important;
  height: 44px !important;
}
@media (max-width: 680px) {
  .table-scroll {
    overflow-x: visible !important;
  }
  .table-scroll .cmp-table,
.cmp-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    background: transparent !important;
  }
  .cmp-table thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
  }
  .cmp-table tbody {
    display: grid !important;
    gap: 12px !important;
  }
  .cmp-table tr {
    display: grid !important;
    gap: 10px !important;
    padding: 18px !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--r-card) !important;
    background: var(--surface) !important;
  }
  .cmp-table th,
.cmp-table td {
    display: block !important;
    padding: 0 !important;
    border: 0 !important;
  }
  .cmp-table td::before {
    display: block;
    color: var(--muted);
    content: "";
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.35;
    margin-bottom: 4px;
    text-transform: uppercase;
  }
  /* Every cell's mobile label comes from its own column header (stamped as
     data-label by initCmpTableLabels in chrome.js). The old fixed
     Function/Traditional/HMIS set mislabeled every non-5-column table. */
  .cmp-table td::before { content: attr(data-label); }
  /* Jobs table: pair each chemistry with its HMIS tag on one two-column row —
     halves the stacked card height. */
  .cmp-jobs tr {
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: start !important;
    gap: 12px 14px !important;
  }
  .cmp-jobs td:nth-child(1) { grid-column: 1 / -1; }
  .cmp-jobs td:nth-child(3),
  .cmp-jobs td:nth-child(5) { justify-self: end; text-align: right; }
}

.home-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.trust-strip .trust-cols {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.trust-cols > div {
  padding-block: 10px;
}

.home-industry-grid .cat-card {
  min-height: 250px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: 22px;
}

.contact-card i {
  color: var(--accent);
  font-size: 1.35rem;
}

.contact-card h3 {
  margin: 12px 0 6px;
}

.contact-card p {
  color: var(--muted);
  margin-bottom: 10px;
}

.contact-card a {
  display: block;
  color: var(--ink);
  font-weight: 700;
  margin-top: 6px;
}

@media (max-width: 920px) {
  .home-industry-grid,
.contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero-ctas {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .hero-ctas .btn {
    justify-content: center;
    width: 100%;
  }

  .trust-strip .trust-cols {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .zero-lockup {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .zero-unit .digit {
    font-size: clamp(2rem, 14vw, 3rem);
  }

  .zero-unit {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
  }
}

/* ============================================================
   Phase 2 — visual proof: product shots,
before/after slider,
proof page,
credential strip,
scroll-snap gallery
   ============================================================ */

/* Product photo inside the detail HMIS panel */
.product-shot {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin-bottom: 18px;
  /* Packshots carry real alpha; the panel surface is the backdrop. */
  background: transparent;
  padding: 10px 10px 0;
}

/* ---- Before / after slider ---- */
.ba {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background: var(--panel);
  --pos: 50%;
  touch-action: none;
}
.ba-after,
.ba-before {
  position: absolute;
  inset: 0;
}
.ba-before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
}
.ba-range:focus-visible + .ba-handle {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 40px;
  background: transparent;
  transform: translateX(-20px);
  z-index: 2;
  pointer-events: none;
}
.ba-handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  transform: translateX(-1px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .15);
}
.ba-handle::after {
  content: "\2194";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  font-size: 1.1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.ba-tag {
  position: absolute;
  bottom: 12px;
  z-index: 2;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, .55);
  padding: 5px 10px;
  border-radius: 999px;
  pointer-events: none;
}
.ba-tag-before { left: 12px; }
.ba-tag-after { right: 12px; }

.ba-figure { display: grid; gap: 12px; }
.ba-figure figcaption { color: var(--muted); font-size: .9rem; }

/* ---- Proof: case grid ---- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.case-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  overflow: hidden;
}
.case-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--panel);
}
.case-media,
.case-card > .doc-link,
.case-card > .case-ba {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--panel);
}
.case-card > .doc-link {
  display: block;
  position: relative;
  color: inherit;
}
.case-media {
  margin: 0;
}
.case-card .case-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.case-card .case-eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--accent);
}
.case-card h3 { font-size: 1.12rem; line-height: 1.3; }
.case-card .case-result { color: var(--muted); font-size: .95rem; }
.case-card .case-meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 6px;
}
.case-chip {
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.case-source { font-size: .75rem; color: var(--muted); }
.case-card[hidden] { display: none; }

/* ---- Case before/after diptych ---- */
.case-ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line);
}
.case-ba figure { position: relative; margin: 0; overflow: hidden; }
.case-ba img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--panel);
}
.case-ba figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(22, 24, 29, .82);
  padding: 3px 8px;
  border-radius: 999px;
}

/* ---- Client wall (monochrome logo / wordmark strip) ---- */
.client-wall {
  list-style: none;
  margin: clamp(22px, 4vw, 36px) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 36px) clamp(22px, 3.8vw, 48px);
}
/* Logos are pre-trimmed to their content box, so a shared cap-height renders
   every mark at the same optical size; width follows each logo's own aspect
   (wide wordmarks get width, compact marks stay compact). */
.client-wall li {
  flex: 0 0 auto;
  height: clamp(38px, 4.5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-wall img {
  width: auto;
  height: 100%;
  max-width: min(216px, 30vw);
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: .74;
  transition: filter .25s ease, opacity .25s ease;
}
/* Detailed multi-part marks (script + emblem) need more area than a plain
   wordmark to read at the same optical weight. */
.client-wall li.mark-detailed { height: clamp(52px, 6vw, 66px); }
.client-wall li:hover img,
.client-wall li:focus-within img {
  filter: grayscale(0);
  opacity: 1;
}
@media (max-width: 640px) {
  .client-wall { gap: 14px 22px; }
  .client-wall li { height: 34px; }
  .client-wall li.mark-detailed { height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .client-wall img { transition: none; }
}

/* ---- Before/after pair ---- */
.ba-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 28px);
}
.ba-duo .ba-figure { margin: 0; }
@media (max-width: 720px) {
  .ba-duo { grid-template-columns: 1fr; }
}

/* ---- Inline document link (lab report, etc.) ---- */
.proof-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: .88rem;
  color: var(--accent-ink);
  text-decoration: none;
}
.proof-doc-link:hover { text-decoration: underline; }
.proof-doc-link i { font-size: 1.05rem; }
.cmp-note + p:has(.proof-doc-link) { margin-top: 24px; }

.proof-library {
}
.proof-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 22px;
}
.proof-filter {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  padding: 0 16px;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
}
.proof-filter.active,
.proof-filter:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.proof-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.proof-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--surface);
}
.proof-card[hidden] {
  display: none;
}
.proof-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #eef1f3;
}
.proof-card div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
}
.proof-card span {
  color: var(--accent-ink);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.proof-card h3 {
  font-size: 1.1rem;
  line-height: 1.25;
}
.proof-card p {
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.45;
}
.proof-card b {
  margin-top: auto;
  color: var(--ink);
  font-size: .85rem;
}

/* ---- Credential strip (cert marks as chips) ---- */
.cred-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.cred-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink-soft);
}
.cred-chip i { color: var(--accent); font-size: 1.05rem; }
.cred-note { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 16px; }

.claim-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.claim-status {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: 18px;
  text-align: left;
}
.claim-status strong {
  display: block;
  margin: 12px 0 6px;
  color: var(--ink);
}
.claim-status p {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.45;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.status-pill.confirmed {
  background: #e4f5f1;
  color: #075e56;
}
.status-pill.request {
  background: #edf1f7;
  color: #354157;
}
.status-pill.pending {
  background: #fff1df;
  color: #8a4a00;
}

/* ---- Proof thumbnails band (home) ---- */
.proof-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.proof-thumb {
  position: relative;
  display: block;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: var(--panel);
}
.proof-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.proof-thumb:hover img { transform: scale(1.04); }
/* Bottom scrim keeps white captions legible over light photos (document scans,
   bright diamond plate); a text-shadow alone isn't enough there. */
.proof-thumb::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 64px;
  background: linear-gradient(180deg, transparent, rgba(8, 14, 20, .6));
  pointer-events: none;
}
.proof-thumb span {
  position: absolute;
  z-index: 1;
  left: 12px;
  bottom: 12px;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}

/* ---- Industry proof gallery (scroll-snap row) ---- */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  overflow: visible;
}

@media (max-width: 820px) {
  .case-grid { grid-template-columns: 1fr; }
  .proof-band { grid-template-columns: 1fr; }
  .gallery-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .gallery-row { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (min-width: 821px) and (max-width: 1100px) {
  .case-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .proof-thumb img { transition: none; }
}

/* ---- Service program tiers (programs.html) ---- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.tier-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: 24px;
}
.tier-card.featured {
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(14, 124, 134, .10);
}
.tier-badge {
  align-self: flex-start;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.tier-name { font-weight: 800; font-size: 1.18rem; }
.tier-sub { color: var(--muted); font-size: .85rem; margin-top: 2px; }
.tier-price { font-size: 1.6rem; font-weight: 900; margin: 14px 0 0; letter-spacing: -0.02em; }
.tier-price small { font-size: .8rem; font-weight: 600; color: var(--muted); }
.tier-annual { color: var(--muted); font-size: .85rem; margin: 2px 0 14px; }
.tier-list { list-style: none; display: grid; gap: 9px; margin: 4px 0 16px; padding: 14px 0 0; border-top: 1px solid var(--line); flex: 1; }
.tier-list li { display: flex; gap: 9px; font-size: .9rem; color: var(--ink-soft); line-height: 1.4; }
.tier-list li i { color: var(--accent); margin-top: 3px; flex: none; }
.tier-foot { font-size: .8rem; color: var(--muted); margin-bottom: 14px; }
.tier-foot b { color: var(--ink-soft); font-weight: 600; }
.program-scope-visual {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  margin-top: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.program-scope-copy {
  padding: clamp(22px, 4vw, 34px);
  border-right: 1px solid var(--line);
  background: var(--surface-soft);
}
.program-scope-copy h3 {
  margin-top: 8px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.08;
}
.program-scope-copy p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.program-scope-table-wrap {
  overflow-x: auto;
}
.program-scope-table {
  width: 100%;
  min-width: 690px;
  border-collapse: collapse;
  font-size: .88rem;
}
.program-scope-table th,
.program-scope-table td {
  padding: 15px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.program-scope-table thead th {
  color: var(--ink);
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: #f4f7f7;
}
.program-scope-table tbody th {
  color: var(--ink);
  font-weight: 780;
}
.program-scope-table td {
  color: var(--accent-ink);
  font-weight: 740;
  font-variant-numeric: tabular-nums;
}
.program-scope-table .scope-none {
  color: var(--muted);
  font-weight: 620;
}
.program-scope-table tr:last-child th,
.program-scope-table tr:last-child td {
  border-bottom: 0;
}
@media (max-width: 1100px) { .tier-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) {
  .program-scope-visual {
    grid-template-columns: 1fr;
  }

  .program-scope-copy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
/* Only narrow viewports need the swipe hint; the table fits at desktop widths. */
.table-scroll-hint {
  display: none;
  margin: 0 0 8px;
  font-size: .8rem;
  color: var(--muted);
}

@media (max-width: 600px) {
  /* Keep the tier table readable and let it scroll inside its own wrap
     (matches .table-scroll). Force-fitting five columns into a phone width
     mid-word-broke every header and cell. */
  .table-scroll-hint {
    display: block;
  }

  .program-scope-table {
    font-size: .8rem;
  }

  .program-scope-table th,
  .program-scope-table td {
    padding: 12px 10px;
  }
}
@media (max-width: 600px) { .tier-grid { grid-template-columns: 1fr; } }

@media (max-width: 820px) {
  .claim-matrix,
.proof-card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .claim-matrix,
.proof-card-grid {
    grid-template-columns: 1fr;
  }
  .proof-filterbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .proof-filter {
    width: 100%;
  }
  .cmp-table td::before,
.cmp-table.responsive-labels td::before {
    display: block;
    margin: 0 0 6px;
    line-height: 1.2;
  }
}

/* ── Industry landing pages ─────────────────────────────────────── */
.hero-split .eyebrow a { color: var(--accent); text-decoration: none; }
.hero-split .eyebrow a:hover { text-decoration: underline; }

.ind-intro {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}
.ind-intro-copy .ind-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: var(--r-input);
  background: var(--accent-tint); color: var(--accent);
  font-size: 1.7rem; margin-bottom: 16px;
}
.ind-intro-copy h2 { margin-bottom: 12px; }
.ind-intro-copy p { color: var(--muted); max-width: 60ch; margin-bottom: 22px; }
.ind-intro-photo { display: flex; flex-direction: column; margin: 0; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-md); }
.ind-intro-photo img { display: block; width: 100%; height: auto; max-height: 380px; object-fit: cover; }
.ind-intro-photo figcaption {
  padding: 12px 16px; font-size: .86rem; color: var(--muted);
  background: var(--surface); border-top: 1px solid var(--line);
  line-height: 1.45;
}
@media (max-width: 760px) {
  .ind-intro { grid-template-columns: 1fr; }
  .ind-intro-photo { order: -1; }
}

/* ── Industry field gallery ─────────────────────────────────────── */
.ind-gallery-sec .section-head { margin-bottom: 26px; }
.ind-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ind-shot {
  margin: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.ind-shot img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}
.ind-shot:hover img { transform: scale(1.04); }
.ind-shot figcaption {
  padding: 11px 15px; font-size: .85rem; color: var(--muted);
}
@media (max-width: 760px) {
  .ind-gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 460px) {
  .ind-gallery { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ind-shot img { transition: none; }
  .ind-shot:hover img { transform: none; }
}

/* ── 4-way CTA tiles (industry pages,
dark block) ───────────────── */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px; margin-top: 26px;
}
.cta-tile {
  display: flex; flex-direction: column; gap: 4px;
  padding: 22px 20px; border-radius: var(--r-card);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  color: #fff; text-decoration: none;
  transition: transform .35s var(--ease-out), background .35s var(--ease-out), border-color .35s var(--ease-out);
}
.cta-tile i { font-size: 1.7rem; color: #fff; margin-bottom: 6px; }
.cta-tile-t { font-weight: 700; font-size: 1.06rem; }
.cta-tile-s { font-size: .86rem; color: rgba(255,255,255,.66); }
.cta-tile:hover { transform: translateY(-3px); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }

/* ── Request page: 4-path intent chooser + adaptive groups ──────── */
.cta-chooser {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 10px; margin-bottom: 26px;
}
.cta-choice {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: var(--r-input);
  background: var(--surface); border: 1.5px solid var(--line);
  color: var(--ink); font: inherit; font-weight: 600; text-align: left; cursor: pointer;
  transition: border-color .25s var(--ease-out), background .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.cta-choice i { font-size: 1.3rem; color: var(--muted); transition: color .25s var(--ease-out); }
.cta-choice:hover { border-color: var(--accent); }
.cta-choice.active { border-color: var(--accent); background: var(--accent-tint); box-shadow: var(--shadow-xs); }
.cta-choice.active i { color: var(--accent); }
[data-intent-group][hidden] { display: none; }
/* fieldset wrapper for the sample-checkbox group (a11y: legend ties the group
   label + required state to the checkboxes). Reset UA border/padding and style
   the legend to match .field label. */
.sample-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.sample-fieldset legend {
  display: block; padding: 0; font-size: .84rem; font-weight: 700;
  margin-bottom: 7px; color: var(--ink-soft);
}
.sample-picker {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px 18px; margin-top: 8px;
}
.sample-picker label {
  display: flex; align-items: center; gap: 8px; font-size: .92rem;
  color: var(--ink); font-weight: 500; cursor: pointer;
}
.sample-picker input { width: auto; accent-color: var(--accent); }
.sample-hint { font-size: .84rem; color: var(--muted); margin-top: 8px; }
.sample-hint.err { color: var(--danger); font-weight: 700; }

/* ── Document/report previews: clipped thumbnail (uniform card rows); badge + click open the PDF ── */
.doc-link { display: block; position: relative; background: var(--panel); line-height: 0; cursor: pointer; overflow: hidden; height: 100%; }
.doc-link img {
  width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
}
.doc-badge {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 7px; border-radius: 6px;
  background: rgba(11, 18, 32, .86); color: #fff;
  font: 700 .66rem/1 var(--font); letter-spacing: .05em;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}
.doc-badge svg { display: block; }
.doc-link:hover .doc-badge,
.doc-link:focus-visible .doc-badge { background: var(--accent); }
.doc-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── Click-to-enlarge cursor for content photos (lightbox),
excluding docs + sliders ── */
.proof-card img,
.case-card img,
.ind-gallery img,
figure.photo img { cursor: zoom-in; }
[data-ba] img,
.prod-photo img,
.hmis-panel img { cursor: default; }
.doc-link,
.doc-link img,
.doc-badge { cursor: pointer; }

/* ── Lightbox ── */
#lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; color: #e9edf5; }
#lightbox::backdrop { background: rgba(8, 11, 18, .9); }
#lightbox .lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; }
#lightbox .lb-img { max-width: 96vw; max-height: 88vh; display: block; border-radius: 8px; box-shadow: 0 12px 48px rgba(0, 0, 0, .55); }
#lightbox .lb-cap { margin-top: 12px; max-width: 70ch; padding: 0 16px; text-align: center; font-size: .88rem; color: #cfd6e4; }
#lightbox .lb-close {
  position: fixed; top: 16px; right: 20px; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff;
  font-size: 1.4rem; line-height: 1; cursor: pointer;
}
#lightbox .lb-close:hover { background: rgba(255, 255, 255, .24); }
@media (prefers-reduced-motion: no-preference) {
  #lightbox[open] { animation: lbfade .18s ease; }
  @keyframes lbfade { from { opacity: 0; } to { opacity: 1; } }
}

/* Buyer routers: keep numbered choices as real cards,
never inline text. */
.route-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px 14px;
  align-items: center;
}
.route-card span {
  grid-row: 1 / span 2;
}
.route-card strong,
.route-card b {
  grid-column: 2;
}
.resource-disclosure {
  max-width: var(--maxw);
  margin-inline: auto;
}

/* Site-wide Impeccable cleanup: reduce detector-slop patterns without
   changing the existing industrial design language. */
.hero-kicker {
  color: var(--accent-ink);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.2;
  margin-bottom: 18px;
}

.display {
  font-size: 4rem;
  font-size: clamp(3rem, 5.8vw, 5rem);
  font-weight: 900;
  letter-spacing: -.035em;
}

.headline,
.buyer-router h2,
.section-head h2 {
  font-size: 2.5rem;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}

.nav-logo .logo-mark span {
  font-family: Georgia, "Times New Roman", serif;
}

.btn-primary {
  box-shadow: 0 1px 2px rgba(20,24,32,.18), 0 10px 22px -14px rgba(20,24,32,.42);
}
.btn-primary:hover {
  box-shadow: 0 2px 6px rgba(20,24,32,.20), 0 14px 28px -16px rgba(20,24,32,.46);
}

.table-scroll {
  padding: 16px !important;
}
.table-scroll .cmp-table {
  border-radius: calc(var(--r-card) - 4px);
}

.stat-band .stat {
  padding-inline: clamp(20px, 3vw, 36px) !important;
}
.stat-band .stat:first-child {
  padding-left: 0;
}

.product-flow .flow-item,
.flow-item {
  padding: clamp(26px, 3vw, 36px) !important;
}

.resource-disclosure-body {
  padding: 24px !important;
}

.block-dark .btn-primary,
.on-dark .btn-primary {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
  transition: transform .18s var(--ease-out, cubic-bezier(.22,1,.36,1)),
              box-shadow .18s var(--ease-out, cubic-bezier(.22,1,.36,1)),
              background .18s ease;
}
.block-dark .btn-primary:hover,
.on-dark .btn-primary:hover {
  background: #fff;
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -10px rgba(14,124,134,.6), 0 0 0 1px rgba(255,255,255,.14);
}
@media (prefers-reduced-motion: reduce) {
  .block-dark .btn-primary,
  .on-dark .btn-primary { transition: none; }
  .block-dark .btn-primary:hover,
  .on-dark .btn-primary:hover { transform: none; }
}

/* Products router: override generic CTA tile route-card rules near EOF. */
.buyer-router .route-grid > .route-card {
  align-items: center;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 7px 14px;
  justify-items: start;
  min-height: 92px;
  padding: 16px 18px;
  text-align: left;
}
.buyer-router .route-grid > .route-card i {
  align-self: center;
  grid-column: 1;
  grid-row: 1 / 3;
  justify-self: center;
  width: 38px;
  height: 38px;
}
.buyer-router .route-grid > .route-card span {
  align-self: end;
  grid-column: 2;
  grid-row: 1;
  line-height: 1.16;
  text-align: left;
}
.buyer-router .route-grid > .route-card strong,
.buyer-router .route-grid > .route-card b {
  align-self: start;
  grid-column: 2;
  grid-row: 2;
  line-height: 1.3;
  text-align: left;
}

.buyer-router .route-grid > .route-card:has(strong) {
  grid-template-columns: minmax(64px, auto) minmax(0, 1fr);
}
.buyer-router .route-grid > .route-card:has(strong) span {
  align-self: center;
  grid-column: 1;
  grid-row: 1 / 3;
  color: var(--accent-ink);
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.15;
  text-align: left;
}
.buyer-router .route-grid > .route-card:has(strong) strong {
  align-self: end;
  grid-column: 2;
  grid-row: 1;
  line-height: 1.2;
}
.buyer-router .route-grid > .route-card:has(strong) b {
align-self: start;
grid-column: 2;
grid-row: 2;
line-height: 1.35;
}

.nojs-nav[hidden] {
  display: none !important;
}

.prod-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  margin: -4px -4px 18px;
  padding: 12px;
  border-radius: calc(var(--r-card) - 4px);
  background: transparent;
  overflow: visible;
}

.prod-media img {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  display: block;
}

.prod-card:has(.prod-media) .prod-top {
  margin-top: 0;
}

/* Product catalog refresh */
.product-catalog-hero {
  padding-bottom: clamp(44px, 7vw, 86px);
}

.product-catalog-hero .hero-grid {
  align-items: center;
}

.catalog-hero-media {
  display: grid;
  grid-template-columns: 1.2fr .85fr;
  grid-template-rows: repeat(2, minmax(140px, 1fr));
  gap: 14px;
}

.catalog-photo {
  position: relative;
  min-height: 160px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: #fff;
}

.catalog-photo-large {
  grid-row: 1 / span 2;
  min-height: 380px;
}

.catalog-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bottle-shot-frame {
  border-color: transparent;
  background: transparent;
  overflow: visible;
}

.bottle-shot-frame img,
.bottle-shot {
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}

.bottle-shot-frame img {
  padding: clamp(8px, 1.5vw, 18px);
}

.catalog-photo figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(22, 24, 29, .82);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
}

.catalog-label {
  display: inline-block;
  color: var(--accent);
  font-size: .86rem;
  font-weight: 900;
  line-height: 1.25;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.conversion-proof .subhead,
.conversion-proof-head .subhead {
  color: rgba(255, 255, 255, .78);
}

.proof-pill {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 164px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r-card);
  background: rgba(255, 255, 255, .08);
  color: inherit;
}

.proof-pill span {
  width: max-content;
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.proof-pill b {
  font-size: 1.1rem;
}

.proof-pill em {
  color: rgba(255, 255, 255, .76);
  font-style: normal;
  line-height: 1.45;
}

@media (max-width: 920px) {
.catalog-hero-media,
.proof-strip {
grid-template-columns: 1fr;
}

.catalog-photo-large {
grid-row: auto;
min-height: 280px;
}
}

@media (min-width: 721px) and (max-width: 920px) {
.catalog-hero-media {
grid-template-columns: repeat(3, minmax(0, 1fr));
grid-template-rows: none;
align-items: stretch;
}

.catalog-photo,
.catalog-photo-large {
grid-column: auto;
grid-row: auto;
min-height: 0;
aspect-ratio: 4 / 3;
overflow: hidden;
background: #fff;
}

.catalog-photo img {
height: 100%;
max-height: none;
aspect-ratio: auto;
}

.bottle-shot-frame img {
object-fit: contain;
}
}

@media (max-width: 620px) {

  .proof-pill {
    min-height: 0;
  }
}

@media (max-width: 920px) {
}

@media (max-width: 560px) {
}

.catalog-shelf-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.catalog-shelf-media img {
  width: 100%;
  height: 126px;
  object-fit: contain;
  display: block;
}

.catalog-shelf-media i {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--panel-cool);
  color: var(--accent-ink);
  font-size: 1.5rem;
}

.product-media-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 360px);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding-bottom: 12px;
  scrollbar-width: thin;
}

.product-media-card {
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: #fff;
}

.product-media-card img {
  width: 100%;
  height: clamp(220px, 23vw, 278px);
  object-fit: cover;
  display: block;
  box-sizing: border-box;
  background: var(--panel-cool);
}

.product-media-card-product img {
  padding: 14px;
  object-fit: contain;
  background: transparent;
}

.product-media-card figcaption {
  padding: 12px 14px 14px;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 900;
  line-height: 1.25;
}

@media (max-width: 720px) {

  .product-media-row {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    grid-auto-columns: auto;
    overflow-x: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }

  .product-media-card {
    scroll-snap-align: none;
  }
}

#catalog,
.product-media-section {
  scroll-margin-top: 96px;
}

@media (max-width: 720px) {
}

@media (max-width: 720px) {
  .product-catalog-hero {
    padding-top: 92px;
    padding-bottom: 38px;
  }

  .product-catalog-hero .display {
    font-size: clamp(2.55rem, 12vw, 3.7rem);
  }

  .catalog-hero-media {
    margin-top: 32px;
  }
}

.prod-card {
  display: flex;
  flex-direction: column;
}

.prod-card .catalog-type {
  display: block;
  margin: 0 0 10px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .07em;
  line-height: 1.25;
  text-transform: uppercase;
}

.product-fit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.product-fit-list li {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.1;
}

.product-proof-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.35;
}

.product-proof-line::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: .45em;
  border-radius: 999px;
  background: var(--accent);
}

.prod-card .prod-actions {
  margin-top: auto;
  padding-top: 20px;
}

@media (prefers-reduced-motion: no-preference) {
  body.reveal-ready .product-catalog .reveal,
body.reveal-ready .conversion-proof .reveal,
body.reveal-ready .matrix-disclosure.reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 560px) {
  .product-fit-list li {
    max-width: 100%;
    font-size: .74rem;
  }

  .prod-card .btn-sm {
    width: 100%;
    justify-content: center;
  }
}

/* Shared hardening for missing/deferred documentary media. */
.media-fallback {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 150px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--line));
  background:
    radial-gradient(74% 92% at 18% 16%, rgba(14,124,134,.14), transparent 64%),
    linear-gradient(135deg, rgba(14,124,134,.1), rgba(21,23,28,.04)),
    var(--surface);
}

.media-fallback img[hidden] {
  display: none !important;
}

.media-fallback-label {
  max-width: min(28ch, calc(100% - 32px));
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
}

.catalog-shelf-media.media-fallback {
  min-height: 128px;
  border-radius: 13px;
}

.proof-card figure.media-fallback,
.case-card figure.media-fallback,
.product-media-card.media-fallback,
.ind-gallery figure.media-fallback {
  aspect-ratio: 4 / 3;
}

@media (max-width: 680px) {
  .nav-links.open {
    box-shadow: 0 18px 38px -28px rgba(21,23,28,.45);
  }

  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-links a.active {
    color: var(--accent-ink);
  }

  .media-fallback {
    min-height: 132px;
  }
}

.hmis-tag.safe,
.cmp-table .safe {
  color: #062321;
}

/* Nav IA: proof + industries are one buying path, exposed as Use Cases. */
.nav-group {
  position: relative;
  display: grid;
  align-items: center;
}

.nav-group summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  color: inherit;
  font: inherit;
  /* Weight matches sibling links; only .active carries emphasis, so the
     dropdown trigger doesn't read as permanently selected. */
  font-weight: inherit;
}

.nav-group summary::-webkit-details-marker { display: none; }

.nav-group summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: .58;
}

.nav-group summary.active,
.nav-group.active summary {
  color: var(--ink);
  font-weight: 700;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 90;
  display: grid;
  gap: 2px;
  min-width: 178px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 42px -28px rgba(20, 24, 32, .48);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}

.nav-group[open] .nav-menu,
.nav-group:hover .nav-menu,
.nav-group:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-menu a {
  display: block;
  min-height: 44px;
  height: 44px;
  padding: 10px 12px;
  border-radius: 9px;
  white-space: nowrap;
}

.nav-menu a::after { display: none; }
.nav-menu a:hover,
.nav-menu a.active { background: var(--accent-tint); }
/* Dropdown panel is always a light/white surface — keep its link text dark in every nav
   state. In over-dark, links inherit the light .nav-links color (var(--ink-inverse)) → invisible on
   white, and the over-dark hover rule paints #fff; override both, scoped to the panel. */
.nav-menu a { color: var(--ink-soft); }
.nav-menu a:hover,
.nav-menu a.active { color: var(--ink); }
.nav.over-dark .nav-menu a { color: var(--ink-soft); }
.nav.over-dark .nav-menu a:hover,
.nav.over-dark .nav-menu a.active { color: var(--ink); }
.nav.over-dark .nav-group summary { color: var(--ink-inverse); }
.nav.over-dark .nav-group summary:hover,
.nav.over-dark .nav-group summary.active { color: #fff; }
/* over-dark bg stays dark even when scrolled, so summary stays light (matches the <a> links).
   Only the mobile open menu is a light panel, so darken summary there. */
.nav.over-dark .nav-links.open .nav-group summary { color: var(--ink); }

@media (max-width: 720px) {
  .nav-links.open {
    align-items: stretch;
  }

  .nav-group {
    width: 100%;
  }

  .nav-group summary {
    justify-content: space-between;
    padding: 10px 0;
    font-size: 1.05rem;
  }

  .nav-menu {
    position: static;
    width: 100%;
    min-width: 0;
    padding: 2px 0 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .nav-group[open] .nav-menu,
  .nav-group:hover .nav-menu,
  .nav-group:focus-within .nav-menu {
    transform: none;
  }

  .nav-menu a {
    box-sizing: border-box;
    width: 100%;
    min-height: 38px;
    padding: 9px 14px;
    text-align: left;
  }
}

/* Evidence bands: keep bordered data tiles from feeling inset from their rules. */
.stat-band {
  padding-block: clamp(44px, 6vw, 64px);
}

.stat {
  padding-inline: clamp(22px, 3vw, 36px);
}

.stat + .stat {
  padding-left: clamp(28px, 4vw, 44px);
}

.trust-cols > div {
  padding-inline: clamp(18px, 3vw, 30px);
}

.page-hero .eyebrow,
.catalog-type,
body .page-hero span.eyebrow,
.ind-hero .eyebrow,
.industry-hero .eyebrow,
.wrap > .eyebrow {
  text-transform: none !important;
  letter-spacing: .045em !important;
}

@media (max-width: 680px) {
  .stat,
.stat + .stat,
.trust-cols > div {
    padding-inline: 0;
  }
}

/* Full-site audit pass: make compact controls meet target-size checks without
   changing the existing navigation,
filter,
or quote flow structure. */
.nav-links a {
  min-width: 44px;
  justify-content: center;
}

.proof-filter,
.contact-card a,
.eyebrow a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.rail-btn {
  min-height: 44px;
}

.stat-band .stat {
  padding-inline: clamp(24px, 3.4vw, 42px) !important;
}

.stat-band .stat + .stat {
  padding-left: clamp(32px, 4.4vw, 52px) !important;
}

@media (max-width: 680px) {
  .stat-band .stat,
.stat-band .stat + .stat {
    padding-inline: 0 !important;
  }
}

/* ============================================================
   Products shop: e-commerce grid
   ============================================================ */

.shop-card-decision {
  display: grid;
  min-width: 0;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.4;
}

.shop-card-decision-row {
  display: grid;
  min-width: 0;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin: 0;
}

.shop-card-decision-label {
  color: var(--ink);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.shop-card-fit-list {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-card-fit {
  min-width: 0;
  overflow-wrap: anywhere;
}

.shop-card-proof-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}

.shop-card-proof-link {
  color: var(--accent-ink);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.shop-card-proof-link:focus-visible {
  outline: none;
  border-radius: 2px;
  box-shadow: 0 0 0 3px rgba(14, 124, 134, .38);
}

/* ---- Shop toolbar (chips + sort) ---- */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.shop-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-chip {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  min-height: 44px;
  transition: border-color .18s var(--ease-out), color .18s var(--ease-out), background .18s var(--ease-out);
}
.shop-chip:hover { border-color: var(--ink); color: var(--ink); }
.shop-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.shop-sort { display: flex; align-items: center; gap: 10px; }
.shop-sort label { font-size: .85rem; font-weight: 700; color: var(--muted); }
.shop-select {
  padding: 9px 34px 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235f656d' d='M6 8 0 2l1.4-1.4L6 5.2 10.6.6 12 2z'/%3E%3C/svg%3E") no-repeat right 12px center;
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
  height: 44px;
}
.shop-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.shop-count { font-size: .85rem; color: var(--muted); margin-left: 4px; }

/* ---- Product grid (4–5 per row,
fully clickable cards) ---- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  grid-auto-flow: dense;
  gap: 18px;
}

.shop-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  color: var(--ink);
  transition: border-color .2s var(--ease-out), transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.shop-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.shop-card:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }

.shop-card-link { display: flex; flex: 1; min-width: 0; flex-direction: column; color: inherit; text-decoration: none; }
.shop-card-link:focus-visible { outline: none; }

.shop-card-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--panel-cool);
  border-bottom: 1px solid var(--line-soft);
}
.shop-card-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.shop-card-media > i { font-size: 3rem; color: var(--accent); }
.shop-card-placeholder {
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border-radius: 14px;
  border: 1px solid rgba(14, 124, 134, .16);
  background:
    radial-gradient(circle at 28% 18%, rgba(14, 124, 134, .18), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(232, 244, 245, .72));
  color: var(--accent-ink);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.shop-card-placeholder i {
  font-size: 2.7rem;
  color: var(--accent);
}
.shop-card-placeholder span {
  max-width: 12ch;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.product-data-note {
  overflow-wrap: anywhere;
  word-break: normal;
}
.shop-card-media .hmis-badge { position: absolute; top: 10px; right: 10px; }

.shop-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  flex: 1;
}
.shop-card-type { font-size: .76rem; font-weight: 700; letter-spacing: .02em; text-transform: none; color: var(--muted); }
.shop-card-name { font-size: 1.12rem; font-weight: 800; line-height: 1.2; }
/* Keep copy packed with the title; the card's flexible slack lands after the CTA
   (inside the body) so quote-only cards don't open a hole mid-content. */
.shop-card-replaces { font-size: .88rem; color: var(--muted); }
.shop-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: .88rem;
  font-weight: 800;
  color: var(--accent-ink);
}
.shop-card-add {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin: 0 16px 16px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}
.shop-card-add:hover,
.shop-card-add:focus-visible {
  border-color: var(--accent);
  color: var(--accent-ink);
  outline: none;
}
.shop-card-add:disabled { cursor: wait; opacity: .72; }
.shop-card-commerce,
.commerce-slot {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
}
.shop-card-commerce {
  margin: 0 16px 16px;
}
.shop-card-bulk {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 12px auto 0;
  padding: 8px 10px;
  border: 1px solid rgba(14, 124, 134, .24);
  border-radius: 10px;
  background: rgba(14, 124, 134, .08);
  color: var(--accent-ink);
  font-size: .98rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}
.shop-card-quote {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
}
.shop-card-quote:hover,
.shop-card-quote:focus-visible {
  border-color: var(--accent);
  color: var(--accent-ink);
  outline: none;
}
/* Volume-variant buy control (select + add button), sits inside the z-indexed commerce slot. */
.commerce-buy { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.commerce-buy-loading { min-height: 38px; }
.commerce-skeleton { display: inline-block; width: 132px; height: 36px; border-radius: var(--r-input); }
.commerce-vol {
  min-height: 34px;
  max-width: 170px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: .8rem;
  font-weight: 700;
}
.commerce-vol:focus { outline: none; border-color: var(--accent); }
.commerce-unit-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(14, 124, 134, .1);
  color: var(--accent-ink);
  font-size: .95rem;
  font-weight: 900;
}
.shop-card-cta i { transition: transform .18s var(--ease-out); }
.shop-card:hover .shop-card-cta i { transform: translateX(3px); }

.shop-empty { margin-top: 28px; text-align: center; color: var(--muted); }
.shop-empty button {
  margin-left: 6px;
  border: none;
  background: none;
  font: inherit;
  font-weight: 800;
  color: var(--accent-ink);
  cursor: pointer;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .shop-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
}
@media (max-width: 560px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .shop-card-name { font-size: 1rem; }
  .shop-toolbar { flex-direction: column; align-items: stretch; }
  .shop-sort { justify-content: space-between; }
}
/* Commerce cart */
.cart-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 28px;
  align-items: start;
}
.cart-shell.is-empty { grid-template-columns: minmax(0, 760px); justify-content: center; }
.cart-summary[hidden] { display: none !important; }
.cart-summary {
  position: sticky;
  top: 92px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.cart-summary-head { margin-bottom: 20px; }
.cart-summary-head h2 { margin: 4px 0 0; font-size: clamp(1.45rem, 3vw, 1.85rem); }
.cart-summary-empty { margin: 0; color: var(--muted); line-height: 1.55; }
.cart-lines { display: grid; gap: 14px; }

.cart-line-price {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
}

.cart-estimate {
  margin: 0 0 20px;
  padding: 16px 0;
  border-block: 1px solid var(--line);
}

.cart-estimate[hidden] { display: none !important; }
.cart-estimate dl { display: grid; gap: 12px; margin: 0; }

.cart-estimate div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink-soft);
}

.cart-estimate dt {
  font-size: .92rem;
  font-weight: 600;
}

.cart-estimate dd {
  margin: 0;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.cart-estimate .cart-total-row {
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink);
}
.cart-estimate .cart-total-row dt { font-weight: 800; }
.cart-estimate .cart-total-row dd {
  font-size: 1.25rem;
  line-height: 1;
}
.cart-estimate .cart-total-count {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 600;
}
.cart-estimate > p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.45;
}
.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.cart-line > div { min-width: 0; }
.cart-line h2,
.cart-line h3 { margin: 3px 0 6px; font-size: 1.08rem; }
.cart-line p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.cart-line h2,
.cart-line p,
.cart-estimate dd,
.cart-account { overflow-wrap: anywhere; }
.cart-line label,
.field-label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.cart-line input,
.cart-input {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid var(--line);
  border-radius: var(--r-input);
  padding: 12px 13px;
  font: inherit;
  background: var(--surface);
}
.cart-line input:focus,
.cart-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14,124,134,.14);
}
.cart-field-help { margin: 7px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.cart-status {
  margin: 14px 0 0;
  padding: 11px 12px;
  border-radius: var(--r-input);
  background: var(--panel);
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}
.cart-status[hidden] { display: none !important; }
.cart-status:not([hidden]) + #checkoutActive { margin-top: 16px; }
.cart-status[data-state=ok] { color: var(--status-success-ink); }
.cart-status[data-state=err] { color: var(--status-danger-ink); }
.cart-actions { display: grid; gap: 10px; margin-top: 20px; }
.cart-actions .btn { width: 100%; justify-content: center; }
.cart-actions [hidden] { display: none !important; }
/* Disabled checkout paths drop to neutral gray — a washed brand-teal fill still
   reads tappable and outranks the enabled quote link beneath it. */
.cart-actions .btn:disabled {
  cursor: not-allowed;
  background: var(--panel);
  border-color: var(--line);
  color: var(--muted);
  box-shadow: none;
  transform: none;
}
.cart-checkout-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.45;
}
.cart-checkout-note i { margin-top: 2px; color: var(--accent); font-size: 1rem; }
.cart-quote-prompt {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
}
.cart-quote-prompt a,
.cart-account a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block: -12px;
  padding-inline: 4px;
  color: var(--accent-ink);
  font-weight: 800;
}
.cart-account {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: .875rem;
  line-height: 1.5;
  text-align: center;
}
.cart-account[hidden] { display: none !important; }
.cart-account i { color: var(--accent); }
.cart-empty {
  padding: clamp(26px, 5vw, 46px);
  border: 1px dashed var(--line);
  border-radius: 14px;
  text-align: center;
  color: var(--muted);
}
.cart-empty h2,
.cart-empty h3 { color: var(--ink); margin-bottom: 8px; }
.confirmation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.confirmation-grid .route-card:last-child { grid-column: 1 / -1; }
.confirmation-grid .route-card {
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 118px;
}
.confirmation-grid .route-card i {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.confirmation-grid .route-card span,
.confirmation-grid .route-card b {
  grid-column: 1;
}

@media (max-width: 860px) {
  .cart-shell,
  .confirmation-grid { grid-template-columns: 1fr; }
  .confirmation-grid .route-card:last-child { grid-column: auto; }
  .cart-summary { position: static; }
  .cart-line { grid-template-columns: 1fr; }
  .cart-line .btn { justify-content: center; }
}

@media (max-width: 520px) {
  .nav-actions { gap: 7px; }
  .nav-cart {
    width: 42px;
    min-height: 42px;
    justify-content: center;
    padding: 0;
  }
  .nav-cart span {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}

/* Commerce refinement: keep catalog and product decisions in scan range. */
body .product-catalog-hero {
  padding-bottom: clamp(24px, 3vw, 42px);
}

body.products-page .section-head .headline {
  font-size: clamp(2rem, 4vw, 3rem);
}

body.products-page .shop-card-copy,
body.products-page .catalog-price-note {
  font-size: 1rem;
}

body .shop-sec {
  padding-top: clamp(32px, 5vw, 58px);
}

body .page-hero {
  padding-top: clamp(44px, 5vw, 58px);
  padding-bottom: clamp(38px, 5vw, 54px);
}

body .page-hero .hero-grid {
  align-items: start;
}

body .page-hero {
  padding-top: clamp(42px, 5vw, 58px);
  padding-bottom: clamp(38px, 5vw, 56px);
}

body .page-hero .hmis-panel {
  justify-self: end;
  max-width: 430px;
  padding: 20px;
}

body .page-hero .product-shot {
  max-height: 220px;
  width: 100%;
  object-fit: contain;
}

.product-detail-hero {
  padding-top: clamp(34px, 4vw, 48px);
  padding-bottom: clamp(32px, 4vw, 46px);
}

.product-detail-hero .display {
  font-size: clamp(2.4rem, 4.6vw, 3.55rem);
}

.product-detail-hero .subhead {
  max-width: 54ch;
  line-height: 1.48;
}

.product-detail-page .product-hero-media {
  display: grid;
  place-items: center;
}

.product-detail-page .product-hero-media img {
  width: min(100%, 430px);
  height: auto;
  max-height: min(58vh, 520px);
  object-fit: contain;
}

.product-detail-hero .hero-ctas {
  gap: 10px;
  align-items: center;
  margin-top: 22px;
}

.product-detail-hero .commerce-vol {
  width: auto;
  min-width: min(100%, 240px);
  max-width: 260px;
  min-height: 44px;
  flex: 0 1 240px;
  padding-inline: 12px 28px;
  font-size: .82rem;
}

.product-detail-hero .commerce-unit-price,
.product-detail-hero #pStock {
  min-height: 36px;
  margin-left: 0 !important;
  font-size: .82rem;
}

main:has(#pMediaSection) > section:not(.page-hero):not(.block-dark) {
  padding-top: clamp(34px, 4vw, 48px);
  padding-bottom: clamp(34px, 4vw, 48px);
}

main:has(#pMediaSection) .section-head {
  margin-bottom: clamp(22px, 3vw, 34px);
}

@media (max-width: 720px) {
  body .catalog-hero-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 12px;
  }

  body .catalog-photo-large {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  body .catalog-photo img {
    aspect-ratio: 1 / 1;
    max-height: 220px;
  }

}
/* Quote-service catalog */
.service-catalog-band {
  padding-top: 0;
}

.service-catalog-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 22px;
}

.service-catalog-summary span {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
}

.service-catalog-summary b {
  color: var(--ink);
}

.service-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-category {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.service-category-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.service-category-head i {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 1.2rem;
}

.service-category h3 {
  margin: 0 0 5px;
  font-size: 1rem;
}

.service-category p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}

.service-category-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: .88rem;
}

.service-category-meta span {
  color: var(--muted);
}

.service-category-meta strong {
  color: var(--accent-ink);
  white-space: nowrap;
}

.service-category ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-category li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  font-size: .9rem;
}

.service-category li span {
  min-width: 0;
}

.service-category li b {
  color: var(--ink);
  font-size: .86rem;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .service-catalog-summary,
  .service-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .service-catalog-summary,
  .service-catalog-grid {
    grid-template-columns: 1fr;
  }

  .service-category {
    min-height: 0;
  }
}
/* Audit polish: mobile first-fold actions and no-JS product confidence. */
.static-product-fallback {
  padding-top: clamp(28px, 5vw, 60px);
  padding-bottom: 0;
}

.static-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.static-product-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.static-product-card b {
  color: var(--ink);
  font-size: 1.05rem;
}

.static-product-card span {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.static-product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.static-product-card a {
  margin-top: auto;
  color: var(--ink);
  font-weight: 900;
  text-decoration: underline;
}

.ind-specific {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: start;
}

.ind-specific .proof-callout {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.ind-specific .proof-callout p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.ind-specific .proof-callout p:first-child {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 760px) {
  .static-product-grid {
    grid-template-columns: 1fr;
  }

  .ind-specific {
    grid-template-columns: 1fr;
  }
}

/* ---- a11y: per-component keyboard focus rings ----
   The global :focus-visible rule (top of file) draws an outline on most controls,
   but these commerce/shop pill controls suppress it (outline:none) and previously
   left keyboard focus indistinguishable from hover. Add a focus-visible ring that
   follows the rounded shape via box-shadow. Additive: these append after the base
   component rules so the ring wins on the keyboard-focus path; mouse :focus is
   unaffected. */
.shop-card-add:focus-visible,
.shop-card-quote:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(14, 124, 134, .38);
}
.commerce-vol:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 124, 134, .38);
}
/* The card link suppresses its own ring; the parent card already shows
   :focus-within. Keep the ring reachable for direct keyboard focus too. */
.shop-card-link:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--accent);
}

/* Review remediation: keep task controls reachable and tappable. */
.nav-account,
.nav-signin,
.nav-cart,
.shop-chip,
.shop-search input,
#shopSearch,
.btn-sm {
  min-height: 44px;
}

.nav-cart {
  min-width: 44px;
  justify-content: center;
}

.shop-chip {
  display: inline-flex;
  align-items: center;
}

.catalog-price-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.catalog-price-note span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 800;
}

.catalog-price-note i {
  color: var(--accent-ink);
  font-size: 1rem;
}

.shop-card {
  min-height: 100%;
}

.shop-card-link {
  flex: 1 1 auto;
}

.shop-card-buybar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: auto 16px 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.shop-card-price {
  display: grid;
  gap: 2px;
}

.shop-card-price[hidden] {
  display: none;
}

.price-main {
  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1;
  font-weight: 900;
}

.price-note {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* Quote-only cards: same slot rhythm as a price, worded as a state. */
.price-main-quote {
  font-size: .98rem;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* Match the Add-to-cart control height so both card states share one rhythm. */
.shop-card-buybar .shop-card-quote {
  min-height: 42px;
  justify-content: center;
}

.shop-card-commerce {
  margin: 0;
  width: 100%;
}

.commerce-buy {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.commerce-vol {
  width: 100%;
  min-height: 42px;
  max-width: none;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background-color: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: .86rem;
  font-weight: 800;
}

.shop-card-add {
  min-height: 42px;
  margin: 0;
  padding: 0 14px;
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.shop-card-add:hover,
.shop-card-add:focus-visible {
  border-color: var(--accent-ink);
  background: var(--accent-ink);
  color: #fff;
}

.service-page-hero .hero-grid {
  align-items: center;
}

.service-quote-panel {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.service-quote-panel div {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}

.service-quote-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.service-quote-panel span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-quote-panel strong {
  color: var(--ink);
  font-size: 1rem;
}

@media (max-width: 720px) {
  .product-catalog-hero {
    padding-top: 38px;
    padding-bottom: 16px;
  }

  .product-catalog-hero .hero-grid {
    gap: 24px;
  }

  .product-catalog-hero .display {
    font-size: clamp(2.35rem, 11vw, 3.25rem);
    line-height: 1.03;
  }

  .product-catalog-hero .subhead {
    margin-top: 12px;
    font-size: 1rem;
  }

  .product-catalog-hero .hero-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-top: 22px;
  }

  .product-catalog-hero .hero-actions .btn {
    flex: 1 1 180px;
    justify-content: center;
  }

  .product-catalog-hero .catalog-hero-media {
    display: none;
  }

  #swap {
    padding-top: 12px;
  }

  #swap .section-head {
    margin-bottom: 12px;
  }

  #swap .section-head .eyebrow {
    display: none;
  }

  .commerce-buy {
    grid-template-columns: 1fr;
  }

  .shop-card-add {
    width: 100%;
  }
}

@media (max-width: 560px) {
  body.products-page .catalog-quick-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  body.products-page .catalog-quick-facts span {
    min-width: 0;
    min-height: 52px;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding-inline: 4px;
    font-size: .78rem;
    text-align: center;
  }

  body .shop-grid {
    grid-template-columns: 1fr;
  }

  .shop-card {
    max-width: none;
  }
}
@media (max-width: 720px) {
  .product-catalog-hero .hero-actions .btn-primary {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .product-catalog .search-input,
  .product-catalog input[type="search"],
  .product-catalog .shop-select,
  .product-catalog select,
  .nav-signin,
  .shop-toolbar input,
  .catalog-toolbar input {
    min-height: 44px;
  }

  .product-catalog .shop-select {
    height: 44px;
  }
}

/* Product catalog polish: make the shelf read like a buying surface. */
#catalog {
  scroll-margin-top: 86px;
}

#catalog .section-head {
  margin-bottom: 28px;
}

.catalog-price-note {
  max-width: 1040px;
  margin: 18px 0 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.catalog-price-note span,
.catalog-price-note a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(0, 115, 119, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .76);
  color: color-mix(in srgb, var(--muted) 78%, var(--ink));
  box-shadow: 0 10px 26px rgba(4, 50, 54, .05);
}

.catalog-price-note a {
  font-weight: 800;
  color: var(--accent-ink);
}

.catalog-price-note a:hover,
.catalog-price-note a:focus-visible {
  border-color: rgba(0, 115, 119, .3);
  background: var(--accent-tint);
}

.segment-pricing-hero {
  min-height: auto;
  padding: clamp(74px, 10vw, 122px) 0 clamp(44px, 7vw, 78px);
}

.segment-pricing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.segment-pricing-side {
  display: grid;
  gap: 16px;
}

.segment-pricing-media {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(13, 48, 53, .12);
  border-radius: 14px;
  background: var(--surface-soft);
  box-shadow: var(--shadow-sm);
}

.segment-pricing-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.segment-pricing-facts {
  display: grid;
  gap: 12px;
}

.segment-pricing-facts span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(13, 48, 53, .12);
  border-radius: 12px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-xs);
  color: var(--muted);
}

.segment-pricing-facts b {
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1;
}

.segment-volume-note {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(0, 115, 119, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .78);
  color: var(--accent-ink);
  font-size: .92rem;
  font-weight: 900;
  line-height: 1.35;
  box-shadow: var(--shadow-xs);
}

.segment-pricing-section {
  padding-top: clamp(54px, 7vw, 86px);
}

.segment-pricing-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 26px;
  align-items: end;
  margin-bottom: 22px;
}

.segment-pricing-note {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(0, 115, 119, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .78);
  color: var(--muted);
  box-shadow: var(--shadow-xs);
}

.segment-pricing-note b {
  color: var(--accent-ink);
}

.segment-pricing-scroll {
  overflow-x: auto;
  border: 1px solid rgba(13, 48, 53, .12);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(4, 50, 54, .07);
}

.segment-pricing-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  font-size: .92rem;
}

.segment-pricing-table th,
.segment-pricing-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

.segment-pricing-table thead th {
  background: var(--surface-soft);
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}
/* Product cell is a row header (scope="row") for screen-reader association, but
   must read as a normal data cell, not the uppercase column-header style above. */
.segment-pricing-table th[scope="row"] {
  font-weight: 400;
  text-transform: none;
}

.segment-pricing-table td {
  color: var(--ink-soft);
}

.segment-pricing-table tbody tr:last-child td {
  border-bottom: 0;
}

.segment-pricing-table :is(th, td) b,
.segment-pricing-table :is(th, td) strong {
  display: block;
  color: var(--ink);
}

.segment-pricing-table :is(th, td) span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .82rem;
}

.segment-buyable {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(0, 115, 119, .18);
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-ink);
  font-size: .78rem;
  font-weight: 800;
}

.segment-buyable:hover,
.segment-buyable:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.segment-pricing-cta {
  padding: clamp(56px, 8vw, 92px) 0;
}

.segment-pricing-cta .wrap {
  display: grid;
  gap: 18px;
}

@media (max-width: 800px) {
  .segment-pricing-hero-grid,
  .segment-pricing-head {
    grid-template-columns: 1fr;
  }

  .segment-pricing-side {
    grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
    align-items: start;
  }

  .segment-pricing-table {
    min-width: 760px;
  }
}

@media (max-width: 620px) {
  .segment-pricing-side { grid-template-columns: 1fr; }
}

/* Phone: the 6-column price table can't scroll its price + buy-button columns
   into view without a swipe most users never try. Collapse to stacked cards so
   every product shows its price and its CTA in the flow. Labels come from each
   cell's data-label (mirrors the .cmp-table mobile treatment). */
@media (max-width: 760px) {
  .segment-pricing-scroll {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .segment-pricing-table {
    display: block;
    width: 100%;
    min-width: 0;
    font-size: .95rem;
  }
  .segment-pricing-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .segment-pricing-table tbody {
    display: grid;
    gap: 12px;
  }
  .segment-pricing-table tr {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    background: var(--surface);
  }
  .segment-pricing-table th,
  .segment-pricing-table td {
    display: block;
    padding: 0;
    border: 0;
  }
  .segment-pricing-table th[scope="row"] {
    font-size: 1.05rem;
    margin-bottom: 2px;
  }
  .segment-pricing-table td::before {
    display: block;
    content: attr(data-label);
    color: var(--muted);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 2px;
  }
  .segment-pricing-table td[data-label="Action"] {
    margin-top: 4px;
  }
  .segment-pricing-table td[data-label="Action"]::before {
    content: "";
    margin: 0;
  }
  .segment-pricing-table :is(th, td) span {
    display: inline;
    margin: 0 0 0 6px;
  }
}

.shop-toolbar {
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(0, 115, 119, .12);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(247, 251, 250, .86)),
    radial-gradient(circle at 16% 0%, rgba(0, 130, 135, .08), transparent 42%);
  box-shadow: 0 18px 50px rgba(4, 50, 54, .07);
}

.shop-toolbar input,
.shop-toolbar select {
  border-color: rgba(13, 48, 53, .12);
  background-color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82);
}

.shop-chip {
  min-height: 44px;
  border-radius: 8px;
  font-weight: 750;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.shop-chip:hover {
  transform: translateY(-1px);
}

.shop-chip:active {
  transform: translateY(0);
}

.shop-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 246px), 1fr));
  gap: 22px;
  align-items: stretch;
}

.shop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-color: rgba(13, 48, 53, .12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 251, 250, .96)),
    radial-gradient(circle at 18% 0%, rgba(0, 130, 135, .08), transparent 38%);
  box-shadow: 0 14px 38px rgba(4, 50, 54, .08);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.shop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 58px rgba(4, 50, 54, .13);
}

.shop-card-link {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.shop-card-media {
  min-height: 210px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(244, 249, 248, .92)),
    radial-gradient(circle at 50% 16%, rgba(0, 130, 135, .10), transparent 42%);
  border-bottom: 1px solid rgba(13, 48, 53, .08);
}

.shop-card-media img {
  transform: scale(1.04);
  transition: transform .24s ease;
}

.shop-card:hover .shop-card-media img {
  transform: scale(1.075);
}

.shop-card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 184px;
  padding-bottom: 16px;
}

.shop-card-type {
  min-height: 2.35em;
  letter-spacing: .02em;
  line-height: 1.18;
  text-wrap: balance;
}

.shop-card-name {
  line-height: 1.08;
  text-wrap: balance;
}

.shop-card-replaces {
  min-height: 3.1em;
  line-height: 1.55;
  text-wrap: pretty;
}

.shop-card-cta {
  margin-top: auto;
  font-weight: 780;
}

.shop-card-price {
  grid-column: 1 / -1;
  margin: 0;
  padding: 15px;
  border-top: 1px solid rgba(13, 48, 53, .09);
  border-radius: 10px;
  background: rgba(255, 255, 255, .78);
}

.price-main {
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.price-note {
  margin-top: 4px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .045em;
  color: color-mix(in srgb, var(--muted) 82%, var(--ink));
}

.shop-card-buybar {
  margin: 0 18px 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.shop-card-commerce,
.shop-card-buybar .commerce-buy {
  display: block;
}

.shop-card-buybar .commerce-buy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.shop-card-buybar .commerce-vol,
.shop-card-buybar .shop-card-add {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 46px;
  border-radius: 12px;
  font-weight: 800;
}

.shop-card-buybar .commerce-vol {
  padding-inline: 13px;
  border-color: rgba(13, 48, 53, .12);
  background-color: #fff;
}

.shop-card-buybar .shop-card-add {
  box-shadow: 0 10px 24px rgba(0, 115, 119, .18);
}

.shop-card-buybar .commerce-quote-swap:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 760px) {
  #catalog {
    scroll-margin-top: 72px;
  }

  .catalog-price-note {
    justify-content: flex-start;
    margin-top: 14px;
  }

  .catalog-price-note span {
    width: 100%;
    justify-content: flex-start;
  }

  .shop-toolbar {
    padding: 12px;
  }

  .shop-grid {
    gap: 16px;
  }

  .shop-card {
    border-radius: 12px;
  }

  .shop-card-media {
    min-height: 190px;
  }

  .shop-card-body {
    min-height: 150px;
  }

  .shop-card-price,
  .shop-card-buybar {
    margin-inline: 14px;
  }

  .price-main {
    font-size: 1.42rem;
  }
}
.services-hero {
  padding: clamp(92px, 10vw, 132px) 0 clamp(56px, 7vw, 88px);
  background:
    linear-gradient(135deg, rgba(14, 124, 134, .08), rgba(250, 251, 252, 0) 46%),
    var(--surface);
}

.services-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}

.services-hero-copy .display {
  max-width: 780px;
  font-size: clamp(2.7rem, 4.8vw, 4.7rem);
}

.services-hero-copy .subhead {
  max-width: 58ch;
}

.services-hero-media {
  margin: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 5 / 4;
}

.services-hero-media img,
.services-proof-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.service-positioning,
.services-recommendation,
.service-catalog-band,
.services-proof,
.services-cms-faq,
.services-final-cta {
  padding: clamp(56px, 8vw, 96px) 0;
}

.service-positioning-grid,
.services-recommendation-grid,
.services-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.service-positioning-copy p,
.services-proof-copy p,
.services-final-panel p,
.service-catalog-intro p,
.recommendation-panel p {
  max-width: 64ch;
  color: var(--muted);
  line-height: 1.7;
}

.service-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.service-stats div {
  padding: clamp(18px, 3vw, 28px);
  border-right: 1px solid var(--line);
}

.service-stats div:last-child {
  border-right: 0;
}

.service-stats b {
  display: block;
  color: var(--accent-ink);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.service-stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: .88rem;
}

.service-data-panel {
  display: grid;
  gap: 14px;
}

.data-viz-card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  padding: clamp(18px, 3vw, 28px);
}

.viz-copy {
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.viz-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.18;
}

.viz-copy p,
.viz-fallback {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.viz-stack {
  display: flex;
  min-height: 86px;
  gap: 4px;
  margin-top: 22px;
}

.viz-segment {
  --share: 10;
  flex: var(--share) 1 58px;
  display: flex;
  min-width: 56px;
  min-height: 86px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  border: 0;
  border-radius: 7px;
  padding: 10px;
  color: #fff;
  font: inherit;
  text-align: left;
  overflow: hidden;
}

button.viz-segment {
  cursor: pointer;
}

.viz-segment b {
  display: block;
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.viz-segment span {
  display: block;
  font-size: .72rem;
  font-weight: 760;
  line-height: 1.18;
}

/* Data-viz sector palette: six deliberate deep tones anchored on the brand teal,
   all tuned so the white number/label inside a segment holds ≥4.5:1. */
.viz-tone-1 { background: #0e7c86; }
.viz-tone-2 { background: #20455f; }
.viz-tone-3 { background: #6e5717; }
.viz-tone-4 { background: #5e4869; }
.viz-tone-5 { background: #4c6334; }
.viz-tone-6 { background: #8a4a2e; }

.viz-segment.active {
  outline: 3px solid rgba(14, 124, 134, .22);
  outline-offset: 3px;
}

.proof-coverage-viz {
  margin: 26px 0 22px;
}

.service-mix-viz .viz-stack {
  min-height: 78px;
  flex-wrap: wrap;
}

.service-mix-viz .viz-segment {
  min-height: 78px;
  /* 8 share-proportional segments: below this the label clips mid-glyph */
  min-width: 96px;
}

.services-recommendation {
  background: var(--surface-soft);
  border-block: 1px solid var(--line);
}

.recommendation-panel {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-xs);
}

.recommendation-panel i {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-ink);
  font-size: 1.45rem;
  margin-bottom: 22px;
}

.recommendation-steps {
  display: grid;
  gap: 14px;
}

.recommendation-steps article {
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}

.recommendation-steps b {
  display: block;
  color: var(--ink);
  margin-bottom: 6px;
}

.recommendation-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.service-catalog-page {
  display: flex;
  flex-direction: column;
}

.service-catalog-page .services-hero {
  order: 0;
  padding-top: clamp(82px, 9vw, 142px);
  padding-bottom: clamp(30px, 5vw, 56px);
}

.service-catalog-page .service-catalog-band {
  order: 1;
  padding-top: clamp(24px, 4vw, 44px);
  padding-bottom: 0;
  background: var(--bg);
}

.service-catalog-page .service-positioning {
  order: 2;
  padding-top: clamp(16px, 2vw, 24px);
}

.service-catalog-page .services-recommendation {
  order: 3;
}

.service-catalog-page .services-proof {
  order: 4;
}

.service-catalog-page .services-cms-faq {
  order: 5;
}

.service-catalog-page .services-final-cta {
  order: 6;
}

.service-catalog-page .services-hero-grid,
.service-catalog-page .service-catalog-band > .container,
.service-catalog-page .service-positioning-grid {
  max-width: var(--maxw);
}

.service-catalog-page .services-hero-grid {
  align-items: center;
}

.service-catalog-page .services-hero-copy .subhead,
.service-catalog-page .service-catalog-intro p,
.service-catalog-page .service-positioning-copy p {
  max-width: 64ch;
}

.service-catalog-page .services-hero-media {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 720px) {
  .service-catalog-page .services-hero {
    padding-top: 38px;
    padding-bottom: 32px;
  }

  .service-catalog-page .services-hero-media {
    display: none;
  }

  .service-catalog-page .services-hero .hero-actions .btn-secondary {
    display: none !important;
  }

  .service-catalog-page .service-catalog-band {
    padding-top: 28px;
  }

  .service-catalog-page .service-catalog-intro .eyebrow {
    display: none;
  }
}

.service-catalog-intro {
  margin-bottom: clamp(24px, 4vw, 40px);
}

.service-catalog-shell {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.service-loading,
.service-empty,
.service-error {
  padding: clamp(24px, 4vw, 40px);
  color: var(--muted);
}

.service-loading {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.service-loading span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  animation: servicePulse 1s var(--ease-out) infinite alternate;
}

@keyframes servicePulse {
  from { opacity: .35; transform: scale(.85); }
  to { opacity: 1; transform: scale(1); }
}

.service-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}

.service-tab {
  flex: 0 0 auto;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--ink-soft);
  font: inherit;
  font-size: .9rem;
  font-weight: 760;
  cursor: pointer;
  transition: color .2s var(--ease-out), background .2s var(--ease-out), border-color .2s var(--ease-out);
}

.service-tab:hover,
.service-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.service-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.service-panels {
  padding: clamp(16px, 3vw, 28px);
}

.service-panel {
  /* These are <section> elements inside the catalog card; without this they
     inherit the page-level --space-section padding (~116px dead bands). */
  padding: 0;
}

.service-panel[hidden] {
  display: none;
}

.service-category-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.service-category-head > div:first-child {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  max-width: 680px;
}

.service-category-head i {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-ink);
  font-size: 1.45rem;
}

.service-category-head h3 {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.service-category-head p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.service-category-price {
  min-width: 190px;
  text-align: right;
}

.service-category-price span {
  display: block;
  color: var(--muted);
  font-size: .82rem;
  margin-bottom: 4px;
}

.service-category-price b {
  color: var(--accent-ink);
  font-size: 1.05rem;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: clamp(16px, 2.4vw, 22px);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}

.service-card-main h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.25;
}

.service-card-main p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}

.service-card-meta {
  text-align: right;
  white-space: nowrap;
}

.service-card-meta span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  margin-bottom: 4px;
}

.service-card-meta b {
  color: var(--ink);
  font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
}

.service-card .btn {
  grid-column: 1 / -1;
  justify-self: start;
}

.services-proof {
  background: var(--surface-soft);
  border-block: 1px solid var(--line);
}

.services-proof-grid {
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
}

.services-proof-image {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--surface);
}

.service-proof-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.service-proof-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-weight: 720;
}

.service-proof-list i {
  color: var(--accent-ink);
  font-size: 1.25rem;
}

.services-final-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.services-final-panel .headline,
.services-final-panel p {
  margin: 0;
}

.services-final-panel p {
  margin-top: 10px;
}

@media (prefers-reduced-motion: reduce) {
  .service-loading span {
    animation: none;
  }
}

@media (max-width: 980px) {
  .services-hero-grid,
  .service-positioning-grid,
  .services-recommendation-grid,
  .services-proof-grid,
  .services-final-panel {
    grid-template-columns: 1fr;
  }

  .services-hero {
    padding-top: 88px;
  }

  .services-final-panel .btn {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .services-hero {
    padding: 78px 0 36px;
  }

  .services-hero-grid {
    gap: 24px;
  }

  .services-hero-copy .display {
    font-size: clamp(2.05rem, 10vw, 2.8rem);
  }

  .services-hero-media {
    aspect-ratio: 16 / 9;
    max-height: 240px;
  }

  .service-stats,
  .service-card-grid {
    grid-template-columns: 1fr;
  }

  .viz-stack {
    min-height: auto;
    flex-wrap: wrap;
  }

  .viz-segment {
    flex: 1 1 calc(50% - 4px);
  }

  .service-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-stats div:last-child {
    border-bottom: 0;
  }

  .service-category-head {
    display: block;
  }

  .service-category-head > div:first-child {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .service-category-head p {
    grid-column: 1 / -1;
    margin-top: 10px;
  }

  .service-category-price {
    text-align: left;
    margin-top: 18px;
  }

  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card-meta {
    text-align: left;
  }

.service-card .btn {
  width: 100%;
}
}

/* Premium product story elevation */
:root {
  --premium-ease: cubic-bezier(.32, .72, 0, 1);
  --premium-black: #07090b;
  --premium-panel: #0d1115;
  --premium-line: rgba(255, 255, 255, .13);
}

.nav {
 position: sticky;
 top: 0;
 left: auto;
 width: 100%;
 transform: none;
 border-width: 0 0 1px;
 border-color: rgba(12, 28, 33, .08);
 border-radius: 0;
 background: rgba(250, 251, 252, .86);
 box-shadow: 0 1px 0 rgba(20, 24, 32, .02);
 backdrop-filter: blur(18px) saturate(1.12);
 transition: background-color .7s var(--premium-ease), border-color .7s var(--premium-ease), box-shadow .7s var(--premium-ease);
}

.nav.over-dark,
.nav.over-dark.scrolled {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(7, 9, 11, .74);
  box-shadow: 0 24px 72px rgba(0, 0, 0, .34);
}

.nav-inner {
  min-height: 58px;
  padding-inline: 14px 12px;
}

.nav-logo .logo-image {
  height: 48px;
}

.btn-island {
  gap: 14px;
  padding-right: 9px;
  transition: transform .7s var(--premium-ease), background-color .7s var(--premium-ease), color .7s var(--premium-ease), box-shadow .7s var(--premium-ease);
}

.btn-island:active {
  transform: scale(.98);
}

.island-arrow {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
  font-size: .92rem;
  line-height: 1;
  transition: transform .7s var(--premium-ease), background-color .7s var(--premium-ease);
}

.btn-ghost .island-arrow {
  background: rgba(7, 9, 11, .06);
}

.btn-island:hover .island-arrow {
  transform: translate(4px, -1px) scale(1.05);
}

.proof-led-catalog {
  background:
    linear-gradient(135deg, rgba(14, 124, 134, .08), rgba(250, 251, 252, 0) 46%),
    #fbfcfc;
}

.proof-led-catalog .display {
  max-width: 15ch;
}

.proof-led-catalog .catalog-hero-media {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: clamp(420px, 46vw, 560px);
  overflow: visible;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.proof-led-catalog .catalog-hero-media::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 3%;
  bottom: 2%;
  left: 3%;
  height: 15%;
  border-radius: var(--r-pill);
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--ink) 17%, transparent), transparent 72%);
  filter: blur(8px);
}

.proof-led-catalog .catalog-bottle {
  position: absolute;
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform-origin: 50% 100%;
}

.proof-led-catalog .catalog-bottle img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  object-position: 50% 100%;
  filter: drop-shadow(0 20px 18px color-mix(in srgb, var(--ink) 18%, transparent));
}

.proof-led-catalog .catalog-bottle-hcr {
  z-index: 3;
  bottom: 0;
  left: 19%;
  width: 59%;
  height: 94%;
  transform: rotate(-1.5deg);
}

.proof-led-catalog .catalog-bottle-crhd {
  z-index: 2;
  right: -1%;
  bottom: 12%;
  width: 43%;
  height: 70%;
  transform: rotate(3deg);
}

.proof-led-catalog .catalog-bottle-multiwash {
  z-index: 1;
  bottom: 10%;
  left: -2%;
  width: 39%;
  height: 62%;
  transform: rotate(-4deg);
}

.shop-card {
  padding: 7px;
  border-color: rgba(13, 48, 53, .08);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(238, 247, 246, .72));
  box-shadow: 0 26px 74px rgba(9, 46, 52, .1);
  transition: transform .7s var(--premium-ease), box-shadow .7s var(--premium-ease), border-color .7s var(--premium-ease);
}

.shop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 92px rgba(9, 46, 52, .16);
}

.shop-card-core {
  display: flex;
  flex: 1 1 auto;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(13, 48, 53, .08);
  border-radius: 19px;
  background: #fff;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .9);
}

.shop-card-media {
  min-height: 230px;
  border-bottom-color: rgba(13, 48, 53, .07);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, .95), rgba(235, 247, 246, .7) 58%, rgba(221, 237, 235, .82)),
    #f5faf9;
}

.shop-card-media img {
  width: 92%;
  height: 92%;
  padding: 18px;
  transition: transform .7s var(--premium-ease), filter .7s var(--premium-ease);
}

.shop-card:hover .shop-card-media img {
  transform: scale(1.08);
  filter: saturate(1.04) contrast(1.02);
}

.shop-card .hmis-badge {
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(7, 9, 11, .78);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
}

.shop-card-body {
  padding: 18px;
}

.shop-card-cta {
  display: inline-flex;
  width: max-content;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  padding: 0 8px 0 0;
  color: var(--accent-ink);
}

.shop-card-cta i {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin-left: 6px;
  border-radius: 999px;
  background: rgba(14, 124, 134, .08);
  transition: transform .7s var(--premium-ease), background-color .7s var(--premium-ease);
}

.shop-card:hover .shop-card-cta i {
  transform: translate(4px, -1px) scale(1.05);
  background: rgba(14, 124, 134, .14);
}

@media (max-width: 720px) {
  .nav {
    top: 0;
    width: 100%;
    border-width: 0 0 1px;
    border-radius: 0;
    transform: none;
  }

  .nav-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: none;
    min-width: 0;
    padding-inline: 12px;
  }

  .nav-logo {
    min-width: 44px;
  }

  .nav-actions {
    justify-self: end;
    min-width: 0;
    gap: 8px;
  }

  .proof-led-catalog .catalog-hero-media {
    display: block;
    min-height: 310px;
    margin-top: 24px;
  }

  .proof-led-catalog .catalog-bottle-hcr {
    left: 21%;
    width: 58%;
  }

  .proof-led-catalog .catalog-bottle-crhd {
    right: 1%;
  }

  .proof-led-catalog .catalog-bottle-multiwash {
    left: 0;
  }

  .shop-card {
    border-radius: 22px;
  }

  .shop-card-core {
    border-radius: 15px;
  }
}

/* Resources: keep the protocol disclosure aligned with adjacent content cards. */
.resource-disclosure {
  width: min(1124px, calc(100% - 48px));
  margin-inline: auto;
}

@media (max-width: 700px) {
  .resource-disclosure {
    width: calc(100% - 32px);
  }
}

/* Products: this proof band sits on a light surface, so text must stay dark. */
body.products-page .conversion-proof {
  color: var(--ink);
}

body.products-page .conversion-proof .headline {
  color: var(--ink);
}

body.products-page .conversion-proof .subhead {
  color: var(--muted);
}

body.products-page .conversion-proof .proof-pill {
  color: var(--ink);
  border-color: rgba(13, 48, 53, .1);
  background: rgba(255, 255, 255, .84);
}

body.products-page .conversion-proof .proof-pill span,
body.products-page .conversion-proof .proof-pill b {
  color: var(--ink);
}

body.products-page .conversion-proof .proof-pill em {
  color: var(--muted);
}

/* Products/services page polish */
.catalog-quick-facts,
.service-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.catalog-quick-facts span,
.service-hero-badges span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(13, 48, 53, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 14px 34px rgba(4, 50, 54, .06);
  color: var(--muted);
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.15;
}

.catalog-quick-facts b,
.service-hero-badges b {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.product-job-router {
  text-align: left;
}

.product-job-router .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  /* Column gap only: a row gap here doubles the copy's own top margin and
     opens a dead band between the headline and its supporting line. */
  column-gap: clamp(22px, 5vw, 60px);
  row-gap: 0;
}

.product-job-router .headline,
.product-job-router-copy {
  grid-column: 1;
}

.product-job-router-copy {
  max-width: 580px;
  margin: 18px 0 0;
}

.product-job-router-actions {
  display: flex;
  flex-wrap: wrap;
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-content: flex-end;
  gap: 12px;
}

.services-page .services-hero .subhead {
  max-width: 58ch;
}

.services-page .services-hero-media {
  position: relative;
}

.services-page .services-hero-media::after {
  content: none;
}

.services-page .service-catalog-shell {
  border: 1px solid rgba(13, 48, 53, .1);
  background:
    radial-gradient(circle at 8% 0%, rgba(14, 124, 134, .09), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(246, 249, 249, .9));
  box-shadow: 0 34px 84px rgba(4, 50, 54, .09);
}

.services-page .service-tabs {
  flex-wrap: wrap;
}

.services-page .service-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.services-page .service-card:hover,
.services-page .service-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(14, 124, 134, .22);
  box-shadow: 0 22px 52px rgba(4, 50, 54, .09);
}

.services-page .services-final-panel {
  align-items: end;
  gap: 24px;
}

@media (max-width: 820px) {
  .product-job-router {
    text-align: center;
  }

  .product-job-router .wrap {
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 22px;
  }

  .product-job-router .headline,
  .product-job-router-copy,
  .product-job-router-actions {
    grid-column: 1;
    grid-row: auto;
  }

  .product-job-router-copy {
    margin-inline: auto;
  }

  .product-job-router-actions,
  .catalog-quick-facts,
  .service-hero-badges {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .catalog-quick-facts,
  .service-hero-badges {
    display: grid;
    grid-template-columns: 1fr;
  }

  .catalog-quick-facts span,
  .service-hero-badges span {
    justify-content: center;
  }

  .services-page .services-hero-media::after {
    display: none;
  }
}

/* ============================================================
   Utilities — replace one-off inline styles (DESIGN.md §Rules).
   Appended last so they win by source order at equal specificity.
   ============================================================ */
.u-flush-top { padding-top: 0; }
.u-measure   { max-width: 760px; }
.u-mt-24 { margin-top: 24px; }
.u-mt-30 { margin-top: 30px; }
.u-mt-36 { margin-top: 36px; }
.u-mb-22 { margin-bottom: 22px; }

/* Product "uses" list grid (was inline grid/gap/measure). Two columns on wide
   viewports so four check rows don't run a single 760px column down the page. */
.uses-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr)); }

/* About page: procurement credentials as a compact chip strip (they are
   identifiers, not metrics — display-stat numerals oversold them). */
.cred-band {
  padding: clamp(18px, 3vw, 28px) 0;
  border-block: 1px solid var(--line-soft);
  background: var(--panel);
}
.cred-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.cred-strip li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: .85rem;
  font-weight: 600;
}
.cred-strip b { color: var(--ink); font-weight: 800; }

/* Icon fact rows in a balanced responsive grid (about mission, reused wherever
   a stack of spec-items would run one long column). */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 14px 22px;
}

/* Team contacts lead; the support route closes the row at full width. */
.team-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.team-cards > :last-child { grid-column: 1 / -1; }

@media (max-width: 680px) {
  .team-cards { grid-template-columns: 1fr; }
  .team-cards > :last-child { grid-column: auto; }
}

@media (max-width: 360px) {
  .foot-grid { grid-template-columns: 1fr; }
}

.foot-grid a { white-space: nowrap; }
.contact-layout > *,
#quoteForm { min-width: 0; }

/* Services FAQ: list rhythm — each disclosure otherwise carries the standalone
   panel's clamp() block margin and the four questions drift apart. */
.services-faq-list { display: grid; gap: 12px; }
.services-faq-list .resource-disclosure {
  margin-block: 0;
  overflow: hidden;
}
.services-faq-list .resource-disclosure summary {
  min-height: 56px;
  padding: 18px clamp(18px, 3vw, 30px);
  line-height: 1.35;
}
.services-faq-list .resource-disclosure > p {
  margin: 0;
  padding: 0 clamp(18px, 3vw, 30px) 20px;
  color: var(--ink-soft);
  line-height: 1.65;
  overflow-wrap: anywhere;
}
@media (max-width: 560px) {
  .services-faq-list .resource-disclosure summary {
    min-height: 52px;
    padding: 16px 48px 16px 16px;
  }
  .services-faq-list .resource-disclosure > p {
    padding: 0 16px 18px;
  }
}

/* Newsletter: signup left, what-you-get panel fills the hero's right half. */
.newsletter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.newsletter-points {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}
.newsletter-media {
  margin: 0 0 4px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  box-shadow: var(--shadow-xs);
}
.newsletter-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.newsletter-points h2 { margin: 0; font-size: 1.05rem; }
.newsletter-cadence { margin: 2px 0 0; color: var(--muted); font-size: .85rem; }
@media (max-width: 860px) {
  .newsletter-grid { grid-template-columns: 1fr; }
}

/* Legal pages: .narrow and .legal-page were referenced by privacy/terms but never
   defined, so the prose ran the full 1180px container (~120ch lines). */
.wrap.narrow { max-width: 760px; }
.legal-page .legal-updated {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 600;
}
.legal-page .lead {
  margin-top: 14px;
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.legal-page h2 {
  margin: 44px 0 10px;
  font-size: 1.3rem;
}
.legal-page p,
.legal-page li {
  line-height: 1.65;
  color: var(--ink-soft);
}
.legal-page ul { padding-left: 22px; }

/* Compact headline sizes for sub-sections (override base .headline clamp). */
.headline--md { font-size: 1.85rem; }
.headline--sm { font-size: 1.6rem; margin-bottom: 18px; }

/* Centered dark call-to-action band (text-align/measure/cta-justify). */
.cta-band { text-align: center; }
.cta-band .subhead { max-width: 560px; margin: 18px auto 36px; }
.cta-band .subhead + .btn,
.cta-band .subhead + .hero-ctas {
  margin-top: 0;
}
.cta-band .hero-ctas { justify-content: center; }

/* Classification chip variant inside HMIS rows (text, not the 0–4 box). */
.hmis-row .val--text { width: auto; padding: 0 14px; font-size: .9rem; }

/* Vertical stack grids (was inline display:grid;gap). */
.u-stack-14 { display: grid; gap: 14px; }
.u-stack-18 { display: grid; gap: 18px; }
.u-align-start { align-content: start; }

/* Section padding-bottom flush (pairs with .u-flush-top). */
.u-flush-bottom { padding-bottom: 0; }

/* Wider content measures. */
.u-measure-820 { max-width: 820px; }
.u-measure-860 { max-width: 860px; }

/* Spacing lifted from inline (marketing pages). */
.u-mt-16 { margin-top: 16px; }

/* Spacing + form utilities (account / contact / order-confirmed). */
.u-mt-10 { margin-top: 10px; }
.u-mt-12 { margin-top: 12px; }
.u-mt-14 { margin-top: 14px; }
.u-mt-18 { margin-top: 18px; }
.u-ml-8  { margin-left: 8px; }
.u-minh-0 { min-height: 0; }
.u-block-cta { margin-top: 18px; width: 100%; }   /* full-width form submit */
.u-cta-wide  { min-width: 220px; justify-content: center; }
.headline--xs { font-size: 1.5rem; margin-bottom: 4px; }
.form-success .headline { font-size: 1.7rem; }

/* Order-confirmed hero: copy beside the confirmation panel, stacked on mobile. */
.split-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 36px;
  align-items: start;
}

@media (max-width: 860px) {
  .split-hero { grid-template-columns: 1fr; }
}

/* Order-confirmed receipt lines. */
.order-lines  { margin: 14px 0 0; padding: 0; font-size: .92rem; list-style: none; }
.order-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line-soft);
}
.order-totals { margin: 10px 0 0; font-weight: 700; }

/* Redesign polish: raised surfaces use tinted light, not plain white cards. */
:where(.bento-cell, .cat-card, .prod-card, .snap-card, .contact-card, .proof-card, .case-card, .route-card, .resource-card, .service-card, .tier-card, .program-card) {
  background: var(--surface-raised);
  box-shadow: var(--surface-edge), var(--shadow-xs);
}

:where(.zero-card, .hmis-panel) {
  background: var(--surface-raised);
  box-shadow: var(--surface-edge), var(--shadow-lg);
}

.case-card > .doc-link {
  height: auto;
  aspect-ratio: 16 / 10;
}

:where(.bento-cell, .cat-card, .prod-card, .snap-card, .contact-card, .proof-card, .case-card, .route-card, .resource-card, .service-card, .tier-card, .program-card):hover {
  box-shadow: var(--surface-edge), var(--shadow-md);
}

:where(.btn, .btn-sm, .nav-cta, .nav-cart, .nav-links a, .nav-group summary, .lead-action-bar a):active {
  transform: translateY(1px) scale(.985);
}

:where(.btn, .btn-sm, .nav-cta, .nav-cart, .lead-action-bar a):focus-visible {
  box-shadow: 0 0 0 4px rgba(14,124,134,.16), var(--shadow-sm);
}

@media (prefers-reduced-motion: reduce) {
 :where(.btn, .btn-sm, .nav-cta, .nav-cart, .nav-links a, .nav-group summary, .lead-action-bar a):active {
 transform: none;
 }
}

/* Impeccable public-surface polish: generated industry pages, resources, proof cards. */
.resources-page .section-slim {
  padding-bottom: clamp(28px, 3vw, 40px);
}

.resources-page .section-slim + .resource-disclosure {
  margin-top: clamp(8px, 1.4vw, 18px);
}

.resources-page .resource-disclosure {
  width: min(1124px, calc(100% - 56px));
  margin-block: clamp(16px, 3vw, 32px);
}

.resources-page .resource-disclosure + section {
  margin-top: clamp(22px, 4vw, 42px);
}

.resources-page .resource-disclosure summary {
  grid-template-columns: minmax(220px, .62fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 4vw, 40px);
}

.resources-page .resource-disclosure summary > span {
  max-width: 62ch;
  justify-self: stretch;
}

.case-grid {
  grid-template-columns: repeat(auto-fit, minmax(292px, 1fr));
  align-items: stretch;
}

.case-card .case-body {
  gap: 10px;
}

.case-card .case-result {
  line-height: 1.55;
}

.case-card > .doc-link img {
  object-fit: contain;
  padding: 10px;
  background: var(--surface);
}

.case-ba {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-ba figure {
  min-width: 0;
}

.ind-intro {
  align-items: stretch;
}

.ind-intro-copy {
  align-self: center;
}

.ind-intro-copy p,
.ind-specific .proof-callout p,
.ind-gallery-sec .subhead {
  line-height: 1.6;
}

.ind-intro-photo {
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.ind-intro-photo img {
  flex: 0 1 auto;
  height: auto;
  min-height: 280px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.ind-intro-photo figcaption {
  flex: 0 0 auto;
  line-height: 1.45;
}

.ind-specific {
  display: grid;
  grid-template-columns: minmax(260px, .86fr) minmax(0, 1.14fr);
  gap: clamp(20px, 4vw, 52px);
  align-items: start;
}

.ind-specific .section-head {
  margin-bottom: 0;
}

.ind-specific .proof-callout {
  align-self: stretch;
}

.prod-grid-rec {
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  align-items: stretch;
}

.prod-grid-rec .prod-card {
  padding: 28px;
}

.prod-grid-rec .prod-card p {
  line-height: 1.55;
}

.ind-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ind-shot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}

.ind-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ind-shot figcaption {
  padding: 12px 14px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.35;
}

body:not(.products-page) #relatedWrap .shop-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
}

body:not(.products-page) #relatedWrap .shop-grid:has(.shop-card:only-child) {
  justify-content: center;
}

.product-detail-hero .product-hero-card {
  max-width: 430px;
}

#relatedWrap .shop-card-media {
  min-height: clamp(190px, 28vw, 310px);
}

#relatedWrap .shop-card-media img {
  width: min(88%, 360px);
  height: min(88%, 360px);
  object-fit: contain;
}

@media (min-width: 1180px) {
  .section .prod-grid.prod-grid-rec {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .section .prod-grid.prod-grid-rec > .prod-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .resources-page .resource-disclosure {
    width: calc(100% - 32px);
  }

  .resources-page .resource-disclosure summary,
  .ind-specific {
    grid-template-columns: 1fr;
  }

  .ind-gallery {
    grid-template-columns: 1fr;
  }

  .ind-intro-photo img {
    min-height: 220px;
  }
}

@media (max-width: 560px) {
  .case-grid {
    gap: 14px;
  }

  .case-card .case-body,
  .prod-grid-rec .prod-card {
    padding: 20px;
  }

  .prod-grid-rec {
    grid-template-columns: 1fr;
  }

  #relatedWrap .shop-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-hero {
    padding-top: 66px;
  }
}

/* Product polish: keep white-background product photography on a white stage,
   and give generated product detail copy enough rhythm to read cleanly. */
body.products-page .shop-card {
  background: #fff;
  box-shadow: 0 18px 48px rgba(9, 46, 52, .09);
}

body.products-page .shop-card-core {
  background: #fff;
}

body.products-page .shop-card-media,
#relatedWrap .shop-card-media {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, .92) 0 22%, rgba(227, 240, 241, .94) 58%, rgba(177, 216, 219, .9) 100%),
    linear-gradient(180deg, rgba(14, 124, 134, .16), rgba(14, 124, 134, .08)),
    var(--accent-soft);
}

body.products-page .shop-card-media {
  border-bottom-color: rgba(13, 48, 53, .08);
}

body.products-page .shop-card-media img {
  width: min(88%, 340px);
  height: min(88%, 340px);
  padding: 8px;
  transform: none;
}

body.products-page .shop-card:hover .shop-card-media img {
  transform: scale(1.025);
}

body.products-page .shop-card-media img[src*="masest-poster-transparent"] {
  width: calc(100% - 28px);
  height: auto;
  max-height: calc(100% - 28px);
  padding: 0;
  object-position: center top;
  transform: none;
}

body.products-page .shop-card:hover .shop-card-media img[src*="masest-poster-transparent"] {
  transform: none;
}

body.product-detail-page main > section:first-child:not(.block-dark),
body.product-detail-page main > section.product-static-section {
  background: transparent;
}

.product-detail-page .product-detail-hero {
  padding-bottom: clamp(4px, 1.4vw, 16px);
}

.product-detail-page .product-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.product-detail-page .product-hero-facts span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  color: var(--ink-soft);
  font-size: .88rem;
  line-height: 1.25;
}

.product-detail-page .product-hero-facts b {
  color: var(--accent-ink);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.product-detail-page .product-detail-hero .hero-copy > .subhead {
  margin-block: 18px 24px;
}

.product-detail-page .product-hero-buy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.product-static-section {
  margin-top: clamp(-18px, -1.7vw, -8px);
  padding-top: 0;
}

.product-static-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(20px, 3vw, 32px);
  /* size each card to its own content — the target-list card is usually shorter
     than the case+documents card, and stretch left it ~400px of dead space. */
  align-items: start;
}

.product-static-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(13, 48, 53, .1);
  border-radius: var(--r-card);
  background: #fff;
  box-shadow: 0 18px 48px rgba(9, 46, 52, .07);
}

.product-static-panel .table-scroll {
  max-width: 100%;
}

.product-static-panel .table-scroll .cmp-table {
  font-size: .85rem;
  min-width: 0;
  table-layout: auto;
}

.product-static-panel .cmp-table th,
.product-static-panel .cmp-table td {
  padding-inline: clamp(8px, 1.2vw, 14px);
  white-space: normal;
  overflow-wrap: normal;
}

.product-static-panel .cmp-table th:last-child,
.product-static-panel .cmp-table td:last-child {
  white-space: nowrap;
}

.product-static-panel h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  line-height: 1.14;
  text-wrap: balance;
}

.product-static-panel p {
  max-width: 62ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.product-static-panel h3 {
  margin: clamp(22px, 3vw, 30px) 0 12px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.25;
}

.product-static-panel .product-fit-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.product-static-panel .product-fit-list li {
  display: flex;
  align-items: flex-start;
  width: 100%;
  min-height: 0;
  padding: 11px 13px;
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: .92rem;
  font-weight: 650;
  line-height: 1.48;
}

.product-static-panel .product-fit-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin: .55em 10px 0 0;
  border-radius: 999px;
  background: var(--accent);
}

.product-static-panel .spec-list {
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.product-static-panel .spec-list li {
  display: grid;
  gap: 5px;
  padding: 14px 15px;
  border: 1px solid rgba(13, 48, 53, .09);
  border-radius: 12px;
  background: var(--surface-soft);
}

.product-static-panel .spec-list b,
.product-static-panel .spec-list span {
  display: block;
}

.product-static-panel .spec-list b {
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.25;
}

.product-static-panel .spec-list span {
  color: var(--muted);
  font-size: .91rem;
  line-height: 1.55;
  text-wrap: pretty;
}

@media (max-width: 820px) {
  .product-static-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .product-static-section {
    padding-top: 0;
  }

  .product-static-panel {
    padding: 20px;
  }
}

/* ---------- Document downloads (SDS / TDS / labels) ---------- */
.doc-notify {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 320px);
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.doc-notify-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  font-weight: 650;
}
.doc-notify-check input { width: 18px; height: 18px; accent-color: var(--accent); }
.doc-notify input[type=email] {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--line-strong, var(--line));
  border-radius: var(--r-input);
  font: inherit;
  background: var(--surface-soft);
  color: var(--ink);
}
.doc-notify-note {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  font-size: .8rem;
  color: var(--muted);
}
@media (max-width: 720px) {
  .doc-notify { grid-template-columns: 1fr; }
}
.doc-library {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.doc-lib-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 18px 20px;
}
.doc-lib-head b { display: block; font-size: 1rem; }
.doc-lib-head span { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.doc-lib-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.doc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 650;
  text-decoration: none;
  color: var(--ink-soft, var(--ink));
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.doc-chip::before {
  content: "\2193";
  font-weight: 700;
  opacity: .65;
}
.doc-chip:hover,
.doc-chip:focus-visible {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.doc-chip:hover::before,
.doc-chip:focus-visible::before { opacity: 1; }
.doc-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Download chips are the page's primary action on touch devices — meet 44px. */
@media (pointer: coarse) {
  .doc-chip { min-height: 44px; padding-block: 10px; }
}

/* Product detail page: controlled-documents download rows */
.product-static-panel .product-fit-list li.doc-file {
  padding: 0;
  background: transparent;
}
.product-static-panel .product-fit-list li.doc-file::before { display: none; }
.product-static-panel .product-fit-list li.doc-file a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 11px 13px;
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-weight: 650;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.product-static-panel .product-fit-list li.doc-file a:hover,
.product-static-panel .product-fit-list li.doc-file a:focus-visible {
  background: var(--accent);
  color: #fff;
}
.product-static-panel .product-fit-list li.doc-file a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.doc-pill {
  flex: 0 0 auto;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
}
.product-static-panel .product-fit-list li.doc-file a:hover .doc-pill,
.product-static-panel .product-fit-list li.doc-file a:focus-visible .doc-pill {
  background: #fff;
  color: var(--accent);
}
/* Request pill: muted outline (document not yet published as a download) */
.doc-pill-req {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
}
.product-static-panel .product-fit-list li.doc-file a:hover .doc-pill-req,
.product-static-panel .product-fit-list li.doc-file a:focus-visible .doc-pill-req {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}

/* ----------------------------------------------------------------------------
   a11y / touch — neutralize hover-only transforms on devices without a true
   hover pointer, so a tap can't leave a card stuck in its lifted/zoomed hover
   state. Pointers with real hover (mouse, trackpad) keep the full motion.
   Appended at EOF so it wins over the per-breakpoint .shop-card:hover rules at
   equal specificity. */
@media (hover: none) {
  .shop-card:hover { transform: none; }
  .shop-card:hover .shop-card-cta i { transform: none; }
  .shop-card:hover .shop-card-media img { transform: none; }
}

/* Press feedback — parity with .btn:active. The commerce pill BUTTONS dip on
   press for tactile confirmation. Excludes .commerce-vol (a <select>, not a
   button). transform-only transition leaves the existing instant hover recolor
   untouched. */
.shop-card-add,
.shop-card-quote { transition: transform .12s var(--ease-out); }
.shop-card-add:active,
.shop-card-quote:active { transform: scale(.97); }
