/* Dexin Precision — graphite, steel and one signal-orange accent. */
:root {
  color-scheme: dark;
  --paper: #0e1114;
  --surface: #151a1f;
  --panel: #1b2229;
  --ink: #e8eaec;
  --body: #bcc3ca;
  --muted: #9aa5af;
  --rule: rgba(255,255,255,.10);
  --control: #697680;
  --accent: #ff914d;
  --accent-hover: #ffa970;
  --on-accent: #0e1114;
  --dark: #151a1f;
  --dark-text: #e8eaec;
  --dark-muted: #bcc3ca;
  --error: #ff914d;
  --success: #e8eaec;
  --gutter: 32px;
  --grid: repeat(12,minmax(0,1fr));
  --sans: "Helvetica Neue", Arial, ui-sans-serif, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s6: 24px; --s8: 32px;
  --s12: 48px; --s16: 64px; --s24: 96px; --s32: 128px;
  --text-xs: .75rem; --text-sm: .875rem; --text-base: 1rem; --text-lg: 1.125rem;
  --text-xl: 1.25rem; --text-2xl: 1.5rem; --text-3xl: 2rem; --text-4xl: 3rem;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 112px; }
body { margin: 0; background: var(--paper); color: var(--body); font-family: var(--sans); font-size: var(--text-base); line-height: 1.75; -webkit-font-smoothing: antialiased; }
::selection { color: var(--on-accent); background: var(--accent); }
a { color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a, button, input, textarea, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
button:disabled { cursor: not-allowed; opacity: .6; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; min-width: 0; }
figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); padding-block: var(--s3); border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: var(--text-xs); line-height: 1.6; color: var(--muted); }
h1,h2,h3,p { margin-top: 0; }
h1,h2,h3 { color: var(--ink); font-weight: 600; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
h1 { margin-bottom: var(--s6); font-size: var(--text-4xl); line-height: 1.2; letter-spacing: -.025em; }
h2 { margin-bottom: var(--s6); font-size: var(--text-3xl); line-height: 1.35; letter-spacing: -.02em; }
h3 { margin-bottom: var(--s3); font-size: var(--text-xl); line-height: 1.5; }
p { max-width: 72ch; margin-bottom: var(--s6); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul,ol { padding-left: var(--s6); }
strong,b { font-weight: 600; }
.mono { font-family: var(--mono); font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.small { font-size: var(--text-sm); line-height: 1.6; color: var(--muted); }
.lead { font-size: var(--text-lg); line-height: 1.8; }
.wrap { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: var(--s24); }
.ruled { border-top: 1px solid var(--rule); }
section[id] { scroll-margin-top: 112px; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: var(--s3); left: var(--s3); z-index: 100; padding: var(--s3) var(--s6); background: var(--surface); color: var(--accent); }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--rule); background: var(--paper); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: var(--s8); }
.brand { display: inline-flex; gap: var(--s3); align-items: center; color: var(--ink); text-decoration: none; flex-shrink: 0; line-height: 1.35; }
.brand>span { font-size: var(--text-xl); font-weight: 600; letter-spacing: .02em; }
.brand small { display: block; margin-top: var(--s1); font-size: var(--text-xs); font-weight: 400; letter-spacing: .04em; color: var(--muted); }
.brand img { flex-shrink: 0; }
.site-header nav { display: flex; gap: var(--s6); align-items: center; }
.site-header nav a { position: relative; display: inline-flex; align-items: center; min-height: 48px; color: var(--ink); font-size: var(--text-sm); text-decoration: none; white-space: nowrap; }
.site-header.is-scrolled { box-shadow: 0 10px 28px rgba(0,0,0,.32); }
.site-header nav a::after { content: ''; position: absolute; bottom: 8px; inset-inline: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 220ms ease-out; }
.site-header nav a:hover, .site-header nav a[aria-current], .site-header nav a:focus-visible { color: var(--accent); }
.site-header nav a:is(:hover,:focus-visible,[aria-current])::after { transform: scaleX(1); }
.site-header nav .nav-quote::after { display: none; }
.site-header nav .nav-quote:hover { border-color: var(--accent); }
.site-header nav .language { border-left: 1px solid var(--rule); padding-left: var(--s6); font-family: var(--mono); }
.site-header nav .nav-quote { border: 1px solid var(--control); padding: var(--s2) var(--s4); border-radius: 2px; }
.menu-toggle { display: none; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: var(--s3) var(--s8); border: 1px solid var(--accent); border-radius: 2px; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: var(--text-base); text-decoration: none; line-height: 1.5; gap: var(--s6); transition: background-color 200ms ease-out, border-color 200ms ease-out, transform 160ms ease-out; }
.button:hover { color: var(--on-accent); background: var(--accent-hover); border-color: var(--accent-hover); text-decoration: none; }
.button:active { transform: translateY(1px); background: var(--accent-hover); }
.button-arrow { display: inline-block; transition: transform 220ms ease-out; }
.button:hover .button-arrow { transform: translate(3px,-2px); }
.button-secondary { color: var(--ink); background: transparent; border-color: var(--control); }
.button-secondary:hover { color: var(--ink); background: var(--panel); border-color: var(--ink); }
.text-link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 500; flex-shrink: 0; }
.text-button { appearance: none; border: 0; padding: 0; background: transparent; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; text-align: left; }
.text-button:hover { text-decoration-thickness: 2px; }
.home-hero { position: relative; isolation: isolate; min-height: 640px; display: grid; align-items: center; overflow: hidden; background: var(--paper); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: var(--grid); column-gap: var(--gutter); pointer-events: none; }
.hero-copy { grid-column: 1 / 10; padding-block: 80px 104px; pointer-events: auto; }
.hero-copy h1 { max-width: 24ch; font-size: clamp(40px,4.45vw,64px); line-height: 1.12; letter-spacing: -.035em; margin-bottom: var(--s6); }
:lang(zh-CN) .hero-copy h1 { max-width: none; line-height: 1.22; }
html:lang(ja) {
  --sans: "Helvetica Neue", Arial, ui-sans-serif, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Hiragino Sans", "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic", Meiryo, monospace;
}
:lang(ja) .hero-copy h1 { max-width: none; line-height: 1.25; }
:lang(ja) :is(h1, h2, h3, p, li, summary, dd, td, th, figcaption) { line-break: strict; }
.site-header nav .language + .language { border-left: 0; padding-left: 0; }
.hero-copy .lead { max-width: none; color: #e8eaec; }
.hero-location { margin-bottom: var(--s8); color: #d2d7dc; font-size: var(--text-xs); letter-spacing: .1em; }
.hero-actions { display: flex; align-items: center; gap: var(--s4); margin-top: var(--s8); }
.hero-actions .button { min-width: 176px; }
.hero-actions .button-secondary { border-color: #9aa5af; background: rgba(14,17,20,.56); }
.hero-actions .button-secondary:hover { background: var(--surface); border-color: var(--ink); }
.hero-art { position: absolute; z-index: 0; inset: 0; margin: 0; overflow: hidden; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; filter: grayscale(1); }
.hero-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(14,17,20,.92) 0%,rgba(14,17,20,.73) 46%,rgba(14,17,20,.34) 100%); }
.hero-art figcaption { position: absolute; z-index: 1; bottom: 24px; right: max(48px,calc((100% - 1280px)/2)); max-width: calc(100% - 96px); color: #d2d7dc; border: 0; font-size: 10px; letter-spacing: .04em; padding: 4px 8px; background: rgba(14,17,20,.78); }
.hero-grid::after { content: ''; position: absolute; bottom: 64px; left: 0; width: 100%; height: 1px; background: rgba(255,255,255,.25); transform-origin: left; }
.proof-band { background: var(--surface); border-block: 1px solid var(--rule); }
.fact-strip { display: grid; grid-template-columns: var(--grid); column-gap: var(--gutter); }
.fact { grid-column: span 2; min-width: 0; padding-block: var(--s8); }
.fact strong { display: block; color: var(--ink); font-size: var(--text-xl); font-weight: 500; line-height: 1.4; font-variant-numeric: tabular-nums; }
.fact .count, .fact-spec strong { color: var(--accent); }
.fact strong:has(.count) { font-size: var(--text-2xl); }
.fact-label { display: block; margin-top: var(--s2); font-size: var(--text-xs); line-height: 1.6; color: var(--muted); }
.fact-spec { grid-column: span 4; border-top: 1px solid var(--rule); padding-block: var(--s6); }
.fact-spec strong { font-size: var(--text-lg); letter-spacing: -.03em; }
.proof-industries { grid-column: 1 / -1; max-width: none; border-top: 1px solid var(--rule); padding-block: var(--s4); margin: 0; color: var(--muted); font-size: var(--text-xs); }
.count { font-variant-numeric: tabular-nums; }
.count-visual { display: inline-block; min-width: 1ch; }
.count[data-count="2021"] .count-visual { min-width: 4ch; }
.image-frame { overflow: hidden; background: var(--panel); border: 1px solid var(--rule); }
.image-frame img { transition: transform 600ms ease-out; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .image-frame:hover img { transform: scale(1.04); } }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-art img { animation: hero-drift 18s ease-in-out infinite alternate; }
  .js .hero-grid::after { animation: rule-draw 900ms ease-out both; }
  .js .reveal:not(.is-pending) { transition: opacity 600ms ease-out, transform 600ms ease-out; transition-delay: var(--reveal-delay,0ms); }
  .js .reveal.is-pending { opacity: 0; transform: translateY(20px); }
  .js .reveal.reveal-immediate { transition: none; }
}
@keyframes hero-drift { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes rule-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s8); margin-bottom: var(--s12); }
.section-heading h2 { margin-bottom: 0; max-width: 26ch; }
.section-heading p { margin-top: var(--s4); margin-bottom: 0; }
.capability-ledger { border-top: 1px solid var(--rule); }
.capability-ledger article { display: grid; grid-template-columns: var(--grid); column-gap: var(--gutter); row-gap: var(--s3); border-bottom: 1px solid var(--rule); padding-block: var(--s8); }
.capability-ledger h3 { grid-column: span 5; }
.capability-ledger p { grid-column: span 7; }
.capability-ledger h3, .capability-ledger p { margin: 0; }
.industry-band { background: var(--panel); border-block: 1px solid var(--rule); padding-block: var(--s12); }
.industry-band .section-heading { margin-bottom: var(--s8); }
.industry-list { display: grid; grid-template-columns: var(--grid); gap: var(--gutter); list-style: none; padding: 0; margin: 0; }
.industry-list li { grid-column: span 3; border-left: 1px solid var(--control); padding-inline: var(--s6); color: var(--ink); font-size: var(--text-lg); }
.industry-list li:first-child { border-left: 0; padding-left: 0; }
.quality-feature { display: grid; grid-template-columns: var(--grid); gap: var(--gutter); align-items: center; }
.quality-feature figure { grid-column: 1 / 6; width: 100%; }
.quality-feature>div { grid-column: 7 / -1; }
.quality-feature img { width: 100%; height: 480px; object-fit: cover; object-position: center; }
.quality-feature h2 { max-width: 20ch; }
.process-compact { list-style: none; padding: 0; margin-block: var(--s8); }
.process-compact li { display: flex; gap: var(--s6); padding-block: var(--s3); border-top: 1px solid var(--rule); }
.process-compact li:last-child { border-bottom: 1px solid var(--rule); }
.process-compact .mono { color: var(--muted); }
.gallery { display: grid; grid-template-columns: var(--grid); column-gap: var(--gutter); row-gap: var(--s12); }
.gallery>figure { grid-column: span 4; }
.gallery img { width: 100%; background: var(--panel); aspect-ratio: 1; object-fit: contain; }
.teaser-gallery img { aspect-ratio: 1.15; object-fit: cover; }
.teaser-gallery figure:nth-child(2) img { object-fit: contain; }
.component-gallery>figure { grid-column: span 3; }
.component-gallery figcaption { justify-content: flex-start; min-height: 64px; align-items: flex-start; }
.instrument-gallery img { aspect-ratio: 3/4; object-fit: cover; }
.faq-list { border-top: 1px solid var(--rule); }
details { border-bottom: 1px solid var(--rule); }
summary { position: relative; list-style: none; cursor: pointer; color: var(--ink); font-size: var(--text-lg); font-weight: 500; padding: var(--s6) var(--s12) var(--s6) 0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-family: var(--mono); position: absolute; right: var(--s3); top: var(--s6); font-size: var(--text-xl); color: var(--muted); }
details[open] summary::after { content: '−'; }
details p { padding-bottom: var(--s6); padding-right: var(--s12); max-width: 72ch; margin-bottom: 0; }
.closing { padding-block: var(--s16); color: var(--dark-text); background: var(--dark); }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s12); }
.closing h2 { color: var(--dark-text); margin-bottom: var(--s4); }
.closing p { color: var(--dark-muted); }
.closing .button { flex-shrink: 0; }
.closing :focus-visible { outline-color: var(--dark-text); }
.page-intro { padding-block: var(--s24) var(--s16); }
.page-intro h1 { max-width: 24ch; }
.page-intro .lead { margin-bottom: 0; max-width: 64ch; }
.profile-layout { display: grid; grid-template-columns: var(--grid); gap: var(--gutter); }
.profile-layout>h2 { grid-column: span 5; }
.profile-layout>div { grid-column: span 7; }
.profile-layout h2 { max-width: 20ch; }
.philosophy { display: grid; grid-template-columns: var(--grid); gap: var(--gutter); }
.philosophy>article { grid-column: span 4; }
.philosophy article { border-top: 1px solid var(--rule); padding-top: var(--s6); }
.info-table { width: 100%; border-collapse: collapse; font-size: var(--text-base); }
.info-table th,.info-table td { padding: var(--s6); vertical-align: top; border-block: 1px solid var(--rule); text-align: left; overflow-wrap: anywhere; }
.info-table th { color: var(--ink); font-weight: 500; width: 30%; padding-left: 0; }
.info-table td { padding-right: 0; }
.info-table thead th { font-family: var(--mono); font-size: var(--text-sm); color: var(--muted); }
.equipment-table th { width: auto; }
.equipment-table td,.equipment-table th:last-child { text-align: right; }
.license-figure { max-width: 960px; }
.license-figure img { width: 100%; height: auto; border: 1px solid var(--rule); }
.scope-section h2 { font-size: var(--text-2xl); }
.scope-section p { max-width: 72ch; }
.machining-layout { display: grid; grid-template-columns: var(--grid); gap: var(--gutter); align-items: center; }
.machining-layout>div { grid-column: span 5; }
.machining-layout>figure { grid-column: 7 / -1; }
.machining-layout img { width: 100%; }
.text-block { padding-top: var(--s6); border-top: 1px solid var(--rule); margin-top: var(--s6); }
.plain-list { padding-left: var(--s6); margin-block: 0 var(--s8); }
.plain-list li { padding-block: var(--s2); }
.checklist { margin: 0; border-top: 1px solid var(--rule); }
.checklist>div { display: grid; grid-template-columns: var(--grid); padding-block: var(--s6); gap: var(--gutter); border-bottom: 1px solid var(--rule); }
.checklist dt { grid-column: span 5; color: var(--ink); font-weight: 500; }
.checklist dd { grid-column: span 7; margin: 0; }
.inspection-stages { list-style: none; display: grid; grid-template-columns: var(--grid); gap: var(--gutter); margin: 0; padding: 0; }
.inspection-stages li { grid-column: span 4; border-top: 1px solid var(--rule); padding-top: var(--s6); }
.inspection-stages .mono { display: block; margin-bottom: var(--s8); color: var(--muted); }
.inline-note { display: flex; gap: var(--s12); align-items: baseline; padding-block: var(--s8) 0; }
.inline-note h3 { flex-shrink: 0; margin: 0; }
.gallery-navigation { border-top: 1px solid var(--rule); padding-block: var(--s8) var(--s12); }
.gallery-navigation nav { display: flex; gap: var(--s8); flex-wrap: wrap; }
.gallery-navigation a { min-height: 48px; display: inline-flex; align-items: center; }
.faq-page { max-width: 960px; }
.legal-content { max-width: 960px; padding-bottom: var(--s24); }
.legal-content section { border-top: 1px solid var(--rule); padding-top: var(--s8); margin-bottom: var(--s12); }
.legal-content h2 { font-size: var(--text-2xl); }
.legal-contact { display: flex; flex-wrap: wrap; gap: var(--s6); }
.quote-layout { display: grid; grid-template-columns: var(--grid); gap: var(--gutter); align-items: start; padding-bottom: var(--s24); }
.quote-form-column { min-width: 0; grid-column: span 7; }
.quote-layout>.contact-panel { grid-column: 9 / -1; }
.demo-notice { border: 1px solid var(--control); padding: var(--s6); margin-bottom: var(--s12); }
.demo-notice strong { color: var(--ink); }
.demo-notice p { margin-top: var(--s2); font-size: var(--text-sm); }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-section { border-top: 1px solid var(--rule); padding-block: var(--s8) var(--s12); }
.form-section>legend { padding-right: var(--s6); color: var(--ink); font-size: var(--text-2xl); font-weight: 500; }
.upload-zone { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--s4); text-align: center; padding: var(--s8) var(--s6); border: 1px dashed var(--control); background: var(--surface); cursor: pointer; }
.upload-zone:focus-within { outline: 2px solid var(--accent); outline-offset: 4px; }
.upload-zone.dragging { border-color: var(--accent); background: var(--panel); }
.upload-zone strong { font-size: var(--text-lg); color: var(--ink); }
.upload-icon { display: block; width: 24px; height: 32px; border: 1px solid var(--control); position: relative; }
.upload-icon::before,.upload-icon::after { content: ''; position: absolute; background: var(--control); width: 12px; height: 1px; left: 5px; }
.upload-icon::before { top: 12px; }
.upload-icon::after { top: 20px; }
#files { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
#file-list { list-style: none; padding: 0; margin: 0; }
#file-list li { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); border-bottom: 1px solid var(--rule); padding-block: var(--s3); }
#file-list span { overflow-wrap: anywhere; min-width: 0; font-size: var(--text-sm); }
#file-list button { color: var(--accent); background: transparent; border: 1px solid var(--control); border-radius: 2px; min-height: 44px; padding: var(--s2) var(--s3); flex-shrink: 0; }
.process-options { margin-block: var(--s8); }
.process-options legend { color: var(--ink); margin-bottom: var(--s3); font-weight: 500; }
.check-row { display: flex; align-items: start; gap: var(--s3); padding-block: var(--s3); line-height: 1.6; cursor: pointer; }
.check-row input { width: 20px; height: 20px; flex-shrink: 0; margin: var(--s1) 0 0; accent-color: var(--accent); }
.field { margin-top: var(--s6); }
.field>label { display: block; margin-bottom: var(--s2); font-weight: 500; color: var(--ink); }
.field>input,.field>textarea { width: 100%; min-width: 0; min-height: 48px; padding: var(--s3); border: 1px solid var(--control); border-radius: 2px; color: var(--ink); background: var(--surface); caret-color: var(--accent); }
.field>textarea { resize: vertical; }
.field input::placeholder { color: var(--muted); }
.field .small { margin-top: var(--s2); margin-bottom: 0; }
.form-consents { border-top: 1px solid var(--rule); padding-block: var(--s6); }
.nda-notice { font-size: var(--text-sm); padding: var(--s4); border: 1px solid var(--rule); margin-block: var(--s2) var(--s4); }
.form-error,.form-success { padding: var(--s6); border: 1px solid currentColor; margin-bottom: var(--s6); font-size: var(--text-sm); }
.form-error { color: var(--error); }
.form-success { color: var(--success); }
.status-links { display: flex; flex-wrap: wrap; gap: var(--s4); margin-top: var(--s3); }
.invalid { outline: 2px solid var(--error); outline-offset: 2px; }
.contact-panel { border-top: 1px solid var(--control); padding-top: var(--s8); }
.contact-panel h2 { font-size: var(--text-2xl); }
.contact-panel dt { color: var(--muted); font-size: var(--text-sm); margin-bottom: var(--s1); }
.contact-panel dd { margin: 0 0 var(--s6); overflow-wrap: anywhere; }
.contact-panel .text-button { min-height: 32px; }
.contact-evidence { padding-top: var(--s8); border-top: 1px solid var(--rule); margin-top: var(--s8); }
.contact-evidence h3 { font-size: var(--text-lg); }
.contact-evidence p { font-size: var(--text-sm); line-height: 2; }
.site-footer { border-top: 1px solid var(--rule); padding-top: var(--s16); background: var(--paper); }
.footer-main { display: grid; grid-template-columns: var(--grid); gap: var(--gutter); padding-bottom: var(--s12); }
.footer-main>div { grid-column: span 3; }
.footer-main h2 { font-size: var(--text-base); margin-block: 0 var(--s4); }
.footer-main>div>a:not(.brand) { display: block; padding-block: var(--s2); font-size: var(--text-sm); overflow-wrap: anywhere; }
.footer-main .brand { margin-bottom: var(--s6); }
.footer-main p { margin-bottom: var(--s4); }
.footer-main .small { font-size: var(--text-xs); }
.footer-main .mono { font-size: var(--text-xs); overflow-wrap: anywhere; }
.contact-links { display: flex; align-items: center; gap: var(--s6); margin-block: var(--s2) var(--s4); }
.contact-links>* { min-height: 44px; display: inline-flex; align-items: center; font-size: var(--text-sm); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4) var(--s8); border-top: 1px solid var(--rule); padding-block: var(--s6); font-size: var(--text-xs); color: var(--muted); }
/* Chinese billing details: isolated from the English layouts. */
html[lang="zh-CN"] .billing-card { min-width: 0; padding: clamp(16px, 3vw, 32px); border: 1px solid var(--rule); border-top-color: var(--control); border-radius: 2px; background: var(--surface); }
html[lang="zh-CN"] .billing-card :is(h2,h3) { font-size: var(--text-2xl); margin-bottom: var(--s4); }
html[lang="zh-CN"] .billing-details { margin: 0; font-variant-numeric: tabular-nums; }
html[lang="zh-CN"] .billing-details>div { min-width: 0; padding-block: var(--s3); border-top: 1px solid var(--rule); overflow-wrap: anywhere; }
html[lang="zh-CN"] .billing-details :is(dt,dd) { display: inline; margin: 0; font-size: inherit; }
html[lang="zh-CN"] .billing-details dt { color: var(--muted); }
html[lang="zh-CN"] .billing-details .mono { font-size: inherit; }
html[lang="zh-CN"] .contact-panel .billing-card { margin-top: var(--s8); font-size: var(--text-sm); }
html[lang="zh-CN"] .contact-panel .billing-card h3 { font-size: var(--text-lg); }
html[lang="zh-CN"] .footer-billing { padding-block: var(--s8); border-top: 1px solid var(--rule); }
html[lang="zh-CN"] .footer-billing h2 { font-size: var(--text-base); margin-bottom: var(--s4); }
html[lang="zh-CN"] .footer-billing .billing-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--s2) var(--gutter); font-size: var(--text-xs); }
html[lang="zh-CN"] .footer-billing .billing-details>div { border: 0; padding: 0; }
@media (max-width: 700px) {
  html[lang="zh-CN"] .footer-billing .billing-details { grid-template-columns: minmax(0,1fr); }
}
dialog { width: min(480px,calc(100% - 48px)); max-height: calc(100% - 48px); overflow: auto; padding: var(--s8); border: 1px solid var(--control); border-radius: 4px; background: var(--paper); color: var(--body); }
dialog::backdrop { background: var(--dark); opacity: .6; }
.dialog-close { display: block; margin-left: auto; margin-bottom: var(--s6); min-height: 44px; padding: var(--s2) var(--s4); border: 1px solid var(--control); color: var(--ink); background: transparent; border-radius: 2px; }
dialog h2 { font-size: var(--text-2xl); }
.wechat-id { color: var(--ink); font-size: var(--text-2xl); }
.wechat-id-alt { margin-top: calc(-1 * var(--s2)); color: var(--muted); font-size: var(--text-base); }
.language-page { padding-block: var(--s16); }
.language-page h1 { margin-top: var(--s24); max-width: 26ch; }
.language-page h1>span { font-size: var(--text-3xl); }
.language-choices { display: flex; gap: var(--s6); margin-block: var(--s8); }
.language-choices a { min-width: 160px; }
.language-footer { border-top: 1px solid var(--rule); padding-block: var(--s8); }
.language-footer p { font-size: var(--text-sm); }

