Structure in evolutionary transitions in individuality: Mechanics, geometry, and topology