Text this: Electromagnetic inverse profiling of stratified media.