Abstract The layered cobaltate CaCoO2 exhibits a unique herringbone-like structure. Serving as a potential prototype for a new class of complex lattice patterns, we study the properties of CaCoO2 using X-ray absorption spectroscopy (XAS) and resonant inelastic X-ray scattering (RIXS). Our results reveal a significant inter-plane hybridization between the Ca 4s- and Co 3d- orbitals, leading to an inversion of the textbook orbital occupation of a square planar geometry.