/* Latin fonts are served locally. CJK glyphs use the platform fonts. */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/inter.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(/fonts/space-grotesk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== base.css ===== */
/* ==========================================================================
   Base Reset, Primitives, Shared Components & Accessibility
   ========================================================================== */
:root {
  --bg: #f6f7f8;
  --surface: #ffffff;
  --surface-alt: #eceff2;
  --ink: #0e1114;
  --ink-muted: #4b545e;
  --ink-subtle: #56616d;
  --rule: #d6dce2;
  --accent: #b93322;
  --accent-hover: #a83222;
  --accent-ink: #ffffff;
  --radius: 0px;
  --radius-btn: 0px;
  --shadow: none;
  --font-display: "Space Grotesk",  -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter",  -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1280px;
  --header-bg: #ffffff;
  --header-ink: #0e1114;
  --header-rule: #d6dce2;
  --footer-bg: #0e1114;
  --footer-ink: #eef1f4;
  --footer-muted: #98a2ae;
  --footer-rule: #232931;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

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

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.mono {
  font-family: var(--font-mono);
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.icon-xs {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13px;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--rule);
}

.btn-secondary:hover {
  border-color: var(--ink);
}

.btn-outline {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.btn-outline:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.btn-outline-inverse {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-outline-inverse:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 140ms ease, border-color 140ms ease;
}

.text-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--header-rule);
  border-radius: var(--radius-btn);
  color: inherit;
  cursor: pointer;
  transition: border-color 140ms ease, color 140ms ease, background-color 140ms ease;
}

.icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Utility Bar & Header ---------- */
.utility-bar {
  background: var(--ink);
  color: #d3dae2;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
}

.utility-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.utility-spec {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.utility-sep {
  opacity: 0.35;
}

.utility-mail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
}

.utility-mail:hover {
  color: #ffb3a9;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  color: var(--header-ink);
  border-bottom: 1px solid var(--header-rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-glyph {
  display: block;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-primary {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand-secondary {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  opacity: 0.65;
  margin-top: 2px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link,
.nav-group summary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius-btn);
  transition: color 140ms ease, background-color 140ms ease;
}

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

.nav-link:hover,
.nav-group summary:hover {
  color: var(--accent);
}

.nav-group {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 340px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: 0 20px 44px rgba(14, 17, 20, 0.14);
  z-index: 80;
}

.nav-dropdown ul {
  list-style: none;
  padding: 8px;
}

.nav-dropdown li a {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border-radius: var(--radius);
  transition: background-color 120ms ease;
}

.nav-dropdown li a:hover {
  background: var(--surface-alt);
}

.dd-code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  padding-top: 2px;
}

.nav-dropdown li strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.nav-dropdown li small {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-muted);
  margin-top: 2px;
}

.dropdown-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg);
}

.dropdown-footer:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-switch {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  display: inline-grid;
  place-items: center;
  min-height: 40px;
  padding: 7px 10px;
  border: 1px solid var(--header-rule);
  border-radius: var(--radius-btn);
  transition: border-color 140ms ease, color 140ms ease;
}

.lang-switch:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.menu-button {
  display: none;
}

