/* =========================================================
   NANOSO v3 — design system, global chrome, motion, home,
   factory and quality pages. Loaded after legacy CSS.
   ========================================================= */
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("/assets/fonts/InterDisplay-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("/assets/fonts/InterDisplay-Bold.woff") format("woff"); font-weight: 700 800; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/GeistMono-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }

:root {
  --ink: #0d1a17;
  --ink-2: #3a4a46;
  --muted: #6b7b77;
  --line: rgba(13, 26, 23, .10);
  --line-2: rgba(13, 26, 23, .16);
  --paper: #f5f2ed;
  --paper-2: #ece8e1;
  --white: #ffffff;
  --night: #0a1714;
  --night-2: #10221e;
  --forest: #12463b;
  --forest-2: #1b5a4c;
  --teal: #2bb3a0;
  --mint: #8fe0d1;
  --on-dark: #e6efec;
  --on-dark-2: rgba(230, 239, 236, .66);
  --line-dark: rgba(255, 255, 255, .12);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --display: "Inter Display", "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1320px;
  --gut: clamp(20px, 4vw, 48px);
  --r: 14px;
  --r-lg: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --hdr: 72px;
}

/* ---------- base ---------- */
html.v3-root { scroll-behavior: smooth; }
body.v3 { font-family: var(--font); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "cv11", "ss01"; }
body.v3 h1, body.v3 h2, body.v3 h3, body.v3 .display { font-family: var(--display); letter-spacing: -0.03em; }
body.v3 h1 { letter-spacing: -0.04em; }
body.v3 ::selection { background: var(--teal); color: #fff; }
.v3-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; }
.ic { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { --bg: var(--forest); --fg: #fff; position: relative; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 24px; border-radius: 999px; background: var(--bg); color: var(--fg); font: 600 .95rem/1 var(--font); letter-spacing: -.005em; text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease); border: 0; cursor: pointer; white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--teal); transform: translateY(101%); border-radius: inherit; transition: transform .55s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover { color: var(--fg); box-shadow: 0 12px 30px -12px rgba(18, 70, 59, .55); }
.btn .ic { transition: transform .5s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn-sm { height: 42px; padding: 0 16px 0 18px; font-size: .88rem; }
.btn-light { --bg: #fff; --fg: var(--ink); }
.btn-light::before { background: var(--mint); }
.btn-ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn-ghost::before { background: rgba(255,255,255,.14); }
.btn-ghost-dark { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost-dark::before { background: var(--paper); }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--forest); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 3px; transition: background-size .5s var(--ease); white-space: nowrap; }
.tlink:hover { background-size: 100% 1.5px; color: var(--forest); }
.tlink .ic { transition: transform .5s var(--ease); }
.tlink:hover .ic { transform: translateX(4px); }
.on-dark .tlink, .tlink.is-light { color: #fff; }

/* ---------- header ---------- */
body.v3 .site-header { display: none; }
.v3-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--hdr); color: var(--ink); background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid var(--line); transition: transform .5s var(--ease), background .4s, color .4s, border-color .4s; }
body.v3 { padding-top: var(--hdr); }
body.v3.has-hero { padding-top: 0; }
body.v3.has-hero .v3-header:not(.is-scrolled):not(.is-open) { background: transparent; color: #fff; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.v3.has-hero .v3-header:not(.is-scrolled):not(.is-open) .v3-brand img { filter: brightness(0) invert(1); }
body.v3.has-hero .v3-header:not(.is-scrolled):not(.is-open) .btn-primary { --bg: #fff; --fg: var(--ink); }
.v3-header.is-hidden { transform: translateY(-100%); }
.v3-header-in { height: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; gap: 28px; }
.v3-brand { display: flex; align-items: center; flex: none; }
.v3-brand img { height: 34px; width: auto; display: block; transition: filter .4s; }
.v3-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.v3-nav-item { position: static; }
.v3-nav-btn, .v3-nav-a { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border-radius: 999px; background: none; border: 0; color: inherit; font: 500 .92rem/1 var(--font); text-decoration: none; cursor: pointer; transition: background .3s; }
.v3-nav-btn:hover, .v3-nav-a:hover, .has-mm.is-open .v3-nav-btn { background: rgba(127,127,127,.12); color: inherit; }
.v3-nav-a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.ic-chev { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.has-mm.is-open .ic-chev { transform: rotate(180deg); }
.v3-nav-mobile-only { display: none; }
.v3-header-cta { display: flex; align-items: center; gap: 18px; flex: none; }
.v3-contact-link { color: inherit; font-weight: 500; font-size: .92rem; text-decoration: none; }
.v3-contact-link:hover { color: inherit; opacity: .7; }
.v3-burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(127,127,127,.14); position: relative; cursor: pointer; color: inherit; }
.v3-burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.v3-burger span:nth-child(1) { top: 18px; }
.v3-burger span:nth-child(2) { top: 25px; }
.v3-header.is-open .v3-burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.v3-header.is-open .v3-burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* mega menu */
.v3-mm { position: absolute; left: 0; right: 0; top: 100%; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(10, 23, 20, .28); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s; }
.has-mm.is-open .v3-mm { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s; }
.v3-mm-in { max-width: var(--wrap); margin: 0 auto; padding: 32px var(--gut) 38px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.mm-col { display: grid; gap: 4px; align-content: start; }
.mm-col-2 { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.mm-col-2 .mm-label { grid-column: 1 / -1; }
.mm-label { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.mm-link { display: grid; gap: 3px; padding: 12px 14px; margin: 0 -14px; border-radius: 10px; color: var(--ink); text-decoration: none; transition: background .25s; }
.mm-link strong { font-weight: 600; font-size: .98rem; }
.mm-link span { font-size: .84rem; color: var(--muted); }
.mm-link:hover { background: var(--paper); color: var(--ink); }
.mm-col-sm { border-left: 1px solid var(--line); padding-left: 32px; }
.mm-sm { display: block; padding: 7px 0; color: var(--ink-2); text-decoration: none; font-size: .94rem; }
.mm-sm:hover { color: var(--teal); }
.mm-all { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; font-weight: 600; color: var(--forest); }
.mm-feature { position: relative; display: block; border-radius: var(--r); overflow: hidden; min-height: 230px; color: #fff; text-decoration: none; }
.mm-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mm-feature:hover img { transform: scale(1.05); }
.mm-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(5, 16, 13, .78)); }
.mm-feature-tx { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; display: grid; gap: 6px; }
.mm-feature-tx strong { display: inline-flex; align-items: center; gap: 8px; font-size: 1.1rem; }
.mm-feature:hover { color: #fff; }
.mm-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mm-cases a { display: grid; gap: 10px; color: var(--ink); text-decoration: none; font-size: .86rem; font-weight: 600; }
.mm-cases img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--paper); border-radius: var(--r); padding: 10px; transition: transform .6s var(--ease); }
.mm-cases a:hover img { transform: translateY(-4px); }
.v3-mm-backdrop { position: fixed; inset: var(--hdr) 0 0; background: rgba(10, 23, 20, .28); opacity: 0; pointer-events: none; transition: opacity .4s; z-index: 90; }
.v3-mm-backdrop.is-on { opacity: 1; }

/* ---------- footer ---------- */
body.v3 .site-footer { display: none; }
.v3-footer { background: var(--night); color: var(--on-dark); padding: clamp(72px, 9vw, 120px) 0 28px; overflow: hidden; }
.v3-footer a { color: var(--on-dark); text-decoration: none; }
.v3-footer a:hover { color: var(--mint); }
.ft-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; padding-bottom: 64px; border-bottom: 1px solid var(--line-dark); }
.ft-kicker { color: var(--mint); margin: 0 0 18px; }
.ft-cta h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 3.3rem); line-height: 1.02; margin: 0 0 32px; max-width: 14ch; }
.ft-cta-row { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; }
.ft-mail { display: inline-flex; gap: 10px; align-items: center; font-weight: 500; }
.ft-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ft-cols p { color: var(--on-dark-2); margin: 0 0 14px; }
.ft-cols a { display: flex; align-items: center; gap: 6px; padding: 6px 0; font-size: .96rem; }
.ft-cols .ic { width: 14px; height: 14px; opacity: .6; }
.ft-sites { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--line-dark); }
.ft-sites p { color: var(--mint); margin: 0 0 10px; }
.ft-sites strong { display: block; font: 600 1.25rem/1.2 var(--display); color: #fff; margin-bottom: 6px; }
.ft-sites span { color: var(--on-dark-2); font-size: .9rem; line-height: 1.5; }
.ft-mark { padding: 56px 0 24px; opacity: .08; }
.ft-mark img { width: 100%; height: auto; display: block; }
.ft-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--on-dark-2); font-size: .84rem; }

/* ---------- motion primitives ---------- */
html.js [data-a] { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
html.js [data-a="fade"] { transform: none; }
html.js [data-a="scale"] { transform: scale(.94); }
html.js [data-a="left"] { transform: translate3d(-40px, 0, 0); }
html.js [data-a].in { opacity: 1; transform: none; }
html.js [data-a="clip"] { opacity: 1; transform: none; overflow: hidden; }
html.js [data-a="clip"]::after { content: ""; position: absolute; inset: -1px; z-index: 3; background: var(--clipc, #fff); transform-origin: 50% 0; transition: transform 1.3s var(--ease-io); transition-delay: calc(var(--d, 0) * 1ms); pointer-events: none; }
html.js [data-a="clip"].in::after { transform: scaleY(0); }
.sec-paper { --clipc: var(--paper); }
.sec-dark { --clipc: var(--night); }
.sec-forest { --clipc: var(--forest); }
html.js [data-a="clip"] img { transform: scale(1.14); transition: transform 1.8s var(--ease), opacity .7s var(--ease); }
html.js [data-a="clip"].in img { transform: scale(1); }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; }
html.js .split .w > span { transform: translate3d(0, 105%, 0); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms + var(--d, 0) * 1ms); }
html.js .split.in .w > span { transform: none; }
.v3-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--teal); transform-origin: 0 50%; transform: scaleX(0); z-index: 101; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-a], html.js .split .w > span { opacity: 1 !important; transform: none !important; transition: none !important; }
  html.js [data-a="clip"]::after { display: none; }
  html.js [data-a="clip"] img { transform: none !important; }
  .marquee-track { animation: none !important; }
}

