How Ryan Gosling’s 'dream' casting for ‘Project Hail Mary’ came through

How Ryan Gosling’s 'dream' casting for ‘Project Hail Mary’ came through??