/* ==========================================================================
   KHY Piping Systems — Design System
   Palette extracted from the KHY logo: charcoal #2C2824 + steel teal #5898A8
   Structure only: navigation, layout, sections, components.
   ========================================================================== */

/* Web fonts are loaded from the page <head> (preconnect + link) to avoid @import blocking. */

:root {
  --ink: #1B1917;
  --charcoal: #2C2824;
  --charcoal-2: #3A3531;
  --steel: #6E7477;
  --steel-light: #9AA0A3;
  --line: #E4E1DD;
  --line-dark: rgba(255, 255, 255, .14);
  --paper: #FFFFFF;
  --paper-2: #F7F6F4;
  --paper-3: #EFEDE9;
  --accent: #5898A8;
  --accent-deep: #3E7684;
  --accent-soft: rgba(88, 152, 168, .12);
  --accent-light: #8CC2CF;

  --font-sans: 'Inter', -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Barlow Condensed', 'Inter', Impact, sans-serif;

  --wrap: 1280px;
  --pad: 32px;
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 { margin: 0; font-weight: 500; line-height: 1.1; letter-spacing: -.01em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.wrap-narrow { max-width: 880px; }

/* ---------- Typographic utilities ---------- */

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 22px;
}
.label::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--accent);
}
.label.on-dark { color: var(--accent); }

.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: .98;
  letter-spacing: .005em;
  text-transform: uppercase;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: .01em;
}

.h3 { font-size: 20px; font-weight: 600; letter-spacing: -.005em; }

.lede { font-size: 17px; color: var(--steel); max-width: 62ch; line-height: 1.75; }

