Coherent cohomology of Shimura varieties, motivic cohomology, and archimedean $L$-packets