Almost impossible to answer without handing out cliches: Experience, good ears, good arrangements, good room, good monitoring chain, good decisions, good performances, etc...
Is your room treated? Like, not with "foam" but with actual proper materials? Are you objective enough to mix your own...