Fundamental physics from large-scale structure: Theory modeling and neutrino masses