A 4-valued framework encompassing intuitionistic and classical logic