The historic gift comes as the LGBTQ youth crisis nonprofit faces staffing shortages and the loss of federal 988 funding.