/* Wiremora · component styles shared by the four catalogue pages. */
:root {
  --ink: #0f2740;
  --muted: #4d6274;
  --accent: #1d5bd6;
  --accent-dark: #15499d;
  --orange: #e68a42;
  --surface: #edf1f5;
  --paper: #fff;
  --pale: #f7f9fb;
  --line: #d4dee6;
  --dark-line: #36516a;
  --canvas: 1320px;
  --gutter: clamp(20px, 4.45vw, 68px);
  --section: clamp(50px, 5.2vw, 78px);
  --radius: 6px;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
:lang(zh-CN), :lang(ja) { line-break: strict; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button, select, summary { cursor: pointer; }
button { background: transparent; }
a, button, summary, input, textarea, select { -webkit-tap-highlight-color: rgb(29 91 214 / .12); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, ol, ul, dl, dd { margin: 0; }
h1, h2, h3 { color: inherit; font-weight: 680; line-height: 1.15; overflow-wrap: break-word; }
h1 { font-size: clamp(36px, 4.15vw, 62px); letter-spacing: -.058em; }
h2 { font-size: clamp(26px, 2.75vw, 41px); letter-spacing: -.045em; }
h3 { font-size: 19px; letter-spacing: -.023em; }
:lang(zh-CN):is(h1,h2,h3), :lang(ja):is(h1,h2,h3) { letter-spacing: -.025em; line-height: 1.23; }
img { display: block; width: 100%; height: auto; }
main { width: min(var(--canvas), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 101; background: white; color: var(--accent); padding: 10px; }
.eyebrow, .guide-kicker, .reference-code {
  font: 650 11px/1.4 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--accent-dark);
}
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow::before { content: ""; width: 19px; height: 2px; flex: none; background: var(--orange); }
.eyebrow-line { display: none; }
.intro, .muted, .fine { color: var(--muted); }
.intro { font-size: clamp(15px, 1.2vw, 18px); line-height: 1.55; }
.fine { font-size: 12px; }
.button, .text-link, .buyer-rfq { display: inline-flex; align-items: center; gap: 8px; }
.button {
  justify-content: center; min-height: 44px; padding: 11px 19px; border: 1px solid transparent;
  border-radius: 4px; background: var(--accent); color: white; font-size: 14px; font-weight: 680; line-height: 1.25;
}
.button:hover { background: var(--accent-dark); }
.button-outline { color: var(--ink); border-color: #a6b6c3; background: transparent; }
.button-outline:hover { color: var(--accent); border-color: var(--accent); background: var(--pale); }
.button-light { background: white; color: var(--ink); }
.button-light:hover { background: var(--surface); }
button:disabled { opacity: .5; cursor: default; }
.text-link, .buyer-rfq {
  padding: 0; border: 0; color: var(--accent-dark); font-size: 14px;
  line-height: 1.4; font-weight: 650; text-underline-offset: 3px;
}
.text-link:hover, .buyer-rfq:hover, .footer-download a:hover { text-decoration: underline; }

/* Header and global page titles */
#site-shell {
  position: sticky; top: 0; z-index: 20;
  background: rgb(255 255 255 / .96);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(12px);
}
.site-header {
  width: min(var(--canvas), calc(100% - 2 * var(--gutter)));
  min-height: 75px; margin-inline: auto; display: flex; align-items: center; gap: clamp(15px, 1.8vw, 32px);
}
.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; font-size: 24px; font-weight: 730; line-height: 1; letter-spacing: -.055em; }
.brand small { display: block; margin-top: 5px; font-size: 8.5px; letter-spacing: .065em; font-weight: 620; color: var(--muted); line-height: 1.2; }
.brand-mark { display: inline-flex; align-items: center; gap: 3px; width: 27px; height: 29px; }
.brand-mark i { width: 6px; height: 24px; border-radius: 2px; transform: skewY(-28deg); background: var(--accent); }
.brand-mark i:nth-child(2) { height: 16px; background: var(--ink); }
.brand-mark i:last-child { height: 24px; background: var(--orange); }
.site-header nav { display: flex; align-items: center; justify-content: center; align-self: stretch; gap: clamp(12px, 1.65vw, 28px); margin-left: auto; }
.site-header nav a {
  position: relative; display: flex; align-items: center; font-size: 14px;
  line-height: 1.2; font-weight: 580; text-align: center;
}
.site-header nav a[aria-current="page"], .site-header nav a:hover { color: var(--accent); }
.site-header nav a[aria-current="page"]::after { content: ""; position: absolute; bottom: 0; height: 3px; left: 0; right: 0; background: var(--accent); }
.language { display: inline-flex; align-items: center; gap: 4px; }
.language > span:first-child { color: var(--muted); font-size: 15px; }
.language select, #dialog-language {
  min-height: 36px; border: 0; background: transparent; max-width: 95px;
  font-size: 13px; line-height: 1.3;
}
.header-rfq {
  display: inline-flex; justify-content: center; align-items: center; gap: 6px; border-radius: 4px;
  background: var(--accent); color: white; padding: 10px 15px; min-height: 40px;
  font-size: 13px; line-height: 1.2; font-weight: 680; text-align: center;
}
.header-rfq:hover { background: var(--accent-dark); }
.page-heading { padding: clamp(30px, 3.4vw, 54px) 0 27px; max-width: 850px; }
.page-heading h1 { margin-top: 12px; }
.page-heading .intro { margin-top: 13px; max-width: 68ch; }
.section { padding-block: var(--section); }
.section-heading, .buyer-guide-heading {
  display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px;
}
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading p:not(.eyebrow) { margin-top: 10px; color: var(--muted); max-width: 68ch; }
.section-heading > a { flex: none; }

/* Home: original hero artwork framed as one catalogue spread. */
.hero {
  display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  margin-top: clamp(18px, 2.25vw, 34px); background: var(--ink); color: white;
  border: 1px solid var(--ink); overflow: hidden; border-radius: var(--radius);
}
.hero-copy { padding: clamp(25px,3.6vw,58px); align-self: center; min-width: 0; }
.hero .eyebrow, .cta-band .eyebrow { color: #c1d8fa; }
.hero h1 { margin-top: 18px; font-size: clamp(37px,4.25vw,67px); line-height: 1.01; letter-spacing: -.065em; white-space: pre-line; }
.hero .intro { max-width: 45ch; margin-top: 17px; color: #d3dfe9; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.hero-actions .button { background: white; color: var(--ink); border-color: white; }
.hero-actions .button:hover { background: #e4edfb; }
.hero-actions .button-outline { background: transparent; color: white; border-color: #698096; }
.hero-actions .button-outline:hover { border-color: white; background: #1c3c59; }
.hero-copy .text-link { margin-top: 10px; color: #c3d8ee; font-size: 12px; }
.hero-photo { display: grid; min-width: 0; align-content: center; background: #c5cbd2; position: relative; overflow: hidden; }
.hero-photo > img { width: 100%; aspect-ratio: 1.57; height: 100%; object-fit: contain; }
.hero-photo-caption {
  position: absolute; bottom: 13px; left: 15px; right: 15px; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 7px 11px; background: rgb(255 255 255/.93); color: var(--ink); border-radius: 3px;
  width: fit-content; max-width: calc(100% - 30px); font: 600 11px/1.3 var(--mono);
}
.capability-strip {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr));
  border: 1px solid var(--line); border-radius: var(--radius); margin-top: 14px; background: var(--pale);
}
.capability-strip > div { display: grid; align-content: center; min-width: 0; padding: 16px clamp(14px,2.1vw,32px); }
.capability-strip > div + div { border-left: 1px solid var(--line); }
.capability-strip strong { display: block; color: var(--ink); font-size: clamp(19px,2vw,30px); line-height: 1.13; letter-spacing: -.045em; overflow-wrap: anywhere; }
.capability-strip span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.industry-tags { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 13px; font-size: 12px; color: var(--muted); }
.industry-tags > :first-child { color: var(--ink); font-weight: 650; }
.industry-tags > :not(:first-child) { padding-left: 10px; border-left: 1px solid var(--line); }
.service-promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 13px 25px; margin-block: 22px; }
.service-promises > div { border-inline-start: 2px solid var(--orange); padding-inline-start: 12px; }
.service-promises dt { color: var(--ink); font-size: 19px; font-weight: 700; line-height: 1.2; }
.service-promises dd { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.contact-aside .service-promises { grid-template-columns: 1fr; margin: 0 0 19px; }
.category-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.category-card, .product-card, .buyer-card {
  min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius);
  background: white;
}
.category-card { display: flex; flex-direction: column; }
.category-photo, .product-photo, .project-reference-photo, .modal-photo > img { background: var(--surface); }
.category-photo img { aspect-ratio: 1.6; object-fit: contain; mix-blend-mode: multiply; }
.category-caption { flex: 1; display: flex; flex-direction: column; align-items: start; gap: 8px; justify-content: space-between; padding: 14px 16px; border-top: 1px solid var(--line); }
.category-caption h3 { font-size: clamp(15px,1.25vw,19px); line-height: 1.33; }
.category-action { color: var(--accent-dark); display: inline-flex; align-items: baseline; gap: 5px; font-size: 12px; font-weight: 640; }
.category-action i { font-style: normal; }
.company-profile, .factory-overview, .precision-options, .buyer-guide { padding-block: var(--section); border-top: 1px solid var(--line); }
.company-profile-heading h2 { margin-block: 10px; }
.company-profile { display: grid; grid-template-columns: 1.15fr .85fr; gap: 23px 6%; align-items: start; }
.company-profile-name, .company-identity { font-weight: 680; color: var(--ink); }
.company-profile-heading .company-profile-name { font-size: clamp(18px,1.7vw,24px); line-height: 1.3; }
.company-profile-intro { margin-top: 12px; color: var(--muted); }
.workshop-image { overflow: hidden; background: var(--pale); border: 1px solid var(--line); border-radius: var(--radius); }
.workshop-image img { aspect-ratio: 2.25; object-fit: contain; }
figcaption, .image-caption { font-size: 12px; color: var(--muted); line-height: 1.45; }
.workshop-image figcaption, .inspection-image figcaption, .factory-overview figcaption { padding: 9px 13px; background: white; border-top: 1px solid var(--line); }
.company-profile-link { margin-top: 14px; }

/* Product index, filters and detail controls */
.catalog-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.catalog-heading > a { flex: none; }
.catalog-layout {
  display: grid; grid-template-columns: clamp(175px,15.5vw,230px) minmax(0,1fr);
  gap: clamp(18px,2.1vw,32px); align-items: start; padding-bottom: var(--section);
}
.catalog-filters { min-width: 0; padding: 18px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--pale); }
.catalog-filters h2 { margin: 0 7px 12px; font-size: 16px; letter-spacing: -.01em; }
.filter-buttons { display: grid; gap: 3px; }
.filter-buttons button {
  min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border: 1px solid transparent; border-radius: 3px; text-align: left; padding: 9px 7px;
  font-size: 13px; line-height: 1.35; font-weight: 540;
}
.filter-buttons button span { font: 600 11px/1.3 var(--mono); color: var(--muted); }
.filter-buttons button:hover { color: var(--accent-dark); background: #e8eef5; }
.filter-buttons button[aria-pressed="true"] { background: var(--ink); color: white; }
.filter-buttons button[aria-pressed="true"] span { color: #d5e2ef; }
.catalog-note, .guide-hint { font-size: 12px; color: var(--muted); }
.catalog-note { padding: 13px 7px 0; }
.catalog-content { min-width: 0; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.catalog-toolbar label { flex: 1; max-width: 520px; }
.catalog-toolbar input { width: 100%; border: 1px solid var(--line); border-radius: 4px; padding: 10px 14px; background: var(--pale); font-size: 15px; }
#result-count { color: var(--muted); font: 550 12px/1.35 var(--mono); }
.category-guide-slot { margin-bottom: 15px; }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.product-card { display: flex; flex-direction: column; }
.product-photo { display: block; position: relative; border-bottom: 1px solid var(--line); }
.product-photo img { aspect-ratio: 1.6; object-fit: contain; mix-blend-mode: multiply; }
.product-code, .product-meta > :first-child, .reference-code { font: 650 12px/1.3 var(--mono); }
.product-code {
  position: absolute; left: 10px; top: 10px; z-index: 1; border-radius: 2px;
  padding: 4px 7px; background: var(--ink); color: white; letter-spacing: .04em;
}
.product-caption { flex: 1; display: flex; flex-direction: column; padding: 16px; }
.product-caption h2 { font-size: clamp(17px,1.35vw,21px); line-height: 1.24; letter-spacing: -.031em; }
.product-caption h2 a:hover { color: var(--accent-dark); }
.product-meta { display: flex; align-items: center; gap: 9px; color: var(--accent-dark); font: 550 11px/1.4 var(--mono); margin-bottom: 9px; }
.product-caption p { color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 9px; }
.product-caption .product-alt-title { color: var(--muted); font-size: 12px; line-height: 1.35; margin-top: 4px; }
.product-actions {
  display: flex; align-items: stretch; justify-content: space-between; flex-wrap: wrap; gap: 5px 10px;
  margin-top: auto; padding-top: 13px; color: var(--accent-dark);
}
.product-card > .product-actions { padding: 0 16px 14px; }
.product-actions a { display: inline-flex; align-items: center; min-height: 34px; font-size: 12px; font-weight: 650; text-underline-offset: 3px; }
.product-actions a:hover { text-decoration: underline; }
.product-actions a:last-child { color: var(--accent-dark); }
.empty { display: grid; place-items: center; gap: 12px; min-height: 160px; color: var(--muted); background: var(--pale); }
.empty button, .brief-actions button { padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; background: white; }
.category-guide, .precision-options-list details, .buyer-details, .image-details { border-top: 1px solid var(--line); }
.category-guide summary, .precision-options-list summary, .buyer-details summary, .image-details summary {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0;
  color: var(--ink); font-size: 14px; font-weight: 650; list-style: none;
}
summary::-webkit-details-marker { display: none; }
.precision-options-list summary::after, .buyer-details summary::after, .image-details summary::after { content: "+"; font: 18px var(--mono); color: var(--accent-dark); }
details[open] > summary::after { content: "−"; }
.disclosure-icon { margin-left: auto; font: 18px/1 var(--mono); color: var(--accent-dark); }
details[open] > summary .disclosure-icon { transform: rotate(45deg); }
.guide-intro, .guide-grid dd, .precision-options p, .buyer-card-copy > p { color: var(--muted); font-size: 14px; }
.guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px 20px; margin: 12px 0 15px; }
.guide-grid dt, .buyer-specs dt { font-weight: 650; font-size: 13px; }
.buyer-guide-heading > a, .buyer-collections a { color: var(--accent-dark); font-size: 14px; font-weight: 630; }
.buyer-collections { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.buyer-collections a { border: 1px solid var(--line); border-radius: 3px; padding: 8px 13px; }
.buyer-collections a[aria-current="true"] { color: white; background: var(--ink); border-color: var(--ink); }
.buyer-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.buyer-drawing { padding: 10px; background: var(--surface); }
.buyer-drawing img { aspect-ratio: 2.15; object-fit: contain; }
.buyer-drawing figcaption { font: 11px var(--mono); padding: 3px 4px; }
.buyer-card-copy { padding: 18px; }
.buyer-card-copy > p { margin: 7px 0 12px; }
.buyer-specs { display: grid; gap: 10px; margin-bottom: 12px; }
.buyer-specs dt span { color: var(--accent-dark); font: 11px var(--mono); }
.buyer-specs dd { color: var(--muted); font-size: 13px; }
.precision-options { display: grid; grid-template-columns: 1fr 1.15fr; gap: 6%; }
.precision-options header p { margin-top: 12px; }
.precision-options-list details { padding: 3px 0; }
.precision-options-list a { margin-block: 10px; }

/* Quoting and engineering pages */
.quality-top, .checks, .project-entry {
  display: grid; gap: clamp(22px,3.2vw,52px); align-items: start;
}
.quality-top { grid-template-columns: 1.07fr .93fr; }
.specs > h2 { margin-bottom: 16px; font-size: clamp(22px,2vw,31px); }
.process-spec-grid {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px;
  border: 1px solid var(--line); background: var(--line); border-radius: var(--radius); overflow: hidden;
}
.process-spec-grid article { padding: clamp(15px,1.5vw,23px); background: var(--pale); }
.process-spec-grid h3 { font-size: clamp(16px,1.42vw,22px); }
.process-spec-grid p, .process li p, .check-list p { margin-top: 7px; color: var(--muted); font-size: 14px; }
.quality-image, .inspection-image, .factory-overview figure { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--pale); }
.quality-image > img { background: var(--surface); aspect-ratio: 1.85; object-fit: contain; mix-blend-mode: multiply; }
.quality-image .image-details { padding-inline: 14px; background: white; }
.image-details summary { font-size: 12px; }
.image-details-content { font-size: 13px; color: var(--muted); padding-bottom: 14px; }
.image-details-content p + p { margin-top: 5px; }
.image-details-content a { color: var(--accent-dark); }
.process ol { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); margin-top: 26px; }
.process li { position: relative; padding: 0 14px 0 0; }
.process li > span {
  position: relative; z-index: 1; display: grid; place-items: center; margin-bottom: 14px;
  width: 34px; height: 34px; border: 1px solid var(--ink); border-radius: 5px;
  background: white; color: var(--ink); font: 650 13px/1 var(--mono);
}
.process li:first-child > span { background: var(--ink); color: white; }
.process li:not(:last-child)::after { content: ""; position: absolute; height: 1px; top: 16px; left: 34px; right: 0; background: #a4b8c8; }
.process li h3, .check-list h3 { font-size: 17px; line-height: 1.3; }
.checks { grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); padding-block: var(--section); align-items: center; }
.checks-copy h2 { margin: 10px 0 14px; }
.checks-copy > p:not(.eyebrow) { color: var(--muted); }
.check-list { margin-top: 19px; }
.check-list article { display: flex; gap: 11px; padding-block: 10px; border-top: 1px solid var(--line); }
.check-list article > span { color: var(--accent-dark); font-weight: 700; }
.inspection-image img, .factory-overview figure img { max-height: 460px; aspect-ratio: auto; object-fit: contain; background: white; }
.project-entry { grid-template-columns: minmax(0,.73fr) minmax(0,1.27fr); padding-bottom: var(--section); }
.contact-aside, .project-start { min-width: 0; }
.project-reference {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: white; padding: clamp(16px,1.65vw,25px);
}
.project-reference-photo { display: block; margin-block: 12px 14px; border-radius: 3px; overflow: hidden; }
.project-reference-photo img { object-fit: contain; aspect-ratio: 1.9; mix-blend-mode: multiply; }
.reference-code { display: inline-block; margin-bottom: 7px; background: var(--surface); color: var(--ink); padding: 3px 7px; }
.project-reference h2 { font-size: 22px; letter-spacing: -.025em; }
.project-reference > p:not(.eyebrow,.reference-code), .project-start > p { margin-block: 7px 13px; font-size: 14px; color: var(--muted); }
.project-next { padding: 21px 2px 0; }
.project-next h2 { font-size: 21px; }
.project-steps { display: grid; gap: 8px; margin-block: 12px 18px; list-style: none; padding: 0; }
.project-steps li { display: flex; gap: 9px; align-items: baseline; font-size: 14px; color: var(--muted); }
.project-steps li > span { color: var(--accent-dark); font: 650 12px var(--mono); }
.contact-route { padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.contact-route p + p { margin-top: 5px; }
.contact-route a { color: var(--accent-dark); overflow-wrap: anywhere; }
.response-note { font-size: 13px; color: var(--muted); }
.project-start { padding: clamp(20px,2.45vw,38px); background: var(--pale); border: 1px solid var(--line); border-radius: var(--radius); }
.project-start > h2 { font-size: clamp(24px,2.1vw,32px); }
.quote-fields { display: grid; gap: 13px; margin-top: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.quote-fields label, .materials-options legend { font-size: 13px; line-height: 1.4; font-weight: 650; }
.quote-fields input:not([type="checkbox"]), .quote-fields textarea, #brief-output {
  display: block; width: 100%; margin-top: 5px; border: 1px solid #adbdca; border-radius: 4px;
  background: white; padding: 10px 12px; min-height: 43px; font: 400 15px/1.45 var(--sans);
}
.quote-fields input::placeholder, .quote-fields textarea::placeholder { color: #627789; }
.quote-fields textarea, #brief-output { resize: vertical; }
.quote-fields fieldset { min-width: 0; margin: 0; }
.materials-options { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 12px; padding: 0; border: none; }
.materials-options legend { padding: 0; margin-bottom: 7px; }
.materials-options label { display: inline-flex; align-items: center; gap: 5px; font-weight: 470; color: var(--muted); cursor: pointer; min-height: 28px; }
.materials-options input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.quote-fields .button, #prepare-brief { justify-self: start; }
#prepare-brief { font-size: 12px; font-weight: 550; color: var(--muted); }
#inquiry-status { background: var(--paper); color: var(--ink); padding: 9px 12px; border-left: 3px solid var(--accent); font-size: 14px; }
.brief-panel { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.brief-panel > * + * { margin-top: 9px; }
.brief-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.brief-actions button { min-height: 36px; font-size: 12px; }
.brief-actions a, #brief-status { font-size: 13px; }

/* Supporting documents, footer and product dialogue */
.download-band { display: grid; grid-template-columns: 60px minmax(0,1fr) auto; align-items: center; gap: 22px; padding-block: 30px; border-top: 1px solid var(--line); }
.download-band h2 { margin: 5px 0; font-size: clamp(22px,2vw,31px); }
.download-band p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.catalogue-thumbnail {
  display: grid; align-content: space-between; min-height: 76px; padding: 8px;
  background: var(--ink); color: white; border-radius: 2px; border-bottom: 5px solid var(--orange);
}
.catalogue-thumbnail > span { font: 8px var(--mono); }
.catalogue-thumbnail b { font: 650 15px var(--mono); }
.download-actions { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 5px 15px; justify-content: end; max-width: 350px; }
.download-actions .text-link { font-size: 12px; min-height: 30px; }
.download-actions > .button { font-size: 12px; min-height: 32px; padding: 6px 10px; }
.cta-band {
  display: flex; gap: 28px; justify-content: space-between; align-items: center; padding: clamp(25px,3.2vw,50px);
  margin-bottom: var(--section); background: var(--ink); color: white; border-radius: var(--radius);
}
.cta-band h2 { margin: 9px 0; font-size: clamp(25px,2.75vw,40px); }
.cta-band p:not(.eyebrow) { color: #cbd8e4; font-size: 15px; }
.cta-band > a { flex: none; }
#footer-shell { background: var(--pale); border-top: 1px solid var(--line); }
.site-footer {
  width: min(var(--canvas),calc(100% - 2 * var(--gutter))); margin: 0 auto; padding-block: 30px;
  display: grid; grid-template-columns: 1.15fr 1fr .85fr; gap: 34px; align-items: start;
}
.footer-identity strong { color: var(--ink); font-size: 23px; line-height: 1; letter-spacing: -.04em; }
.footer-identity p, .footer-note { color: var(--muted); font-size: 12px; margin-top: 6px; }
.footer-download { display: grid; justify-items: start; gap: 4px; }
.footer-download .eyebrow { margin-bottom: 4px; }
.footer-download a { font-size: 12px; }
#product-dialog {
  width: min(960px, calc(100% - 36px)); max-width: none; max-height: min(88dvh,850px);
  padding: 0; color: var(--ink); background: white; border: 1px solid #a5b5c2; border-radius: var(--radius);
  overflow: auto; overscroll-behavior: contain; box-shadow: 0 22px 70px rgb(15 39 64 / .2);
}
#product-dialog::backdrop { background: rgb(12 30 47 / .59); }
.modal-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 9px 17px; border-bottom: 1px solid var(--line); background: white; }
.modal-top > span { margin-right: auto; color: var(--muted); font: 600 12px/1.4 var(--mono); }
.modal-top button { min-height: 36px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 3px; }
.modal-body { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 24px; padding: 24px; }
.modal-photo, .modal-copy { min-width: 0; }
.modal-photo > img { object-fit: contain; aspect-ratio: 1.5; border-radius: 4px; }
.modal-photo > a { display: inline-block; padding: 8px 0; font-size: 12px; color: var(--accent-dark); }
.modal-copy h2 { font-size: clamp(24px,2.2vw,35px); }
.modal-copy > p, .precision-detail p, .detail-custom li { color: var(--muted); font-size: 14px; }
.modal-copy > p { margin-top: 10px; }
.modal-copy .guide-grid { grid-template-columns: 1fr; }
.modal-copy .button { margin-block: 12px; }
.detail-custom, .precision-detail { margin-block: 18px; }
.detail-custom h3, .precision-detail h3 { font-size: 15px; margin-bottom: 7px; }
.detail-custom ul { padding-left: 18px; }
.detail-custom li + li { margin-top: 5px; }
.detail-custom li::marker { color: #9e5021; }

/* Tablet and narrow layouts. The brand, language control and RFQ stay in view. */
@media (min-width: 1000px) {
  .catalog-filters { position: sticky; top: 92px; }
}
@media (max-width: 1040px) {
  .site-header {
    display: grid; grid-template-columns: minmax(0,1fr) auto auto;
    grid-template-areas: "brand language rfq" "menu menu menu";
    grid-template-rows: minmax(38px,auto) minmax(31px,auto);
    gap: 0 12px; min-height: 75px; padding-top: 3px;
  }
  .site-header .brand { grid-area: brand; justify-self: start; }
  .site-header .language { grid-area: language; }
  .site-header .header-rfq { grid-area: rfq; }
  .site-header nav { grid-area: menu; width: 100%; margin-left: 0; gap: 22px; justify-content: start; }
  .site-header nav a { min-height: 36px; font-size: 13px; }
  .language { margin-left: auto; }
  .header-rfq { min-height: 36px; }
  .category-grid { gap: 12px; }
  .catalog-layout { grid-template-columns: 180px minmax(0,1fr); }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .hero-copy { padding: 25px; }
  .hero h1 { font-size: clamp(34px,4.7vw,47px); }
  .quality-top, .project-entry { gap: 22px; }
}
@media (max-width: 760px) {
  :root { --gutter: 18px; --section: 40px; }
  .site-header { min-height: 75px; gap: 0 7px; }
  .brand { font-size: 22px; gap: 7px; }
  .brand small { display: none; }
  .brand-mark { width: 22px; gap: 2px; }
  .brand-mark i { width: 5px; height: 20px; }
  .brand-mark i:nth-child(2) { height: 14px; }
  .brand-mark i:last-child { height: 20px; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 6px; }
  .site-header nav a { min-width: 0; min-height: 30px; padding: 2px 0; font-size: 12px; }
  .header-rfq { display: inline; padding: 6px 9px; font-size: 12px; min-height: 34px; max-width: 142px; line-height: 1.2; align-content: center; }
  .language select { max-width: 85px; font-size: 12px; }
  .language > span:first-child { display: none; }
  .hero { grid-template-columns: 1fr; margin-top: 14px; }
  .hero-copy { padding: 22px 19px 17px; }
  .hero h1 { font-size: clamp(30px,8.2vw,47px); line-height: 1.07; margin-top: 9px; }
  .hero .intro { font-size: 14px; line-height: 1.42; margin-top: 9px; }
  .hero .eyebrow { font-size: 10px; }
  .hero-actions { margin-top: 13px; gap: 6px; }
  .hero-actions .button { font-size: 12px; min-height: 39px; padding: 8px 10px; }
  .hero .hero-pdf { margin-top: 8px; font-size: 11px; }
  .hero-photo { background: #c5cbd2; }
  .hero-photo > img { aspect-ratio: 1.55; max-height: 245px; }
  .hero-photo-caption { font-size: 9px; padding: 4px 7px; bottom: 7px; left: 8px; }
  .capability-strip { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 10px; }
  .capability-strip > div { padding: 10px 12px; }
  .capability-strip > div:nth-child(odd) { border-left: none; }
  .capability-strip > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .capability-strip strong { font-size: 21px; line-height: 1.07; }
  .capability-strip span { font-size: 11px; margin-top: 3px; }
  .industry-tags { gap: 5px 7px; font-size: 11px; margin-top: 12px; }
  .industry-tags > :not(:first-child) { padding-left: 7px; }
  .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-caption { padding: 10px; }
  .category-caption h3 { font-size: 15px; }
  .section-heading, .buyer-guide-heading { gap: 12px; margin-bottom: 17px; }
  .section-heading > a, .buyer-guide-heading > a { flex-shrink: 1; font-size: 12px; }
  .page-heading { padding: 25px 0 18px; }
  .page-heading h1 { font-size: clamp(30px,7.9vw,42px); margin-top: 6px; }
  .page-heading .intro { font-size: 14px; margin-top: 8px; }
  .catalog-heading { display: block; }
  .catalog-heading > a { min-height: 30px; padding: 0; border: none; color: var(--accent-dark); font-size: 12px; margin-bottom: 12px; }
  .catalog-layout { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .catalog-filters { padding: 0; background: none; border: none; }
  .catalog-filters h2 { font-size: 13px; margin: 0 0 5px; }
  .filter-buttons {
    display: flex; padding-bottom: 5px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin;
    scrollbar-color: #a8bac9 var(--pale);
  }
  .filter-buttons button { flex: none; border-color: var(--line); padding: 7px 9px; min-height: 36px; font-size: 12px; }
  .catalog-note { display: none; }
  .catalog-toolbar { margin-bottom: 8px; }
  #result-count { font-size: 11px; }
  .catalog-toolbar input { min-height: 40px; font-size: 16px; padding-block: 7px; }
  .category-guide-slot { margin-bottom: 10px; }
  .product-grid { gap: 12px; }
  .product-caption { padding: 12px; }
  .product-caption h2 { font-size: 17px; }
  .product-caption p, .product-actions a { font-size: 12px; }
  .product-alt-title span { display: block; }
  .product-actions { padding-top: 6px; }
  .product-code { left: 7px; top: 7px; }
  .company-profile, .precision-options, .quality-top, .checks, .project-entry { grid-template-columns: minmax(0,1fr); gap: 19px; }
  .precision-options, .company-profile { align-items: start; }
  .buyer-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .process ol { grid-template-columns: 1fr; margin-top: 17px; }
  .process li { padding: 0 0 16px 46px; min-height: 50px; }
  .process li > span { position: absolute; left: 0; }
  .process li:not(:last-child)::after { width: 1px; height: auto; left: 16px; right: auto; top: 33px; bottom: 0; }
  .process-spec-grid p, .process li p, .check-list p { font-size: 13px; }
  .checks { align-items: start; }
  .project-start { order: -1; }
  .project-reference-photo img { max-height: 230px; }
  .form-row { gap: 9px; }
  .quote-fields input:not([type="checkbox"]), .quote-fields textarea { font-size: 16px; }
  .modal-body { grid-template-columns: minmax(0,1fr); padding: 16px; gap: 13px; }
  .modal-photo img { max-height: 300px; }
  .modal-top { gap: 6px; padding: 8px 11px; }
  .modal-top > span { font-size: 10px; }
  .modal-top button, #dialog-language { font-size: 12px; }
  .download-band { grid-template-columns: 50px minmax(0,1fr); gap: 10px 14px; padding-block: 23px; }
  .download-actions { grid-column: 1/-1; max-width: none; justify-content: start; align-items: center; }
  .cta-band { flex-direction: column; align-items: start; gap: 17px; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-note { grid-column: 1/-1; }
}
@media (max-width: 500px) {
  .product-grid { grid-template-columns: minmax(0,1fr); }
  .product-photo img { max-height: 245px; }
  .product-caption h2 { font-size: 20px; }
  .product-caption { padding: 14px; }
  .product-actions a { min-height: 38px; }
  .materials-options { gap: 4px 9px; }
}
@media (max-width: 365px) {
  :root { --gutter: 12px; }
  .header-rfq { font-size: 11px; max-width: 112px; }
  .site-header nav a { font-size: 11px; }
  .site-header .brand { font-size: 20px; gap: 4px; }
  .site-header .brand-mark { width: 18px; gap: 1px; }
  .language select { max-width: 60px; }
  .hero-copy { padding: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .category-card, .product-card { transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
  .category-card:hover, .product-card:hover { border-color: #85a5c6; box-shadow: 0 5px 14px rgb(15 39 64/.07); transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media print {
  #site-shell, #footer-shell, .download-band, .cta-band { display: none; }
  main { width: 100%; }
  .catalog-layout { display: block; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-card, .category-card { break-inside: avoid; }
}
