Unveiling the third dimension: vertical structure as a probe of planet formation conditions