The nucleotide-addition mechanism
What actually happens when one base is added: the two-metal-ion ("Steitz") mechanism. The primer's 3′-OH, activated by a magnesium ion, attacks the α-phosphate of the incoming nucleotide; pyrophosphate leaves; a new bond forms. This single reaction explains most of PCR.

DNA polymerase — the enzyme
The protein that does the chemistry of Module 1. It folds like a right hand: fingers bind and test the incoming nucleotide, the palm holds the catalytic core and the two metals, the thumb grips the DNA, and a separate exonuclease domain can proofread.

pcr_whitebox_polymerase.py will download the actual Taq/Klentaq crystal structure from the Protein Data Bank and write an interactive 3D viewer when you run it on your own machine (pip install py3Dmol requests). It's skipped automatically where the network is restricted.The thermodynamics of cycling
Computed from real nearest-neighbor energetics (SantaLucia parameters): each base-pair step has a measured ΔH and ΔS, which set a duplex's melting temperature. This is the quantitative reason 95 °C denatures, ~55–65 °C anneals (the specificity knob), and 72 °C extends.

The reaction components
Every tube has the same handful of ingredients — but each has a defined chemical role in the mechanism, and a defined failure mode when it's off: magnesium (catalyst), dNTPs (substrate), primers (start points), polymerase (machine), buffer/pH (environment), and monovalent salt (duplex stabilizer).

Failure modes as chemistry
The diagnostic reward for understanding the first four modules. Primer-dimer, mispriming, nonspecific smear, plateau, no product, misincorporation — each explained by why it happens chemically and therefore how the mechanism says to fix it.