:lang(zh-CN) {
  --cjk-fallback: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

:root:lang(zh-CN)[data-style="swiss"] {
  --font-body: "Inter", var(--cjk-fallback);
  --font-display: "Space Grotesk", var(--cjk-fallback);
  --font-mono: "IBM Plex Mono", var(--cjk-fallback);
}

::selection {
  background: #f9ddd7;
  color: var(--ink);
}

/* ---------- Shared Section Architecture ---------- */
.section {
  padding: clamp(52px, 6vw, 84px) 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-desc {
  margin-top: 10px;
  max-width: 60ch;
  color: var(--ink-muted);
  font-size: 15px;
}

.item-code {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-subtle);
}

/* ---------- Hero Base ---------- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 17ch;
  text-wrap: balance;
}

:lang(zh-CN) .hero-title-phrase {
  display: inline-block;
}

:lang(zh-CN) .hero-copy h1 {
  max-width: 12em;
  text-wrap: wrap;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.hero-subtitle {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 50ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  grid-area: metrics;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

.hero-metric dt {
  font-size: 12px;
  color: var(--ink-subtle);
}

.hero-metric dd {
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
  color: var(--ink);
}

.hero-frame-inner {
  position: relative;
  overflow: hidden;
  background: var(--surface-alt);
}

.hero-frame-inner picture {
  display: block;
  height: 100%;
}

.hero-frame-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-caption {
  font-size: 12px;
  color: var(--ink-subtle);
  margin-top: 10px;
}

/* ---------- Products Base ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 150ms ease, transform 150ms ease;
}

.product-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--rule);
  font-size: 11px;
}

.item-spec {
  color: var(--ink-muted);
  font-size: 11px;
  text-align: right;
}

.product-media {
  aspect-ratio: 9 / 5;
  background: #ffffff;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.card-arrow {
  color: var(--ink-subtle);
  transition: transform 150ms ease, color 150ms ease;
}

.product-card:hover .card-arrow,
.catalog-item-card:hover .card-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

.product-body p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* ---------- Materials Base & Filter ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-pill {
  min-height: 42px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  background: var(--surface);
  color: var(--ink-muted);
  border: 1px solid var(--rule);
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.filter-pill:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-pill.is-active {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

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

.material-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 160ms ease;
}

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

.material-card[data-highlighted],
.material-card:hover {
  border-color: var(--accent);
}

.material-media {
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: var(--surface-alt);
}

.material-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.material-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 500;
  background: rgba(14, 17, 20, 0.84);
  color: #ffffff;
  max-width: calc(100% - 24px);
}

.material-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.material-heading {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.material-code {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.material-full {
  font-size: 13px;
  color: var(--ink-muted);
}

.material-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-muted);
}

.material-mini-specs {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 8px;
}

.material-mini-specs dt {
  font-size: 11px;
  color: var(--ink-subtle);
}

.material-mini-specs dd {
  font-size: 12px;
  color: var(--ink);
  margin-top: 2px;
}

/* ---------- Industries Base ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.industry-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 150ms ease;
}

.industry-card:hover {
  border-color: var(--accent);
}

.industry-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--surface-alt);
}

.industry-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.industry-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.industry-tag {
  font-size: 11px;
  color: var(--accent);
}

.industry-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.industry-body p {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ---------- Manufacturing & QC ---------- */
.process-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.process-step {
  padding: 22px 20px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
}

.step-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-muted);
}

.qc-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 36px;
  align-items: start;
}

.qc-copy h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.qc-copy > p {
  color: var(--ink-muted);
  font-size: 14.5px;
}

.qc-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.qc-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}

.qc-list svg {
  color: var(--accent);
  margin-top: 4px;
}

.qc-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.qc-figure {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.qc-img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-alt);
}

.qc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qc-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-muted);
  border-top: 1px solid var(--rule);
}

/* ---------- Engineering Resources ---------- */
.resources-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.resources-intro .text-link {
  margin-top: 20px;
}

.resources-list {
  border-top: 1px solid var(--rule);
}

.resource-row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  transition: padding-left 140ms ease, color 140ms ease;
}

.resource-row:hover {
  padding-left: 6px;
}

.resource-meta {
  font-size: 11px;
  color: var(--ink-subtle);
}

.resource-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.resource-main strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
}

.resource-main span {
  font-size: 13.5px;
  color: var(--ink-muted);
}

.resource-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

/* ---------- RFQ Band ---------- */
.section-rfq {
  padding-top: 24px;
  padding-bottom: 88px;
}

