/* =========================================================================
   Simoa Industrial — Design System
   B2B marine valve supply chain. Industrial, restrained, dense.
   ========================================================================= */

:root {
  /* Palette: deep navy + steel, safety-orange accent */
  --navy: #011638;
  --navy-700: #0a2440;
  --navy-600: #143152;
  --steel: #5a6b7b;
  --steel-100: #e6eaef;
  --steel-200: #d4dbe2;
  --accent: #e87722;
  --accent-700: #c9621a;
  --bg: #f0f1f3;
  --surface: #fafafa;
  --panel: #1b2a3a;
  --ink: #1a2024;
  --ink-soft: #4a5763;
  --line: #dfe3e8;
  --ok: #2e7d5b;
  --warn: #b5651d;
  --err: #b3261e;

  --radius: 3px;
  --radius-lg: 5px;
  --container: 1200px;
  --container-narrow: 880px;
  --shadow-sm: 0 1px 2px rgba(1,22,56,.06);
  --shadow: 0 2px 8px rgba(1,22,56,.07);
  --shadow-lg: 0 8px 28px rgba(1,22,56,.12);

  /* Typography: local system fonts avoid third-party requests before consent */
  --font-head: "Bahnschrift", "Arial Narrow", "Microsoft YaHei", "PingFang SC", sans-serif;
  --font: "Segoe UI", "Microsoft YaHei", "PingFang SC", "Source Han Sans SC", "Noto Sans SC", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --ease: cubic-bezier(.2,.7,.3,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,h2,h3,h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--navy); font-family: var(--font-head); font-weight: 600; letter-spacing: 0; text-transform: none; }
h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; }
h2 { font-size: clamp(24px, 2.6vw, 32px); }
h3 { font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; }
h4 { font-size: 16px; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--accent-700); }
img { max-width: 100%; display: block; }
ul,ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin: .25em 0; }
small { font-size: .85em; }
strong { font-weight: 600; color: var(--ink); }
code { font-family: var(--mono); font-size: .9em; background: var(--steel-100); padding: .1em .35em; border-radius: 4px; }

.num { font-variant-numeric: tabular-nums; }

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--container-narrow); }
.section { padding: 72px 0; }
.section.tight { padding: 44px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark { background: var(--panel); color: #d7dee6; }
.section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 600; color: var(--accent-700); margin-bottom: 10px; }
.lead { font-size: 18px; color: var(--ink-soft); }

@media (max-width: 900px) {
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 52px 0; }
  .grid[style*="grid-template-columns:1.4fr .9fr"],
  .grid[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
}
@media (max-width: 620px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 15px;
  padding: 11px 22px; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; transition: all .15s var(--ease); text-decoration: none;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-700); color: #fff; border-color: var(--accent-700); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--steel-200); }
.btn-outline:hover { color: var(--accent-700); border-color: var(--accent); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---- Header / Nav ---- */
.topbar { background: var(--navy); color: #c9d4e0; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.07); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #c9d4e0; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar .tb-left span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; opacity: .85; }
.lang-switch { display: inline-flex; align-items: center; gap: 4px; }
.lang-switch button {
  background: transparent; border: 1px solid rgba(255,255,255,.18); color: #c9d4e0;
  font: inherit; font-size: 11px; font-weight: 600; padding: 3px 7px; border-radius: 4px; cursor: pointer; line-height: 1.4;
}
.lang-switch button.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.lang-switch a, .lang-switch span {
  background: transparent; border: 1px solid rgba(255,255,255,.18); color: #c9d4e0;
  font: inherit; font-size: 11px; font-weight: 600; padding: 3px 7px; border-radius: 4px;
  cursor: pointer; line-height: 1.4; text-decoration: none; display: inline-block;
}
.lang-switch a:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.lang-switch span.active, .lang-switch a.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.header { background: #fbfaf7; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--navy); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 8px; background: var(--navy);
  display: grid; place-items: center; color: #fff; flex-shrink: 0;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-logo {
  width: 42px; height: 42px; border-radius: 8px; object-fit: cover;
  flex-shrink: 0; background: #fbfaf7; border: 1px solid var(--steel-200);
}
.footer .brand-logo { border-color: rgba(255,255,255,.18); }
.brand-name { font-weight: 800; font-size: 17px; letter-spacing: .01em; line-height: 1.1; }
.brand-tag { font-size: 10.5px; color: var(--steel); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink); font-weight: 500; font-size: 15px; padding: 9px 13px; border-radius: 6px;
  position: relative;
}
.nav a:hover { color: var(--accent-700); background: var(--bg); }
.nav a.active { color: var(--accent-700); }
.nav a.active::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; background: var(--accent); border-radius: 2px; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line); background: #fbfaf7;
  display: grid; place-items: center; color: var(--navy); cursor: pointer; transition: all .15s var(--ease);
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent-700); }
.icon-btn svg { width: 20px; height: 20px; }

.menu-toggle { display: none; }

@media (max-width: 1024px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 84vw); background: #fbfaf7; flex-direction: column; align-items: stretch;
    padding: 84px 18px 24px; gap: 2px; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .25s var(--ease); z-index: 60; }
  .nav:not(.open) { visibility: hidden; pointer-events: none; }
  .nav.open { transform: translateX(0); }
  .nav a { padding: 13px 12px; font-size: 16px; border-radius: 8px; }
  .nav a.active::after { display: none; }
  .nav a.active { background: var(--bg); }
  .menu-toggle { display: grid; }
}

/* ---- Breadcrumb ---- */
.crumbs { font-size: 13px; color: var(--steel); padding: 16px 0 0; }
.crumbs a { color: var(--steel); }
.crumbs a:hover { color: var(--accent-700); }
.crumbs .sep { margin: 0 7px; opacity: .5; }

