/* MICRO website — direction A (white, precise, product-first) with B/C/D accents.
   Brand colours are sampled screen values pending client confirmation. */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0d345b;
  --magenta: #e70044;
  --magenta-dark: #c4003a;
  --grey: #5a5657;
  --ink: #0f2238;
  --text: #2a3443;
  --muted: #5c6676;
  --line: #e2e6ec;
  --line-strong: #c8d0da;
  --bg: #ffffff;
  --soft: #f4f6f8;
  --tile: #f1f3f5;
  --dark: #0a1119;
  --focus: 0 0 0 3px rgba(13, 52, 91, 0.28);
  --radius: 4px;
  --container: 1200px;
  --gutter: 24px;
  --section: 96px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--font);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--magenta-dark); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
h1, h2, h3 { color: var(--ink); font-weight: 650; line-height: 1.18; letter-spacing: -0.015em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); }
h3 { font-size: 1.125rem; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: calc(800px + 2 * var(--gutter)); }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: #fff; }
main:focus { outline: none; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: var(--radius); border: 1px solid transparent;
  font: 600 0.975rem/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--magenta); color: #fff; }
.btn-primary:hover { background: var(--magenta-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.text-link:hover .arrow, .card-link:hover .arrow { transform: translateX(3px); }
.arrow { display: inline-block; transition: transform .15s ease; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(140%) blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { height: 38px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-list > li { position: relative; }
.nav-list > li > a { display: block; padding: 10px 12px; color: var(--ink); font-weight: 500; font-size: 0.95rem; text-decoration: none; border-radius: var(--radius); }
.nav-list > li > a:hover { color: var(--magenta-dark); }
.nav-list > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--magenta); border-radius: 0; }
.sub-nav {
  position: absolute; left: 0; top: 100%; min-width: 270px; padding: 8px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(15, 34, 56, 0.12);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.has-sub:hover .sub-nav, .has-sub:focus-within .sub-nav { opacity: 1; visibility: visible; transform: none; }
.sub-nav a { display: block; padding: 9px 12px; color: var(--text); text-decoration: none; border-radius: var(--radius); font-size: 0.95rem; }
.sub-nav a:hover, .sub-nav a[aria-current="page"] { background: var(--soft); color: var(--ink); }
.nav-toggle { display: none; }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero-copy { max-width: 860px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--grey); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 18px; height: 3px; background: var(--magenta); }
.lead { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); color: var(--muted); max-width: 64ch; }
.hero-media { margin-top: 44px; }
.hero-media img { width: 100%; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; border-top: 1px solid var(--line); margin-top: 36px; }
.facts li { padding: 22px 20px 4px 0; display: flex; flex-direction: column; gap: 4px; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts strong { color: var(--ink); font-size: 1.35rem; font-weight: 650; letter-spacing: -0.01em; }
.facts span { color: var(--muted); font-size: 0.9rem; line-height: 1.4; }

/* Sections */
.section { padding: var(--section) 0; }
.section-tight { padding: 48px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head .lead { margin-bottom: 0; }
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.split-head .section-head { margin-bottom: 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.framed { background: var(--tile); border-radius: var(--radius); overflow: hidden; }
.framed img { width: 100%; }
.wide-media img { width: 100%; border-radius: var(--radius); }
.note { color: var(--muted); margin-top: 32px; }
.fine { color: var(--muted); font-size: 0.9rem; }

/* Cards (C: uniform product grid) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease; }
.card:hover { border-color: var(--line-strong); box-shadow: 0 10px 30px rgba(15, 34, 56, 0.08); }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-link:hover { color: inherit; }
/* The card clips its contents, so the keyboard focus ring is drawn on the card itself. */
.card-link:focus-visible { outline: none; }
.card:has(.card-link:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }
.card-media { aspect-ratio: 1 / 1; background: var(--tile); overflow: hidden; }
.card-media.wide { aspect-ratio: 16 / 9; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card:hover .card-media img { transform: scale(1.025); }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 1.15rem; margin-bottom: 8px; }
.card-body p { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }
.card-more { margin-top: auto; color: var(--navy); font-weight: 600; font-size: 0.92rem; }
.page-home .section-soft .card { background: #fff; }
.card-grid.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card.featured { grid-column: span 2; }
.product-card.featured .card-media { aspect-ratio: 2 / 1; background: #fff; }
.product-card.featured .card-title { font-size: 1.35rem; }

/* Process (B: real manufacturing) */
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; counter-reset: step; }
.process-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.process-card figure { aspect-ratio: 3 / 2; overflow: hidden; background: var(--tile); }
.process-card figure img { width: 100%; height: 100%; object-fit: cover; }
.process-card > div { padding: 18px 18px 20px; }
.process-card p { color: var(--muted); font-size: 0.93rem; margin: 0; }
.step-no { display: block; color: var(--magenta); font-weight: 650; font-size: 0.85rem; letter-spacing: 0.04em; margin-bottom: 6px; }
.process-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.process-row { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 24px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.process-row.no-media { grid-template-columns: minmax(0, 1fr); }
.process-row figure { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--tile); }
.process-row figure img { width: 100%; height: 100%; object-fit: cover; }
.process-row p { color: var(--muted); max-width: 60ch; margin: 0; }

/* Detail band (D: one dark metal close-up) */
.detail-band { background: var(--dark); color: #e9edf2; }
.detail-band-inner { position: relative; }
.detail-media img { width: 100%; max-height: 640px; object-fit: cover; }
.detail-band.compact .detail-media img { max-height: 520px; object-position: center 40%; }
.detail-copy { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 48px; pointer-events: none; }
.detail-copy h2, .detail-copy p { max-width: 520px; pointer-events: auto; }
.detail-copy h2 { color: #fff; }
.detail-copy p { color: #e9edf2; margin: 0; }
.detail-band-inner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 17, 25, 0.85) 0%, rgba(10, 17, 25, 0.55) 42%, rgba(10, 17, 25, 0) 70%); pointer-events: none; }
.detail-band.compact .detail-band-inner::after { display: none; }
.detail-copy { z-index: 1; }

/* Quality */
.cert-chips { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 8px 0 20px; }
.cert-chip { display: flex; flex-direction: column; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; min-width: 170px; }
.cert-chip strong { color: var(--ink); }
.cert-chip span { color: var(--muted); font-size: 0.85rem; }
.cert-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cert-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; }
.cert-image { display: block; border: 1px solid var(--line); align-self: start; }
.cert-card h3 { margin-bottom: 2px; }
.cert-topic { color: var(--muted); font-size: 0.9rem; margin-bottom: 12px; }
.meta-list { margin: 0; display: grid; gap: 10px; }
.meta-list div { display: grid; gap: 2px; }
.meta-list dt { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.meta-list dd { margin: 0; color: var(--ink); font-size: 0.95rem; overflow-wrap: anywhere; }
.feature-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.feature-list li { padding: 24px 0; border-top: 1px solid var(--line); }
.feature-list h2 { font-size: 1.2rem; }
.feature-list p { color: var(--muted); margin: 0; }
.dot-list { list-style: none; display: grid; gap: 8px; }
.dot-list li { padding-left: 18px; position: relative; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 6px; height: 6px; background: var(--navy); }
.thumb-row { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.thumb-row img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.two-col.lab { align-items: start; }

/* Applications */
.app-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); column-gap: 40px; border-top: 1px solid var(--line); }
.app-list li { border-bottom: 1px solid var(--line); }
.app-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 4px; color: var(--ink); font-weight: 550; text-decoration: none; }
.app-list a:hover { color: var(--magenta-dark); }
.app-list.compact { grid-template-columns: 1fr; }
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.app-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; scroll-margin-top: 96px; }
.app-card figure { aspect-ratio: 16 / 7; background: #fff; overflow: hidden; border-bottom: 1px solid var(--line); }
.app-card figure img { width: 100%; height: 100%; object-fit: cover; }
.app-card > div { padding: 22px 24px 24px; }
.app-card h2 { font-size: 1.3rem; }
.app-card p { color: var(--muted); margin: 0; }

/* RFQ band */
.rfq-band { background: var(--soft); border-top: 1px solid var(--line); }
.rfq-band-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.rfq-band-copy h2 { margin-bottom: 24px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: rfq; }
.steps li { counter-increment: rfq; padding-top: 18px; border-top: 2px solid var(--navy); }
.steps li::before { content: counter(rfq, decimal-leading-zero); display: block; color: var(--magenta); font-weight: 650; font-size: 0.85rem; margin-bottom: 8px; }
.steps h3 { font-size: 1.02rem; }
.steps p { color: var(--muted); font-size: 0.93rem; margin: 0; overflow-wrap: anywhere; }

/* Inner pages */
.page-head { padding: 40px 0 8px; }
.page-head h1 { margin-top: 14px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.meta { color: var(--muted); font-size: 0.9rem; }
.product-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; margin-top: 8px; }
.product-hero-media { background: #fff; }
.product-hero-media img { width: 100%; }
.check-list { list-style: none; display: grid; gap: 10px; margin-top: 8px; }
.check-list li { position: relative; padding-left: 28px; color: var(--text); }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 12px; height: 7px; border-left: 2px solid var(--magenta); border-bottom: 2px solid var(--magenta); transform: rotate(-45deg); }
.prose { max-width: 68ch; }
.prose p, .prose ul { margin-bottom: 1em; }
.prose ul { list-style: none; display: grid; gap: 6px; }
.prose ul li { position: relative; padding-left: 18px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; background: var(--navy); }
.prose h2 { font-size: 1.35rem; margin-top: 1.4em; }
/* Article bodies written in JHClaw (Markdown) */
.prose ol { margin: 0 0 1em; padding-left: 1.4em; display: grid; gap: 6px; }
.prose h3 { margin-top: 1.2em; }
.prose h4 { color: var(--ink); font-size: 1rem; margin: 1.2em 0 0.4em; }
.prose blockquote { margin: 0 0 1em; padding: 4px 0 4px 18px; border-left: 3px solid var(--line-strong); color: var(--muted); }
.prose code { font-size: 0.9em; background: var(--soft); padding: 1px 5px; border-radius: 3px; }
.prose pre { overflow-x: auto; background: var(--soft); padding: 14px 16px; border-radius: var(--radius); margin: 0 0 1em; }
.prose pre code { background: none; padding: 0; }
.prose img { margin: 0 0 1em; border: 1px solid var(--line); }
.article-answer { font-size: 1.1rem; color: var(--ink); border-left: 3px solid var(--magenta); padding-left: 16px; margin-bottom: 1.5em; max-width: 68ch; }
.source-list { list-style: none; display: grid; gap: 6px; color: var(--muted); font-size: 0.95rem; overflow-wrap: anywhere; }
.prose-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; }
.prose-block { scroll-margin-top: 96px; }
.prose-block.has-media { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 48px; align-items: center; }
.faq-wrap { max-width: 800px; }
.wide-media.crop img { aspect-ratio: 21 / 9; object-fit: cover; }
.prose-block h2 { font-size: 1.35rem; }
.gallery { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gallery li { aspect-ratio: 1 / 1; background: var(--tile); border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.spec-table { margin: 0; border-top: 1px solid var(--line); }
.spec-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-row dt { color: var(--muted); }
.spec-row dd { margin: 0; display: grid; gap: 2px; }
.spec-value { color: var(--ink); font-weight: 600; }
.spec-note { color: var(--muted); font-size: 0.85rem; }
.spec-footnote { color: var(--muted); font-size: 0.88rem; margin-top: 14px; }
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; color: var(--ink); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-70%) rotate(45deg); transition: transform .15s ease; }
.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-answer { padding: 0 0 16px; color: var(--muted); }
.info-panel { background: var(--soft); border-radius: var(--radius); padding: 24px; }
.info-panel h2 { font-size: 1.1rem; }
.info-panel + .info-panel { margin-top: 16px; }
.link-list { list-style: none; display: grid; gap: 8px; margin-top: 12px; }
.resources-empty { max-width: 64ch; }
.resources-empty > p { color: var(--muted); margin-bottom: 4px; }
.table-wrap { overflow-x: auto; margin: 0 0 1.5em; }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.table-wrap th, .table-wrap td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap caption { text-align: left; color: var(--muted); padding-bottom: 8px; }

/* Contact and inquiry form */
.contact-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; align-items: start; }
.form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: #fff; }
.rfq-form fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.rfq-form legend { color: var(--ink); font-weight: 650; font-size: 1.1rem; margin-bottom: 16px; padding: 0; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: grid; gap: 6px; align-content: start; }
.field-wide { grid-column: 1 / -1; }
.field label { color: var(--ink); font-weight: 550; font-size: 0.93rem; }
.req { color: var(--magenta); }
.opt { color: var(--muted); font-weight: 400; font-size: 0.85rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--font);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: var(--focus); }
.field [aria-invalid="true"] { border-color: var(--magenta); }
.field .error { color: var(--magenta-dark); font-size: 0.85rem; margin: 0; }
.hint { color: var(--muted); font-size: 0.85rem; margin: 0; }
.optional-group { border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; margin-bottom: 24px; }
.optional-group summary { cursor: pointer; padding: 16px 0; color: var(--navy); font-weight: 600; }
.optional-group[open] { padding-bottom: 20px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { color: var(--muted); font-size: 0.88rem; }
.form-actions { margin-top: 8px; }
.form-actions .btn[disabled] { opacity: 0.6; cursor: progress; }
.form-status:empty { display: none; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid #f3b8c8; background: #fff3f6; color: #7a0024; }
.form-status:focus { outline: none; }
.form-error { color: var(--magenta-dark); }
.form-success { padding: 8px 0; scroll-margin-top: 40px; }
.form-success .ref { color: var(--ink); font-size: 1.15rem; letter-spacing: 0.02em; }
.form-success:focus { outline: none; }
.turnstile-slot { margin: 8px 0 16px; }
.small-steps { padding-left: 20px; display: grid; gap: 8px; color: var(--text); }
.contact-aside .btn { white-space: normal; text-align: center; }

/* Footer */
.site-footer { background: var(--soft); border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: 0.93rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 2fr) minmax(0, 3fr); gap: 40px; }
.footer-brand img { height: 34px; width: auto; margin-bottom: 18px; }
.footer-certs { color: var(--ink); font-weight: 550; }
.footer-col h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a { color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; }
.footer-col address { font-style: normal; margin-bottom: 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--muted); }

