Elements of Sonata Theory: Norms, Types, and Deformations in the Late-Eighteenth-Century Sonata