


:root {
  --cinema-yellow:#ffd300;
  --cinema-white:#f0f0ed;
  --cinema-muted:#9a9ca0;
  --cinema-panel:rgba(8,9,10,.66);
  --cinema-border:rgba(255,255,255,.14);
}

.cinematic-services-page { background:#08090a; color:var(--cinema-white); }
.cinematic-services-page .header { position:fixed; inset:0 0 auto; z-index:100; }
.cinematic-services-page main { padding-top:0; }


.cinematic-hero {
  position:relative;
  min-height:100svh;
  display:grid;
  align-items:center;
  overflow:hidden;
  padding:clamp(130px,16vh,190px) clamp(24px,7vw,120px) 105px;
  background:#090b0d;
}

#hero-circuit,
.cinematic-hero__shade,
.cinematic-hero__photo { position:absolute; inset:0; width:100%; height:100%; }
.cinematic-hero__photo { object-fit:cover; object-position:center; filter:saturate(.78) contrast(1.08) brightness(.76); transform:scale(1.025); }
#hero-circuit { display:block; opacity:.5; mix-blend-mode:screen; }
.cinematic-hero__shade {
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(7,8,9,.94) 0,rgba(7,8,9,.72) 45%,rgba(7,8,9,.12) 76%),
    linear-gradient(0deg,#08090a 0,transparent 28%,transparent 75%,rgba(0,0,0,.36));
}

.cinematic-hero__content { position:relative; z-index:2; max-width:1040px; }
.cinematic-kicker { display:flex; align-items:center; gap:12px; color:var(--cinema-yellow); font:700 11px/1.2 "Courier New",monospace; letter-spacing:.16em; text-transform:uppercase; }
.cinematic-kicker i { width:34px; height:2px; background:currentColor; }
.cinematic-hero h1 { margin:28px 0 30px; font-size:clamp(3.6rem,7.2vw,8.6rem); line-height:.88; letter-spacing:-.065em; }
.cinematic-hero h1 em,.cinematic-outro h2 em { color:var(--cinema-yellow); font-family:Georgia,"Times New Roman",serif; font-weight:400; }
.cinematic-hero p { max-width:620px; margin:0; color:#b2b3b4; font-size:clamp(.95rem,1.25vw,1.18rem); line-height:1.72; }
.cinematic-scroll { position:absolute; z-index:3; left:clamp(24px,7vw,120px); bottom:34px; display:flex; align-items:center; gap:16px; color:#c7c8ca; }
.cinematic-scroll span { padding-bottom:5px; border-bottom:1px solid var(--cinema-yellow); font-weight:700; }
.cinematic-scroll b { color:#6f7275; font:700 8px "Courier New",monospace; letter-spacing:.18em; }
.cinematic-scroll i { position:relative; width:1px; height:42px; overflow:hidden; background:#34373a; }
.cinematic-scroll i::after { content:""; position:absolute; inset:-100% 0 100%; background:var(--cinema-yellow); animation:cinema-scroll 1.8s ease-in-out infinite; }
@keyframes cinema-scroll { 100% { transform:translateY(200%); } }


.cinematic-scene { --scene-progress:0; position:relative; height:340svh; background:#08090a; }
.cinematic-scene__sticky { position:sticky; top:0; height:100svh; min-height:660px; overflow:hidden; background:#0b0d0f; }
.cinematic-scene__canvas { position:absolute; inset:0; width:100%; height:100%; display:block; }
.cinematic-scene--real .cinematic-scene__canvas { z-index:1; opacity:.13; mix-blend-mode:screen; }


.technical-3d-canvas { position:absolute; inset:0; z-index:1; width:100%; height:100%; display:block; outline:0; }
.cinematic-scene--technical.webgl-ready .cinematic-scene__canvas { display:none; }
.cinematic-scene--technical:not(.webgl-ready) .technical-3d-canvas { display:none; }
.cinematic-scene--technical .cinematic-scene__sticky { background:radial-gradient(circle at 72% 48%,#22282b,#080a0b 68%); }
.cinematic-scene--technical .cinematic-scene__vignette { background:linear-gradient(90deg,rgba(5,6,7,.92),rgba(5,6,7,.5) 36%,transparent 62%),linear-gradient(180deg,rgba(0,0,0,.35),transparent 22%,transparent 78%,rgba(0,0,0,.55)); }


.cinematic-real-media { position:absolute; inset:0; z-index:0; overflow:hidden; background:#070809; }
.cinematic-real-media>img {
  position:absolute; inset:-3%; width:106%; height:106%; object-fit:cover; object-position:center;
  filter:saturate(.78) contrast(1.08) brightness(.74);
  transform:translate3d(calc(var(--scene-progress) * -2.5%),calc(var(--scene-progress) * -1.2%),0) scale(calc(1.025 + var(--scene-progress) * .065));
  transition:filter .25s linear; will-change:transform,opacity;
}
.cinematic-real-media::before {
  content:""; position:absolute; z-index:3; inset:0; pointer-events:none;
  background:linear-gradient(90deg,rgba(5,6,7,.85),rgba(5,6,7,.34) 43%,transparent 72%),linear-gradient(0deg,rgba(0,0,0,.5),transparent 28%);
}
.cinematic-real-media::after {
  content:""; position:absolute; z-index:3; left:36%; right:3%; top:calc(16% + var(--scene-progress) * 62%); height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,211,0,.72),transparent); box-shadow:0 0 18px rgba(255,211,0,.28); opacity:.48;
}


.cinematic-focus { position:absolute; z-index:4; width:clamp(90px,11vw,170px); aspect-ratio:1; border:1px solid rgba(255,211,0,.48); opacity:calc(.18 + var(--scene-progress) * .58); transform:translate(-50%,-50%); }
.cinematic-focus::before,.cinematic-focus::after { content:""; position:absolute; background:rgba(255,211,0,.62); }
.cinematic-focus::before { left:50%; top:-14px; bottom:-14px; width:1px; }
.cinematic-focus::after { top:50%; left:-14px; right:-14px; height:1px; }
.cinematic-focus--firmware { left:calc(70% + var(--scene-progress) * 12%); top:calc(35% + var(--scene-progress) * 39%); }
.cinematic-focus--pcb { left:calc(66% + var(--scene-progress) * 13%); top:calc(45% + var(--scene-progress) * 19%); }
.cinematic-focus--production { left:calc(72% + var(--scene-progress) * 9%); top:calc(42% + var(--scene-progress) * 18%); }


.production-photo--smt { opacity:clamp(0,calc(1.45 - var(--scene-progress) * 2.15),1); }
.production-photo--test { opacity:clamp(0,calc((var(--scene-progress) - .38) * 2.15),1); }
.cinematic-scene--production.cinematic-scene--real .cinematic-scene__canvas { opacity:.055; }
.cinematic-scene--production .cinematic-real-media::after { top:calc(13% + var(--scene-progress) * 66%); }
.cinematic-scene__vignette {
  position:absolute; z-index:2; inset:0; pointer-events:none;
  background:
    linear-gradient(90deg,rgba(6,7,8,.94) 0,rgba(6,7,8,.66) 31%,transparent 56%),
    linear-gradient(180deg,rgba(0,0,0,.52),transparent 22%,transparent 78%,rgba(0,0,0,.52));
}
.cinematic-scene__vignette::after { content:""; position:absolute; inset:0; box-shadow:inset 0 0 180px #000; opacity:.62; }

.cinematic-scene__title { position:absolute; z-index:3; top:clamp(108px,14vh,150px); left:clamp(24px,7vw,120px); max-width:590px; }
.cinematic-scene__title>span { color:#b1b3b5; font:700 10px "Courier New",monospace; letter-spacing:.13em; text-transform:uppercase; }
.cinematic-scene__title>span b { margin-right:12px; color:var(--cinema-yellow); }
.cinematic-scene__title h2 { margin:18px 0 0; font-size:clamp(2.8rem,5.3vw,6.8rem); line-height:.89; letter-spacing:-.06em; }

.cinematic-copy {
  position:absolute; z-index:4; left:clamp(24px,7vw,120px); bottom:clamp(65px,10vh,115px); width:min(430px,38vw);
  padding:22px 24px 23px; border-left:2px solid var(--cinema-yellow); background:linear-gradient(90deg,var(--cinema-panel),transparent);
  opacity:0; transform:translateY(24px); filter:blur(5px); pointer-events:none;
  transition:opacity .45s ease,transform .55s cubic-bezier(.2,.7,.2,1),filter .55s;
}
.cinematic-copy.is-active { opacity:1; transform:none; filter:none; }
.cinematic-copy>b { color:var(--cinema-yellow); font:700 9px "Courier New",monospace; letter-spacing:.18em; }
.cinematic-copy h3 { margin:10px 0 9px; font-size:clamp(1.18rem,1.65vw,1.75rem); line-height:1.12; }
.cinematic-copy p { margin:0; color:#a7a9ac; font-size:.83rem; line-height:1.62; }

.scene-meter { position:absolute; z-index:4; right:clamp(20px,3vw,48px); top:50%; width:2px; height:34vh; transform:translateY(-50%); background:rgba(255,255,255,.12); }
.scene-meter span { position:absolute; inset:0 0 auto; height:calc(var(--scene-progress) * 100%); background:var(--cinema-yellow); box-shadow:0 0 12px rgba(255,211,0,.36); }
.scene-meter b { position:absolute; top:-25px; left:50%; transform:translateX(-50%); color:#898b8e; font:700 9px "Courier New",monospace; }

.cinematic-outro { min-height:90svh; display:grid; align-content:center; justify-items:start; padding:130px clamp(24px,7vw,120px); background:radial-gradient(circle at 80% 45%,#23272a,transparent 28%),#090a0b; }
.cinematic-outro h2 { max-width:1120px; margin:25px 0 30px; font-size:clamp(3.4rem,7vw,8rem); line-height:.88; letter-spacing:-.065em; }
.cinematic-outro p { max-width:600px; margin:0 0 45px; color:var(--cinema-muted); }
.cinematic-outro>div { width:min(100%,840px); display:flex; justify-content:space-between; gap:32px; flex-wrap:wrap; }


@media (max-width:980px) {
  .cinematic-scene { height:300svh; }
  .cinematic-scene__vignette { background:linear-gradient(180deg,rgba(6,7,8,.88) 0,rgba(6,7,8,.18) 42%,rgba(6,7,8,.78) 100%); }
  .cinematic-scene__title { max-width:78vw; }
  .cinematic-scene__title h2 { font-size:clamp(2.7rem,8vw,5.3rem); }
  .cinematic-copy { width:min(520px,72vw); }
  .cinematic-real-media>img { object-position:64% center; }
  .cinematic-real-media::before { background:linear-gradient(180deg,rgba(5,6,7,.78),transparent 38%,rgba(5,6,7,.72)); }
  .cinematic-scene--technical .cinematic-scene__vignette { background:linear-gradient(180deg,rgba(5,6,7,.84),rgba(5,6,7,.15) 45%,rgba(5,6,7,.78)); }
}

@media (max-width:620px) {
  .cinematic-hero { padding-top:125px; }
  .cinematic-hero__shade { background:linear-gradient(180deg,rgba(7,8,9,.82),rgba(7,8,9,.36) 58%,#08090a); }
  .cinematic-hero h1 { font-size:clamp(3.2rem,15vw,5.3rem); }
  .cinematic-hero p { max-width:92%; font-size:.88rem; }
  .cinematic-scroll b { display:none; }
  .cinematic-scene { height:280svh; }
  .cinematic-scene__sticky { min-height:600px; }
  .cinematic-scene__title { top:95px; left:20px; }
  .cinematic-scene__title h2 { font-size:clamp(2.55rem,12vw,4rem); }
  .cinematic-copy { left:20px; right:38px; bottom:34px; width:auto; padding:17px 18px; background:rgba(7,8,9,.82); backdrop-filter:blur(8px); }
  .cinematic-copy p { font-size:.74rem; }
  .scene-meter { right:18px; height:26vh; }
  .cinematic-real-media>img { inset:-2% -30%; width:132%; height:104%; object-position:70% center; filter:saturate(.72) contrast(1.08) brightness(.64); }
  .cinematic-focus { width:82px; }
}


.cinematic-scene--technical .technical-3d-canvas { inset:0 0 0 auto; width:66%; height:100%; }
.cinematic-scene--technical .cinematic-scene__title { max-width:33%; left:5vw; }
.cinematic-scene--technical .cinematic-scene__title h2 { font-size:clamp(2.5rem,4.2vw,5.2rem); line-height:.98; }
.cinematic-scene--technical .cinematic-copy { left:5vw; width:29%; padding-left:18px; background:transparent; }
.cinematic-scene--technical .cinematic-scene__vignette { background:linear-gradient(90deg,#08090a 32%,transparent 43%); }
.cinematic-scene--technical .cinematic-scene__vignette::after { display:none; }

.cad-status { display:none; }
[data-cad-error] .cad-status { display:block; position:absolute; z-index:5; left:42%; right:6%; bottom:30px; color:#d1d4d5; font:12px/1.5 'Courier New',monospace; }
.cad-toolbar { position:absolute; z-index:5; left:40%; right:6%; bottom:30px; display:flex; gap:10px; flex-wrap:wrap; align-items:center; color:#a7afb4; font:10px/1.5 'Courier New',monospace; letter-spacing:.07em; }
.cad-toolbar label,.cad-toolbar>span { color:#c5cbd0; font-weight:700; }
.cad-toolbar select { max-width:100%; color:#e3e6e7; background:#172024; padding:8px 12px; border:1px solid #4d565b; border-radius:2px; font:inherit; }
.cad-toolbar select:focus-visible { outline:2px solid var(--cinema-yellow); outline-offset:3px; }
.cad-status { width:100%; font:10px/1.5 'Courier New',monospace; color:#8b969c; letter-spacing:0; }
@media(max-width:980px){
  .cinematic-scene--technical .technical-3d-canvas { inset:24% 0 auto; width:100%; height:49%; }
  .cinematic-scene--technical .cinematic-scene__title { top:78px; left:24px; max-width:90%; }
  .cinematic-scene--technical .cinematic-scene__title h2 { font-size:clamp(2rem,5vw,3.4rem); margin-top:10px; }
  .cinematic-scene--technical .cinematic-scene__title h2 br { display:none; }
  .cinematic-scene--technical .cinematic-copy { left:24px; width:calc(100% - 65px); bottom:66px; padding:8px 0 8px 14px; }
  .cinematic-scene--technical .cinematic-copy h3 { font-size:1.1rem; }
  .cinematic-scene--technical .cinematic-copy p { font-size:.76rem; }
  .cinematic-scene--technical .cinematic-scene__vignette { background:none; }
  .cad-toolbar { left:24px; right:30px; bottom:10px; gap:4px 10px; font-size:8px; }
  .cad-toolbar select { padding:4px 8px; }
  .cad-status { font-size:8px; }
}
@media (prefers-reduced-motion:reduce) {
  .cinematic-scroll i::after { animation:none; }
  .cinematic-scene { height:auto; min-height:100svh; }
  .cinematic-scene__sticky { position:relative; min-height:100svh; }
  .cinematic-copy { display:none; }
  .cinematic-copy:last-of-type { display:block; opacity:1; transform:none; filter:none; }
}


.cinematic-copy { visibility:hidden; }
.cinematic-copy.is-active { visibility:visible; }
.firmware-ide { position:absolute; z-index:3; left:41%; right:7%; top:100px; height:270px; overflow:hidden; border:1px solid #3c454a; border-radius:8px; background:#131b20; box-shadow:0 18px 60px #0006; font:12px/1.5 'Courier New',monospace; color:#bfccc9; }
.firmware-ide__bar { display:flex; justify-content:space-between; padding:10px 16px; color:#89969c; border-bottom:1px solid #354149; font-size:10px; }
.firmware-ide pre { margin:10px 16px; height:174px; overflow:hidden; white-space:pre; font:inherit; color:#c9c5a5; }
.firmware-ide__log { border-top:1px solid #354149; padding:7px 16px; color:#91b797; font-size:10px; white-space:pre-line; }
.cinematic-scene--firmware .technical-3d-canvas { top:35%; height:65%; }
.cinematic-hero__photo { filter:saturate(.85) brightness(.78); }

@media(max-width:980px) {
  .cinematic-scene__sticky { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto minmax(0,1fr) auto auto; gap:12px; height:100svh; min-height:0; padding:92px 20px 14px; box-sizing:border-box; }
  .cinematic-scene .cinematic-scene__title { position:relative; top:auto; left:auto; max-width:none; grid-column:1; grid-row:1; }
  .cinematic-scene .cinematic-scene__title h2 { font-size:clamp(1.7rem,5.5vw,2.6rem); line-height:1.03; margin:9px 0 0; overflow-wrap:break-word; }
  .cinematic-scene__title h2 br { display:none; }
  .cinematic-scene__title>span { font-size:9px; line-height:1.5; }
  .cinematic-scene .technical-3d-canvas,.cinematic-scene .cinematic-scene__canvas { position:relative; inset:auto; grid-column:1; grid-row:2; width:100%; height:100%; min-height:0; align-self:stretch; }
  .cinematic-scene .cinematic-copy { position:relative; inset:auto; grid-column:1; grid-row:3; width:100%; min-width:0; box-sizing:border-box; margin:0; padding:6px 0 6px 13px; background:none; backdrop-filter:none; transform:none; }
  .cinematic-scene .cinematic-copy h3 { font-size:1.08rem; line-height:1.2; }
  .cinematic-scene .cinematic-copy p { font-size:.79rem; line-height:1.5; overflow-wrap:break-word; }
  .cinematic-scene .cinematic-scene__vignette,.scene-meter { display:none; }
  .cad-toolbar { position:relative; inset:auto; grid-column:1; grid-row:4; margin:0; gap:2px; font-size:7px; }
  .cad-toolbar>span { display:none; }
  .cad-status { font-size:8px; }
  .firmware-ide { position:relative; inset:auto; grid-column:1; grid-row:2; align-self:start; width:100%; height:43%; min-height:100px; box-sizing:border-box; font-size:9px; border-radius:5px; }
  .firmware-ide__bar { padding:5px 10px; font-size:8px; }
  .firmware-ide pre { height:calc(100% - 60px); margin:4px 10px; font-size:8px; line-height:1.1; }
  .firmware-ide__log { padding:4px 10px; font-size:8px; }
  .cinematic-scene--firmware .technical-3d-canvas { align-self:end; height:58%; }
}


@media(max-width:620px) and (max-height:720px) {
  .cinematic-scene__sticky { padding-top:86px; gap:8px; }
  .cinematic-scene .cinematic-scene__title h2 { font-size:1.55rem; }
  .cinematic-scene .cinematic-copy h3 { font-size:.98rem; margin:6px 0; }
  .cinematic-scene .cinematic-copy p { font-size:.74rem; }
}

@media(prefers-reduced-motion:reduce) {
  .cinematic-scene { height:auto; }
  .cinematic-scene__sticky { display:flex; flex-direction:column; position:relative; height:auto; min-height:0; padding:90px 24px 40px; overflow:visible; gap:22px; }
  .cinematic-scene .cinematic-scene__title,.cinematic-scene .cinematic-copy,.cad-toolbar,.firmware-ide { position:relative; inset:auto; width:100%; max-width:750px; }
  .cinematic-scene .cinematic-scene__title { order:0; }
  .cinematic-scene .technical-3d-canvas,.cinematic-scene .cinematic-scene__canvas { position:relative; inset:auto; width:100%; height:340px; order:2; }
  .firmware-ide { height:260px; order:1; }
  .cinematic-scene .cinematic-copy { order:3; display:block; opacity:1; visibility:visible; transform:none; filter:none; }
  .cad-toolbar { order:4; }
  .cinematic-scene__vignette,.scene-meter { display:none; }
}


.cinematic-scene--code-only .cinematic-scene__canvas { display:none; }
.cinematic-scene--code-only .cinematic-scene__title { left:5vw; max-width:30%; }
.cinematic-scene--code-only .cinematic-scene__title h2 { font-size:clamp(2.5rem,4.2vw,5.2rem); line-height:.98; }
.cinematic-scene--code-only .cinematic-copy { left:5vw; width:28%; background:none; }
.cinematic-scene--code-only .cinematic-scene__vignette { display:none; }
.cinematic-scene--code-only .firmware-ide { left:38%; right:5%; top:18%; height:64%; display:flex; flex-direction:column; background:#1e1e1e; border:9px solid #292d30; border-bottom-width:22px; box-shadow:0 30px 90px #0009; transform:perspective(1600px) rotateY(calc(-5deg + var(--scene-progress) * 5deg)); }
.firmware-ide__bar { flex:none; background:#323233; color:#bfbfbf; border-bottom-color:#454545; }
.firmware-ide__workspace { display:flex; flex:1; min-height:0; }
.firmware-ide__explorer { width:145px; flex:none; padding:17px 0; background:#252526; display:flex; flex-direction:column; gap:10px; color:#aaa; font-size:10px; }
.firmware-ide__explorer>b,.firmware-ide__explorer>span { padding:0 12px; }
.firmware-ide__explorer .selected { color:#ddd; background:#37373d; padding-block:5px; }
.firmware-ide__editor { display:flex; flex:1; min-width:0; flex-direction:column; }
.firmware-ide__tab { color:#ddd; background:#2d2d2d; border-top:1px solid #d0b257; padding:8px 14px; width:145px; }
.firmware-ide__tab span { float:right; color:#8d8d8d; }
.firmware-ide__code-scroll { display:flex; flex:1; min-height:0; overflow:auto; padding:14px 12px 24px 0; scrollbar-width:thin; scrollbar-color:#424242 #1e1e1e; }
.cinematic-scene--code-only .firmware-ide pre { margin:0; height:auto; flex:none; overflow:visible; font:12px/1.7 'Courier New',monospace; color:#d4d4d4; }
.cinematic-scene--code-only pre.firmware-ide__numbers { padding:0 12px; color:#707070; text-align:right; user-select:none; }
.code-comment { color:#77995e; }.code-keyword { color:#78b8d8; }.code-string { color:#cf9e85; }.code-function { color:#d3c899; }
.firmware-ide__terminal { flex:none; padding:10px 14px; border-top:1px solid #414141; background:#1e1e1e; }
.firmware-ide__terminal>b { font-size:8px; color:#a0a0a0; letter-spacing:.06em; }
.firmware-ide__terminal .firmware-ide__log { min-height:38px; padding:7px 0 0; border:0; font-size:10px; }
.firmware-ide__status { flex:none; display:flex; justify-content:space-between; padding:4px 12px; background:#333b40; color:#b8c1c5; font-size:9px; }
@media(max-width:980px){
  .cinematic-scene--code-only .cinematic-scene__title { left:auto; max-width:none; }
  .cinematic-scene--code-only .cinematic-scene__title h2 { font-size:clamp(1.7rem,5.5vw,2.6rem); }
  .cinematic-scene--code-only .cinematic-copy { left:auto; width:100%; }
  .cinematic-scene--code-only .firmware-ide { inset:auto; height:100%; min-height:0; width:100%; align-self:stretch; transform:none; border-width:4px; border-bottom-width:10px; }
  .firmware-ide__explorer { width:105px; font-size:8px; }
  .firmware-ide__bar { padding:8px; font-size:8px; }
  .cinematic-scene--code-only .firmware-ide pre { font-size:10px; line-height:1.55; }
}
@media(max-width:620px){
  .firmware-ide__explorer { display:none; }
  .firmware-ide__bar span:last-child { display:none; }
  .firmware-ide__terminal { padding:6px 8px; }
  .firmware-ide__terminal .firmware-ide__log { font-size:8px; min-height:30px; }
  .firmware-ide__status { font-size:8px; }
}
@media(prefers-reduced-motion:reduce){
  .cinematic-scene--code-only .firmware-ide { position:relative; inset:auto; width:100%; height:450px; transform:none; }
  .cinematic-scene--code-only .cinematic-scene__title,.cinematic-scene--code-only .cinematic-copy { left:auto; max-width:750px; width:100%; }
}


.firmware-workstation { position:absolute; left:35%; right:1%; top:13%; bottom:8%; display:flex; align-items:center; justify-content:center; }
.firmware-photo-scene { position:relative; width:100%; aspect-ratio:3/2; container-type:inline-size; }
.firmware-photo-scene>img { display:block; width:100%; height:auto; }
.cinematic-scene--code-only .firmware-ide { position:absolute; left:16.86%; top:13.6%; width:67.06%; height:53.8%; right:auto; min-height:0; border:0; border-radius:0; box-shadow:none; transform:none; font-size:1.15cqw; }
.firmware-photo-scene .firmware-ide__bar { padding:.6cqw 1cqw; font-size:.85cqw; }
.firmware-photo-scene .firmware-ide__explorer { width:12cqw; font-size:.95cqw; gap:.8cqw; padding:1cqw 0; }
.firmware-photo-scene .firmware-ide__explorer>b,.firmware-photo-scene .firmware-ide__explorer>span { padding:0 .8cqw; }
.firmware-photo-scene .firmware-ide__tab { font-size:1cqw; padding:.6cqw 1cqw; width:13cqw; }
.firmware-photo-scene .firmware-ide__code-scroll { padding:.8cqw .8cqw 1.5cqw 0; }
.cinematic-scene--code-only .firmware-photo-scene .firmware-ide pre { font-size:1.15cqw; line-height:1.6; }
.cinematic-scene--code-only .firmware-photo-scene pre.firmware-ide__numbers { padding:0 1cqw; }
.firmware-photo-scene .firmware-ide__terminal { padding:.4cqw 1cqw; }
.firmware-photo-scene .firmware-ide__terminal>b { font-size:.7cqw; }
.firmware-photo-scene .firmware-ide__terminal .firmware-ide__log { font-size:.85cqw; padding:.4cqw 0 0; min-height:2.3cqw; }
.firmware-photo-scene .firmware-ide__status { font-size:.8cqw; padding:.25cqw 1cqw; }


@media(min-width:981px){
  .cinematic-scene--production .technical-3d-canvas { left:37%; top:12%; width:63%; height:78%; }
  .cinematic-scene--production .cinematic-scene__vignette { display:none; }
  .cinematic-scene--production .cinematic-scene__title { left:5vw; max-width:30%; }
  .cinematic-scene--production .cinematic-scene__title h2 { font-size:clamp(2.5rem,4.2vw,5.2rem); }
  .cinematic-scene--production .cinematic-copy { left:5vw; width:28%; background:none; }
  .cinematic-scene--production .cinematic-scene__sticky { background:#101416; }
}
@media(max-width:980px){
  .firmware-workstation { position:relative; inset:auto; grid-column:1; grid-row:2; width:100%; height:100%; min-height:0; overflow:hidden; container-type:size; }
  .firmware-photo-scene { width:min(100cqw,150cqh); flex:none; }
}
@media(max-width:620px){
  .cinematic-scene--code-only .firmware-photo-scene .firmware-ide pre { font-size:1.65cqw; }
  .firmware-photo-scene .firmware-ide__tab { font-size:1.4cqw; }
}
@media(prefers-reduced-motion:reduce){
  .firmware-workstation { position:relative; inset:auto; width:100%; max-width:1000px; height:auto; order:1; container-type:normal; }
  .firmware-photo-scene { width:100%; }
  .cinematic-scene--production .technical-3d-canvas { position:relative; inset:auto; width:100%; height:340px; }
  .cinematic-scene--production .cinematic-scene__title,.cinematic-scene--production .cinematic-copy { left:auto; width:100%; max-width:750px; }
}


.cinematic-scene--interface .cinematic-scene__canvas,.cinematic-scene--interface .cinematic-scene__vignette { display:none; }
.cinematic-scene--interface .cinematic-scene__title { left:5vw; max-width:30%; }
.cinematic-scene--interface .cinematic-scene__title h2 { font-size:clamp(2.5rem,4.2vw,5.2rem); }
.cinematic-scene--interface .cinematic-copy { left:5vw; width:28%; background:none; }
.service-visual { position:absolute; left:39%; right:5%; top:18%; height:66%; container-type:inline-size; color:#d7dadd; }
.work-document,.device-app { border:1px solid #3a4044; border-radius:8px; background:#171c20; box-shadow:0 24px 70px #0005; }
.work-document { position:absolute; inset:0; padding:3cqw; opacity:0; visibility:hidden; transform:translateY(15px); transition:opacity .35s,transform .45s; overflow:auto; }
.service-visual:not([data-stage]) [data-visual-step="0"],.service-visual[data-stage="0"] [data-visual-step="0"],.service-visual[data-stage="1"] [data-visual-step="1"],.service-visual[data-stage="2"] [data-visual-step="2"] { opacity:1; visibility:visible; transform:none; }
.work-document__bar { display:flex; justify-content:space-between; align-items:center; gap:12px; padding-bottom:2cqw; border-bottom:1px solid #3b4145; font:700 clamp(8px,1.25cqw,12px)/1.4 'Courier New',monospace; letter-spacing:.08em; color:#c6cbd0; }
.work-document__bar small { font-size:.9em; font-weight:400; color:#879198; letter-spacing:0; }
.service-visual h3 { font-family:inherit; font-weight:600; font-size:clamp(17px,3.6cqw,35px); line-height:1.12; letter-spacing:-.035em; margin:3cqw 0; color:#f0f0ed; }
.service-visual p { color:#aab2b7; font-size:clamp(10px,1.85cqw,17px); line-height:1.5; margin:1.3cqw 0; }
.person-label,.solution-route>span,.solution-options small,.datasheet-heading small,.app-panel>small { color:#ffd300; font:700 clamp(8px,1.3cqw,12px)/1.4 'Courier New',monospace; letter-spacing:.06em; }
.brief-conversation { padding:3cqw 1cqw 2cqw; }
.brief-conversation p { font-size:clamp(13px,2.5cqw,23px); line-height:1.35; color:#d3d8dc; max-width:90%; margin:1cqw 0 2.6cqw; }
.brief-conversation .person-label:nth-of-type(2) { margin-left:8cqw; color:#a8b1b8; }
.brief-conversation p:last-child { margin-left:8cqw; }
.brief-notes { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:2cqw; margin-top:2cqw; }
.brief-notes>span { border-top:1px solid #62686c; padding-top:1.8cqw; color:#ffd300; font:12px 'Courier New',monospace; }
.brief-notes b,.brief-notes small { display:block; margin-top:1cqw; font-family:inherit; color:#d2d6da; font-size:clamp(9px,1.7cqw,16px); line-height:1.35; }
.brief-notes small { color:#8f999f; font-size:clamp(8px,1.4cqw,13px); }
[data-reveal-at] { opacity:.15; transform:translateY(8px); transition:opacity .3s,transform .3s; }
[data-reveal-at].is-revealed { opacity:1; transform:none; }
.solution-route { padding:1.8cqw; border-left:2px solid #6c757b; background:#20272c; }
.solution-route strong { display:block; font-size:clamp(12px,2.1cqw,20px); margin-top:1cqw; }
.solution-options { display:grid; grid-template-columns:1fr 1fr; gap:3cqw; margin-top:3cqw; }
.solution-options>div { border-bottom:1px solid #424a50; padding-bottom:2cqw; }
.solution-options b { display:block; font-size:clamp(12px,2.1cqw,20px); margin-top:1cqw; }
.decision-note { border-left:2px solid #777f85; padding-left:2cqw; }
.datasheet-heading { display:flex; align-items:center; gap:3cqw; margin-top:3cqw; }
.chip-outline { display:grid; place-items:center; flex:none; width:9cqw; height:9cqw; color:#aeb8bf; border:3px double #707b82; outline:1px dashed #4d585f; outline-offset:4px; font:700 2cqw 'Courier New',monospace; }
.datasheet-heading h3 { margin:1cqw 0 2cqw; }
.datasheet-checks>div { padding:2cqw 0; border-top:1px solid #39434b; }
.datasheet-checks b,.datasheet-checks span { display:block; font-size:clamp(11px,2cqw,19px); }
.datasheet-checks span { margin-top:.5cqw; color:#97a3ac; font-size:clamp(9px,1.6cqw,15px); }
.device-app { display:flex; flex-direction:column; padding:2.5cqw; }
.device-app__nav { display:flex; gap:3cqw; padding:1.8cqw 0; font-size:clamp(9px,1.6cqw,15px); border-bottom:1px solid #3a434b; color:#8f9ba5; }
.device-app__nav .is-current { color:#ffd300; text-decoration:underline; text-underline-offset:7px; }
.device-app__connection { display:flex; gap:1cqw; align-items:center; font-size:clamp(9px,1.5cqw,14px); padding:1.7cqw 0; }
.device-app__connection small { margin-left:auto; color:#84919a; font:clamp(7px,1.1cqw,10px) 'Courier New',monospace; }
.connection-light { width:6px; height:6px; border-radius:50%; background:#777; }
.is-connected .connection-light { background:#88a48f; }
.app-panel { position:absolute; left:2.5cqw; right:2.5cqw; top:23%; bottom:9%; opacity:0; visibility:hidden; transform:translateY(12px); transition:opacity .3s,transform .4s; overflow:auto; }
.device-found { display:flex; align-items:center; gap:3cqw; padding:2.5cqw; margin:3cqw 0; background:#21292f; border:1px solid #4a575f; }
.device-found b { font-size:clamp(12px,2.2cqw,20px); }
.device-found small { color:#90ac98; font-size:clamp(9px,1.5cqw,14px); }
.app-event { padding:1.5cqw 0; color:#afc2b5; font:clamp(9px,1.65cqw,15px)/1.4 'Courier New',monospace; }
.parameter-row { display:flex; justify-content:space-between; gap:10px; padding:1.8cqw 0; border-bottom:1px solid #39444c; font-size:clamp(11px,2cqw,18px); }
.parameter-row span { color:#a6b0b8; }.parameter-row strong { color:#dce2e6; font-family:'Courier New',monospace; }
.parameter-scale { height:3px; background:#313e47; margin:2cqw 0; }.parameter-scale>span { display:block; height:100%; background:#afbec8; width:62.5%; }
.metric-line { display:flex; align-items:center; justify-content:space-between; }.metric-line h3 { font-size:clamp(17px,3cqw,28px); }
.metric-line>strong { font:clamp(20px,5cqw,46px)/1.2 'Courier New',monospace; color:#e0e5e7; }.metric-line small { font-size:.4em; }
.temperature-chart { max-width:100%; }.temperature-chart svg { display:block; width:100%; max-height:25cqw; }
.chart-grid { stroke:#35424c; fill:none; stroke-width:1; }.chart-labels { fill:#8d9ca7; font:11px 'Courier New',monospace; }
.chart-signal { stroke:#adbfc7; stroke-width:2.5; fill:none; }
.diagnostic-log { display:flex; flex-direction:column; gap:1cqw; padding-top:1.5cqw; color:#9dafb9; font:clamp(9px,1.5cqw,14px)/1.4 'Courier New',monospace; }
.device-app__footer { margin-top:auto; display:flex; justify-content:space-between; border-top:1px solid #39434a; padding-top:1cqw; color:#84939e; font:clamp(8px,1.2cqw,11px) 'Courier New',monospace; }
@media(max-width:980px){
  .cinematic-scene--interface .cinematic-scene__title { left:auto; max-width:none; }
  .cinematic-scene--interface .cinematic-scene__title h2 { font-size:clamp(1.7rem,5.5vw,2.6rem); }
  .cinematic-scene--interface .cinematic-copy { left:auto; width:100%; }
  .service-visual { position:relative; inset:auto; grid-column:1; grid-row:2; width:100%; height:100%; min-height:0; }
  .device-app { box-sizing:border-box; }
}
@media(max-width:620px) and (max-height:720px){
  .service-visual h3 { margin:1.5cqw 0; }
  .brief-conversation { padding:1.5cqw 0 0; }
  .brief-conversation p { font-size:12px; margin:1cqw 0 1.5cqw; }
  .brief-notes { gap:1cqw; margin-top:1cqw; }
  .datasheet-checks>div { padding:1.5cqw 0; }
  .work-document__bar small { display:none; }
  .device-app__connection { padding:1cqw 0; }
  .app-panel { top:25%; bottom:11%; }
  .device-found { margin:1.5cqw 0; padding:1.5cqw; }
  .temperature-chart svg { max-height:20cqw; }
}
@media(prefers-reduced-motion:reduce){
  .cinematic-scene--interface .cinematic-scene__title,.cinematic-scene--interface .cinematic-copy { left:auto; max-width:750px; width:100%; }
  .service-visual { position:relative; inset:auto; width:100%; max-width:850px; height:auto; order:2; }
  .work-document,.app-panel { position:relative; inset:auto; opacity:1!important; visibility:visible!important; transform:none!important; margin:0 0 18px; overflow:visible; }
  [data-reveal-at] { opacity:1; transform:none; transition:none; }
  .device-app__footer { margin-top:18px; }
}


#firmware { height:440svh; }
.software-anchor { position:absolute; top:0; }
.firmware-workstation { overflow:hidden; }
.firmware-photo-scene { transform:scale(var(--desk-zoom,1.25)); transform-origin:15% 25%; }
.monitor-display { position:absolute; left:5.73%; top:8.4%; width:68.1%; height:55%; overflow:hidden; background:radial-gradient(ellipse at 70% 30%,#314047,#141b20 70%); }
.cinematic-scene--code-only .monitor-display .firmware-ide { inset:0 0 5%; width:100%; height:95%; border:0; transform-origin:25% 100%; transform:translateY(calc(var(--code-minimize,0) * 5%)) scale(calc(1 - var(--code-minimize,0) * .96)); opacity:calc(1 - var(--code-minimize,0)); pointer-events:none; }
.desktop-taskbar { position:absolute; bottom:0; height:5%; left:0; right:0; display:flex; align-items:center; justify-content:center; gap:1.2cqw; background:#12181dde; color:#b9c3c8; font:.7cqw 'Courier New',monospace; }
.task-icon { padding:.1cqw .4cqw; border-bottom:1px solid #596a77; }
.task-icon--code { color:#9ec5df; }.task-icon--android { color:#a8c4ad; }
.desktop-taskbar small { position:absolute; right:.8cqw; font-size:.6cqw; }
.android-ide { position:absolute; inset:0 0 5%; display:flex; flex-direction:column; background:#202225; color:#bcc0c5; font:1cqw/1.6 'Courier New',monospace; opacity:var(--android-open,0); transform:translateY(calc((1 - var(--android-open,0)) * 12%)) scale(calc(.92 + var(--android-open,0) * .08)); transform-origin:50% 100%; pointer-events:none; }
.android-ide__bar { display:flex; justify-content:space-between; padding:.8cqw 1cqw; background:#303236; font-size:.85cqw; }
.android-ide__body { display:flex; flex:1; min-height:0; }
.android-ide__body>aside { padding:1cqw .6cqw; width:10cqw; flex:none; background:#292b2f; font-size:.8cqw; overflow:hidden; white-space:nowrap; }
.android-ide__editor { flex:1; min-width:0; overflow:hidden; }
.android-ide__editor>div { padding:.6cqw; background:#292b2f; border-bottom:1px solid #46565a; font-size:.85cqw; }
.android-ide__editor pre { margin:1cqw; font:.87cqw/1.7 'Courier New',monospace; color:#b6c3cd; white-space:pre; }
.android-ide__preview { display:flex; align-items:center; flex-direction:column; width:20cqw; flex:none; background:#161a1e; padding:.8cqw; gap:.6cqw; }
.android-ide__preview>small { font-size:.7cqw; color:#919da6; }
.android-ide__footer { padding:.4cqw 1cqw; font-size:.7cqw; color:#9cb6a4; border-top:1px solid #3a4349; }
.app-preview { height:90%; aspect-ratio:1/2; max-width:100%; border:2px solid #465159; border-radius:1.2cqw; overflow:hidden; }
.phone-display { position:absolute; left:80.6%; top:40.65%; width:10.3%; height:31.65%; overflow:hidden; border-radius:1.15cqw; background:#101820; opacity:var(--phone-on,0); }
.phone-display>[data-app-display],.app-preview { container-type:inline-size; }
.phone-display>[data-app-display] { height:100%; }
.shared-device-app { height:100%; box-sizing:border-box; display:flex; flex-direction:column; gap:2cqw; padding:6cqw 7cqw; background:#10202b; color:#e7eef1; font:6cqw/1.5 'Courier New',monospace; }
.shared-device-app__top { display:flex; justify-content:space-between; font-size:4cqw; color:#a6c2d0; }
.shared-device-app h4 { font-family:inherit; font-size:8cqw; line-height:1.2; letter-spacing:-.04em; margin:2cqw 0 0; color:#f0f4f6; }
.shared-device-app p { margin:0; font-size:4.5cqw; color:#99b9a7; }
.app-reading { padding:6cqw 0 0; }.app-reading small { font-size:5cqw; color:#8fa8b6; }
.app-reading strong { display:block; font-size:23cqw; font-weight:400; line-height:1.2; }.app-reading i { font-style:normal; font-size:8cqw; color:#9fb6c2; }
.shared-device-app svg { width:100%; height:auto; flex:none; }
.app-chart-grid { stroke:#294351; stroke-width:1; fill:none; }
[data-shared-chart] { stroke:#7dafc5; stroke-width:2.5; fill:none; }
.app-setting { display:flex; justify-content:space-between; padding:3cqw 0; border-bottom:1px solid #29404c; font-size:5.5cqw; }
.app-setting b { font-weight:400; color:#d6e2e8; }.app-sync-state { color:#9fbeab; font-size:4.2cqw; }
.app-demo-label { margin-top:auto; font-size:3.8cqw; color:#8099a7; }


.engineering-desk { left:36%; right:0; top:11%; height:80%; overflow:hidden; }
.engineering-photo { width:100%; height:100%; object-fit:cover; object-position:50% 50%; transform:scale(calc(1.03 + var(--scene-progress) * .12)) translateX(calc(var(--scene-progress) * -3%)); filter:saturate(.7) brightness(.76); }


.engineering-tabletop { display:block; overflow:hidden; }
.notebook-circuit text { font:14px 'Courier New',monospace; letter-spacing:0; }
.notebook-circuit [data-ink] { stroke-dasharray:1; stroke-dashoffset:1; }
.notebook-circuit [data-ink-label] { opacity:0; }
@media (prefers-reduced-motion:reduce) {
  .notebook-circuit [data-ink] { stroke-dashoffset:0; }
  .notebook-circuit [data-ink-label] { opacity:1; }
}
.engineering-desk::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,#0b0d0fe8,transparent 62%),linear-gradient(90deg,#0b0d0f80,transparent 30%); pointer-events:none; }
.engineering-desk .work-document { z-index:1; inset:auto 5% 7% 5%; padding:0; border:0; border-radius:0; box-shadow:none; background:none; overflow:visible; }
.engineering-desk .work-document h3 { font-size:clamp(20px,4.6cqw,48px); margin:1.5cqw 0; line-height:1.12; }
.engineering-desk .work-document p { color:#b5bec4; }
.engineering-photo-credit { position:absolute; z-index:2; top:16px; right:18px; color:#c9caca; font:9px 'Courier New',monospace; }
@media(max-width:980px){
  .engineering-desk { position:relative; inset:auto; height:100%; width:100%; }
  .engineering-desk .work-document { bottom:5%; }
  .engineering-photo-credit { font-size:7px; top:8px; right:8px; }
  .firmware-photo-scene { width:min(100cqw,150cqh); }
  .cinematic-scene--code-only .monitor-display .firmware-ide pre { font-size:1.2cqw; }
  .monitor-display .firmware-ide__explorer { display:none; }
  .monitor-display .firmware-ide__bar { font-size:1cqw; }
  .android-ide__body>aside { display:none; }
  .android-ide__editor pre { font-size:1.2cqw; }
}
@media(prefers-reduced-motion:reduce){
  #firmware { height:auto; }
  .firmware-photo-scene { transform:none; }
  .engineering-desk { height:auto; min-height:350px; }
  .engineering-photo { height:350px; transform:none; }
  .engineering-desk .work-document { position:relative; inset:auto; padding:18px; }
  .engineering-desk::after { display:none; }
  .engineering-desk .work-document h3 { font-size:26px; }
}
