TITLE: ENIGMA — rotors & lamps PROMPT: Design 'ENIGMA — rotors & lamps', a functional cipher machine: a wooden-cased machine with three draggable rotors (each showing its letter ring and notch), a reflector, a plugboard with patch cords, and a lampboard that lights a ciphertext letter for each keypress — with genuine stepping behavior (right rotor steps per key, middle at notch). Palette: gunmetal, bakelite cream keys, wartime walnut, lamp amber. Interactions: type on the keyboard (screen keys or physical) — lamps glow, rotors step with a clack; drag rotor rings to set positions; patch plugboard pairs to scramble further; a message slip types your ciphertext and a decode mode proves the symmetry (set same keys, paste, read); a brief illustrated panel explains why it fell. Mechanical, mysterious, historically flavorful. DESCRIPTION: A walnut-cased functional Enigma replica: three historically-wired rotors (I/II/III with genuine wirings and Q/E/V notches) whose letter rings drag or scroll to set positions and step with proper notch carry on each keypress; a B-reflector; a working plugboard that pairs letters with visible cables; a bakelite keyboard and an amber lampboard that lights the cipher letter per keypress with a mechanical clack. Input and cipher tapes accumulate on paper slips; DECRYPT mode (using Enigma's reciprocity) re-keys the machine and feeds pasted ciphertext back through to recover plaintext. Physical typing works too — press any letter key. TECHNIQUES: authentic rotor wiring tables with position-offset substitution forward and inverse passes, notch-based ratchet stepping, plugboard pair map, reciprocal path (keyboard→plugboard→3 rotors→reflector→3 inverse→plugboard→lamp), pointer-drag rotor rings with modular letter windows, lamp glow timing, WebAudio square-wave clacks (gesture-gated), paper tape buffers. INTERACTION: Type (screen or physical keyboard) to encrypt — lamps light, rotors step; drag or scroll each rotor ring to set the key; click two plugboard letters to patch a cable; DECRYPT walks ciphertext back through the same key to plaintext.