Exploring Mating Patterns: The Interplay of Genes, Environment, and Their Evolutionary Outcomes