:root {
  /* ---- V29: design tokens ---------------------------------------- */
  /* type scale */
  --fs-3xs:.75rem; --fs-2xs:.85rem; --fs-xs:.95rem; --fs-sm:1.05rem;
  --fs-md:1.2rem;  --fs-lg:1.35rem; --fs-xl:1.9rem; --fs-2xl:2.6rem;
  --fs-h1:3.1rem;  --fs-3xl:3.9rem;
  /* surfaces */
  --surface-tint:#e8f0fb; --surface-tint-2:#d5e5f8;
  /* brand extras */
  --blue-mid:#1252a8; --ink-deep:#04122e;
  --grad-brand:linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  /* status */
  --danger:#a12b2b; --danger-line:rgba(200,60,60,.35); --danger-bg:rgba(200,60,60,.10);
  --success:#3f6b28; --success-bg:rgba(106,168,79,.14);
  /* aqua alpha ramp */
  --aqua-08:rgba(79,179,240,.08); --aqua-16:rgba(79,179,240,.16);
  --aqua-32:rgba(79,179,240,.32); --aqua-56:rgba(79,179,240,.56);
  /* spacing + elevation */
  --gutter:16px; --band:72px; --band-sm:52px;
  --radius-sm:8px; --radius-lg:16px; --radius-pill:999px;
  --card-shadow-hover:0 20px 48px rgba(11,45,107,.14);
  --lift:-4px;
  --ink: #0b1630;
  --ink-soft: #3b4a66;
  --muted: #5c6a82;
  --paper: #f4f8fd;
  --white: #ffffff;
  --blue: #0a62c9;
  --blue-dark: #0b2d6b;
  --aqua: #4fb3f0;
  --green: #6aa84f;
  --line: rgba(11,22,48,0.12);
  --shadow: 0 24px 70px rgba(11,45,107,0.16);
  --card-shadow: 0 12px 38px rgba(11,45,107,0.07);
  --radius: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  z-index: 40;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), var(--max));
  min-height: 70px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(4,18,46,0.12);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.brand-fallback {
  display: flex; flex-direction: column; line-height: 1.15;
}
.brand-fallback strong { font-size:var(--fs-xs); color: var(--ink); }
.brand-fallback small { font-size:var(--fs-3xs); color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > a,
.nav-group > a,
.nav-toggle {
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink-soft);
  background: transparent;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  font-size:var(--fs-xs);
  cursor: pointer;
  white-space: nowrap;
}
.site-nav a[aria-current="page"] { color: var(--blue-dark); background: rgba(10,98,201,0.09); }
.nav-group { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  display: none;
  min-width: 270px;
  margin-top: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
/* Invisible hover bridge so the mouse can cross the gap without closing the menu */
.nav-group::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 16px;
  display: none;
}
.nav-group:hover::after { display: block; }
.dropdown a { display: block; white-space: nowrap; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-soft); font-weight: 700; font-size:var(--fs-xs); }
.dropdown a:hover { background: rgba(10,98,201,0.09); color: var(--blue-dark); }
.nav-group:hover .dropdown,
.nav-group:focus-within .dropdown { display: block; }
.site-nav > a:hover, .nav-group > a:hover, .nav-toggle:hover { background: rgba(10,98,201,0.09); color: var(--blue-dark); }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; border-radius: 8px; padding: 13px 22px;
  text-decoration: none; font-weight: 800; font-size:var(--fs-xs);
}
.button.primary { color: var(--white); background: linear-gradient(135deg, var(--blue-dark), var(--blue)); }
.button.secondary { color: var(--white); border: 1px solid rgba(255, 255, 255, 0.5); }
.button.ghost { color: var(--blue-dark); background: rgba(79,179,240,0.14); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 88vh; overflow: hidden;
  display: grid; align-items: end; isolation: isolate;
}
.hero img.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(4,18,46,0.9), rgba(8,36,92,0.55) 46%, rgba(8,36,92,0.12)),
    linear-gradient(0deg, rgba(11,22,48,0.72), transparent 44%);
}
.hero-content { width: min(100% - 36px, var(--max)); margin: 0 auto; padding: 150px 0 78px; color: var(--white); }
.eyebrow { margin: 0 0 12px; color: var(--aqua); font-weight: 800; text-transform: uppercase; font-size:var(--fs-3xs); letter-spacing: 0.04em; }
.hero h1, h2 { margin: 0; font-family: "Montserrat", Arial, sans-serif; line-height: 1.04; }
.hero h1 { max-width: 940px; font-size:var(--fs-3xl); }
.hero-tagline { max-width: 680px; margin: 16px 0 0 !important; font-family: "Montserrat", Arial, sans-serif; font-size:var(--fs-lg) !important; font-weight: 700; color: var(--aqua) !important; }
.hero p:not(.eyebrow):not(.hero-tagline) { max-width: 680px; margin: 18px 0 0; font-size:var(--fs-md); color: rgba(255,255,255,0.88); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Interior page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 150px 0 60px; color: var(--white);
}
.page-hero img.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero .hero-overlay { background: linear-gradient(120deg, rgba(7,30,76,0.94), rgba(7,30,76,0.7)); }
.page-hero-inner { width: min(100% - 36px, var(--max)); margin: 0 auto; }
.page-hero h1 { margin: 0; font-family: "Montserrat", Arial, sans-serif; font-size:var(--fs-h1); line-height: 1.05; max-width: 820px; }
.page-hero p { max-width: 720px; margin: 18px 0 0; font-size:var(--fs-sm); color: rgba(255,255,255,0.9); }
.breadcrumb { margin: 0 0 14px; font-size:var(--fs-2xs); font-weight: 700; color: rgba(255,255,255,0.75); }
.breadcrumb a { color: var(--aqua); text-decoration: none; }

/* ---------- Layout containers ---------- */
.section-grid, .content-section, .image-feature, .split-band, .contact-section {
  width: min(100% - 36px, var(--max)); margin: 0 auto;
}
.content-section { padding: var(--band) 0; }
.content-section + .content-section { padding-top: 0; }
.section-heading { max-width: 860px; margin-bottom: 30px; }
h2 { font-size:var(--fs-h1); }
h3 { margin: 0 0 12px; font-size:var(--fs-md); line-height: 1.25; }

.section-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; padding: var(--band) 0; align-items: start; }
.lead-copy { color: var(--ink-soft); font-size:var(--fs-sm); }
.lead-copy p:first-child { margin-top: 0; }

/* ---------- Stats ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.stats-band div { padding: 30px; background: var(--surface-tint); }
.stats-band strong { display: block; font-size:var(--fs-2xl); line-height: 1; color: var(--blue-dark); }
.stats-band span { display: block; margin-top: 10px; color: var(--ink-soft); font-weight: 700; font-size:var(--fs-xs); }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); margin-top: 8px; }
.product-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); padding: 30px; }
.product-card .tag { display: inline-block; padding: 5px 12px; border-radius: var(--radius-pill); background: rgba(79,179,240,0.16); color: var(--blue-dark); font-weight: 800; font-size:var(--fs-2xs); margin-bottom: 14px; }
.product-card ul { margin: 14px 0 0; padding-left: 18px; color: var(--ink-soft); }
.product-card li { margin: 7px 0; }

/* ---------- Feature ---------- */
.image-feature { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; padding: var(--band) 0; }
.image-feature.reverse { grid-template-columns: 0.95fr 1.05fr; }
.image-feature.reverse .feature-media { order: 2; }
.feature-media img, .split-band img { width: 100%; height: auto; aspect-ratio: 1.2 / 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-copy p:not(.eyebrow) { color: var(--ink-soft); font-size:var(--fs-sm); }
.check-list { padding: 0; margin: 22px 0 0; list-style: none; }
.check-list li { position: relative; margin: 12px 0; padding-left: 28px; color: var(--ink-soft); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(106,168,79,0.16); }

/* ---------- Cards grid ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.service-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service-card .card-image { width: 100%; height: 168px; object-fit: cover; border-bottom: 1px solid var(--line); }
.service-card .card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.service-card .icon { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; color: var(--blue-dark); background: rgba(79,179,240,0.16); font-weight: 800; }
.service-card p { color: var(--ink-soft); flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--blue-dark); font-weight: 800; text-decoration: none; }
.card-link::after { content: "↗"; font-size: 0.9em; }
.card-link.internal::after { content: "→"; }

/* ---------- Split / mini grid ---------- */
.split-band { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; align-items: center; padding: var(--band) 0; }
.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); margin-top: 26px; }
.mini-grid article { border-top: 2px solid rgba(79,179,240,0.4); padding-top: 16px; }
.mini-grid h3 { font-size:var(--fs-sm); }
.mini-grid p { color: var(--ink-soft); font-size:var(--fs-xs); margin: 0; }

/* ---------- Detail / application grids ---------- */
.detail-grid, .application-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.detail-card, .application-grid article { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); overflow: hidden; }
.detail-card img, .application-grid img { width: 100%; height: 180px; object-fit: cover; }
.detail-card .pad, .application-grid article .pad { padding: 24px; }
.detail-card ul { padding-left: 18px; color: var(--ink-soft); margin: 0; }
.detail-card p, .application-grid article p { color: var(--ink-soft); }
.two-up { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); }
.two-up article { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); padding: 28px; }
.two-up p { color: var(--ink-soft); }

.media-detail { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 32px; align-items: center; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); }
.media-detail img { width: 100%; aspect-ratio: 1.3 / 1; object-fit: cover; border-radius: var(--radius); }
.media-detail p { color: var(--ink-soft); }

/* ---------- Program list ---------- */
.text-link { display: inline-flex; margin-top: 16px; color: var(--blue-dark); font-weight: 800; text-decoration: none; }
.text-link::after { content: " →"; }

/* ---------- Document / resource links ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); }
.doc-link {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--card-shadow); text-decoration: none; color: var(--ink);
  font-weight: 700; transition: transform .12s ease, box-shadow .12s ease;
}
.doc-link:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(11,45,107,0.13); }
.doc-badge { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 8px; background: rgba(10,98,201,0.1); color: var(--blue-dark); font-size:var(--fs-3xs); font-weight: 800; }
.doc-link span.doc-title { flex: 1; font-size:var(--fs-xs); }
.doc-link .doc-go { color: var(--muted); font-weight: 800; }

/* ---------- Research hub cards ---------- */
.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); }
.hub-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.hub-card img { width: 100%; height: 190px; object-fit: cover; }
.hub-card .pad { padding: 26px; }
.hub-card p { color: var(--ink-soft); margin: 6px 0 0; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); padding: 20px 24px; }
.faq-list summary { cursor: pointer; font-weight: 800; font-size:var(--fs-sm); }
.faq-list p { color: var(--ink-soft); margin: 12px 0 0; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.blog-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.blog-card img { width: 100%; height: 170px; object-fit: cover; }
.blog-card .pad { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card time { color: var(--blue); font-size:var(--fs-2xs); font-weight: 800; }
.blog-card h3 { margin: 8px 0 10px; font-size:var(--fs-sm); }
.blog-card p { color: var(--ink-soft); font-size:var(--fs-xs); flex: 1; }

/* ---------- Contact ---------- */
.contact-section { display: grid; grid-template-columns: 1fr 0.9fr; gap: 40px; align-items: start; padding: var(--band) 0; }
.contact-section p { color: var(--ink-soft); }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); padding: 32px; }
.contact-card dl { display: grid; gap: 20px; margin: 0; }
.contact-card dt { color: var(--muted); font-weight: 800; text-transform: uppercase; font-size:var(--fs-3xs); letter-spacing: 0.03em; }
.contact-card dd { margin: 5px 0 0; color: var(--ink-soft); font-weight: 600; }
.contact-card a { color: var(--blue-dark); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid)); color: var(--white); }
.cta-inner { width: min(100% - 36px, var(--max)); margin: 0 auto; padding: var(--band) 0; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.cta-inner h2 { color: var(--white); }
.cta-inner p { margin: 10px 0 0; color: rgba(255,255,255,0.85); max-width: 620px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: rgba(255,255,255,0.82); }
.footer-inner { width: min(100% - 36px, var(--max)); margin: 0 auto; padding: 56px 0 30px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 34px; }
.site-footer img { height: 46px; width: auto; margin-bottom: 16px; }
.site-footer p { margin: 6px 0 0; font-size:var(--fs-xs); }
/* FIX 1: extended to h2/h5/h6 — accessibility.html and privacy-policy.html use <h2>
   in .footer-col, which previously fell through to the global serif `h2` display rule. */
.footer-col h2, .footer-col h3, .footer-col h4, .footer-col h5, .footer-col h6 { margin: 0 0 14px; color: var(--white); font-family: "Inter", system-ui, sans-serif; font-weight: 700; line-height: 1.3; font-size:var(--fs-xs); text-transform: uppercase; letter-spacing: 0.04em; }
.footer-col a { display: block; color: rgba(255,255,255,0.8); text-decoration: none; padding: 5px 0; font-size:var(--fs-xs); }
.footer-col a:hover { color: var(--aqua); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); }
.footer-bottom-inner { width: min(100% - 36px, var(--max)); margin: 0 auto; padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: rgba(255,255,255,0.55); font-size:var(--fs-2xs); }