/* ---------- section scaffolding ---------- */
.sec { padding: clamp(88px, 11vw, 160px) 0; position: relative; }
.sec-tight { padding: clamp(64px, 8vw, 110px) 0; }
.sec-paper { background: var(--paper); }
.sec-dark { background: var(--night); color: var(--on-dark); }
.sec-forest { background: var(--forest); color: var(--on-dark); }
.sec-dark h2, .sec-dark h3, .sec-forest h2, .sec-forest h3 { color: #fff; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--forest); }
.kicker::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.sec-dark .kicker, .sec-forest .kicker, .on-dark .kicker { color: var(--mint); }
.h-xl { font-size: clamp(2.6rem, 6.2vw, 5.6rem); line-height: .98; margin: 0; font-weight: 700; }
.h-lg { font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.02; margin: 0; font-weight: 700; }
.h-md { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.08; margin: 0; font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.65; color: var(--ink-2); max-width: 58ch; margin: 22px 0 0; }
.sec-dark .lead, .sec-forest .lead, .on-dark .lead { color: var(--on-dark-2); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head > div { max-width: 760px; }
.muted { color: var(--muted); }

/* =========================================================
   HOME
   ========================================================= */
.hero3 { position: relative; height: 100svh; min-height: 680px; max-height: 1100px; color: #fff; overflow: hidden; background: var(--night); display: flex; flex-direction: column; }
.hero3-media { position: absolute; inset: 0; }
.hero3-media img, .hero3-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero3-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 14, 12, .55) 0%, rgba(5, 14, 12, .15) 30%, rgba(5, 14, 12, .35) 62%, rgba(5, 14, 12, .88) 100%), linear-gradient(90deg, rgba(5, 14, 12, .55) 0%, transparent 60%); }
.hero3-in { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--hdr) + 40px); padding-bottom: 36px; }
.hero3-kicker { display: flex; align-items: center; gap: 12px; color: var(--mint); margin: 0 0 26px; }
.hero3-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ee08a; box-shadow: 0 0 0 0 rgba(62, 224, 138, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(62, 224, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 224, 138, 0); } }
.hero3 h1 { color: #fff; font-size: clamp(3rem, 8.4vw, 8.2rem); line-height: .92; font-weight: 700; margin: 0; max-width: 12ch; }
.hero3-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 36px; }
.hero3-sub { max-width: 46ch; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.6; color: rgba(255, 255, 255, .82); margin: 0 0 26px; }
.hero3-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero3-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 0; border-left: 1px solid rgba(255,255,255,.22); }
.hero3-stats div { padding: 4px 28px; border-right: 1px solid rgba(255,255,255,.22); }
.hero3-stats .num { display: block; font: 700 clamp(1.8rem, 2.6vw, 2.5rem)/1 var(--display); letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.hero3-stats .mono { display: block; margin-top: 10px; color: rgba(255,255,255,.62); font-size: .68rem; }
.hero3-ticker { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.14); background: rgba(5, 14, 12, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero3-ticker .marquee-track { gap: 48px; padding: 14px 0; color: rgba(255,255,255,.72); }
.hero3-ticker span::before { content: "+"; color: var(--mint); margin-right: 48px; }
.hero3-scroll { position: absolute; right: var(--gut); top: 50%; z-index: 2; writing-mode: vertical-rl; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 14px; }
.hero3-scroll::after { content: ""; width: 1px; height: 64px; background: linear-gradient(rgba(255,255,255,.7), transparent); animation: drip 2.2s var(--ease-io) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* marquee */
.marquee { overflow: hidden; display: flex; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; flex: none; min-width: 100%; animation: marquee var(--dur, 40s) linear infinite; white-space: nowrap; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logos3 { padding: 40px 0 44px; border-bottom: 1px solid var(--line); }
.logos3-label { text-align: center; color: var(--muted); margin: 0 0 26px; }
.logos3 .marquee-track { gap: clamp(48px, 6vw, 96px); --dur: 36s; }
.logos3 img { height: 34px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1) contrast(.9); opacity: .62; transition: opacity .3s, filter .3s; }
.logos3 img:hover { opacity: 1; filter: none; }

/* manifesto (scroll-fill) */
.manifesto { padding: clamp(100px, 13vw, 190px) 0; }
.manifesto p.big { font: 600 clamp(1.8rem, 3.7vw, 3.4rem)/1.18 var(--display); letter-spacing: -.028em; margin: 0; max-width: 24ch; }
.fill .fw { color: rgba(13, 26, 23, .16); transition: color .25s linear; }
.fill .fw.on { color: var(--ink); }
.fill .fw.hl.on { color: var(--teal); }
.manifesto-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.manifesto-sign { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.manifesto-sign img { width: 44px; height: 44px; border-radius: 50%; background: var(--paper); padding: 8px; }

/* numbers */
.nums { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.num-cell { padding: 40px 32px 40px 0; border-bottom: 1px solid var(--line); position: relative; }
.num-cell + .num-cell { padding-left: 32px; border-left: 1px solid var(--line); }
.num-cell:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.num-cell .mono { color: var(--muted); }
.num-big { display: flex; align-items: baseline; gap: 4px; font: 700 clamp(3.2rem, 6.4vw, 6rem)/1 var(--display); letter-spacing: -.045em; margin: 18px 0 12px; font-variant-numeric: tabular-nums; color: var(--ink); }
.num-big small { font-size: .38em; letter-spacing: -.02em; color: var(--forest); font-weight: 600; }
.num-cell p { margin: 0; color: var(--ink-2); max-width: 30ch; line-height: 1.55; }

/* sites (sticky stack) */
.sites3 { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.sites3-left { position: sticky; top: calc(var(--hdr) + 48px); }
.sites3-list { display: grid; gap: 24px; }
.site-card { position: sticky; top: calc(var(--hdr) + 48px + var(--k) * 26px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; min-height: 340px; box-shadow: 0 30px 60px -40px rgba(10, 23, 20, .35); }
.site-card-img { position: relative; overflow: hidden; background: var(--paper-2); }
.site-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.site-card-tx { padding: 32px; display: flex; flex-direction: column; }
.site-card-tx .mono { color: var(--teal); }
.site-card-tx h3 { font-size: 1.7rem; margin: 14px 0 6px; }
.site-card-tx .co { color: var(--muted); font-size: .86rem; margin: 0 0 18px; }
.site-card-tx p { color: var(--ink-2); line-height: 1.6; margin: 0; }
.site-card-tx ul { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 22px; }
.site-card-tx li { font-size: .78rem; padding: 6px 10px; border-radius: 999px; background: var(--paper); color: var(--ink-2); }

/* horizontal pinned gallery */
.hscroll { position: relative; }
.hscroll-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hscroll-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; }
.hscroll-track { display: flex; gap: 20px; padding-left: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); padding-right: var(--gut); will-change: transform; }
.hs-card { position: relative; flex: none; width: clamp(280px, 34vw, 520px); height: clamp(300px, 52vh, 560px); border-radius: var(--r-lg); overflow: hidden; background: var(--night-2); margin: 0; }
.hs-card.wide { width: clamp(320px, 52vw, 820px); }
.hs-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hs-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px; background: linear-gradient(180deg, transparent, rgba(4, 12, 10, .82)); display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.hs-card figcaption strong { font: 600 1.15rem/1.2 var(--display); color: #fff; }
.hs-card figcaption .mono { color: var(--mint); }
.hs-end { flex: none; width: clamp(280px, 30vw, 420px); height: clamp(300px, 52vh, 560px); border-radius: var(--r-lg); border: 1px solid var(--line-dark); display: flex; flex-direction: column; justify-content: space-between; padding: 32px; color: #fff; text-decoration: none; transition: background .4s; }
.hs-end:hover { background: rgba(255,255,255,.05); color: #fff; }
.hs-end strong { font: 700 clamp(1.8rem, 2.6vw, 2.4rem)/1.05 var(--display); letter-spacing: -.03em; }
.hs-end .circ { width: 64px; height: 64px; border-radius: 50%; background: var(--mint); color: var(--night); display: grid; place-items: center; transition: transform .5s var(--ease); }
.hs-end:hover .circ { transform: rotate(-45deg); }
.hs-end .circ .ic { width: 26px; height: 26px; }
.hscroll-bar { margin-top: 36px; height: 2px; background: var(--line-dark); position: relative; overflow: hidden; }
.hscroll-bar i { position: absolute; inset: 0; background: var(--mint); transform-origin: 0 50%; transform: scaleX(0); }
.hscroll.is-static .hscroll-sticky { position: relative; height: auto; padding: 0; }
.hscroll.is-static .hscroll-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.hscroll.is-static .hs-card, .hscroll.is-static .hs-end { scroll-snap-align: start; }

/* process index */
.pidx { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.pidx-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: p; }
.pidx-list li { border-bottom: 1px solid var(--line); }
.pidx-list a { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 12px; padding: 24px 0; color: var(--ink); text-decoration: none; position: relative; }
.pidx-list a::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.pidx-list .mono { color: var(--muted); transition: color .3s; }
.pidx-list strong { font: 600 clamp(1.3rem, 2.1vw, 1.85rem)/1.1 var(--display); letter-spacing: -.025em; transition: transform .5s var(--ease), color .3s; }
.pidx-list .pd { grid-column: 2 / 3; color: var(--muted); font-size: .94rem; max-height: 0; overflow: hidden; transition: max-height .6s var(--ease), margin .6s var(--ease); }
.pidx-list .ic { width: 22px; height: 22px; opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .5s var(--ease); color: var(--teal); }
.pidx-list li.on a::before { transform: scaleX(1); }
.pidx-list li.on .mono { color: var(--teal); }
.pidx-list li.on strong { transform: translateX(6px); }
.pidx-list li.on .pd { max-height: 4em; margin-top: 2px; }
.pidx-list li.on .ic { opacity: 1; transform: none; }
.pidx-stage { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); }
.pidx-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.pidx-stage img.is-product { object-fit: contain; padding: 8%; }
.pidx-stage img.on { opacity: 1; transform: none; }
.pidx-stage .tag { position: absolute; left: 18px; top: 18px; z-index: 2; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--ink); backdrop-filter: blur(6px); }

/* project index with hover preview */
.cidx { border-top: 1px solid var(--line-2); }
.cidx a { display: grid; grid-template-columns: 70px 1.3fr 1fr 1fr 40px; gap: 16px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); text-decoration: none; position: relative; transition: padding .5s var(--ease), color .3s; }
.cidx a::after { content: ""; position: absolute; inset: 0; background: var(--paper); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease); z-index: -1; }
.cidx a:hover::after { transform: scaleY(1); }
.cidx a:hover { padding-left: 20px; padding-right: 20px; }
.cidx .mono { color: var(--muted); }
.cidx strong { font: 600 clamp(1.25rem, 2.2vw, 2rem)/1.1 var(--display); letter-spacing: -.025em; }
.cidx .cat { color: var(--ink-2); }
.cidx .ic { width: 24px; height: 24px; justify-self: end; transition: transform .5s var(--ease); }
.cidx a:hover .ic { transform: rotate(-45deg); color: var(--teal); }
.cidx-thumb { display: none; }
.cidx-preview { position: fixed; left: 0; top: 0; width: 280px; height: 280px; border-radius: 18px; overflow: hidden; pointer-events: none; z-index: 60; background: var(--paper); box-shadow: 0 40px 80px -30px rgba(10,23,20,.5); opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.6); transition: opacity .35s var(--ease), transform .5s var(--ease); }
.cidx-preview.on { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(1); }
.cidx-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18px; opacity: 0; transition: opacity .3s; }
.cidx-preview img.on { opacity: 1; }
.cidx-wrap { position: relative; isolation: isolate; }

/* tech spotlight */
.tech3 { overflow: hidden; }
.tech3-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.tech3-media { position: relative; aspect-ratio: 1 / 1.05; }
.tech3-media .m1 { position: absolute; inset: 0 14% 12% 0; border-radius: var(--r-lg); overflow: hidden; }
.tech3-media .m2 { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; border: 6px solid var(--forest); }
.tech3-media img { width: 100%; height: 100%; object-fit: cover; }
.tech3-badge { position: absolute; left: -10px; bottom: 6%; z-index: 2; background: #fff; color: var(--ink); border-radius: 16px; padding: 16px 18px; display: grid; gap: 4px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.45); }
.tech3-badge strong { font: 700 1rem/1.2 var(--display); }
.tech3-badge .mono { color: var(--muted); font-size: .66rem; }
.feat3 { list-style: none; padding: 0; margin: 36px 0 40px; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.feat3 li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.feat3 .ic { width: 26px; height: 26px; color: var(--mint); margin-top: 2px; }
.feat3 strong { display: block; color: #fff; font-weight: 600; margin-bottom: 4px; }
.feat3 span { color: var(--on-dark-2); font-size: .94rem; line-height: 1.55; }

/* product rail */
.rail-ctrl { display: flex; gap: 10px; }
.rail-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: background .3s, color .3s, border-color .3s; }
.rail-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.rail-btn.prev .ic { transform: rotate(180deg); }
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))) 24px; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; }
.rail-card { flex: none; width: clamp(240px, 24vw, 330px); scroll-snap-align: start; color: var(--ink); text-decoration: none; }
.rail-card .ri { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); background: var(--paper); overflow: hidden; margin-bottom: 18px; }
.rail-card .ri img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14%; transition: transform .9s var(--ease); -webkit-user-drag: none; }
.rail-card:hover .ri img { transform: scale(1.07) rotate(-2deg); }
.rail-card .ri .mono { position: absolute; left: 16px; top: 16px; color: var(--muted); }
.rail-card strong { display: flex; justify-content: space-between; align-items: center; font: 600 1.2rem/1.2 var(--display); letter-spacing: -.02em; }
.rail-card span.d { color: var(--muted); font-size: .9rem; }
.rail-card .ic { transition: transform .5s var(--ease); }
.rail-card:hover .ic { transform: translateX(4px); color: var(--teal); }
.rail-card.dark .ri { background: var(--forest); }
.rail-card.dark .ri img { object-fit: cover; padding: 0; }

