Stiffening of matter in quark-hadron continuity