.muted { color: var(--steel); }
.small { font-size: 13px; }
.mono {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  letter-spacing: .04em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 26px;
  border: 1px solid var(--charcoal);
  background: var(--charcoal);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

.btn.ghost { background: transparent; color: var(--charcoal); }
.btn.ghost:hover { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }

.btn.on-dark { background: #fff; color: var(--charcoal); border-color: #fff; }
.btn.on-dark:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.btn.ghost-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn.ghost-dark:hover { background: #fff; color: var(--charcoal); border-color: #fff; }

.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: border-color .25s, color .25s;
}
.link-arrow:hover { color: var(--accent-deep); border-color: var(--accent); }

/* ==========================================================================
   Top bar + Header
   ========================================================================== */

/* ==========================================================================
   Structure preview banner (remove before launch)
   ========================================================================== */

.dev-bar {
  background: var(--accent-deep);
  color: #fff;
  font-size: 11px;
  letter-spacing: .04em;
}
.dev-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 32px;
  padding-top: 6px;
  padding-bottom: 6px;
  flex-wrap: wrap;
}
.dev-bar b { font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 10px; }
.dev-bar .dev-note { color: rgba(255, 255, 255, .68); }

.topbar {
  background: var(--charcoal);
  color: rgba(255, 255, 255, .72);
  font-size: 11.5px;
  letter-spacing: .08em;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  gap: 24px;
}
.topbar .targets { display: flex; flex-wrap: wrap; gap: 4px 18px; text-transform: uppercase; letter-spacing: .16em; font-size: 10.5px; min-width: 0; }
.topbar a:hover { color: #fff; }
.topbar .contact-mini { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; min-width: 0; }
.topbar .contact-mini span { display: inline-flex; gap: 6px; align-items: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.is-stuck { box-shadow: 0 8px 30px rgba(0, 0, 0, .07); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 82px;
}
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand img.brand-icon { height: 44px; width: auto; display: block; }
.brand .brand-type { display: flex; flex-direction: column; gap: 2px; }
.brand .brand-word {
  font-size: 21px;
  font-weight: 300;
  letter-spacing: .38em;
  line-height: 1;
  color: var(--charcoal);
}
.brand .brand-sub {
  font-size: 7px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--steel);
  line-height: 1;
  white-space: nowrap;
}
.brand .brand-tag {
  display: none;
  font-size: 9px;
  letter-spacing: .24em;
  color: var(--steel);
  text-transform: uppercase;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  line-height: 1.4;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav > li > a {
  display: block;
  padding: 12px 15px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: color .2s;
}
.nav > li > a::after {
  content: '';
  display: block;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width .3s var(--ease);
  margin-top: 5px;
}
.nav > li:hover > a::after,
.nav > li > a.active::after { width: 100%; }
.nav > li > a.active { color: var(--accent-deep); }

.nav-sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 268px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px 0;
  opacity: 0;
  visibility: hidden;
  transition: all .24s var(--ease);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .09);
}
.has-sub:hover .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-sub a {
  display: block;
  padding: 10px 24px;
  font-size: 13px;
  color: var(--charcoal-2);
  transition: background .18s, color .18s, padding-left .18s;
}
.nav-sub a:hover { background: var(--paper-2); color: var(--accent-deep); padding-left: 30px; }
.nav-sub .sub-note {
  display: block;
  padding: 12px 24px 4px;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--steel-light);
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

.header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--steel);
  text-transform: uppercase;
}
.lang-switch a { padding: 4px 2px; }
.lang-switch a.active { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--ink); }
.header-actions .btn { height: 42px; padding: 0 20px; font-size: 11px; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span { display: block; width: 18px; height: 1.5px; background: var(--charcoal); transition: .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 118px 0 0;
  background: #fff;
  z-index: 85;
  overflow-y: auto;
  padding: 8px 24px 40px;
  border-top: 1px solid var(--line);
}
.mobile-nav.is-open { display: block; }
.mobile-nav .m-group { border-bottom: 1px solid var(--line); }
.mobile-nav .m-group > a,
.mobile-nav .m-group > button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 18px 2px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: none;
  border: 0;
  color: var(--charcoal);
  cursor: pointer;
  font-family: inherit;
}
.mobile-nav .m-sub { display: none; padding: 0 0 14px 14px; }
.mobile-nav .m-sub.open { display: block; }
.mobile-nav .m-sub a { display: block; padding: 9px 0; font-size: 13.5px; color: var(--steel); }
.mobile-nav .m-cta { margin-top: 26px; }
.mobile-nav .m-cta .btn { width: 100%; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: var(--charcoal);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 72% 40%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 72% 40%, #000 0%, transparent 78%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  right: -18%;
  top: -30%;
  width: 62%;
  height: 160%;
  background: radial-gradient(circle, rgba(88, 152, 168, .28), transparent 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; padding-top: 78px; padding-bottom: 0; }

.hero-grid > * { min-width: 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 76px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: .98;
  text-transform: uppercase;
  letter-spacing: .005em;
  margin-bottom: 26px;
}
.hero h1 em {
  font-style: normal;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .72);
}
.hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 26px;
}
.hero .kicker::before { content: ''; width: 30px; height: 1px; background: var(--accent); }
.hero p.lede { color: rgba(255, 255, 255, .74); max-width: 50ch; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-visual .frame {
  position: relative;
  border: 1px solid var(--line-dark);
  padding: 12px;
}
.hero-visual .frame::before,
.hero-visual .frame::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--accent);
}
.hero-visual .frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hero-visual .frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.hero-visual img { width: 100%; height: 400px; object-fit: cover; filter: saturate(.9) contrast(1.02); }
.hero-visual .tag-float {
  position: absolute;
  left: -14px;
  bottom: 34px;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1.5;
}

.stat-strip {
  border-top: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-strip .stat {
  min-width: 0;
  padding: 26px 0 30px;
  border-right: 1px solid var(--line-dark);
  padding-right: 20px;
}
.stat-strip .stat:last-child { border-right: 0; }
.stat-strip .stat + .stat { padding-left: 30px; }
.stat .num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .01em;
  color: #fff;
}
.stat .num span { font-size: 20px; color: var(--accent-light); }
.stat .cap {
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-top: 8px;
}

/* ---------- Inner page hero ---------- */