@media (max-width: 1200px) {
  .header-inner { gap: var(--s6); }
  .site-header nav { gap: var(--s4); }
  .site-header nav .language { padding-left: var(--s4); }
  .site-header nav a { font-size: var(--text-xs); }
  .brand>span { font-size: var(--text-lg); }


}
@media (max-width: 1000px) {
  .header-inner { min-height: 72px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 0; padding: 12px; width: 48px; height: 48px; min-width: 48px; min-height: 48px; white-space: nowrap; color: var(--ink); background: transparent; border: 1px solid var(--control); border-radius: 2px; font-size: var(--text-sm); }
  .menu-icon { position: relative; display: block; width: 20px; height: 2px; background: currentColor; border-radius: 1px; }
  .menu-icon::before, .menu-icon::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; border-radius: 1px; }
  .menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
  .js .site-header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: var(--s4) var(--s12) var(--s8); background: var(--paper); border-bottom: 1px solid var(--control); max-height: calc(100dvh - 72px); overflow-y: auto; }
  .js .site-header nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-header nav a { min-height: 48px; font-size: var(--text-base); border-bottom: 1px solid var(--rule); }
  .site-header nav .language { border-left: 0; padding-left: 0; }
  .site-header nav .nav-quote { margin-top: var(--s4); justify-content: center; }
  html:not(.js) .site-header nav { display: flex; flex-wrap: wrap; position: static; padding: 16px 0; }
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .menu-toggle { display: none; }
  h1 { font-size: var(--text-3xl); }
  .hero-copy { grid-column: 1 / -1; }
  .fact { grid-column: span 4; }
  .fact:nth-child(n+4) { border-top: 1px solid var(--rule); }
  .component-gallery>figure { grid-column: span 4; }
  .footer-main>div { grid-column: span 6; }
  .quote-layout>.contact-panel { grid-column: 9 / -1; }

}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 48px); }
  .section { padding-block: var(--s16); }
  h1 { font-size: var(--text-3xl); letter-spacing: -.02em; }
  h2 { font-size: var(--text-2xl); }
  h3 { font-size: var(--text-lg); }
  .lead { font-size: var(--text-base); }
  .site-header nav { padding-inline: var(--s6); }
  .brand>span { font-size: var(--text-lg); }
  .brand small { font-size: var(--text-xs); }
  .brand img { width: 32px; height: 32px; }
  .header-inner { gap: var(--s3); }
  .menu-toggle { flex-shrink: 0; }
  :root { --gutter: 16px; }
  .home-hero { min-height: 620px; }
  .hero-copy { padding-block: 64px 104px; }
  .hero-copy h1 { font-size: 40px; line-height: 1.15; max-width: 19ch; }
  :lang(zh-CN) .hero-copy h1 { font-size: 36px; line-height: 1.25; }
  :lang(ja) .hero-copy h1 { font-size: 34px; line-height: 1.3; }
  .hero-copy .lead { font-size: var(--text-sm); line-height: 1.8; }
  .hero-location { font-size: 10px; letter-spacing: .07em; margin-bottom: var(--s6); }
  .hero-actions { flex-direction: column; align-items: stretch; gap: var(--s3); margin-top: var(--s8); }
  .hero-art img { object-position: 61% 50%; }
  .hero-art::after { background: rgba(14,17,20,.76); }
  .hero-art figcaption { right: 24px; bottom: 20px; max-width: calc(100% - 48px); font-size: 9px; }
  .hero-grid::after { bottom: 56px; }
  .fact { grid-column: span 6; padding-block: var(--s6); }
  .fact:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .fact strong { font-size: var(--text-lg); }
  .fact-spec { grid-column: 1 / -1; }
  .fact-spec strong { font-size: var(--text-lg); }
  .section-heading { flex-direction: column; gap: var(--s4); margin-bottom: var(--s8); }
  .section-heading .text-link { min-height: 32px; }
  .section-heading h2 { max-width: none; }
  .capability-ledger article { gap: var(--s3); padding-block: var(--s6); }
  .capability-ledger :is(h3,p) { grid-column: 1 / -1; }
  .industry-band { padding-block: var(--s8); }
  .industry-list li { grid-column: span 6; }
  .industry-list li { font-size: var(--text-base); padding-left: var(--s4); }
  .industry-list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .quality-feature { display: flex; flex-direction: column-reverse; gap: var(--s8); align-items: stretch; }
  .quality-feature img { height: 360px; }
  .quality-feature h2 { max-width: none; }
  .gallery { row-gap: var(--s8); }
  .gallery>figure { grid-column: span 6; }
  .teaser-gallery>figure { grid-column: 1 / -1; }
  .teaser-gallery img { aspect-ratio: 1.3; }
  .teaser-gallery figure:nth-child(2) img { aspect-ratio: 1.3; }
  .gallery figcaption { font-size: var(--text-sm); gap: var(--s2); }
  .component-gallery figcaption { min-height: 0; }
  .instrument-gallery>figure { grid-column: 1 / -1; }
  .instrument-gallery img { aspect-ratio: 4/5; }
  .closing { padding-block: var(--s12); }
  .closing-inner { flex-direction: column; align-items: stretch; gap: var(--s8); }
  .closing h2 { font-size: var(--text-2xl); }
  .button { width: 100%; }
  .page-intro { padding-block: var(--s12); }
  .page-intro h1 { max-width: 20ch; }
  .profile-layout,.machining-layout { row-gap: var(--s6); }
  .profile-layout>h2,.profile-layout>div,.machining-layout>div,.machining-layout>figure { grid-column: 1 / -1; }
  .profile-layout h2 { max-width: none; margin-bottom: var(--s4); }
  .philosophy>article { grid-column: 1 / -1; }
  .info-table th,.info-table td { padding: var(--s4) 0; }
  .info-table th { width: 35%; padding-right: var(--s4); font-size: var(--text-sm); }
  .info-table td { font-size: var(--text-sm); }
  .equipment-table th { width: auto; }
  .scope-section h2 { font-size: var(--text-xl); }
  .checklist>div { row-gap: var(--s2); }
  .checklist :is(dt,dd) { grid-column: 1 / -1; }
  .inspection-stages>li { grid-column: 1 / -1; }
  .inspection-stages .mono { margin-bottom: var(--s4); }
  .inline-note { flex-direction: column; gap: var(--s3); }
  .gallery-navigation { padding-bottom: var(--s8); }
  .gallery-navigation nav { gap: var(--s2); flex-direction: column; }
  summary { font-size: var(--text-base); padding-block: var(--s6); }
  details p { padding-right: 0; }
  .quote-layout { row-gap: var(--s16); padding-bottom: var(--s16); }
  .quote-form-column,.quote-layout>.contact-panel { grid-column: 1 / -1; }
  .demo-notice { padding: var(--s4); }
  .upload-zone { padding-inline: var(--s3); }
  .upload-zone strong { font-size: var(--text-base); }
  .upload-zone .small { font-size: var(--text-xs); }
  .form-section { padding-bottom: var(--s8); }
  .form-section>legend { font-size: var(--text-xl); }
  .contact-panel { padding-top: var(--s6); }
  .footer-main { row-gap: var(--s8); }
  .footer-main>div:nth-child(-n+2) { grid-column: 1/-1; }
  .site-footer { padding-top: var(--s12); }
  .footer-bottom { gap: var(--s3); }
  .language-page { padding-block: var(--s12); }
  .language-page h1 { margin-top: var(--s16); }
  .language-page h1>span { font-size: var(--text-2xl); }
  .language-choices { flex-direction: column; gap: var(--s4); }
}
@media (max-width: 360px) {
  .site-header .brand { gap: var(--s2); }
  .site-header .brand>span { font-size: var(--text-base); }
  .menu-toggle { min-width: 48px; justify-content: center; }
  .menu-toggle>span:last-child { display: none; }
}
.status-links a { overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; transform: none !important; scroll-behavior: auto !important; }
  .js .reveal.is-pending { opacity: 1; }
  .site-header nav a::after { display: none; }
  .site-header nav a:is(:hover,:focus-visible,[aria-current]) { text-decoration: underline; }
}
@media print { .js .reveal { opacity: 1 !important; transform: none !important; } }
@media print { :root { color-scheme: light; --paper: #fff; --surface: #fff; --ink: #0e1114; --body: #151a1f; --muted: #454b50; } .site-header,.closing,.menu-toggle,.site-footer,dialog { display: none; } .wrap { width: 100%; } body { background: var(--surface); } .section { padding-block: var(--s8); } }

/* New mobile-only UI: no box is generated at tablet/desktop widths. */
.mobile-contact { display: none; }
@media (max-width: 1279.98px) {
  .header-inner { min-height: 72px; gap: 16px; }
  .site-header { padding-top: env(safe-area-inset-top, 0px); }
  .header-inner { padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px); }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 0; padding: 12px; width: 48px; height: 48px; min-width: 48px; min-height: 48px; flex-shrink: 0; white-space: nowrap; color: var(--ink); background: transparent; border: 1px solid var(--control); border-radius: 2px; font-size: 14px; }
  .menu-toggle:hover { border-color: var(--ink); }
  .menu-toggle[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }
  .menu-icon { position: relative; display: block; width: 20px; height: 2px; background: currentColor; border-radius: 1px; }
  .menu-icon::before, .menu-icon::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; border-radius: 1px; }
  .menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
  .js .site-header nav, .js .site-header nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - 73px - env(safe-area-inset-top, 0px));
    height: calc(100dvh - 73px - env(safe-area-inset-top, 0px));
    max-height: none; overflow-y: auto; overscroll-behavior: contain;
    padding: 16px max(24px, env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left, 0px));
    background: var(--paper); border-bottom: 1px solid var(--control);
    visibility: hidden; opacity: 0; transform: translateY(-12px); pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease, visibility 220ms;
  }
  .js .site-header nav.open { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; }
  .site-header nav a { min-height: 48px; flex-shrink: 0; font-size: 16px; border-bottom: 1px solid var(--rule); }
  .site-header nav .language { border-left: 0; padding-left: 0; }
  .site-header nav .nav-quote { margin-top: 16px; justify-content: center; }
  html:not(.js) .site-header nav { display: flex; flex-wrap: wrap; position: static; padding: 16px 0; }
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .menu-toggle { display: none; }
  html.nav-open { overflow: hidden; }
  body.nav-open { position: fixed; top: var(--menu-scroll-y); width: 100%; overflow: hidden; }
  body.nav-open .site-header { position: fixed; inset: 0 0 auto; }
  .fact .count, .fact-spec strong, :lang(zh-CN) .fact strong:has(.count), :lang(ja) .fact strong:has(.count), .value-token { white-space: nowrap; }
  .fact-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .fact { grid-column: span 2; }
  .fact-spec { grid-column: span 3; }
  .fact-spec:last-of-type { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .wrap { width: calc(100% - 48px); }
  .quote-form-column, .quote-layout>.contact-panel { grid-column: 1 / -1; }
  .quote-layout { row-gap: 48px; }
  .footer-main>div { grid-column: span 6; min-width: 0; }
  .hero-copy { grid-column: 1 / -1; }
  .hero-copy h1 { font-size: clamp(32px, 5vw, 48px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .home-hero { min-height: min(640px, calc(100vh - 73px)); min-height: min(640px, calc(100svh - 73px)); }
  .hero-copy { padding-block: 48px 104px; }
  .hero-art img { object-position: 61% 50%; }
  .site-footer a, .site-footer button, .contact-panel a, .contact-panel button { min-width: 44px; min-height: 44px; }
  .site-footer .billing-details a, .contact-panel a { display: inline-flex; align-items: center; max-width: 100%; overflow-wrap: anywhere; }
  .site-footer .brand { min-height: 48px; }
  .site-footer .text-button { min-width: 44px; }
  .contact-links { flex-wrap: wrap; }
  .section-heading .text-link { min-height: 44px; }
}
@media (max-width: 768px) {
  :root { --gutter: 16px; --text-xs: 14px; }
  html { scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: calc(65px + env(safe-area-inset-bottom, 0px)); font-size: 16px; }
  .wrap { width: calc(100% - 40px); }
  .brand { min-width: 0; }
  .brand>span { font-size: 16px; }
  .brand small { font-size: 12px; letter-spacing: 0; }
  .brand img { width: 32px; height: 32px; }
  .header-inner { gap: 8px; }
  .mobile-contact {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    position: fixed; z-index: 25; inset: auto 0 0;
    padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: var(--surface); border-top: 1px solid var(--control); gap: 8px;
  }
  .mobile-contact a, .mobile-contact button { display: flex; justify-content: center; align-items: center; min-height: 48px; min-width: 44px; padding: 8px; border: 1px solid var(--rule); border-radius: 2px; color: var(--ink); background: transparent; font-size: 14px; text-decoration: none; line-height: 1.5; }
  .mobile-contact a:last-child { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
  body.nav-open .mobile-contact { display: none; }
  .home-hero { min-height: calc(100vh - 137px); min-height: calc(100svh - 137px); }
  .hero-copy { padding-block: 28px 44px; }
  .hero-art figcaption { display: none; }
  .hero-copy h1, :lang(zh-CN) .hero-copy h1, :lang(ja) .hero-copy h1 { font-size: clamp(28px, 7.7vw, 40px); line-height: 1.25; }
  .hero-copy .lead { font-size: 16px; }
  .hero-location { font-size: 14px; letter-spacing: .02em; margin-bottom: 20px; }
  .hero-art figcaption { right: 20px; max-width: calc(100% - 40px); font-size: 14px; line-height: 1.5; }
  .fact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { grid-column: span 1; }
  .fact-spec { grid-column: 1 / -1; }
  .fact-spec strong { font-size: clamp(16px, 4.3vw, 18px); }
  .fact-label, .proof-industries, figcaption, .hero-art figcaption, .footer-bottom, .footer-main .small, .footer-main .mono, .upload-zone .small { font-size: 14px; }
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: 100%; text-align: left; }
  .info-table thead { display: none; }
  .info-table tr { border-top: 1px solid var(--rule); padding-block: 16px; }
  .info-table th, .info-table td { border: 0; padding: 0; font-size: 16px; }
  .info-table th { margin-bottom: 8px; color: var(--muted); }
  .info-table td { overflow-wrap: anywhere; }
  html[lang="zh-CN"] .billing-details :is(dt,dd) { display: block; }
  html[lang="zh-CN"] .footer-billing .billing-details { grid-template-columns: minmax(0, 1fr); font-size: 14px; gap: 16px; }
  html[lang="zh-CN"] .billing-details dd { overflow-wrap: anywhere; }
  .field input, .field select, .field textarea, #files { font-size: 16px; }
  .field label { display: flex; align-items: center; min-height: 44px; }
  .check-row { align-items: center; min-height: 48px; }
  .check-row input { width: 44px; height: 44px; margin: 0; }
  .check-row span { min-width: 0; }
  .form-consents a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  #quote-form button[type="submit"] { width: 100%; min-height: 48px; scroll-margin-bottom: 88px; }
  .status-links a { min-height: 44px; display: inline-flex; align-items: center; }
  .upload-zone { min-height: 160px; }
  .contact-panel dd a { display: inline-block; padding-block: 8px; word-break: break-word; }
  .footer-main>div:nth-child(-n+2) { grid-column: 1 / -1; }
  .footer-main>div>a:not(.brand) { display: flex; align-items: center; }
  .closing-inner { flex-direction: column; align-items: stretch; }
  .language-choices { flex-direction: column; }
  .language-choices .button { width: 100%; }
  .language-page h1 { font-size: clamp(28px, 7vw, 40px); }
  .language-page h1>span { font-size: clamp(24px, 6vw, 32px); }
}
@media (max-width: 480px) {
  .site-header .brand { gap: 8px; }
  .site-header .brand>span { font-size: 16px; }
  .menu-toggle>span:last-child { display: none; }
  .footer-main>div { grid-column: 1 / -1; }
  .gallery>figure { grid-column: 1 / -1; }
  dialog { padding: 24px; width: calc(100% - 32px); }
}
@media (max-width: 1024px) and (max-height: 480px) {
  .hero-copy { padding-block: 24px 88px; }
  .hero-copy h1, :lang(zh-CN) .hero-copy h1 { font-size: 30px; }
  .hero-location { margin-bottom: 12px; }
  .hero-actions { margin-top: 20px; gap: 12px; }
  .hero-art img { object-position: 60% 45%; }
}
@media (max-width: 1279.98px) {
  .site-header .brand { min-height: 44px; }
}
@media (max-width: 1024px) {
  :root { --text-xs: 14px; }
  .fact-label, .proof-industries, figcaption, .hero-art figcaption, .footer-bottom, .footer-main .small, .footer-main .mono, .upload-zone .small { font-size: 14px; }
  .field input, .field select, .field textarea, #files { font-size: 16px; }
  .field label { display: flex; align-items: center; min-height: 44px; }
  .check-row { align-items: center; min-height: 48px; }
  .check-row input { width: 44px; height: 44px; margin: 0; }
  .check-row span { min-width: 0; }
  .form-consents a, .status-links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  .footer-main>div>a:not(.brand) { display: flex; align-items: center; }
  .contact-panel .text-button { min-height: 44px; }
}

/* Locally hosted engineering artwork; original photography remains the home hero. */
.precision-art { background: #0b0c0e; }
.precision-art img { display: block; width: 100%; height: auto; }
.precision-art figcaption { background: var(--paper); }
.capabilities-art { margin-bottom: var(--s12); }
.about-art { margin-bottom: var(--s8); }
.about-art .precision-art { max-width: 1120px; margin-inline: auto; }
.quote-cover { margin-bottom: var(--s8); }
.quote-promise { color: var(--ink); font-weight: 600; }
.closing .quote-promise { color: var(--dark-text); }
.hero-promise { display: inline-flex; align-items: center; gap: var(--s3); margin: var(--s6) 0 0; color: var(--ink); font-size: var(--text-sm); letter-spacing: .02em; }
.hero-promise .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; box-shadow: 0 0 0 4px rgba(255,145,77,.18); }
/* Workshop video stills: curated portrait tiles, consistent with the component galleries. */
.workshop-gallery > figure { grid-column: span 3; }
.workshop-gallery img { aspect-ratio: 3 / 4; object-fit: cover; }
.gallery-note { margin-top: var(--s6); margin-bottom: 0; color: var(--muted); font-family: var(--mono); font-size: var(--text-xs); }
.process-art, .inspection-art, .industries-art, .equipment-art, .about-banner-art { margin-bottom: 0; }
.equipment-art { margin-top: var(--s8); }
/* 10 stills: 5×2 on tablet/desktop so no orphan row */
@media (min-width: 701px) { .workshop-gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); } .workshop-gallery > figure { grid-column: auto; } }
@media (max-width: 700px) { .workshop-gallery > figure { grid-column: span 6; } }
@media (min-width: 601px) and (max-width: 1024px) {
  .quote-cover { max-width: 640px; }
}
@media (max-width: 600px) {
  .capabilities-art { margin-bottom: var(--s8); }
}

