Star formation quenching precedes morphological transformation in COSMOS-Web’s richest galaxy groups | Synapse