.page-hero {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 100%;
  opacity: .55;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.page-hero .wrap { position: relative; z-index: 2; padding-top: 54px; padding-bottom: 62px; }
.crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel-light);
  margin-bottom: 30px;
}
.crumb a:hover { color: var(--accent-deep); }
.crumb .sep { opacity: .5; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero .lede { max-width: 68ch; }
.page-hero .ph-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.page-hero .ph-meta div { font-size: 12px; letter-spacing: .06em; color: var(--steel); }
.page-hero .ph-meta strong { display: block; color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }
.section.soft { background: var(--paper-2); }
.section.dark { background: var(--charcoal); color: #fff; }
.section.dark .lede { color: rgba(255, 255, 255, .7); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 52px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.section.dark .section-head { border-color: var(--line-dark); }
.section-head .left { max-width: 720px; }
.section-head h2 { margin-bottom: 14px; }
.section-head .right { flex-shrink: 0; padding-bottom: 4px; }
.section-head .count {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--steel-light);
  text-transform: uppercase;
}

/* ---------- Trust / standards bar ---------- */

.trust-bar {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.trust-bar .wrap {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 22px;
  padding-bottom: 22px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.trust-bar .tb-label {
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--steel-light);
  flex-shrink: 0;
}
.trust-bar .tb-items { display: flex; gap: 42px; flex-wrap: wrap; align-items: center; }
.trust-bar .tb-item {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--charcoal-2);
  opacity: .72;
  transition: opacity .2s;
}
.trust-bar .tb-item:hover { opacity: 1; }

/* ---------- Product cards ---------- */

.card-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.p-card {
  background: #fff;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: background .3s;
  overflow: hidden;
}
.p-card:hover { background: var(--paper-2); }
.p-card .p-media {
  height: 210px;
  overflow: hidden;
  background: var(--paper-3);
  position: relative;
}
.p-card .p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.p-card:hover .p-media img { transform: scale(1.04); }
.p-card .p-body { padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.p-card .p-idx {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--accent-deep);
  margin-bottom: 12px;
}
.p-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.p-card p { font-size: 13.5px; color: var(--steel); line-height: 1.7; margin-bottom: 20px; }
.p-card .p-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.p-card .p-spec {
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel-light);
}
.p-card .p-arrow {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: .25s;
  font-size: 14px;
  color: var(--charcoal);
}
.p-card:hover .p-arrow { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }

.p-card.placeholder { background: repeating-linear-gradient(135deg, #fff, #fff 9px, var(--paper-2) 9px, var(--paper-2) 18px); }
.p-card.placeholder .p-body { justify-content: center; align-items: flex-start; }
.p-card.placeholder h3 { color: var(--steel); }
.badge-pending {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  padding: 4px 9px;
  margin-bottom: 12px;
  font-weight: 600;
}

/* ---------- Feature / capability list ---------- */

.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.cap {
  padding: 34px 30px 34px 0;
  border-right: 1px solid var(--line);
}
.cap:last-child { border-right: 0; }
.cap + .cap { padding-left: 30px; }
.cap .cap-num {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--accent);
  margin-bottom: 20px;
}
.cap h4 { font-size: 16.5px; font-weight: 600; margin-bottom: 10px; }
.cap p { font-size: 13.5px; color: var(--steel); line-height: 1.72; }

/* ---------- Split feature ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split.reverse .split-visual { order: 2; }
.split-visual { position: relative; }
.split-visual img { width: 100%; height: 390px; object-fit: cover; }
.split-visual .v-label {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--charcoal);
  color: #fff;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 8px 14px;
}
.split .bullets { margin-top: 28px; border-top: 1px solid var(--line); }
.split .bullets li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.split .bullets li b { font-weight: 600; min-width: 132px; flex-shrink: 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--charcoal); padding-top: 2px; }
.split .bullets li span { color: var(--steel); }

/* ---------- Application tiles ---------- */

.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.app-tile {
  position: relative;
  min-height: 260px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: .3s var(--ease);
}
.app-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .5;
  transition: opacity .3s;
}
.app-tile > * { position: relative; z-index: 2; }
.app-tile .app-icon { margin-bottom: auto; color: var(--accent-deep); }
.app-tile h4 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.app-tile p { font-size: 13px; color: var(--steel); line-height: 1.65; }
.app-tile:hover { background: #fff; border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 20px 40px rgba(0, 0, 0, .06); }
.app-tile:hover::before { opacity: .8; }

/* ---------- Dark quality band ---------- */

.q-band { background: var(--charcoal); color: #fff; position: relative; overflow: hidden; }
.q-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 90px 100%;
}
.q-band .wrap { position: relative; z-index: 2; }
.q-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.q-cell { padding: 34px 24px 0 0; border-right: 1px solid var(--line-dark); }
.q-cell + .q-cell { padding-left: 26px; }
.q-cell:last-child { border-right: 0; }
.q-cell .q-num { font-family: var(--font-display); font-size: 46px; line-height: 1; color: var(--accent-deep); margin-bottom: 12px; }
.q-band .q-cell .q-num { color: var(--accent-light); }
.q-cell .q-num small { font-size: 20px; }
.q-cell h5 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-bottom: 8px; color: #fff; }
.q-cell p { font-size: 12.5px; color: rgba(255, 255, 255, .6); line-height: 1.65; }

/* ---------- News / resources ---------- */

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.news-item { border-top: 2px solid var(--charcoal); padding-top: 22px; transition: border-color .25s; }
.news-item:hover { border-color: var(--accent); }
.news-item .n-meta { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--steel-light); margin-bottom: 14px; display: flex; gap: 12px; }
.news-item h4 { font-size: 17px; font-weight: 600; line-height: 1.4; margin-bottom: 10px; }
.news-item p { font-size: 13.5px; color: var(--steel); }

/* ---------- CTA band ---------- */

.cta-band {
  background: #37707F;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  right: -10%;
  top: -60%;
  width: 50%;
  height: 220%;
  background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 60%);
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 64px 0;
}
.cta-inner h2 { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 44px); text-transform: uppercase; line-height: 1; margin-bottom: 10px; }
.cta-inner p { color: rgba(255, 255, 255, .8); font-size: 14.5px; max-width: 56ch; }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* ==========================================================================
   Tables, specs, forms, misc
   ========================================================================== */