/* compliance */
.comp3 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; }
.comp3 > div { background: var(--night); padding: 28px 24px 26px; display: grid; gap: 10px; align-content: start; min-height: 190px; transition: background .4s; }
.comp3 > div:hover { background: var(--night-2); }
.comp3 .ic { width: 28px; height: 28px; color: var(--mint); }
.comp3 strong { font: 700 1.2rem/1.2 var(--display); color: #fff; letter-spacing: -.02em; margin-top: 8px; }
.comp3 span { color: var(--on-dark-2); font-size: .9rem; line-height: 1.5; }
.comp3 .mono { color: rgba(230,239,236,.45); font-size: .66rem; margin-top: auto; }
.qc3 { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; margin-top: 16px; }
.qc3 figure { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--night-2); }
.qc3 figure:first-child { grid-row: span 2; aspect-ratio: auto; }
.qc3 img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.qc3 figure:hover img { transform: scale(1.05); }
.qc3 figcaption { position: absolute; left: 16px; bottom: 16px; padding: 7px 12px; border-radius: 999px; background: rgba(5,14,12,.7); color: #fff; backdrop-filter: blur(6px); }
.qc3-iso { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 22px; background: rgba(255,255,255,.04) !important; }
.qc3-iso img { width: 30%; height: auto; object-fit: contain; border-radius: 4px; background: #fff; box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); transition: transform .6s var(--ease); }
.qc3-iso img:nth-child(1) { transform: rotate(-5deg) translateY(6px); }
.qc3-iso img:nth-child(3) { transform: rotate(5deg) translateY(6px); }
.qc3-iso:hover img { transform: none; }

/* markets */
.markets { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.mk-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mk-list li { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); font: 600 clamp(1.3rem, 2.2vw, 1.9rem)/1.1 var(--display); letter-spacing: -.02em; }
.mk-list .mono { color: var(--muted); font-family: var(--mono); font-weight: 400; letter-spacing: .06em; }
.mk-big { font: 700 clamp(5rem, 13vw, 11rem)/.85 var(--display); letter-spacing: -.06em; color: var(--forest); margin: 0; }
.mk-big small { font-size: .4em; letter-spacing: -.03em; }

/* news */
.news3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.news-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(10,23,20,.4); color: var(--ink); }
.news-card .ni { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.news-card .ni img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.news-card:hover .ni img { transform: scale(1.05); }
.news-card .nt { padding: 24px; display: grid; gap: 10px; }
.news-card .nmeta { display: flex; gap: 12px; color: var(--muted); }
.news-card .nmeta b { color: var(--teal); font-weight: 400; }
.news-card h3 { font-size: 1.3rem; line-height: 1.2; margin: 0; letter-spacing: -.02em; }
.news-card p { margin: 0; color: var(--ink-2); font-size: .94rem; line-height: 1.55; }

/* routes CTA */
.routes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.route { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 250px; padding: 26px; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); color: #fff; text-decoration: none; overflow: hidden; transition: background .5s var(--ease), transform .6s var(--ease); }
.route::before { content: ""; position: absolute; width: 300px; height: 300px; left: var(--mx, 50%); top: var(--my, 50%); transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(143, 224, 209, .22), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.route:hover::before { opacity: 1; }
.route:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); color: #fff; }
.route .ic { width: 30px; height: 30px; color: var(--mint); }
.route strong { font: 700 1.35rem/1.15 var(--display); letter-spacing: -.02em; }
.route span { color: var(--on-dark-2); font-size: .92rem; line-height: 1.5; }
.route .go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--mint); font-weight: 600; font-size: .9rem; }

