:root {
  --serif: "Songti SC", SimSun, Georgia, serif;
  --sans: "Noto Sans SC", "Microsoft YaHei UI", "PingFang SC", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, monospace;
  --shell: min(1440px, calc(100vw - 64px));
  --ease: cubic-bezier(.2,.75,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, video { display: block; width: 100%; max-width: 100%; }
h1,h2,h3,p,figure { margin: 0; }
ul,ol { margin: 0; padding: 0; list-style: none; }
.shell { width: var(--shell); margin-inline: auto; }
.skip { position: fixed; z-index: 999; left: 14px; top: -80px; padding: 12px 16px; background: #fff; color: #111; }
.skip:focus { top: 14px; }
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.section-kicker { font: 700 10px/1.35 var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.section-head { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(280px,.55fr); gap: 50px; align-items: end; margin-bottom: 38px; }
.section-head h2 { margin-top: 14px; font-size: clamp(46px,5.8vw,86px); line-height: .92; letter-spacing: -.065em; }
.section-head > p { max-width: 480px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 0 22px; border: 1px solid currentColor; font-size: 12px; font-weight: 750; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.button-ghost { border-color: var(--line-strong); }
.button-dark { background: var(--ink); color: var(--page); border-color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--page) 91%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-shell { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.brand strong { font-size: 18px; letter-spacing: .04em; }
.brand small { color: var(--muted); font: 700 8px/1 var(--mono); letter-spacing: .16em; }
.site-nav { display: flex; align-items: center; gap: clamp(18px,2.5vw,38px); font-size: 11px; font-weight: 700; }
.site-nav a { position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: currentColor; transition: right .25s; }
.site-nav a:hover::after { right: 0; }
.header-cta { padding: 12px 17px; background: var(--ink); color: var(--page); font-size: 10px; font-weight: 750; }
.header-cta span { color: var(--accent-bright); margin-left: 8px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-strong); background: transparent; color: currentColor; }
.menu-toggle span { display: block; width: 16px; height: 1px; margin: 5px auto; background: currentColor; }

/* Hero common */
.hero { position: relative; overflow: hidden; }
.hero-backdrop { position: absolute; pointer-events: none; }
.hero-shell { position: relative; z-index: 2; }
.hero-copy { position: relative; z-index: 3; }
.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--muted); font: 700 9px/1.4 var(--mono); letter-spacing: .12em; }
.eyebrow span { color: var(--accent-bright); }
.hero-copy h1 { margin-top: 24px; font-size: clamp(62px,7.3vw,112px); line-height: .86; letter-spacing: -.075em; font-weight: 800; }
.hero-copy h1 em { color: var(--accent-bright); font-style: normal; }
.hero-lede { max-width: 610px; margin-top: 28px; color: var(--muted); font-size: clamp(13px,1.15vw,16px); line-height: 1.9; }
.hero-services { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 25px; }
.hero-services span { padding: 8px 10px; border: 1px solid var(--line-strong); color: var(--muted); font-size: 9px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.hero-visual { position: relative; min-width: 0; }
.hero-video { position: relative; overflow: hidden; background: #0a0c0a; }
.hero-video video { height: 100%; object-fit: cover; }
.hero-video figcaption { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; display: flex; justify-content: space-between; align-items: end; gap: 18px; color: #fff; }
.hero-video figcaption span { color: #72d8af; font: 700 8px/1 var(--mono); letter-spacing: .12em; }
.hero-video figcaption strong { font-size: 14px; }
.hero-samples { display: none; }
.hero-samples a { position: relative; overflow: hidden; background: #dedfd9; }
.hero-samples img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hero-samples a:hover img { transform: scale(1.04); }
.hero-samples span { position: absolute; left: 10px; bottom: 9px; padding: 5px 7px; background: rgba(10,12,10,.76); color: #fff; font: 700 8px/1 var(--mono); letter-spacing: .08em; }
.hero-seal { position: absolute; z-index: 4; width: 92px; height: 92px; display: grid; place-items: center; align-content: center; gap: 2px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.hero-seal strong { font-size: 28px; line-height: .9; }
.hero-seal span { text-align: center; font: 700 7px/1.2 var(--mono); letter-spacing: .08em; }
.hero-material-row { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid var(--line-strong); }
.hero-material-row a { min-width: 0; padding: 16px 14px; border-right: 1px solid var(--line); transition: background .2s; }
.hero-material-row a:last-child { border-right: 0; }
.hero-material-row a:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.hero-material-row b { display: block; margin-bottom: 7px; color: var(--accent-bright); font: 700 8px/1 var(--mono); }
.hero-material-row strong { display: block; font-size: 17px; letter-spacing: -.03em; }
.hero-material-row span { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.45; }

/* Materials */
.materials { padding: 104px 0 110px; background: var(--materials-bg); color: var(--ink); }
.material-grid { display: grid; gap: 14px; }
.material-card { min-width: 0; display: grid; overflow: hidden; background: var(--card-bg); border: 1px solid var(--line); }
.material-media { position: relative; min-height: 340px; overflow: hidden; background: #dfe1dc; }
.material-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--ease), filter .3s; }
.material-card:hover .material-media img { transform: scale(1.035); filter: saturate(1.04); }
.material-number { position: absolute; left: 16px; top: 14px; color: rgba(255,255,255,.9); font: 800 12px/1 var(--mono); text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.material-copy { padding: 24px; display: flex; flex-direction: column; align-items: flex-start; }
.material-copy > p { color: var(--accent-bright); font: 700 9px/1.4 var(--mono); letter-spacing: .11em; }
.material-copy h3 { margin-top: 10px; font-size: clamp(28px,2.6vw,40px); line-height: 1; letter-spacing: -.055em; }
.material-range { margin-top: 12px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.material-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 19px; }
.material-tags span { padding: 6px 8px; border: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.material-copy b { margin-top: auto; padding-top: 24px; color: var(--accent-bright); font-size: 10px; }

/* Production */
.production { padding: 104px 0; background: var(--production-bg); color: var(--production-ink); }
.production .section-kicker { color: var(--accent-bright); }
.section-head-light > p { color: var(--production-muted); }
.production-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 14px; align-items: stretch; }
.production-video { grid-column: span 8; position: relative; min-height: 560px; overflow: hidden; background: #050605; }
.production-video video { width: 100%; height: 100%; object-fit: cover; }
.production-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 55%,rgba(0,0,0,.78)); pointer-events: none; }
.production-video figcaption { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; display: flex; justify-content: space-between; align-items: end; color: #fff; }
.production-video figcaption span { color: var(--accent-bright); font: 700 8px/1 var(--mono); letter-spacing: .12em; }
.production-video figcaption strong { font-size: 17px; }
.process-panel { grid-column: span 4; padding: 32px; background: var(--process-bg); color: var(--process-ink); }
.process-panel .section-kicker { color: var(--accent-bright); }
.process-panel h3 { margin-top: 14px; font-size: clamp(34px,3.5vw,52px); line-height: .96; letter-spacing: -.06em; }
.process-panel ol { margin-top: 28px; border-top: 1px solid var(--process-line); }
.process-panel li { display: grid; grid-template-columns: 32px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--process-line); }
.process-panel li > span { color: var(--accent-bright); font: 700 9px/1.5 var(--mono); }
.process-panel strong, .process-panel small { display: block; }
.process-panel strong { font-size: 11px; }
.process-panel small { margin-top: 4px; color: var(--process-muted); font-size: 9px; }

/* Delivery */
.delivery { padding: 104px 0; background: var(--delivery-bg); }
.delivery-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 14px; }
.delivery-main, .delivery-side figure { position: relative; overflow: hidden; background: #111; min-height: 0; }
.delivery-main { min-height: 620px; }
.delivery-main img, .delivery-side video { width: 100%; height: 100%; object-fit: cover; }
.delivery-main::after, .delivery-side figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 50%,rgba(10,12,10,.78)); pointer-events: none; }
.delivery-main figcaption, .delivery-side figcaption { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 17px; color: #fff; }
.delivery-main figcaption span, .delivery-side figcaption span { display: block; color: var(--accent-bright); font: 700 8px/1 var(--mono); letter-spacing: .12em; }
.delivery-main figcaption strong, .delivery-side figcaption strong { display: block; margin-top: 6px; font-size: 23px; }
.delivery-side { display: grid; gap: 14px; }
.delivery-side figure { min-height: 303px; }

/* Contact and footer */
.contact { padding: 100px 0; background: var(--contact-bg); color: var(--contact-ink); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(42px,7vw,110px); align-items: center; }
.contact h2 { margin-top: 16px; font-size: clamp(48px,6vw,92px); line-height: .9; letter-spacing: -.07em; }
.contact-grid > div:first-child > p:not(.section-kicker) { max-width: 590px; margin-top: 24px; color: var(--contact-muted); font-size: 13px; line-height: 1.9; }
.contact .section-kicker { color: var(--accent-bright); }
.contact-card { padding: 34px; background: var(--contact-card); color: var(--contact-card-ink); }
.contact-card > span { color: var(--muted); font-size: 10px; }
.contact-card > strong { display: block; margin-top: 16px; font-size: 28px; }
.contact-card > a:not(.button) { display: block; margin-top: 8px; font-size: 13px; }
.contact-card > p { margin-top: 20px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.contact-card .button { margin-top: 25px; width: 100%; }
.site-footer { background: var(--footer-bg); color: var(--footer-ink); }
.site-footer .shell { min-height: 66px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 9px; }
.site-footer a { color: var(--accent-bright); }
.version-switch { position: fixed; z-index: 80; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 4px; padding: 5px; background: rgba(12,14,12,.9); color: #fff; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.version-switch > span { padding: 0 7px; color: rgba(255,255,255,.55); font-size: 8px; }
.version-switch a { width: 32px; height: 30px; display: grid; place-items: center; font: 700 9px/1 var(--mono); }
.version-switch a.is-active { background: var(--accent); color: #fff; }
/* Theme 1 — Material index */
body[data-theme="1"] {
  --page:#f2efe7; --ink:#10120f; --muted:#656a61; --accent:#0d7258; --accent-bright:#0d7258; --accent-ink:#fff;
  --line:rgba(16,18,15,.14); --line-strong:rgba(16,18,15,.28); --materials-bg:#f2efe7; --card-bg:#fff;
  --production-bg:#10130f; --production-ink:#fff; --production-muted:rgba(255,255,255,.56); --process-bg:#171b17; --process-ink:#fff; --process-muted:rgba(255,255,255,.48); --process-line:rgba(255,255,255,.15);
  --delivery-bg:#e9e5db; --contact-bg:#0d7258; --contact-ink:#fff; --contact-muted:rgba(255,255,255,.64); --contact-card:#f7f4ec; --contact-card-ink:#111; --footer-bg:#080a08; --footer-ink:rgba(255,255,255,.65);
}
body[data-theme="1"] .hero { padding: 38px 0 0; }
body[data-theme="1"] .hero-backdrop { right: -9vw; top: -18vw; width: 44vw; height: 44vw; border-radius: 50%; background: color-mix(in srgb,var(--accent) 8%,transparent); }
body[data-theme="1"] .hero-shell { display: grid; grid-template-columns: minmax(0,.88fr) minmax(560px,1.12fr); gap: clamp(34px,4.6vw,72px); align-items: center; min-height: 640px; }
body[data-theme="1"] .hero-video { aspect-ratio: 16 / 10; box-shadow: 0 24px 64px rgba(16,19,16,.14); }
body[data-theme="1"] .hero-seal { right: -24px; top: -30px; }
body[data-theme="1"] .hero-material-row { margin-top: 34px; }
body[data-theme="1"] .material-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
body[data-theme="1"] .material-card { grid-template-columns: 1.1fr .9fr; min-height: 390px; }
body[data-theme="1"] .material-card:nth-child(even) .material-media { order: 2; }
body[data-theme="1"] .material-card:nth-child(even) .material-copy { order: 1; }

/* Theme 2 — Factory film */
body[data-theme="2"] {
  --page:#0c0e0c; --ink:#f3f0e8; --muted:rgba(243,240,232,.58); --accent:#0d7258; --accent-bright:#7bdcb5; --accent-ink:#07110c;
  --line:rgba(255,255,255,.13); --line-strong:rgba(255,255,255,.25); --materials-bg:#0c0e0c; --card-bg:#151815;
  --production-bg:#070807; --production-ink:#fff; --production-muted:rgba(255,255,255,.55); --process-bg:#151815; --process-ink:#fff; --process-muted:rgba(255,255,255,.46); --process-line:rgba(255,255,255,.14);
  --delivery-bg:#111410; --contact-bg:#0d7258; --contact-ink:#fff; --contact-muted:rgba(255,255,255,.66); --contact-card:#f4f1e8; --contact-card-ink:#111; --footer-bg:#050605; --footer-ink:rgba(255,255,255,.6);
}
body[data-theme="2"] .site-header { background: rgba(8,10,8,.86); }
body[data-theme="2"] .header-cta { background:#f3f0e8; color:#10120f; }
body[data-theme="2"] .hero { min-height: calc(100vh - 82px); background:#050605; color:#fff; }
body[data-theme="2"] .hero-backdrop { display:none; }
body[data-theme="2"] .hero-shell { min-height: calc(100vh - 156px); display:grid; align-items:center; }
body[data-theme="2"] .hero-copy { max-width: 1120px; padding: 8vh 0 70px; }
body[data-theme="2"] .hero-copy h1 { max-width: 1100px; font-size: clamp(68px,9vw,148px); line-height: .83; text-shadow: 0 6px 34px rgba(0,0,0,.38); }
body[data-theme="2"] .hero-copy h1 em { color:#8ce4c0; }
body[data-theme="2"] .eyebrow, body[data-theme="2"] .hero-lede { color:rgba(255,255,255,.7); }
body[data-theme="2"] .hero-services span { border-color:rgba(255,255,255,.28); background:rgba(0,0,0,.22); color:rgba(255,255,255,.8); backdrop-filter:blur(8px); }
body[data-theme="2"] .button-ghost { color:#fff; border-color:rgba(255,255,255,.5); }
body[data-theme="2"] .hero-visual { position:absolute; left:50%; top:0; bottom:0; width:100vw; transform:translateX(-50%); z-index:0; }
body[data-theme="2"] .hero-video { width:100%; height:100%; }
body[data-theme="2"] .hero-video::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(5,7,5,.93) 0%,rgba(5,7,5,.54) 58%,rgba(5,7,5,.3) 100%),linear-gradient(180deg,rgba(5,7,5,.15),rgba(5,7,5,.82)); }
body[data-theme="2"] .hero-video figcaption { display:none; }
body[data-theme="2"] .hero-seal { display:none; }
body[data-theme="2"] .hero-material-row { background:rgba(5,7,5,.82); border-top-color:rgba(255,255,255,.18); backdrop-filter:blur(16px); }
body[data-theme="2"] .hero-material-row span { color:rgba(255,255,255,.5); }
body[data-theme="2"] .material-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
body[data-theme="2"] .material-card { display:flex; flex-direction:column; }
body[data-theme="2"] .material-media { aspect-ratio: 1 / 1.18; min-height:0; }
body[data-theme="2"] .material-copy { min-height: 280px; }
/* Theme 3 — Sample lab */
body[data-theme="3"] {
  --page:#eee7da; --ink:#171610; --muted:#6b675d; --accent:#195f47; --accent-bright:#195f47; --accent-ink:#fff;
  --line:rgba(23,22,16,.15); --line-strong:rgba(23,22,16,.28); --materials-bg:#f5f0e6; --card-bg:#fffaf1;
  --production-bg:#172019; --production-ink:#f7f2e8; --production-muted:rgba(255,255,255,.6); --process-bg:#e5dccb; --process-ink:#171610; --process-muted:#6b675d; --process-line:rgba(23,22,16,.16);
  --delivery-bg:#e5dece; --contact-bg:#195f47; --contact-ink:#fff; --contact-muted:rgba(255,255,255,.67); --contact-card:#f7f1e5; --contact-card-ink:#171610; --footer-bg:#10130f; --footer-ink:rgba(255,255,255,.64);
}
body[data-theme="3"] .hero { padding: 54px 0 0; }
body[data-theme="3"] .hero-backdrop { left:-10vw; bottom:-22vw; width:52vw; height:52vw; border-radius:50%; background:rgba(255,255,255,.34); }
body[data-theme="3"] .hero-shell { display:grid; grid-template-columns:minmax(0,.82fr) minmax(600px,1.18fr); gap:clamp(38px,5vw,70px); align-items:center; min-height:700px; }
body[data-theme="3"] .hero-copy h1 { font-family:var(--serif); font-weight:600; letter-spacing:-.075em; }
body[data-theme="3"] .hero-copy h1 em { color:var(--accent); font-family:var(--serif); font-style:italic; }
body[data-theme="3"] .hero-visual { min-height:620px; display:grid; grid-template-columns:1fr 1fr; grid-template-rows:1fr 1fr; gap:8px; padding:0; }
body[data-theme="3"] .hero-samples { display:contents; }
body[data-theme="3"] .hero-samples a { min-height:0; }
body[data-theme="3"] .hero-video { position:absolute; z-index:4; right:-34px; bottom:38px; width:58%; aspect-ratio:4/3; border:8px solid var(--page); box-shadow:0 24px 60px rgba(23,22,16,.22); }
body[data-theme="3"] .hero-seal { left:-34px; top:30px; background:var(--ink); color:var(--page); }
body[data-theme="3"] .hero-material-row { margin-top:32px; background:rgba(255,255,255,.24); }
body[data-theme="3"] .material-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
body[data-theme="3"] .material-card { grid-template-columns:1fr; }
body[data-theme="3"] .material-media { aspect-ratio:4 / 3; min-height:0; }
body[data-theme="3"] .material-copy { min-height:250px; }

/* Theme 4 — Precision grid */
body[data-theme="4"] {
  --page:#f7f7f3; --ink:#0b0d0b; --muted:#5e635e; --accent:#155b42; --accent-bright:#155b42; --accent-ink:#fff;
  --line:rgba(11,13,11,.16); --line-strong:rgba(11,13,11,.36); --materials-bg:#f7f7f3; --card-bg:transparent;
  --production-bg:#0b0d0b; --production-ink:#fff; --production-muted:rgba(255,255,255,.56); --process-bg:#f7f7f3; --process-ink:#0b0d0b; --process-muted:#5e635e; --process-line:rgba(11,13,11,.17);
  --delivery-bg:#eef0eb; --contact-bg:#155b42; --contact-ink:#fff; --contact-muted:rgba(255,255,255,.66); --contact-card:#f8f8f3; --contact-card-ink:#0b0d0b; --footer-bg:#090b09; --footer-ink:rgba(255,255,255,.62);
}
body[data-theme="4"] { background-image:linear-gradient(to right,var(--line) 1px,transparent 1px),linear-gradient(to bottom,var(--line) 1px,transparent 1px); background-size:72px 72px; }
body[data-theme="4"] .site-header, body[data-theme="4"] .materials, body[data-theme="4"] .delivery, body[data-theme="4"] .contact, body[data-theme="4"] .site-footer { background-image:linear-gradient(var(--page),var(--page)); }
body[data-theme="4"] .hero { padding:34px 0 0; background:transparent; }
body[data-theme="4"] .hero-shell { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(520px,.95fr); gap:0; align-items:stretch; min-height:680px; border-left:1px solid var(--line-strong); border-right:1px solid var(--line-strong); }
body[data-theme="4"] .hero-copy { padding:54px 48px 42px; border-right:1px solid var(--line-strong); background:rgba(247,247,243,.86); }
body[data-theme="4"] .hero-copy h1 { font-size:clamp(58px,7vw,108px); }
body[data-theme="4"] .hero-visual { padding:38px 0 38px 38px; background:rgba(247,247,243,.72); }
body[data-theme="4"] .hero-video { height:100%; min-height:540px; border:1px solid var(--line-strong); }
body[data-theme="4"] .hero-seal { right:16px; top:54px; border-radius:0; background:var(--ink); color:var(--page); }
body[data-theme="4"] .hero-material-row { border-left:1px solid var(--line-strong); border-right:1px solid var(--line-strong); border-bottom:1px solid var(--line-strong); background:rgba(247,247,243,.9); }
body[data-theme="4"] .hero-material-row a { border-right:1px solid var(--line-strong); }
body[data-theme="4"] .material-grid { grid-template-columns:1fr; gap:0; border-top:1px solid var(--line-strong); }
body[data-theme="4"] .material-card { grid-template-columns:250px 1fr; min-height:230px; background:rgba(247,247,243,.92); border-width:0 1px 1px; }
body[data-theme="4"] .material-media { min-height:230px; }
body[data-theme="4"] .material-copy { display:grid; grid-template-columns:minmax(260px,.9fr) minmax(260px,1.1fr); grid-template-rows:auto auto 1fr auto; column-gap:34px; align-content:center; }
body[data-theme="4"] .material-copy > p { grid-column:1; }
body[data-theme="4"] .material-copy h3 { grid-column:1; }
body[data-theme="4"] .material-range { grid-column:2; grid-row:1 / span 2; align-self:end; margin-top:0; }
body[data-theme="4"] .material-tags { grid-column:2; grid-row:2; align-self:start; }
body[data-theme="4"] .material-copy b { grid-column:1 / -1; padding-top:18px; }

/* Responsive */
@media (max-width: 1100px) {
  :root { --shell:min(1440px,calc(100vw - 40px)); }
  .site-nav { gap:18px; }
  body[data-theme="1"] .hero-shell,
  body[data-theme="3"] .hero-shell,
  body[data-theme="4"] .hero-shell { grid-template-columns:1fr; min-height:0; }
  body[data-theme="1"] .hero-copy, body[data-theme="3"] .hero-copy { padding:54px 0 18px; }
  body[data-theme="4"] .hero-copy { border-right:0; border-bottom:1px solid var(--line-strong); }
  body[data-theme="4"] .hero-visual { padding:28px; }
  body[data-theme="3"] .hero-visual { min-height:560px; margin-top:20px; }
  body[data-theme="2"] .material-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body[data-theme="4"] .material-card { grid-template-columns:210px 1fr; }
  .production-video { grid-column:span 7; }
  .process-panel { grid-column:span 5; }
}
@media (max-width: 900px) {
  .header-cta { display:none; }
  .menu-toggle { display:block; }
  .site-nav { position:fixed; z-index:60; left:20px; right:20px; top:82px; display:none; flex-direction:column; align-items:stretch; gap:0; padding:12px 18px 18px; background:var(--page); color:var(--ink); border:1px solid var(--line-strong); box-shadow:0 22px 48px rgba(0,0,0,.14); }
  .site-nav.is-open { display:flex; }
  .site-nav a { padding:14px 0; border-bottom:1px solid var(--line); }
  .site-nav a:last-child { border-bottom:0; }
  .section-head { grid-template-columns:1fr; gap:24px; }
  body[data-theme="1"] .material-grid,
  body[data-theme="3"] .material-grid { grid-template-columns:1fr; }
  body[data-theme="1"] .material-card { grid-template-columns:1fr 1fr; }
  .production-grid { grid-template-columns:1fr; }
  .production-video, .process-panel { grid-column:auto; }
  .production-video { min-height:500px; }
  .delivery-grid { grid-template-columns:1fr; }
  .delivery-main { min-height:480px; }
  .contact-grid { grid-template-columns:1fr; }
  body[data-theme="4"] .material-copy { grid-template-columns:1fr; }
  body[data-theme="4"] .material-copy > p,
  body[data-theme="4"] .material-copy h3,
  body[data-theme="4"] .material-range,
  body[data-theme="4"] .material-tags,
  body[data-theme="4"] .material-copy b { grid-column:1; grid-row:auto; }
}
@media (max-width: 640px) {
  :root { --shell:calc(100vw - 30px); }
  .header-shell { min-height:70px; }
  .brand img { width:38px; height:38px; }
  .brand strong { font-size:16px; }
  .site-nav { top:70px; left:15px; right:15px; }
  .hero-copy h1 { font-size:clamp(50px,15vw,76px); }
  .hero-lede { font-size:13px; }
  .hero-actions { flex-direction:column; }
  .hero-actions .button { width:100%; }
  .hero-material-row { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hero-material-row a:nth-child(2) { border-right:0; }
  .hero-material-row a:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .hero-video figcaption { align-items:flex-start; flex-direction:column; gap:5px; }
  body[data-theme="2"] .hero-shell { min-height:calc(100vh - 140px); }
  body[data-theme="2"] .hero-copy { padding:70px 0 50px; }
  body[data-theme="2"] .hero-copy h1 { font-size:clamp(54px,16vw,82px); }
  body[data-theme="2"] .material-grid { grid-template-columns:1fr; }
  body[data-theme="3"] .hero-visual { min-height:430px; margin-right:0; }
  body[data-theme="3"] .hero-video { width:72%; right:0; bottom:20px; }
  body[data-theme="3"] .hero-seal { left:14px; top:14px; width:72px; height:72px; }
  body[data-theme="4"] .hero-copy { padding:38px 22px 30px; }
  body[data-theme="4"] .hero-visual { padding:18px; }
  body[data-theme="4"] .hero-video { min-height:300px; }
  body[data-theme="4"] .material-card { grid-template-columns:1fr; }
  body[data-theme="4"] .material-media { min-height:260px; }
  .materials, .production, .delivery, .contact { padding:76px 0; }
  .material-card { grid-template-columns:1fr !important; }
  .material-media { min-height:300px; }
  .material-card:nth-child(even) .material-media { order:0; }
  .material-copy { min-height:0 !important; }
  .production-video { min-height:370px; }
  .process-panel { padding:26px 22px; }
  .delivery-side { grid-template-columns:1fr; }
  .delivery-side figure { min-height:260px; }
  .site-footer .shell { min-height:88px; align-items:flex-start; flex-direction:column; justify-content:center; }
  .version-switch { right:8px; bottom:8px; }
  .version-switch > span { display:none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { transition-duration:.001ms !important; animation-duration:.001ms !important; }
  .js [data-reveal] { opacity:1; transform:none; }
}
/* Final title fitting for preview variants */
body[data-theme="1"] .hero-copy h1 { font-size:clamp(52px,5vw,78px); white-space:nowrap; }
body[data-theme="3"] .hero-copy h1 { font-size:clamp(46px,5.1vw,74px); white-space:nowrap; }
body[data-theme="4"] .hero-copy h1 { font-size:clamp(52px,5.35vw,82px); white-space:nowrap; }
@media (max-width:1100px) {
  body[data-theme="1"] .hero-copy h1,
  body[data-theme="3"] .hero-copy h1,
  body[data-theme="4"] .hero-copy h1 { white-space:normal; font-size:clamp(50px,10vw,80px); }
}
/* Final consistency fixes */
body { color: var(--ink); background-color: var(--page); }
body[data-theme="2"] .brand img { filter: brightness(0) invert(1); }
body[data-theme="4"] .material-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
body[data-theme="4"] .material-copy > p,
body[data-theme="4"] .material-copy h3,
body[data-theme="4"] .material-range,
body[data-theme="4"] .material-tags,
body[data-theme="4"] .material-copy b {
  grid-column: auto;
  grid-row: auto;
}
body[data-theme="4"] .material-range { margin-top: 12px; }
body[data-theme="4"] .material-copy b { margin-top: 18px; padding-top: 0; }body[data-theme="4"] .material-range, body[data-theme="4"] .material-tags { align-self: flex-start; justify-self: auto; }
/* Factory and certificates on final homepage */
.factory-home { padding: 104px 0; background: #e5dccb; color: #171610; }
.factory-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); grid-template-rows: repeat(2,300px); gap: 14px; }
.factory-photo { position: relative; min-width: 0; overflow: hidden; background: #cbc5b8; }
.factory-photo-large { grid-column: span 7; grid-row: span 2; }
.factory-photo:not(.factory-photo-large) { grid-column: span 5; }
.factory-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .3s; }
.factory-photo:hover img { transform: scale(1.03); filter: saturate(1.04); }
.factory-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 54%, rgba(10,12,10,.78)); pointer-events: none; }
.factory-photo figcaption { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; color: #fff; }
.factory-photo figcaption span { display: block; color: #8de1bf; font: 700 8px/1 var(--mono); letter-spacing: .12em; }
.factory-photo figcaption strong { display: block; margin-top: 7px; font-size: 22px; letter-spacing: -.035em; }
.certificates { padding: 108px 0; background: #f5f0e6; color: #171610; }
.certificate-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 13px; }
.certificate-card { min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(23,22,16,.16); transition: transform .25s, border-color .25s, box-shadow .25s; }
.certificate-card:hover { transform: translateY(-4px); border-color: #195f47; box-shadow: 0 14px 34px rgba(23,22,16,.1); }
.certificate-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; background: #f3f3f3; }
.certificate-card > div { padding: 14px 14px 16px; }
.certificate-card span { display: block; color: #195f47; font: 700 8px/1.3 var(--mono); letter-spacing: .08em; }
.certificate-card strong { display: block; margin-top: 6px; font-size: 14px; letter-spacing: -.02em; }
.certificate-card small { display: block; margin-top: 10px; color: #6b675d; font-size: 9px; }
@media (max-width: 1100px) {
  .certificate-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .factory-grid { grid-template-rows: repeat(2,260px); }
}
@media (max-width: 760px) {
  .factory-home, .certificates { padding: 76px 0; }
  .factory-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .factory-photo-large, .factory-photo:not(.factory-photo-large) { grid-column: auto; grid-row: auto; min-height: 340px; }
  .certificate-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 480px) {
  .certificate-grid { grid-template-columns: 1fr; }
  .factory-photo-large, .factory-photo:not(.factory-photo-large) { min-height: 280px; }
}
/* Final factory and certificate adjustments */
.factory-photo-single { grid-column: 1 / -1; grid-row: auto; min-height: 620px; }
.factory-photo-single img { object-position: center; }
.certificate-card:hover { transform: none; border-color: rgba(23,22,16,.16); box-shadow: none; }
@media (max-width: 760px) {
  .factory-photo-single { min-height: 340px; }
}.factory-photo.factory-photo-single { grid-column: 1 / -1; grid-row: auto; min-height: 620px; }
/* Floating QR contact */
.contact-fab {
  position: fixed;
  z-index: 92;
  right: 20px;
  bottom: 20px;
  width: 68px;
  height: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--page);
  box-shadow: 0 12px 34px rgba(10,12,10,.2);
  cursor: pointer;
}
.contact-fab span { font-size: 14px; font-weight: 800; }
.contact-fab small { color: var(--accent-bright); font: 700 7px/1 var(--mono); letter-spacing: .08em; }
.contact-qr-panel {
  position: fixed;
  z-index: 93;
  right: 20px;
  bottom: 100px;
  width: min(420px, calc(100vw - 40px));
  padding: 20px;
  background: #f7f1e5;
  color: #171610;
  border: 1px solid rgba(23,22,16,.22);
  box-shadow: 0 22px 60px rgba(10,12,10,.24);
}
.contact-qr-panel[hidden] { display: none; }
.contact-qr-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.contact-qr-head span { display: block; color: #195f47; font: 700 8px/1.4 var(--mono); letter-spacing: .12em; }
.contact-qr-head strong { display: block; margin-top: 6px; font-size: 22px; letter-spacing: -.04em; }
.contact-qr-close { width: 34px; height: 34px; border: 1px solid rgba(23,22,16,.25); background: transparent; color: #171610; font-size: 22px; line-height: 1; cursor: pointer; }
.contact-qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.contact-qr-grid article { padding: 10px; background: #fff; border: 1px solid rgba(23,22,16,.14); }
.contact-qr-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.contact-qr-grid span { display: block; margin-top: 9px; color: #195f47; font: 700 8px/1.2 var(--mono); letter-spacing: .1em; }
.contact-qr-grid strong { display: block; margin-top: 4px; font-size: 12px; }
.contact-qr-panel > p { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(23,22,16,.16); color: #6b675d; font-size: 10px; }
@media (max-width: 520px) {
  .contact-fab { right: 14px; bottom: 14px; width: 62px; height: 62px; }
  .contact-qr-panel { right: 12px; bottom: 86px; width: calc(100vw - 24px); padding: 16px; }
}
/* Three floating contact buttons with QR-only behavior */
.floating-contact {
  position: fixed;
  z-index: 92;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.floating-contact button {
  width: 58px;
  min-height: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 0;
  border-radius: 24px;
  color: #fff;
  box-shadow: 0 8px 26px rgba(10,12,10,.18);
  cursor: pointer;
}
.floating-contact button span { font-size: 11px; font-weight: 800; }
.floating-contact button small { font: 700 7px/1 var(--mono); letter-spacing: .04em; opacity: .74; }
.floating-contact button[data-contact="whatsapp"] { background: #1ebe5d; }
.floating-contact button[data-contact="wechat"] { background: #07c160; }
.floating-contact button[data-contact="phone"] { background: var(--ink); }
.floating-contact button[aria-expanded="true"] { transform: translateX(-3px); box-shadow: 0 10px 30px rgba(10,12,10,.3); }
.contact-qr-panel {
  right: 20px;
  bottom: 180px;
  width: min(360px, calc(100vw - 40px));
}
.contact-qr-view { margin-top: 18px; text-align: center; }
.contact-qr-view[hidden] { display: none; }
.contact-qr-view img { width: min(100%, 280px); margin: 0 auto; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.contact-qr-view span { display: block; margin-top: 10px; color: #195f47; font: 700 8px/1.2 var(--mono); letter-spacing: .12em; }
.contact-qr-view strong { display: block; margin-top: 6px; font-size: 18px; }
.contact-qr-view p { margin-top: 8px; color: #6b675d; font-size: 10px; line-height: 1.6; }
.contact-phone-view { min-height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; border: 1px solid rgba(23,22,16,.14); }
.contact-phone-view strong { font-size: 28px; letter-spacing: -.04em; }
@media (max-width: 520px) {
  .floating-contact { right: 14px; bottom: 14px; }
  .floating-contact button { width: 54px; min-height: 42px; }
  .contact-qr-panel { right: 12px; bottom: 158px; width: calc(100vw - 24px); }
}
/* Language switch and English typography */
.language-switch {
  padding: 10px 11px;
  border: 1px solid var(--line-strong);
  font: 700 9px/1 var(--mono);
  letter-spacing: .12em;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.language-switch:hover { background: var(--ink); border-color: var(--ink); color: var(--page); }
html[lang="en"] body { font-family: "Helvetica Neue", Arial, sans-serif; }
html[lang="en"] .hero-copy h1 { max-width: 680px; font-size: clamp(52px, 5.2vw, 78px); line-height: .98; letter-spacing: -.05em; white-space: normal; }
html[lang="en"] .section-head h2 { font-size: clamp(44px, 5.2vw, 76px); letter-spacing: -.048em; line-height: .96; }
html[lang="en"] .material-copy h3 { letter-spacing: -.045em; }
@media (max-width: 900px) {
  .language-switch { padding: 10px 12px; }
}
@media (max-width: 640px) {
  html[lang="en"] .hero-copy h1 { font-size: clamp(46px, 13vw, 68px); }
  html[lang="en"] .section-head h2 { font-size: clamp(40px, 12vw, 58px); }
}

/* Keep hero captions clear of the floating contact buttons */
.hero-video figcaption { right: 86px; }
@media (max-width: 520px) {
  .hero-video figcaption { right: 74px; }
}