.rfq-band {
  background: var(--footer-bg);
  color: #ffffff;
  padding: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.rfq-band-copy {
  max-width: 58ch;
}

.rfq-band h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.rfq-band p {
  margin-top: 10px;
  color: #b7c0cc;
  font-size: 14.5px;
}

.rfq-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  border-top: 1px solid var(--footer-rule);
  padding: 64px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(5, minmax(0, 1fr));
  gap: 28px;
}

.footer-tagline {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--footer-muted);
  max-width: 30ch;
}

.footer-std {
  margin-top: 14px;
  font-size: 11px;
  color: var(--footer-muted);
}

.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-col a {
  font-size: 13px;
  color: var(--footer-muted);
  transition: color 140ms ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-contact .btn {
  margin-top: 16px;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--footer-rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--footer-muted);
}

/* ---------- Subpages (Catalog & Details) ---------- */
.subpage-wrap {
  padding-top: 36px;
  padding-bottom: 96px;
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-subtle);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  opacity: 0.5;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.subpage-hero {
  margin-top: 20px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}

.subpage-hero h1,
.detail-main h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.subpage-lede {
  margin-top: 14px;
  max-width: 64ch;
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.65;
}

.jump-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.jump-pill {
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-btn);
  background: var(--surface);
  font-size: 13px;
  font-weight: 500;
}

.jump-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.catalog-section {
  padding-top: 52px;
}

.group-count {
  font-size: 13px;
  color: var(--accent);
}

.catalog-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.catalog-item-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 140ms ease;
}

.catalog-item-card:hover {
  border-color: var(--accent);
}

.catalog-card-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--surface-alt);
}

.catalog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-card-doc-head {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--rule);
  font-size: 11px;
  color: var(--ink-muted);
}

.catalog-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.catalog-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.catalog-card-body h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
}

.catalog-card-body p {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* Detail Page */
.detail-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 44px;
  align-items: start;
}

.detail-grid-single {
  grid-template-columns: minmax(0, 820px);
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.detail-type-badge {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  background: var(--accent);
  color: var(--accent-ink);
}

.detail-spec-hint {
  font-size: 11px;
  padding: 4px 10px;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink-muted);
}

.spec-table {
  margin-top: 26px;
  border-top: 1px solid var(--rule);
}

.spec-table > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}

.spec-table dt {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
}

.spec-table dd {
  font-size: 14px;
  color: var(--ink);
}

.detail-checklist-box {
  margin-top: 28px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.detail-checklist-box h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 14px;
}

.checklist {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-muted);
}

.checklist svg {
  color: var(--accent);
  margin-top: 4px;
}

.detail-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.detail-figure {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}

.detail-img-wrap {
  aspect-ratio: 3 / 2;
  background: #ffffff;
}

.detail-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-card-media.media-product,
.detail-img-wrap.media-product {
  aspect-ratio: 9 / 5;
  background: var(--surface);
}

.catalog-card-media.media-material,
.detail-img-wrap.media-material {
  aspect-ratio: 2 / 1;
}

.media-product img,
.media-material img {
  object-fit: contain;
}

.detail-figure figcaption {
  padding: 14px 18px;
  font-size: 12.5px;
  color: var(--ink-muted);
  border-top: 1px solid var(--rule);
}

.related-section {
  margin-top: 72px;
  padding-top: 44px;
  border-top: 1px solid var(--rule);
}

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

.related-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.related-card:hover {
  border-color: var(--accent);
}

.related-card strong {
  font-family: var(--font-display);
  font-size: 16px;
}

.related-card p {
  font-size: 13px;
  color: var(--ink-muted);
}

.not-found {
  padding: 96px 0;
  max-width: 640px;
}

/* ---------- Modals (Search & RFQ) ---------- */
.modal {
  width: min(calc(100% - 32px), 620px);
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 28px 64px rgba(14, 17, 20, 0.28);
}

.modal::backdrop {
  background: rgba(10, 13, 18, 0.62);
  backdrop-filter: blur(3px);
}

.modal-shell {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.modal-header h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}

