@scope (.hero) {
:root{--paper:#f3f2eb;--ink:#243b30;--muted:#697368;--line:#233c3026;--green:#365a3b;--accent:#dce9a8}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit}button{font:inherit}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #a0803b;outline-offset:5px}header{display:flex;align-items:center;justify-content:space-between;padding:25px 4.5%;border-bottom:1px solid var(--line);position:relative;z-index:5;background:#f3f2ebed}.brand{font-size:26px;font-weight:700;letter-spacing:-1.3px;text-decoration:none;display:flex;align-items:center;gap:13px}.brand-mark{font-size:38px;line-height:1;position:relative;width:36px}.brand-mark i{font-size:18px;position:absolute;right:0;bottom:-1px;color:#71904f}.brand-note{border-left:1px solid var(--line);padding:8px 0 8px 18px;margin-left:10px;font:8px monospace;letter-spacing:1px;max-width:90px;line-height:1.6}nav{display:flex;gap:30px;align-items:center}nav a{font-size:12px;text-decoration:none}.nav-contact{border:1px solid #243b3055;border-radius:4px;padding:13px 17px}.nav-contact span{margin-left:25px}.hero{padding:32px 4.5% 0;position:relative;isolation:isolate;overflow:hidden}.hero-top,.hero-bottom{display:flex;justify-content:space-between;align-items:center}.eyebrow,.location{font:10px monospace;letter-spacing:1.5px}.eyebrow{display:inline-flex;align-items:center;gap:12px}.hero-top .eyebrow:before{content:"";width:5px;height:5px;background:#698649;border-radius:50%}.location{color:var(--muted);font-size:9px}.hero-layout{display:grid;grid-template-columns:.83fr 1.17fr;gap:4%;align-items:center;min-height:650px;padding:50px 0 70px}.hero-copy{position:relative;z-index:1}h1{font-size:clamp(74px,8.5vw,132px);font-weight:400;line-height:.88;letter-spacing:-.075em;margin:0 0 24px}h1 em{font-family:Georgia,serif;color:#5b7047;font-weight:400}.answer{font-size:21px;letter-spacing:-.7px;margin:0 0 30px}.lead{font-size:15px;line-height:1.8;max-width:36ch;color:#667164;margin-bottom:27px}.button{display:inline-flex;align-items:center;gap:25px;padding:9px 9px 9px 21px;background:var(--ink);color:#f1f3e7;font-size:12px;text-decoration:none;border-radius:4px;min-height:48px;transition:background .2s,transform .2s}.button span{display:grid;place-items:center;width:31px;height:31px;background:var(--accent);color:var(--ink);border-radius:2px;font-size:19px}.button:hover{background:#466143;transform:translateY(-2px)}.micro{font-size:10px;color:#7a8076;margin-top:16px}.ghost{position:absolute;width:550px;right:-140px;bottom:-200px;opacity:.055;z-index:-1;filter:grayscale(1);transform:rotate(-12deg)}.ghost svg{width:100%}.hero-bottom{border-top:1px solid var(--line);padding:23px 0;font-size:10px;color:#6e7769}.hero-bottom a{text-decoration:none}.hero-bottom a span{margin-left:25px}.lab{min-width:0;position:relative}.lab-heading{display:flex;align-items:center;justify-content:space-between;margin:0 12px 20px}.lab-heading .eyebrow{font-size:9px;letter-spacing:1.1px}.live-dot{font:8px monospace;color:#6b795f;display:flex;gap:6px;align-items:center}.live-dot:before{content:"";width:5px;height:5px;background:#68884c;border-radius:50%}.board{position:relative;width:100%;filter:drop-shadow(0 20px 20px #29392a22);transform:perspective(1200px) rotateX(8deg) rotateY(-7deg) rotateZ(-2deg);transition:transform .7s}.board:hover,.board:focus-within{transform:perspective(1200px) rotateX(0) rotateY(0) rotateZ(0)}.board>svg{display:block;width:100%;height:auto}.trace{fill:none;stroke:#89936b;stroke-width:1;opacity:.4;transition:stroke .4s,opacity .4s}.trace.connected{stroke:#dcf6a7;opacity:1;filter:drop-shadow(0 0 3px #b4e98280)}.module{position:absolute;width:26%;height:22%;background:linear-gradient(135deg,#324d3e,#243c30);border:1px solid #91a38188;box-shadow:0 4px 0 #11271e,0 8px 12px #0002,inset 0 0 0 4px #243c30;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:#e1e9cf;cursor:pointer;border-radius:4px;transition:background .3s,translate .3s,border-color .3s}.module-0{left:8%;top:14%}.module-1{right:8%;top:14%}.module-2{left:8%;top:62%}.module-3{right:8%;top:62%}.module>span:nth-child(2){font-size:14px;letter-spacing:-.3px}.module small{display:block;font:7px monospace;letter-spacing:.2px;color:#a2b39c;margin-top:7px}.socket-icon{font:15px monospace;color:#bdd496}.module-check{position:absolute;right:9px;top:7px;font-size:10px;color:#8ba17d}.module:hover{translate:0 -4px;border-color:#d6e8a2}.module[aria-pressed=true]{background:linear-gradient(135deg,#d9e6ad,#b8cc86);color:#24392a;border-color:#f0f7cc;box-shadow:0 4px 0 #6f854c,0 9px 15px #0003}.module[aria-pressed=true] small,.module[aria-pressed=true] .socket-icon{color:#435f36}.complete{filter:drop-shadow(0 18px 30px #72995644)}.lab-footer{display:flex;justify-content:space-between;align-items:center;margin:24px 12px 0;padding-bottom:15px;border-bottom:1px solid var(--line)}.lab-footer>div{display:flex;gap:13px;align-items:center}.step-count{font:10px monospace;color:#48613c;border:1px solid #71805740;border-radius:3px;padding:5px 7px}.lab-instruction{font-size:10px;color:#61705a}.reset{border:0;background:none;font:9px monospace;color:#6c7862;cursor:pointer;padding:9px 0}.feedback{display:flex;gap:14px;align-items:flex-start;margin:16px 12px 0;min-height:44px}.feedback-icon{color:#71835b;font-size:22px}.feedback p{font-size:11px;line-height:1.65;margin:0;max-width:53ch;color:#4e6248}.model-note{font-size:9px;color:#7d8477;margin:7px 12px 0}.wrap{max-width:1440px;margin:auto;padding:0 5%}section:not(.hero){padding:95px 0;border-top:1px solid var(--line)}h2{font-size:clamp(38px,4.5vw,64px);font-weight:400;letter-spacing:-2.5px;line-height:1.05;margin:0 0 26px}h3{font-size:27px;font-weight:400;letter-spacing:-1px}.offer-intro{font-size:16px;line-height:1.7;max-width:60ch;color:#6d7668}.service-links{display:flex;gap:25px;margin:25px 0;font-size:12px}.offers{display:grid;grid-template-columns:repeat(3,1fr);margin-top:45px;border-top:1px solid var(--line)}.offer{padding:32px;border-right:1px solid var(--line)}.offer:first-child{padding-left:0}.offer:last-child{border:0}.number{font:10px monospace;color:#7e896d}.offer p{font-size:14px;line-height:1.7;color:#697361}.price{display:block;font:11px monospace;margin:25px 0}.offer summary{font-size:12px;cursor:pointer;border-top:1px solid var(--line);padding-top:20px}.projects{background:#e7eade}.section-head{display:flex;justify-content:space-between;align-items:end}.section-head p{max-width:30ch;font-size:14px;line-height:1.7;color:#677260}.project-index{display:flex;flex-wrap:wrap;gap:20px;margin:32px 0}.project-index a{font:10px monospace;text-decoration:none;border-bottom:1px solid #879272;padding:8px 0}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:35px 25px}.project{min-width:0}.project img,.unora-art{width:100%;height:230px;object-fit:cover;border-radius:3px}.project-body{padding:20px 0}.tag{font:9px monospace;color:#6c795f;min-height:24px}.project h3{margin:12px 0}.project p:not(.tag){font-size:13px;line-height:1.7;color:#63705b}.project a{font-size:11px;text-underline-offset:5px}.project-status{font:9px monospace;display:block;margin-top:15px}.unora-art{background:#c9d5c6;padding:30px}.unora-name{font:16px monospace;display:flex;justify-content:space-between}.unora-paper{display:flex;flex-direction:column;gap:15px;padding:20px;background:#f7f6ed;transform:rotate(-5deg);font-size:10px;margin-top:15px}.unora-paper strong{font-size:20px}.unora-source{font-size:8px}.person{background:#243b30;color:#e7edda}.person .wrap{display:grid;grid-template-columns:1fr 1fr;gap:12%}.person p{font-size:18px;line-height:1.7;color:#c3cfb7}.person .eyebrow{font:9px monospace}.personal-quote{margin:40px 0 0;border-top:1px solid #c3cfb733;padding-top:25px}.personal-quote blockquote{margin:0}.personal-quote blockquote p{font:italic 36px Georgia,serif;color:#d3e3a8;margin:0 0 14px}.personal-quote figcaption{font-size:10px;line-height:1.7;color:#a6b99a}.personal-quote cite{font-style:normal}.person .personal-reading{font-size:14px}.person .signature{font-size:12px}.contact .wrap{display:flex;justify-content:space-between;align-items:center}.contact p{font-size:14px;line-height:1.7;color:#697660}.contact .eyebrow{font-size:9px}footer{padding:30px 5%;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);font-size:10px;color:#718066}footer .brand{font-size:21px}
@media(prefers-reduced-motion:no-preference){.hero-copy{animation:appear 1s both}.lab{animation:appear 1.3s .15s both}.trace.connected{stroke-dasharray:450;animation:connect .8s ease both}.module[aria-pressed=true]{animation:seat .4s both}@keyframes appear{from{opacity:0;translate:0 20px}to{opacity:1;translate:0 0}}@keyframes connect{from{stroke-dashoffset:450}to{stroke-dashoffset:0}}@keyframes seat{0%{translate:0 -8px}100%{translate:0 0}}@supports(animation-timeline:view()){.project{animation:appear linear both;animation-timeline:view();animation-range:entry 0% entry 20%}}}
@media(max-width:1100px){.brand-note{display:none}nav{gap:20px}.hero-layout{gap:3%;grid-template-columns:.8fr 1.2fr}h1{font-size:90px}.lab-instruction{font-size:9px}.module>span:nth-child(2){font-size:12px}.module small{font-size:6px}.project-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){header{padding:20px 5%}.brand{font-size:23px}nav a:not(:last-child){display:none}.nav-contact{font-size:10px;padding:10px}.nav-contact span{margin-left:8px}.hero{padding:25px 5% 0}.hero-top .eyebrow{font-size:8px}.location{display:none}.hero-layout{grid-template-columns:1fr;gap:48px;padding:45px 0}.hero-copy{max-width:500px}h1{font-size:clamp(80px,14vw,110px)}.lead{max-width:43ch}.lab{width:100%;max-width:650px;margin:auto}.lab-heading{margin-left:0;margin-right:0}.lab-heading .eyebrow{font-size:8px}.live-dot{font-size:7px}.board{transform:none}.module>span:nth-child(2){font-size:clamp(10px,2.6vw,14px)}.module small{font-size:clamp(5px,1.3vw,7px)}.module{gap:3px}.module-check{font-size:8px;right:5px;top:4px}.socket-icon{font-size:12px}.lab-footer{margin:18px 0 0;gap:10px}.lab-footer>div{gap:7px}.lab-instruction{font-size:9px;max-width:24ch}.reset{font-size:8px;white-space:nowrap}.feedback{margin-left:0;margin-right:0}.model-note{margin-left:0;font-size:8px}.hero-bottom{font-size:8px;gap:20px}.hero-bottom a span{margin-left:6px}.offers{grid-template-columns:1fr}.offer,.offer:first-child{padding:30px 0;border-right:0;border-bottom:1px solid var(--line)}section:not(.hero){padding:60px 0}.section-head{display:block}.person .wrap{grid-template-columns:1fr;gap:35px}.contact .wrap{display:block}.contact .button{margin-top:20px}.project img,.unora-art{height:200px}footer .brand{font-size:18px}footer{gap:15px}.ghost{bottom:-20px}}
@media(max-width:480px){.project-grid{grid-template-columns:1fr}.project img,.unora-art{height:240px}.brand-mark{width:26px;font-size:32px}.brand{gap:8px;font-size:21px}.nav-contact{font-size:9px}.hero-bottom>span{max-width:18ch;line-height:1.6}.lab-heading .eyebrow{letter-spacing:.5px}.module small{letter-spacing:0}.module{height:23%}.module-2,.module-3{top:61%}.socket-icon{font-size:10px}.step-count{font-size:9px;padding:4px}.hero .answer{font-size:19px}.hero .lead{font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.board{transform:none}}

/* Landing-only refinement: physical parts, solder pads and drag targets. */
.hero-layout{grid-template-columns:.8fr 1.2fr;padding-top:35px;align-items:center;min-height:740px}
.board,.board:hover,.board:focus-within{transform:none;filter:drop-shadow(2px 9px 0 #12291c) drop-shadow(0 20px 19px #21332125)}
.board>svg{border-radius:22px}
.socket{position:absolute;width:26%;height:22%;border:1px solid #c2bd8790;border-radius:3px;background:repeating-linear-gradient(90deg,#b7a469 0 3px,transparent 3px 8px) top/100% 7px no-repeat,repeating-linear-gradient(90deg,#b7a469 0 3px,transparent 3px 8px) bottom/100% 7px no-repeat,linear-gradient(125deg,#081810,#1a3022);box-shadow:inset 0 3px 8px #0008,0 0 0 4px #1d3323,0 0 0 5px #9eae7755;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;transition:box-shadow .2s,background .2s}
.socket span{font:8px monospace;letter-spacing:2px;color:#9da985}.socket small{font:5px monospace;letter-spacing:1px;color:#74866d}
.socket-0{left:8%;top:14%}.socket-1{right:8%;top:14%}.socket-2{left:8%;top:62%}.socket-3{right:8%;top:62%}
.socket.target{box-shadow:inset 0 0 25px #b1d86535,0 0 0 2px #d0e7a7,0 0 22px #d0e7a75a}
.parts-tray{margin-top:28px;border:1px solid #d2d3c3;background:linear-gradient(135deg,#eaeade,#f8f7ef);padding:13px;border-radius:7px;box-shadow:inset 0 1px 0 #fff,0 8px 20px #243b3008}
.tray-heading{display:flex;justify-content:space-between;font:8px monospace;letter-spacing:1px;color:#718064;margin-bottom:13px}
.parts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;min-height:78px}
.part-home{position:relative;min-width:0;min-height:78px;border:1px dashed #aeb69b65;border-radius:4px;display:flex;justify-content:center;align-items:center}
.part-home:empty:after{content:"EINGESETZT";font:6px monospace;color:#89947c;letter-spacing:.8px}
.parts .module{position:relative;left:auto;right:auto;top:auto;width:100%;height:78px}
.module{touch-action:none;user-select:none;cursor:grab;background:linear-gradient(145deg,#3c453d 0%,#242c25 25%,#18241b 65%,#354235 100%);border:1px solid #788375;box-shadow:0 4px 0 #111d15,0 7px 7px #07170d55,inset 0 1px 0 #d2d8bd66,inset 0 0 0 4px #253026;border-radius:3px}
.module:before,.module:after{content:"";position:absolute;left:8%;width:84%;height:6px;background:repeating-linear-gradient(90deg,#a0aa91 0 2px,#e1e2cd 2px 4px,transparent 4px 7px);pointer-events:none}
.module:before{top:-6px}.module:after{bottom:-6px}
.module>span:nth-child(2){font-size:12px;color:#edf1df;text-shadow:0 1px #000}.module small{font:6px monospace;color:#a4b09a}.module .socket-icon{font:8px monospace;color:#c1c9b0;align-self:flex-start;margin-left:10px}
.module .module-check{color:#afbda0}.module:hover{translate:0 -2px;border-color:#c6d4b5}.module[aria-pressed=true]{background:linear-gradient(135deg,#3c453d,#1b281f 70%,#384537);color:#e3ead1;border-color:#aabf8a;box-shadow:0 3px 0 #0c1c10,0 5px 8px #0006,inset 0 1px #d4dfb055}.module[aria-pressed=true] small,.module[aria-pressed=true] .socket-icon{color:#bbcf9e}
.socket>.module{position:absolute;inset:3px;width:calc(100% - 6px);height:calc(100% - 6px)}
.module.dragging{position:fixed!important;z-index:1000!important;inset:auto!important;margin:0!important;translate:0 0!important;transform:rotate(-3deg) scale(1.06);pointer-events:none;cursor:grabbing;box-shadow:0 5px 0 #132318,0 25px 30px #07190b65;transition:none;animation:none!important}
.lab-heading{margin-bottom:15px}.lab-footer{margin-top:15px}.feedback{min-height:42px}.complete{filter:drop-shadow(2px 9px 0 #12291c) drop-shadow(0 15px 25px #72995655)}
.legacy{--ink:#141918;--paper:#fafaf6;--mint:#aff1e5;--green:#007967;--yellow:#ffdf36;--pink:#f3b9cd;background:#fafaf6;color:#141918}
.legacy .eyebrow{display:block}.legacy .button span{display:inline;background:transparent;width:auto;height:auto;color:inherit}.legacy .button{box-shadow:none}
@media(max-width:800px){.hero-layout{grid-template-columns:1fr;padding:40px 0;gap:40px}.parts{gap:8px;min-height:65px}.part-home,.parts .module{min-height:65px;height:65px}.module>span:nth-child(2){font-size:9px}.module small{font-size:5px}.parts-tray{padding:11px 8px}.socket span{font-size:6px;letter-spacing:.5px}.socket small{font-size:4px}.module .socket-icon{font-size:6px;margin-left:6px}.tray-heading{font-size:7px}.socket{gap:5px}.part-home:empty:after{content:"EINGESETZT";font-size:5px}}

}

.hero{--paper:#fffbea;--ink:#152c25;--muted:#425b4d;background:linear-gradient(115deg,#ffe453 0%,#ffeb78 35%,#f3f2de 100%);padding:32px 4.5% 0;position:relative;isolation:isolate;overflow:hidden}
@scope (.hero) {
.hero-layout{padding-top:32px;min-height:720px}
.hero-copy .lead,.micro,.location,.hero-bottom,.hero-bottom a{color:#304c3c}
h1 em{color:#185e4b}
.hero-copy .button{background:#172d25;color:#fff;border-radius:4px}
.hero-copy .button span{background:#aff1e5;color:#172d25}
.hero-copy .eyebrow,.lab-heading .eyebrow{color:#18382a}
.lab-heading .live-dot{color:#244a36}
.board,.board:hover,.board:focus-within{filter:drop-shadow(0 18px 15px #18302238);transform:none;border-radius:10px}
.board>svg{display:none}
.pcb-photo{display:block;width:100%;height:auto;border-radius:10px}
.socket{background:transparent!important;border:0;box-shadow:none;width:21.2%;height:17.5%;gap:7px}
.socket-0{left:10.5%;top:14%}.socket-1{right:10.5%;top:14%}
.socket-2{left:10.5%;top:62%}.socket-3{right:10.5%;top:62%}
.socket>span{font:9px monospace;letter-spacing:1.2px;color:#dfdcc0}
.socket>small{font:6px monospace;color:#c3b88c}
.socket.target{box-shadow:0 0 0 2px #f1d377,0 0 28px #f1d37788;background:#ffe47a15!important}
.socket>.module{inset:-3px;width:calc(100% + 6px);height:calc(100% + 6px)}
.module{background:linear-gradient(135deg,#42443d,#161c18 60%,#414a3b);box-shadow:0 4px 0 #0a160e,0 6px 10px #0007,inset 0 1px 0 #bbc1a899}
.module:before,.module:after{background:repeating-linear-gradient(90deg,#806637 0 2px,#e3ce85 2px 4px,transparent 4px 7px)}
.module[aria-pressed=true]{background:linear-gradient(135deg,#555a4d,#242d25 70%,#495543);border-color:#b5bb9a}
.module[aria-pressed=true]:after{box-shadow:0 4px 12px #dcf9a244}
.parts-tray{background:#fffdf0b5;border-color:#94895145;box-shadow:inset 0 1px 0 #fff,0 8px 20px #46501c0a}
.tray-heading,.lab-instruction,.reset,.feedback p,.model-note,.step-count{color:#304a35}
.ghost{opacity:.075}.hero-bottom{border-color:#1c402b30}
@media(max-width:800px){.hero-layout{min-height:0}.socket>span{font-size:6px;letter-spacing:.4px}.socket>small{font-size:4px}.parts .module{height:65px}.socket{gap:4px}}
}

@scope (.hero) {
.parts{grid-template-columns:repeat(4,minmax(0,1fr));min-height:0}
.part-home{aspect-ratio:1.70;min-height:0;height:auto}
.parts .module{height:100%;min-height:0;aspect-ratio:1.70}
.socket>.module{inset:0;width:100%;height:100%}
.camera-entry{text-align:center;margin:20px 0 0}
.camera-entry .gesture-invitation{font-size:15px;color:#142c23}
.camera-entry .gesture-launch{color:#142c23}
.socket.target{background:#ffe47a10!important;outline:2px solid #e5f6b5;outline-offset:5px}
.board.short-circuit{outline:2px solid #e5a14d}
@media(prefers-reduced-motion:no-preference){
.board.short-circuit{animation:short-circuit .48s ease-out}
@keyframes short-circuit{0%{filter:brightness(1)}25%{filter:brightness(1.3) drop-shadow(0 0 12px #ffb852)}65%{filter:brightness(.85)}100%{filter:brightness(1)}}
}
}


@scope (.hero){
.hero-layout{padding-top:22px;padding-bottom:30px;min-height:0}
.lab-heading{margin-bottom:12px}
.lab-footer{justify-content:flex-end;padding-bottom:0;border:0;margin:5px 0 0}
.lab-instruction{display:none}
.feedback{margin-top:6px;min-height:0}
.feedback p{font-size:10px;max-width:none}
.feedback-icon{display:none}
.camera-entry{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;column-gap:14px;margin:0 0 8px}
.camera-entry .gesture-invitation{font-size:13px;margin:0;line-height:1.4;font-weight:600}
.camera-entry .gesture-launch{font-size:11px;padding:3px 0;margin:0}
.parts-tray{margin-top:20px}
.pcb-interaction{max-width:var(--pcb-fit,100%);margin-inline:auto}
@media(min-width:801px){.hero-copy{align-self:center}.lab{padding-top:5px}}
}
body.gesture-camera-on[data-gesture-mode=model] .pcb-interaction{scroll-margin-top:calc(var(--gesture-header,160px) + 15px)}

@scope (.hero){
.lab{animation-fill-mode:backwards}
@media(prefers-reduced-motion:no-preference){.lab{animation-fill-mode:backwards}}
}

html:has(body.gesture-camera-on[data-gesture-mode=model]){scroll-padding-top:calc(var(--gesture-header,150px) + 12px)}
body.gesture-camera-on[data-gesture-mode=model] .pcb-interaction{scroll-margin-top:0}
.person .person-portrait{display:block;width:104px;height:130px;object-fit:cover;border-radius:4px;margin:0 0 22px}
@media(max-width:600px){.person .person-portrait{width:88px;height:110px;margin-bottom:18px}}

/* Drag preview lives directly under body, outside filtered and rotated parents. */
.pcb-drag-preview{position:fixed;z-index:10000;pointer-events:none;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px solid #a5b190;border-radius:3px;background:linear-gradient(135deg,#424b3d,#19251c 65%,#4a5542);box-shadow:0 4px 0 #0a160e,0 18px 24px #0005,inset 0 1px #d4ddba;color:#f1f3df;font:12px Arial,sans-serif}
.pcb-drag-preview small{display:block;font:7px monospace;color:#c1cbb3;margin-top:7px}
.pcb-drag-preview .socket-icon{position:absolute;top:8px;left:9px;font:7px monospace;color:#c1cbb3}
.pcb-drag-preview .module-check{position:absolute;top:8px;right:9px}
.pcb-drag-preview:before,.pcb-drag-preview:after{content:"";position:absolute;left:8%;width:84%;height:5px;background:repeating-linear-gradient(90deg,#806637 0 2px,#e3ce85 2px 4px,transparent 4px 7px)}
.pcb-drag-preview:before{top:-5px}.pcb-drag-preview:after{bottom:-5px}
@scope (.hero){
.board,.board:hover,.board:focus-within{transform:perspective(1400px) rotateX(var(--board-pitch,38deg)) rotateY(var(--board-yaw,-18deg));transform-origin:center;transition:none;cursor:grab;touch-action:none}
.module{transition:border-color .2s,background .2s}
.module:hover{translate:none}
}

header .wrap{height:72px}
header .brand{font-size:25px;gap:10px}
header .brand svg{width:29px;height:29px}
header nav{font-size:13px;gap:27px}
header .outline{padding:9px 17px}
.hero{background:linear-gradient(to bottom,transparent calc(100% - 85px),#fafaf6 100%),linear-gradient(115deg,#ffe453 0%,#ffeb78 35%,#f3f2de 100%)}
@scope (.hero){
.lab{max-width:590px;width:100%;justify-self:end}
.hero-layout{padding-top:12px;padding-bottom:20px;gap:3%;grid-template-columns:1fr 1.05fr}
h1{font-size:clamp(72px,7.6vw,112px)}
.parts-tray{margin-top:15px}
.lab-heading{margin-bottom:8px}
.hero-bottom{padding:14px 0;border-top-color:#243c3015}
@media(max-width:800px){.hero-layout{grid-template-columns:1fr;gap:30px}.lab{justify-self:center;max-width:520px}h1{font-size:clamp(76px,13vw,104px)}}
}
@media(max-width:800px){header .wrap{height:64px}header .brand{font-size:22px}header .brand svg{width:26px;height:26px}header nav{font-size:12px;gap:12px}header .outline{padding:8px 12px}}

@scope (.hero){
h1 em{font-family:inherit;font-style:normal;font-weight:inherit;letter-spacing:inherit;color:inherit}
.lab{max-width:500px}
.hero-top .eyebrow,.lab-heading .eyebrow{margin:0}
.hero-top{min-height:24px}
.lab-heading{min-height:24px}
@media(max-width:800px){.lab{max-width:500px}}
}


/* Final spacing, readable labels and consistent alignment. */
.hero{padding-inline:6%}
@scope (.hero){
.hero-top,.hero-layout{max-width:1268px;margin-inline:auto}
.hero-top .eyebrow{font-size:10px;letter-spacing:1.2px;line-height:1.6;max-width:65ch}
.hero-top .eyebrow:before{flex-shrink:0}
.hero-copy .lead{font-size:16px;line-height:1.65;max-width:37ch}
.hero-copy .micro{font-size:11px;line-height:1.5}
.hero-copy .button{min-height:48px;font-size:13px}
.feedback p{font-size:11px;line-height:1.5}
.camera-entry .gesture-launch{font-size:12px;min-height:32px}
.reset{min-height:32px;font-size:10px}
@media(max-width:800px){
.hero-top .eyebrow{font-size:9px;letter-spacing:.7px;max-width:49ch}
.hero-copy .lead{font-size:15px}
.hero-copy .button{min-height:46px}
.module>span:nth-child(2){font-size:10px}
}
@media(max-width:380px){.hero-top .eyebrow{max-width:30ch}.hero-top{min-height:36px}}
}

.module:focus-visible,.reset:focus-visible{outline:2px solid #173f30;outline-offset:4px}
.pcb-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0}
@media(pointer:coarse){.hero .camera-entry .gesture-launch,.hero .lab-footer .reset{min-height:44px;padding-inline:12px}}

@media(min-width:801px){
  .hero .hero-layout{
    grid-template-columns:minmax(0,385px) minmax(0,500px);
    justify-content:center;
    column-gap:clamp(28px,4vw,52px);
  }
}
.hero .camera-entry{margin-bottom:24px}
.hero .camera-entry .gesture-launch{margin:0!important}
.hero .parts-tray{margin-top:28px}
.hero .lab-footer{gap:10px}
.hero .lab-footer-copy{
  flex-direction:column;align-items:flex-start;gap:2px;margin-inline-end:auto;
  color:#304a35;font-size:11px;line-height:1.35;
}
.hero .lab-footer-copy a{text-underline-offset:2px}

/* Activation follows the photograph and stays behind the draggable chips. */
.hero .board > .pcb-power{
  display:block;position:absolute;inset:0;width:100%;height:100%;pointer-events:none;
  overflow:hidden;border-radius:inherit;opacity:0;
}
.hero .board.complete > .pcb-power{opacity:1;animation:pcb-power-on .85s ease-out both}
.pcb-power-bloom{opacity:.62}
.complete .pcb-power-bloom{animation:pcb-core-breathe 3.6s ease-in-out infinite}
.pcb-power-traces,.pcb-power-current,.pcb-power-core,.pcb-power-shockwave{fill:none;stroke-linecap:round;stroke-linejoin:round}
.pcb-power-traces{stroke:#4bffbb;stroke-width:5;filter:drop-shadow(0 0 8px #2bffb5)}
.pcb-power-current{stroke:#f0fff8;stroke-width:9;stroke-dasharray:27 123;filter:drop-shadow(0 0 5px #aaffdc)}
.complete .pcb-power-current use{animation:pcb-current 1.25s linear infinite}
.complete .pcb-power-current use:nth-child(even){animation-delay:-.52s}
.pcb-power-core{stroke:#c6ffe6;stroke-width:4;filter:drop-shadow(0 0 12px #64ffbe)}
.pcb-power-core rect+rect{stroke-width:2;opacity:.48}
.pcb-power-shockwave{
  stroke:#cbfff2;stroke-width:5;opacity:0;transform-box:fill-box;transform-origin:center;
}
.complete .pcb-power-shockwave{animation:pcb-surge .95s .13s ease-out both}
.pcb-power-beacons{fill:#e5fff1;filter:drop-shadow(0 0 10px #34ff9b)}
.hero .complete .socket>.module{
  border-color:#ceffe5;box-shadow:0 0 0 1px #48ffab,0 0 16px #36ffa080,0 4px 0 #0a160e,inset 0 1px #d4ffe0;
}
.hero .complete .socket>.module::after{box-shadow:0 2px 10px #b6ffc0}
@keyframes pcb-power-on{0%{opacity:0}42%{opacity:1}100%{opacity:1}}
@keyframes pcb-core-breathe{0%,100%{opacity:.46}50%{opacity:.83}}
@keyframes pcb-current{to{stroke-dashoffset:-150}}
@keyframes pcb-surge{0%{opacity:0;transform:scale(.7)}20%{opacity:.85}100%{opacity:0;transform:scale(4.2)}}
@media(prefers-reduced-motion:reduce){
  .hero .board.complete > .pcb-power,.hero .board.complete .pcb-power *{animation:none}
}

.hero .pcb-photo{user-select:none;-webkit-user-drag:none}
.hero .board.is-rotating,.hero .board.is-rotating .pcb-photo{cursor:grabbing}
.hero .board:focus-visible{outline:2px solid #173f30;outline-offset:5px}
.hero .pcb-rotate-note{font:10px/1.4 Arial,sans-serif;color:#304a35;margin-inline-end:auto}
.hero .camera-entry{display:grid;justify-items:center;row-gap:0}
.hero .camera-entry .gesture-launch{max-width:100%;line-height:1.35;text-wrap:balance}
.hero .camera-privacy-note{font:10px/1.35 Arial,sans-serif;color:#304a35}

.hero-copy h1{position:relative;inset-inline-start:-7px}
.hero .hero-copy{inset-inline-start:-3px}
@media(min-width:801px){.hero .hero-copy{inset-inline-start:-18px}}

/* Only the emission point shares the board transform. Its output lives in the viewport. */
.pcb-ejection-origin{
  position:absolute;left:50.30%;top:46.22%;width:1px;height:1px;pointer-events:none;
}
.pcb-output-layer{
  position:fixed;inset:0;z-index:11;overflow:hidden;contain:strict;pointer-events:none;
}
.pcb-output-layer > *{position:absolute;left:var(--output-x);top:var(--output-y)}
.pcb-output-object{display:block;aspect-ratio:1;transform-style:preserve-3d}
.pcb-blueprint-depth,.pcb-blueprint-sheet{
  position:absolute;inset:0;
  background:var(--output-atlas) var(--output-cell) / 300% 200% no-repeat;
}
.pcb-blueprint-depth{
  transform:translateZ(-19px);
  filter:hue-rotate(35deg) drop-shadow(0 0 5px #43ffd8);
}
.pcb-blueprint-sheet{
  filter:drop-shadow(0 0 2px #baffea) drop-shadow(0 0 9px #40ffb594) drop-shadow(0 7px 19px #0b563455);
}
.pcb-blueprint-sheet::before,.pcb-blueprint-sheet::after{
  content:"";position:absolute;inset:0;
  -webkit-mask:var(--output-atlas) var(--output-cell) / 300% 200% no-repeat;
  mask:var(--output-atlas) var(--output-cell) / 300% 200% no-repeat;
}
.pcb-blueprint-sheet::before{
  background:linear-gradient(155deg,#dcfff1,#49ffc7 40%,transparent 78%);opacity:0;
  animation:pcb-hologram-form .92s var(--output-delay) ease-out both;
}
.pcb-blueprint-sheet::after{
  background-image:linear-gradient(transparent 44%,#baffebac 50%,#e4fff5d0 51%,#50ffb767 54%,transparent 60%),
    repeating-linear-gradient(to bottom,#bbffe646 0 1px,transparent 1px 5px);
  background-size:100% 260%,auto;
  background-repeat:no-repeat,repeat;
  opacity:.56;
  animation:pcb-blueprint-scan 1.22s var(--output-delay) linear infinite;
}
.pcb-blueprint-progress{
  position:absolute;left:11%;top:90.3%;width:25%;height:2px;opacity:.84;
  transform-origin:left;
  background:repeating-linear-gradient(90deg,#b6ffdf 0 4px,transparent 4px 6px);
  box-shadow:0 0 4px #6effc8;
  animation:pcb-blueprint-process 1.03s var(--output-delay) steps(7,end) infinite;
}
@keyframes pcb-blueprint-scan{
  from{background-position:0 100%,0 0}
  to{background-position:0 0,0 0}
}
@keyframes pcb-blueprint-process{
  from{transform:scaleX(.04)}
  to{transform:scaleX(1)}
}
.pcb-output-halo{
  display:block;width:clamp(100px,16vw,210px);aspect-ratio:1;border-radius:50%;
  background:radial-gradient(circle,#eefcff 0%,#a4e8ff 8%,#52dfdbbb 19%,#3dffac58 34%,transparent 67%);
}
.pcb-output-mote{
  width:4px;height:4px;border-radius:50%;background:#e6fff9;
  box-shadow:0 0 4px 2px #50ffd2,0 0 11px 3px #449effa0;
}
@keyframes pcb-hologram-form{
  0%,21%{opacity:.78}
  55%{opacity:.48}
  100%{opacity:0}
}
@media(prefers-reduced-motion:reduce){.pcb-output-layer{display:none}}

/* Separate the PCB shadow and raised hardware from the photographed surface. */
.hero .board,.hero .board:hover,.hero .board:focus-within{
  transform-style:preserve-3d;
  filter:none;
}
.hero .board::before{
  content:"";position:absolute;inset:2% 1% 2.6%;pointer-events:none;
  background:linear-gradient(155deg,#365740,#102e22 70%,#806e37);
  border-radius:8px;transform:translateZ(-7px);
}
.hero .pcb-photo{
  filter:contrast(1.055) saturate(1.04) drop-shadow(0 12px 13px #173e2f45);
}
.pcb-relief{
  position:absolute;pointer-events:none;
  left:calc(var(--px) * 100% / 1487);top:calc(var(--py) * 100% / 1058);
  width:calc(var(--pw) * 100% / 1487);height:calc(var(--ph) * 100% / 1058);
  border-radius:50%;transform:translateZ(var(--depth));
  background-image:url('/assets/pcb-photo-v1.png');
  background-size:calc(1487 / var(--pw) * 100%) calc(1058 / var(--ph) * 100%);
  background-position:calc(var(--px) / (1487 - var(--pw)) * 100%) calc(var(--py) / (1058 - var(--ph)) * 100%);
  background-repeat:no-repeat;
  box-shadow:inset 0 1px 1px #ffffdf65,1px 3px 1px #1d261e,2px 5px 5px #06191494;
}
.pcb-relief-crystal{border-radius:22% / 40%;box-shadow:inset 0 1px 1px #ffffdf55,1px 2px 0 #18251c,1px 4px 5px #0619148c}
.hero .socket:has(>.module){transform:translateZ(3px)}

.projects .section-head{display:block}
.projects .section-head p{max-width:62ch;margin:13px 0 0}
.projects .section-head a,.project .project-status a{text-underline-offset:.22em}
.project .project-status{font-size:11px;line-height:1.65}
.project .project-status a{font:inherit}
.project-status strong,.projects .section-head strong{font-weight:700}

.pcb-output-wake{
  display:block;aspect-ratio:.88;border-radius:44% 56% 61% 39%;
  background:radial-gradient(ellipse at 48% 34%,#caffdf8c 0%,#6dffd353 17%,#38ffbe34 35%,transparent 70%);
  filter:blur(11px);
}
.pcb-output-signals{
  fill:none;stroke:#caffe9;stroke-width:7;stroke-linecap:round;
  filter:drop-shadow(0 0 7px #60ffc8) drop-shadow(0 0 13px #27ffa28c);
}
.pcb-output-signals [data-pcb-signal]{
  opacity:0;transform-box:fill-box;transform-origin:center;
}
.pcb-output-signals [data-pcb-signal="route"]{stroke-dasharray:24 43}
.pcb-output-signals [data-pcb-signal="scan"] path+path{stroke-width:3;opacity:.48}
.pcb-output-signals [data-pcb-signal="ripple"] ellipse+ellipse{stroke-width:2.5;opacity:.47}
.pcb-output-signals [data-pcb-signal="junction"] path+path{stroke-width:3;opacity:.62}
.pcb-output-signals [data-pcb-signal="orbit"]{stroke-dasharray:63 51 13 80}

.hero .ghost{
  right:-44px;bottom:-31px;width:min(36vw,510px);opacity:.15;
  filter:none;transform:none;pointer-events:none;
}
.hero .circuit-ghost{display:block;width:100%;height:auto}
@media(max-width:800px){
  .hero .ghost{right:-38px;bottom:-24px;width:clamp(224px,65vw,320px);opacity:.11}
}

/* Foreshorten the loose chips on one shallow plane. Seated chips follow the board. */
.hero .parts{transform:perspective(980px) rotateX(14deg);transform-origin:center}
.hero .parts .module{
  box-shadow:0 3px 0 #15251a,0 5px 3px #172c1d60,1px 10px 12px #423b2730,inset 0 1px #bbc1a888;
}
.chip-name{display:inline-block;font-weight:inherit}
.hero .socket>.module[aria-pressed="true"] :is(.chip-name,small){
  color:#89bdd9;text-shadow:0 0 3px #2d9deb56;
}
@supports (background-clip:text) or (-webkit-background-clip:text){
  .hero .socket>.module[aria-pressed="true"] :is(.chip-name,small){
    color:transparent;-webkit-text-fill-color:transparent;text-shadow:none;
    background-image:linear-gradient(90deg,#edf1df 0 39%,#47bbff 44%,#d5faff 47%,#f4ffff 48.5%,#78ddff 50.5%,#279aff 53%,#6fc2ef 57%,#89bdd9 65% 100%);
    background-size:300% 100%;background-position:100% 50%;background-repeat:no-repeat;
    -webkit-background-clip:text;background-clip:text;
    filter:drop-shadow(0 0 1.3px #2d9deb67) drop-shadow(0 0 3px #2384ef43);
    animation:pcb-chip-text-scan 1.48s linear both;
  }
}
@keyframes pcb-chip-text-scan{
  from{background-position:0% 50%;filter:drop-shadow(0 0 0 #39bfff00) drop-shadow(0 0 0 #1789ff00)}
  11%{background-position:19% 50%;filter:drop-shadow(0 0 1.8px #54ccffdd) drop-shadow(0 0 4.5px #198cffaf)}
  28%{background-position:31% 50%;filter:drop-shadow(0 0 2.6px #7ce7ffff) drop-shadow(0 0 7px #1390ffde)}
  78%{background-position:72% 50%;filter:drop-shadow(0 0 2.4px #7ce7fff2) drop-shadow(0 0 6px #1390ffc4)}
  to{background-position:100% 50%;filter:drop-shadow(0 0 1.3px #2d9deb67) drop-shadow(0 0 3px #2384ef43)}
}
@media(prefers-reduced-motion:reduce){
  .hero .socket>.module[aria-pressed="true"] :is(.chip-name,small){animation:none}
}
.hero .socket>.module .chip-name{white-space:nowrap}
.hero [data-module="innovation"] .chip-name{font-size:.92em;letter-spacing:-.03em}
.hero [data-socket="innovation"]>span{letter-spacing:.045em}
@media(max-width:500px){
  .hero .socket>.module .chip-name{font-size:clamp(8.5px,2.35vw,10px)}
  .hero .module[data-module="innovation"] .chip-name{font-size:clamp(7px,2.12vw,10px)}
}

/* Trim just the background pixels of the photo, including both keying slots. */
.hero .board{
  --pcb-photo-cutout:polygon(
    .94% 1.87%,1.26% 1.12%,98.80% 1.12%,99.13% 1.69%,99.13% 97.04%,
    71.52% 97.04%,71.52% 91.68%,71.32% 90.92%,70.90% 90.52%,70.49% 90.55%,
    70.09% 90.96%,69.90% 91.68%,69.90% 97.35%,31.12% 97.35%,31.12% 91.61%,
    30.93% 90.88%,30.53% 90.45%,30.10% 90.48%,29.73% 90.91%,29.55% 91.62%,
    29.55% 97.04%,.94% 97.04%
  );
}
.hero .pcb-photo{
  clip-path:var(--pcb-photo-cutout);
  filter:contrast(1.055) saturate(1.04);
}
.hero .board::before{inset:0;clip-path:var(--pcb-photo-cutout)}
.hero .board::after{
  content:"";position:absolute;inset:2.5% 2.8% 4.9%;border-radius:8px;pointer-events:none;
  transform:translateZ(-9px);box-shadow:0 14px 24px #173a2a47;
}

.hero .board.complete.pcb-booting>.pcb-power{opacity:1;animation:none}
.pcb-booting .pcb-power-face>:not(.pcb-boot-lines,.pcb-boot-core){visibility:hidden}
.pcb-boot-lines{
  fill:none;stroke:#c2f0ff;stroke-width:10px;stroke-linecap:round;
  filter:drop-shadow(0 0 5px #7adfff) drop-shadow(0 0 13px #2388ff);
}
@media(max-width:680px),(max-height:480px){
  .pcb-boot-lines{
    stroke-width:15px;
    filter:drop-shadow(0 0 9px #83dcff) drop-shadow(0 0 23px #217cff);
  }
}
.pcb-boot-lines use,.pcb-boot-core{opacity:0}
.pcb-boot-core{
  filter:drop-shadow(0 0 10px #80d7ff) drop-shadow(0 0 20px #3188ff);
  transform-box:fill-box;transform-origin:center;
}
.pcb-boot-core rect{fill:#438ded85;stroke:#c7f0ff;stroke-width:6px}
.pcb-boot-core path{fill:none;stroke:#ecfbff;stroke-width:4px;stroke-linecap:round}
.pcb-boot-core path:last-child{stroke-width:8px}
.hero .board.pcb-booting .socket>.module{
  border-color:#b0e5ff;
  box-shadow:0 0 0 1px #55bcff,0 0 15px #2d91ff99,0 4px 0 #0a160e,inset 0 1px #d4eaff;
}
.hero .board.pcb-booting .socket>.module::after{box-shadow:0 2px 9px #7ad6ff}