/* Responsive */
@media (max-width: 1100px) {
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  :root { --section: 64px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px;
    border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; color: var(--ink); font: 600 0.95rem var(--font); cursor: pointer;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform .15s ease; }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -6px; }
  .nav-toggle-bar::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; flex-direction: column; align-items: stretch; gap: 12px; max-height: calc(100vh - 76px); overflow-y: auto; box-shadow: 0 16px 32px rgba(15, 34, 56, 0.08); }
  .site-header.nav-open .site-nav, .no-js .site-nav { display: flex; }
  .no-js .site-nav { position: static; box-shadow: none; }
  .no-js .nav-toggle { display: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-list > li > a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--magenta); padding-left: 12px; }
  .sub-nav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 12px; min-width: 0; }
  .sub-nav a { padding: 10px 8px; }
  .nav-cta { width: 100%; }
  .two-col, .product-hero, .contact-grid, .rfq-band-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .prose-grid, .feature-list, .app-grid, .process-list { grid-template-columns: minmax(0, 1fr); }
  .prose-block.has-media { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .card-grid.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-copy { position: static; padding: 28px var(--gutter) 40px; }
  .detail-band-inner::after { display: none; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --section: 56px; }
  .header-inner { min-height: 64px; }
  .site-nav { max-height: calc(100vh - 64px); }
  .brand img { height: 30px; }
  .hero { padding-top: 36px; }
  .hero-media { margin-top: 28px; }
  .split-head { flex-direction: column; align-items: flex-start; }
  .process-grid, .steps, .field-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-grid.products { grid-template-columns: minmax(0, 1fr); }
  .product-card.featured { grid-column: auto; }
  .process-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .wide-media.crop img { aspect-ratio: 4 / 3; }
  .cert-card { grid-template-columns: 84px minmax(0, 1fr); padding: 16px; }
  .form-card { padding: 20px 16px; }
  .facts strong { font-size: 1.15rem; }
  .thumb-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .actions .btn { width: 100%; }
  .spec-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