.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.spec-table thead th {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}
.spec-table tbody tr:hover { background: var(--paper-2); }
.spec-table td.mono { font-variant-numeric: tabular-nums; }

.note-box {
  border-left: 2px solid var(--accent);
  background: var(--paper-2);
  padding: 18px 22px;
  font-size: 13px;
  color: var(--steel);
}
.note-box strong { color: var(--ink); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); font-weight: 600; }
.field label .req { color: var(--accent-deep); }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 26px; flex-wrap: wrap; }
.form-foot .small { max-width: 44ch; color: var(--steel-light); }
.form-msg { display: none; margin-top: 18px; padding: 14px 18px; background: var(--accent-soft); border-left: 2px solid var(--accent); font-size: 13.5px; }
.form-msg.show { display: block; }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-card { background: #fff; padding: 28px; }
.contact-card .cc-label { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--steel-light); margin-bottom: 12px; }
.contact-card .cc-value { font-size: 15px; font-weight: 600; line-height: 1.5; }
.contact-card .cc-value a:hover { color: var(--accent-deep); }
.contact-card p.small { color: var(--steel); margin-top: 8px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: rgba(255, 255, 255, .66); font-size: 13.5px; }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 0 56px;
}
.footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.footer-logo img { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.footer-word { font-size: 21px; font-weight: 300; letter-spacing: .38em; line-height: 1; color: #fff; }
.footer-word span { display: block; font-size: 7px; letter-spacing: .26em; font-weight: 400; color: rgba(255,255,255,.5); margin-top: 5px; }
.footer-brand p { font-size: 13px; line-height: 1.8; max-width: 34ch; color: rgba(255, 255, 255, .55); }
.footer-brand .f-tag { font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin-top: 20px; }
.f-col h5 {
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 600;
}
.f-col li { margin-bottom: 10px; }
.f-col a { transition: color .2s; }
.f-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .42);
  flex-wrap: wrap;
  letter-spacing: .04em;
}
.footer-bottom .fb-links { display: flex; gap: 22px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Product detail layout ---------- */

.prod-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 348px;
  gap: 64px;
  align-items: start;
}
.aside-card {
  position: sticky;
  top: 104px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 28px 26px;
}
.aside-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.aside-card p { font-size: 13px; color: var(--steel); line-height: 1.7; }
.aside-card .divider { margin: 20px 0; }
.aside-card .kv { display: flex; justify-content: space-between; gap: 16px; font-size: 12.5px; padding: 7px 0; }
.aside-card .kv span:first-child { color: var(--steel); }
.aside-card .kv span:last-child { font-weight: 600; text-align: right; }
.aside-card .btn { width: 100%; margin-top: 20px; }

