How architecture transformed Beirut from a provincial Ottoman port into a Mediterranean capital and why preserving those layers still matters today.