.note-band { background: rgba(79,179,240,0.1); border: 1px dashed rgba(10,98,201,0.4); border-radius: var(--radius); padding: 16px 20px; color: var(--blue-dark); font-size:var(--fs-xs); font-weight: 600; }

/* Image fallback placeholder */

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .site-header { align-items: flex-start; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: calc(100% + 8px); right: 0; left: 0;
    display: none; padding: 12px; flex-direction: column; align-items: stretch;
    background: rgba(255,255,255,0.98); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow);
    max-height: calc(100vh - 96px); overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .site-header.nav-open .site-nav { display: flex; }
  .nav-group { width: 100%; }
  /* Accordion: dropdowns start collapsed on mobile, expand when their group is opened */
  .dropdown { position: static; display: none; min-width: 0; margin: 0 0 8px 12px; padding: 6px; box-shadow: none; background: rgba(10,98,201,0.05); }
  .nav-group.open > .dropdown { display: grid; }
  .nav-group:hover .dropdown, .nav-group:focus-within .dropdown { display: none; }
  .nav-group.open:hover .dropdown, .nav-group.open:focus-within .dropdown { display: grid; }
  .nav-group > a { position: relative; }
  .nav-group > a::after { content: "▾"; float: right; transition: transform .2s ease; opacity: .6; }
  .nav-group.open > a::after { transform: rotate(180deg); }
  .section-grid, .image-feature, .image-feature.reverse, .split-band, .contact-section, .media-detail, .cta-inner { grid-template-columns: 1fr; }
  .image-feature.reverse .feature-media { order: 0; }
  .stats-band, .program-list, .blog-grid, .detail-grid, .application-grid, .card-grid, .product-grid, .hub-grid, .doc-grid, .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .two-up { grid-template-columns: 1fr; }
  .hero h1 { font-size:var(--fs-h1); }
  h2 { font-size:var(--fs-2xl); }
  .page-hero h1 { font-size:var(--fs-2xl); }
}
@media (max-width: 620px) {
  .site-header { top: 10px; width: calc(100% - 20px); }
  .hero { min-height: 720px; }
  .hero h1 { font-size:var(--fs-2xl); }
  .hero p:not(.eyebrow) { font-size:var(--fs-sm); }
  h2 { font-size:var(--fs-xl); }
  .page-hero h1 { font-size:var(--fs-xl); }
  .content-section, .section-grid, .image-feature, .split-band, .contact-section { padding-block: 52px; }
  .stats-band, .program-list, .blog-grid, .detail-grid, .application-grid, .card-grid, .product-grid, .hub-grid, .doc-grid, .mini-grid, .footer-inner { grid-template-columns: 1fr; }
}

/* ==================== V2 ADDITIONS ==================== */
/* Trust strip */

/* Language switcher */
.lang-switch{position:relative}
.lang-btn{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:8px;padding:9px 12px;background:rgba(255,255,255,.7);color:var(--ink-soft);font:inherit;font-weight:700;font-size:var(--fs-2xs);cursor:pointer}
.lang-btn:hover{background:rgba(10,98,201,.09);color:var(--blue-dark)}
.lang-btn svg{width:16px;height:16px}
.lang-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:60;display:none;min-width:190px;max-height:340px;overflow:auto;padding:6px;background:var(--white);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}
.lang-switch.open .lang-menu{display:block}
.lang-menu button{display:block;width:100%;text-align:left;border:0;background:transparent;padding:9px 12px;border-radius:7px;font:inherit;font-weight:600;font-size:var(--fs-xs);color:var(--ink-soft);cursor:pointer}
.lang-menu button:hover{background:rgba(10,98,201,.09);color:var(--blue-dark)}
#google_translate_element{display:none!important}
.goog-te-banner-frame,.skiptranslate{display:none!important}
body{top:0!important}

/* Flagship product feature */
.badges{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 4px}
.badge{display:inline-flex;align-items:center;gap:7px;padding:7px 13px;border-radius:var(--radius-pill);background:rgba(79,179,240,.14);color:var(--blue-dark);font-weight:800;font-size:var(--fs-2xs)}
.flag-media{position:relative}
.image-feature .feature-media.flag-media img{width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow)}
.image-feature:hover .flag-media img{transform:none!important}
.flag-media .flag-tag{position:absolute;top:16px;left:16px;background:linear-gradient(135deg,var(--blue-dark),var(--blue));color:var(--white);font-weight:800;padding:8px 16px;border-radius:var(--radius-pill);font-size:var(--fs-xs);letter-spacing:.02em;box-shadow:0 8px 24px rgba(11,45,107,.25)}

/* Service card SVG icons */
.icon svg{width:22px;height:22px;stroke:var(--blue-dark);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Before/after + steps (struvite) */
.beforeafter{position:relative;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.beforeafter img{width:100%;display:block;aspect-ratio:16/9;object-fit:cover}
.beforeafter .ba-label{position:absolute;bottom:14px;padding:6px 14px;border-radius:var(--radius-pill);font-weight:800;font-size:var(--fs-2xs);color:var(--white)}
.beforeafter .ba-before{left:14px;background:rgba(160,60,40,.85)}
.beforeafter .ba-after{right:14px;background:rgba(106,168,79,.9)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;counter-reset:step}
.steps article{position:relative;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--card-shadow);padding:28px 24px 24px}
.steps article::before{counter-increment:step;content:counter(step);position:absolute;top:-16px;left:24px;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,var(--blue-dark),var(--aqua));color:var(--white);font-weight:800}
.steps h3{margin-top:6px}
.steps p{color:var(--ink-soft);margin:0}

/* Scroll reveal */
@media (prefers-reduced-motion:no-preference){
  .reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
  .reveal.in{opacity:1;transform:none}
}

@media (max-width:980px){ .steps{grid-template-columns:1fr} .lang-btn span.lang-full{display:none} }

/* ==================== V3 POLISH ==================== */
.service-card,.hub-card,.blog-card,.detail-card,.application-grid article,.product-card{transition:transform .18s ease, box-shadow .18s ease}
.service-card:hover,.hub-card:hover,.blog-card:hover,.detail-card:hover,.application-grid article:hover,.product-card:hover{transform:translateY(-4px);box-shadow:0 20px 48px rgba(11,45,107,.14)}
.button{transition:transform .15s ease, box-shadow .15s ease, filter .15s ease}
.button:hover{transform:translateY(-2px)}
.button.primary:hover{box-shadow:0 14px 34px rgba(11,45,107,.32)}
.card-link,.text-link{transition:gap .15s ease, color .15s ease}
.card-link:hover,.text-link:hover{color:var(--blue)}
a{transition:color .15s ease}

/* Results / stat cards (metal removal etc.) */

/* Contact quick-action links */
.quick-links{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gutter);margin-top:8px}
.quick-link{display:flex;gap:14px;align-items:flex-start;padding:22px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--card-shadow);text-decoration:none;color:var(--ink);transition:transform .18s ease,box-shadow .18s ease}
.quick-link:hover{transform:translateY(-4px);box-shadow:0 20px 48px rgba(11,45,107,.14)}
.quick-link .ql-ic{flex:none;width:44px;height:44px;border-radius:var(--radius);display:grid;place-items:center;background:rgba(79,179,240,.16);color:var(--blue-dark)}
.quick-link .ql-ic svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.quick-link h3{margin:2px 0 4px;font-size:var(--fs-xs)}
.quick-link p{margin:0;color:var(--ink-soft);font-size:var(--fs-xs)}

/* Map / location */
.map-frame{width:100%;border:0;border-radius:var(--radius);box-shadow:var(--shadow);min-height:340px;background:var(--surface-tint)}
.contact-split{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:stretch}

/* ORP chart */
.orp-chart{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--card-shadow);padding:30px}
.orp-row{display:grid;grid-template-columns:210px 1fr 92px;align-items:center;gap:18px;padding:14px 0;border-top:1px solid var(--line)}
.orp-row:first-of-type{border-top:0}
.orp-row .orp-name{font-weight:800;color:var(--ink)}
.orp-row .orp-name small{display:block;font-weight:600;color:var(--muted);font-size:var(--fs-2xs)}
.orp-track{position:relative;height:16px;border-radius:var(--radius-pill);background:linear-gradient(90deg,var(--surface-tint),var(--surface-tint-2))}
.orp-fill{position:absolute;top:0;bottom:0;border-radius:var(--radius-pill);background:linear-gradient(90deg,var(--aqua),var(--blue-dark))}
.orp-val{text-align:right;font-weight:800;color:var(--blue-dark)}
.orp-scale{display:flex;justify-content:space-between;margin:6px 0 0;color:var(--muted);font-size:var(--fs-3xs);font-weight:700;padding-left:228px;padding-right:110px}
@media (max-width:720px){.result-band,.quick-links{grid-template-columns:1fr}.contact-split{grid-template-columns:1fr}.orp-row{grid-template-columns:1fr;gap:6px}.orp-scale{display:none}}

/* ==================== V3.1 PHOTO ANIMATIONS ==================== */
@media (prefers-reduced-motion: no-preference){
  /* Blur-up reveal as each photo enters view */
  .img-anim{opacity:0;transform:translateY(16px);filter:blur(12px);transition:opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1), filter .8s ease;will-change:opacity,transform,filter}
  .img-anim.in{opacity:1;transform:none;filter:blur(0)}
  /* Gentle zoom on card imagery when hovered */
  .service-card .card-image,.hub-card img,.blog-card img,.detail-card>img,.application-grid article>img,.feature-media img,.beforeafter img{transition:transform .6s cubic-bezier(.2,.7,.2,1)}
  .service-card:hover .card-image,.hub-card:hover img,.blog-card:hover img,.detail-card:hover>img,.application-grid article:hover>img,.image-feature:hover .feature-media img{transform:scale(1.05)}
  /* Subtle cinematic drift on the homepage hero */
  .hero img.hero-bg{animation:heroDrift 26s ease-in-out infinite alternate}
  @keyframes heroDrift{from{transform:scale(1.04)}to{transform:scale(1.1)}}
}

