Text this: Stratifications and foliations in phase portraits of gene network models