From Shapes to S8: Extracting precision cosmological constraints from the Hyper Suprime-Cam galaxy survey