/* ==================== BLOG ARTICLES ==================== */
.post-hero{position:relative;overflow:hidden;isolation:isolate;padding:150px 0 56px;color:var(--white)}
.post-hero img.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.post-hero .hero-overlay{background:linear-gradient(120deg,rgba(7,30,76,.93),rgba(7,30,76,.62))}
.post-hero-inner{width:min(100% - 36px,var(--max));margin:0 auto}
.post-cat{display:inline-block;padding:6px 13px;border-radius:var(--radius-pill);background:rgba(79,179,240,.24);color:var(--white);font-weight:800;font-size:var(--fs-3xs);text-transform:uppercase;letter-spacing:.04em;margin-bottom:14px}
.post-hero h1{margin:0;font-family:"Montserrat",Arial,sans-serif;font-size:var(--fs-h1);line-height:1.08;max-width:920px}
.post-meta{margin-top:16px;color:rgba(255,255,255,.85);font-weight:600;font-size:var(--fs-xs)}
.post-wrap{width:min(100% - 36px,760px);margin:0 auto;padding:60px 0}
.post-body{color:var(--ink-soft);font-size:var(--fs-sm);line-height:1.75}
.post-body>p:first-of-type{font-size:var(--fs-md);color:var(--ink);line-height:1.6}
.post-body h2{font-family:"Montserrat",Arial,sans-serif;color:var(--ink);font-size:var(--fs-xl);line-height:1.2;margin:2.1em 0 .55em}
.post-body h3{color:var(--ink);font-size:var(--fs-md);margin:1.5em 0 .5em}
.post-body p{margin:0 0 1.1em}
.post-body ul,.post-body ol{margin:0 0 1.3em;padding-left:1.2em}
.post-body li{margin:.4em 0}
.post-body blockquote.pull{margin:1.6em 0;padding:20px 26px;border-left:4px solid var(--aqua);background:rgba(79,179,240,.08);border-radius:0 10px 10px 0;font-family:"Montserrat",Arial,sans-serif;font-size:var(--fs-lg);color:var(--blue-dark);font-weight:600}
.post-body strong{color:var(--ink)}
.post-body a{color:var(--blue-dark);font-weight:700}
.post-cta{margin-top:44px;padding:28px 30px;border-radius:var(--radius);background:linear-gradient(135deg,var(--blue-dark),var(--blue-mid));color:var(--white)}
.post-cta h3{color:var(--white);margin:0 0 6px;font-size:var(--fs-lg)}
.post-cta p{margin:0 0 16px;color:rgba(255,255,255,.86)}
.post-nav{display:flex;justify-content:space-between;gap:16px;margin-top:34px;padding-top:22px;border-top:1px solid var(--line)}
.post-nav a{font-weight:800;color:var(--blue-dark);text-decoration:none}
/* Related band: .content-section IS the centred 1180px container, so a plain
   background only paints inside it and leaves white strips at the screen edges.
   The box-shadow spread paints the tint edge to edge; clip-path stops that
   spread from creating a horizontal scrollbar. Matches the .page-nav band. */
.content-section.related{position:relative;background:var(--surface-tint);
  box-shadow:0 0 0 100vmax var(--surface-tint);clip-path:inset(0 -100vmax);
  padding-block:72px}
.blog-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px}
.blog-filters button{border:1px solid var(--line);background:var(--white);border-radius:var(--radius-pill);padding:8px 15px;font:inherit;font-weight:700;font-size:var(--fs-2xs);color:var(--ink-soft);cursor:pointer;transition:all .15s ease}
.blog-filters button.active,.blog-filters button:hover{background:var(--blue-dark);color:var(--white);border-color:var(--blue-dark)}
.blog-card.hide{display:none}
@media(max-width:620px){.post-hero h1{font-size:var(--fs-xl)}.post-body{font-size:var(--fs-sm)}}

/* ==================== BLOG IN-ARTICLE FIGURES ==================== */
.post-fig{margin:2.2em 0}
.post-fig img{width:100%;height:auto;border-radius:var(--radius);border:1px solid var(--line);box-shadow:0 10px 30px rgba(11,45,107,.10);background:var(--white);display:block}
.post-fig figcaption{margin-top:11px;font-size:var(--fs-xs);color:var(--ink-soft);font-style:italic;text-align:center;line-height:1.5}

/* ==================== V4: PAGE NAV + DATA COMPONENTS ==================== */
/* Universal "where to next" navigation block (goes at the end of <main> on every page) */
.page-nav{background:var(--surface-tint);border-top:1px solid var(--line)}
.page-nav .pn-inner{width:min(100% - 36px,var(--max));margin:0 auto;padding:56px 0}
.page-nav .section-heading{margin-bottom:22px}
.pn-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gutter)}
.pn-card{display:flex;flex-direction:column;gap:6px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px;text-decoration:none;color:var(--ink);box-shadow:var(--card-shadow);transition:transform .18s ease,box-shadow .18s ease}
.pn-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(11,45,107,.14)}
.pn-card .pn-k{font-size:var(--fs-3xs);font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--aqua)}
.pn-card h3,.pn-card h4{margin:0;font-size:var(--fs-sm);color:var(--blue-dark)}
.pn-card p{margin:0;font-size:var(--fs-xs);color:var(--ink-soft)}
.pn-card .pn-go{margin-top:auto;font-weight:800;color:var(--blue-dark);font-size:var(--fs-xs)}
.pn-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px;align-items:center}
.pn-actions .lead{font-weight:700;color:var(--ink);margin-right:6px}
@media(max-width:760px){.pn-grid{grid-template-columns:1fr}}

/* Data / spec tables */
.data-table{width:100%;border-collapse:collapse;margin:8px 0 4px;font-size:var(--fs-xs);background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.data-table caption{caption-side:bottom;text-align:left;font-size:var(--fs-2xs);color:var(--ink-soft);padding:10px 4px 0;font-style:italic}
.data-table th,.data-table td{padding:11px 14px;text-align:left;border-bottom:1px solid var(--line)}
.data-table thead th{background:var(--blue-dark);color:var(--white);font-size:var(--fs-2xs);text-transform:uppercase;letter-spacing:.03em}
.data-table tbody tr:last-child td{border-bottom:0}
.data-table tbody tr:nth-child(even){background:var(--paper)}
.data-table td.hi{font-weight:800;color:var(--blue-dark)}
.table-wrap{overflow-x:auto}

/* Callout box */
.callout{display:flex;gap:16px;align-items:flex-start;background:linear-gradient(135deg,rgba(79,179,240,.10),rgba(11,45,107,.06));border:1px solid var(--line);border-left:4px solid var(--aqua);border-radius:var(--radius);padding:20px 22px;margin:22px 0}
.callout .ci{flex:0 0 auto;width:40px;height:40px;border-radius:10px;background:var(--blue-dark);color:var(--white);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:var(--fs-sm)}
.callout h3,.callout h4{margin:0 0 4px;color:var(--blue-dark);font-size:var(--fs-sm)}
.callout p{margin:0;color:var(--ink-soft)}

/* Prose block for expanded copy */
.prose{max-width:820px}
.prose p{margin:0 0 1.05em;color:var(--ink-soft);line-height:1.75}
.prose h2,.prose h3{color:var(--ink);margin:1.5em 0 .5em;font-size:var(--fs-md)}
.prose ul{margin:0 0 1.2em;padding-left:1.15em;color:var(--ink-soft)}
.prose li{margin:.35em 0}
.prose strong{color:var(--ink)}

/* ==================== V4.1: NAVIGATION UPGRADES ==================== */
/* Inline contextual cross-links (auto-linked key terms) */
.ilink{color:var(--blue);font-weight:600;text-decoration:underline;text-decoration-color:rgba(10,98,201,.38);text-underline-offset:2px;text-decoration-thickness:1px}
.ilink:hover{text-decoration-color:var(--blue)}
/* Persistent header Contact CTA */
.site-nav a.nav-cta{color:var(--white);background:linear-gradient(135deg,var(--blue-dark),var(--blue));padding:10px 16px}
.site-nav a.nav-cta:hover{color:var(--white);background:linear-gradient(135deg,var(--blue-dark),var(--blue));filter:brightness(1.08)}
/* Back-to-top floating button */
#to-top{position:fixed;right:20px;bottom:20px;z-index:60;width:46px;height:46px;border:0;border-radius:50%;background:var(--blue-dark);color:var(--white);font-size:var(--fs-md);font-weight:800;cursor:pointer;box-shadow:0 10px 30px rgba(11,45,107,.32);opacity:0;transform:translateY(12px);pointer-events:none;transition:opacity .22s ease,transform .22s ease}
#to-top.show{opacity:1;transform:translateY(0);pointer-events:auto}
#to-top:hover{background:var(--blue)}
/* Skip-to-content (accessibility) */
.skip-link{position:absolute;left:-9999px;top:0;z-index:100;background:var(--blue-dark);color:var(--white);padding:10px 16px;border-radius:0 0 8px 0;font-weight:700}
.skip-link:focus{left:0}
/* scroll offset so anchor jumps clear the fixed header */
:target{scroll-margin-top:110px}
/* clickable content cards get a pointer + arrow affordance */
a.application-card{text-decoration:none;color:inherit}

/* ==================== V5: INDUSTRIES / PRODUCTS / CASE STUDIES / COMPARE / CALC ==================== */
/* Credibility strip — certifications + validators */
.cred-strip{background:var(--blue-dark);color:var(--white)}
.cred-strip .cred-inner{width:min(100% - 36px,var(--max));margin:0 auto;padding:34px 0;display:grid;gap:22px}
.cred-strip .cred-lead{font-size:var(--fs-3xs);font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--aqua);text-align:center}
.cred-badges{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.cred-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.22);border-radius:10px;padding:12px 18px;font-weight:800;font-size:var(--fs-xs)}
.cred-badge b{color:var(--aqua)}
.validated-by{display:flex;flex-wrap:wrap;gap:10px 26px;justify-content:center;color:rgba(255,255,255,.82);font-weight:600;font-size:var(--fs-xs)}
.validated-by span{white-space:nowrap}
.validated-by span::before{content:"◆";color:var(--aqua);margin-right:8px;font-size:.7em;vertical-align:middle}
/* light variant for inside content sections */
.cred-strip.light{background:var(--surface-tint);color:var(--ink)}
.cred-strip.light .cred-badge{background:var(--white);border-color:var(--line);color:var(--blue-dark)}
.cred-strip.light .validated-by{color:var(--ink-soft)}
.cred-strip.light .cred-lead{color:var(--blue)}

/* Compare table: highlight the D&Z Worldwide column/winner */
.data-table td.win{background:rgba(79,179,240,.14);font-weight:800;color:var(--blue-dark)}
.data-table thead th.win{background:var(--blue)}

/* Case-study result band (big numbers at top) */
.cs-results{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border-block:1px solid var(--line);margin:6px 0}
.cs-results div{background:var(--surface-tint);padding:26px 24px}
.cs-results strong{display:block;font-size:var(--fs-2xl);line-height:1;color:var(--blue-dark)}
.cs-results span{display:block;margin-top:8px;color:var(--ink-soft);font-weight:700;font-size:var(--fs-xs)}
.cs-meta{display:flex;flex-wrap:wrap;gap:8px 22px;color:var(--ink-soft);font-weight:600;font-size:var(--fs-xs);margin:6px 0 0}
.cs-meta span::before{content:"•";color:var(--aqua);margin-right:8px}
@media(max-width:640px){.cs-results{grid-template-columns:1fr}}

/* Interactive calculator */

/* Clickable content cards (wrap application-grid / two-up article cards) */
a.card-link{display:block;text-decoration:none;color:inherit;height:100%}
a.card-link .application-grid article,a.card-link article{height:100%}
/* Block-level card wrappers use the inner .card-go cue — suppress the stray inline ↗ arrow */
a.card-link::after{content:none}

/* Hub-card click affordance (obvious "browse" cue) */
.hub-card{position:relative}
.hub-card .pad{display:flex;flex-direction:column}
.hub-go{display:inline-flex;align-items:center;gap:7px;margin-top:14px;color:var(--blue-dark);font-weight:800;font-size:var(--fs-xs)}
.hub-go::after{content:"\2192";transition:transform .18s ease}
.hub-card:hover .hub-go{color:var(--blue)}
.hub-card:hover .hub-go::after{transform:translateX(5px)}
.hub-card::after{content:"";position:absolute;inset:0;border:2px solid transparent;border-radius:var(--radius);transition:border-color .18s ease;pointer-events:none}
.hub-card:hover::after{border-color:var(--aqua)}

/* Clickable-card discoverability cue */
.card-link .pad{display:flex;flex-direction:column}
.card-link .card-go{display:inline-flex;align-items:center;gap:6px;margin-top:12px;color:var(--blue-dark);font-weight:800;font-size:var(--fs-2xs)}
.card-link .card-go::after{content:"\2192";transition:transform .18s ease}
.card-link:hover .card-go{color:var(--blue)}
.card-link:hover .card-go::after{transform:translateX(4px)}

/* Real certification logo chips */
.cred-badge.logo{background:var(--white);color:var(--blue-dark);gap:11px;padding:8px 16px 8px 10px}
.cred-badge.logo img{width:auto;height:46px;display:block}
.cred-badge.logo > span{font-weight:800;font-size:var(--fs-2xs);line-height:1.15;text-align:left}
.cred-strip .cred-badge.logo{border-color:rgba(255,255,255,.4)}

