Complex band structure and bound states in the continuum: A unified theoretical framework | Synapse