The use of did instead of do in that sentence is called "the past of politeness" and it's completely grammatical even when it is a question about a present desire. ". For example, suppose you see a complete stranger wandering through the halls of the office building where you work.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.