/* ---- Hero ---- */
.hero { background: var(--navy); color: #e7edf4; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(1,22,56,.45);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><path d='M0 20h40M20 0v40' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'/></svg>");
}
.hero .container { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { color: #b9c6d6; max-width: 60ch; font-size: 19px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.hbadge { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #dde6f0; padding: 7px 13px; border-radius: var(--radius); font-size: 13px; font-weight: 500; }
.hbadge svg { width: 15px; height: 15px; color: var(--accent); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-meta { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 36px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-meta .hm { }
.hero-meta .hm-n { font-size: 26px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.hero-meta .hm-l { font-size: 12.5px; color: #9fb0c4; }

/* ---- Trust strip ---- */
.trust { background: #fbfaf7; border-bottom: 1px solid var(--line); }
.trust .container { display: flex; align-items: center; justify-content: center; gap: 14px 30px; padding: 20px 24px; flex-wrap: wrap; }
.trust .tlabel { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--steel); font-weight: 600; }
.trust .titem { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); font-size: 14px; }
.trust .titem svg { width: 18px; height: 18px; color: var(--accent); }

/* ---- Cards ---- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; transition: box-shadow .18s var(--ease), transform .18s var(--ease), border-color .18s var(--ease); }
.card.hover:hover { box-shadow: var(--shadow); transform: none; border-color: var(--steel-200); }
.card-ic { width: 44px; height: 44px; border-radius: 10px; background: var(--steel-100); display: grid; place-items: center; color: var(--navy); margin-bottom: 14px; }
.card-ic svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); margin-bottom: 0; font-size: 15px; }

/* product card */
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .18s var(--ease), transform .18s var(--ease), border-color .18s var(--ease); }
.pcard:hover { box-shadow: var(--shadow); transform: none; border-color: var(--steel-200); }
.pcard-img { aspect-ratio: 16 / 10; background: var(--steel-100); position: relative; display: grid; place-items: center; color: var(--steel); overflow: hidden; }
.pcard-img .ph-ic { width: 54px; height: 54px; opacity: .55; }
.pcard-img .tag { position: absolute; top: 12px; left: 12px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 4px; letter-spacing: .03em; }
.pcard-img .tag.cert { background: var(--ok); }
.pcard-img .prod-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fig .prod-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb { overflow: hidden; cursor: pointer; }
.thumb .prod-img { height: 100%; object-fit: cover; }
.pcard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard-body h3 { font-size: 16.5px; margin-bottom: 6px; color: var(--navy); }
.pcard-body .pstd { font-size: 12.5px; color: var(--accent-700); font-weight: 600; margin-bottom: 10px; }
.pcard-body .pspec { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; }
.pcard-body .pspec span { display: inline-flex; align-items: center; gap: 5px; }
.pcard-body .pspec svg { width: 13px; height: 13px; opacity: .7; }
.pcard-body .pfoot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.pcard-body .pfoot a { font-size: 14px; font-weight: 600; color: var(--accent-700); display: inline-flex; align-items: center; gap: 5px; }
.pcard-body .pfoot a svg { width: 15px; height: 15px; transition: transform .15s var(--ease); }
.pcard:hover .pfoot a svg { transform: translateX(3px); }

/* ---- Tables (spec sheets) ---- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
table.spec { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--surface); min-width: 560px; }
table.spec th, table.spec td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec thead th { background: var(--navy); color: #fff; font-weight: 600; font-size: 13px; letter-spacing: .02em; position: sticky; top: 0; }
table.spec tbody tr:nth-child(even) { background: #fafbfc; }
table.spec tbody tr:hover { background: #f0f4f8; }
table.spec td.k { font-weight: 600; color: var(--navy); white-space: nowrap; }
table.spec .pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; }
.pill.ok { background: #e3f3ec; color: var(--ok); }
.pill.warn { background: #fdeee0; color: var(--warn); }
.pill.info { background: var(--steel-100); color: var(--navy-600); }

/* key-value spec list */
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 0 24px; }
.kv > div { display: contents; }
.kv dt { font-size: 13px; color: var(--steel); padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.kv dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); }

/* ---- Tabs ---- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; }
.tabs button { background: transparent; border: 0; font: inherit; font-weight: 600; font-size: 15px; color: var(--steel); padding: 12px 18px; cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button:hover { color: var(--navy); }
.tabs button.active { color: var(--navy); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .2s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---- Forms ---- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 13px; font-weight: 600; color: var(--navy); }
label .req { color: var(--err); }
label .opt { color: var(--steel); font-weight: 500; font-size: 12px; }
input, select, textarea {
  font: inherit; font-size: 15px; padding: 11px 13px; border: 1px solid var(--steel-200);
  border-radius: var(--radius); background: #fbfaf7; color: var(--ink); width: 100%; transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(20,49,82,.12); }
textarea { resize: vertical; min-height: 110px; }
.hint { font-size: 12px; color: var(--steel); }
.checkrow { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink-soft); }
.checkrow input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }

@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

@media (max-width: 620px) {
  input,
  select,
  textarea { font-size: 16px; }
  .nav-cta .btn { display: none; }
  .form-success { margin-bottom: 16px; }
}

.rfq-context {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #bfe3d0;
  border-left: 4px solid var(--ok);
  border-radius: var(--radius);
  background: #f3faf6;
}
.rfq-context-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.rfq-context-head svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--ok); }
.rfq-context-head strong { display: block; color: var(--navy); font-size: 14px; }
.rfq-context-head span { display: block; margin-top: 2px; color: var(--ink-soft); font-size: 12.5px; }
.rfq-context dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin: 0; }
.rfq-context dl > div { min-width: 0; border-left: 2px solid #d6e8dd; padding-left: 10px; }
.rfq-context dt { color: var(--steel); font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
.rfq-context dd { margin: 3px 0 0; color: var(--ink); font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.rfq-context dl > div[data-context-row="product"] { grid-column: 1 / -1; }
@media (max-width: 620px) { .rfq-context dl { grid-template-columns: 1fr; } }

.form-success { background: #e3f3ec; border: 1px solid #bfe3d0; color: var(--ok); padding: 16px 18px; border-radius: var(--radius); display: none; align-items: flex-start; gap: 10px; font-size: 14px; }
.form-success.show { display: flex; }
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }

/* ---- Contact page ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 28px;
  align-items: start;
}
.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.contact-method {
  min-height: 100%;
}
.contact-method h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.contact-method p {
  font-size: 14px;
}
.contact-method a {
  color: var(--accent-700);
  font-weight: 600;
  text-decoration: none;
}
.contact-method a:hover {
  text-decoration: underline;
}
.contact-side {
  position: sticky;
  top: 96px;
}
.contact-side h3 {
  font-size: 18px;
  margin-bottom: 4px;
}
.contact-side .kv {
  margin-top: 14px;
}
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-side {
    position: static;
  }
}
@media (max-width: 620px) {
  .contact-methods {
    grid-template-columns: 1fr;
  }
}

/* ---- Cert / supply chain blocks ---- */
.cert-card { display: flex; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; align-items: flex-start; }
.cert-card .cert-doc { width: 78px; height: 104px; border-radius: var(--radius); background: var(--steel-100); border: 1px solid var(--line); display: grid; place-items: center; color: var(--steel); flex-shrink: 0; position: relative; }
.cert-card .cert-doc svg { width: 34px; height: 34px; }
.cert-card .cert-doc::after { content: ""; position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.cert-card h3 { font-size: 17px; margin-bottom: 4px; }
.cert-card .meta { font-size: 13px; color: var(--steel); margin-bottom: 10px; }
.cert-card .meta b { color: var(--ink); font-weight: 600; }
.cert-card .note { font-size: 12.5px; color: var(--ink-soft); background: var(--bg); border-left: 3px solid var(--warn); padding: 8px 12px; border-radius: 0 4px 4px 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 24px 18px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 16px; right: 18px; font-weight: 800; color: var(--steel-200); font-size: 22px; }
.step .card-ic { margin-bottom: 10px; }
.step h4 { margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* stat band */
.statband { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.statband .st { text-align: center; }
.statband .st-n { font-size: clamp(28px, 3vw, 40px); font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; line-height: 1; }
.statband .st-n small { font-size: .5em; color: var(--accent); font-weight: 700; }
.statband .st-l { font-size: 13px; color: #9fb0c4; margin-top: 8px; }
@media (max-width: 700px) { .statband { grid-template-columns: repeat(2,1fr); } }

/* filter bar */
.filterbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 13px; color: var(--steel); padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.seg button.active { background: var(--navy); color: #fff; }
.seg button:hover:not(.active) { color: var(--navy); }

/* ---- Product search and filtering ---- */
[hidden] { display: none !important; }
.product-filter {
  display: block;
  max-width: 520px;
  margin: 0 0 26px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.pf-search { position: relative; display: block; }
.pf-search svg {
  position: absolute;
  top: 50%;
  left: 11px;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
  color: var(--steel);
  pointer-events: none;
}
.pf-search input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--steel-200);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
}
.pf-search input { padding: 9px 12px 9px 38px; }
.pf-search input:focus,
.pf-search input:focus { border-color: var(--accent); outline: 2px solid rgba(232,119,34,.16); outline-offset: 1px; }
.filter-empty {
  padding: 34px 20px;
  border: 1px dashed var(--steel-200);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 14.5px;
  text-align: center;
}
.subcat-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.subcat-count { color: var(--steel); font-family: var(--mono); font-size: 11px; white-space: nowrap; }

@media (max-width: 620px) {
  .product-filter { max-width: none; }
  .subcat-head-row { align-items: flex-start; flex-direction: column; gap: 5px; }
}

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; padding: 0 18px; }
.faq summary { padding: 16px 0; font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; color: var(--accent); transition: transform .2s var(--ease); flex-shrink: 0; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.faq .a { padding: 4px 0 18px; color: var(--ink-soft); }

/* article prose */
.prose { font-size: 17px; line-height: 1.75; color: var(--ink); }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.prose th { background: var(--steel-100); }
.prose blockquote { border-left: 3px solid var(--accent); margin: 1em 0; padding: 4px 18px; color: var(--ink-soft); background: var(--bg); border-radius: 0 6px 6px 0; }

/* ---- CTA band ---- */
.ctaband { background: var(--navy); border-radius: var(--radius-lg); padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; position: relative; overflow: hidden; }
.ctaband h2 { color: #fff; margin: 0; max-width: 18ch; }
.ctaband p { color: #b9c6d6; margin: 8px 0 0; }
.ctaband::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); }
@media (max-width: 620px) { .ctaband { padding: 30px 24px; } }

/* ---- Footer ---- */
.footer { background: var(--navy); color: #9fb0c4; padding: 56px 0 0; }
.footer .fgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; }
.footer h5 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 16px; }
.footer a { color: #9fb0c4; font-size: 14px; display: inline-block; padding: 5px 0; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand .brand-tag { color: #6f8298; }
.footer p { font-size: 14px; color: #8295aa; }
.footer .fcontact span { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #c9d4e0; padding: 4px 0; }
.footer .fcontact svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.footer .fcontact > div[style*="flex-direction"] { display: inline-flex !important; align-self: center; }
.footer .fcontact .btn-block { width: 100%; padding: 10px 30px; justify-content: center; }
.footer .flegal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding: 20px 0; font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer .flegal a { color: #9fb0c4; }
.footer .class-note { font-size: 12px; color: #6f8298; margin-top: 14px; line-height: 1.5; border-top: 1px dashed rgba(255,255,255,.12); padding-top: 12px; }
@media (max-width: 900px) { .footer .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer .fgrid { grid-template-columns: 1fr; } }

/* ---- Floating elements ---- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; gap: 10px;
}
.fab a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg); transition: transform .15s var(--ease); }
.fab a:hover { transform: scale(1.06); }
.fab a svg { width: 26px; height: 26px; }
.fab .wa { background: #25d366; }
.fab .mail { background: var(--navy); }

/* mobile sticky CTA */
.mobile-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fbfaf7; border-top: 1px solid var(--line); padding: 10px 14px; gap: 10px; box-shadow: 0 -6px 20px rgba(1,22,56,.1); }
.mobile-cta .btn { flex: 1; }
@media (max-width: 620px) { .mobile-cta { display: flex; } .fab { bottom: 76px; } body { padding-bottom: 64px; } }

/* cookie banner */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 440px; background: var(--navy); color: #d7dee6; border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-lg); display: none; }
.cookie.show { display: block; animation: fadeUp .3s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.cookie h4 { color: #fff; margin-bottom: 8px; }
.cookie p { font-size: 13px; color: #b9c6d6; margin-bottom: 14px; }
.cookie p a { color: #fff; text-decoration: underline; }
.cookie .cbtns { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie .cbtns button { flex: 1; min-width: 90px; }

/* misc utilities */
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
.pill-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent-700); padding: 6px 12px; border: 1px solid var(--steel-200); border-radius: 999px; background: #fbfaf7; }
.pill-link:hover { border-color: var(--accent); }
.badge-soft { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--steel-100); color: var(--navy-600); }
.fig { border: 1px solid var(--line); border-radius: var(--radius); background: var(--steel-100); aspect-ratio: 16/9; display: grid; place-items: center; color: var(--steel); }
.fig svg { width: 56px; height: 56px; opacity: .5; }
.fig.tall { aspect-ratio: 4/3; }
.ph-photo { background: var(--steel-100); }
.scrim { background: rgba(1,22,56,.55); position: fixed; inset: 0; z-index: 45; display: none; }
.scrim.show { display: block; }
@media (min-width: 1025px) { .scrim.show { display: none; } }


/* ===== De-AI refinement layer ===== */
.hero h1 { font-weight: 700; letter-spacing: -.005em; }
.hero .lead { font-weight: 400; }

/* eyebrow: use mono instead of caps tracking for a more technical look */
.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-700);
  margin-bottom: 10px;
}

/* card-ic: remove the rounded icon box, use bare icon */
.card-ic {
  width: 32px; height: 32px; border-radius: 0;
  background: transparent; display: block; place-items: initial;
  color: var(--accent); margin-bottom: 14px;
}
.card-ic svg { width: 28px; height: 28px; }

/* spec-wall: dense data display */
.spec-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.spec-wall .sw-cell {
  background: var(--surface);
  padding: 16px 20px;
}
.spec-wall .sw-num {
  font-family: var(--font-head);
  font-size: 28px; font-weight: 700; color: var(--navy);
  line-height: 1; margin-bottom: 4px;
}
.spec-wall .sw-label {
  font-size: 12px; color: var(--steel); font-weight: 500;
}

/* hero: left-aligned, narrower, not centered */
.hero .container { padding-top: 56px; padding-bottom: 56px; }
.hero h1 { max-width: 14ch; }
.hero .lead { max-width: 52ch; }

/* section headings: left-aligned by default */
.section h2 { text-align: left; }


/* ===== Logistics flow visualization ===== */
.logistics-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
}
.lf-node {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 20px 12px;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.08);
}
.lf-icon svg {
  width: 32px; height: 32px; color: var(--accent);
  margin-bottom: 10px;
}
.lf-label {
  font-size: 14px; font-weight: 600; color: #fff;
  margin-bottom: 4px;
}
.lf-detail {
  font-size: 12px; color: #9fb0c4; line-height: 1.4;
}
.lf-arrow {
  display: flex; align-items: center; justify-content: center;
  padding: 0 6px; color: var(--accent); font-size: 20px; font-weight: 700;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .logistics-flow { flex-direction: column; }
  .lf-arrow { transform: rotate(90deg); padding: 8px 0; }
}

/* ===== Application tag on product cards ===== */
.pcard-body .app-tag {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius);
  background: var(--steel-100);
  color: var(--navy-600);
  margin-right: 4px;
}
 
 /* ===== Category tile (hub page) ===== */
 .cat-tile {
   transition: transform .2s var(--ease), box-shadow .2s var(--ease);
 }
 .cat-tile:hover {
   transform: translateY(-3px);
 }
 .cat-tile:hover .cat-tile-img {
   box-shadow: var(--shadow-lg);
 }
 
 /* ===== Category sidebar layout ===== */
 @media (max-width: 768px) {
   .cat-layout {
     grid-template-columns: 1fr !important;
   }
   .cat-sidebar {
     position: static !important;
   }
 }
 

/* ===== Product image quality improvements ===== */
.cat-tile-img img,
.pcard-img .prod-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  box-sizing: border-box;
}
.cat-tile-img {
  background: #fbfaf7;
}
.pcard-img {
  background: #fbfaf7 !important;
}

/* ===== Product hub: type-first, standards as secondary filters ===== */
.catalog-head {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.catalog-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.catalog-head .lead {
  max-width: 68ch;
  margin: 0;
}
.section-label {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--navy);
  border-bottom: 2px solid var(--steel-200);
  padding-bottom: 10px;
  margin-bottom: 22px;
}
.section-note {
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 34ch;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.cat-tile {
  display: flex;
  flex-direction: column;
  color: inherit;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.cat-tile:hover {
  color: inherit;
  border-color: var(--steel-200);
  box-shadow: var(--shadow);
}
.cat-tile-img {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--steel-100);
  border-bottom: 1px solid var(--line);
}
.cat-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cat-tile-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px;
}
.cat-tile-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.cat-tile-top h3 {
  font-size: 17px;
  margin: 0;
}
.cat-count {
  color: var(--accent-700);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.cat-tile-desc {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
  margin: 7px 0 12px;
}
.std-chips,
.standard-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.std-chips span,
.standard-links span,
.standard-links a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 7px;
  border: 1px solid var(--steel-200);
  background: var(--bg);
  color: var(--navy-600);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.2;
}
.standard-links a:hover {
  color: var(--accent-700);
  border-color: var(--accent);
}
.standard-links.compact {
  margin-bottom: 18px;
}
.catalog-secondary {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.catalog-secondary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, .75fr);
  gap: 36px;
  align-items: start;
}
.system-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--surface);
}
.system-link {
  display: grid;
  grid-template-columns: 1fr 20px;
  gap: 4px 12px;
  padding: 15px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: inherit;
}
.system-link:hover {
  color: inherit;
  background: var(--bg);
}
.system-link strong {
  color: var(--navy);
  font-size: 15px;
}
.system-link span {
  grid-column: 1;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}
.system-link svg {
  grid-column: 2;
  grid-row: 1;
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.side-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}

@media (max-width: 1100px) {
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .catalog-head-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .catalog-secondary-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
@media (max-width: 760px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .cat-tile-body {
    padding: 11px;
  }
  .cat-tile-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
}
@media (max-width: 560px) {
  .catalog-grid,
  .system-list {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   Premium industrial refinement layer
   Paper-toned field, drafting-grid texture, hairline structure.
   ===================================================================== */
:root {
  --navy: #0b1f2e;
  --navy-700: #123245;
  --navy-600: #1b4055;
  --steel: #5d6870;
  --steel-100: #e7e3da;
  --steel-200: #d3cec3;
  --accent: #b75d2b;
  --accent-700: #94481f;
  --bg: #f3f1ec;
  --surface: #fbfaf7;
  --panel: #152b39;
  --ink: #182125;
  --ink-soft: #4c555c;
  --line: #dad5cb;
  --radius: 2px;
  --radius-lg: 2px;
  --shadow-sm: 0 1px 2px rgba(24,33,37,.04);
  --shadow: 0 1px 3px rgba(24,33,37,.05);
  --shadow-lg: 0 6px 22px rgba(24,33,37,.10);
  --font-head: "Avenir Next", "Helvetica Neue", "Segoe UI Semibold", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font: "Segoe UI", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

body {
  font-size: 15.5px;
  line-height: 1.62;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='96' height='96'><path d='M0 .5h96M.5 0v96' stroke='%23d9d4ca' stroke-opacity='.55' stroke-width='1'/></svg>");
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
}
h1 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; }
h2 { font-size: clamp(24px, 2.35vw, 31px); line-height: 1.14; }
h3 { font-size: clamp(18px, 1.55vw, 22px); }
.lead { font-size: 17px; line-height: 1.62; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .10em;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
  flex: 0 0 auto;
}

/* Header: utility rail and precise navigation */
.topbar {
  background: #081824;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .container { padding-top: 7px; padding-bottom: 7px; }
.header {
  background: rgba(251,250,247,.96);
  backdrop-filter: saturate(1.08);
  border-bottom: 1px solid var(--line);
}
.header { z-index: 70; }
.header .container { padding-top: 12px; padding-bottom: 12px; }
.brand { gap: 10px; }
.brand-wordmark {
  display: block;
  width: auto;
  height: 26px;
  border: 0;
  padding: 0;
  background: transparent;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.footer .brand-wordmark {
  height: 26px;
  mix-blend-mode: normal;
}
.header .brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer .brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 0;
  border: 1px solid var(--steel-200);
  padding: 2px;
  background: #fbfaf7;
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 650;
  font-size: 16.5px;
  letter-spacing: .025em;
}
.header .brand-name {
  color: var(--steel);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
}
.footer .brand-name {
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
}
.brand-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  color: var(--steel);
}
.nav { gap: 2px; }
.nav a {
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 550;
  border-radius: 0;
}
.nav a:hover { background: transparent; color: var(--accent-700); }
.nav a.active { color: var(--ink); }
.nav a.active::after {
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
  border-radius: 0;
}
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 0;
  background: transparent;
}

/* Buttons: flat industrial controls */
.btn {
  border-radius: 0;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
  box-shadow: none;
}
.btn-primary { background: var(--accent); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-700); border-color: var(--accent-700); box-shadow: none; }
.btn-outline { border-color: #b8b1a4; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); background: #fbfaf7; }
.btn-ghost { border-color: rgba(255,255,255,.42); }

/* Hero: real product photography under a controlled dark field */
.hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  background-color: #0b1f2e;
  background-image: url("img/valves/gallery-gate-butterfly.jpg");
  background-size: cover;
  background-position: center right;
  border-bottom: 4px solid var(--accent);
}
.hero::before {
  background: rgba(9,25,37,.79);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='72' height='72'><path d='M0 36h72M36 0v72' stroke='%23ffffff' stroke-opacity='.035' stroke-width='1'/></svg>");
}
.hero .container {
  padding-top: 74px;
  padding-bottom: 74px;
}
.hero h1 {
  max-width: 15ch;
  font-weight: 620;
  text-wrap: balance;
}
.hero .lead {
  max-width: 55ch;
  color: #c8d2da;
  font-size: 18px;
}
.hbadge {
  border-radius: 0;
  background: rgba(9,25,37,.58);
  border-color: rgba(255,255,255,.22);
  color: #e4eaef;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .025em;
}
.hbadge svg { color: #d68c5c; }
.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.16);
}
.hero-meta .hm {
  background: rgba(9,25,37,.72);
  padding: 15px 18px;
}
.hero-meta .hm-n {
  font-family: var(--font-head);
  font-size: 25px;
  font-weight: 620;
}
.hero-meta .hm-l {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  color: #a8b5c0;
}

.trust {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.trust .container {
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 13px;
  padding-bottom: 13px;
}
.trust .tlabel {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
}
.trust .titem {
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.trust .titem svg { color: var(--accent); }

/* Sections and cards: less box-in-box, more ruled paper */
.section { padding: 68px 0; }
.section.tight { padding: 42px 0; }
.section.alt {
  background: var(--surface);
  background-image: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section.dark {
  background: #12293a;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='72' height='72'><path d='M0 36h72M36 0v72' stroke='%23ffffff' stroke-opacity='.026' stroke-width='1'/></svg>");
}
.card,
.cert-card,
.step,
.faq details {
  border-radius: 0;
  box-shadow: none;
}
.card {
  padding: 22px;
}
.card.hover:hover {
  transform: none;
  box-shadow: none;
  border-color: #a9a296;
}
.card-ic {
  width: 38px;
  height: 38px;
  border-radius: 0;
  background: transparent;
  border-left: 2px solid var(--accent);
  color: var(--navy);
}

/* Product cards and catalog surfaces */
.pcard {
  border-radius: 0;
  box-shadow: none;
}
.pcard:hover {
  transform: none;
  box-shadow: none;
  border-color: #a9a296;
}
.pcard-img,
.cat-tile-img { background: #fbfaf7 !important; }
.pcard-img { aspect-ratio: 4 / 3; }
.pcard-img .prod-img { object-fit: contain; padding: 14px; background: #fbfaf7; }
.pcard-body { padding: 17px 18px 18px; }
.pcard-body h3 { font-size: 16px; }
.pcard-body .pstd {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .025em;
  color: var(--accent-700);
}
.pcard-body .pfoot { border-top-color: var(--line); }

.catalog-head {
  background: var(--surface);
  background-image: none;
}
.section-label {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: .10em;
  border-bottom: 1px solid var(--navy);
}
.section-note { max-width: 42ch; }
.catalog-grid { gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cat-tile {
  border: 0;
  background: var(--surface);
  transition: background-color .15s var(--ease);
}
.cat-tile:hover {
  box-shadow: none;
  background: #fbfaf7;
}
.cat-tile-img {
  border-bottom: 0;
  background: #fbfaf7;
}
.cat-tile-img img {
  object-fit: contain;
  padding: 16px;
  transform: none;
}
.cat-tile-body { padding: 16px 17px 18px; }
.cat-tile-top h3 { font-size: 17px; }
.cat-count {
  font-family: var(--mono);
  color: var(--steel);
}
.cat-tile-desc { line-height: 1.52; }
.std-chips,
.standard-links { gap: 4px; }
.std-chips span,
.standard-links a {
  border-radius: 0;
  border-color: #c7c1b5;
  background: transparent;
  color: var(--ink-soft);
}
.standard-links a:hover { border-color: var(--accent); color: var(--accent-700); background: transparent; }
.catalog-secondary {
  background: var(--surface);
  background-image: none;
}
.system-list { border-color: var(--line); }
.system-link {
  min-height: 92px;
  align-content: start;
  padding: 16px 18px;
}
.system-link:hover { background: #fbfaf7; }
.system-link strong { font-size: 15px; letter-spacing: 0; }
.system-link svg { color: var(--accent); }
.side-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .10em;
}

/* Technical bands, tables and figures */
.spec-wall { background: var(--line); }
.spec-wall .sw-cell { background: var(--surface); padding: 15px 18px; }
.spec-wall .sw-num {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 620;
}
.spec-wall .sw-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .045em;
}
.ctaband {
  border-radius: 0;
  border-left: 4px solid var(--accent);
}
.ctaband::after { display: none; }
.ph-photo {
  background: #f5f3ee !important;
  background-image: none !important;
}

/* Footer as a technical colophon */
.footer {
  background: #0b1f2e;
  padding-top: 52px;
}
.footer h5 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .10em;
  color: #b9c4cd;
}
.footer a { color: #98a6b1; }
.footer .flegal { border-top: 1px solid rgba(255,255,255,.10); }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero .container { padding-top: 56px; padding-bottom: 56px; }
  .hero-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .hero { background-position: 72% center; }
  .hero .container { padding-top: 44px; padding-bottom: 46px; }
  .hero-meta { grid-template-columns: 1fr; }
  .trust .container { justify-content: flex-start; }
}

/* =====================================================================
   Executive industrial layer
   Narrow hero, non-uniform catalog hierarchy, ruled technical surfaces.
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding-right: 22px;
  padding-left: 22px;
}
.btn-outline:hover { background: #fbfaf7; }

.hero { min-height: auto; }
.hero::before { background: rgba(8,22,33,.72); }
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  grid-auto-rows: auto;
  align-items: stretch;
  gap: 26px 48px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero .container > *:not(.hero-meta) { grid-column: 1; }
.hero h1 { max-width: 13ch; margin-bottom: 14px; }
.hero .lead { max-width: 58ch; margin-bottom: 0; }
.hero-badges { margin-top: 18px; }
.hero-cta { margin-top: 24px; }
.hero-meta {
  grid-column: 2;
  grid-row: 1 / span 5;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 0;
  align-self: stretch;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.20);
}
.hero-meta .hm {
  display: grid;
  align-content: center;
  min-height: 82px;
  padding: 12px 17px;
  background: rgba(8,22,33,.82);
}
.hero-meta .hm + .hm { border-top: 1px solid rgba(255,255,255,.10); }
.hero-meta .hm-n { font-size: 24px; line-height: 1.1; }
.hero-meta .hm-l { margin-top: 4px; line-height: 1.35; }

/* Procurement control band */
.procurement-band {
  padding-top: 46px;
  padding-bottom: 46px;
  background: var(--surface);
  background-image: none;
  border-bottom: 1px solid var(--line);
}
.control-head { margin-bottom: 22px; }
.control-head h2 { max-width: 24ch; }
.control-head .lead { max-width: 62ch; margin: 8px 0 0; }
.control-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.control-cell {
  min-height: 176px;
  padding: 18px 19px 20px;
  background: var(--surface);
}
.control-cell + .control-cell { border-left: 1px solid var(--line); }
.control-cell:hover { background: #fbfaf7; }
.control-code {
  display: block;
  margin-bottom: 17px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-700);
}
.control-cell h3 {
  margin: 0 0 7px;
  font-family: var(--font-head);
  font-size: 16.5px;
  line-height: 1.25;
}
.control-cell p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Catalog: featured first family creates hierarchy without decorative cards */
.catalog-grid {
  grid-auto-flow: dense;
}
.catalog-grid .cat-tile:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.catalog-grid .cat-tile:first-child .cat-tile-img {
  flex: 1 1 auto;
  aspect-ratio: auto;
  min-height: 290px;
}
.catalog-grid .cat-tile:first-child .cat-tile-body {
  padding: 19px 20px 22px;
}
.catalog-grid .cat-tile:first-child h3 { font-size: 20px; }
.catalog-grid .cat-tile:first-child .cat-tile-desc { max-width: 58ch; }

/* Category pages: technical index rail */
@media (min-width: 769px) {
  .cat-layout {
    grid-template-columns: 238px minmax(0, 1fr) !important;
    gap: 34px !important;
  }
  .cat-sidebar {
    position: sticky !important;
    top: 84px;
    padding: 17px;
    border: 1px solid var(--line);
    background: var(--surface);
  }
  .cat-sidebar > div:not(:last-child) { margin-bottom: 18px; }
  .cat-sidebar ul { border-top: 1px solid var(--line); }
  .cat-sidebar li > a {
    display: block;
    padding: 7px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 13.5px;
    line-height: 1.35;
  }
  .cat-sidebar li > a:hover { color: var(--accent-700); background: #fbfaf7; }
  .cat-layout > div > div[id] {
    padding-top: 23px;
    margin-top: -8px;
    border-top: 1px solid var(--line);
  }
}

/* Product detail: drawing-sheet treatment and data tables */
.fig.tall {
  aspect-ratio: 5 / 4;
  padding: 18px;
  background: #fbfaf7;
}
.fig.tall .prod-img { object-fit: contain; background: #fbfaf7; }
#prod-head [style*="border-radius:8px"] {
  border-radius: 0 !important;
  background: #f7f5ef !important;
}
.tabs {
  gap: 0;
  border-bottom: 1px solid var(--line);
}
.tabs button {
  min-height: 42px;
  padding: 9px 16px 11px;
  font-size: 14px;
}
.tabs button.active {
  border-bottom-width: 2px;
  border-bottom-color: var(--accent);
}
.table-wrap { border-radius: 0; }
table.spec {
  min-width: 620px;
  font-size: 13.8px;
  background: var(--surface);
}
table.spec thead th {
  padding: 10px 15px;
  background: var(--navy-700);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
}
table.spec td { padding: 11px 15px; }
table.spec td.k {
  width: 32%;
  color: var(--ink);
  font-weight: 600;
}
table.spec tbody tr:nth-child(even) { background: #f7f5f0; }

@media (max-width: 1000px) {
  .hero .container {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 22px 32px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .control-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero .container {
    grid-template-columns: 1fr;
    padding-top: 36px;
    padding-bottom: 38px;
  }
  .hero-meta {
    grid-row: auto;
    grid-column: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-meta .hm { min-height: 74px; padding: 11px 13px; }
  .hero-meta .hm + .hm { border-top: 0; }
  .hero-meta .hm:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.10); }
  .hero-meta .hm:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.10); }
  .control-grid { grid-template-columns: 1fr; }
  .control-cell + .control-cell { border-left: 0; border-top: 1px solid var(--line); }
  .catalog-grid .cat-tile:first-child {
    grid-column: span 2;
    grid-row: auto;
  }
  .catalog-grid .cat-tile:first-child .cat-tile-img { min-height: 210px; }
}
@media (max-width: 560px) {
  .hero h1 { max-width: 11ch; }
  .hero .lead { font-size: 16.5px; }
  .hero .container { gap: 20px; }
  .hero-badges { display: none; }
  .hero-cta .btn { width: 100%; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta .hm,
  .hero-meta .hm:nth-child(odd) { border-right: 0; }
  .hero-meta .hm + .hm,
  .hero-meta .hm:nth-child(n+2) { border-top: 1px solid rgba(255,255,255,.10); }
  .catalog-grid,
  .catalog-grid .cat-tile:first-child { grid-template-columns: 1fr; }
  .catalog-grid .cat-tile:first-child { grid-column: auto; }
  .control-cell { min-height: 0; }
}

/* Keep the closed mobile drawer out of the horizontal scroll area. */
@media (max-width: 1024px) {
  .nav:not(.open) { display: none; }
  .nav.open {
    display: flex;
    transform: translateX(0);
  }
  .nav { background: #fbfaf7; }
  .mobile-cta { background: #fbfaf7; }
}

/* =====================================================================
   Photographic premium layer
   Real marine scenes carry the first impression; product data stays calm.
   ===================================================================== */
body {
  background-color: #f2f0eb;
  background-image: none;
}

.premium-hero {
  display: grid;
  grid-template-columns: minmax(360px, 43%) minmax(0, 1fr);
  min-height: min(740px, calc(100vh - 67px));
  background: #0d2433;
  color: #e9eef2;
  border-bottom: 3px solid var(--accent);
}
.premium-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: inherit;
  padding: 66px clamp(28px, 5vw, 76px);
  border-right: 1px solid rgba(255,255,255,.10);
}
.premium-hero-copy .eyebrow { color: #d98a56; margin-bottom: 18px; }
.premium-hero-copy h1 {
  max-width: 12ch;
  color: #fff;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.03;
  margin-bottom: 20px;
}
.premium-hero-copy p {
  max-width: 54ch;
  color: #c5d0da;
  font-size: 17.5px;
  line-height: 1.68;
}
.premium-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.premium-hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 44px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.ph-metric {
  padding: 15px 0 2px;
}
.ph-metric + .ph-metric { border-left: 1px solid rgba(255,255,255,.12); padding-left: 18px; }
.ph-metric:nth-child(3) { border-left: 0; padding-left: 0; }
.ph-metric strong {
  display: block;
  color: #fff;
  font-family: var(--font-head);
  font-size: 27px;
  line-height: 1.1;
}
.ph-metric span {
  display: block;
  margin-top: 5px;
  color: #9dabb7;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .07em;
}
.premium-hero-media {
  position: relative;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
}
.premium-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.premium-hero-media figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 78%;
  padding: 8px 14px;
  background: rgba(13,36,51,.84);
  color: #c8d2da;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .07em;
}

.ptrust {
  background: #fbfaf7;
  border-bottom: 1px solid var(--line);
}
.ptrust .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 26px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.ptrust-label {
  color: var(--steel);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.ptrust-item {
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 650;
}
.ptrust-item + .ptrust-item::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 26px;
  vertical-align: middle;
  background: var(--accent);
}

.product-showcase {
  padding: 72px 0 80px;
  background: #f2f0eb;
}
.showcase-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  margin-bottom: 34px;
}
.showcase-head h2 { max-width: 20ch; }
.showcase-head p {
  max-width: 62ch;
  margin: 8px 0 0;
  color: var(--ink-soft);
}
.premium-catalog {
  display: grid;
  grid-template-columns: minmax(320px, 37%) minmax(0, 1fr);
  gap: 14px;
}
.premium-cat-feature,
.pcat {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fbfaf7;
}
.premium-cat-feature {
  display: grid;
  grid-template-rows: minmax(340px, 1fr) auto;
  min-height: 100%;
}
.premium-cat-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s var(--ease);
}
.premium-cat-feature > span {
  padding: 20px 22px 24px;
  border-top: 1px solid var(--line);
}
.premium-cat-feature strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 24px;
  line-height: 1.15;
}
.premium-cat-feature em {
  display: block;
  margin-top: 6px;
  color: var(--accent-700);
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
  letter-spacing: .07em;
}
.premium-cat-feature p {
  max-width: 62ch;
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
}
.premium-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.pcat {
  display: grid;
  grid-template-rows: 190px auto;
}
.pcat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #e8e5de;
  transition: transform .35s var(--ease);
}
.pcat > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 58px;
  padding: 13px 14px;
  border-top: 1px solid var(--line);
}
.pcat strong {
  color: var(--navy);
  font-size: 15.5px;
  line-height: 1.25;
}
.pcat em {
  flex: 0 0 auto;
  color: var(--steel);
  font-family: var(--mono);
  font-size: 10.5px;
  font-style: normal;
}
.premium-cat-feature:hover img,
.pcat:hover img { transform: scale(1.025); }

.scene-band {
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(360px, 1fr);
  min-height: 560px;
  background: #103042;
  color: #e4eaef;
}
.scene-band figure {
  position: relative;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
}
.scene-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scene-band figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 8px 14px;
  background: rgba(16,48,66,.84);
  color: #c9d3da;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .07em;
}
.scene-band > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 62px clamp(28px, 4vw, 64px);
}
.scene-band .eyebrow { color: #d98a56; }
.scene-band h2 {
  max-width: 18ch;
  color: #fff;
}
.scene-band p {
  max-width: 56ch;
  color: #bdc9d3;
}
.system-entries {
  display: grid;
  margin: 12px 0 28px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.system-entries a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 2px;
  border-bottom: 1px solid rgba(255,255,255,.16);
  color: #e7edf1;
  font-weight: 600;
}
.system-entries a:hover { color: #fff; background: rgba(255,255,255,.025); }
.system-entries svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.quality-showcase {
  padding: 78px 0;
  background: #f7f5f0;
  border-top: 1px solid var(--line);
}
.quality-showcase .container {
  display: grid;
  grid-template-columns: minmax(300px, 38%) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
}
.quality-copy h2 { max-width: 18ch; }
.quality-list {
  margin: 10px 0 28px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.quality-list li {
  display: grid;
  gap: 3px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.quality-list strong {
  color: var(--navy);
  font-size: 15px;
}
.quality-list span {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}
.quality-photos {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 14px;
}
.quality-photos figure {
  min-height: 310px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8e5de;
}
.quality-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quality-photos figure:last-child { min-height: 100%; }

@media (max-width: 1100px) {
  .premium-hero { grid-template-columns: minmax(320px, 45%) minmax(0, 1fr); }
  .premium-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .premium-cat-feature { grid-template-rows: minmax(300px, 1fr) auto; }
  .scene-band { grid-template-columns: minmax(0, 54%) minmax(320px, 1fr); }
  .quality-showcase .container { gap: 34px; }
}
@media (max-width: 900px) {
  .premium-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .premium-hero-media { min-height: 420px; order: -1; }
  .premium-hero-copy {
    min-height: 0;
    padding: 42px 22px 48px;
  }
  .premium-hero-copy h1 { max-width: 14ch; font-size: 36px; }
  .premium-hero-metrics { margin-top: 34px; }
  .showcase-head,
  .premium-catalog,
  .quality-showcase .container { grid-template-columns: 1fr; }
  .showcase-head { display: block; }
  .showcase-head .btn { margin-top: 18px; }
  .premium-cat-feature { grid-template-rows: 320px auto; }
  .scene-band { grid-template-columns: 1fr; }
  .scene-band > div { padding: 42px 22px 52px; }
  .quality-showcase .container { gap: 28px; }
}
@media (max-width: 620px) {
  .premium-hero-media,
  .scene-band figure { min-height: 300px; }
  .premium-hero-copy { padding: 34px 18px 42px; }
  .premium-hero-copy h1 { font-size: 33px; }
  .premium-hero-copy p { font-size: 16px; }
  .premium-hero-cta .btn { width: 100%; }
  .premium-hero-metrics { grid-template-columns: 1fr; }
  .ph-metric,
  .ph-metric:nth-child(3) { padding: 12px 0 2px; }
  .ph-metric + .ph-metric,
  .ph-metric:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .ptrust .container { align-items: flex-start; }
  .ptrust-label { width: 100%; margin-bottom: 2px; }
  .premium-cat-grid,
  .quality-photos { grid-template-columns: 1fr; }
  .pcat { grid-template-rows: 210px auto; }
  .system-entries a { font-size: 14.5px; }
}

/* Final overrides for older utility components */
.pill-link {
  border-radius: 0;
  background: #fbfaf7;
}
.badge-soft { border-radius: 0; }
.fab a { border-radius: 2px; }
.mobile-cta { background: #fbfaf7; }

/* =====================================================================
   Formal industrial catalog layer, v2
   Marine procurement interface: blue/white, ruled tables, dense entries.
   ===================================================================== */
:root {
  --navy: #0b2a45;
  --navy-700: #123b5c;
  --navy-600: #1b4c6f;
  --steel: #55636e;
  --steel-100: #e6ebef;
  --steel-200: #ccd5dc;
  --accent: #c25a1f;
  --accent-700: #a34a18;
  --bg: #f2f4f6;
  --surface: #fafafa;
  --line: #d8dee3;
}

body { background: var(--bg); }
h1, h2, h3, h4 { font-family: var(--font-head); }
.eyebrow { color: var(--accent-700); }

.topbar { background: var(--navy); }
.header {
  background: #fafafa;
  border-bottom: 3px solid var(--navy);
}
.nav a { font-size: 14.5px; }
.nav a.active { color: var(--navy); }
.nav a.active::after { background: var(--accent); }

.btn { border-radius: 2px; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fafafa; }
.btn-primary:hover { background: var(--accent-700); border-color: var(--accent-700); color: #fafafa; }
.btn-outline-light {
  background: rgba(250,250,250,.04);
  border-color: rgba(250,250,250,.55);
  color: #f4f6f7;
}
.btn-outline-light:hover { background: rgba(250,250,250,.12); color: #fafafa; border-color: #fafafa; }

.industrial-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 18px;
  margin-bottom: 26px;
  border-bottom: 2px solid var(--navy);
}
.industrial-section-head h2 { margin: 0; max-width: 24ch; }
.industrial-section-head p { margin: 8px 0 0; max-width: 68ch; color: var(--ink-soft); }
.industrial-heading {
  min-height: 34px;
  margin: 0 0 18px;
  padding-bottom: 9px;
  border-bottom: 2px solid var(--navy);
  font-size: 21px;
}

/* Homepage */
.home-hero {
  background: var(--navy);
  border-bottom: 4px solid var(--accent);
}
.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(340px, 42%) minmax(0, 1fr);
  min-height: 580px;
}
.home-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 62px 52px 62px 0;
  color: #dce5ec;
}
.home-hero-copy .eyebrow { color: #e5a276; }
.home-hero-copy h1 {
  max-width: 18ch;
  margin-bottom: 15px;
  color: #fafafa;
  font-size: clamp(31px, 3.3vw, 45px);
  line-height: 1.22;
}
.home-hero-copy p {
  max-width: 62ch;
  margin-bottom: 27px;
  color: #c7d4de;
  font-size: 17px;
}
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.home-hero-media { position: relative; margin: 0; overflow: hidden; }
.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-hero-media figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 75%;
  padding: 9px 15px;
  background: rgba(11,42,69,.88);
  color: #dce5ec;
  font-size: 12px;
  border-top: 1px solid rgba(250,250,250,.22);
  border-right: 1px solid rgba(250,250,250,.22);
}
.home-hero-standard-row {
  background: #071630;
  border-top: 1px solid rgba(250,250,250,.13);
}
.home-hero-standard-inner {
  display: grid;
  grid-template-columns: 210px repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
  padding-top: 19px;
  padding-bottom: 19px;
}
.home-hero-standard-title {
  color: #e5a276;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-hero-standard-item {
  min-width: 0;
  padding-left: 24px;
  border-left: 1px solid rgba(250,250,250,.16);
}
.home-hero-standard-item span {
  display: block;
  color: #9fb1c2;
  font-size: 11px;
  line-height: 1.35;
}
.home-hero-standard-item strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  color: var(--accent-700);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }
.text-link svg { width: 14px; height: 14px; }

.home-products {
  background: linear-gradient(180deg, #f4f6f8 0%, #ffffff 100%);
  padding: 44px 0 36px;
}
.home-products .industrial-section-head {
  align-items: flex-end;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--steel-200);
}
.home-products .industrial-section-head h2 {
  max-width: none;
  font-size: clamp(28px, 3.1vw, 40px);
}
.home-products .industrial-section-head p {
  max-width: 72ch;
  font-size: 15px;
}
.home-category-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.showcase-tile {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4e8ee;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  color: inherit;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease), transform .16s var(--ease);
}
.showcase-tile::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .16s var(--ease);
}
.showcase-tile:hover {
  transform: translateY(-2px);
  border-color: #c8d1da;
  box-shadow: var(--shadow);
  color: inherit;
}
.showcase-tile:hover::after { transform: scaleX(1); }
.showcase-media {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 16 / 10;
  min-height: 0;
  display: block;
  background: #fff;
  border-bottom: 1px solid #edf0f4;
}
.showcase-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  padding: 10px;
}
.showcase-body {
  display: flex;
  flex-direction: column;
  min-height: 118px;
  padding: 15px 17px 17px;
  background: #fff;
}
.showcase-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px;
  align-items: start;
  gap: 10px;
}
.showcase-title h3 {
  margin: 0;
  color: var(--navy);
  font-size: 16.5px;
  line-height: 1.25;
}
.showcase-title svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--steel);
  transition: color .16s var(--ease), transform .16s var(--ease);
}
.showcase-tile:hover .showcase-title svg {
  color: var(--accent);
  transform: translateX(2px);
}
.showcase-body p {
  display: -webkit-box;
  min-height: 42px;
  margin: 7px 0 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 12.7px;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.showcase-tile.primary {
  grid-column: 1 / -1;
  grid-row: auto;
  flex-direction: row;
  min-height: 440px;
}
.showcase-tile.primary .showcase-media {
  flex: 1 1 auto;
  aspect-ratio: auto;
  min-height: 0;
  border-right: 1px solid #edf0f4;
  border-bottom: 0;
}
.showcase-tile.primary .showcase-media img { padding: 26px; }
.showcase-tile.primary .showcase-body {
  flex: 0 0 350px;
  justify-content: center;
  min-height: 0;
  padding: 32px 34px;
}
.showcase-tile.primary .showcase-title h3 { font-size: clamp(24px, 2.3vw, 31px); line-height: 1.14; }
.showcase-tile.primary .showcase-title svg {
  width: 23px;
  height: 23px;
  margin-top: 5px;
}
.showcase-tile.primary .showcase-body p {
  min-height: 0;
  margin-top: 10px;
  font-size: 14.2px;
  line-height: 1.56;
  -webkit-line-clamp: 3;
}
.industrial-catalog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.industrial-catalog .cat-tile:first-child,
.industrial-catalog .cat-tile:first-child .cat-tile-img {
  grid-column: auto;
  grid-row: auto;
  aspect-ratio: auto;
  min-height: 0;
}
.industrial-catalog .cat-tile {
  border: 0;
  background: var(--surface);
}
.industrial-catalog .cat-tile:hover { background: #f7f9fa; box-shadow: none; }
.industrial-catalog .cat-tile-img {
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}
.industrial-catalog .cat-tile-img img {
  object-fit: contain;
  padding: 15px;
  transform: none;
}
.industrial-catalog .cat-tile-body { padding: 15px 16px 17px; }

.ship-systems {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ship-systems-grid {
  display: grid;
  grid-template-columns: minmax(0, 43%) minmax(320px, 1fr);
  gap: 42px;
  align-items: center;
  padding-top: 34px;
  padding-bottom: 30px;
}
.ship-systems figure {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--steel-100);
}
.ship-systems img { width: 100%; height: 100%; object-fit: cover; }
.ship-systems .lead { max-width: 66ch; }
.system-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 24px 0 26px;
  background: var(--line);
  border: 1px solid var(--line);
}
.system-index-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px;
  gap: 4px 12px;
  align-content: start;
  min-height: 104px;
  padding: 15px 16px;
  background: var(--surface);
  color: inherit;
}
.system-index-link:hover { background: #f7f9fa; color: inherit; }
.system-index-link strong { color: var(--navy); font-size: 15px; }
.system-index-link span {
  grid-column: 1;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}
.system-index-link svg { grid-column: 2; grid-row: 1; width: 18px; height: 18px; color: var(--accent); }

.supply-band {
  padding: 34px 0 38px;
  background: var(--bg);
}
.supply-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.supply-grid article {
  min-height: 188px;
  padding: 18px;
  background: var(--surface);
}
.supply-grid article > span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent-700);
  font-family: var(--mono);
  font-size: 11px;
}
.supply-grid h3 { margin: 0 0 8px; font-size: 17px; }
.supply-grid p { margin: 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.55; }