/* =========================================================
   INNER PAGES (factory / quality) + generic page hero
   ========================================================= */
.phero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; color: #fff; background: var(--night); overflow: hidden; }
.phero > img, .phero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,14,12,.5), rgba(5,14,12,.2) 40%, rgba(5,14,12,.9)); }
.phero-in { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--hdr) + 60px); padding-bottom: clamp(48px, 6vw, 80px); }
.phero h1 { color: #fff; font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: .95; margin: 0; max-width: 14ch; }
.phero .lead { color: rgba(255,255,255,.8); }
.crumb { display: flex; gap: 10px; color: rgba(255,255,255,.6); margin-bottom: 26px; }
.crumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.chapters { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.ch-nav { position: sticky; top: calc(var(--hdr) + 40px); display: grid; gap: 2px; }
.ch-nav a { display: grid; grid-template-columns: 36px 1fr; padding: 12px 0; color: var(--muted); text-decoration: none; border-top: 1px solid var(--line); transition: color .3s; font-weight: 500; }
.ch-nav a .mono { padding-top: 2px; }
.ch-nav a.on { color: var(--ink); }
.ch-nav a.on .mono { color: var(--teal); }
.ch { padding-bottom: clamp(72px, 9vw, 120px); }
.ch + .ch { padding-top: clamp(72px, 9vw, 120px); border-top: 1px solid var(--line); }
.ch-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 36px; align-items: end; }
.ch-head p { margin: 0; color: var(--ink-2); line-height: 1.65; }
.ch-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.ch-grid figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; background: var(--paper); }
.ch-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ch-grid .g-a { grid-column: span 4; aspect-ratio: 16 / 10; }
.ch-grid .g-b { grid-column: span 2; }
.ch-grid .g-c { grid-column: span 3; aspect-ratio: 4 / 3; }
.ch-grid .g-full { grid-column: span 6; aspect-ratio: 21 / 9; }
.ch-grid figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .66rem; }
.spec { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 28px; }
.spec div { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line); }
.spec div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.spec .mono { color: var(--muted); display: block; margin-bottom: 8px; }
.spec strong { font-weight: 600; }
.vidbox { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--night); }
.vidbox video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vidbox .mono { position: absolute; left: 18px; top: 18px; color: #fff; background: rgba(0,0,0,.4); padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.cert-table { width: 100%; border-collapse: collapse; }
.cert-table th, .cert-table td { text-align: left; padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.cert-table th { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.cert-table td strong { font: 600 1.08rem/1.3 var(--display); display: flex; align-items: center; gap: 10px; }
.cert-table td strong .ic { color: var(--teal); width: 22px; height: 22px; }
.cert-table td { color: var(--ink-2); }
.iso-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.iso-row figure { margin: 0; background: var(--paper); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 16px; justify-items: center; }
.iso-row img { width: 80%; height: auto; border-radius: 4px; box-shadow: 0 30px 50px -30px rgba(10,23,20,.5); transition: transform .6s var(--ease); }
.iso-row figure:hover img { transform: translateY(-6px) rotate(-1deg); }
.iso-row figcaption { text-align: center; }
.iso-row figcaption strong { display: block; font: 700 1.1rem/1.2 var(--display); }
.iso-row figcaption span { color: var(--muted); font-size: .88rem; }
.steps3 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); counter-reset: s; }
.steps3 > div { padding: 30px 26px 30px 0; border-right: 1px solid var(--line-dark); }
.steps3 > div + div { padding-left: 26px; }
.steps3 > div:last-child { border-right: 0; }
.steps3 .ic { width: 30px; height: 30px; color: var(--mint); }
.steps3 .mono { display: block; color: rgba(230,239,236,.45); margin: 22px 0 8px; }
.steps3 strong { display: block; font: 700 1.3rem/1.2 var(--display); color: #fff; margin-bottom: 10px; }
.steps3 p { margin: 0; color: var(--on-dark-2); line-height: 1.6; font-size: .94rem; }
.tests { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tests span { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .9rem; color: var(--ink-2); background: #fff; }
.note { font-size: .86rem; color: var(--muted); margin-top: 24px; max-width: 70ch; line-height: 1.6; }

/* =========================================================
   LEGACY PAGE HARMONISATION (about, oem, products, cases…)
   ========================================================= */
body.v3 .eyebrow { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 400; }
body.v3 .button, body.v3 .px-cta a, body.v3 a.button-primary { border-radius: 999px; font-family: var(--font); font-weight: 600; }
body.v3 .container, body.v3 .page-container { max-width: var(--wrap); }
body.v3 main img { -webkit-user-drag: none; }
body.v3 main h1 { font-weight: 700; }
body.v3 .px-card, body.v3 .nx-cats a, body.v3 .px-tile { transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
body.v3 .px-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(10,23,20,.4); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .v3-contact-link { display: none; }
  .v3-nav-btn, .v3-nav-a { padding: 0 9px; font-size: .88rem; }
}
@media (max-width: 1020px) {
  :root { --hdr: 64px; }
  .v3-burger { display: block; }
  .v3-header-cta .btn { display: none; }
  .v3-nav { position: fixed; inset: var(--hdr) 0 0; background: #fff; color: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gut) 40px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s; margin: 0; }
  .v3-header.is-open .v3-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s; }
  .v3-nav-item { border-bottom: 1px solid var(--line); }
  .v3-nav-btn, .v3-nav-a { width: 100%; justify-content: space-between; height: 62px; padding: 0; font: 600 1.35rem/1 var(--display); letter-spacing: -.02em; border-radius: 0; }
  .v3-nav-btn:hover, .v3-nav-a:hover, .has-mm.is-open .v3-nav-btn { background: none; }
  .v3-nav-mobile-only { display: block; }
  .v3-mm { position: static; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-mm.is-open .v3-mm { display: block; }
  .v3-mm-in { grid-template-columns: 1fr; padding: 0 0 20px; gap: 18px; }
  .mm-col-2 { grid-template-columns: 1fr; }
  .mm-col-sm { border: 0; padding: 0; }
  .mm-feature, .mm-cases { display: none; }
  .v3-mm-backdrop { display: none; }
  .ft-top { grid-template-columns: 1fr; gap: 48px; }
  .hero3-row { flex-direction: column; align-items: flex-start; }
  .hero3-stats { border-left: 0; }
  .hero3-stats div:first-child { padding-left: 0; }
  .hero3-scroll { display: none; }
  .nums { grid-template-columns: 1fr 1fr; }
  .num-cell:nth-child(3n+1) { padding-left: 32px; border-left: 1px solid var(--line); }
  .num-cell:nth-child(2n+1) { padding-left: 0; border-left: 0; }
  .sites3 { grid-template-columns: 1fr; }
  .sites3-left { position: static; }
  .pidx { grid-template-columns: 1fr; }
  .pidx-stage { display: none; }
  .pidx-list .pd { max-height: none; margin-top: 4px; }
  .pidx-list .ic { opacity: 1; transform: none; }
  .tech3-grid, .markets { grid-template-columns: 1fr; }
  .comp3 { grid-template-columns: 1fr 1fr; }
  .routes { grid-template-columns: 1fr 1fr; }
  .news3 { grid-template-columns: 1fr; }
  .chapters { grid-template-columns: 1fr; }
  .ch-nav { display: none; }
  .ch-head { grid-template-columns: 1fr; }
  .steps3 { grid-template-columns: 1fr 1fr; }
  .steps3 > div { border-right: 0; border-bottom: 1px solid var(--line-dark); padding-left: 0 !important; }
}
@media (max-width: 720px) {
  .sec-head { flex-direction: column; align-items: flex-start; }
  .hero3 { min-height: 640px; }
  .hero3-stats { grid-template-columns: repeat(3, 1fr); width: 100%; }
  .hero3-stats div { padding: 0 12px; }
  .hero3-stats .num { font-size: 1.6rem; }
  .nums { grid-template-columns: 1fr; }
  .num-cell, .num-cell + .num-cell { padding: 30px 0 !important; border-left: 0 !important; }
  .site-card { grid-template-columns: 1fr; position: relative; top: auto; }
  .site-card-img { aspect-ratio: 16 / 10; }
  .cidx a { grid-template-columns: 64px 1fr 32px; }
  .cidx .cat, .cidx .prod { display: none; }
  .cidx .cidx-thumb { display: block; width: 64px; height: 64px; object-fit: contain; background: var(--paper); border-radius: 10px; padding: 6px; }
  .cidx .mono.n { display: none; }
  .comp3, .routes, .qc3 { grid-template-columns: 1fr; }
  .qc3 figure:first-child { grid-row: auto; aspect-ratio: 4 / 3; }
  .ft-cols, .ft-sites { grid-template-columns: 1fr 1fr; }
  .ch-grid .g-a, .ch-grid .g-b, .ch-grid .g-c, .ch-grid .g-full { grid-column: span 6; aspect-ratio: 4 / 3; }
  .spec { grid-template-columns: 1fr; }
  .spec div + div { padding-left: 0; border-left: 0; }
  .iso-row { grid-template-columns: 1fr; }
  .steps3 { grid-template-columns: 1fr; }
  .cert-table thead { display: none; }
  .cert-table tr { display: grid; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .cert-table td { border: 0; padding: 4px 0; }
}

/* fixes */
.rail-card .ri, .rail-card strong, .rail-card span.d { display: block; }
.rail-card strong { display: flex; }
.v3-footer .btn { color: var(--fg); }
.v3-footer .btn:hover { color: var(--fg); }
.qc3-iso { grid-column: span 2; aspect-ratio: auto !important; }
@media (max-width: 720px) { .qc3-iso { grid-column: auto; } }
@media (max-width: 900px) {
  .hscroll-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hscroll.is-static .hscroll-sticky { padding: 88px 0; }
}
.cta-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }
.ch-grid figure[data-a="clip"] { position: relative; }
@media (max-width: 1020px) {
  .v3-nav { position: absolute; inset: auto; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--hdr)); }
  .v3-header.is-open { background: #fff; }
}
@media (max-width: 1020px) { .v3-header-cta { margin-left: auto; } }

/* number grid fixes */
.manifesto { padding-bottom: clamp(64px, 7vw, 100px); }
.nums-sec { padding-top: 0; }
.num-cell { container-type: inline-size; min-width: 0; }
.num-big { font-size: clamp(2.8rem, 17cqi, 6rem); white-space: nowrap; align-items: baseline; }
.num-big small { font-size: .36em; }
.num-big small:first-child { margin-right: 2px; }

/* =========================================================
   v3.1 — legacy pages brought onto the v3 system
   ========================================================= */
/* buttons */
body.v3 main .button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px 0 24px; border-radius: 999px; font: 600 .95rem/1 var(--font); letter-spacing: -.005em; transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s, color .4s; }
body.v3 main .button::after { content: ""; width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 11v2h12l-5.5 5.5 1.42 1.42L19.84 12l-7.92-7.92L10.5 5.5 16 11H4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 11v2h12l-5.5 5.5 1.42 1.42L19.84 12l-7.92-7.92L10.5 5.5 16 11H4z'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .5s var(--ease); }
body.v3 main .button:hover::after { transform: translateX(4px); }
body.v3 main .button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(10, 23, 20, .45); }
body.v3 main .button-primary, body.v3 main .button:not(.button-light):not(.button-secondary):not(.button-outline-light) { background: var(--forest); color: #fff; border-color: var(--forest); }
body.v3 main .button-primary:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
body.v3 main .button-light { background: #fff; color: var(--ink); border-color: #fff; }
body.v3 main .button-light:hover { background: var(--mint); border-color: var(--mint); color: var(--ink); }
body.v3 main .button-secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
body.v3 main .button-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }

/* page heads */
body.v3 .nx-page-head { padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); margin-bottom: clamp(24px, 3vw, 40px); }
body.v3 .nx-page-head h1, body.v3 .faq-intro h1, body.v3 .contact-hero h1, body.v3 .category-hero h1, body.v3 .nx-tech-hero h1 { font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: .98; letter-spacing: -.045em; font-weight: 700; color: var(--ink); max-width: 16ch; }
body.v3 .nx-page-head p, body.v3 .faq-intro p { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.65; color: var(--ink-2); max-width: 60ch; }
body.v3 .px-title { font-size: clamp(2.4rem, 4.8vw, 4.2rem); color: var(--ink); letter-spacing: -.045em; line-height: 1; font-weight: 700; }
body.v3 .px-case-head, body.v3 .px-product { padding-top: clamp(40px, 5vw, 72px); }
body.v3 main h2 { letter-spacing: -.035em; }
body.v3 .eyebrow, body.v3 .px-kicker, body.v3 .nx-eyebrow { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 400; }

/* one closing CTA per page: style page CTAs as the v3 band, hide the footer duplicate */
body.v3 .nx-cta, body.v3 .v1-cta, body.v3 .site-cta, body.v3 .final-cta { background: var(--forest) !important; color: #fff; padding: clamp(80px, 10vw, 140px) 0 !important; border-radius: 0 !important; margin: 0 !important; background-image: radial-gradient(circle at 85% 20%, rgba(143, 224, 209, .16), transparent 45%) !important; }
body.v3 .nx-cta h2, body.v3 .v1-cta h2, body.v3 .site-cta h2, body.v3 .final-cta h2, body.v3 .px-cta h2 { color: #fff; font: 700 clamp(2.2rem, 4.4vw, 3.8rem)/1.02 var(--display); letter-spacing: -.04em; margin: 0 0 18px; max-width: 18ch; }
body.v3 .nx-cta p, body.v3 .v1-cta p, body.v3 .site-cta p, body.v3 .final-cta p, body.v3 .px-cta p { color: rgba(230, 239, 236, .72); font-size: 1.08rem; line-height: 1.6; max-width: 52ch; margin: 0; }
body.v3 .nx-cta-inner, body.v3 .v1-cta-inner, body.v3 .site-cta-inner, body.v3 .final-cta-inner { display: flex !important; align-items: flex-end !important; justify-content: space-between !important; gap: 40px !important; flex-wrap: wrap; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut) !important; background: none !important; border: 0 !important; box-shadow: none !important; }
body.v3 .site-cta-inner > div { display: grid; gap: 22px; justify-items: start; }
body.v3 .site-cta .eyebrow, body.v3 .final-cta .eyebrow { color: var(--mint); }
body.v3 .px-section:has(> .container > .px-cta) { padding: 0 !important; background: none !important; }
body.v3 .px-section:has(> .container > .px-cta) > .container { max-width: none; padding: 0; }
body.v3 .px-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; background: var(--forest) radial-gradient(circle at 85% 20%, rgba(143, 224, 209, .16), transparent 45%) !important; border-radius: 0 !important; padding: clamp(80px, 10vw, 140px) max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))) !important; margin: 0 !important; }
body.v3.has-page-cta .ft-cta { display: none; }
body.v3.has-page-cta .ft-top { grid-template-columns: 1fr; padding-bottom: 48px; }
body.v3.has-page-cta .ft-cols { max-width: 720px; }

