Adaptive responses of sterically confined intramolecular chalcogen bonds