.block-title {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.prod-section + .prod-section { margin-top: 56px; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 7px 12px;
  color: var(--steel);
  background: #fff;
}

@media (max-width: 900px) {
  .prod-layout { grid-template-columns: 1fr; gap: 40px; }
  .aside-card { position: static; }
}

/* ---------- Timeline ---------- */

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.tl-item {
  padding: 26px 26px 0 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.tl-item:last-child { border-right: 0; }
.tl-item + .tl-item { padding-left: 26px; }
.tl-item::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--accent);
}
.tl-item + .tl-item::before { left: 26px; }
.tl-year {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.tl-item h5 { font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.tl-item p { font-size: 12.5px; color: var(--steel); line-height: 1.68; }

@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; border-top: 0; }
  .tl-item { border-right: 0; border-top: 1px solid var(--line); padding: 22px 0 22px 22px; }
  .tl-item + .tl-item { padding-left: 22px; }
  .tl-item::before, .tl-item + .tl-item::before { left: 0; top: 28px; }
}

/* ---------- Application blocks ---------- */

.app-block {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 56px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 120px;
}
.app-block:last-child { border-bottom: 1px solid var(--line); }
.app-block .ab-num {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--accent-deep);
  margin-bottom: 14px;
}
.app-block h3 { font-family: var(--font-display); font-size: 30px; text-transform: uppercase; line-height: 1.05; margin-bottom: 14px; }
.app-block p { font-size: 14px; color: var(--steel); line-height: 1.75; }

@media (max-width: 900px) {
  .app-block { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
}

/* ---------- FAQ (native details) ---------- */

.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 18px;
  color: var(--accent-deep);
  font-weight: 400;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: '−'; }
.faq details p {
  padding: 0 0 22px;
  font-size: 14px;
  color: var(--steel);
  max-width: 82ch;
  line-height: 1.75;
}

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */

.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.flex { display: flex; }
.gap-16 { gap: 16px; }
.items-center { align-items: center; }
.between { justify-content: space-between; }
.wrap-flex { flex-wrap: wrap; }
.divider { height: 1px; background: var(--line); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1120px) {
  :root { --pad: 24px; }
  .nav { gap: 0; }
  .nav > li > a { padding: 12px 11px; font-size: 11.5px; }
  .brand .brand-tag { display: none; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .cap:nth-child(2) { border-right: 0; }
  .cap:nth-child(3), .cap:nth-child(4) { border-top: 1px solid var(--line); }
  .cap:nth-child(3) { padding-left: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-grid { gap: 40px; }
  .hero-visual img { height: 350px; }
}

@media (max-width: 900px) {
  .nav, .header-actions .lang-switch, .header-actions .btn { display: none; }
  .dev-bar .dev-note { display: none; }
  .topbar .targets span:nth-child(2) { display: none; }
  .topbar .contact-mini span:nth-child(2) { display: none; }
  .brand img.brand-icon { height: 38px; }
  .brand .brand-word { font-size: 18px; letter-spacing: .32em; }
  .brand .brand-sub { font-size: 6px; }
  .stat .cap { font-size: 9.5px; letter-spacing: .12em; }
  .burger { display: flex; }
  .header-inner { height: 70px; }
  .brand img { height: 32px; }
  .mobile-nav { inset: 106px 0 0; }
  .hero .wrap { padding-top: 60px; }
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 48px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 320px; }
  .hero-actions .btn { width: 100%; }
  .hero-visual img { height: 280px; }
  .hero-visual .tag-float { display: none; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip .stat:nth-child(2) { border-right: 0; }
  .stat-strip .stat:nth-child(3),
  .stat-strip .stat:nth-child(4) { border-top: 1px solid var(--line-dark); }
  .stat-strip .stat:nth-child(3) { padding-left: 0; }
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 36px; }
  .card-grid.cols-3, .card-grid.cols-4, .card-grid.cols-2 { grid-template-columns: 1fr; }
  .app-grid, .news-grid, .contact-cards, .q-grid, .split { grid-template-columns: 1fr; }
  .split { gap: 36px; }
  .split.reverse .split-visual { order: 0; }
  .split-visual img { height: 300px; }
  .q-cell { border-right: 0; border-bottom: 1px solid var(--line-dark); padding: 24px 0; }
  .q-cell + .q-cell { padding-left: 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 48px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 52px 0 40px; }
  .trust-bar .wrap { gap: 18px; }
  .trust-bar .tb-items { gap: 24px; }
  .page-hero .wrap { padding-top: 36px; padding-bottom: 44px; }
  .spec-table { font-size: 12.5px; }
  .spec-table th, .spec-table td { padding: 10px 10px; }
}

/* ================= STANDARDS PAGE ================= */

/* ---- dimension comparison ---- */
.dim-compare { border-top: 1px solid var(--line); }
.dc-row {
  display: grid;
  grid-template-columns: 190px 1fr 160px;
  align-items: center;
  gap: 28px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.dc-head {
  padding: 11px 0;
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--steel);
}
.dc-name b { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: .02em; }
.dc-name i {
  display: block;
  font-style: normal;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 3px;
}
.dc-bar-l {
  display: block;
  height: 12px;
  background: rgba(44, 40, 36, .06);
}
.dc-bar {
  display: block;
  height: 100%;
  background: var(--accent-deep);
}
.dc-val {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--steel);
}
.dc-val b { font-weight: 600; color: var(--charcoal); }

