Pathway to surface-induced phase transition of a confined fluid | Synapse