Text this: Phasing out of darkness: from sterile neutrino dark matter to neutrino masses via time-dependent mixing