/* ==================================================================
   DAZZLE LAYER — "Engineering Handbook"
   Industrial / Utilitarian x Editorial. Loaded LAST, after style.css
   and seo-pages.css, so same-specificity rules win.

   60 / 30 / 10:
     60%  ink      #0C151C   (hero, banner, footer, table heads)
     30%  paper    #F2EFE7   (content surface — never pure white)
     10%  signal   #E2582A   (CTAs, flow lines, data accents)

   Type: Bricolage Grotesque (display) / IBM Plex Sans (body) /
         IBM Plex Mono (engineering labels). No Inter, Roboto, Arial.
   One memorable element: the SVG counter-current packed-tower diagram.
   ================================================================== */

:root {
  --ink:        #0C151C;
  --ink-2:      #16242E;
  --paper:      #F5F2EA;
  --paper-2:    #ECE8DE;
  --paper-3:    #E1DCCE;
  --signal:     #D64B22;
  --signal-hi:  #F4763F;
  --steel:      #7C8A93;
  --steel-blue: #1D4E6B;
  --line:       #CFCBC0;

  /* Re-map the legacy tokens so all 65 generated pages follow suit */
  --jp-blue:        #16323F;
  --jp-blue-dark:   #0C151C;
  --jp-blue-light:  #2A4A58;
  --jp-teal:        #3E7C82;
  --jp-teal-dark:   #2A5C61;
  --jp-gray-900:    #0C151C;
  --jp-gray-700:    #3A444C;
  --jp-gray-500:    #647077;
  --jp-gray-300:    #CFCBC0;
  --jp-gray-100:    #E3DFD3;
  --jp-gray-50:     #EDE9DF;
  --jp-white:       #F2EFE7;
  --jp-orange:      #E2582A;
  --jp-orange-dark: #C1441C;
  --radius:         2px;
  --radius-sm:      2px;
  --shadow-sm:      none;
  --shadow-md:      none;
  --shadow-lg:      none;
  --maxw:           1280px;
}

/* ------------------------------------------------------------------
   Type + global atmosphere
   ------------------------------------------------------------------ */
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: 'IBM Plex Sans', 'Helvetica Neue', sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.72;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', 'IBM Plex Sans', sans-serif;
  color: var(--ink);
  letter-spacing: -.038em;
  line-height: 1.1;
  font-weight: 800;
}

/* Long-form editorial text uses a serif: closer to a printed engineering
   handbook, and measurably easier to read at column widths above 60ch. */
.news-article p,
.article-body p,
.article-layout p,
.lead-para,
.seo-section > .container > p,
.trust-card p,
.case-card p {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: 16px;
  line-height: 1.82;
}
.news-article h2,
.article-body h2 { font-size: 25px; margin-top: 34px; }

/* Numeric / technical data always in tabular mono so columns align. */
.spec td, .compare td, .data-points b, .hero-stats .stat b {
  font-variant-numeric: tabular-nums;
}

/* v8: no full-page grain. One texture is enough, and it lives in the hero. */

