:root {
  --bg: #0f1015; --bg-2: #17181f; --card: #1d1e26; --card-2: #24252f;
  --line: rgba(255, 255, 255, .08); --line-2: rgba(25, 168, 255, .4);
  --ink: #f2f4f8; --ink-2: #b2b7c3; --ink-3: #7b8190;
  --accent: #19a8ff; --accent-2: #7fd3ff; --amber: #ffd166; --ok: #3dcd58; --se: #3dcd58;
  --glow: 0 0 0 1px rgba(25, 168, 255, .25), 0 20px 60px -20px rgba(25, 168, 255, .45);
  --r: 20px; --f: "Poppins", system-ui, -apple-system, sans-serif; --m: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--f); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.08; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
em { font-style: normal; background: linear-gradient(90deg, #19a8ff, #7fd3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wrap { width: min(1600px, 100% - 2 * clamp(16px, 2.5vw, 40px)); margin-inline: auto; } /* wide content, slim gutter that grows a little with the screen */
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 .74rem/1 var(--m); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.kicker--w { color: #fff; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 205, 88, .6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(61, 205, 88, 0); } }
.sub { color: var(--ink-2); font-size: 1.05rem; margin-top: 16px; max-width: 44em; }
.sub b { color: #fff; font-weight: 500; }
.sub a { color: var(--accent-2); }
.lab { font: 500 .68rem/1.2 var(--m); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; display: block; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font: 500 .95rem/1 var(--f); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s, background .25s; }
.btn--accent { background: linear-gradient(135deg, #19a8ff, #0068bd); color: #fff; box-shadow: 0 12px 34px -12px rgba(25, 168, 255, .9); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(25, 168, 255, 1); }
.btn--line { border-color: rgba(255, 255, 255, .25); color: #fff; background: rgba(255, 255, 255, .04); backdrop-filter: blur(8px); }
.btn--line:hover { border-color: var(--accent); transform: translateY(-2px); }
.btn--dark { background: #0f1015; color: #fff; }
.btn--dark:hover { background: #000; }
.chip-btn { font: 500 .8rem/1 var(--f); color: #fff; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(15, 16, 21, .6); backdrop-filter: blur(10px); cursor: pointer; transition: .25s; }
.chip-btn:hover { border-color: var(--accent); }
.chip-btn.on { background: var(--accent); border-color: var(--accent); }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(15, 16, 21, .8); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: .9rem; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { padding: 11px 20px; font-size: .88rem; }
.only-m { display: none; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .04); position: relative; cursor: pointer; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; transition: transform .3s; }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 140px 0 40px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 16, 21, .96) 0%, rgba(15, 16, 21, .85) 38%, rgba(15, 16, 21, .25) 75%), linear-gradient(0deg, var(--bg) 0%, transparent 35%); }
.hero-scan { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(25, 168, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(25, 168, 255, .07) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg, #000 0%, transparent 60%); }
.hero-in { position: relative; max-width: 1600px; }
.hero-list { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-list li { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(25, 168, 255, .4); background: rgba(25, 168, 255, .08); font-size: .95rem; }
.lede { color: var(--ink-2); font-size: 1.15rem; margin-top: 20px; max-width: 34em; }
.lede b { color: #fff; font-weight: 500; }
.cta-row { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 14px; margin-top: 40px; }
.pbox { display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: 18px; text-decoration: none; background: rgba(23, 24, 31, .72); border: 1px solid rgba(61, 205, 88, .35); backdrop-filter: blur(14px); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.pbox:hover { transform: translateY(-3px); border-color: var(--se); box-shadow: 0 16px 40px -16px rgba(61, 205, 88, .6); }
.pbox-badge { width: 64px; flex: none; }
.pbox-logo { width: 110px; flex: none; padding: 6px 0; }
.pbox span { display: grid; line-height: 1.3; }
.pbox small { font-size: .72rem; color: var(--se); font-weight: 500; }
.pbox b { font-weight: 600; font-size: .98rem; }
.pbox em { font-size: .76rem; color: var(--ink-3); -webkit-text-fill-color: var(--ink-3); background: none; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(23, 24, 31, .6); backdrop-filter: blur(14px); }
.stat { padding: 24px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border: 0; }
.stat b { display: block; font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.stat > span { color: var(--ink-3); font-size: .86rem; }

/* ===== MARQUEE ===== */
.marquee { padding: 40px 0 60px; overflow: hidden; }
.marquee-k { text-align: center; font: 500 .74rem/1 var(--m); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 26px; }
.marquee-track { display: grid; gap: 14px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; gap: 14px; width: max-content; margin: 0; padding: 0; list-style: none; animation: mq 60s linear infinite; }
.logo-track.rev { animation-direction: reverse; }
.marquee:hover .logo-track { animation-play-state: paused; }
.logo { flex: none; height: 76px; min-width: 150px; padding: 0 30px; display: grid; place-items: center; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .025); transition: border-color .3s, background .3s, box-shadow .3s; }
.logo img { height: 38px; width: auto; max-width: 190px; object-fit: contain; opacity: .62; transition: opacity .3s, filter .3s; }
.logo:hover { border-color: rgba(25, 168, 255, .45); background: rgba(25, 168, 255, .07); box-shadow: 0 0 30px rgba(25, 168, 255, .18); }
.logo:hover img { opacity: 1; filter: drop-shadow(0 0 10px rgba(25, 168, 255, .7)); }
@media (max-width: 640px) { .logo { height: 60px; min-width: 112px; padding: 0 20px; } .logo img { height: 28px; max-width: 140px; } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .logo-track > [aria-hidden] { display: none; } }
@keyframes mq { to { transform: translateX(-50%); } }

/* ===== FLOW ===== */
.flow { height: 1650vh; position: relative; background: #0b0c10; }
.flow-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: 1.45fr 1fr; overflow: hidden; }
.flow-stage { position: relative; height: 100%; container-type: size; }
#panel3d { width: 100%; height: 100%; display: block; }
.ov { position: absolute; inset: 0; pointer-events: none; }
.pin { opacity: 0; position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 12, 18, .85); border: 1.5px solid var(--accent); box-shadow: 0 0 0 6px rgba(25, 168, 255, .15), 0 0 18px rgba(25, 168, 255, .6); transition: opacity .3s; }
.pin b { font: 600 .7rem/1 var(--m); color: #fff; }
.dim { opacity: 0; position: absolute; left: 0; top: 0; padding: 4px 9px; border-radius: 6px; font: 500 .74rem/1 var(--m); color: #121217; background: var(--amber); transition: opacity .3s; }
.ov-card, .sld, .schem, .ov-docs, .flow-finale { position: absolute; transition: opacity .6s var(--ease), transform .7s var(--ease); opacity: 0; pointer-events: none; }
.ov-card { background: rgba(14, 16, 22, .82); border: 1px solid var(--line-2); border-radius: 16px; backdrop-filter: blur(14px); box-shadow: var(--glow); padding: 18px; }
.ov-hud { left: 28px; top: 96px; width: 300px; opacity: 1; max-height: calc(100vh - 140px); max-height: calc(100svh - 140px); overflow: auto; }
.flow-stage[data-step="cost"] .ov-hud { width: 420px; }
.ov-hud.in > * { animation: hin .5s var(--ease) both; }
@keyframes hin { from { opacity: 0; transform: translateY(8px); } }
.hn { font: 600 2rem/1 var(--f); }
.hn small { font-size: .85rem; color: var(--ink-3); font-weight: 400; }
.hk { font: 500 .68rem/1 var(--m); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 8px 0 12px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 7px 11px; border-radius: 8px; background: rgba(25, 168, 255, .12); border: 1px solid rgba(25, 168, 255, .3); font: 500 .74rem/1 var(--m); }
.tanks, .tests, .checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.tanks li, .tests li { display: flex; align-items: center; gap: 9px; font-size: .82rem; animation: hin .4s var(--ease) both; animation-delay: var(--d); }
.tanks i { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: rgba(25, 168, 255, .16); font: 500 .68rem/1 var(--m); font-style: normal; color: var(--accent); }
.tanks .oven i { background: rgba(255, 209, 102, .2); color: var(--amber); }
.tests svg, .checks svg { width: 16px; height: 16px; color: var(--ok); flex: none; }
.pass { margin-top: 12px; font: 600 .78rem/1 var(--m); letter-spacing: .2em; color: var(--ok); text-shadow: 0 0 14px rgba(61, 205, 88, .6); }
table.bom { width: 100%; border-collapse: collapse; font-size: .76rem; }
.bom th { text-align: left; font: 500 .62rem/1 var(--m); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 0 6px 8px; border-bottom: 1px solid var(--line); }
.bom td { padding: 7px 6px; border-bottom: 1px solid rgba(255, 255, 255, .05); vertical-align: middle; animation: hin .4s var(--ease) both; animation-delay: var(--d); }
.bom tr { animation: hin .4s var(--ease) both; animation-delay: var(--d); }
.bom td:first-child { font: 600 .7rem/1 var(--m); color: var(--accent); }
.bom td:nth-child(3) { white-space: nowrap; color: var(--ink-2); font-family: var(--m); }
.bom td:last-child { width: 70px; }
.bom td i { display: block; height: 6px; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, #19a8ff, #7fd3ff); box-shadow: 0 0 8px rgba(25, 168, 255, .6); }
.bom-foot { margin-top: 10px; font: .74rem var(--m); color: var(--ink-3); }
.bom-foot b { color: #fff; font-size: 1rem; }
/* SLD */
.sld .frame, .schem .frame { fill: rgba(10, 14, 22, .9); stroke: rgba(25, 168, 255, .35); }
.sld .w, .schem .w { fill: none; stroke: #7fd3ff; stroke-width: 2; stroke-linecap: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 2.2s var(--ease); }
.sld .bus, .schem .bus { stroke-width: 6; stroke: #19a8ff; }
.sld .bd { stroke-width: 5; stroke: #ffd166; }
.schem .no { stroke: #ffd166; }
.sld text, .schem text { fill: #cfe9ff; font: 500 13px var(--m); }
.sld .h, .schem .h { fill: #fff; font: 600 15px var(--f); letter-spacing: .04em; }
.sld .m, .schem .m { fill: #8ea8bf; font-size: 12px; }
.sld .c { text-anchor: middle; } .sld .l { text-anchor: start; } .sld .b { fill: #fff; font-weight: 600; font-size: 14px; }
.ov-eng { right: 26px; top: 96px; width: 330px; }
.flow-stage[data-step="eng"] .ov-eng { opacity: 1; }
.checks li { display: grid; grid-template-columns: 1fr auto 16px; gap: 10px; align-items: center; font-size: .82rem; padding: 8px 0; border-bottom: 1px solid var(--line); animation: hin .5s var(--ease) both; animation-delay: var(--d); }
.checks span { color: var(--ink-2); } .checks b { font: 500 .76rem var(--m); color: #fff; }
/* docs */
.ov-docs { right: 28px; bottom: 40px; width: 460px; height: 290px; }
.doc { position: absolute; right: 0; bottom: 0; width: 300px; height: 230px; padding: 8px 8px 0; border-radius: 6px; background: #fbfbf8; color: #1d2a3a; box-shadow: 0 22px 44px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .06); transform: translate(calc((var(--i) - 5) * 14px), calc((var(--i) - 5) * 4px)) rotate(calc((var(--i) - 5) * 1.5deg)); transition: transform .8s var(--ease); transition-delay: calc(var(--i) * .06s); overflow: hidden; }
.dart { height: 184px; overflow: hidden; border: 1px solid #d9dde3; background: #fff; }
.dart svg { width: 100%; height: 100%; display: block; }
.dlab { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 9px 4px 0; margin: 0; }
.dlab b { font-size: .78rem; } .dlab span { font: .6rem var(--m); color: #6b7380; white-space: nowrap; }
/* drawings printed on paper: dark linework instead of the on-screen blueprint style */
.dart .paper { fill: #fff; stroke: #9aa3ad; } .dart .frm, .dart .tick, .dart .tbl { fill: none; stroke: #5d6873; stroke-width: 1; } .dart .tb { fill: #f4f6f8; stroke: #5d6873; }
.dart .w { fill: none; stroke: #1b2a3c; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; } .dart .w.thin { stroke-width: .9; stroke: #44566b; }
.dart .bus, .dart .bus2 { stroke: #0b5fa5; } .dart .bus { stroke-width: 4; } .dart .bus2 { stroke-width: 2.5; } .dart .bd { stroke: #b07d00; } .dart .no { stroke: #b07d00; }
.dart text { fill: #1b2a3c; font: 500 11px "JetBrains Mono", monospace; } .dart .g, .dart .k, .dart .g2 { fill: #66717d; font-size: 9px; } .dart .tt, .dart .b { fill: #0d1724; font: 600 12px Poppins, sans-serif; }
.dart .m, .dart .mt, .dart .tn, .dart .tv { fill: #2c3b4d; font-size: 10px; } .dart .c { text-anchor: middle; } .dart .l { text-anchor: start; } .dart .r { text-anchor: end; } .dart .dash { stroke-dasharray: 4 4; stroke: #7c8896; }
/* test report / BOM / manual */
.dhead { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 10px 6px; border-bottom: 2px solid #0b5fa5; } .dhead b { font: 600 .66rem var(--f); letter-spacing: .06em; } .dhead span { font: .54rem var(--m); color: #6b7380; }
.dart table { width: 100%; border-collapse: collapse; font: .56rem/1.25 var(--m); color: #1b2a3c; } .dart td { padding: 3.5px 10px; border-bottom: 1px solid #e3e7ec; } .dart td:last-child { text-align: right; font-weight: 600; color: #0b6b3a; }
.doc--bom td:last-child { color: #1b2a3c; } .doc--bom td:first-child { width: 14px; color: #6b7380; }
.stamp { position: absolute; right: 22px; bottom: 58px; font: 700 .9rem var(--f); font-style: normal; letter-spacing: .14em; color: #0b8a48; border: 2.5px solid #0b8a48; border-radius: 6px; padding: 3px 10px; transform: rotate(-12deg); opacity: .85; }
.dcover { height: 100%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; gap: 4px 10px; padding: 12px; background: linear-gradient(180deg, #fff 60%, #eef4fa); }
.dcover img:first-child { width: 110px; height: auto; grid-column: 1 / -1; } .dcover p { margin: 0; font: 600 .8rem/1.2 var(--f); color: #0d1724; align-self: end; } .dcover b { font: 500 .58rem var(--m); color: #0b5fa5; grid-column: 1; align-self: start; }
.dcover .dphoto { grid-column: 2; grid-row: 2 / 4; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; } .dcover span { font: .52rem var(--m); color: #6b7380; grid-column: 1; align-self: end; }
.flow-stage[data-step="docs"] .ov-docs { opacity: 1; }
.flow-stage[data-step="docs"] .doc { transform: translate(calc((var(--i) - 5) * 30px), calc((var(--i) - 5) * 6px)) rotate(calc((var(--i) - 5) * 3.2deg)); } /* top sheet (GA) flat and readable, the rest fanned behind */
.flow-stage.end .ov-docs { opacity: 0; }
.flow-finale { left: 0; right: 0; bottom: 70px; text-align: center; transform: translateY(20px); }
.flow-finale img { height: 46px; width: auto; margin: 0 auto 10px; }
.flow-finale p { font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 600; background: linear-gradient(90deg, #fff, #7fd3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.flow-stage.end .flow-finale { opacity: 1; transform: none; }
.flow-stage.end .ov-hud { opacity: 0; }
/* copy side */
.flow-copy { padding: 0 clamp(16px, 2.5vw, 40px) 0 24px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.flow-steps { display: grid; }
.fstep { grid-area: 1 / 1; display: flex; gap: 18px; opacity: 0; transform: translateY(18px); transition: opacity .2s, transform .3s var(--ease); pointer-events: none; }
.fstep.on { opacity: 1; transform: none; pointer-events: auto; transition: opacity .5s .12s var(--ease), transform .6s .12s var(--ease); }
.fnum { font: 600 4.6rem/.9 var(--f); color: transparent; -webkit-text-stroke: 1px rgba(25, 168, 255, .7); }
.fk { font: 500 .74rem/1 var(--m); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin: 8px 0 12px; }
.fstep h3 { font-size: clamp(1.6rem, 2.5vw, 2.3rem); margin-bottom: 14px; }
.fstep p:last-child { color: var(--ink-2); font-size: 1.02rem; }
.flow-dots { position: absolute; left: 24px; right: 48px; bottom: 40px; display: grid; grid-template-columns: repeat(15, 1fr); gap: 4px; }
.flow-dots button { position: relative; height: 22px; border: 0; padding: 0; background: none; cursor: pointer; }
.flow-dots i { position: absolute; left: 0; right: 0; top: 10px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .1); transition: background .3s; }
.flow-dots .done i { background: rgba(25, 168, 255, .55); }
.flow-dots .on i { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.flow-dots span { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); white-space: nowrap; font: .66rem var(--m); color: var(--ink-2); background: var(--card); padding: 4px 8px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.flow-dots button:hover span { opacity: 1; }
.no-3d .flow { height: auto; } .no-3d .flow-pin { position: static; height: auto; display: block; } .no-3d .flow-stage { display: none; }
.no-3d .flow-steps { gap: 30px; padding: 80px 0; } .no-3d .fstep { grid-area: auto; opacity: 1; transform: none; } .no-3d .flow-dots { display: none; }

/* ===== SECTIONS ===== */
.sec { padding: 120px 0; position: relative; }
.sec--tight { padding-top: 60px; }
.sec--band { background: var(--bg-2); border-block: 1px solid var(--line); }
.head { max-width: 780px; margin-bottom: 50px; }
.head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.head--row .sub { max-width: 30em; margin: 0; }
.card { padding: 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.card--glow { border-color: var(--line-2); box-shadow: var(--glow); }

/* range */
.range { display: grid; grid-template-columns: 250px 1fr; grid-template-rows: auto auto; gap: 18px; }
.range-tabs { grid-row: span 2; display: grid; gap: 4px; align-content: start; }
.rtab { display: flex; gap: 12px; align-items: baseline; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid transparent; background: none; color: var(--ink-2); font: 500 .92rem/1.3 var(--f); cursor: pointer; transition: .25s; }
.rtab span { font: .7rem var(--m); color: var(--ink-3); }
.rtab:hover { color: #fff; background: rgba(255, 255, 255, .03); }
.rtab[aria-selected="true"] { color: #fff; background: var(--card); border-color: var(--line-2); box-shadow: var(--glow); }
.rtab[aria-selected="true"] span { color: var(--accent); }
.range-view { position: relative; height: min(66vh, 620px); border-radius: 24px; overflow: hidden; background: radial-gradient(80% 70% at 50% 40%, #1b2433 0%, #0d0e13 75%); border: 1px solid var(--line); }
#viewer { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
#viewer:active { cursor: grabbing; }
.view-ctrl { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hint { font: .72rem var(--m); color: var(--ink-3); margin-left: 6px; }
.view-load { position: absolute; inset: 0; display: grid; place-items: center; font: .8rem var(--m); color: var(--ink-3); }
.range-info { padding: 26px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 18px; }
.range-info h3 { font-size: 1.9rem; margin-top: -6px; }
.cols3 { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 22px; }
.cols3 p:not(.lab) { color: var(--ink-2); font-size: .94rem; }
.specs { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.specs li { font-size: .88rem; padding-left: 16px; position: relative; }
.specs li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }
.use { padding: 16px; border-radius: 14px; background: rgba(255, 209, 102, .08); border: 1px solid rgba(255, 209, 102, .3); }
.use .lab { color: var(--amber); }
.range-info .btn { justify-self: start; }

/* schneider */
.sch-top { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; margin-bottom: 40px; }
.sch-logos { display: flex; gap: 28px; align-items: center; margin-bottom: 24px; }
.sch-logos img { height: 44px; width: auto; } .sch-logos img + img { height: 26px; opacity: .9; }
.sch-badge { width: 170px; filter: drop-shadow(0 18px 30px rgba(61, 205, 88, .35)); }
.sch-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.feat { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feat--1 { grid-template-columns: 1fr; }
.feat li { padding: 14px 16px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); }
.feat b { display: block; font-weight: 500; margin-bottom: 2px; } .feat span { font-size: .84rem; color: var(--ink-2); }
.stds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.stds span { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(61, 205, 88, .4); color: #b7f0c3; font: 500 .74rem var(--m); }
.certs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.cert { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: transform .35s var(--ease), border-color .35s; }
.cert:hover { transform: translateY(-4px); border-color: var(--se); }
.cert img { width: 150px; aspect-ratio: 1 / 1.15; object-fit: contain; background: #fff; border-radius: 10px; }
.cert b { display: block; font-weight: 500; line-height: 1.35; } .cert small { display: block; color: var(--ink-3); font-size: .78rem; margin-top: 6px; }
.cert .view { display: inline-block; margin-top: 12px; color: var(--se); font-size: .84rem; }

/* facilities */
.fac { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fcard { position: relative; border-radius: 20px; overflow: hidden; background: var(--card); border: 1px solid var(--line); min-height: 340px; display: flex; align-items: flex-end; isolation: isolate; }
.fcard video, .fcard video, .fcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.fcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 16, 21, .05) 30%, rgba(15, 16, 21, .95)); }
.fcard:hover img, .fcard:hover video { transform: scale(1.06); }
.fcard--art { background: radial-gradient(120% 90% at 80% 0%, rgba(25, 168, 255, .22), transparent 60%), linear-gradient(160deg, #1b2233, #121318); }
.fcard--art::after { display: none; }
.fart { position: absolute; right: 22px; top: 22px; width: 110px; height: 110px; fill: none; stroke: #7fd3ff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .9; filter: drop-shadow(0 0 10px rgba(25, 168, 255, .6)); }
.fcard--art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(25, 168, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(25, 168, 255, .07) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(200deg, #000, transparent 70%); z-index: -1; }
.fcard div { padding: 22px; }
.fcard span { font: .7rem var(--m); color: var(--accent); }
.fcard h3 { margin: 6px 0 6px; } .fcard p { font-size: .9rem; color: var(--ink-2); }

/* automation */
.auto { display: grid; grid-template-columns: 1.25fr 1fr; gap: 26px; align-items: start; }
.device { border-radius: 18px; overflow: hidden; background: #0b0b0f; border: 1px solid var(--line-2); box-shadow: var(--glow); position: sticky; top: 100px; }
.device-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #191a21; }
.device-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3b45; }
.device-bar span { margin-left: 8px; font: .72rem var(--m); color: var(--ink-2); }
.device-screen { position: relative; aspect-ratio: 16 / 10; background: #fff; }
.device-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.03); transition: opacity .9s var(--ease), transform 4s linear; }
.device-screen img.on { opacity: 1; transform: none; }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wcard { padding: 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.wcard:hover { border-color: var(--line-2); transform: translateY(-3px); }
.wcard span { font: .7rem var(--m); color: var(--accent); } .wcard b { display: block; margin: 6px 0; font-weight: 500; } .wcard p { font-size: .85rem; color: var(--ink-2); }
.brands { margin-top: 34px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.brands .lab { margin: 0 10px 0 0; }
.brands div { display: flex; flex-wrap: wrap; gap: 8px; }
.brands div span { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .86rem; color: var(--ink-2); }

/* services + strip */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.scard { padding: 24px; border-radius: 18px; background: linear-gradient(180deg, var(--card), #191a21); border: 1px solid var(--line); }
.scard span { font: .7rem var(--m); color: var(--accent); } .scard h3 { margin: 8px 0; font-size: 1.15rem; } .scard p { color: var(--ink-2); font-size: .9rem; }
.strip { margin-top: 70px; overflow: hidden; }
.strip-row { display: flex; gap: 14px; width: max-content; }
.strip-row img { height: 300px; width: 240px; object-fit: cover; border-radius: 16px; }

/* industries + map */
.inds { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.ind { padding: 20px 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); text-align: center; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.ind:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: var(--glow); }
.ico { display: block; width: 38px; height: 38px; margin: 0 auto 12px; color: var(--accent-2); }
.ico svg { width: 100%; height: 100%; }
.ind b { font-weight: 500; font-size: .84rem; line-height: 1.3; display: block; }
.globe { margin-top: 60px; display: grid; grid-template-columns: 0.8fr 1.6fr; gap: 30px; align-items: center; padding: 34px; border-radius: 26px; background: #0f1016; border: 1px solid var(--line); }
.globe h3 { font-size: 1.8rem; }
.countries { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.countries li { padding: 6px 12px; border-radius: 999px; background: rgba(25, 168, 255, .08); border: 1px solid rgba(25, 168, 255, .25); font-size: .82rem; }
.map svg { width: 100%; height: auto; display: block; }
.map .arc { fill: none; stroke: url(#none) var(--accent); stroke: var(--accent); stroke-width: 1.4; stroke-dasharray: 6 8; opacity: .8; animation: dash 3s linear infinite; animation-delay: var(--d); }
@keyframes dash { to { stroke-dashoffset: -28; } }
.map .pt circle { fill: var(--accent); }
.map .pt.hq circle { fill: var(--amber); }
.map .ping { fill: none !important; stroke: var(--accent); stroke-width: 1.5; animation: ping 2.4s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
.map .hq .ping { stroke: var(--amber); }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(4); opacity: 0; } }

/* about */
.about { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.founder { margin: 0; border-radius: 24px; overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.founder img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.founder figcaption { padding: 16px 18px; font-size: .86rem; color: var(--ink-3); }
.founder b { display: block; color: #fff; font-weight: 500; font-size: 1rem; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.vm > div { padding: 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.vm p:last-child { color: var(--ink-2); font-size: .92rem; }
.iso { display: inline-flex; gap: 12px; align-items: center; margin-top: 22px; padding: 12px 18px; border-radius: 14px; border: 1px solid var(--line-2); }
.iso b { color: var(--accent); } .iso span { color: var(--ink-2); font-size: .88rem; }

/* quotes */
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(330px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.quote { margin: 0; scroll-snap-align: start; padding: 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.quote p::before { content: "“"; display: block; font: 600 2.6rem/.6 var(--f); color: var(--accent); margin-bottom: 8px; }
.quote footer { margin-top: auto; font-size: .85rem; color: var(--ink-3); } .quote footer b { display: block; color: #fff; font-weight: 500; }

/* footer */
.foot { background: linear-gradient(135deg, #0083cc, #004f8a); padding: 100px 0 0; position: relative; overflow: hidden; }
.foot::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1.4px); background-size: 18px 18px; mask-image: radial-gradient(ellipse at 10% 20%, #000, transparent 60%); }
.foot-in { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: start; }
.foot-copy h2 { margin-bottom: 12px; } .foot-copy > p { color: rgba(255, 255, 255, .88); }
.form { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form input, .form select, .form textarea { font: 400 .95rem/1.4 var(--f); padding: 13px 15px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .12); color: #fff; width: 100%; }
.form input::placeholder, .form textarea::placeholder { color: rgba(255, 255, 255, .75); }
.form select option { color: #000; }
.form select, .form textarea, .form .btn, .form-note { grid-column: 1 / -1; }
.form-note { font-size: .85rem; min-height: 1.2em; }
.ccard { background: #fff; color: #121217; border-radius: 22px; padding: 30px; display: grid; gap: 22px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.ccard .lab { color: #0083cc; }
.ccard a { display: block; text-decoration: none; color: #121217; } .ccard a:hover { color: #0083cc; }
.foot-base { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 70px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .2); font-size: .8rem; color: rgba(255, 255, 255, .85); }
.foot-base img { height: 32px; width: auto; }

/* responsive */
@media (max-width: 1180px) {
  .inds { grid-template-columns: repeat(4, 1fr); }
  .range { grid-template-columns: 1fr; } .range-tabs { grid-row: auto; display: flex; overflow-x: auto; scrollbar-width: none; } .rtab { flex: none; border-color: var(--line); }
  .cols3 { grid-template-columns: 1fr 1fr; } .use { grid-column: 1 / -1; }
  .fac { grid-template-columns: 1fr 1fr; }
  .auto, .sch-grid, .globe, .foot-in { grid-template-columns: 1fr; } .device { position: static; }
  .flow-pin { grid-template-columns: 1fr; grid-template-rows: 60vh 40vh; grid-template-rows: 60svh 40svh; }
  .flow-copy { padding: 18px 20px 60px; justify-content: flex-start; }
  .flow-dots { left: 20px; right: 20px; bottom: 18px; }
  .ov-hud { top: 84px; left: 16px; width: 250px; padding: 14px; transform: scale(.88); transform-origin: top left; }
  .flow-stage[data-step="cost"] .ov-hud { width: 380px; }
  .ov-eng { top: auto; bottom: 16px; right: 16px; transform: scale(.85); transform-origin: bottom right; }
  .schem { width: 56%; } .ov-docs { transform: scale(.75); transform-origin: bottom right; }
  .fnum { font-size: 3rem; }
}
@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 76px 0 auto; flex-direction: column; gap: 0; background: rgba(15, 16, 21, .97); padding: 8px 16px 20px; transform: translateY(-120%); visibility: hidden; transition: transform .35s var(--ease); }
  .nav-links.open { transform: none; visibility: visible; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .only-m { display: block; } .nav-cta { display: none; } .burger { display: block; margin-left: auto; }
  .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .partners { grid-template-columns: 1fr; }
  .head--row { flex-direction: column; align-items: flex-start; }
  .sch-top { grid-template-columns: 1fr; } .sch-badge { width: 120px; }
  .certs, .svc, .why, .vm { grid-template-columns: 1fr; }
  .cert { grid-template-columns: 100px 1fr; } .cert img { width: 100px; }
  .about { grid-template-columns: 1fr; } .founder { max-width: 320px; }
  .sec { padding: 84px 0; }
  .hero::before { background: linear-gradient(180deg, rgba(15, 16, 21, .55) 0%, rgba(15, 16, 21, .92) 55%, var(--bg) 100%); }
}
@media (max-width: 560px) {
  .brand img { height: 32px; }
  .fac, .cols3, .feat { grid-template-columns: 1fr; }
  .inds { grid-template-columns: repeat(2, 1fr); }
  .ov-hud, .flow-stage[data-step="cost"] .ov-hud { display: none; }
  .ov-eng, .ov-docs { transform: scale(.7) !important; }
  .schem { width: 94%; } /* keeps the centring transform; the sheet scales with its width */
  .fstep h3 { font-size: 1.3rem; margin-bottom: 8px; } .fnum { font-size: 2.2rem; } .fstep { gap: 12px; } .fstep p:last-child { font-size: .92rem; line-height: 1.5; } /* clears the step dots on phones */
  .range-view { height: 420px; }
  .strip-row img { height: 220px; width: 170px; }
  .globe { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ===== engineering drawing sheets (SLD + schematic) ===== */
.sheet .paper { fill: #0a111c; stroke: rgba(25, 168, 255, .45); stroke-width: 1.2; }
.sheet .frm { fill: none; stroke: rgba(160, 205, 240, .35); stroke-width: 1; }
.sheet .tick { stroke: rgba(160, 205, 240, .35); stroke-width: 1; }
.sheet .tb { fill: rgba(25, 168, 255, .05); stroke: rgba(160, 205, 240, .6); stroke-width: 1; }
.sheet .tbl { fill: none; stroke: rgba(160, 205, 240, .45); stroke-width: 1; }
.sheet text { fill: #d6ecff; font: 500 11px "JetBrains Mono", monospace; }
.sheet .g { fill: rgba(160, 205, 240, .55); font-size: 9px; }
.sheet .k { fill: rgba(160, 205, 240, .6); font-size: 8px; letter-spacing: .12em; }
.sheet .tt { fill: #fff; font: 600 12px Poppins, sans-serif; }
.sheet .tv { fill: #fff; font-size: 10px; }
.sheet .b { fill: #fff; font: 600 11.5px Poppins, sans-serif; }
.sheet .m { fill: #8fb0cc; font-size: 10px; }
.sheet .mt { fill: #d6ecff; font-size: 9px; }
.sheet .tn { fill: #9fc4e0; font-size: 9px; }
.sheet .g2 { fill: #6f8aa3; font-size: 9px; }
.sheet .c { text-anchor: middle; } .sheet .l { text-anchor: start; } .sheet .r { text-anchor: end; }
.sheet .w { fill: none; stroke: #cfe9ff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 2.4s var(--ease); }
.sheet .bus { stroke: #19a8ff; stroke-width: 5; }
.sheet .bus2 { stroke: #19a8ff; stroke-width: 3; }
.sheet .bd { stroke: #ffd166; stroke-width: 2; }
.sheet .dash { stroke-dasharray: 4 4 !important; stroke-dashoffset: 0 !important; stroke: #8fb0cc; stroke-width: 1; opacity: 0; transition: opacity 1s 1.2s; }
.sheet text, .sheet image { opacity: 0; transition: opacity .8s .6s; }
.sld, .schem { position: absolute; left: 50%; top: 52%; width: min(92%, 980px, 128cqh); /* never taller than the stage: 1000:660 sheet at ~84% height */ height: auto; transform: translate(-50%, -50%) scale(.97); right: auto; bottom: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)); }
.flow-stage[data-step="sld"] .sld, .flow-stage[data-step="schem"] .schem { opacity: 1; transform: translate(-50%, -50%); }
.flow-stage[data-step="sld"] .sld .w, .flow-stage[data-step="schem"] .schem .w, .flow-stage[data-step="eng"] .sld .w { stroke-dashoffset: 0; }
.flow-stage[data-step="sld"] .sld text, .flow-stage[data-step="sld"] .sld image, .flow-stage[data-step="sld"] .sld .dash,
.flow-stage[data-step="schem"] .schem text, .flow-stage[data-step="schem"] .schem image, .flow-stage[data-step="schem"] .schem .dash,
.flow-stage[data-step="eng"] .sld text, .flow-stage[data-step="eng"] .sld image, .flow-stage[data-step="eng"] .sld .dash { opacity: 1; }
.flow-stage[data-step="eng"] .sld { opacity: .95; left: 72%; top: 80%; transform: translate(-50%, -50%) scale(.42); }
.flow-stage[data-step="sld"] .ov-hud, .flow-stage[data-step="schem"] .ov-hud { opacity: 0; }
.fabspec { list-style: none; padding: 0; margin: -20px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.fabspec li { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(25, 168, 255, .35); background: rgba(25, 168, 255, .07); font: 500 .8rem var(--m); color: #cfe9ff; }

/* range: photo / 3D modes */
.view-ctrl { z-index: 2; }
.view-load { z-index: 2; }

.view-load[hidden] { display: none; }

/* enquiry form fields */
.fld { display: grid; gap: 6px; }
.fld > span { font-size: .8rem; font-weight: 500; color: rgba(255, 255, 255, .9); }
.fld > span i, .req i { font-style: normal; color: #ffd166; }
.fld .err { min-height: 1.1em; font-size: .78rem; color: #ffe08a; }
.fld input[aria-invalid="true"] { border-color: #ffd166; background: rgba(255, 209, 102, .12); }
.fld .count { justify-self: end; font: .72rem var(--m); color: rgba(255, 255, 255, .7); }
.form .full { grid-column: 1 / -1; }
.req { font-size: .8rem; color: rgba(255, 255, 255, .85); margin: 0; }
.form-note a { color: #fff; }
.btn:disabled { opacity: .7; cursor: progress; }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* keep step-dot tooltips on screen at both ends */
.flow-dots button:nth-child(-n+3) span { left: 0; transform: none; }
.flow-dots button:nth-last-child(-n+3) span { left: auto; right: 0; transform: none; }
@media (hover: none) { .flow-dots span { display: none; } .flow-dots button { height: 44px; margin-top: -11px; } .flow-dots i { top: 20px; } } /* finger-sized targets */

/* dashboard carousel controls */
.dev-nav { margin-left: auto; width: 28px; height: 28px; border: 1px solid var(--line-2); border-radius: 50%; background: none; color: var(--ink-2); font: 1rem/1 var(--f); cursor: pointer; transition: color .2s, border-color .2s; }
.dev-nav + .dev-nav { margin-left: 4px; }
.dev-nav:hover, .dev-nav:focus-visible { color: #fff; border-color: var(--accent); }

/* short phones: give the step text half the screen so it never runs under the step dots */
@media (max-width: 1180px) and (max-height: 700px) {
  .flow-pin { grid-template-rows: 50vh 50vh; grid-template-rows: 50svh 50svh; }
}

/* scroll film (Runway frames): full-bleed behind the step text */
#film { display: none; }
.flow-stage.is-film #film { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.flow-stage.is-film #panel3d, .flow-stage.is-film #labels3d { display: none; }
@media (min-width: 1181px) {
  .flow-pin.has-film { grid-template-columns: 1fr; }
  .flow-pin.has-film .flow-stage { grid-area: 1 / 1; }
  .flow-pin.has-film .flow-copy { grid-area: 1 / 1; justify-self: end; align-self: center; z-index: 2; width: min(30vw, 430px); margin-right: clamp(16px, 2.5vw, 40px); padding: 30px 30px 72px; border-radius: 22px; background: rgba(11, 12, 16, .58); border: 1px solid rgba(255, 255, 255, .09); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); }
  .flow-pin.has-film .flow-dots { left: 30px; right: 30px; bottom: 26px; }
  .flow-pin.has-film .fstep h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); } .flow-pin.has-film .fnum { font-size: 3.2rem; }
  .flow-stage.is-film .sld, .flow-stage.is-film .schem { left: 42%; width: min(62%, 900px, 128cqh); }
  .flow-stage.is-film .ov-eng { right: calc(min(30vw, 430px) + 64px); }
  .flow-stage.is-film .ov-docs { right: calc(min(30vw, 430px) + 64px); }
  .flow-stage.is-film .flow-finale { right: min(30vw, 430px); }
}
@media (min-width: 1181px) { .flow-stage.is-film[data-step="eng"] .sld { left: 22%; top: 78%; } }

/* reading progress + active nav link (same pattern as the Medge site) */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 70; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, #19a8ff, #7fd3ff); transform: scaleX(0); transform-origin: left; }
.nav-links a.is-active { color: #fff; position: relative; }
.nav-links a.is-active::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
@media (max-width: 860px) { .nav-links a.is-active::after { display: none; } }
/* end-of-section call to action */
.sec-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.sec-cta p { margin: 0 auto 0 0; color: var(--ink-2); }
@media (max-width: 560px) { .sec-cta .btn { width: 100%; } }
.flow-stage.is-film[data-step="docs"] .ov-hud { opacity: 0; } /* keep the incomer lamps visible in the finale */