/* ---- callout ---- */
.note-band {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  margin-top: 38px;
  padding: 26px 30px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent-deep);
}
.nb-mark {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: var(--accent-deep);
  color: #fff;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1;
  border-radius: 50%;
}
.note-band h5 { font-size: 15px; font-weight: 600; margin-bottom: 7px; }
.note-band p { font-size: 13.5px; line-height: 1.65; color: var(--steel); max-width: 78ch; }

/* ---- filter ---- */
.std-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.std-filter button {
  font-family: inherit;
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 9px 15px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--steel);
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.std-filter button:hover { border-color: var(--charcoal); color: var(--charcoal); }
.std-filter button.on { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }

/* ---- table ---- */
.table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}
.std-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  font-size: 12.5px;
}
.std-table thead th {
  text-align: left;
  padding: 15px 14px 9px;
  vertical-align: bottom;
  border-bottom: 1px solid var(--line);
  transition: opacity .22s;
}
.std-table thead th b {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.std-table thead th i {
  display: block;
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 400;
  margin-top: 3px;
}
.std-table .unit-row th {
  padding: 0 14px 10px;
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel);
  border-bottom: 1px solid var(--line);
}
.std-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(44, 40, 36, .07);
  vertical-align: middle;
  transition: opacity .22s, background .18s;
}
.std-table tbody tr:hover td { background: var(--paper-2); }
.std-table td.dn {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--charcoal);
}
.std-table td.inch { color: var(--steel); font-variant-numeric: tabular-nums; }
.std-table td.num b {
  display: block;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
}
.std-table td.num i {
  display: block;
  font-style: normal;
  font-size: 10px;
  color: var(--steel);
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}
.std-table td.na { color: rgba(44, 40, 36, .2); text-align: center; }
.table-note {
  margin-top: 14px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--steel);
  max-width: 70ch;
}