::selection { background: var(--signal); color: #fff; }

a { color: var(--steel-blue); }
a:hover { color: var(--signal); }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

img { max-width: 100%; }

/* Engineering mono label — used across the system */
.dz-mono,
.eyebrow,
.section-head .eyebrow,
.cat-link,
.verdict-label,
.hero-stats .stat b,
.hero-stats .stat span,
.page-banner .breadcrumb,
.topbar,
.footer-bottom {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
}

/* ------------------------------------------------------------------
   Top bar + header — thin, technical, no emoji
   ------------------------------------------------------------------ */
.topbar {
  background: var(--ink);
  color: #9EABB3;
  font-size: 11px;
  letter-spacing: .06em;
  padding: 9px 0;
  border-bottom: 1px solid rgba(242,239,231,.11);
}
.topbar a { color: #C9D2D7; }
.topbar a:hover { color: var(--signal-hi); }
/* Prefixes are authored in the HTML (W: / E: / T:), not injected here. */
.topbar .tb-right { color: #84939B; text-transform: uppercase; }

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  position: sticky; top: 0; z-index: 100;
}
.header-inner { height: 78px; }
.brand img { height: 44px; }
.brand .brand-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 20px; font-weight: 800; letter-spacing: -.045em;
  color: var(--ink);
}
.brand { min-width: 0; }
.brand .brand-text { min-width: 0; }
.brand .brand-sub {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px; letter-spacing: .04em;
  color: var(--steel); text-transform: uppercase;
  max-width: 230px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase;
  color: #4A565D; font-weight: 500;
  padding: 10px 11px; border-radius: 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { background: transparent; color: var(--ink); border-bottom-color: var(--line); }
.nav a.active { color: var(--ink); border-bottom-color: var(--signal); }
.header-cta .btn { padding: 11px 18px; font-size: 11.5px; }
.nav-toggle span { background: var(--ink); height: 2px; }

/* ------------------------------------------------------------------
   Buttons — square, hard-edged, no gradient, no soft shadow
   ------------------------------------------------------------------ */
.btn {
  border-radius: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  padding: 14px 26px;
  border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--signal); color: #fff; border-color: var(--signal); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-white { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-white:hover { background: var(--paper-2); color: var(--ink); }
.btn-lg { padding: 16px 30px; font-size: 12.5px; }

/* ------------------------------------------------------------------
   HERO — asymmetric split, blueprint grid, one memorable SVG
   ------------------------------------------------------------------ */
.hero,
.hero.has-bg {
  background: var(--ink);
  color: var(--paper);
  padding: 88px 0 76px;
  overflow: hidden;
  border-bottom: 3px solid var(--signal);
}
.hero .hero-bg,
.hero::after { display: none !important; }

/* v8: the single texture on the site — a 100px blueprint grid behind the
   hero. Section grids, card grids, banner grids and the orange glow were
   all removed so the packed-tower diagram stays the one focal point. */
.dz-hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(242,239,231,.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,239,231,.038) 1px, transparent 1px),
    linear-gradient(rgba(242,239,231,.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,239,231,.012) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
}
.hero .container { position: relative; z-index: 2; }

.dz-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 64px;
  align-items: center;
}
.dz-kicker {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: #A9B6BD;
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 26px;
}
.dz-kicker .dz-dot {
  width: 8px; height: 8px; background: var(--signal);
  display: inline-block; flex: none;
  animation: dzPulse 2.6s ease-in-out infinite;
}
.dz-kicker .dz-sep { color: var(--signal); }

.hero h1 {
  color: var(--paper);
  font-size: clamp(46px, 6.6vw, 92px);
  line-height: .93;
  letter-spacing: -.055em;
  font-weight: 800;
  max-width: none;
  margin-bottom: 26px;
}
.hero h1 em {
  font-style: normal;
  color: var(--signal-hi);
}
.hero p.lead {
  color: #B7C2C8;
  font-size: 16.5px;
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 34px;
}
.hero .hero-actions { gap: 12px; }
.hero .btn-outline { color: var(--paper); border-color: rgba(242,239,231,.42); }
.hero .btn-outline:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 54px;
  border-top: 1px solid rgba(242,239,231,.2);
  max-width: 620px;
}
.hero-stats .stat {
  padding: 18px 16px 0 0;
  border-right: 1px solid rgba(242,239,231,.14);
  padding-left: 18px;
}
.hero-stats .stat:first-child { padding-left: 0; }
.hero-stats .stat:last-child { border-right: 0; }
.hero-stats .stat b {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 34px; font-weight: 800; letter-spacing: -.05em;
  color: var(--paper); display: block; line-height: 1;
}
.hero-stats .stat span {
  display: block; margin-top: 8px;
  font-size: 9.5px; letter-spacing: .09em; text-transform: uppercase;
  color: #8D9CA4;
}

/* Hero index — deliberately off-grid, editorial detail */
.dz-hero-index {
  position: absolute; z-index: 2;
  right: 26px; bottom: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: .22em;
  color: rgba(242,239,231,.28);
  writing-mode: vertical-rl;
}

/* --- The packed-tower SVG --- */
.dz-hero-visual { position: relative; }
.dz-tower {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.35));
}
.dz-visual-caption {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px; letter-spacing: .11em; text-transform: uppercase;
  color: #8D9CA4;
  border-top: 1px solid rgba(242,239,231,.2);
  padding-top: 10px; margin-top: 6px;
  display: flex; justify-content: space-between; gap: 12px;
}
.dz-visual-caption b { color: var(--signal-hi); font-weight: 600; }

