A theory of the metamagnetic crossover in CeRu2Si2