Dear friend, close is most frequently used as an adjective or a verb, but in can also be an adverb meaning 'closely, tightly; near, in proximity + close to the wind (an idiom)'. Context is crucial in classifying close as an adjective or an adverb, you are right. Respectfully, Gleb Chebrikoff
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.