/* SVG strokes + flow animation */
.dz-tower .dz-outline { fill: none; stroke: #C9D3D8; stroke-width: 1.6; }
.dz-tower .dz-thin { fill: none; stroke: rgba(201,211,216,.42); stroke-width: 1; }
.dz-tower .dz-pack { fill: none; stroke: rgba(201,211,216,.58); stroke-width: 1.25; }
.dz-tower .dz-gas {
  fill: none; stroke: var(--signal-hi); stroke-width: 2.4;
  stroke-dasharray: 7 11; stroke-linecap: round;
  animation: dzFlowUp 1.5s linear infinite;
}
.dz-tower .dz-liquid {
  fill: none; stroke: #6FB6C4; stroke-width: 1.9;
  stroke-dasharray: 5 10; stroke-linecap: round;
  animation: dzFlowDown 2.1s linear infinite;
}
.dz-tower .dz-drop { fill: #6FB6C4; animation: dzDrip 2.1s ease-in infinite; }
.dz-tower .dz-drop.d2 { animation-delay: .7s; }
.dz-tower .dz-drop.d3 { animation-delay: 1.4s; }
.dz-tower .dz-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: .08em;
  fill: #9EABB3;
}
.dz-tower .dz-label-accent { fill: var(--signal-hi); }
.dz-tower .dz-tick { stroke: rgba(201,211,216,.3); stroke-width: 1; }
.dz-tower .dz-scan {
  fill: rgba(226,88,42,.08);
  animation: dzScan 4.5s ease-in-out infinite;
}
.dz-tower .dz-leader {
  fill: none; stroke: rgba(201,211,216,.5); stroke-width: 1;
  stroke-dasharray: 3 3;
}
.dz-tower.dz-paused * { animation-play-state: paused !important; }

@keyframes dzFlowUp   { to { stroke-dashoffset: -36; } }
@keyframes dzFlowDown { to { stroke-dashoffset: 30; } }
@keyframes dzDrip {
  0%   { opacity: 0; transform: translateY(0); }
  18%  { opacity: 1; }
  85%  { opacity: .7; }
  100% { opacity: 0; transform: translateY(112px); }
}
@keyframes dzScan {
  0%, 100% { opacity: .25; transform: translateY(0); }
  50%      { opacity: .85; transform: translateY(38px); }
}
@keyframes dzPulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* ------------------------------------------------------------------
   Sections — left-aligned editorial grid, never centered
   ------------------------------------------------------------------ */
.section { padding: 82px 0; background: var(--paper); }
/* v8: alternating sections are separated by tone and space, not a grid. */
.section.alt { background: var(--paper-2); }

.section-head {
  text-align: left;
  max-width: none;
  margin: 0 0 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  position: relative;
}
.section-head::after {
  content: ""; position: absolute; top: -2px; left: 0;
  width: 96px; height: 3px; background: var(--signal);
}
.section-head .eyebrow {
  color: var(--signal);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(30px, 3.9vw, 52px);
  margin-bottom: 12px;
  max-width: 900px;
  color: var(--ink);
}
.section-head p { color: var(--jp-gray-500); font-size: 16px; max-width: 660px; }

/* ------------------------------------------------------------------
   Cards — technical plates, squared, numbered, no shadows
   ------------------------------------------------------------------ */
.cat-grid { gap: 18px; }
.cat-card,
.prod-card,
.hub-card,
.faq-item,
.filter-chip,
.data-points li,
.review-panel,
.trust-card,
.case-card,
.photo-grid figure,
.pd-img,
.contact-form,
.spec-table-wrap,
.compare-wrap,
.nav .dropdown,
.btn-white,
.site-header {
  background: var(--paper);
  border-radius: 0;
  box-shadow: none;
}
.cat-card {
  border: 1px solid var(--line);
  position: relative;
  transition: border-color .2s ease;
}
.cat-card:hover { transform: none; border-color: var(--ink); }
.cat-card .cat-img {
  height: 210px;
  background: var(--paper-3);
  position: relative;
  border-bottom: 1px solid var(--line);
}
.cat-card .cat-img img {
  filter: saturate(.5) contrast(1.06);
  transition: filter .35s ease, transform .5s ease;
}
.cat-card:hover .cat-img img { filter: none; transform: scale(1.04); }
/* v8: the 01–06 corner numbers and the card grid are decorative. Six
   product families are peers, not a sequence, so they carry no ordinal. */
.cat-card .cat-body { padding: 20px 20px 22px; }
.cat-card .cat-body h3 { font-size: 20px; margin-bottom: 8px; }
.cat-card .cat-body p { color: var(--jp-gray-500); font-size: 13.5px; line-height: 1.6; margin-bottom: 16px; }
.cat-card .cat-link {
  color: var(--signal); font-size: 10.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
}
.cat-card .cat-body::after { display: none; }

.prod-card { border: 1px solid var(--line); }
.prod-card:hover { transform: none; border-color: var(--ink); }
.prod-card .prod-img { background: var(--paper-3); border-bottom: 1px solid var(--line); }
.prod-card .prod-body .tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--signal);
}
.prod-card .prod-foot { color: var(--ink); font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }

