Inhomogeneous Fluid Approach to Solvation Thermodynamics. 1. Theory | Synapse