/* ---- column focus ---- */
.std-table[data-focus="gb"] td.num:not(.c-gb),
.std-table[data-focus="gb"] thead th:not(.c-gb):not(.c-dn):not(.c-inch) { opacity: .16; }
.std-table[data-focus="cns"] td.num:not(.c-cns),
.std-table[data-focus="cns"] thead th:not(.c-cns):not(.c-dn):not(.c-inch) { opacity: .16; }
.std-table[data-focus="jis"] td.num:not(.c-jis),
.std-table[data-focus="jis"] thead th:not(.c-jis):not(.c-dn):not(.c-inch) { opacity: .16; }
.std-table[data-focus="nps"] td.num:not(.c-nps),
.std-table[data-focus="nps"] thead th:not(.c-nps):not(.c-dn):not(.c-inch) { opacity: .16; }
.std-table[data-focus="sch40"] td.num:not(.c-sch40),
.std-table[data-focus="sch40"] thead th:not(.c-sch40):not(.c-dn):not(.c-inch) { opacity: .16; }
.std-table[data-focus="sch80"] td.num:not(.c-sch80),
.std-table[data-focus="sch80"] thead th:not(.c-sch80):not(.c-dn):not(.c-inch) { opacity: .16; }

@media (max-width: 760px) {
  .dc-row { grid-template-columns: 1fr 90px; gap: 10px 14px; padding: 13px 0; }
  .dc-head .dc-bar-l, .dc-row .dc-bar-l { grid-column: 1 / -1; grid-row: 2; }
  .dc-head { display: none; }
  .note-band { flex-direction: column; gap: 14px; padding: 22px 20px; }
  .std-filter button { padding: 8px 12px; font-size: 9.5px; }
}

/* ---- bullets: label above text (uniform left edge) ---- */
.split .bullets li { display: block; }
.split .bullets li b {
  display: block;
  width: auto;
  min-width: 0;
  margin-bottom: 5px;
  padding-top: 0;
}
.split .bullets li span { display: block; }

/* ================= PVC MATERIAL MATRIX ================= */

.pvc-matrix {
  background: #fff;
  border: 1px solid var(--line);
}
.pvm-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  padding: 34px 34px 28px;
  border-bottom: 1px solid var(--line);
}
.pvm-label {
  display: block;
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 12px;
}
.pvm-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.03;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 14px;
}
.pvm-lede {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--steel);
  max-width: 66ch;
}
.pvm-link { padding-bottom: 4px; white-space: nowrap; }

.pvm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.pvm-item {
  display: flex;
  flex-direction: column;
  padding: 26px 22px 28px;
  border-right: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background .2s;
}
.pvm-item:last-child { border-right: 0; }
.pvm-item:hover { background: var(--paper-2); }
.pvm-bar {
  display: block;
  width: 40px;
  height: 4px;
  margin-bottom: 20px;
}
.pvm-code {
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1;
  letter-spacing: .03em;
  color: var(--charcoal);
}
.pvm-item h4 {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 9px 0 12px;
}
.pvm-item > p {
  font-size: 12.5px;
  line-height: 1.66;
  color: var(--steel);
  margin-bottom: 20px;
  flex: 1;
}
.pvm-item dl {
  margin: 0;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
}
.pvm-item dl div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.pvm-item dt {
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel);
  white-space: nowrap;
}
.pvm-item dd {
  margin: 0;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--charcoal);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

@media (max-width: 980px) {
  .pvm-grid { grid-template-columns: repeat(2, 1fr); }
  .pvm-item:nth-child(2) { border-right: 0; }
  .pvm-item:nth-child(1),
  .pvm-item:nth-child(2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .pvm-head { grid-template-columns: 1fr; gap: 18px; padding: 26px 20px 22px; }
  .pvm-grid { grid-template-columns: 1fr; }
  .pvm-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .pvm-item:last-child { border-bottom: 0; }
}

/* ---- dark accent card (no photo) ---- */
.p-card-dark {
  background: var(--charcoal);
  border-color: var(--charcoal);
  display: flex;
}
.p-card-dark .p-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 26px 30px;
  flex: 1;
}
.p-card-dark h3 { color: #fff; }
.p-card-dark p { color: rgba(255, 255, 255, .58); }
.p-card-dark .p-foot { border-color: rgba(255, 255, 255, .18); }
.p-card-dark .p-spec { color: rgba(255, 255, 255, .5); }
.p-card-dark .p-arrow { color: #fff; border-color: rgba(255, 255, 255, .28); }
.p-card-dark .badge-pending {
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .7);
  align-self: flex-start;
}
.p-card-dark:hover .p-body { background: #35302B; }

/* ================= PVC-U SPEC SWITCH ================= */

.spec-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 0;
}
.spec-tab {
  flex: 1 1 0;
  min-width: 96px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  padding: 13px 8px 12px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--steel);
  cursor: pointer;
  text-align: center;
  transition: background .16s, color .16s;
  line-height: 1.2;
}
.spec-tab:last-child { border-right: 0; }
.spec-tab span {
  display: block;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .1em;
  color: var(--steel);
  opacity: .7;
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
}
.spec-tab:hover { background: var(--paper-2); color: var(--charcoal); }
.spec-tab.on {
  background: var(--charcoal);
  color: #fff;
}
.spec-tab.on span { color: rgba(255, 255, 255, .55); opacity: 1; }