.hub-card { border: 1px solid var(--line); }
.hub-card:hover { transform: none; border-color: var(--ink); }
.hub-card img { filter: saturate(.65); border-bottom: 1px solid var(--line); }

/* ------------------------------------------------------------------
   Fact list — engineering data plates
   ------------------------------------------------------------------ */
.fact-list { gap: 14px; }
.fact-item {
  background: var(--paper) !important;
  border: 1px solid var(--line) !important;
  border-top: 3px solid var(--ink) !important;
  border-radius: 0 !important;
  padding: 22px 20px !important;
  text-align: left !important;
  box-shadow: none !important;
}
.fact-item b {
  display: block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 34px; font-weight: 800; letter-spacing: -.05em;
  color: var(--ink); line-height: 1;
}
.fact-item span {
  display: block; margin-top: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--jp-gray-500);
}

/* Industry tags → hard-edged technical chips */
.pd-tags span {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase;
  padding: 9px 15px;
}
.pd-tags { gap: 8px; justify-content: flex-start !important; }

/* ------------------------------------------------------------------
   SEO / E-E-A-T components
   ------------------------------------------------------------------ */
.seo-section { padding: 66px 0; }
.seo-section.alt { background: var(--paper-2); }
.seo-section h2 {
  font-size: clamp(26px, 3vw, 38px);
  border-top: 1px solid var(--line);
  padding-top: 20px;
  position: relative;
}
.seo-section h2::before {
  content: ""; position: absolute; top: -2px; left: 0;
  width: 64px; height: 3px; background: var(--signal);
}
/* One accent rule per section, not one per heading. 400+ orange ticks
   plus a full-width grey rule on every heading read as noise rather than
   hierarchy. Secondary headings rely on size and spacing alone. */
.seo-section h2:not(:first-of-type)::before { content: none; }
.seo-section h2:not(:first-of-type) {
  border-top: 0; padding-top: 0; margin-top: 34px;
}

/* v8: break the continuous ink band. This answer paragraph is the most
   quoted text on every product page, so it belongs on the reading surface. */
.verdict {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--signal);
  border-radius: 0;
  color: var(--jp-gray-700);
  font-size: 16px; line-height: 1.72;
  padding: 22px 26px;
}
.verdict b { color: var(--ink); }
.verdict .verdict-label {
  color: var(--signal);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: .01em;
  text-transform: none; margin-right: 10px;
}

.data-points li { border: 1px solid var(--line); border-top: 3px solid var(--ink); }
.data-points li b { font-family: 'Bricolage Grotesque', sans-serif; font-size: 26px; color: var(--signal); }

.compare-wrap, .spec-table-wrap { border: 1px solid var(--line); border-radius: 0; }
table.compare th, table.compare td,
table.spec th, table.spec td { border-bottom: 1px solid var(--line); }
table.compare thead th,
table.spec thead th {
  background: var(--ink);
  color: var(--paper);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase;
  font-weight: 600;
}
table.compare tbody tr:nth-child(even),
table.spec tbody tr:nth-child(even) { background: var(--paper-2); }
table.compare tbody tr:hover { background: #E5E0D3; }
table.compare td a { color: var(--signal); }

.source-note {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--steel);
  border-radius: 0;
  color: var(--jp-gray-700);
  font-size: 12.5px;
}

.pending-note {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--signal);
  border-radius: 0;
  color: #4A4440;
}
.pending-note h3 { color: var(--ink); }

.trust-card, .case-card {
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
}
.trust-card .badge, .case-card .badge {
  background: var(--ink);
  color: var(--paper);
  border-radius: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px; letter-spacing: .11em;
  padding: 5px 10px;
}
.case-card dl dt {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
}
.case-card dl div { border-top: 1px solid var(--line); }

.link-strip a {
  border-radius: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px; letter-spacing: .05em;
  color: var(--ink);
}
.link-strip a:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.photo-grid figure { border: 1px solid var(--line); }
.photo-grid figcaption {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px; letter-spacing: .03em;
  border-top: 1px solid var(--line);
  color: var(--jp-gray-500);
}

.review-panel { border: 1px solid var(--line); }
.article-side { background: var(--paper-2); border: 1px solid var(--line); border-radius: 0; }

.faq-item { border: 1px solid var(--line); border-left: 3px solid var(--ink); }
.faq-item h3 { color: var(--ink); }

.filter-chip {
  border-radius: 0;
  border: 1px solid var(--line);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--jp-gray-700);
}
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter-bar { justify-content: flex-start; }

