Architect Peter Benoit of Melander Architects and his wife, Linda, transformed their 1,100-square-foot loft in a former steam engine factory in Emeryville, California, by installing a custom 16-by-17-by-10-foot wooden box that accommodates a bookcase on the outside, a bedroom on the inside, and a dressing-room mezzanine above.