Developers looking to build offices, research facilities and hotels in Palo Alto will have to significantly up their contribution toward solving the city's affordable-housing crisis under a new law that the City Council passed Monday night.