.quality-evidence {
  background: #eef2f5;
  border-bottom: 1px solid var(--line);
}
.quality-evidence-grid {
  display: grid;
  grid-template-columns: minmax(0, 43%) minmax(320px, 1fr);
  gap: 40px;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 34px;
}
.quality-evidence .quality-photos { gap: 1px; border: 1px solid var(--line); background: var(--line); }
.quality-evidence .quality-photos figure { min-height: 270px; border: 0; background: var(--surface); }
.quality-evidence .quality-copy h2 { max-width: 20ch; }
.quality-list { margin: 22px 0 26px; padding: 0; list-style: none; border-top: 1px solid var(--steel-200); }
.quality-list li {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 8px 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--steel-200);
}
.quality-list strong { color: var(--navy); font-size: 14px; }
.quality-list span { color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.home-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px;
  background: var(--navy);
  border-left: 5px solid var(--accent);
}
.home-cta h2 { margin: 0; color: #fafafa; }
.home-cta p { margin: 7px 0 0; color: #c7d4de; }

/* Category pages */
.category-hero {
  background: #eef2f5;
  border-bottom: 1px solid var(--line);
}
.category-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 36px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 30px;
}
.category-hero h1 { margin-bottom: 8px; }
.category-hero p { max-width: 78ch; margin: 0; color: var(--ink-soft); }
.category-hero figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--steel-200);
  background: var(--surface);
}
.category-hero img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.category-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 17px;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 12px;
}
.category-body { padding-top: 32px; }
.cat-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.cat-sidebar {
  position: sticky;
  top: 88px;
  padding: 17px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.category-nav, .category-nav ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.category-nav a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.35;
}
.category-nav a:hover, .category-nav a.active { color: var(--navy); border-bottom-color: var(--accent); }
.category-nav a span { color: var(--steel); font-family: var(--mono); font-size: 11px; }
.category-nav ul { margin: 0 0 8px 13px; }
.category-nav ul a { font-size: 12.5px; padding: 6px 0; }
.subcat-block { padding-top: 20px; margin-top: -6px; border-top: 1px solid var(--line); }
.subcat-block + .subcat-block { margin-top: 40px; }
.subcat-block .eyebrow { margin-bottom: 3px; }
.subcat-block header p { max-width: 78ch; margin: 0 0 18px; color: var(--ink-soft); font-size: 13.5px; }
.subcat-block .grid { gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pcard { border: 0; background: var(--surface); }
.pcard:hover { box-shadow: none; background: #f7f9fa; }
.pcard-img { aspect-ratio: 4 / 3; background: #fafafa !important; border-bottom: 1px solid var(--line); }
.pcard-img .prod-img { object-fit: contain; padding: 14px; }
.other-categories { padding-top: 0; }
.other-categories .container { border-top: 1px solid var(--line); padding-top: 24px; }
.other-category-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* Product detail */
.detail-header { background: #eef2f5; border-bottom: 1px solid var(--line); }
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 43%) minmax(320px, 1fr);
  gap: 38px;
  align-items: start;
  padding-top: 28px;
  padding-bottom: 38px;
}
.detail-gallery {
  position: sticky;
  top: 96px;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--steel-200);
  background: var(--surface);
}
.detail-gallery img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.detail-summary h1 { margin-bottom: 9px; font-size: clamp(26px, 2.6vw, 35px); }
.detail-summary h1 { line-height: 1.25; }
.detail-summary .lead { max-width: 76ch; margin-bottom: 21px; }
.key-spec-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 20px;
  background: var(--line);
  border: 1px solid var(--line);
}
.key-spec-wall > div { min-height: 66px; padding: 10px 12px; background: var(--surface); }
.key-spec-wall span {
  display: block;
  color: var(--steel);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.35;
}
.key-spec-wall strong {
  display: block;
  margin-top: 3px;
  color: var(--navy);
  font-size: 13px;
  line-height: 1.35;
}
.detail-checks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 13.5px;
}
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.technical-figure-section { background: #f7f5f0; border-top: 1px solid var(--line); }
.technical-figure {
  margin: 0;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--steel-200);
}
.technical-figure img {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  object-position: left center;
  background: #f2f0eb;
}
.technical-figure figcaption {
  padding-top: 10px;
  color: var(--steel);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
}
.detail-data .table-wrap, .testing-section .table-wrap { margin-top: 0; }
.testing-section { background: var(--surface); border-top: 1px solid var(--line); }
.testing-grid { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr); gap: 40px; }
.testing-grid .quality-list { margin: 0; }
.testing-grid .grid { gap: 14px; }
.testing-grid .card { padding: 17px; background: var(--bg); }
.testing-grid .card h3 { font-size: 15px; }
.testing-grid .card p { margin: 0; font-size: 13.5px; }
.related-section .grid { gap: 1px; background: var(--line); border: 1px solid var(--line); }
.related-section .pcard-img .prod-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  box-sizing: border-box;
}

