/* NYC POS Atlas page: intro, then the live map. One gutter sets the
   page's side margins and the space under the fixed header. On desktop the map is a full-width
   16:9 frame; on phones and tablets it takes the screen height under the header instead. */
:root { --atlas-gutter: clamp(16px, 4vw, 24px); }
@media (min-width: 1024px) { :root { --atlas-gutter: clamp(24px, 2.2vw, 32px); } }
.atlas-page { display: block; padding-top: calc(var(--atlas-top, 66px) + var(--atlas-gutter)); }
.atlas-live { padding: 0 var(--atlas-gutter) clamp(96px, 10vw, 160px); scroll-margin-top: calc(var(--atlas-top, 66px) + var(--atlas-gutter)); }
.atlas-frame { position: relative; width: 100%; height: calc(100svh - var(--atlas-top, 66px) - 2 * var(--atlas-gutter)); min-height: 520px;
  border-radius: 16px; overflow: hidden; isolation: isolate; }
@media (min-width: 1024px) {
  .atlas-frame { height: auto; min-height: 0; aspect-ratio: 16 / 9; border-radius: 18px; }
}
.atlas-frame iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; background: transparent; }


/* Intro above the map, sharing the map's left and right edges. */
.atlas-page .atlas-article { max-width: none; margin: 0; padding-left: var(--atlas-gutter); padding-right: var(--atlas-gutter); }
.atlas-page .atlas-intro { padding-top: clamp(24px, 4vw, 56px); padding-bottom: clamp(48px, 5vw, 72px); }
.atlas-body { margin-top: clamp(40px, 5vw, 72px); }
.atlas-body p { margin: 0; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.7; text-wrap: pretty; }
/* Full-screen link: the site's primary pill, sized down a step. */
.atlas-page .atlas-open { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: clamp(32px, 3.5vw, 48px); padding: 0 24px; font-size: clamp(16px, 1.2vw, 18px); font-weight: 500; text-decoration: none; }
:root.dark .atlas-page .atlas-open { background: #3d7bf7; color: #fff; }
:root.dark .atlas-page .atlas-open:hover { background: #316ce8; color: #fff; }
.atlas-open svg { flex: none; transition: transform 200ms ease; }
.atlas-open:hover svg { transform: translate(2px, -2px); }
.atlas-page .atlas-intro .article-head, .atlas-page .atlas-intro h1 { max-width: none; }
/* Title, then a large muted subtitle on its own line. */
.atlas-head h1 { font-size: clamp(48px, 5.6vw, 88px); font-weight: 500; line-height: 1; letter-spacing: -.05em; }
.atlas-subtitle { margin: clamp(16px, 1.8vw, 28px) 0 0; font-size: clamp(26px, 2.7vw, 42px); font-weight: 400; line-height: 1.15; letter-spacing: -.035em; color: var(--muted-text); text-wrap: balance; }
@media (prefers-reduced-motion: reduce) { .atlas-open svg { transition: none; } }