/* cards & tiles */
body.v3 .px-tile, body.v3 .px-card, body.v3 .px-rel a, body.v3 .px-related a { border-radius: var(--r) !important; }
body.v3 .px-tile img, body.v3 .px-card img { transition: transform .9s var(--ease); }
body.v3 .px-tile:hover img, body.v3 .px-card:hover img { transform: scale(1.05); }
body.v3 .px-chips button, body.v3 .px-chip { border-radius: 999px; font-family: var(--font); }

/* about / oem hero polish */
body.v3 .about-hero h1, body.v3 .oem-hero-refresh h1 { font-weight: 700; letter-spacing: -.045em; }
body.v3 .px-section:has(> .container > .px-cta) > .container { width: 100% !important; }
body.v3 .site-cta { width: 100% !important; max-width: none !important; }
body.v3 .site-cta-inner { width: 100% !important; }

/* =========================================================
   v3.2 — About, OEM/ODM, product system
   ========================================================= */
/* split hero for catalog pages */
.thero { padding: calc(var(--hdr) * 0 + clamp(48px, 6vw, 88px)) 0 clamp(56px, 7vw, 96px); background: var(--paper); overflow: hidden; }
body.v3:not(.has-hero) .thero { padding-top: clamp(40px, 5vw, 72px); }
.thero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.thero .crumb { color: var(--muted); }
.thero .crumb a { color: var(--ink-2); }
.thero h1 { font-size: clamp(2.8rem, 6vw, 5.6rem); line-height: .95; margin: 0; letter-spacing: -.045em; font-weight: 700; color: var(--ink); max-width: 13ch; }
.thero .lead { margin-top: 24px; }
.thero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.thero-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: #efe9e1; }
.thero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thero-chip { position: absolute; left: 18px; bottom: 18px; z-index: 2; display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); box-shadow: 0 20px 40px -24px rgba(10,23,20,.5); }
.thero-chip .mono { color: var(--muted); font-size: .64rem; }
.thero-chip strong { font: 700 1rem/1.2 var(--display); }
.thero-stack { position: relative; aspect-ratio: 1 / 1; }
.thero-stack figure { position: absolute; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: #efe9e1; box-shadow: 0 30px 60px -36px rgba(10,23,20,.45); }
.thero-stack img { width: 100%; height: 100%; object-fit: cover; }
.thero-stack .s1 { left: 0; top: 4%; width: 48%; aspect-ratio: 4 / 5; }
.thero-stack .s2 { right: 0; top: 0; width: 46%; aspect-ratio: 4 / 5; }
.thero-stack .s3 { left: 22%; bottom: 0; width: 44%; aspect-ratio: 4 / 5; z-index: 2; }
.thero-stack .s4 { right: 4%; bottom: 6%; width: 28%; aspect-ratio: 1; z-index: 3; }

/* spec strip */
.specbar { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.specbar > div { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); }
.specbar > div:not(:nth-child(3n+1)) { padding-left: 22px; border-left: 1px solid var(--line); }
.specbar .mono { display: block; color: var(--muted); margin-bottom: 8px; }
.specbar strong { font-weight: 600; line-height: 1.45; }

/* product gallery */
.pgal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pgal figure { margin: 0; }
.pgal .pi { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: #f5f2ed; }
.pgal .pi img { width: 100%; height: 100%; object-fit: contain; transition: transform .9s var(--ease); }
.pgal figure:hover .pi img { transform: scale(1.06); }
.pgal figcaption { margin-top: 12px; font-weight: 600; font-size: .95rem; display: flex; gap: 10px; align-items: baseline; }
.pgal figcaption .mono { color: var(--muted); font-size: .66rem; }
.pgal figure.big { grid-column: span 2; grid-row: span 2; }
.pgal figure.big .pi { aspect-ratio: auto; height: calc(100% - 34px); min-height: 300px; }

/* process mini cards */
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pcard { display: block; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(10,23,20,.4); color: var(--ink); }
.pcard .pc-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.pcard .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pc-img img { transform: scale(1.05); }
.pcard .pc-tx { padding: 22px; display: grid; gap: 8px; }
.pcard .mono { color: var(--teal); }
.pcard strong { font: 700 1.2rem/1.2 var(--display); letter-spacing: -.02em; display: flex; justify-content: space-between; align-items: center; }
.pcard span.d { color: var(--ink-2); font-size: .92rem; line-height: 1.55; }

/* scene band */
.scene3 { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21 / 9; background: var(--paper); }
.scene3 img { width: 100%; height: 100%; object-fit: cover; }
.scene3 .tag { position: absolute; left: 20px; bottom: 20px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.92); }

/* case cards */
.ccards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ccard { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; padding: 14px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .3s, transform .5s var(--ease); }
.ccard:hover { border-color: var(--teal); transform: translateY(-3px); color: var(--ink); }
.ccard img { width: 120px; height: 120px; object-fit: contain; background: #f5f2ed; border-radius: 12px; padding: 8px; }
.ccard .mono { color: var(--muted); display: block; margin-bottom: 6px; }
.ccard strong { font: 700 1.1rem/1.2 var(--display); display: block; }
.ccard span.d { color: var(--ink-2); font-size: .88rem; }

/* catalog type grid (products hub) */
.tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tcard { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.tcard:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -36px rgba(10,23,20,.45); color: var(--ink); }
.tcard .ti { aspect-ratio: 4 / 5; overflow: hidden; background: #efe9e1; }
.tcard .ti img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tcard:hover .ti img { transform: scale(1.06); }
.tcard .tt { padding: 20px 20px 22px; display: grid; gap: 6px; }
.tcard .mono { color: var(--muted); font-size: .66rem; }
.tcard strong { font: 700 1.25rem/1.15 var(--display); letter-spacing: -.02em; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tcard .ic { transition: transform .5s var(--ease); flex: none; }
.tcard:hover .ic { transform: translateX(4px); color: var(--teal); }
.tcard span.d { color: var(--ink-2); font-size: .9rem; line-height: 1.5; }
.tcard.wide { grid-column: span 2; }
.tcard.wide .ti { aspect-ratio: auto; flex: 1; min-height: 280px; }
.tcard.dark { background: var(--forest); color: #fff; border-color: var(--forest); }
.tcard.dark .mono { color: var(--mint); }
.tcard.dark span.d { color: var(--on-dark-2); }
.tcard.dark:hover { color: #fff; }

/* chips list */
.chips3 { display: flex; flex-wrap: wrap; gap: 10px; }
.chips3 span { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-weight: 500; font-size: .95rem; }
.chips3 .ic { color: var(--teal); }
.sec-dark .chips3 span { background: rgba(255,255,255,.05); border-color: var(--line-dark); color: #fff; }

/* timeline (about) */
.tl { position: relative; display: grid; gap: 0; }
.tl::before { content: ""; position: absolute; left: 180px; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.tl-item { display: grid; grid-template-columns: 180px 1fr; gap: 48px; padding: 0 0 64px; position: relative; }
.tl-item::after { content: ""; position: absolute; left: 175px; top: 10px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--teal); }
.tl-year { font: 700 clamp(1.8rem, 3vw, 2.6rem)/1 var(--display); letter-spacing: -.04em; color: var(--forest); padding-right: 32px; }
.tl-year small { display: block; font: 400 .68rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.tl-body { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
.tl-body h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin: 0 0 12px; letter-spacing: -.03em; }
.tl-body p { margin: 0; color: var(--ink-2); line-height: 1.65; }
.tl-body figure { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; background: var(--paper-2); }
.tl-body figure img { width: 100%; height: 100%; object-fit: cover; }

/* names evolution */
.names3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.names3 > div { background: #fff; padding: 32px 28px; display: grid; gap: 10px; align-content: start; min-height: 230px; }
.names3 .mono { color: var(--muted); }
.names3 strong { font: 700 clamp(1.8rem, 3vw, 2.6rem)/1 var(--display); letter-spacing: -.04em; }
.names3 > div:last-child { background: var(--forest); color: #fff; }
.names3 > div:last-child .mono { color: var(--mint); }
.names3 > div:last-child p { color: var(--on-dark-2); }
.names3 p { margin: 0; color: var(--ink-2); line-height: 1.6; font-size: .95rem; }

/* principles */
.princ { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.princ > div { padding: 32px 28px 32px 0; }
.princ > div + div { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.princ .mono { color: var(--mint); display: block; margin-bottom: 18px; }
.princ strong { display: block; font: 700 1.35rem/1.2 var(--display); color: #fff; margin-bottom: 10px; letter-spacing: -.02em; }
.princ p { margin: 0; color: var(--on-dark-2); line-height: 1.6; font-size: .95rem; }

/* mosaic generic */
.mos3 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.mos3 figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.mos3 img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mos3 figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: .66rem; }
.mos3 .m-7 { grid-column: span 7; aspect-ratio: 16 / 10; }
.mos3 .m-5 { grid-column: span 5; }
.mos3 .m-4 { grid-column: span 4; aspect-ratio: 4 / 3; }
.mos3 .m-6 { grid-column: span 6; aspect-ratio: 3 / 2; }
.mos3 .m-12 { grid-column: span 12; aspect-ratio: 21 / 9; }

/* OEM route switch */
.route-switch { display: inline-flex; padding: 6px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); gap: 4px; margin-bottom: 36px; }
.route-switch button { border: 0; background: none; padding: 12px 22px; border-radius: 999px; font: 600 .95rem/1 var(--font); color: var(--ink-2); cursor: pointer; transition: background .3s, color .3s; }
.route-switch button[aria-selected="true"] { background: var(--forest); color: #fff; }
.route-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.route-panel[hidden] { display: none; }
.route-panel h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 16px; letter-spacing: -.035em; }
.route-panel p { color: var(--ink-2); line-height: 1.65; margin: 0 0 24px; }
.route-panel ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.route-panel li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.route-panel li .ic { color: var(--teal); margin-top: 2px; }
.route-panel figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.route-panel figure img { width: 100%; height: 100%; object-fit: cover; }

/* sticky step flow */
.flow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.flow-stage { position: sticky; top: calc(var(--hdr) + 40px); aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--night-2); }
.flow-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.flow-stage img.on { opacity: 1; transform: none; }
.flow-stage .cnt { position: absolute; left: 20px; top: 20px; z-index: 2; padding: 8px 14px; border-radius: 999px; background: rgba(5,14,12,.6); color: #fff; backdrop-filter: blur(6px); }
.flow-steps { list-style: none; margin: 0; padding: 0; }
.flow-steps li { padding: 28px 0 28px 0; border-top: 1px solid var(--line-dark); opacity: .38; transition: opacity .5s var(--ease); min-height: 26vh; }
.flow-steps li.on { opacity: 1; }
.flow-steps .mono { color: var(--mint); }
.flow-steps strong { display: block; font: 700 clamp(1.5rem, 2.4vw, 2.1rem)/1.1 var(--display); color: #fff; margin: 12px 0 10px; letter-spacing: -.03em; }
.flow-steps p { margin: 0; color: var(--on-dark-2); line-height: 1.65; max-width: 46ch; }
.flow-steps .who { display: inline-block; margin-top: 14px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-dark); color: rgba(230,239,236,.7); font-size: .66rem; }

/* icon grid */
.igrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.igrid > div { background: #fff; padding: 28px 24px; display: grid; gap: 10px; align-content: start; min-height: 180px; transition: background .4s; }
.igrid > div:hover { background: var(--paper); }
.igrid .ic { width: 28px; height: 28px; color: var(--teal); }
.igrid strong { font: 700 1.12rem/1.25 var(--display); margin-top: 6px; }
.igrid span { color: var(--ink-2); font-size: .9rem; line-height: 1.5; }

/* send list */
.sendl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sendl > div { padding: 24px; border-radius: var(--r-lg); background: var(--paper); display: grid; gap: 8px; align-content: start; }
.sendl .mono { color: var(--teal); }
.sendl strong { font: 700 1.1rem/1.2 var(--display); }
.sendl span { color: var(--ink-2); font-size: .9rem; line-height: 1.5; }

@media (max-width: 1020px) {
  .thero-grid, .route-panel, .flow, .tl-body { grid-template-columns: 1fr; }
  .flow-stage { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .flow-steps li { min-height: 0; opacity: 1; }
  .pgal, .tgrid { grid-template-columns: repeat(2, 1fr); }
  .pcards, .ccards, .names3 { grid-template-columns: 1fr; }
  .igrid, .sendl, .princ { grid-template-columns: 1fr 1fr; }
  .princ > div { padding-left: 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--line-dark); }
  .tl::before { left: 6px; }
  .tl-item { grid-template-columns: 1fr; gap: 16px; padding-left: 32px; }
  .tl-item::after { left: 1px; }
  .specbar { grid-template-columns: 1fr 1fr; }
  .specbar > div { padding-left: 0 !important; border-left: 0 !important; }
}
@media (max-width: 720px) {
  .pgal figure.big { grid-column: span 2; grid-row: auto; }
  .pgal figure.big .pi { height: auto; aspect-ratio: 1; min-height: 0; }
  .tcard.wide { grid-column: span 2; }
  .igrid, .sendl, .specbar { grid-template-columns: 1fr; }
  .mos3 > figure { grid-column: span 12 !important; aspect-ratio: 4 / 3 !important; }
  .scene3 { aspect-ratio: 4 / 3; }
}
.rail-card.studio .ri { background: #efe9e1; }
.rail-card.studio .ri img { object-fit: cover; padding: 0; }
.rail-card.studio .ri .mono { z-index: 2; color: rgba(13,26,23,.55); }
.pcard .pc-img, .pcard .pc-tx, .pgal .pi, .ccard > span, .news-card .ni, .news-card .nt { display: block; }
.pcard .pc-tx { display: grid; }

/* =========================================================
   v3.3 — cases, projects index, processes, guide
   ========================================================= */
.case-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: end; margin: 8px 0 clamp(28px, 4vw, 48px); }
.case-head h1 { max-width: 16ch; }
.case-head .lead { margin: 0; }
.case-band { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #f5f2ed; border: 1px solid var(--line); }
.case-band img { width: 100%; height: auto; display: block; }
.case-spec { margin-top: 28px; grid-template-columns: repeat(4, 1fr); }
.case-spec > div:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
.case-spec > div:not(:nth-child(4n+1)) { padding-left: 22px; border-left: 1px solid var(--line); }
.case-story { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 96px); }
.case-brief { font: 600 clamp(1.4rem, 2.4vw, 2.1rem)/1.3 var(--display); letter-spacing: -.025em; margin: 0 0 24px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.case-tags span { padding: 7px 12px; border-radius: 999px; background: var(--paper); font-size: .82rem; color: var(--ink-2); }
.case-made { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.case-made li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
.case-made .ic { color: var(--teal); width: 20px; height: 20px; margin-top: 2px; }
.pgal figure.wide2 { grid-column: span 2; }
.pgal figure.wide2 .pi { aspect-ratio: 2 / 1; }
.pcards-2 { grid-template-columns: repeat(2, 1fr); }
.next-case { display: block; background: var(--night); color: #fff; text-decoration: none; padding: clamp(48px, 6vw, 80px) 0; overflow: hidden; }
.next-case:hover { color: #fff; }
.next-in { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; }
.next-in .mono { color: var(--mint); display: block; margin-bottom: 12px; }
.next-in strong { display: block; font: 700 clamp(2.4rem, 6vw, 5rem)/1 var(--display); letter-spacing: -.045em; transition: transform .6s var(--ease); }
.next-case:hover .next-in strong { transform: translateX(12px); }
.next-in .d { color: var(--on-dark-2); display: block; margin-top: 10px; }
.next-in img { width: 160px; height: 160px; object-fit: contain; background: #f5f2ed; border-radius: 18px; padding: 10px; transform: rotate(-4deg); transition: transform .6s var(--ease); }
.next-case:hover .next-in img { transform: rotate(0) scale(1.05); }
.next-in .circ { width: 72px; height: 72px; border-radius: 50%; background: var(--mint); color: var(--night); display: grid; place-items: center; transition: transform .5s var(--ease); }
.next-in .circ .ic { width: 28px; height: 28px; }
.next-case:hover .circ { transform: rotate(-45deg); }

.pj-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.pj-filter button { border: 1px solid var(--line-2); background: #fff; padding: 11px 18px; border-radius: 999px; font: 600 .92rem/1 var(--font); color: var(--ink-2); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: background .3s, color .3s, border-color .3s; }
.pj-filter button span { font: 400 .72rem/1 var(--mono); color: var(--muted); }
.pj-filter button[aria-selected="true"] { background: var(--forest); color: #fff; border-color: var(--forest); }
.pj-filter button[aria-selected="true"] span { color: var(--mint); }
.pj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pj-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.pj-card[hidden] { display: none; }
.pj-card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -36px rgba(10,23,20,.45); color: var(--ink); }
.pj-img { display: block; aspect-ratio: 1 / 1; background: #f5f2ed; overflow: hidden; }
.pj-img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform 1s var(--ease); }
.pj-card:hover .pj-img img { transform: scale(1.06) rotate(-2deg); }
.pj-tx { display: grid; gap: 6px; padding: 20px 22px 24px; }
.pj-tx .mono { color: var(--muted); font-size: .66rem; }
.pj-tx strong { font: 700 1.35rem/1.15 var(--display); letter-spacing: -.02em; display: flex; justify-content: space-between; align-items: center; }
.pj-tx .ic { transition: transform .5s var(--ease); }
.pj-card:hover .pj-tx .ic { transform: rotate(-45deg); color: var(--teal); }
.pj-tx .d { color: var(--ink-2); font-size: .9rem; line-height: 1.45; }

.cmp-table { width: 100%; border-collapse: collapse; }
.cmp-table th, .cmp-table td { text-align: left; padding: 20px 18px 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.55; }
.cmp-table thead th { font: 700 1.05rem/1.3 var(--display); color: var(--ink); border-bottom: 2px solid var(--ink); }
.cmp-table tbody th { font: 400 .7rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); width: 18%; }
.cmp-table td { color: var(--ink-2); width: 41%; }
.ch-links { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; margin-top: 22px; }

.gflow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.gflow span { padding: 9px 14px; border-radius: 999px; background: var(--paper); font-weight: 600; font-size: .88rem; }
.gflow .ic { color: var(--teal); width: 16px; height: 16px; }
.gsteps { display: grid; gap: 0; }
.gstep { display: grid; grid-template-columns: 90px 1fr 280px; gap: 28px; padding: 36px 0; border-top: 1px solid var(--line); align-items: start; }
.gstep.noimg { grid-template-columns: 90px 1fr; }
.gstep-n span:first-child { display: block; font: 700 2.6rem/1 var(--display); letter-spacing: -.05em; color: var(--forest); }
.gstep-n .mono { display: block; color: var(--muted); font-size: .62rem; margin-top: 8px; }
.gstep h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 0 0 10px; letter-spacing: -.03em; }
.gstep-b > p { margin: 0 0 18px; color: var(--ink-2); line-height: 1.65; }
.gstep dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gstep dl div { padding: 16px; border-radius: 12px; background: var(--paper); }
.gstep dt { color: var(--teal); margin-bottom: 8px; font-size: .64rem; }
.gstep dd { margin: 0; color: var(--ink-2); font-size: .92rem; line-height: 1.55; }
.gstep figure { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper); }
.gstep figure img { width: 100%; height: 100%; object-fit: cover; }
.g-toc a { font-size: .9rem; }
.gfaq { border-top: 1px solid var(--line); padding: 4px 0; }
.gfaq:last-child { border-bottom: 1px solid var(--line); }
.gfaq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 1.12rem/1.35 var(--display); letter-spacing: -.015em; }
.gfaq summary::-webkit-details-marker { display: none; }
.gfaq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 1.6px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.6px 100% no-repeat; transition: transform .4s var(--ease); }
.gfaq[open] summary::after { transform: rotate(45deg); }
.gfaq p { margin: 0 0 22px; color: var(--ink-2); line-height: 1.65; max-width: 62ch; }

@media (max-width: 1020px) {
  .case-head, .case-story { grid-template-columns: 1fr; }
  .case-spec { grid-template-columns: 1fr 1fr; }
  .case-spec > div { padding-left: 0 !important; border-left: 0 !important; }
  .pj-grid { grid-template-columns: 1fr 1fr; }
  .pcards-2 { grid-template-columns: 1fr; }
  .gstep, .gstep.noimg { grid-template-columns: 64px 1fr; }
  .gstep figure { grid-column: 2; }
  .gstep dl { grid-template-columns: 1fr; }
  .next-in { grid-template-columns: 1fr auto; }
  .next-in img { display: none; }
}
@media (max-width: 720px) {
  .pj-grid { grid-template-columns: 1fr; }
  .cmp-table thead { display: none; }
  .cmp-table tr { display: grid; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .cmp-table th, .cmp-table td { border: 0; padding: 4px 0; width: auto !important; }
  .cmp-table td:nth-of-type(1)::before { content: "Solid · "; font-weight: 600; color: var(--ink); }
  .cmp-table td:nth-of-type(2)::before { content: "LSR · "; font-weight: 600; color: var(--ink); }
  .pgal figure.wide2 .pi { aspect-ratio: 1; }
}
