Before the advent of computers, traffic lights were a marvel of mechanical and electromechanical engineering, utilizing timers, relays, and human intervention to manage bustling city intersections.