/* Des.Ar. — "Tool nameplate & inspection dossier". Palette taken from the logo. */
:root {
  --cyan: #0CA0BC;   /* logo cyan: plates, large type only */
  --teal: #067A91;   /* logo deep teal: actions, small accents (5:1 with white) */
  --ink: #040708;    /* logo black */
  --grey: #44555A;
  --light: #EEF4F5;
  --seam: #CFDDE0;
  --white: #fff;
  --plate-seam: rgba(4, 7, 8, .35);
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: Barlow, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1); /* expo out */
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--light); color: var(--ink); font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-underline-offset: 4px; }
a:hover { color: var(--teal); }
::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-transform: uppercase; letter-spacing: .01em; text-wrap: balance; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.muted { color: var(--grey); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 10; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 4px; font: 700 19px var(--body); text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--ink); color: #fff; }
.on-ink .btn-teal:hover { background: #fff; color: var(--ink); }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--seam); position: sticky; top: 0; z-index: 5; }
.header-bar { display: flex; align-items: center; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.logo img { height: 76px; width: auto; }
@media (max-width: 600px) { .logo img { height: 56px; } }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav > a:not(.btn) { text-decoration: none; font-weight: 500; }
.nav [aria-current="page"] { text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.menu-toggle { display: none; margin-left: auto; min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 4px; background: #fff; font: 600 16px var(--body); color: var(--ink); cursor: pointer; }
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--seam); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--seam); }
  .nav .btn { margin-top: 16px; }
}

