:root {
  --ink: #10221a;
  --ink-soft: #385046;
  --forest: #143d2f;
  --forest-deep: #0b241b;
  --lime: #c7e23f;
  --lime-strong: #b3d224;
  --paper: #f3f5f0;
  --white: #ffffff;
  --mist: #e8ede7;
  --line: rgba(16, 34, 26, .14);
  --line-light: rgba(255, 255, 255, .18);
  --radius: 22px;
  --shadow: 0 22px 60px rgba(10, 35, 26, .12);
  --max: 1280px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", "Roboto Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }

h1, h2, h3, strong, b { text-wrap: balance; line-break: strict; }
.headline-line { display: block; white-space: nowrap; }
.hero-lead,
.section-heading > p,
.service-copy > p:not(.micro-label),
.industries-intro > p:last-child,
.industry-detail > p:not(.micro-label),
.workshop-stage figcaption p,
.quality-intro p:last-child,
.quality-step p,
.factory-copy > p:not(.eyebrow),
.factory-copy small { text-wrap: pretty; word-break: keep-all; line-break: strict; }

.container { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 200; top: 12px; left: 12px; padding: 12px 16px; border-radius: var(--radius); background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.announcement { color: rgba(255,255,255,.78); background: var(--forest-deep); font-size: 12px; letter-spacing: .06em; }
.announcement-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.announcement a { color: var(--white); }

.site-header { position: sticky; z-index: 90; top: 0; border-bottom: 1px solid var(--line); background: rgba(243,245,240,.92); backdrop-filter: blur(18px) saturate(140%); }
.header-inner { min-height: 80px; display: grid; grid-template-columns: 210px 1fr auto; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; width: 168px; border-radius: var(--radius); background: transparent; }
.brand img { width: 168px; height: 54px; object-fit: contain; mix-blend-mode: multiply; }
.brand-logo-dark, .hero-brand-lockup { display: none; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 2.8vw, 42px); }
.main-nav a { position: relative; padding: 28px 0 26px; color: #2f473d; font-size: 14px; font-weight: 650; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: 19px; left: 0; height: 2px; border-radius: var(--radius); background: var(--lime-strong); transform: scaleX(0); transform-origin: center; transition: transform .28s var(--ease); }
.main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a.is-current::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-contact { min-height: 46px; padding: 0 18px; border: 0; border-radius: var(--radius); color: var(--white); background: var(--ink); font-size: 13px; font-weight: 750; cursor: pointer; transition: transform .2s var(--ease), background .2s ease; }
.header-contact:hover { background: var(--forest); transform: translateY(-2px); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; margin: 5px auto; background: var(--ink); transition: transform .24s var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.hero { overflow: hidden; padding: 72px 0 78px; background: radial-gradient(circle at 12% 16%, rgba(199,226,63,.18), transparent 28%), linear-gradient(135deg, #f8f9f5 0%, #eaf0e8 100%); }
.hero-grid { min-height: 610px; display: grid; grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr); align-items: center; gap: clamp(48px, 7vw, 96px); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #53675e; font: 760 10px/1.4 var(--font-mono); letter-spacing: .14em; }
.eyebrow > span { width: 26px; height: 2px; border-radius: var(--radius); background: var(--lime-strong); }
.eyebrow-light { color: rgba(255,255,255,.66); }
.hero h1 { max-width: 760px; margin-top: 24px; font-size: clamp(54px, 5.4vw, 78px); font-weight: 680; line-height: 1.08; letter-spacing: -.055em; }
.hero-lead { max-width: 630px; margin-top: 28px; color: var(--ink-soft); font-size: 18px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 38px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--radius); font-size: 14px; font-weight: 760; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:active, .header-contact:active, .service-tab:active, .filter-button:active, .industry-tab:active, .workshop-tab:active, .quality-step:active { transform: scale(.98); }
.button-primary { color: var(--white); background: var(--ink); box-shadow: 0 14px 28px rgba(16,34,26,.16); }
.button-primary:hover { background: var(--forest); }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.62); }
.button-light { color: var(--ink); background: var(--lime); }
.hero-tags { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.hero-tags span { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); color: #54695f; font-size: 12px; font-weight: 650; }
.hero-media { position: relative; min-height: 610px; overflow: hidden; border-radius: var(--radius); background: #dfe7df; box-shadow: var(--shadow); }
.hero-media > img { width: 100%; height: 100%; min-height: 610px; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(7,27,20,.66)); pointer-events: none; }
.hero-caption { position: absolute; z-index: 2; right: 28px; bottom: 27px; left: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; color: var(--white); }
.hero-caption span { font: 700 10px/1 var(--font-mono); letter-spacing: .14em; }
.hero-caption p { font-size: 14px; font-weight: 650; }

.process-band { color: var(--white); background: var(--forest); }
.process-band-inner { min-height: 98px; display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 30px; }
.process-band-inner > p { color: var(--lime); font: 750 11px/1 var(--font-mono); letter-spacing: .14em; }
.process-band ul { display: grid; grid-template-columns: repeat(5, 1fr); }
.process-band li { position: relative; padding-left: 32px; font-size: 15px; font-weight: 650; }
.process-band li::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 30px; background: var(--line-light); transform: translateY(-50%); }

.section { padding: 120px 0; }
.section-heading { margin-bottom: 54px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); align-items: end; gap: 60px; }
.section-heading h2, .industries h2, .quality h2, .factory h2, .contact-band h2 { margin-top: 18px; font-size: clamp(42px, 4.8vw, 66px); font-weight: 660; line-height: 1.12; letter-spacing: -.05em; }
.section-heading > p { color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.section-heading-inline { grid-template-columns: 1fr auto; }
.micro-label { color: #667b70; font: 750 10px/1.4 var(--font-mono); letter-spacing: .14em; }

.capabilities { background: var(--white); }
.service-selector { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-tab { position: relative; min-height: 92px; display: flex; align-items: center; gap: 14px; padding: 18px 22px; border: 0; border-right: 1px solid var(--line); border-radius: var(--radius); background: transparent; font-size: 15px; font-weight: 720; text-align: left; cursor: pointer; transition: color .24s ease, background .24s ease, transform .18s var(--ease); }
.service-tab:last-child { border-right: 0; }
.service-tab span { color: #84958d; font: 700 10px/1 var(--font-mono); }
.service-tab.is-active { color: var(--white); background: var(--forest); }
.service-tab.is-active span { color: var(--lime); }
.service-detail { min-height: 500px; margin-top: 34px; display: grid; grid-template-columns: 1.16fr .84fr; overflow: hidden; border-radius: var(--radius); background: var(--paper); }
.service-image { min-height: 500px; overflow: hidden; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: opacity .24s ease, transform .6s var(--ease); }
.service-detail:hover .service-image img { transform: scale(1.015); }
.service-copy { padding: clamp(42px, 5vw, 74px); display: flex; flex-direction: column; justify-content: center; }
.service-copy h3 { margin-top: 16px; font-size: clamp(34px, 3.8vw, 52px); line-height: 1.1; letter-spacing: -.035em; }
.service-copy > p:not(.micro-label) { margin-top: 22px; color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.service-copy ul { margin-top: 28px; display: grid; gap: 12px; }
.service-copy li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.5; }
.service-copy li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: var(--radius); background: var(--lime-strong); }
.text-link { align-self: flex-start; margin-top: 34px; padding: 0 0 8px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font-size: 13px; font-weight: 760; cursor: pointer; }

.parts { background: var(--paper); }
.part-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; font-size: 13px; font-weight: 700; cursor: pointer; transition: color .2s ease, background .2s ease, transform .18s var(--ease); }
.filter-button.is-active { color: var(--white); background: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.product-card { position: relative; grid-column: span 4; min-height: 380px; padding: 0; overflow: hidden; border: 0; border-radius: var(--radius); color: var(--white); background: #d7ded8; text-align: left; cursor: zoom-in; box-shadow: 0 12px 30px rgba(11,36,27,.08); transition: transform .3s var(--ease), box-shadow .3s var(--ease), opacity .24s ease; }
.product-card-featured { grid-column: span 8; }
.product-card img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; transition: transform .6s var(--ease); }
.product-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(8,29,21,.76)); }
.product-card > span { position: absolute; z-index: 2; right: 24px; bottom: 23px; left: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.product-card b { font-size: 18px; }
.product-card small { color: rgba(255,255,255,.72); font: 650 10px/1.4 var(--font-mono); letter-spacing: .08em; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card:hover img { transform: scale(1.035); }
.product-card.is-filtered { display: none; }

.industries { color: var(--white); background: var(--forest-deep); }
.industries-grid { display: grid; grid-template-columns: minmax(330px, .78fr) minmax(0, 1.22fr); gap: clamp(60px, 9vw, 130px); }
.industries-intro > p:last-child { max-width: 480px; margin-top: 26px; color: rgba(255,255,255,.62); font-size: 16px; line-height: 1.8; }
.industry-panel { height: 600px; display: grid; grid-template-columns: .8fr 1.2fr; border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; }
.industry-list { display: grid; grid-template-rows: repeat(6, minmax(0, 1fr)); border-right: 1px solid var(--line-light); }
.industry-tab { width: 100%; min-height: 0; display: flex; align-items: center; gap: 18px; padding: 14px 22px; border: 0; border-bottom: 1px solid var(--line-light); border-radius: var(--radius); color: rgba(255,255,255,.66); background: transparent; text-align: left; font-size: 15px; font-weight: 700; cursor: pointer; transition: color .2s ease, background .2s ease, transform .18s var(--ease); }
.industry-tab:last-child { border-bottom: 0; }
.industry-tab span { color: rgba(255,255,255,.38); font: 700 10px/1 var(--font-mono); }
.industry-tab.is-active { color: var(--ink); background: var(--lime); }
.industry-tab.is-active span { color: var(--ink-soft); }
.industry-detail { height: 100%; min-height: 0; padding: clamp(36px, 5vw, 70px); display: flex; flex-direction: column; justify-content: center; }
.industry-detail .micro-label { display: flex; justify-content: space-between; color: rgba(255,255,255,.48); }
.industry-detail h3 { min-height: 2em; margin-top: 22px; display: flex; align-items: flex-end; font-size: clamp(42px, 5vw, 68px); line-height: 1; letter-spacing: -.05em; }
.industry-detail > p:not(.micro-label) { min-height: 5.4em; margin-top: 26px; color: rgba(255,255,255,.68); font-size: 16px; line-height: 1.8; }
.industry-detail ul { min-height: 72px; margin: 28px 0 34px; display: flex; align-content: flex-start; flex-wrap: wrap; gap: 8px; }
.industry-detail li { padding: 9px 12px; border: 1px solid var(--line-light); border-radius: var(--radius); color: rgba(255,255,255,.72); font-size: 12px; }
.industry-detail .button { align-self: flex-start; }

.workshop { background: var(--white); }
.workshop-browser { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; }
.workshop-stage { position: relative; min-height: 620px; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.workshop-stage > img { width: 100%; height: 100%; min-height: 620px; object-fit: cover; }
.workshop-stage::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(6,24,17,.84)); }
.workshop-stage figcaption { position: absolute; z-index: 2; right: 30px; bottom: 28px; left: 30px; display: grid; grid-template-columns: 90px 1fr; align-items: end; gap: 20px; color: var(--white); }
.workshop-stage figcaption > span { font: 700 10px/1 var(--font-mono); letter-spacing: .1em; }
.workshop-stage strong { font-size: 22px; }
.workshop-stage figcaption p { margin-top: 8px; color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.6; }
.workshop-thumbs { display: grid; grid-template-rows: repeat(6, 1fr); gap: 10px; }
.workshop-tab { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 14px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); font-size: 13px; font-weight: 700; text-align: left; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .18s var(--ease); }
.workshop-tab img { width: 96px; height: 70px; border-radius: var(--radius); object-fit: cover; }
.workshop-tab.is-active { border-color: var(--forest); background: var(--mist); }

.quality { background: var(--paper); }
.quality-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(340px, .68fr); column-gap: clamp(38px, 5vw, 70px); row-gap: clamp(42px, 5vw, 68px); align-items: center; }
.quality-intro { grid-column: 1 / -1; max-width: 860px; }
.quality-intro p:last-child { max-width: 680px; margin-top: 26px; color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.quality-visual { min-height: 500px; aspect-ratio: 1.25; overflow: hidden; border-radius: var(--radius); background: var(--mist); box-shadow: var(--shadow); }
.quality-visual img { width: 100%; height: 100%; object-fit: cover; transition: opacity .24s ease; }
.quality-steps { counter-reset: quality; }
.quality-steps li { border-bottom: 1px solid var(--line); }
.quality-step { width: 100%; min-height: 112px; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 24px 0; border: 0; border-radius: var(--radius); background: transparent; text-align: left; cursor: pointer; transition: padding .25s var(--ease), background .25s ease, transform .18s var(--ease); }
.quality-step > span { color: #7b8e84; font: 700 10px/1.4 var(--font-mono); }
.quality-step strong { font-size: 16px; }
.quality-step p { margin-top: 7px; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.quality-step.is-active { padding-inline: 18px; background: var(--white); }
.quality-step.is-active > span { color: var(--lime-strong); }

.factory { color: var(--white); background: var(--forest); }
.factory-grid { display: grid; grid-template-columns: minmax(290px, .58fr) minmax(0, 1.42fr); gap: clamp(42px, 5vw, 72px); align-items: start; }
.factory-copy { padding-top: clamp(18px, 2.2vw, 30px); }
.factory-copy > p:not(.eyebrow) { margin-top: 26px; color: rgba(255,255,255,.68); font-size: 16px; line-height: 1.8; }
.factory-copy .button { margin-top: 34px; }
.factory-copy small { display: block; margin-top: 22px; color: rgba(255,255,255,.46); font-size: 11px; line-height: 1.6; }
.factory-frame { overflow: hidden; border: 1px solid var(--line-light); border-radius: var(--radius); background: #091812; box-shadow: 0 28px 70px rgba(0,0,0,.22); }
.factory-bar { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 20px; border-bottom: 1px solid var(--line-light); color: rgba(255,255,255,.72); font: 700 10px/1 var(--font-mono); letter-spacing: .08em; }
.factory-bar span { display: flex; align-items: center; gap: 9px; }
.factory-bar i { width: 7px; height: 7px; border-radius: var(--radius); background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.factory-frame iframe { width: 100%; height: 680px; display: block; border: 0; background: #091812; }

.contact-band { padding: 96px 0; background: var(--lime); }
.contact-band-inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 60px; }
.contact-band .eyebrow > span { background: var(--ink); }
.contact-band-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.contact-band-actions > a { padding-bottom: 4px; border-bottom: 1px solid var(--ink); font-size: 20px; font-weight: 760; }

.site-footer { padding: 72px 0 28px; color: rgba(255,255,255,.7); background: #071a13; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 54px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-grid strong { margin-bottom: 8px; color: var(--white); font-size: 13px; }
.footer-grid a, .footer-grid p { font-size: 12px; line-height: 1.8; }
.footer-grid a:hover { color: var(--lime); }
.footer-brand img { width: 220px; height: auto; padding: 10px 14px; border-radius: var(--radius); object-fit: contain; background: var(--paper); filter: none; opacity: 1; }
.footer-brand p { margin-top: 16px; }
.footer-bottom { margin-top: 56px; padding-top: 22px; display: flex; justify-content: space-between; border-top: 1px solid var(--line-light); font-size: 11px; }
.footer-icp { padding-top: 14px; text-align: center; font-size: 11px; }
.footer-icp a:hover, .footer-icp a:focus-visible { color: var(--lime); }

dialog { color: var(--ink); }
dialog::backdrop { background: rgba(5,20,14,.72); backdrop-filter: blur(8px); }
.contact-dialog, .image-dialog { width: min(calc(100% - 32px), 880px); max-height: calc(100dvh - 32px); padding: clamp(30px, 5vw, 64px); overflow: auto; border: 0; border-radius: var(--radius); background: var(--paper); box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.contact-dialog { padding-right: min(42%, 360px); }
.contact-dialog h2, .image-dialog h2 { margin-top: 18px; font-size: clamp(34px, 5vw, 54px); line-height: 1.12; letter-spacing: -.045em; }
.dialog-close { position: absolute; z-index: 4; top: 18px; right: 18px; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.84); font-size: 24px; cursor: pointer; }
.contact-list { margin-top: 32px; display: grid; gap: 18px; }
.contact-list > div { padding-top: 16px; border-top: 1px solid var(--line); }
.contact-list span { color: #72867c; font: 700 10px/1 var(--font-mono); letter-spacing: .12em; }
.contact-list a { display: block; margin-top: 8px; font-size: 22px; font-weight: 740; }
.contact-list p { margin-top: 8px; font-size: 13px; line-height: 1.7; }
.dialog-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.copy-status { min-height: 18px; margin-top: 10px; color: var(--forest); font-size: 12px; }
.contact-dialog > img { position: absolute; top: 0; right: 0; width: min(38%, 320px); height: 100%; object-fit: cover; }
.image-dialog { width: min(calc(100% - 32px), 1040px); padding: 18px; background: var(--white); }
.image-dialog > img { width: 100%; max-height: 68vh; border-radius: var(--radius); object-fit: contain; background: var(--paper); }
.image-dialog > div { padding: 22px 12px 10px; }
.image-dialog h2 { margin-top: 8px; }

:focus-visible { outline: 3px solid var(--lime-strong); outline-offset: 4px; }
button:focus:not(:focus-visible), a:focus:not(:focus-visible) { outline: none; }

@media (max-width: 1120px) {
  .header-inner { grid-template-columns: 180px 1fr auto; gap: 22px; }
  .brand, .brand img { width: 154px; }
  .main-nav { gap: 20px; }
  .hero-grid { grid-template-columns: .9fr 1.1fr; gap: 48px; }
  .hero h1 { font-size: 58px; }
  .quality-grid { grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr); }
  .quality-intro { grid-column: 1 / -1; max-width: 720px; }
}

@media (max-width: 960px) {
  .container { width: min(calc(100% - 40px), var(--max)); }
  .announcement { display: none; }
  .header-inner { min-height: 74px; grid-template-columns: 1fr auto; }
  .main-nav { position: absolute; top: calc(100% + 10px); right: 20px; left: 20px; padding: 14px; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(250,251,248,.98); box-shadow: var(--shadow); visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .2s ease, transform .2s var(--ease), visibility .2s; }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .main-nav a { padding: 15px 14px; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a::after { display: none; }
  .menu-toggle { display: block; }
  .hero { padding-top: 54px; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-media, .hero-media > img { min-height: 560px; }
  .process-band-inner { grid-template-columns: 120px 1fr; }
  .service-selector { grid-template-columns: repeat(2, 1fr); border-bottom: 0; }
  .service-tab { border-bottom: 1px solid var(--line); }
  .service-tab:nth-child(2) { border-right: 0; }
  .service-detail { grid-template-columns: 1fr; }
  .service-image { min-height: 420px; }
  .product-card, .product-card-featured { grid-column: span 6; }
  .industries-grid { grid-template-columns: 1fr; }
  .industries-intro { max-width: 760px; }
  .workshop-browser { grid-template-columns: 1fr; }
  .workshop-thumbs { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); }
  .workshop-tab { grid-template-columns: 76px 1fr; }
  .workshop-tab img { width: 76px; height: 58px; }
  .factory-grid { grid-template-columns: 1fr; }
  .factory-copy { max-width: 720px; padding-top: 0; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
}

@media (max-width: 760px) {
  .section { padding: 82px 0; }
  .section-heading { margin-bottom: 38px; grid-template-columns: 1fr; gap: 22px; }
  .section-heading-inline { align-items: start; }
  .section-heading h2, .industries h2, .quality h2, .factory h2, .contact-band h2 { font-size: 44px; }
  .hero h1 { font-size: 52px; }
  .hero-media, .hero-media > img { min-height: 460px; }
  .process-band { overflow: auto; }
  .process-band-inner { width: max-content; min-width: 900px; grid-template-columns: 130px 1fr; padding-inline: 20px; }
  .product-card { min-height: 340px; }
  .product-card img { min-height: 340px; }
  .industry-panel { height: auto; grid-template-columns: 1fr; }
  .industry-list { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, minmax(68px, 1fr)); border-right: 0; border-bottom: 1px solid var(--line-light); }
  .industry-tab { min-height: 68px; border-right: 1px solid var(--line-light); }
  .industry-tab:nth-child(3n) { border-right: 0; }
  .industry-detail { height: 520px; min-height: 520px; }
  .workshop-stage, .workshop-stage > img { min-height: 480px; }
  .quality-grid { grid-template-columns: 1fr; }
  .quality-intro { grid-column: auto; }
  .quality-visual { min-height: 0; aspect-ratio: 1.2; }
  .contact-band-inner { grid-template-columns: 1fr; align-items: start; }
  .contact-band-actions { align-items: flex-start; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .contact-dialog { padding-right: clamp(26px, 6vw, 54px); padding-bottom: 300px; }
  .contact-dialog > img { top: auto; bottom: 0; width: 100%; max-width: none; height: 270px; }
}

@media (max-width: 520px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .site-header .container { width: calc(100% - 24px); }
  .brand, .brand img { width: 138px; height: 48px; }
  .header-contact { display: none; }
  .hero { padding: 42px 0 54px; }
  .hero-grid { gap: 34px; }
  .hero h1 { margin-top: 20px; font-size: 42px; line-height: 1.1; }
  .hero-lead { margin-top: 22px; font-size: 16px; line-height: 1.7; }
  .hero-actions { display: grid; }
  .button { width: 100%; justify-content: space-between; }
  .hero-tags { margin-top: 28px; }
  .hero-media, .hero-media > img { min-height: 390px; }
  .hero-caption { right: 18px; bottom: 18px; left: 18px; align-items: flex-start; flex-direction: column; }
  .section { padding: 68px 0; }
  .section-heading h2, .industries h2, .quality h2, .factory h2, .contact-band h2 { font-size: 38px; }
  .service-selector { grid-template-columns: 1fr; }
  .service-tab { min-height: 70px; border-right: 0; }
  .service-image { min-height: 310px; }
  .service-copy { padding: 30px 24px; }
  .section-heading-inline { gap: 30px; }
  .part-filters { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card, .product-card-featured { grid-column: 1; min-height: 360px; }
  .product-card img { min-height: 360px; }
  .industry-list { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, minmax(68px, 1fr)); }
  .industry-tab:nth-child(3n) { border-right: 1px solid var(--line-light); }
  .industry-tab:nth-child(2n) { border-right: 0; }
  .industry-detail { height: 520px; min-height: 520px; padding: 30px 24px; }
  .industry-detail .button { width: 100%; }
  .workshop-stage, .workshop-stage > img { min-height: 390px; }
  .workshop-stage figcaption { right: 18px; bottom: 18px; left: 18px; grid-template-columns: 1fr; gap: 10px; }
  .workshop-thumbs { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); }
  .workshop-tab { grid-template-columns: 1fr; gap: 8px; }
  .workshop-tab img { width: 100%; height: 72px; }
  .quality-visual { aspect-ratio: 1; }
  .factory-frame iframe { height: 620px; }
  .factory-bar strong { display: none; }
  .contact-band { padding: 68px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { gap: 18px; align-items: flex-start; flex-direction: column; }
  .dialog-actions { display: grid; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 39px; }
  .section-heading h2, .industries h2, .quality h2, .factory h2, .contact-band h2 { font-size: 35px; }
  .contact-dialog h2, .image-dialog h2 { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header, .main-nav { background: var(--paper); backdrop-filter: none; }
  dialog::backdrop { backdrop-filter: none; }
}

@media (prefers-contrast: more) {
  :root { --line: rgba(16,34,26,.42); --line-light: rgba(255,255,255,.42); }
  .button, .filter-button, .workshop-tab { border-width: 2px; }
}

@media (forced-colors: active) {
  .button, .header-contact, .service-tab, .filter-button, .industry-tab, .workshop-tab, .quality-step { border: 1px solid ButtonText; }
  .eyebrow > span, .main-nav a::after, .service-copy li::before, .factory-bar i { background: Highlight; }
}

/* Independent dark preview: activate with ?theme=dark. The default site remains unchanged. */
html[data-theme="dark"] { color-scheme: dark; background: #06110d; }
html[data-theme="dark"] body { color: #eef4ef; background: #06110d; }
html[data-theme="dark"] .announcement { color: rgba(238,244,239,.68); background: #030a07; }
html[data-theme="dark"] .site-header { border-color: rgba(199,226,63,.12); background: rgba(6,17,13,.9); box-shadow: 0 12px 36px rgba(0,0,0,.2); }
html[data-theme="dark"] .brand { width: auto; padding: 0; border-radius: 0; background: transparent; }
html[data-theme="dark"] .brand-logo-full { display: none; }
html[data-theme="dark"] .brand-logo-dark { display: inline-flex; align-items: center; gap: 10px; }
html[data-theme="dark"] .brand-logo-dark > img { width: 44px; height: 44px; border-radius: 50%; clip-path: circle(48%); object-fit: cover; mix-blend-mode: normal; filter: drop-shadow(0 7px 14px rgba(0,0,0,.22)); }
html[data-theme="dark"] .brand-logo-dark > span { display: grid; gap: 1px; }
html[data-theme="dark"] .brand-logo-dark strong { color: #f3f7f4; font-size: 19px; font-weight: 760; letter-spacing: .02em; line-height: 1; }
html[data-theme="dark"] .brand-logo-dark small { color: #c7e23f; font: 760 9px/1 var(--font-mono); letter-spacing: .12em; }
html[data-theme="dark"] .main-nav a { color: #b7c7be; }
html[data-theme="dark"] .main-nav a:hover,
html[data-theme="dark"] .main-nav a:focus-visible,
html[data-theme="dark"] .main-nav a.is-current { color: #f4f8f5; }
html[data-theme="dark"] .header-contact { color: #0a1a13; background: #c7e23f; box-shadow: 0 10px 26px rgba(199,226,63,.14); }
html[data-theme="dark"] .header-contact:hover { background: #d5ef57; }
html[data-theme="dark"] .menu-toggle { border-color: rgba(255,255,255,.18); }
html[data-theme="dark"] .menu-toggle span { background: #eef4ef; }

html[data-theme="dark"] .hero { position: relative; isolation: isolate; padding: 0; background: linear-gradient(180deg, rgba(3,11,8,.8), rgba(6,17,13,.94)), radial-gradient(circle at 50% 34%, rgba(199,226,63,.1), transparent 30%), url("./assets/hero-machining-premium.webp") center 58% / cover no-repeat; }
html[data-theme="dark"] .hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at center, transparent 0%, rgba(3,10,7,.12) 52%, rgba(3,10,7,.7) 100%); pointer-events: none; }
html[data-theme="dark"] .hero-grid { min-height: clamp(680px, calc(100svh - 116px), 800px); grid-template-columns: 1fr; place-items: center; }
html[data-theme="dark"] .hero-copy { width: 100%; margin-inline: auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; column-gap: 24px; text-align: center; }
html[data-theme="dark"] .hero-brand-lockup { grid-column: 1 / -1; width: max-content; max-width: 100%; margin: 0 auto 28px; display: inline-grid; grid-template-columns: 148px auto; align-items: center; gap: 30px; text-align: left; animation: dark-hero-rise .68s var(--ease) both; }
html[data-theme="dark"] .hero-brand-lockup > img { width: 148px; height: 148px; border-radius: 50%; clip-path: circle(48%); object-fit: cover; filter: drop-shadow(0 28px 52px rgba(0,0,0,.4)); }
html[data-theme="dark"] .hero-brand-lockup p { min-width: 0; display: grid; gap: 12px; }
html[data-theme="dark"] .hero-brand-lockup strong { color: #f4f8f5; font-size: clamp(52px, 5.8vw, 76px); font-weight: 700; letter-spacing: -.055em; line-height: .96; white-space: nowrap; }
html[data-theme="dark"] .hero-brand-lockup span { color: #c7e23f; font: 760 12px/1.2 var(--font-mono); letter-spacing: .22em; white-space: nowrap; }
html[data-theme="dark"] .hero-copy > .eyebrow { display: none; }
html[data-theme="dark"] .hero h1 { grid-column: 1 / -1; max-width: none; margin: 0 0 36px; font-size: clamp(32px, 3.3vw, 44px); line-height: 1.16; letter-spacing: -.03em; animation: dark-hero-rise .68s .08s var(--ease) both; }
html[data-theme="dark"] .hero .headline-line { display: inline; white-space: normal; }
html[data-theme="dark"] .hero .headline-line + .headline-line::before { content: " · "; color: #c7e23f; }
html[data-theme="dark"] .hero-lead { grid-column: 1 / span 7; max-width: 680px; margin: 0; padding-left: 20px; border-left: 2px solid #c7e23f; font-size: 16px; line-height: 1.8; text-align: left; animation: dark-hero-rise .68s .16s var(--ease) both; }
html[data-theme="dark"] .hero-actions { grid-column: 9 / -1; width: 100%; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; animation: dark-hero-rise .68s .24s var(--ease) both; }
html[data-theme="dark"] .hero-actions .button { width: 100%; padding-inline: 18px; gap: 20px; }
html[data-theme="dark"] .hero-tags { grid-column: 1 / -1; width: 100%; max-width: none; margin: 40px auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid rgba(255,255,255,.14); animation: dark-hero-rise .68s .32s var(--ease) both; }
html[data-theme="dark"] .hero-tags span { padding: 16px 18px; border: 0; border-left: 1px solid rgba(255,255,255,.16); font-size: 12px; letter-spacing: .06em; text-align: center; }
html[data-theme="dark"] .hero-tags span:first-child { border-left: 0; }
html[data-theme="dark"] .hero-media { display: none; }
html[data-theme="dark"] .hero h1,
html[data-theme="dark"] .section-heading h2,
html[data-theme="dark"] .service-copy h3,
html[data-theme="dark"] .workshop h2,
html[data-theme="dark"] .quality h2 { color: #f3f7f4; }
html[data-theme="dark"] .eyebrow { color: #8fa49a; }
html[data-theme="dark"] .hero-lead,
html[data-theme="dark"] .section-heading > p,
html[data-theme="dark"] .service-copy > p:not(.micro-label),
html[data-theme="dark"] .quality-intro p:last-child { color: #a4b7ad; }
html[data-theme="dark"] .hero-tags { border-color: rgba(255,255,255,.14); }
html[data-theme="dark"] .hero-tags span { color: #a8bbb1; border-color: rgba(255,255,255,.14); }
html[data-theme="dark"] .hero-media { background: #0c1d16; box-shadow: 0 30px 72px rgba(0,0,0,.38); }
html[data-theme="dark"] .hero-media > img { filter: brightness(.83) saturate(.82) contrast(1.08); }
html[data-theme="dark"] .button-primary { color: #0a1a13; background: #c7e23f; box-shadow: 0 14px 32px rgba(199,226,63,.14); }
html[data-theme="dark"] .button-primary:hover { background: #d5ef57; }
html[data-theme="dark"] .button-secondary { color: #eaf1ec; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.04); }
html[data-theme="dark"] .process-band { background: #030b08; border-block: 1px solid rgba(255,255,255,.08); }

html[data-theme="dark"] .capabilities { background: #081710; }
html[data-theme="dark"] .service-selector { border-color: rgba(255,255,255,.14); }
html[data-theme="dark"] .service-tab { color: #b7c7be; border-color: rgba(255,255,255,.14); }
html[data-theme="dark"] .service-tab span { color: #71867b; }
html[data-theme="dark"] .service-tab.is-active { color: #0a1a13; background: #c7e23f; }
html[data-theme="dark"] .service-tab.is-active span { color: #385046; }
html[data-theme="dark"] .service-detail { background: #0d2119; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
html[data-theme="dark"] .service-image img,
html[data-theme="dark"] .workshop-stage > img,
html[data-theme="dark"] .quality-visual img { filter: brightness(.82) saturate(.82) contrast(1.06); }
html[data-theme="dark"] .micro-label { color: #86a094; }
html[data-theme="dark"] .service-copy li { color: #dbe6df; }
html[data-theme="dark"] .text-link { color: #f0f5f1; border-color: rgba(255,255,255,.54); }

html[data-theme="dark"] .parts { background: #06110d; }
html[data-theme="dark"] .filter-button { color: #aec0b6; border-color: rgba(255,255,255,.16); }
html[data-theme="dark"] .filter-button:hover { color: #f3f7f4; border-color: rgba(199,226,63,.5); }
html[data-theme="dark"] .filter-button.is-active { color: #0a1a13; background: #c7e23f; }
html[data-theme="dark"] .product-card { border: 1px solid rgba(255,255,255,.08); background: #0e211a; box-shadow: 0 16px 40px rgba(0,0,0,.22); }
html[data-theme="dark"] .product-card img { filter: brightness(.78) saturate(.78) contrast(1.08); }

html[data-theme="dark"] .industries { background: #091c15; }
html[data-theme="dark"] .industry-panel { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.018); }
html[data-theme="dark"] .industry-list,
html[data-theme="dark"] .industry-tab { border-color: rgba(255,255,255,.12); }
html[data-theme="dark"] .industry-tab.is-active { color: #091b13; background: #c7e23f; }

html[data-theme="dark"] .workshop { background: #081710; }
html[data-theme="dark"] .workshop-stage { background: #0d2119; box-shadow: 0 22px 54px rgba(0,0,0,.26); }
html[data-theme="dark"] .workshop-tab { color: #c5d3cc; border-color: rgba(255,255,255,.12); background: #0c1d16; }
html[data-theme="dark"] .workshop-tab.is-active { color: #f4f8f5; border-color: rgba(199,226,63,.58); background: #12281f; box-shadow: inset 3px 0 0 #c7e23f; }

html[data-theme="dark"] .quality { background: #06110d; }
html[data-theme="dark"] .quality-visual { background: #0d2119; box-shadow: 0 26px 66px rgba(0,0,0,.32); }
html[data-theme="dark"] .quality-steps li { border-color: rgba(255,255,255,.13); }
html[data-theme="dark"] .quality-step { color: #dce7e1; }
html[data-theme="dark"] .quality-step > span { color: #7f9488; }
html[data-theme="dark"] .quality-step p { color: #98aba1; }
html[data-theme="dark"] .quality-step.is-active { background: #10261d; box-shadow: inset 3px 0 0 #c7e23f; }

html[data-theme="dark"] .factory { background: #091c15; }
html[data-theme="dark"] .factory-frame { border-color: rgba(199,226,63,.16); background: #030b08; box-shadow: 0 32px 76px rgba(0,0,0,.36); }
html[data-theme="dark"] .contact-band { color: #f1f6f2; background: radial-gradient(circle at 78% 20%, rgba(199,226,63,.1), transparent 28%), linear-gradient(125deg, #102b20, #091a14); border-top: 1px solid rgba(199,226,63,.18); }
html[data-theme="dark"] .contact-band .eyebrow > span { background: #c7e23f; }
html[data-theme="dark"] .contact-band-actions > a { color: #f1f6f2; border-color: rgba(255,255,255,.56); }
html[data-theme="dark"] .site-footer { background: #020805; }

html[data-theme="dark"] .contact-dialog,
html[data-theme="dark"] .image-dialog { color: #eef4ef; background: #0b1b15; }
html[data-theme="dark"] .contact-list > div { border-color: rgba(255,255,255,.14); }
html[data-theme="dark"] .contact-list span,
html[data-theme="dark"] .copy-status { color: #98aca1; }
html[data-theme="dark"] .dialog-close { color: #eef4ef; border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.07); }
html[data-theme="dark"] .image-dialog > img { background: #06110d; }

@keyframes dark-hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
  html[data-theme="dark"] .main-nav { border-color: rgba(255,255,255,.12); background: rgba(7,20,15,.98); box-shadow: 0 28px 70px rgba(0,0,0,.38); }
  html[data-theme="dark"] .main-nav a { border-color: rgba(255,255,255,.1); }
  html[data-theme="dark"] .hero-grid { min-height: calc(100svh - 74px); padding-block: 64px; }
  html[data-theme="dark"] .hero-copy { display: block; }
  html[data-theme="dark"] .hero-brand-lockup { grid-template-columns: 126px auto; gap: 24px; }
  html[data-theme="dark"] .hero-brand-lockup > img { width: 126px; height: 126px; }
  html[data-theme="dark"] .hero-brand-lockup strong { font-size: clamp(46px, 7vw, 62px); }
  html[data-theme="dark"] .hero h1 { margin-bottom: 28px; }
  html[data-theme="dark"] .hero-lead { max-width: 720px; margin-inline: auto; padding-left: 0; border-left: 0; text-align: center; }
  html[data-theme="dark"] .hero-actions { width: min(100%, 520px); margin: 28px auto 0; display: grid; }
  html[data-theme="dark"] .hero-tags { margin-top: 34px; grid-template-columns: repeat(2, 1fr); }
  html[data-theme="dark"] .hero-tags span:nth-child(3) { border-left: 0; }
  html[data-theme="dark"] .hero-tags span:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
}

@media (max-width: 520px) {
  html[data-theme="dark"] .brand { width: auto; }
  html[data-theme="dark"] .brand-logo-dark { gap: 8px; }
  html[data-theme="dark"] .brand-logo-dark > img { width: 40px; height: 40px; }
  html[data-theme="dark"] .brand-logo-dark strong { font-size: 17px; }
  html[data-theme="dark"] .brand-logo-dark small { font-size: 8px; }
  html[data-theme="dark"] .hero-grid { min-height: calc(100svh - 74px); padding-block: 48px; }
  html[data-theme="dark"] .hero-brand-lockup { margin-bottom: 26px; grid-template-columns: 92px auto; gap: 16px; }
  html[data-theme="dark"] .hero-brand-lockup > img { width: 92px; height: 92px; }
  html[data-theme="dark"] .hero-brand-lockup strong { font-size: 32px; }
  html[data-theme="dark"] .hero-brand-lockup span { font-size: 7px; letter-spacing: .11em; }
  html[data-theme="dark"] .hero h1 { margin-bottom: 24px; font-size: 28px; }
  html[data-theme="dark"] .hero-lead { margin-top: 20px; font-size: 15px; }
  html[data-theme="dark"] .hero-actions { margin-top: 26px; }
  html[data-theme="dark"] .hero-tags { margin-top: 30px; }
  html[data-theme="dark"] .hero-tags span { padding: 11px 8px; }
}

@media (prefers-reduced-transparency: reduce) {
  html[data-theme="dark"] .site-header,
  html[data-theme="dark"] .main-nav { background: #07140f; }
}
