Housing affordability is expected to get worse before it gets better as high construction costs weigh on new supply.