.modal-intro {
  font-size: 13.5px;
  color: var(--ink-muted);
  margin-top: 4px;
}

.search-field-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--rule);
  background: var(--bg);
}

.search-field-wrap:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.search-field-wrap input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 15px;
}

.search-status {
  font-size: 12.5px;
  color: var(--ink-subtle);
}

.search-results {
  list-style: none;
  padding: 0;
  max-height: 360px;
  overflow-y: auto;
  border-top: 1px solid var(--rule);
}

.search-results li a {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 6px;
  border-bottom: 1px solid var(--rule);
}

.search-results li a:hover {
  background: var(--bg);
}

.search-results strong {
  display: block;
  font-size: 14px;
}

.search-desc {
  display: block;
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-top: 2px;
}

.search-results small {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  white-space: nowrap;
}

.rfq-form {
  display: grid;
  gap: 14px;
}

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

.rfq-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.rfq-form label em {
  color: var(--accent);
  font-style: normal;
}

.rfq-form label small {
  font-weight: 400;
  color: var(--ink-subtle);
}

.rfq-form input,
.rfq-form select,
.rfq-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-btn);
  background: var(--bg);
  font-size: 14px;
}

.rfq-form textarea {
  resize: vertical;
}

.search-field-wrap input::placeholder,
.rfq-form input::placeholder,
.rfq-form textarea::placeholder {
  color: var(--ink-subtle);
  opacity: 1;
}

.form-privacy {
  font-size: 12px;
  color: var(--ink-subtle);
}

.form-status {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  min-height: 18px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    color: var(--ink);
    border-bottom: 1px solid var(--rule);
    padding: 16px 24px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .nav-dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    margin-top: 6px;
  }

  .menu-button {
    display: inline-flex;
  }

  .material-grid,
  .industry-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding: 60px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 28px;
  }

  .qc-grid,
  .resources-layout,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .rfq-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }

  .resource-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }



}

@media (max-width: 600px) {
  .utility-tagline,
  .utility-sep,
  .utility-spec,
  .header-actions .btn-primary {
    display: none;
  }

  .material-grid,
  .industry-grid,
  .process-grid,
  .related-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .spec-table > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .icon-btn,
  .card-arrow {
    transition: none;
  }

  .product-card:hover .card-arrow,
  .catalog-item-card:hover .card-arrow {
    transform: none;
  }
}


/* ===== theme-swiss.css ===== */
/* ==========================================================================
   DIRECTION A: SWISS PRECISION SPEC SHEET (data-style="swiss")
   Architectural cold alabaster, 1px hairline grids, 0px corners, FKM signal rust
   ========================================================================== */
:root[data-style="swiss"] {
  --bg: #f6f7f8;
  --surface: #ffffff;
  --surface-alt: #eceff2;
  --ink: #0e1114;
  --ink-muted: #4a535d;
  --ink-subtle: #56616d;
  --rule: #d5dce2;
  --accent: #b93322;
  --accent-hover: #a63020;
  --accent-ink: #ffffff;
  --radius: 0px;
  --radius-btn: 0px;
  --font-display: "Space Grotesk",  sans-serif;
  --font-body: "Inter",  sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --header-bg: #ffffff;
  --header-ink: #0e1114;
  --header-rule: #d5dce2;
  --footer-bg: #0e1114;
  --footer-ink: #f0f3f6;
  --footer-muted: #98a2ae;
  --footer-rule: #232a32;
}

/* Split Architectural Grid Hero */
.hero-copy {
  grid-area: copy;
}
:root[data-style="swiss"] .hero {
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  padding: clamp(36px, 5vw, 70px) 0;
}

:root[data-style="swiss"] .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  grid-template-areas: "copy frame" "metrics frame";
  column-gap: clamp(24px, 3.2vw, 46px);
  row-gap: 28px;
  align-items: center;
}

