@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2191, U+2193, U+2212;
}

/* ===== base.css ===== */
/* ==========================================================================
   Base Reset, Primitives, Shared Components & Accessibility
   ========================================================================== */
:root {
  --bg: #f6f7f8;
  --surface: #ffffff;
  --surface-alt: #eceff2;
  --ink: #0e1114;
  --ink-muted: #4b545e;
  --ink-subtle: #6b7480;
  --rule: #d6dce2;
  --accent: #c83e2b;
  --accent-hover: #a83222;
  --accent-ink: #ffffff;
  --radius: 0px;
  --radius-btn: 0px;
  --shadow: none;
  --font-display: "Space Grotesk", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", "Noto Sans SC", -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;
  -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: 16px;
  left: 16px;
  z-index: 200;
  clip-path: inset(50%);
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
}

.skip-link:focus {
  clip-path: none;
}

.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: 44px;
  height: 44px;
  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: var(--accent);
}

.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: 20px;
  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: 10px;
  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;
  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;
}

/* ---------- Shared Section Architecture ---------- */
.section {
  padding: 88px 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;
}

.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-subtitle {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.6;
  max-width: 50ch;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
  padding-top: 20px;
  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-caption {
  font-size: 11px;
  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-media {
  aspect-ratio: 16 / 9;
  background: #ffffff;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.03);
}

.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 {
  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: opacity 180ms ease, border-color 160ms ease;
}

.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;
  backdrop-filter: blur(4px);
}

.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: 16 / 10;
  overflow: hidden;
  background: var(--surface-alt);
}

.industry-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.industry-card:hover .industry-media img {
  transform: scale(1.03);
}

.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: 1.53;
  overflow: hidden;
  background: var(--surface-alt);
}

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

.qc-figure figcaption {
  padding: 12px 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-grid 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;
}

.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: 16 / 9;
  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: minmax(0, 1.15fr) minmax(0, 0.95fr);
  grid-template-areas: "intro photo" "specs photo";
  column-gap: 44px;
  align-items: start;
}

.detail-intro { grid-area: intro; }
.detail-grid .detail-main { grid-area: specs; }
.detail-grid .detail-figure { grid-area: photo; }

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

.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 img {
  width: 100%;
  height: auto;
}

.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(100dvh - 32px);
  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 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;
}

.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(100dvh - 70px);
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  }

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

  .primary-nav .nav-link,
  .primary-nav summary,
  .nav-dropdown li a,
  .dropdown-footer {
    min-height: 44px;
  }

  .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: minmax(0, 1fr);
  }

  .detail-grid:not(.detail-grid-single) {
    grid-template-areas: "intro" "photo" "specs";
    gap: 22px;
  }

  .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;
  }


  .product-grid,
  .catalog-cards,
  .qc-figures,
  .form-row,
  .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) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ===== theme-machined.css ===== */
/* ==========================================================================
   DIRECTION B: MACHINED STEEL & ELASTOMER (data-style="machined")
   Anodized obsidian header & studio-lit hero, alternating gunmetal & aluminum
   bands, chamfered 4px industrial cards, industrial safety copper accent
   ========================================================================== */
:root[data-style="machined"] {
  --bg: #f1f3f6;
  --surface: #ffffff;
  --surface-alt: #e4e8ee;
  --ink: #10141a;
  --ink-muted: #4b5563;
  --ink-subtle: #647080;
  --rule: #d0d6df;
  --accent: #ad430d;
  --accent-hover: #8c350a;
  --accent-on-dark: #ffab76;
  --accent-ink: #ffffff;
  --radius: 4px;
  --radius-btn: 4px;
  --font-body: system-ui, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font-body);
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --header-bg: #0f1318;
  --header-ink: #f2f5f8;
  --header-rule: #252d38;
  --footer-bg: #0b0e12;
  --footer-ink: #eef2f6;
  --footer-muted: #909ba8;
  --footer-rule: #1e252f;
}

