at; on; during; in the condition of ~
This pattern indicates the situation or condition in which an action or state occurs, meaning 'in the condition of'.
にあって is a formal, written-style expression that places an event or state within a particular context or circumstance. It is similar to 'in' or 'during' but emphasizes the surrounding conditions. It is often used in news reports, essays, and formal speeches, not in everyday conversation.
This pattern is interchangeable with で or において in many cases, but にあって adds a nuance of being in the middle of a situation, often with a sense of difficulty or adversity. For example, 非常時 (emergency) or 困難 (difficulty). It can also be used neutrally, like in a specific place or time.
Do not confuse it with にあたって, which marks an occasion for doing something (like a ceremony or commencement). にあって simply states the circumstances.