/* Plate (the nameplate block) */
.plate-section { margin-top: 24px; }
.plate { position: relative; background: var(--cyan); border-radius: 6px; overflow: hidden; }
.plate::before, .plate::after { content: ""; position: absolute; top: 16px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); opacity: .35; }
.plate::before { left: 16px; } .plate::after { right: 16px; }
.plate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px 64px; padding: 56px 56px 0; }
.plate-copy { display: flex; flex-direction: column; gap: 28px; justify-content: center; }
.display { font-size: clamp(56px, 8vw, 96px); line-height: .92; color: #fff; }
.plate-lead { font-size: 21px; font-weight: 600; max-width: 30ch; }
.fields { margin: 0; display: grid; grid-template-columns: auto 1fr; border-top: 2px solid var(--ink); align-self: center; }
.fields dt { padding: 14px 24px 14px 0; border-bottom: 1px solid var(--plate-seam); }
.fields dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--plate-seam); text-align: right; font: 700 28px var(--display); }
.fields dt:last-of-type, .fields dd:last-of-type { border-bottom: 0; }
.fields-text dd { text-align: left; font: 600 17px var(--body); padding: 14px 0; }
.quick { margin: 48px 0 0; padding: 24px 56px; background: var(--ink); display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.quick label { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; color: #fff; }
.fld { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--ink); border-radius: 4px; background: #fff; color: var(--ink); font: 16px var(--body); }
.fld:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.fld[aria-invalid="true"] { border-color: #B3261E; outline: 2px solid #B3261E; }
@media (max-width: 600px) { .plate-grid { padding: 48px 24px 0; } .quick { padding: 24px; } .fields dd { font-size: 22px; white-space: nowrap; } .fields-text dd { white-space: normal; font-size: 16px; } }

/* Sections */
.section { padding: 112px 0; }
.band { background: #fff; border-top: 1px solid var(--seam); border-bottom: 1px solid var(--seam); }
.h2 { font-size: clamp(36px, 4vw, 48px); line-height: 1; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px 64px; }
.ruled { border-top: 2px solid var(--ink); padding-top: 24px; display: flex; flex-direction: column; gap: 24px; }
.prose { max-width: 62ch; }
.head-row { display: flex; flex-wrap: wrap; gap: 24px 64px; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }

/* Product spec sheet */
.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); border: 1px solid var(--ink); border-radius: 6px; overflow: hidden; background: #fff; }
.spec > div { padding: 32px; }
.spec > div + div { border-left: 1px solid var(--ink); }
@media (max-width: 1000px) { .spec > div + div { border-left: 0; border-top: 1px solid var(--ink); } }
.spec h3 { font-size: 30px; color: var(--teal); }
.spec table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.spec td { padding: 16px 0; border-top: 1px solid var(--seam); }
.spec td.mono { width: 48px; color: var(--grey); }

/* Process stations */
.stations { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px; }
.station { position: relative; display: flex; flex-direction: column; gap: 14px; padding-top: 20px; }
.station::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--teal); transform-origin: left; }
.station h3 { font-size: 26px; }
.station p { font-size: 16px; color: var(--grey); }
.gate { margin-top: auto; align-self: flex-start; padding: 6px 10px; border: 1.5px solid var(--teal); border-radius: 999px; }

/* Industry tags */
.tags { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; align-items: start; margin-top: 48px; }
.tag { margin: 0; border: 1px solid var(--ink); border-radius: 6px; overflow: hidden; background: #fff; }
.tag .ph { height: 420px; overflow: hidden; }
.tag img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.tag:hover img { transform: scale(1.03); }
.tag figcaption { padding: 20px 24px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--ink); }
.tag h3 { font-size: 26px; }
.tag p { font-size: 16px; color: var(--grey); }

/* Closing ink plate */
.closing { padding: 96px 0; }
.ink-plate { position: relative; background: var(--ink); color: #fff; border-radius: 6px; padding: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px 64px; align-items: end; }
.ink-plate h2 { font-size: clamp(40px, 5vw, 64px); line-height: .95; }
.ink-plate .stack { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.ink-plate dl { margin: 0; display: grid; grid-template-columns: auto 1fr; border-top: 1px solid var(--grey); font-size: 16px; }
.ink-plate dt { padding: 14px 24px 14px 0; border-bottom: 1px solid var(--grey); color: #B9CDD1; }
.ink-plate dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--grey); }
.ink-plate dt:last-of-type, .ink-plate dd:last-of-type { border-bottom: 0; }
.ink-plate a { color: #fff; }
@media (max-width: 600px) { .ink-plate { padding: 40px 24px; } }

/* Page plates (About, Contact, Privacy, Product) */
.page-plate { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.page-plate .plate-copy { padding: 64px 56px; justify-content: flex-end; }
.page-plate > img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.plate-sub { font-size: 24px; font-weight: 600; line-height: 1.3; max-width: 26ch; }
@media (max-width: 600px) { .page-plate .plate-copy { padding: 48px 24px; } }

/* About: figures + team + process tabs */
.figures { margin: 0; display: grid; grid-template-columns: 1fr auto; border-top: 2px solid var(--ink); align-self: start; }
.figures dt { padding: 22px 0; border-bottom: 1px solid var(--seam); color: var(--grey); }
.figures dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--seam); text-align: right; font: 700 56px/1 var(--display); }
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); border: 1px solid var(--ink); border-radius: 6px; overflow: hidden; margin-top: 48px; }
.team article { display: flex; flex-direction: column; background: #fff; }
.team article + article { border-left: 1px solid var(--ink); }
@media (max-width: 1100px) { .team article + article { border-left: 0; border-top: 1px solid var(--ink); } }
.team img { height: 300px; width: 100%; object-fit: cover; }
.team div { padding: 24px; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--ink); }
.team h3 { font-size: 30px; }
.team p { font-size: 16px; color: var(--grey); }
.process { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; margin-top: 40px; }
.tablist { flex: 1 1 260px; display: flex; flex-direction: column; gap: 8px; }
.tablist { position: relative; }
.tab-ink { position: absolute; left: 0; right: 0; top: 0; background: var(--ink); border-radius: 4px; pointer-events: none; transition: transform .5s var(--ease), height .5s var(--ease); }
.tab { position: relative; transition: color .3s, border-color .3s, background-color .3s; min-height: 56px; padding: 8px 18px; border: 1px solid var(--ink); border-radius: 4px; background: #fff; color: var(--ink); font: 600 17px var(--body); cursor: pointer; text-align: left; }
.tab .mono { display: block; opacity: .8; }
.tab:hover { border-color: var(--teal); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.has-ink .tab[aria-selected="true"] { background: transparent; }
.tabpanel.enter { animation: panel-in .6s var(--ease) both; }
.tabpanel.enter > * { animation: panel-in .7s var(--ease) both; }
.tabpanel.enter > :nth-child(2) { animation-delay: .06s; } .tabpanel.enter > :nth-child(3) { animation-delay: .12s; } .tabpanel.enter > :nth-child(4) { animation-delay: .18s; }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); filter: blur(6px); } }
.tabpanel { flex: 999 1 520px; min-width: 0; background: #fff; border: 1px solid var(--ink); border-radius: 6px; padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.tabpanel[hidden] { display: none; }
.tabpanel h3 { font-size: 36px; color: var(--teal); }
.tabpanel p { font-size: 18px; max-width: 62ch; }

/* Contact */
.contact-plate { display: flex; flex-wrap: wrap; }
.contact-info { flex: 1 1 380px; padding: 56px; display: flex; flex-direction: column; gap: 32px; }
.contact-info .fields { align-self: stretch; }
.map { width: 100%; height: 240px; border: 0; border-radius: 4px; background: var(--light); }
.contact-form-col { flex: 1.4 1 520px; background: #fff; padding: 56px; }
.contact-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form textarea { resize: vertical; }
.consent { flex-direction: row !important; gap: 12px !important; align-items: flex-start; font-size: 16px; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; font-size: 14px; }
.hp { position: absolute; left: -9999px; }
.form-status { grid-column: 1 / -1; font-weight: 600; }
.form-status.ok { color: var(--teal); }
.form-status.err { color: #B3261E; }
@media (max-width: 600px) { .contact-info, .contact-form-col { padding: 40px 24px; } }

/* Legal */
.legal { max-width: 760px; }
.legal h2 { font-size: 30px; margin: 40px 0 12px; }
.legal p, .legal ul { margin: 0 0 14px; color: var(--grey); }

/* Footer */
.site-footer { border-top: 1px solid var(--seam); background: #fff; font-size: 15px; color: var(--grey); }
.footer-bar { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; padding-top: 32px; padding-bottom: 32px; }
.footer-brand { font: 700 20px var(--display); color: var(--ink); text-transform: uppercase; }
.footer-nav { margin-left: auto; display: flex; gap: 24px; flex-wrap: wrap; }
.footer-copy { flex-basis: 100%; }

/* Large and 4K screens: widen the page and scale everything up proportionally */
@media (min-width: 1680px) { .wrap { max-width: 1560px; } html { zoom: 1.1; } }
@media (min-width: 2200px) { html { zoom: 1.3; } }
@media (min-width: 2800px) { html { zoom: 1.6; } }
@media (min-width: 3400px) { html { zoom: 2; } }

/* ---------- Motion ---------- */
/* Page change: header stays put, the page lifts out and the next one rises in; the cyan plate morphs between pages. */
@view-transition { navigation: auto; }
.site-header { view-transition-name: header; }
.plate { view-transition-name: plate; }
::view-transition-old(root) { animation: vt-out .3s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .7s var(--ease) both; }
::view-transition-group(plate) { animation-duration: .7s; animation-timing-function: var(--ease); background: var(--cyan); border-radius: 6px; overflow: hidden; }
::view-transition-old(plate), ::view-transition-new(plate) { height: 100%; width: 100%; object-fit: none; object-position: 0 0; }
::view-transition-old(plate) { animation: vt-fade-out .25s both; }
::view-transition-new(plate) { animation: vt-fade-in .5s .2s both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-16px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(32px); } }
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; } }

/* Scroll reveal: only when JS runs and motion is allowed (main.js adds .motion to <html>). */
.motion [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.motion [data-reveal].in { opacity: 1; transform: none; }
.motion .h2[data-reveal], .motion .display[data-reveal] { clip-path: inset(0 0 99% 0); transition-property: clip-path, transform, opacity; transition-duration: 1.1s, 1.1s, .4s; }
.motion .h2[data-reveal].in, .motion .display[data-reveal].in { clip-path: inset(-20% -5% -20% -5%); }
.motion .station::before { transform: scaleX(0); transition: transform 1.2s var(--ease) calc(var(--i, 0) * 120ms + .15s); }
.motion .station.in::before { transform: scaleX(1); }
.motion .tag[data-reveal] img, .motion .page-plate[data-reveal] > img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
.motion .tag.in img, .motion .page-plate.in > img { transform: scale(1); }
.motion .tag.in:hover img { transform: scale(1.03); transition-duration: .6s; }
.motion .fields[data-reveal] > *, .motion .figures[data-reveal] > * { opacity: 0; transform: translateX(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--r, 0) * 70ms + .2s); }
.motion .fields.in > *, .motion .figures.in > * { opacity: 1; transform: none; }
.motion .fields[data-reveal], .motion .figures[data-reveal], .motion .page-plate[data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ---------- Richer look (2026-12): blueprint grid, photos, icons, numbers band, dark section ---------- */
body { background-image: linear-gradient(rgba(6, 122, 145, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(6, 122, 145, .07) 1px, transparent 1px); background-size: 32px 32px; background-position: -1px -1px; }
.ico { width: 44px; height: 44px; flex: none; }

/* Hero: blueprint lines on the cyan plate + framed mold photo */
.plate { background-image: linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 40px 40px; background-color: var(--cyan); }
.plate-photo { position: relative; margin: 0; align-self: stretch; min-height: 380px; border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; background: var(--ink); }
.plate-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.plate-photo figcaption { position: absolute; left: 0; bottom: 0; background: var(--ink); color: #fff; padding: 8px 14px; border-top-right-radius: 6px; }
.plate-photo::after { content: ""; position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-top: 2px solid #fff; border-right: 2px solid #fff; opacity: .8; }
.plate-photo::before { content: ""; position: absolute; z-index: 1; top: 12px; left: 12px; width: 26px; height: 26px; border-top: 2px solid #fff; border-left: 2px solid #fff; opacity: .8; }

/* Founded section: heading + workshop photo */
.split-media { display: flex; flex-direction: column; gap: 40px; }
.photo-frame { margin: 0; border: 1px solid var(--ink); border-radius: 6px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--ink); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.photo-frame:hover img { transform: scale(1.03); }

/* Numbers band */
.kpis { background: var(--teal); color: #fff; padding: 64px 0; background-image: linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 80px 100%; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; }
.kpi { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 4px; border-left: 3px solid rgba(255, 255, 255, .5); padding-left: 20px; }
.kpi-num, .kpi-suf { font: 700 clamp(48px, 6vw, 76px)/1 var(--display); font-variant-numeric: tabular-nums; }
.kpi-suf { color: #9FE3F0; }
.kpi .mono { flex-basis: 100%; margin-top: 10px; color: #D5EEF3; }

/* Product families: icons */
.spec h3 { display: flex; align-items: center; gap: 16px; }
.spec h3 .ico { width: 48px; height: 48px; padding: 8px; border: 1.5px solid var(--teal); border-radius: 6px; }

/* Dark section (process stations) */
.dark { background: var(--ink); color: #fff; background-image: linear-gradient(rgba(12, 160, 188, .10) 1px, transparent 1px), linear-gradient(90deg, rgba(12, 160, 188, .10) 1px, transparent 1px); background-size: 40px 40px; }
.dark .h2 { color: #fff; }
.dark .muted { color: #8FB3BA; }
.dark .station p { color: #C3D4D7; }
.dark .station::before { background: var(--cyan); }
.dark .gate { border-color: var(--cyan); color: #fff; }
.station-top { display: flex; align-items: center; justify-content: space-between; color: var(--cyan); }
.station-no { font: 700 64px/1 var(--display); color: var(--cyan); }
.station-top .ico { width: 40px; height: 40px; }

/* Why Des.Ar. */
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 24px; }
.why li { background: #fff; border: 1px solid var(--seam); border-top: 3px solid var(--teal); border-radius: 6px; padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.why li:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(4, 7, 8, .08); }
.why .ico { color: var(--teal); width: 56px; height: 56px; padding: 10px; background: var(--light); border-radius: 50%; }
.why h3 { font-size: 24px; }
.why p { font-size: 16px; color: var(--grey); }

/* Footer on ink so the page ends solid */
.site-footer { background: var(--ink); color: #9DB1B5; border-top: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--cyan); }
.footer-brand { color: #fff; }

/* Reveal for the new blocks (extras.js adds .motion via main.js) */
.motion .kpi[data-x], .motion .why li[data-x] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.motion .kpi.x-in, .motion .why li.x-in { opacity: 1; transform: none; }
@media (max-width: 600px) { .kpi-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; } .kpi { padding-left: 14px; } .plate-photo { min-height: 300px; } }

/* ---------- 3D mold assembly (mold3d.js): sticky stage, parts drop in as you scroll ---------- */
.assembly { position: relative; height: 340vh; background: var(--ink); color: #fff; background-image: radial-gradient(circle at 70% 45%, rgba(12, 160, 188, .22), transparent 55%), linear-gradient(rgba(12, 160, 188, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(12, 160, 188, .09) 1px, transparent 1px); background-size: auto, 40px 40px, 40px 40px; }
.assembly-stick { position: sticky; top: 0; height: 100vh; padding-top: 100px; box-sizing: border-box; display: flex; align-items: center; overflow: hidden; }
.assembly-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: center; }
.assembly-copy { display: flex; flex-direction: column; gap: 24px; }
.assembly-kicker { color: var(--cyan); }
.assembly .h2 { color: #fff; max-width: 16ch; }
.assembly-steps { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.assembly-step { display: flex; gap: 16px; padding: 12px 0 12px 16px; border-left: 2px solid rgba(255, 255, 255, .15); opacity: .38; transition: opacity .4s var(--ease), border-color .4s var(--ease); }
.assembly-step .mono { color: var(--cyan); padding-top: 4px; }
.assembly-step h3 { font-size: 22px; }
.assembly-step p { font-size: 15px; color: #B9CDD1; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.assembly-step.on { opacity: 1; border-color: var(--cyan); }
.assembly-step.on p { max-height: 60px; }
.assembly-bar { height: 3px; background: rgba(255, 255, 255, .12); border-radius: 2px; overflow: hidden; }
.assembly-bar i { display: block; height: 100%; background: var(--cyan); transform-origin: left; transform: scaleX(0); }
.assembly-canvas { position: relative; height: min(calc(100vh - 140px), 720px); }
.assembly-canvas canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.assembly-fallback { display: none; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.assembly.no-webgl { height: auto; }
.assembly.no-webgl .assembly-stick { position: static; height: auto; padding: 96px 0; }
.assembly.no-webgl .assembly-fallback { display: block; }
.assembly.no-webgl .assembly-step { opacity: 1; }
.assembly.no-webgl .assembly-step p { max-height: none; }
@media (max-width: 900px) {
  .assembly { height: 300vh; }
  .assembly-grid { grid-template-columns: 1fr; gap: 0; }
  .assembly-canvas { order: -1; height: 46vh; }
  .assembly .h2 { font-size: 30px; }
  .assembly-copy { gap: 14px; }
  .assembly-step { display: none; padding-top: 4px; }
  .assembly-step.on { display: flex; }
  .assembly.no-webgl .assembly-step { display: flex; }
}
@media (prefers-reduced-motion: reduce) { .assembly { height: auto; } .assembly .assembly-step { display: flex; } .assembly-stick { position: static; height: auto; padding: 96px 0; } .assembly-step { opacity: 1; } .assembly-step p { max-height: none; } }

/* ---------- Language switcher (EN / IT / 中文) ---------- */
.lang-switch { display: flex; gap: 2px; border: 1px solid var(--seam); border-radius: 999px; padding: 3px; }
.lang-switch a { font: 600 13px var(--body); text-decoration: none; padding: 5px 10px; border-radius: 999px; color: var(--grey); }
.lang-switch a:hover { color: var(--ink); background: var(--light); }
.lang-switch a[aria-current] { background: var(--ink); color: #fff; }
@media (max-width: 900px) { .lang-switch { align-self: flex-start; margin-top: 14px; } }
/* Chinese pages: CJK system fonts, no uppercase tracking */
:lang(zh) body, :lang(zh) .btn { font-family: Barlow, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", sans-serif; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { font-family: 'Barlow Condensed', "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; letter-spacing: 0; }
:lang(zh) .display { line-height: 1.05; }
:lang(zh) .h2 { line-height: 1.2; }
:lang(zh) .display { font-size: clamp(48px, 6.4vw, 84px); }
