This midcentury courtyard house refurbishment project by William Smalley is the result of the architect’s close work with clients and the building’s original fabric