/* Portrait artwork retains its source dimensions before lazy images load.
   Tablets use the same readable layout; desktop artwork is untouched. */
@media (max-width: 1279.98px) {
  .precision-art picture { display: block; max-width: 480px; margin-inline: auto; }
  .precision-art img { height: auto; object-fit: contain; }
}

/* Workshop highlight video (poster-first, lazy autoplay in main.js) */
.workshop-video { margin: 0 0 var(--s8); }
.workshop-video .video-frame { position: relative; overflow: hidden; background: #0b0d10; border: 1px solid rgba(255,255,255,.12); aspect-ratio: 3 / 4; max-width: 420px; margin-inline: auto; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.workshop-video .video-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8,10,13,.25) 0%, rgba(8,10,13,0) 30%, rgba(8,10,13,0) 70%, rgba(8,10,13,.45) 100%); box-shadow: inset 0 0 0 10px rgba(8,10,13,.35); }
.workshop-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.workshop-video figcaption { max-width: 420px; margin: var(--s3) auto 0; color: var(--muted); font-size: var(--text-xs); font-family: var(--mono); }
@media (max-width: 700px) { .workshop-video .video-frame, .workshop-video figcaption { max-width: 100%; } .workshop-video .video-frame { max-height: 72vh; } }

/* Atmosphere backgrounds (decorative, AI-generated texture; no text/brands). Picture sits behind content with a dark overlay. */
.has-atmo { position: relative; isolation: isolate; }
.atmo-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.atmo-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .9; }
.atmo-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,17,20,.94) 0%, rgba(14,17,20,.82) 45%, rgba(14,17,20,.55) 100%), linear-gradient(180deg, rgba(14,17,20,.35) 0%, rgba(14,17,20,0) 40%, rgba(14,17,20,.6) 100%); }
.industry-band.has-atmo, .closing.has-atmo { background: var(--paper); }
@media (max-width: 767.98px) {
  .atmo-bg img { object-position: center 70%; }
  .atmo-bg::after { background: linear-gradient(180deg, rgba(14,17,20,.9) 0%, rgba(14,17,20,.78) 55%, rgba(14,17,20,.6) 100%); }
}
/* The blueprint-steel texture is already low-key; use a lighter overlay so its line work stays visible. */
.atmo-soft img { opacity: 1; filter: brightness(1.35) contrast(1.1); }
.atmo-soft::after { background: linear-gradient(90deg, rgba(14,17,20,.9) 0%, rgba(14,17,20,.6) 45%, rgba(14,17,20,.25) 100%); }
@media (max-width: 767.98px) { .atmo-soft::after { background: linear-gradient(180deg, rgba(14,17,20,.85) 0%, rgba(14,17,20,.6) 60%, rgba(14,17,20,.4) 100%); } }