/* ------------------------------------------------------------------
   Page banner (all generated pages) + product detail + forms
   ------------------------------------------------------------------ */
.page-banner {
  background-color: var(--ink);
  background-image: linear-gradient(100deg, rgba(12,21,28,.94) 0%, rgba(12,21,28,.55) 55%, rgba(29,78,107,.42) 100%);
  background-size: auto;
  color: var(--paper);
  text-align: left;
  padding: 54px 0 46px;
  border-bottom: 3px solid var(--signal);
}
.page-banner h1 {
  color: var(--paper);
  font-size: clamp(32px, 4.2vw, 56px);
  letter-spacing: -.045em;
  margin-bottom: 10px;
}
.page-banner p { color: #AEBBC1; font-size: 15px; }
/* Breadcrumb belongs above the title, not under the subtitle */
.page-banner .container { display: flex; flex-direction: column; align-items: flex-start; }
.page-banner .breadcrumb { order: -1; margin: 0 0 16px; }
.page-banner .breadcrumb, .breadcrumb { color: #8D9CA4; font-size: 11px; letter-spacing: .06em; }
.page-banner .breadcrumb a, .breadcrumb a { color: var(--signal-hi); }

.pd-hero { background: var(--paper-2); border-bottom: 1px solid var(--line); }
/* Source photos are e-commerce plates. Desaturate + frame them so the blue
   overlays sit inside the ink/paper/signal palette instead of clashing. */
.pd-img {
  border: 1px solid var(--line);
  background: var(--paper-3);
  position: relative;
}
.pd-img img { filter: saturate(.7) contrast(1.04); }
.pd-tags span, .pd-cat a { font-family: 'IBM Plex Mono', monospace; }

.contact-form, input, textarea, select {
  font-family: 'IBM Plex Sans', sans-serif;
}
input, textarea, select {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--signal); outline-offset: -1px;
  border-color: var(--signal);
}

/* CTA band — ink, not a blue gradient */
.dz-cta {
  background: var(--ink) !important;
  border-top: 3px solid var(--signal);
  border-bottom: 1px solid rgba(242,239,231,.12);
  text-align: left !important;
}
.dz-cta .dz-cta-inner {
  display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: end;
}
.dz-cta h2 { color: var(--paper) !important; font-size: clamp(28px, 3.6vw, 46px); margin-bottom: 10px; }
.dz-cta p { color: #AEBBC1 !important; max-width: 640px !important; margin: 0 !important; }
.dz-cta .btn { justify-self: end; }

/* ------------------------------------------------------------------
   Footer — dark, ruled, monospaced headings
   ------------------------------------------------------------------ */
.site-footer {
  background: var(--ink);
  color: #9EABB3;
  border-top: 1px solid rgba(242,239,231,.12);
  padding: 62px 0 0;
}
.site-footer h4 {
  color: var(--signal-hi);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  border-bottom: 1px solid rgba(242,239,231,.16);
  padding-bottom: 10px; margin-bottom: 16px;
}
.site-footer a { color: #B6C1C7; font-size: 13px; }
.site-footer a:hover { color: var(--signal-hi); }
.site-footer li { margin-bottom: 8px; }
.footer-brand p { color: #8D9CA4; font-size: 13px; line-height: 1.75; }
.footer-brand img { background: var(--paper); padding: 6px 10px; border-radius: 0; }
.footer-bottom {
  border-top: 1px solid rgba(242,239,231,.12);
  color: #6E7D85;
  text-align: left;
  font-size: 10.5px; letter-spacing: .06em;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-bottom span { color: #586871; }

/* ------------------------------------------------------------------
   Motion — orchestrated entrance. Pure CSS so content is never
   hidden if JavaScript fails to load.
   ------------------------------------------------------------------ */
@keyframes dzEnter {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.dz-hero-copy > * { animation: dzEnter .72s cubic-bezier(.2,.75,.25,1) both; }
.dz-hero-copy > :nth-child(1) { animation-delay: .04s; }
.dz-hero-copy > :nth-child(2) { animation-delay: .12s; }
.dz-hero-copy > :nth-child(3) { animation-delay: .20s; }
.dz-hero-copy > :nth-child(4) { animation-delay: .28s; }
.dz-hero-copy > :nth-child(5) { animation-delay: .36s; }
.dz-hero-visual { animation: dzEnter .95s cubic-bezier(.2,.75,.25,1) .26s both; }

/* Optional scroll reveal, only activated when JS confirms support */
.dz-reveal { animation: dzEnter .7s cubic-bezier(.2,.75,.25,1) both; }
.dz-reveal.dz-wait { animation: none; opacity: 0; }
.dz-reveal.dz-wait.is-in { animation: dzEnter .7s cubic-bezier(.2,.75,.25,1) both; }

/* Scroll progress rail — an instrument-panel detail */
#dzProgress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--signal); z-index: 1000;
  transition: width .08s linear; pointer-events: none;
}

/* ------------------------------------------------------------------
   Responsive — 1200 / 768 / 480
   ------------------------------------------------------------------ */
@media (max-width: 1200px) {
  .dz-hero-inner { gap: 40px; }
  .hero h1 { font-size: clamp(42px, 6vw, 72px); }
}

@media (max-width: 980px) {
  .dz-hero-inner { grid-template-columns: 1fr; gap: 42px; }
  .dz-hero-visual { max-width: 420px; margin: 0 auto; }
  .dz-hero-index { display: none; }
  .hero-stats { max-width: 100%; }
  .dz-cta .dz-cta-inner { grid-template-columns: 1fr; gap: 24px; }
  .dz-cta .btn { justify-self: start; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 768px) {
  /* Hard guards against horizontal overflow on narrow viewports */
  .topbar .tb-right { display: none; }
  .brand .brand-sub { max-width: 150px; }
  .header-cta .btn { padding: 10px 12px; font-size: 10px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .dz-kicker { flex-wrap: wrap; }

  .hero { padding: 60px 0 56px; }
  .hero h1 { font-size: clamp(38px, 10vw, 58px); }
  .hero p.lead { font-size: 15px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 38px; }
  .hero-stats .stat { padding: 16px 12px; border-bottom: 1px solid rgba(242,239,231,.14); }
  .hero-stats .stat:nth-child(2) { border-right: 0; }
  .hero-stats .stat b { font-size: 28px; }
  .section { padding: 54px 0; }
  .section-head h2 { font-size: 30px; }
  .cat-grid, .prod-grid { grid-template-columns: 1fr; }
  .cat-card .cat-img { height: 200px; }
  .nav.open { background: var(--paper); }
  .page-banner { padding: 38px 0 32px; }
  .page-banner h1 { font-size: 30px; }
  .fact-list { grid-template-columns: 1fr 1fr; }
  .dz-visual-caption { flex-direction: column; gap: 4px; }
}

@media (max-width: 480px) {
  .dz-sep-last, .dz-kicker-tail { display: none; }
  .hero h1 { font-size: 36px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats .stat b { font-size: 25px; }
  .btn { padding: 13px 18px; font-size: 11px; }
  .btn-lg { padding: 14px 20px; }
  .fact-list { grid-template-columns: 1fr; }
  .topbar .tb-right { display: none; }
  .footer-bottom::after { content: none; }
  .dz-kicker { font-size: 9.5px; letter-spacing: .1em; }
}

/* ------------------------------------------------------------------
   Accessibility — honour reduced motion
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .dz-reveal { opacity: 1; transform: none; }
  .dz-tower .dz-gas, .dz-tower .dz-liquid { stroke-dasharray: none; }
}

/* ==================================================================
   v6 · buyer-facing navigation, search, social proof, editorial
   ================================================================== */

/* Semantic breadcrumbs — visible path mirrors BreadcrumbList JSON-LD */
.page-banner .breadcrumb ol,
.breadcrumb ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
}
.page-banner .breadcrumb li { display: inline-flex; align-items: center; gap: 9px; }
.page-banner .breadcrumb li + li::before { content: "/"; color: rgba(245,242,234,.42); }
.page-banner .breadcrumb [aria-current="page"] { color: var(--paper); font-weight: 600; }
.breadcrumb a { color: var(--steel-blue); }
.page-banner .breadcrumb a { color: var(--signal-hi); }

/* Top bar: WhatsApp is the first, deliberately highlighted channel */
.tb-primary a { color: var(--signal-hi); font-weight: 600; }
.tb-primary a:hover { color: #fff; }

/* Header search button + quiet WhatsApp button */
.search-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  background: transparent; border: 1px solid var(--line);
  color: var(--ink); padding: 9px 13px; cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: .07em; text-transform: uppercase;
  transition: border-color .2s ease, color .2s ease;
}
.search-toggle:hover { border-color: var(--steel-blue); color: var(--steel-blue); }
.search-toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.btn-quiet { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.btn-quiet:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Search overlay */
.site-search[hidden] { display: none; }
.site-search {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(12,21,28,.74);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 11vh 20px 24px;
}
.site-search-panel {
  width: min(720px, 100%); background: var(--paper);
  border: 1px solid var(--ink); box-shadow: 0 24px 80px rgba(0,0,0,.38);
}
.site-search-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px; border-bottom: 1px solid var(--line);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel);
}
.site-search-head button {
  background: none; border: 0; font-size: 25px; line-height: 1;
  cursor: pointer; color: var(--ink); padding: 0 2px;
}
.site-search-field { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.site-search-field svg { width: 20px; height: 20px; fill: none; stroke: var(--steel-blue); stroke-width: 1.7; flex: none; }
.site-search-field input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  font-family: 'IBM Plex Sans', sans-serif; font-size: 18px; color: var(--ink);
}
.site-search-results { max-height: 330px; overflow-y: auto; }
.site-search-result {
  display: block; padding: 11px 18px; text-decoration: none;
  border-bottom: 1px solid var(--line); color: var(--ink);
}
.site-search-result:hover, .site-search-result.is-active { background: var(--paper-2); color: var(--ink); }
.site-search-result .r-title { display: block; font-weight: 600; font-size: 14.5px; }
.site-search-result .r-cat {
  display: block; margin-top: 3px; font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--steel-blue);
}
.site-search-empty { padding: 24px 18px; color: var(--steel); font-size: 14px; }
.site-search-hint { margin: 0; padding: 12px 18px; border-top: 1px solid var(--line); font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; color: var(--steel); }
body.search-open { overflow: hidden; }

/* News / technical updates */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.news-card {
  display: block; padding: 24px 26px; text-decoration: none; color: inherit;
  background: var(--paper-2); border: 1px solid var(--line); border-top: 3px solid var(--ink);
  transition: transform .2s ease, border-top-color .2s ease;
}
.news-card:hover { transform: translateY(-3px); border-top-color: var(--signal); color: inherit; }
.news-meta {
  display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px;
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--steel-blue);
}
.news-meta time { color: var(--steel); }
.news-card h3 { font-size: 20px; line-height: 1.28; margin: 0 0 10px; }
.news-card p { font-family: 'IBM Plex Serif', Georgia, serif; font-size: 14.5px; line-height: 1.7; color: var(--jp-gray-700); margin: 0 0 16px; }
.news-read { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--signal); }
.news-article { max-width: 780px; margin: 0 auto; }
.news-article h2 { font-size: 25px; margin-top: 34px; }
.news-article .lead-para { font-size: 19px; border-left: 3px solid var(--signal); padding-left: 18px; margin-bottom: 32px; }
.news-article .link-strip { margin-top: 36px; }

/* Footer social row + WeChat block */
.footer-social {
  display: flex; align-items: center; flex-wrap: wrap; gap: 18px;
  padding: 18px 0; border-top: 1px solid rgba(245,242,234,.14);
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px;
  letter-spacing: .08em; text-transform: uppercase;
}
.footer-social-label { color: #6E7D85; }
.footer-social a {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--paper); text-decoration: none;
  border-bottom: 0;
}
.footer-social a svg { width: 16px; height: 16px; flex: none; }
.footer-social a:hover { color: var(--signal-hi); }
.footer-social a:focus-visible svg { color: var(--signal-hi); }

/* Contact page channel links share the same inline icon language. */
.channel-block { margin-top: 26px; }
.channel-block > b { font-size: 13px; font-weight: 600; }
.channel-list { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 12px; }
.channel-list a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--steel-blue); text-decoration: none;
}
.channel-list a svg { width: 17px; height: 17px; flex: none; }
.channel-list a:hover { color: var(--signal); }
.channel-list a:focus-visible { outline-offset: 4px; }
.wechat-block {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 24px; padding: 18px; border: 1px solid var(--line); background: var(--paper-2);
}
.wechat-block img { width: 108px; height: 108px; border: 1px solid var(--line); background: #fff; }
.wechat-block .wc-id { font-family: 'IBM Plex Mono', monospace; font-size: 14px; color: var(--ink); }
.wechat-block p { font-size: 13px; color: var(--jp-gray-700); margin: 6px 0 0; }

/* Consent checkbox must sit inline with its label; legacy .form-row inputs
   are styled as full-width blocks, which would push it onto its own line. */
.form-consent label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; line-height: 1.62; cursor: pointer; font-weight: 400;
}
.form-consent input[type="checkbox"] {
  width: 16px; height: 16px; flex: none; margin: 3px 0 0;
  accent-color: var(--signal); display: inline-block;
}

@media (max-width: 980px) {
  .news-grid { grid-template-columns: 1fr; }
  .search-toggle span { display: none; }
  .header-cta .btn-quiet { display: none; }
  .site-search { padding-top: 7vh; }
}

/* Narrow screens: keep the primary channel on one line and stop the
   search / CTA cluster from colliding with the wordmark. */
@media (max-width: 768px) {
  .topbar .tb-left { display: flex; gap: 0; flex-wrap: nowrap; white-space: nowrap; }
  .topbar .tb-left > span:not(.tb-primary) { display: none; }
  .brand .brand-sub { display: none; }
  .header-inner { gap: 8px; }
  .header-cta { gap: 6px; flex: none; }
  .header-cta .btn { padding: 8px 10px; font-size: 10px; }
  .search-toggle { padding: 7px; border: 0; }
  .search-toggle svg { width: 18px; height: 18px; }
  .site-search { padding: 6vh 14px 20px; }
  .news-card { padding: 20px; }
}

/* Print: drop the decorative layer */
@media print {
  body::before, .dz-hero-grid, .dz-hero-index, .dz-hero-visual,
  .site-search, .search-toggle { display: none; }
  .hero, .page-banner, .site-footer { background: #fff; color: #000; }
}

/* ==================================================================
   v8 · "Quiet handbook" — typographic & density normalisation

   The site had accumulated declarations of industrial-ness: monospace
   uppercase labels on nearly every interface element, three overlapping
   grids, and an orange tick on each of 415 headings. None of them help a
   process engineer read a specification table. This layer removes the
   declarations and lets type size, tone and space carry the hierarchy.

   Monospace is kept only where aligned glyphs do real work: table figures,
   tabular numerals, certificate identifiers and the WeChat ID.
   ================================================================== */

/* 1. Interface labels return to the body face, sentence case. */
.nav a,
.btn,
.search-toggle,
.site-search-head,
.site-search-hint,
.site-footer h4,
.footer-social,
.footer-bottom,
.brand .brand-sub,
.topbar,
.topbar .tb-right,
.section-head .eyebrow,
.dz-kicker,
.dz-visual-caption,
.hero-stats .stat span,
.fact-item span,
.cat-card .cat-link,
.prod-card .prod-body .tag,
.prod-card .prod-foot,
.filter-chip,
.pd-tags span,
.pd-cat a,
.link-strip a,
.trust-card .badge,
.case-card .badge,
.case-card dl dt,
.news-meta,
.news-read,
.photo-grid figcaption,
.site-search-result .r-cat,
.page-banner .breadcrumb,
.breadcrumb {
  font-family: 'IBM Plex Sans', 'Helvetica Neue', sans-serif;
  text-transform: none;
  letter-spacing: .015em;
}
.site-footer h4 { color: var(--paper); font-weight: 600; }
.section-head .eyebrow { color: var(--steel-blue); }
.hero-stats .stat span { font-size: 11px; }
.brand .brand-sub { font-size: 10px; }
.dz-kicker { letter-spacing: .04em; }

/* 2. Orange is an action colour now, not a section marker. The existing
   1px rules above H2s remain; the accent ticks go. */
.section-head::after,
.seo-section h2::before { display: none; }

/* 3. Remove the vertical folio — it is an ornament, not information. */
.dz-hero-index { display: none; }

/* 4. Reading measure: keep prose under ~70 characters. */
.lead-para,
.seo-section > .container > p,
.news-article p,
.article-body p,
.trust-card p,
.case-card p { max-width: 68ch; }
.seo-section { padding: 72px 0; }

/* 5. Footer: four columns -> three, without dropping a single internal
   link. Resources flows into two short columns to keep the block low. */
.footer-grid {
  grid-template-columns: 1.35fr .95fr 1.25fr;
  gap: 46px;
  padding-bottom: 42px;
}
.footer-contact { margin-top: 22px; }
.footer-resources { columns: 2; column-gap: 26px; }
.footer-resources li { break-inside: avoid; }

/* 6. Certifications is the densest page. Give it air, never folding:
   collapsed content is de-weighted by answer engines, and extractability
   is the whole reason this content is published as HTML. */
.cert-page .seo-section { padding: 76px 0; }
.cert-page .compare-wrap,
.cert-page .spec-table-wrap { margin: 26px 0 20px; }
.cert-page table.compare th,
.cert-page table.compare td,
.cert-page table.spec th,
.cert-page table.spec td { padding: 14px 16px; }
.cert-page .seo-section li { margin-bottom: 9px; }
.cert-page .trust-grid { gap: 22px; }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-resources { columns: 1; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
}
