Text this: Layer-selective magnetization switching in the chirped photonic crystal with GdFeCo