When Maya joined the marine biology lab, she felt an immediate affinity for the rhythmic ebb and flow of the tide pools, as if the sea's patterns resonated with her own calm disposition.
As used in the text, what does the word "affinity" most nearly mean?