One thought is to build the loft so that the space is flexible (eg barn doors to open / close it off).