Simulations reveal ‘unprecedented details’ of a star’s evolutionary phase