:root[data-style="machined"] .utility-bar {
  background: #080a0d;
  border-bottom-color: #1c222b;
}

:root[data-style="machined"] .site-header {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

:root[data-style="machined"] .nav-dropdown {
  background: #141920;
  color: #eef2f6;
  border-color: #29323e;
}

:root[data-style="machined"] .nav-dropdown li a:hover {
  background: #1d242e;
}

:root[data-style="machined"] .nav-dropdown li strong {
  color: #ffffff;
}

:root[data-style="machined"] .nav-dropdown li small {
  color: #9ba6b5;
}

:root[data-style="machined"] .dropdown-footer {
  background: #0e1217;
  color: #ffffff;
  border-top-color: #29323e;
}

/* Factory photography and sourcing introduction */
.hero {
  background: #10151c;
  color: #f4f6f9;
  padding: clamp(34px, 4.4vw, 68px) 0 0;
  border-bottom: 1px solid #252d38;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 32px clamp(24px, 5vw, 80px);
}

.hero-copy h1 {
  max-width: 17ch;
  font-size: clamp(36px, 4.2vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

:lang(zh-CN) .hero-copy h1 {
  max-width: 9em;
  text-wrap: balance;
}

.hero-subtitle {
  color: #c2cbd6;
}

.hero .btn-secondary {
  background: #19202a;
  color: #ffffff;
  border-color: #526073;
}

.hero .btn-secondary:hover {
  background: #222d3b;
  border-color: #ffffff;
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #222c38;
  border-radius: 6px;
}

.hero-caption {
  color: #aab6c4;
  font-size: 12px;
}

.hero-metrics {
  grid-column: 1 / -1;
  margin-top: 0;
  padding: 20px 0 22px;
  border-top: 1px solid #344050;
}

.hero-metric dt {
  color: #aab6c4;
}

.hero-metric dd {
  color: #ffffff;
}

/* Products on Bead-Blasted Aluminum */
:root[data-style="machined"] .section-products {
  background: var(--bg);
}

:root[data-style="machined"] .product-card {
  box-shadow: 0 2px 10px rgba(16, 20, 26, 0.04);
}

:root[data-style="machined"] .product-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Materials on Deep Gunmetal Slate */
:root[data-style="machined"] .section-materials {
  background: #141920;
  color: #eef2f6;
}

:root[data-style="machined"] .section-materials .section-desc {
  color: #9ea9b7;
}

:root[data-style="machined"] .section-materials .text-link {
  color: #ffffff;
}

:root[data-style="machined"] .section-materials .filter-pill {
  background: #1c232d;
  color: #c6d0dc;
  border-color: #2d3745;
}

:root[data-style="machined"] .section-materials .filter-pill:hover {
  border-color: #ffffff;
  color: #ffffff;
}

:root[data-style="machined"] .section-materials .filter-pill.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

:root[data-style="machined"] .section-materials .material-card {
  background: #1b222c;
  border-color: #2b3543;
  color: #eef2f6;
}

:root[data-style="machined"] .section-materials .material-full,
:root[data-style="machined"] .section-materials .material-desc,
:root[data-style="machined"] .section-materials .material-mini-specs dt {
  color: #9aa5b4;
}

:root[data-style="machined"] .section-materials .material-mini-specs {
  border-top-color: #2b3543;
}

:root[data-style="machined"] .section-materials .material-mini-specs dd {
  color: #eef2f6;
}

/* Industry images sit above their descriptions to preserve detail and contrast. */
:root[data-style="machined"] .section-industries {
  background: var(--surface);
}

:root[data-style="machined"] .industry-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

:root[data-style="machined"] .industry-card {
  border-color: #283241;
  background: #151c25;
  color: #ffffff;
}

:root[data-style="machined"] .industry-media {
  aspect-ratio: 2 / 1;
  background: #202a36;
}

:root[data-style="machined"] .industry-body {
  padding: 20px 24px 24px;
}

:root[data-style="machined"] .industry-body .item-code,
:root[data-style="machined"] .industry-body p {
  color: #c1cddb;
}

:root[data-style="machined"] .industry-body .industry-tag {
  color: var(--accent-on-dark);
}

:root[data-style="machined"] .industry-body h3 {
  font-size: 22px;
  color: #ffffff;
}

/* Dark Heavy-Duty Manufacturing & QC Showcase */
:root[data-style="machined"] .section-manufacturing {
  background: #0f1318;
  color: #f1f4f8;
}

:root[data-style="machined"] .section-manufacturing .section-desc,
:root[data-style="machined"] .section-manufacturing .qc-copy > p {
  color: #a0abb8;
}

:root[data-style="machined"] .section-manufacturing .process-step {
  background: #171d26;
  border-color: #27313f;
  color: #f1f4f8;
}

:root[data-style="machined"] .section-manufacturing .process-step p {
  color: #9ba7b5;
}

:root[data-style="machined"] .section-manufacturing .qc-figure {
  background: #171d26;
  border-color: #2a3442;
}

:root[data-style="machined"] .section-manufacturing .qc-figure figcaption {
  color: #b4beca;
  border-top-color: #2a3442;
}

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

:root[data-style="machined"] .rfq-band {
  background: linear-gradient(135deg, #141921 0%, #1c2430 100%);
  border: 1px solid #2b3544;
}

@media (max-width: 1120px) {
  :root[data-style="machined"] .primary-nav {
    background: #12171e;
    color: #f2f5f8;
    border-bottom-color: #252d38;
  }
}

@media (max-width: 720px) {
  :root[data-style="machined"] .industry-grid {
    grid-template-columns: 1fr;
  }
}

/* Shared content and interaction refinements */
section[id], #quality-control {
  scroll-margin-top: 88px;
}

.text-link, .filter-pill, .lang-switch, .icon-btn {
  min-height: 44px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
}

.image-note {
  margin-top: 7px;
  font-size: 13px;
  color: var(--ink-muted);
}

.section-materials .image-note {
  color: #b4beca;
}

.product-body .product-spec {
  margin-top: auto;
  padding-top: 8px;
  font-size: 12px;
  color: var(--ink-muted);
}

[hidden] {
  display: none !important;
}

.nav-link:hover,
.nav-group summary:hover,
.lang-switch:hover,
.icon-btn:hover,
.section-manufacturing .step-num,
.section-manufacturing .qc-list svg {
  color: var(--accent-on-dark);
}

.hero :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible,
.section-materials :focus-visible,
.section-manufacturing :focus-visible,
.rfq-band :focus-visible {
  outline-color: var(--accent-on-dark);
}

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

.rfq-form input,
.rfq-form textarea,
.rfq-form select,
.search-field-wrap input {
  font-size: 16px;
}

:lang(zh-CN) .brand-primary,
:lang(zh-CN) .section-head h2 {
  letter-spacing: normal;
}

@media (max-width: 960px) {
  .product-grid,
  .catalog-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .hero-copy h1 {
    max-width: 17ch;
    font-size: clamp(32px, 8.6vw, 48px);
    text-wrap: wrap;
  }

  :lang(zh-CN) .hero-copy h1 {
    max-width: 9em;
  }

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

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

  .hero-actions .btn {
    min-height: 44px;
    padding: 10px 14px;
  }

  .hero-metrics {
    gap: 10px 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-metric:last-child {
    grid-column: 1 / -1;
  }

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

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

  .section {
    padding: 46px 0;
  }

  .section-head {
    gap: 12px;
  }

  .modal-shell {
    padding: 18px;
  }

  .header-inner,
  .header-actions {
    gap: 6px;
  }

  .header-inner {
    min-height: 62px;
  }

  .brand {
    gap: 7px;
  }

  .brand-glyph {
    width: 24px;
    height: 24px;
  }

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

  .brand-secondary {
    font-size: 9px;
  }
}


@media (max-width: 360px) {
  :lang(zh-CN) .brand-secondary {
    display: none;
  }
}
