Shadow Calculus