/* ---------- Accessibility: visible keyboard focus ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible, .card-link:focus-visible, summary:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 2px;
  border-radius: 4px;
}
.button:focus-visible { outline-offset: 3px; }

/* ---------- Inquiry form ---------- */
.inquiry-form { display: grid; gap: 18px; max-width: 820px; }
.inquiry-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.inquiry-form label { display: grid; gap: 7px; font-weight: 700; font-size:var(--fs-xs); color: var(--ink-soft); }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
  font: inherit; font-weight: 500; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--white); width: 100%;
}
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,98,201,0.14);
}
.inquiry-form textarea { resize: vertical; }
.inquiry-form .form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.inquiry-form .form-note { margin: 0; font-weight: 500; font-size:var(--fs-xs); color: var(--muted); }
@media (max-width: 720px) { .inquiry-form .form-row { grid-template-columns: 1fr; } }

/* ---------- Inquiry form status + field errors ---------- */
.form-status { padding: 14px 16px; border-radius: 8px; font-weight: 700; font-size:var(--fs-xs); margin-bottom: 4px; }
.form-status[data-fs-success] { background: rgba(106,168,79,0.14); color: #3f6b28; border: 1px solid rgba(106,168,79,0.4); }
.form-status-error { background: rgba(200,60,60,0.10); color: #a12b2b; border: 1px solid rgba(200,60,60,0.35); }
.field-error { display: block; margin-top: 5px; color: #a12b2b; font-weight: 700; font-size:var(--fs-2xs); }
.inquiry-form [aria-invalid="true"] { border-color: #c83c3c; box-shadow: 0 0 0 3px rgba(200,60,60,0.14); }

/* ---------- Single full-width feature card ---------- */
.two-up.one-up { grid-template-columns: 1fr; max-width: 720px; }

/* ---------- Footer legal links ---------- */
.footer-legal a { color: rgba(255,255,255,0.8); text-decoration: none; }
.footer-legal a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Site search ---------- */
.search-toggle {
  border: 0; background: transparent; cursor: pointer; color: var(--ink-soft);
  padding: 8px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
}
.search-toggle:hover { background: rgba(10,98,201,0.09); color: var(--blue-dark); }
.search-modal[hidden] { display: none !important; }
.search-modal {
  position: fixed; inset: 0; z-index: 200; background: rgba(4,16,40,0.55);
  backdrop-filter: blur(4px); display: flex; align-items: flex-start; justify-content: center;
  padding: 90px 16px 16px;
}
.search-box {
  width: min(100%, 640px); background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; max-height: 80vh; display: flex; flex-direction: column;
}
.search-inp-wrap { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.search-inp-wrap input { flex: 1; border: 0; outline: none; font: inherit; font-size:var(--fs-sm); color: var(--ink); background: transparent; }
.search-close { border: 0; background: transparent; font-size:var(--fs-lg); line-height: 1; color: var(--muted); cursor: pointer; padding: 0 4px; }
.search-close:hover { color: var(--ink); }
.search-results { list-style: none; margin: 0; padding: 8px; overflow-y: auto; }
.search-results li { margin: 0; }
.search-results a { display: block; padding: 11px 14px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.search-results a:hover { background: rgba(10,98,201,0.07); }
.sr-t { display: block; font-weight: 700; color: var(--blue-dark); }
.sr-d { display: block; font-size:var(--fs-2xs); color: var(--muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-badge { float: right; font-size:var(--fs-3xs); font-weight: 800; background: rgba(79,179,240,0.18); color: var(--blue-dark); padding: 2px 7px; border-radius: var(--radius-pill); margin-left: 8px; }
.search-empty { padding: 20px 16px; color: var(--muted); text-align: center; }
.search-empty a { color: var(--blue); }
@media (max-width: 980px) { .search-modal { padding-top: 74px; } }

/* ==================== V22: whole-card click target for service cards ==================== */
.service-card{position:relative}
.service-card .card-link::after{content:"";position:absolute;inset:0;z-index:1}
.service-card .card-body p a,.service-card .card-body h3 a{position:relative;z-index:2}
.service-card:focus-within{box-shadow:0 0 0 3px rgba(79,179,240,.55),0 20px 48px rgba(11,45,107,.14)}

/* ==================== V22: 2-up market grid + mobile hero contrast ==================== */
.application-grid.cols-2,.detail-grid.cols-2{grid-template-columns:repeat(2,1fr)}
.application-grid.tall img{height:260px}
.grid-links{margin:20px 0 0;color:var(--ink-soft);font-size:var(--fs-xs)}
.grid-links a{color:var(--blue-dark);font-weight:700}
@media(max-width:980px){.application-grid.cols-2,.detail-grid.cols-2{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){
  .application-grid.cols-2,.detail-grid.cols-2{grid-template-columns:1fr}
  .application-grid.tall img{height:200px}
  /* Hero: vertical scrim so the headline never sits on the bright sphere */
  .hero .hero-overlay{background:
    linear-gradient(0deg, rgba(4,18,46,.94) 0%, rgba(6,26,66,.86) 34%, rgba(8,36,92,.55) 62%, rgba(8,36,92,.34) 100%),
    linear-gradient(90deg, rgba(4,18,46,.5), rgba(8,36,92,.2))}
  .hero h1{text-shadow:0 2px 18px rgba(2,10,28,.5)}
}
.hub-grid.cols-3{grid-template-columns:repeat(3,1fr)}
@media(max-width:980px){.hub-grid.cols-3{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.hub-grid.cols-3{grid-template-columns:1fr}}

/* ==================== V22: Documents page — featured covers + live filter ==================== */
.featured-docs{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gutter)}
.featured-doc{display:flex;flex-direction:column;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--card-shadow);overflow:hidden;text-decoration:none;color:var(--ink);transition:transform .14s ease,box-shadow .14s ease}
.featured-doc:hover{transform:translateY(-3px);box-shadow:0 20px 48px rgba(11,45,107,.16)}
.featured-doc img{width:100%;height:230px;object-fit:cover;object-position:top center;display:block;border-bottom:1px solid var(--line);background:var(--white)}
.featured-doc .fd-body{padding:18px 20px 20px;display:flex;flex-direction:column;gap:8px;flex:1}
.fd-kicker{font-size:var(--fs-3xs);font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--blue)}
.featured-doc h3{margin:0;font-size:var(--fs-md);color:var(--blue-dark)}
.featured-doc p{margin:0;color:var(--ink-soft);font-size:var(--fs-xs);line-height:1.55;flex:1}
.fd-go{font-weight:800;color:var(--blue-dark);font-size:var(--fs-xs)}
.fd-go em{display:block;font-style:normal;font-weight:600;font-size:var(--fs-3xs);color:var(--muted);margin-top:3px;letter-spacing:.02em}

.doc-meta{display:block;font-style:normal;font-weight:600;font-size:var(--fs-3xs);color:var(--muted);margin-top:3px;letter-spacing:.02em}

.doc-filter-wrap{max-width:640px}
.doc-filter{display:flex;align-items:center;gap:10px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius-pill);padding:10px 16px;box-shadow:var(--card-shadow)}
.doc-filter:focus-within{border-color:var(--aqua);box-shadow:0 0 0 3px rgba(79,179,240,.35)}
.doc-filter svg{flex:none;width:19px;height:19px;fill:none;stroke:var(--blue);stroke-width:2.1;stroke-linecap:round}
.doc-filter input{flex:1;border:0;outline:0;background:transparent;font:inherit;font-size:var(--fs-xs);color:var(--ink);min-width:0}
.doc-filter input::-webkit-search-cancel-button{display:none}
#doc-filter-clear{flex:none;border:0;background:transparent;cursor:pointer;font-size:var(--fs-lg);line-height:1;color:var(--muted);padding:0 2px}
#doc-filter-clear:hover{color:var(--blue-dark)}
.doc-filter-count{margin:10px 2px 0;color:var(--ink-soft);font-size:var(--fs-2xs)}
.doc-empty{margin:18px 0 0;color:var(--ink-soft);font-size:var(--fs-xs)}
.doc-link[hidden],.doc-section[hidden]{display:none!important}

@media(max-width:980px){.featured-docs{grid-template-columns:repeat(3,1fr);gap:14px}.featured-doc img{height:190px}}
@media(max-width:760px){.featured-docs{grid-template-columns:1fr}.featured-doc img{height:260px}}
.doc-link .doc-thumb{flex:none;width:62px;height:80px;object-fit:cover;object-position:top center;border:1px solid var(--line);border-radius:6px;background:var(--white);box-shadow:0 2px 8px rgba(11,45,107,.09)}
.doc-link{align-items:center}
@media(max-width:620px){.doc-link .doc-thumb{width:52px;height:68px}}

/* ==================== V22: Industries symptom table ==================== */
.data-table td a{color:var(--blue-dark);font-weight:700;text-decoration:none;border-bottom:1.5px solid rgba(79,179,240,.6)}
.data-table td a:hover{color:var(--blue);border-bottom-color:var(--blue)}
.data-table td.hi{width:24%}

/* ---------- V22: 404 search ---------- */
.err-search-h{margin:38px 0 12px;font-size:var(--fs-md);color:var(--blue-dark)}
.search-toggle.err-search{display:flex;width:100%;max-width:520px;margin:0 auto;gap:10px;align-items:center;justify-content:flex-start;
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius-pill);padding:12px 18px;box-shadow:var(--card-shadow);
  color:var(--ink-soft);font:inherit;font-size:var(--fs-xs);text-align:left}
.search-toggle.err-search:hover{background:var(--white);border-color:var(--aqua);box-shadow:0 0 0 3px rgba(79,179,240,.28);color:var(--blue-dark)}
.search-toggle.err-search svg{flex:none;width:19px;height:19px;fill:none;stroke:var(--blue);stroke-width:2.1;stroke-linecap:round}
.search-toggle.err-search span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.search-toggle.err-search kbd{flex:none;font:inherit;font-size:var(--fs-3xs);font-weight:700;color:var(--muted);
  border:1px solid var(--line);border-bottom-width:2px;border-radius:5px;padding:1px 7px;background:var(--paper)}
@media(max-width:620px){.search-toggle.err-search kbd{display:none}}

.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ---- author byline / author box ---- */
.author-box{display:flex;gap:18px;align-items:center;margin-top:40px;padding:22px 24px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--card-shadow)}
.author-box .author-photo{flex:none;width:76px;height:76px;border-radius:50%;overflow:hidden;background:rgba(79,179,240,.16);display:grid;place-items:center;color:var(--blue-dark)}
.author-box .author-photo img{width:100%;height:100%;object-fit:cover;display:block}
.author-box .author-photo svg{width:34px;height:34px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.author-box .author-name{margin:0;font-size:var(--fs-sm);font-weight:700;color:var(--ink)}
.author-box .author-role{margin:2px 0 0;font-size:var(--fs-xs);color:var(--blue-dark);font-weight:600}
.author-box .author-bio{margin:8px 0 0;font-size:var(--fs-xs);color:var(--ink-soft)}
@media (max-width:600px){.author-box{flex-direction:column;align-items:flex-start;text-align:left}}


/* ==================================================================================
   V24 REMEDIATION BLOCK — accessibility + mobile-legibility fixes
   (Fix 1 is applied in place on the .footer-col heading rule, ~line 287.)
   All colours use existing brand tokens. No HTML/JS changes.
   ================================================================================== */

/* ---------- FIX 2: links inside dark teal bands were dark-teal-on-teal (~1.5:1) ----------
   .cta-band is linear-gradient(135deg, var(--blue-dark), var(--blue-mid)). White text on the
   lightest stop (var(--blue-mid)) measures ~6.4:1; --aqua would only reach ~2.9:1 there, so the
   link text stays white and --aqua is used for the underline/hover accent instead. */
.cta-band a:not(.button),
.split-band.dark a:not(.button),
.cred-strip.dark a:not(.button) {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.cta-band a:not(.button):hover,
.split-band.dark a:not(.button):hover,
.cred-strip.dark a:not(.button):hover {
  color: var(--white);
  text-decoration-color: var(--aqua);
  text-decoration-thickness: 2px;
}
.cta-band a:not(.button):focus-visible,
.split-band.dark a:not(.button):focus-visible,
.cred-strip.dark a:not(.button):focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- FIX 6: inline links in dark photo heroes ----------
   .page-hero / .post-hero overlay is rgba(6,45,58,.62–.94) over photography, so the
   mid-teal --blue used by .ilink is both low-contrast and dimmer than the body copy.
   Near-white keeps it >=4.5:1 even over the lightest corner of the overlay.
   .breadcrumb is excluded (already --aqua on the darkest stop, ~6.6:1) and so are buttons. */
.page-hero p:not(.breadcrumb) a:not(.button),
.post-hero p:not(.breadcrumb) a:not(.button),
.page-hero li a:not(.button),
.post-hero li a:not(.button) {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.page-hero p:not(.breadcrumb) a:not(.button):hover,
.post-hero p:not(.breadcrumb) a:not(.button):hover,
.page-hero li a:not(.button):hover,
.post-hero li a:not(.button):hover {
  color: var(--white);
  text-decoration-color: var(--aqua);
  text-decoration-thickness: 2px;
}
.page-hero a:not(.button):focus-visible,
.post-hero a:not(.button):focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- FIX 3: scrollable data tables need an affordance, and an unclipped caption ----------
   .table-wrap is the scroll container. container-type:inline-size lets the <caption>
   size itself to the *visible* width (100cqi) instead of the full table width, so it is
   no longer clipped; position:sticky keeps it aligned to the left of the scrollport. */
.table-wrap {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  container-type: inline-size;
}
.table-wrap > .data-table > caption {
  position: sticky;
  left: 0;
  width: 100cqi;
  max-width: 100cqi;
  box-sizing: border-box;
}
/* Right-edge fade. Base state is invisible; the scroll-driven animation below only has a
   timeline when the wrapper actually has horizontal overflow, so a table that fits shows
   nothing at all. It also fades out as the reader reaches the end of the scroll. */
.table-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 46px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(to left, rgba(11,22,48,0.30), rgba(11,22,48,0) 46px);
}
@supports (animation-timeline: scroll()) {
  .table-wrap::after {
    /* Longhands on purpose: the `animation` shorthand resets animation-duration to 0s,
       which collapses a scroll-driven animation onto its final keyframe. */
    animation-name: tablewrap-scroll-hint;
    animation-duration: auto;
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-timeline: scroll(nearest inline);
  }
  @keyframes tablewrap-scroll-hint {
    0%   { opacity: 1; }
    80%  { opacity: 1; }
    100% { opacity: 0; }
  }
}
/* Fallback for engines without scroll-driven animations: show the hint at the narrow
   widths where these tables always overflow. */
@supports not (animation-timeline: scroll()) {
  @media (max-width: 760px) {
    .table-wrap::after { opacity: 1; }
  }
}

/* ---------- FIX 4: the industries.html symptom -> driver -> program -> proof matrix ----------
   Chosen approach: collapse to stacked cards below 600px with CSS-generated column labels.
   The <td>s carry no data-label attributes (HTML is off-limits), so the labels are keyed to
   td:nth-of-type() for this one table only. Scoped via :has() on the unique
   #find-your-problem heading so no other .data-table on the site is affected.
   Rationale: at 390px this table is 4 columns x 12 rows, ~2,500px tall, 2-3 words per line,
   with the whole "Proof" column off-screen. Horizontal scrolling alone would still hide a
   quarter of the content behind a gesture; stacking makes every cell readable at full width. */
@media (max-width: 600px) {
  .content-section:has(#find-your-problem) .table-wrap {
    overflow-x: visible;
    container-type: normal;
  }
  .content-section:has(#find-your-problem) .table-wrap::after { display: none; }

  /* The table box itself stays display:table so <caption> keeps caption-side:bottom;
     only the internal row/cell boxes are switched to block. */
  .content-section:has(#find-your-problem) .data-table {
    width: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    font-size:var(--fs-xs);
    margin: 4px 0 0;
  }
  /* Header row is redundant once every cell is labelled — hide it accessibly. */
  .content-section:has(#find-your-problem) .data-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    clip-path: inset(50%);
    border: 0;
  }
  .content-section:has(#find-your-problem) .data-table tbody { display: block; }
  .content-section:has(#find-your-problem) .data-table tbody tr,
  .content-section:has(#find-your-problem) .data-table tbody tr:nth-child(even) {
    display: block;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    margin: 0 0 14px;
    padding: 6px 0 10px;
    overflow: hidden;
  }
  .content-section:has(#find-your-problem) .data-table tbody td,
  .content-section:has(#find-your-problem) .data-table tbody td.hi {
    display: block;
    width: auto;
    border-bottom: 0;
    padding: 9px 18px 0;
    line-height: 1.45;
  }
  .content-section:has(#find-your-problem) .data-table tbody td::before {
    display: block;
    margin-bottom: 3px;
    font-size:var(--fs-3xs);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .content-section:has(#find-your-problem) .data-table tbody td:nth-of-type(1)::before { content: "What you're seeing"; }
  .content-section:has(#find-your-problem) .data-table tbody td:nth-of-type(2)::before { content: "What's driving it"; }
  .content-section:has(#find-your-problem) .data-table tbody td:nth-of-type(3)::before { content: "Program"; }
  .content-section:has(#find-your-problem) .data-table tbody td:nth-of-type(4)::before { content: "Proof"; }
  /* First cell is the symptom — keep it as the card title. */
  .content-section:has(#find-your-problem) .data-table tbody td.hi {
    font-size:var(--fs-sm);
    font-weight: 800;
    color: var(--blue-dark);
    padding-bottom: 4px;
  }
  .content-section:has(#find-your-problem) .data-table tbody td:nth-of-type(2) { color: var(--ink-soft); }
  /* Keep it a real caption so caption-side:bottom still applies; just undo the
     sticky/100cqi sizing, which is only needed while the table scrolls horizontally. */
  .content-section:has(#find-your-problem) .data-table > caption {
    display: table-caption;
    caption-side: bottom;
    position: static;
    width: auto;
    max-width: none;
    padding: 12px 2px 0;
  }
}

/* ---------- FIX 5: contact.html "Prefer to browse first?" button pair ----------
   .pn-actions is a wrapping flex row; at <=480px the two buttons form a left-aligned
   staircase. Stack them full width so their edges align. */
@media (max-width: 480px) {
  .pn-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .pn-actions .lead {
    margin-right: 0;
    margin-bottom: 2px;
  }
  .pn-actions .button {
    width: 100%;
    text-align: center;
  }
}

/* ---------- FIX 7: comparisons.html "Three comparisons" left an orphaned half-row ----------
   Three cards in a 2-column .hub-grid. Scoped by :has() on the unique #three-comparisons
   heading, so every other .hub-grid (index, research, how-we-help, industries, case-studies)
   keeps its existing 2-column layout. Inherits the global 2-col (<=980px) and 1-col
   (<=620px) fallbacks. */
@media (min-width: 981px) {
  .content-section:has(#three-comparisons) .hub-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---- V29: answer-first band (AEO) ---- */
.answer-band{background:var(--white);border-bottom:1px solid var(--line)}
.answer-inner{width:min(100% - 36px,var(--max));margin:0 auto;padding:30px 0 28px;display:flex;gap:20px;align-items:stretch}
.answer-inner::before{content:"";flex:0 0 4px;border-radius:3px;background:linear-gradient(180deg,var(--aqua),var(--blue))}
.answer-lead{margin:0;font-size:var(--fs-sm);line-height:1.65;color:var(--ink);font-weight:500;max-width:900px}
.answer-updated{margin:10px 0 0 auto;flex:0 0 auto;align-self:flex-start;white-space:nowrap;font-size:var(--fs-2xs);color:var(--muted)}
@media(max-width:860px){.answer-inner{display:block}.answer-inner::before{display:none}.answer-lead{border-left:4px solid var(--aqua);border-radius:3px;padding-left:16px;max-width:none}.answer-updated{margin:12px 0 0;padding-left:20px;white-space:normal}}
@media(max-width:620px){.answer-inner{padding:24px 0 22px;gap:14px}.answer-lead{font-size:var(--fs-xs)}}

/* ---- V29: HowTo step list ---- */
.howto-steps{counter-reset:ht;list-style:none;margin:22px 0 0;padding:0;display:grid;gap:14px}
.howto-steps li{position:relative;counter-increment:ht;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--card-shadow);padding:20px 22px 20px 68px;color:var(--ink-soft);line-height:1.7}
.howto-steps li::before{content:counter(ht);position:absolute;left:20px;top:19px;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:rgba(79,179,240,.18);color:var(--blue-dark);font-weight:800;font-size:var(--fs-xs)}
.howto-steps li strong{color:var(--ink)}
@media(max-width:620px){.howto-steps li{padding:18px 18px 18px 58px}.howto-steps li::before{left:14px;top:17px;width:28px;height:28px}}

/* ================================================================
   V29 — design corrections and additions
   Appended block. Everything here is additive or an override of a
   rule earlier in this file. See BUILD-NOTES-V29.md for rationale.
   ================================================================ */

/* --- Heading hierarchy: five distinguishable levels (was three) --- */
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }
.hero h1 { font-size: var(--fs-3xl); }
.page-hero h1, .post-hero h1 { font-size: var(--fs-h1); }
.cta-inner h2 { font-size: var(--fs-h1); }
.content-section.related h2, .page-nav h2, .page-nav .section-heading h2 { font-size: var(--fs-xl); }
.content-section > h1 { line-height: 1.06; }            /* 404 heading */
.subhead { font-family:"Montserrat",Arial,sans-serif; font-size:var(--fs-xl);
           line-height:1.15; margin:0 0 12px; color:var(--ink); }

/* --- Card wrapper must not impose the CTA link's weight on card body --- */
a.card-link:has(article) { font-weight: 400; }
a.card-link > article, a.card-link > article p, a.card-link > article ul { font-weight: 400; }

/* --- Aqua is a dark-background accent. Use blue where it sits on white. --- */
.eyebrow, .pn-card .pn-k { color: var(--blue); }
.hero .eyebrow, .page-hero .eyebrow, .post-hero .eyebrow,
.cta-band .eyebrow, .cred-strip:not(.light) .eyebrow,
.split-band.dark .eyebrow, .content-section.dark .eyebrow { color: var(--aqua); }
.cred-strip:not(.light) .cred-lead { color: #7cc8f8; }

/* Focus ring: aqua measured 2.09:1 on paper. Dark blue on light surfaces. */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
select:focus-visible, [tabindex]:focus-visible, .card-link:focus-visible,
summary:focus-visible { outline-color: var(--blue-dark); }
.hero :focus-visible, .post-hero :focus-visible, .page-hero :focus-visible,
.cta-band :focus-visible, .split-band.dark :focus-visible,
.content-section.dark :focus-visible, .cred-strip:not(.light) :focus-visible,
.site-footer :focus-visible { outline-color: var(--aqua); }

/* --- Homepage hero: extend the scrim across the bright right side --- */
@media (min-width: 621px) {
  .hero .hero-overlay {
    background:
      linear-gradient(90deg, rgba(4,18,46,.92), rgba(8,36,92,.72) 55%, rgba(8,36,92,.42) 100%),
      linear-gradient(0deg, rgba(11,22,48,.72), transparent 44%);
  }
}

/* --- Card imagery: one ratio, matching the 16:9 sources --- */
.service-card .card-image,
.detail-card > img, .application-grid article > img,
.hub-card img, .blog-card img,
.application-grid.tall img { height: auto; aspect-ratio: 16 / 9; }
.featured-doc img { height: auto; aspect-ratio: 3 / 4; }

/* --- One photographic treatment so the stock library reads as one set --- */
.service-card .card-image, .detail-card > img, .application-grid article > img,
.hub-card img, .blog-card img, .feature-media img, .split-band img,
.hero img.hero-bg, .page-hero img.hero-bg, .post-hero img.hero-bg,
.featured-doc img { filter: saturate(.82) contrast(1.04) brightness(1.01); }
@media (prefers-reduced-motion: no-preference) {
  .service-card:hover .card-image, .hub-card:hover img, .blog-card:hover img,
  .detail-card:hover > img, .application-grid article:hover > img,
  .image-feature:hover .feature-media img { filter: saturate(.95) contrast(1.04); }
}

/* --- Full-bleed dark band modifier (was referenced but never defined) --- */
.split-band.dark, .content-section.dark {
  position: relative; color: var(--white);
  background: var(--grad-brand);
  box-shadow: 0 0 0 100vmax var(--blue-dark);
  clip-path: inset(0 -100vmax);
  padding-block: var(--band);
}
.split-band.dark h2, .content-section.dark h2,
.split-band.dark h3, .content-section.dark h3 { color: var(--white); }
.split-band.dark p, .content-section.dark p,
.split-band.dark li, .content-section.dark li { color: rgba(255,255,255,.88); }
.content-section.dark .data-table { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: var(--white); }
.content-section.dark .data-table th { background: rgba(255,255,255,.10); color: var(--white); }
.content-section.dark .data-table td { border-color: rgba(255,255,255,.14); }
.content-section.dark .data-table tbody tr:nth-child(even) { background: rgba(255,255,255,.04); }
.content-section.dark .data-table .hi { color: var(--aqua); }
.content-section.dark a:not(.button) { color: var(--aqua); }

/* --- Make the tint bands actually visible, and give the pair a seam --- */
.content-section.related { box-shadow: 0 0 0 100vmax var(--surface-tint); }
.content-section.related + .page-nav { background: var(--white); }
.page-nav { border-top: 1px solid var(--line); }

/* --- Section rhythm: collapse doubled padding between adjacent bands --- */
.content-section + .split-band, .split-band + .content-section,
.image-feature + .image-feature, .content-section + .image-feature,
.image-feature + .content-section, .section-grid + .content-section,
.content-section + .section-grid { padding-top: 0; }

/* --- The homepage stats band was the only one outside the container --- */
main > section.stats-band { width: min(100% - 36px, var(--max)); margin-inline: auto; }

/* --- Blog cards carry a literal arrow AND a pseudo-element arrow --- */
.blog-card .text-link::after { content: none; }

/* --- Blog index lead story --- */
@media (min-width: 981px) {
  .blog-grid > .blog-card:first-child { grid-column: span 2; flex-direction: row; align-items: stretch; }
  .blog-grid > .blog-card:first-child img { width: 50%; height: auto; aspect-ratio: 4 / 3; flex: none; }
  .blog-grid > .blog-card:first-child .pad { display:flex; flex-direction:column; justify-content: center; padding: 30px 32px; }
  .blog-grid > .blog-card:first-child h3 { font-size: var(--fs-xl); line-height: 1.2; }
  .blog-grid > .blog-card:first-child p { font-size: var(--fs-sm); }
}

/* --- Four cards in a three-column grid orphan the fourth --- */
@media (min-width: 981px) {
  .application-grid:not(.cols-2):has(> :last-child:nth-child(4)),
  .detail-grid:not(.cols-2):has(> :last-child:nth-child(4)),
  .card-grid:has(> :last-child:nth-child(4)) { grid-template-columns: repeat(2, 1fr); }
}

/* --- One elevation for one gesture --- */
.service-card:hover, .hub-card:hover, .blog-card:hover, .detail-card:hover,
.application-grid article:hover, .product-card:hover, .quick-link:hover,
.pn-card:hover, .featured-doc:hover, .doc-link:hover {
  transform: translateY(var(--lift));
  box-shadow: var(--card-shadow-hover);
}
.site-header { box-shadow: 0 12px 40px rgba(11,45,107,.12); }

/* --- Measure: FAQ / callout / HowTo body copy ran 147-167 characters --- */
.faq-list p, .callout p { max-width: 58ch; }
.howto-steps li { max-width: calc(58ch + 68px); }

/* --- Touch targets --- */
.search-toggle { min-width: 44px; min-height: 44px; }
.lang-btn { min-width: 44px; min-height: 44px; justify-content: center; }
.footer-bottom-inner a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; }
.faq-list summary { padding-block: 9px; margin-block: -9px; }

/* --- Back-to-top must leave the tab order while hidden --- */
#to-top { visibility: hidden; transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s; }
#to-top.show { visibility: visible; transition-delay: 0s; }

/* --- Reduced motion: guard the global smooth scroll like the reveals are --- */
html { scroll-behavior: auto; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* --- Hero drift: bounded, so the compositor goes idle --- */
@media (prefers-reduced-motion: no-preference) {
  .hero img.hero-bg { animation: heroDrift 26s ease-in-out 2 alternate both; }
}

/* --- Visually hidden helper (used by disambiguated card links) --- */
.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; }

/* --- Mobile: menu rows, hero, footer --- */
@media (max-width: 980px) {
  .site-nav > a, .nav-group > a { display: block; padding: 12px; }
  .dropdown a { padding: 12px; }
}
@media (max-width: 620px) {
  .hero { min-height: 0; }
  .hero-content { padding: 118px 0 44px; }
  .hero h1 { font-size: var(--fs-2xl); }
  .hero-tagline { font-size: var(--fs-md) !important; margin-top: 12px !important; }
  .hero p:not(.eyebrow):not(.hero-tagline) { font-size: var(--fs-sm); margin-top: 14px; }
  .hero-actions { margin-top: 24px; }
  .content-section, .section-grid, .image-feature, .split-band,
  .contact-section, .cta-inner { padding-block: var(--band-sm); }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 0 20px; }
  .footer-col a { padding: 9px 0; }
}

/* --- Dark band: remaining light-context elements --- */
.content-section.dark caption, .split-band.dark caption,
.content-section.dark figcaption, .content-section.dark small,
.content-section.dark .lead-copy { color: rgba(255,255,255,.82); }
.content-section.dark .callout {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.20);
  border-left-color: var(--aqua);
}
.content-section.dark .callout h3 { color: var(--white); }
.content-section.dark .callout p { color: rgba(255,255,255,.88); }
.content-section.dark .callout .ci { background: var(--aqua); color: var(--blue-dark); }
.content-section.dark .eyebrow { color: var(--aqua); }

/* ================================================================
   V29 — metric-matched fallback faces
   The webfont stylesheet is applied after first paint (deliberate, for
   render speed), so the swap happens late and the reflow is visible.
   These adjusted fallbacks make Arial/Georgia occupy the same space as
   the real faces, so nothing moves when the webfont lands.

   Inter and Montserrat fallbacks use the published Arial-relative
   metrics (size-adjust / ascent / descent) for each face.
   ================================================================ */
@font-face{
  font-family:"Inter Fallback";
  src:local("Arial"),local("Helvetica Neue"),local("Liberation Sans");
  size-adjust:107.40%;
  ascent-override:90.20%;
  descent-override:22.48%;
  line-gap-override:0%;
}
@font-face{
  font-family:"Montserrat Fallback";
  src:local("Arial"),local("Helvetica Neue"),local("Liberation Sans");
  size-adjust:112.83%;
  ascent-override:85.79%;
  descent-override:22.25%;
  line-gap-override:0%;
}
body, .nav-link, .button, input, textarea, select, button {
  font-family:"Inter","Inter Fallback",Arial,sans-serif;
}
h1, h2, h3, .hero h1, .page-hero h1, .post-hero h1, .subhead,
blockquote.pull, .stats-band strong, .cs-results strong {
  font-family:"Montserrat","Montserrat Fallback",Arial,sans-serif;
}

/* --- V29: footer gained an Evidence column --- */
.footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr; gap: 28px; }
@media (max-width: 1180px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ================================================================
   V32 — polish pass
   ================================================================ */
:root { --aqua-light: #a9dcfb; }

/* --- Images: never stretch. Every <img> carries width/height attributes
   for layout stability; without height:auto a max-width-constrained image
   kept its attribute height and stretched (the tall 234x900 cards on the
   Cooling / Oil & Gas / Metal Removal / Organo-Clay pages). --- */
img { height: auto; }
.two-up .media-detail { grid-template-columns: 1fr; align-items: start; align-content: start; gap: 0; padding: 0; overflow: hidden; }
.two-up .media-detail img { aspect-ratio: 16 / 9; border-radius: 0; }
.two-up .media-detail .pad { padding: 22px 26px 26px; }
.two-up .media-detail h3 { margin-top: 0; }

/* --- Dark bands: one continuous gradient edge to edge (no seam at the
   content-width boundary) --- */
.split-band.dark, .content-section.dark {
  background: var(--blue-dark);
  box-shadow: none;
  border-image: linear-gradient(135deg, var(--blue-dark), var(--blue-mid)) fill 0 // 0 100vmax;
}
/* aqua on the mid-blue stop measured 2.6-3.8:1; the light aqua clears 4.5:1 */
.content-section.dark .eyebrow, .split-band.dark .eyebrow,
.content-section.dark a:not(.button), .split-band.dark a:not(.button),
.content-section.dark .data-table .hi, .content-section.dark .ci,
.cta-band .eyebrow { color: var(--aqua-light); }
.content-section.dark .callout .ci { background: var(--aqua-light); color: var(--blue-dark); }

/* --- Section rhythm: a light section that follows a coloured band needs its
   own top padding back (several sections carried padding-top:0 inline) --- */
.content-section.dark + .content-section:not(.dark),
.split-band.dark + .content-section,
.cred-strip + .content-section,
.stats-band + .content-section,
.answer-band + .content-section,
main > section.stats-band + section { padding-top: var(--band) !important; }
main > section.stats-band { margin-block: 0; }
.cred-strip + section.stats-band, .trust-strip + section.stats-band { margin-top: var(--band-sm); }
@media (max-width: 620px) {
  .content-section.dark + .content-section:not(.dark),
  .split-band.dark + .content-section,
  .cred-strip + .content-section,
  .stats-band + .content-section,
  .answer-band + .content-section,
  main > section.stats-band + section { padding-top: var(--band-sm) !important; }
}
.content-section:has(> .cs-meta) + .content-section, .content-section:has(> .cs-results:last-child) + .content-section { padding-top: var(--band-sm) !important; }
.cs-meta { margin-top: 14px; }

/* --- Cards: equal heights, and the "Learn more" / "Read" cue sits on the
   bottom edge so a row of cards lines up --- */
.application-grid > a.card-link > article, .application-grid > article,
.detail-grid > a.card-link > article, .two-up > a.card-link > article,
.card-grid > .service-card, .hub-grid > .hub-card, a.blog-card {
  display: flex; flex-direction: column; height: 100%;
}
.card-link .pad, .service-card .card-body, .hub-card .pad, .blog-card .pad { flex: 1; display: flex; flex-direction: column; }
.card-link .card-go, .service-card .card-link, .hub-card .hub-go, .blog-card .text-link { margin-top: auto; padding-top: 12px; }
.blog-card .card-cat { color: var(--blue); font-size: var(--fs-2xs); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }

/* --- Grids that left one card alone on the last row --- */
@media (min-width: 981px) {
  .hub-grid:not(.cols-3):has(> :last-child:nth-child(4)),
  .quick-links:has(> :last-child:nth-child(4)),
  .blog-grid:has(> :last-child:nth-child(4)):not(#blog-grid) { grid-template-columns: repeat(2, 1fr); }
  .application-grid.cols-2 > :last-child:nth-child(odd),
  .two-up > :last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; }
  .program-list > :last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; }
}

/* --- Stats: 2 x 2 on phones instead of one long column --- */
@media (max-width: 620px) {
  .stats-band { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .stats-band > div { padding: 20px 16px; }
  .stats-band strong { font-size: var(--fs-xl); }
  .stats-band span { font-size: var(--fs-2xs); }
  .stats-band > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* --- Footer: readable on phones, and no sideways scroll at 320px --- */
@media (max-width: 980px) {
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 360px) { .footer-inner { grid-template-columns: minmax(0, 1fr); } }
.footer-col a { overflow-wrap: anywhere; }
.footer-bottom-inner span { overflow-wrap: anywhere; }

/* --- Navigation --- */
.site-nav a[aria-current="true"] { color: var(--blue-dark); background: rgba(10,98,201,0.06); }
.dropdown a.dd-overview { color: var(--blue-dark); border-bottom: 1px solid var(--line); border-radius: 8px 8px 0 0; margin-bottom: 4px; }
@media (max-width: 980px) {
  html.nav-locked, html.nav-locked body { overflow: hidden; }
  .site-nav { background: var(--white); }
  .site-header.nav-open { background: var(--white); backdrop-filter: none; }
}

/* --- CTA band and in-article CTA: a filled primary button --- */
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button.on-dark.primary { background: var(--white); color: var(--blue-dark); }
.button.on-dark.primary:hover { box-shadow: 0 14px 34px rgba(0,0,0,.25); }
.button.on-dark.ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.55); }
.post-cta .button.primary { background: var(--white); color: var(--blue-dark); }
.post-cta .button.ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.55); }
@media (max-width: 980px) { .cta-actions { justify-content: flex-start; } }

/* --- Article prev / next --- */
.post-nav { align-items: stretch; }
.post-nav a { display: flex; flex-direction: column; gap: 4px; max-width: 48%; padding: 12px 0; line-height: 1.35; }
.post-nav a[rel="next"] { text-align: right; margin-left: auto; }
.post-nav .pn-dir { font-size: var(--fs-3xs); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.post-hero .breadcrumb { margin-bottom: 12px; }
@media (max-width: 620px) { .post-nav { flex-direction: column; } .post-nav a { max-width: none; } .post-nav a[rel="next"] { text-align: left; margin-left: 0; } }

/* --- Short-answer paragraphs (answer engines lift these) --- */
.verdict { max-width: 72ch; margin: 0 0 22px; padding: 16px 20px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--aqua); border-radius: 8px; color: var(--ink-soft); }
.verdict strong { color: var(--ink); }

/* --- ORP reference table --- */
.orp-table th[scope="row"] { font-weight: 800; color: var(--ink); white-space: normal; }
.orp-table .orp-num { font-weight: 800; color: var(--blue-dark); white-space: nowrap; }
.orp-table .orp-bar { width: 34%; min-width: 180px; }
.orp-table .orp-bar .orp-track { display: block; position: relative; height: 14px; }
.orp-table .orp-bar-h .orp-scale { display: flex; justify-content: space-between; padding: 0; margin: 0; font-size: var(--fs-3xs); color: var(--muted); }
.orp-download { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.cite-note { margin: 12px 0 0; font-size: var(--fs-2xs); color: var(--muted); }
@media (max-width: 720px) { .orp-table .orp-bar, .orp-table .orp-bar-h { display: none; } }

/* --- Outbound references --- */
a.ext { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a.ext::after { content: "\2197"; font-size: .8em; margin-left: 1px; text-decoration: none; display: inline-block; }

/* --- Site search --- */
.search-inp-wrap input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }

/* --- Touch targets --- */
main a[href^="mailto:"], main a[href^="tel:"] { display: inline-block; padding-block: 10px; margin-block: -10px; }
.doc-filter input { min-height: 44px; }
.blog-filters button { min-height: 44px; }
.inquiry-form input, .inquiry-form select { min-height: 50px; }

/* --- Print: one clean document, no chrome --- */
@media print {
  @page { margin: 16mm 14mm; }
  html, body { background: #fff !important; color: #000; }
  .site-header, .site-footer, .cta-band, .post-cta, .post-nav, .search-modal, #to-top, .skip-link,
  .lang-switch, .nav-toggle, .content-section.related, .page-nav, .blog-filters, .orp-download,
  .hero-overlay, img.hero-bg, #google_translate_element, .back-to-top { display: none !important; }
  .reveal, .img-anim { opacity: 1 !important; transform: none !important; }
  .hero, .page-hero, .post-hero { min-height: 0 !important; padding: 0 0 8mm !important; background: none !important; color: #000 !important; }
  .hero *, .page-hero *, .post-hero *, .content-section.dark *, .split-band.dark *, .cred-strip * { color: #000 !important; }
  .content-section.dark, .split-band.dark, .cred-strip, .stats-band > div, .answer-band { background: none !important; border-image: none !important; box-shadow: none !important; }
  .content-section, .section-grid, .split-band { padding-block: 6mm !important; }
  h2, h3 { break-after: avoid; }
  table, figure, .callout, .card, .service-card, .blog-card, details { break-inside: avoid; }
  details > *:not(summary) { display: block !important; }
  a[href^="http"]:not(.ext)::after { content: none; }
  .table-wrap { overflow: visible !important; }
  .card-grid, .application-grid, .blog-grid, .hub-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* --- Last card alone on its row: let it span the row as a wide card --- */
@media (min-width: 981px) {
  .content-section:not(:has(#three-comparisons)) .hub-grid:not(.cols-3) > .hub-card:last-child:nth-child(odd):not(:first-child),
  .application-grid:not(.cols-2):has(> :last-child:nth-child(3n+1)):not(:has(> :only-child)) > :last-child:not(:nth-child(4)) { grid-column: 1 / -1; }
  .content-section:not(:has(#three-comparisons)) .hub-grid:not(.cols-3) > .hub-card:last-child:nth-child(odd):not(:first-child) { flex-direction: row; }
  .content-section:not(:has(#three-comparisons)) .hub-grid:not(.cols-3) > .hub-card:last-child:nth-child(odd):not(:first-child) > img { width: 50%; height: auto; aspect-ratio: 16 / 9; flex: none; }
  .application-grid:not(.cols-2):has(> :last-child:nth-child(3n+1)) > a.card-link:last-child:not(:nth-child(4)) > article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .application-grid:not(.cols-2):has(> :last-child:nth-child(3n+1)) > a.card-link:last-child:not(:nth-child(4)) > article > img { height: 100%; aspect-ratio: auto; object-fit: cover; }
}
/* --- Header on very small phones: the logo keeps its proportions --- */
.brand { flex-shrink: 0; }
@media (max-width: 360px) { .brand img { height: 40px; } .site-header { gap: 8px; padding: 8px 10px; } }


/* ==================================================================
   D&Z WORLDWIDE DESIGN LAYER (October 2026)
   Palette from the drop logo: navy #0b2d6b, blue #0a62c9, azure
   #1e88e5, sky #4fb3f0. Type: Montserrat (display) + Inter (text).
   Overrides the inherited rules above; keep new work in this block.
   ================================================================== */
:root{
  --navy-900:#04122e; --navy-800:#0b2d6b; --blue-600:#0a62c9; --azure-500:#1e88e5;
  --sky-400:#4fb3f0; --sky-200:#a9dcfb; --aqua-light:#a9dcfb;
  --grad-brand:linear-gradient(135deg,#0b2d6b 0%,#0d47a1 55%,#0a62c9 100%);
  --grad-cta:linear-gradient(135deg,#0a52b3 0%,#0d6fd6 100%);
  --grad-accent:linear-gradient(90deg,#0b2d6b 0%,#1e88e5 55%,#4fb3f0 100%);
  --fs-3xl:3.35rem; --fs-h1:2.7rem; --fs-2xl:2.2rem; --fs-xl:1.65rem;
  --radius:14px; --radius-lg:20px; --header-h:74px;
  --card-shadow:0 10px 30px rgba(11,45,107,.07);
  --card-shadow-hover:0 22px 50px rgba(11,45,107,.16);
  --shadow:0 24px 64px rgba(11,45,107,.18);
}
::selection{background:rgba(79,179,240,.32)}

/* --- Type ------------------------------------------------------------ */
h1, h2, h3, .hero h1, .page-hero h1, .post-hero h1, .subhead,
blockquote.pull, .stats-band strong, .cs-results strong, .post-body h2 {
  font-family:"Montserrat","Montserrat Fallback",Arial,sans-serif; letter-spacing:-.015em;
}
h1, h2, .hero h1, .page-hero h1, .post-hero h1 { font-weight:800; }
h2 { line-height:1.14; }
h3 { font-weight:700; }
.hero h1 { line-height:1.08; }
.page-hero h1, .post-hero h1 { line-height:1.1; }
.eyebrow { display:inline-flex; align-items:center; gap:10px; letter-spacing:.14em; font-weight:700; }
.eyebrow::before { content:""; flex:none; width:22px; height:2px; border-radius:2px; background:currentColor; opacity:.85; }
.hero-tagline { font-family:"Montserrat","Montserrat Fallback",Arial,sans-serif !important; font-weight:600; letter-spacing:.02em; color:var(--sky-400) !important; }

/* --- Header: full-width bar pinned to the top, gradient rule on top ---- */
.site-header{
  top:0; left:0; transform:none; width:100%; min-height:var(--header-h);
  border:0; border-bottom:1px solid var(--line); border-radius:0;
  padding:10px max(18px, calc((100% - var(--max)) / 2));
  background:rgba(255,255,255,.96); box-shadow:0 6px 24px rgba(11,45,107,.08);
}
.site-header::before{ content:""; position:absolute; left:0; right:0; top:0; height:3px; background:var(--grad-accent); }
.brand img{ height:44px; }
.site-nav > a, .nav-group > a, .nav-toggle{ border-radius:999px; font-weight:600; color:var(--ink-soft); }
.site-nav > a:hover, .nav-group > a:hover, .nav-toggle:hover{ background:rgba(10,98,201,.08); color:var(--navy-800); }
.site-nav a[aria-current="page"]{ color:var(--navy-800); background:rgba(10,98,201,.09); }
.site-nav a.nav-cta, .site-nav a.nav-cta:hover{ border-radius:999px; background:var(--grad-cta); color:#fff; padding:10px 20px; box-shadow:0 8px 20px rgba(10,98,201,.25); }
.dropdown{ border-radius:var(--radius); padding:8px; border-top:3px solid var(--blue-600); }
.dropdown a{ border-radius:9px; font-weight:600; }
.dropdown a:hover{ background:rgba(10,98,201,.07); color:var(--navy-800); }
.search-toggle, .lang-btn{ border-radius:999px; }
.lang-btn{ background:#fff; font-weight:600; }
/* 981-1180px: full nav, but the wide D&Z lockup needs the room the label takes */
@media (min-width:981px) and (max-width:1180px){
  .site-header{ gap:10px; }
  .brand img{ height:38px; }
  .site-nav{ gap:2px; }
  .site-nav > a, .nav-group > a{ padding:10px 9px; }
  .site-nav a.nav-cta{ padding:10px 16px; }
  .lang-btn span.lang-full{ display:none; }
}
@media (max-width:980px){
  .site-nav{ top:100%; left:0; right:0; border-radius:0 0 var(--radius) var(--radius); border-top:0; }
}
@media (max-width:620px){
  /* the D&Z lockup is wide (5:1), so the phone header trades gap for logo room */
  .site-header{ top:0; width:100%; padding:8px 12px; gap:4px; }
  .brand{ margin-right:auto; }
  .brand img{ height:30px; }
  .nav-toggle{ padding:10px 10px; }
  .search-toggle, .lang-btn{ min-width:40px; padding:8px; }
}
@media (max-width:380px){ .brand img{ height:26px; } .site-header{ padding:8px 8px; gap:2px; } }
@media (max-width:330px){ .brand img{ height:22px; } }

/* --- Language menu: 32 languages in a two-column panel ---------------- */
.lang-menu{ width:min(92vw,460px); max-height:min(72vh,470px); padding:8px; border-radius:var(--radius);
  grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px; border-top:3px solid var(--blue-600); }
.lang-switch.open .lang-menu{ display:grid; }
.lang-menu button{ display:flex; flex-direction:column; align-items:flex-start; gap:1px; padding:8px 12px; border-radius:9px; min-height:44px; justify-content:center; }
.lang-menu button:hover, .lang-menu button[aria-current="true"]{ background:rgba(10,98,201,.08); }
.lang-menu .lang-native{ font-weight:600; color:var(--ink); font-size:var(--fs-xs); line-height:1.25; }
.lang-menu .lang-en{ font-size:var(--fs-3xs); color:var(--muted); font-weight:500; line-height:1.2; }
.lang-menu button[aria-current="true"] .lang-native{ color:var(--blue-600); }
@media (max-width:620px){
  .lang-menu{ position:fixed; top:calc(var(--header-h) + 6px); left:12px; right:12px; width:auto; }
}

/* --- Buttons ---------------------------------------------------------- */
.button{ border-radius:999px; padding:13px 26px; font-weight:700; letter-spacing:.01em; }
.button.primary{ background:var(--grad-cta); box-shadow:0 10px 24px rgba(10,98,201,.22); }
.button.primary:hover{ box-shadow:0 16px 34px rgba(10,98,201,.36); }
.button.secondary{ border:1.5px solid rgba(255,255,255,.62); background:rgba(255,255,255,.06); }
.button.secondary:hover{ background:rgba(255,255,255,.14); }
.button.ghost{ background:rgba(10,98,201,.08); color:var(--navy-800); }
.button.on-dark.primary, .post-cta .button.primary{ background:#fff; color:var(--navy-800); box-shadow:none; }

/* --- Heroes: navy-to-blue scrim and a wave edge ----------------------- */
.hero .hero-overlay{
  background:
    linear-gradient(100deg, rgba(4,18,46,.95) 0%, rgba(8,36,92,.8) 50%, rgba(10,82,179,.42) 100%),
    linear-gradient(0deg, rgba(4,18,46,.72), transparent 46%);
}
.page-hero .hero-overlay, .post-hero .hero-overlay{
  background:linear-gradient(115deg, rgba(4,18,46,.95) 0%, rgba(8,36,92,.84) 55%, rgba(10,82,179,.6) 100%);
}
@media (max-width:620px){
  .hero .hero-overlay{ background:linear-gradient(0deg, rgba(4,18,46,.96) 0%, rgba(6,26,66,.88) 40%, rgba(8,36,92,.6) 70%, rgba(10,82,179,.42) 100%); }
}
.hero::after, .page-hero::after, .post-hero::after{
  content:""; position:absolute; left:0; right:0; bottom:-1px; height:46px; pointer-events:none;
  background:var(--white); -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 60%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0 34C180 58 360 60 540 44S900 4 1080 12 1350 44 1440 40V60H0Z%22/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 60%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0 34C180 58 360 60 540 44S900 4 1080 12 1350 44 1440 40V60H0Z%22/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
.hero-content{ padding-bottom:104px; }
.page-hero{ padding-bottom:92px; }
.post-hero{ padding-bottom:86px; }
.breadcrumb a{ color:var(--sky-400); }
@media (max-width:620px){
  .hero::after, .page-hero::after, .post-hero::after{ height:26px; }
  .hero-content{ padding-bottom:64px; }
  .page-hero, .post-hero{ padding-bottom:58px; }
}

/* --- Answer band + credibility strip ----------------------------------- */
.answer-inner::before{ background:var(--grad-accent); }
.cred-strip{ background:linear-gradient(180deg, #071a42 0%, #0b2d6b 100%); }
.cred-strip .cred-lead{ color:#8fd0ff; letter-spacing:.14em; }
.cred-badge{ border-radius:12px; }
.validated-by span::before{ content:""; display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--sky-400); margin-right:9px; vertical-align:middle; font-size:inherit; }
.cred-strip.light{ background:var(--surface-tint); }

/* --- Stats: navy gradient tiles ---------------------------------------- */
.stats-band{ background:transparent; border:0; gap:14px; }
.stats-band > div{ position:relative; overflow:hidden; background:var(--grad-brand); border-radius:var(--radius); padding:28px 26px; }
.stats-band > div::after{ content:""; position:absolute; right:-36px; top:-36px; width:120px; height:120px; border-radius:50%; background:radial-gradient(circle, rgba(79,179,240,.38), transparent 70%); }
.stats-band strong{ color:#fff; font-weight:800; }
.stats-band span{ color:rgba(255,255,255,.84); }
.cs-results{ background:transparent; border:0; gap:14px; }
.cs-results div{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--card-shadow); border-top:3px solid var(--blue-600); }
.cs-results strong{ color:var(--navy-800); font-weight:800; }

/* --- Cards: rounder, navy-tinted shadow, gradient rule on hover --------- */
.service-card, .hub-card, .blog-card, .detail-card, .application-grid article, .product-card,
.two-up article, .quick-link, .pn-card, .featured-doc, .doc-link, .faq-list details,
.contact-card, .orp-chart, .steps article, .howto-steps li, .author-box, .media-detail,
.data-table, .callout, .verdict { border-radius:var(--radius); }
.service-card, .hub-card, .blog-card, .detail-card, .application-grid article, .featured-doc, .pn-card, .quick-link { position:relative; }
.service-card::before, .hub-card::before, .blog-card::before, .detail-card::before,
.application-grid article::before, .featured-doc::before, .pn-card::before, .quick-link::before{
  content:""; position:absolute; left:0; right:0; top:0; height:3px; z-index:3; background:var(--grad-accent);
  transform:scaleX(0); transform-origin:left; transition:transform .28s ease; border-radius:var(--radius) var(--radius) 0 0;
}
.service-card:hover::before, .hub-card:hover::before, .blog-card:hover::before, .detail-card:hover::before,
a.card-link:hover .application-grid article::before, .application-grid article:hover::before, .featured-doc:hover::before,
.pn-card:hover::before, .quick-link:hover::before{ transform:scaleX(1); }
.hub-card:hover::after{ border-color:rgba(79,179,240,.6); }
.service-card .icon, .quick-link .ql-ic{ border-radius:12px; background:linear-gradient(135deg, rgba(10,98,201,.12), rgba(79,179,240,.18)); color:var(--blue-600); }
.icon svg{ stroke:var(--blue-600); }
.badge, .product-card .tag, .sr-badge{ background:rgba(10,98,201,.09); color:var(--navy-800); }
.flag-media .flag-tag{ background:var(--grad-cta); }
.pn-card .pn-k, .fd-kicker, .blog-card .card-cat, .blog-card time{ color:var(--blue-600); }

/* --- Check list: blue check marks instead of dots ----------------------- */
.check-list li{ padding-left:32px; }
.check-list li::before{ top:.22em; width:20px; height:20px; border-radius:50%; box-shadow:none;
  background:var(--blue-600) url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22%3E%3Cpath d=%22M3.5 8.5l3 3 6-7%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E") center / 13px no-repeat; }
.content-section.dark .check-list li::before, .split-band.dark .check-list li::before{ background-color:var(--sky-400); }

/* --- FAQ: plus / minus affordance ------------------------------------------ */
.faq-list summary{ list-style:none; display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
.faq-list summary::-webkit-details-marker{ display:none; }
.faq-list summary::after{ content:"+"; flex:none; width:28px; height:28px; margin-top:-2px; border-radius:50%; display:grid; place-items:center;
  background:rgba(10,98,201,.09); color:var(--blue-600); font-weight:700; font-size:1.1rem; line-height:1; }
.faq-list details[open] summary::after{ content:"\2013"; background:var(--blue-600); color:#fff; }
.faq-list details[open]{ border-color:rgba(10,98,201,.28); }

/* --- Tables, callouts, steps ----------------------------------------------- */
.data-table thead th{ background:var(--navy-800); letter-spacing:.06em; }
.data-table thead th.win{ background:var(--blue-600); }
.data-table td.win{ background:rgba(79,179,240,.14); }
.callout{ border-left-color:var(--blue-600); background:linear-gradient(135deg, rgba(79,179,240,.10), rgba(11,45,107,.05)); }
.callout .ci{ background:var(--grad-brand); border-radius:12px; }
.verdict{ border-left-color:var(--blue-600); }
.steps article::before{ background:var(--grad-cta); }
.howto-steps li::before{ background:var(--grad-cta); color:#fff; }
.post-body blockquote.pull{ border-left-color:var(--blue-600); background:rgba(79,179,240,.08); color:var(--navy-800); }
.orp-fill{ background:linear-gradient(90deg, var(--sky-400), var(--navy-800)); }

/* --- Dark bands -------------------------------------------------------------- */
.split-band.dark, .content-section.dark{
  border-image:linear-gradient(135deg, #04122e 0%, #0b2d6b 55%, #0d47a1 100%) fill 0 // 0 100vmax;
}

/* --- CTA band: deep navy with the drop as a watermark --------------------- */
.cta-band{ position:relative; overflow:hidden; background:linear-gradient(120deg, #04122e 0%, #0b2d6b 58%, #0a52b3 100%); }
.cta-band::after{ content:""; position:absolute; right:-70px; top:50%; width:380px; height:380px; transform:translateY(-50%);
  background:url("assets/dz-mark.png?v=141ae699") center / contain no-repeat; opacity:.10; pointer-events:none; }
.cta-inner{ position:relative; z-index:1; }
.post-cta{ background:linear-gradient(120deg, #04122e 0%, #0b2d6b 60%, #0a52b3 100%); border-radius:var(--radius); }

/* --- Author box: the drop mark as avatar ------------------------------------ */
.author-box .author-photo{ background:linear-gradient(135deg, #eef5fe, #dcebfb); padding:10px; }
.author-box .author-photo img{ object-fit:contain; }

/* --- Footer -------------------------------------------------------------------- */
.site-footer{ position:relative; background:#04122e; }
.site-footer::before{ content:""; position:absolute; left:0; right:0; top:0; height:3px; background:var(--grad-accent); }
.site-footer img{ width:min(100%, 290px); height:auto; margin-bottom:18px; }
.footer-col h2, .footer-col h3, .footer-col h4, .footer-col h5, .footer-col h6{
  font-family:"Montserrat","Montserrat Fallback",Arial,sans-serif; letter-spacing:.1em; font-size:var(--fs-2xs); color:#fff; }
.footer-col a:hover, .footer-legal a:hover{ color:var(--sky-400); }
.footer-bottom{ background:rgba(0,0,0,.18); }

/* --- Misc ---------------------------------------------------------------------- */
#to-top{ background:var(--grad-cta); box-shadow:0 10px 28px rgba(10,98,201,.35); }
.skip-link{ background:var(--navy-800); }
.blog-filters button.active, .blog-filters button:hover{ background:var(--navy-800); border-color:var(--navy-800); }
.doc-badge{ background:rgba(10,98,201,.1); color:var(--navy-800); }
.mini-grid article{ border-top-color:rgba(10,98,201,.35); }
.content-section.related{ background:var(--surface-tint); box-shadow:0 0 0 100vmax var(--surface-tint); }

/* --- Contrast pass (WCAG 2.1 AA, measured against the lightest scrim stops
   over a mid-grey photo) -------------------------------------------------- */
.hero-tagline{ color:#8fd0ff !important; font-weight:700; }        /* >=18.66px bold: large text, 3:1 */
.breadcrumb{ color:rgba(255,255,255,.86); }
.breadcrumb a{ color:#c8e8fd; }
.page-hero .eyebrow, .post-hero .eyebrow{ color:#c8e8fd; }
.hero .eyebrow{ color:#e3f3fe; }
.hero :focus-visible, .page-hero :focus-visible, .post-hero :focus-visible{ outline-color:var(--sky-200); }
.site-nav a.nav-cta:hover{ filter:none; box-shadow:0 10px 26px rgba(10,98,201,.38); }
.stats-band > div > *{ position:relative; z-index:1; }             /* text above the corner glow */
.stats-band > div::after{ z-index:0; opacity:.8; }

/* --- Small phones: long words in headings and tile labels hyphenate
   instead of running past their box (e.g. "Biodispersant" at 320px) --- */
@media (max-width: 400px){
  h1, h2{ overflow-wrap:break-word; hyphens:auto; }
}
@media (max-width: 360px){
  .stats-band span, .stat-grid span, .stat-tiles span{ hyphens:auto; overflow-wrap:break-word; }
}
/* Big stat numbers are fitted to their tile by script.js?v=b6dd1cb7 (one line, shrunk). */
.fit-stat{ white-space:nowrap; }
/* ORP target table: fit a 375px phone without sideways scrolling */
@media (max-width: 420px){
  .orp-wrap table{ font-size:.86rem; }
  .orp-wrap th, .orp-wrap td{ padding-inline:7px; }
}
/* Header logo link: keep a comfortable tap target on small phones (logo itself unchanged) */
.site-header .brand{ min-height:44px; }
