Galaxies with grains: unraveling dust evolution and extinction curves with hydrodynamical simulations | Synapse