Blue Sky Thinking

Yes, we know it's a thing. What does it mean? Who first said it? What if it's raining? Please don't say it.