@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url(/fonts/jetbrains-mono.woff2) format("woff2"); } /* chip labels */
/* the board: a circuit board seen in perspective, sharp in the middle and out of focus near and far */
#board .stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; perspective: 900px; perspective-origin: 50% 20%; }
#board .plane { position: absolute; left: 50%; top: 50%; transform-origin: 50% 50%; transform: translate(calc(-50% + var(--sx, 0px)), -50%) rotateX(var(--tilt, 40deg)) rotateZ(var(--twist, -5deg)) translateY(var(--sy, 0px)); will-change: transform; }
#board canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#board .far { filter: blur(var(--dof, 5px)) brightness(.8); }
#board .near { -webkit-mask-image: linear-gradient(to bottom, transparent 8%, #000 34%, #000 62%, transparent 92%); mask-image: linear-gradient(to bottom, transparent 8%, #000 34%, #000 62%, transparent 92%); }
#board .fog { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(3,4,10,.92), rgba(3,4,10,.2) 30%, rgba(3,4,10,.05) 55%, rgba(3,4,10,.55)); }
#board.dim .near, #board.dim .far { opacity: .55; } /* behind a form: quieter */
/* over the purple universe (landing page): no fog or far layer, the flow drawn faintly above the stars */
#board.over .fog, #board.over .far { display: none; }
#board.over .stage { z-index: 2; }
#board.over .near { opacity: .62; mix-blend-mode: screen; }