:root[data-style="swiss"] .hero-frame {
  border: 1px solid var(--rule);
  background: var(--bg);
  padding: 10px;
  grid-area: frame;
}

:root[data-style="swiss"] .hero-frame-inner {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--rule);
}

:root[data-style="swiss"] .hero-frame-inner img {
  object-position: center;
}

:root[data-style="swiss"] .tick {
  position: absolute;
  width: 12px;
  height: 12px;
  z-index: 2;
  pointer-events: none;
}

:root[data-style="swiss"] .tick-tl {
  top: 8px;
  left: 8px;
  border-top: 1.5px solid var(--accent);
  border-left: 1.5px solid var(--accent);
}

:root[data-style="swiss"] .tick-tr {
  top: 8px;
  right: 8px;
  border-top: 1.5px solid var(--accent);
  border-right: 1.5px solid var(--accent);
}

:root[data-style="swiss"] .tick-bl {
  bottom: 8px;
  left: 8px;
  border-bottom: 1.5px solid var(--accent);
  border-left: 1.5px solid var(--accent);
}

:root[data-style="swiss"] .tick-br {
  bottom: 8px;
  right: 8px;
  border-bottom: 1.5px solid var(--accent);
  border-right: 1.5px solid var(--accent);
}

/* Border-collapsed Swiss 3x2 Product Matrix */
:root[data-style="swiss"] .section-products {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}

:root[data-style="swiss"] .product-grid {
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

:root[data-style="swiss"] .product-card {
  border-top: 0;
  border-left: 0;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

:root[data-style="swiss"] .product-card:hover {
  background: #fcfdfd;
  box-shadow: inset 0 2px 0 var(--accent);
}

:root[data-style="swiss"] .section-materials {
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}

:root[data-style="swiss"] .section-industries {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}

:root[data-style="swiss"] .section-manufacturing {
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}

:root[data-style="swiss"] .process-grid {
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

:root[data-style="swiss"] .process-step {
  border-top: 0;
  border-left: 0;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}

:root[data-style="swiss"] .process-step:hover {
  background: var(--surface);
  box-shadow: inset 0 2px 0 var(--accent);
}

:root[data-style="swiss"] .qc-grid {
  padding-top: 36px;
  border-top: 1px solid var(--rule);
}

:root[data-style="swiss"] .section-resources {
  background: var(--bg);
}

:root[data-style="swiss"] .rfq-band {
  border: 1px solid var(--ink);
}

@media (max-width: 960px) {
  :root[data-style="swiss"] .hero-grid {
    grid-template-areas: "copy frame" "metrics metrics";
  }

  .product-grid,
  .catalog-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  :root[data-style="swiss"] .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "frame" "metrics";
    row-gap: 22px;
  }

  .hero-copy h1 {
    font-size: clamp(30px, 7.6vw, 40px);
    text-wrap: initial;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 18px;
  }

  .hero-actions .btn {
    padding-inline: 13px;
  }

  .hero-metrics {
    gap: 10px;
  }

  .hero-metric dd {
    overflow-wrap: anywhere;
  }

  .header-inner {
    gap: 10px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions .icon-btn,
  .header-actions .lang-switch {
    min-height: 44px;
    min-width: 44px;
  }
}

@media (max-width: 560px) {
  .product-grid,
  .catalog-cards,
  .qc-figures {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 48px 0;
  }
}

@media (max-width: 360px) {
  :lang(zh-CN) .hero-copy h1 {
    font-size: 28px;
  }

  .brand {
    gap: 7px;
  }

  .brand-primary {
    font-size: 13px;
  }

  :lang(zh-CN) .site-header .brand-secondary {
    display: none;
  }

  .header-actions {
    gap: 4px;
  }

  .hero-metric dd {
    font-size: 11px;
  }
}

@media (max-width: 680px) {
  .rfq-form input,
  .rfq-form select,
  .rfq-form textarea,
  .search-field-wrap input {
    font-size: 16px;
  }
}