@media (max-width: 1150px) {
  .industrial-catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-category-showcase { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .supply-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ship-systems-grid, .quality-evidence-grid, .detail-layout { grid-template-columns: 1fr; }
  .ship-systems figure, .quality-photos { min-height: 0; }
  .detail-gallery { position: static; }
}
@media (max-width: 900px) {
  .home-hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .home-category-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .showcase-media { min-height: 0; }
  .showcase-body { min-height: 112px; padding: 13px 14px 15px; }
  .showcase-tile.primary {
    flex-direction: column;
    min-height: 0;
  }
  .showcase-tile.primary .showcase-media {
    flex: 0 0 auto;
    aspect-ratio: 16 / 9;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #edf0f4;
  }
  .showcase-tile.primary .showcase-media img { padding: 18px; }
  .showcase-tile.primary .showcase-body {
    flex: none;
    justify-content: flex-start;
    min-height: 138px;
    padding: 17px 18px 19px;
  }
  .home-hero-copy { order: 2; padding: 34px 0 46px; }
  .home-hero-media { min-height: 300px; order: 1; }
  .home-hero-standard-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
  }
  .home-hero-standard-title { grid-column: 1 / -1; }
  .industrial-section-head { align-items: flex-start; flex-direction: column; gap: 16px; }
  .category-hero-grid { grid-template-columns: 1fr; }
  .category-hero figure { max-width: 430px; }
  .cat-layout { grid-template-columns: 1fr; }
  .cat-sidebar { position: static; }
  .category-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .category-nav ul { grid-column: 1 / -1; }
  .subcat-block .grid, .related-section .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testing-grid { grid-template-columns: 1fr; gap: 30px; }
  .home-cta { align-items: flex-start; flex-direction: column; padding: 28px; }
}
@media (max-width: 760px) {
  .topbar .tb-left,
  .topbar .between > span:nth-child(2) { display: none; }
  .topbar .container { justify-content: flex-end; }
  .topbar .between { flex: 1; justify-content: space-between; }
}
@media (max-width: 620px) {
  .home-hero-copy { padding-top: 28px; }
  .home-hero-copy h1 { font-size: 30px; }
  .home-hero-actions .btn, .ship-systems .btn, .detail-actions .btn { width: 100%; }
  .home-hero-standard-inner, .system-index, .supply-grid, .industrial-catalog,
  .subcat-block .grid, .related-section .grid, .key-spec-wall { grid-template-columns: 1fr; }
  .home-hero-standard-item { padding-left: 0; border-left: 0; }
  .home-hero-standard-row .container { padding-top: 16px; padding-bottom: 16px; }
  .home-category-showcase { grid-template-columns: 1fr; }
  .showcase-tile.primary .showcase-media { aspect-ratio: 4 / 3; }
  .showcase-tile.primary .showcase-media img { padding: 16px; }
  .showcase-tile.primary .showcase-body { min-height: 0; }
  .quality-list li { grid-template-columns: 1fr; gap: 3px; }
  .category-nav { grid-template-columns: 1fr; }
  .detail-layout, .ship-systems-grid, .quality-evidence-grid { padding-top: 0; }
  .detail-gallery { aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) {
  .header .brand-copy { display: none; }
  .brand-wordmark { height: 22px; }
}