.spec-panes { border: 1px solid var(--line); border-top: 0; background: #fff; }
.spec-pane { display: none; }
.spec-pane.on { display: block; }

.spec-summary {
  padding: 12px 18px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

.spec-table-3 { width: 100%; table-layout: fixed; }
.spec-table-3 thead th:nth-child(1) { width: 34%; }
.spec-table-3 thead th:nth-child(2) { width: 33%; }
.spec-table-3 thead th:nth-child(3) { width: 33%; }
.spec-table-3 thead th {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel);
  text-align: left;
  padding: 11px 18px;
  border-bottom: 1px solid var(--line);
}
.spec-table-3 thead th:last-child { text-align: right; }
.spec-table-3 tbody td {
  padding: 10px 18px;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(44, 40, 36, .07);
  font-variant-numeric: tabular-nums;
}
.spec-table-3 tbody td:last-child { text-align: right; color: var(--steel); }
.spec-table-3 tbody tr:last-child td { border-bottom: 0; }
.spec-table-3 tbody tr:hover td { background: var(--paper-2); }

.spec-foot {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 13px;
}
.spec-foot p {
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--steel);
  max-width: 74ch;
  margin: 0;
}
.spec-foot p strong { color: var(--charcoal); font-weight: 600; }
.spec-foot-dim { font-size: 11.5px !important; opacity: .82; }
.spec-foot a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 620px) {
  .spec-tab { min-width: 33.33%; flex: 0 0 33.33%; border-bottom: 1px solid var(--line); font-size: 11px; padding: 11px 4px; }
  .spec-tab:nth-child(3n) { border-right: 0; }
  .spec-tab:nth-child(n+4) { border-bottom: 0; }
  .spec-table-3 thead th, .spec-table-3 tbody td { padding: 9px 12px; font-size: 12px; }
}

/* ---- footer legal block ---- */
.f-legal {
  font-style: normal;
  font-size: 10.5px;
  line-height: 1.85;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .38);
  margin-top: 4px;
}
@media (max-width: 760px) {
  .f-legal { font-size: 10px; line-height: 1.7; }
}

/* ---- single-language label ---- */
.lang-only {
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--charcoal);
  font-weight: 500;
}

/* ---- PVC matrix supply note ---- */
.pvm-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 15px 22px 16px;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--steel);
}

/* ---- product page overview: text column slightly wider, collapses on mobile ---- */
.split.split-overview { grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) {
  .split.split-overview { grid-template-columns: 1fr; gap: 28px; }
}

/* ---- prevent wide tables from blowing out the product-page grid ---- */
.prod-layout > * { min-width: 0; }
.prod-section { min-width: 0; }
.spec-panes { overflow-x: auto; }
.spec-panes .spec-table-3 { min-width: 460px; }
@media (max-width: 620px) {
  .spec-panes .spec-table-3 { min-width: 100%; }
  .spec-switch { flex-wrap: wrap; }
  .spec-tab { min-width: 33.33%; flex: 0 0 33.33%; }
}

/* ---- bullet lists used outside .split (product pages) ---- */
.bullets li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.65;
}
.bullets li b {
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding-top: 3px;
}
.bullets li span { color: var(--steel); }
.bullets li:first-child { border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .bullets li { grid-template-columns: 1fr; gap: 5px; padding: 13px 0; }
  .bullets li b { padding-top: 0; }
}
