Text this: Strain localisation in mechanically layered rocks beneath detachment zones