Multimodal interactions drive chromatin phase separation and compaction