/* The live map page (/map/). Loaded after landing.css, whose tokens, masthead,
   buttons and footer it reuses. No inline styles (see site/_headers). */

.livemap {
  padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 6vw, 88px);
}
.livemap h1 {
  margin-top: 10px;
  font-size: clamp(1.875rem, 1.2rem + 2.6vw, 3rem);
}
.livemap__when {
  margin-top: 14px;
  min-height: 1.6em;
  color: var(--text-3);
  font: 400 0.9375rem/1.6 var(--mono);
}

.livemap__figure {
  position: relative;
  margin-top: clamp(20px, 3vw, 32px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-section);
  background: var(--surface);
}
/* width and height on the <img> reserve the 16:10 box before it loads, so
   nothing below it moves. */
.livemap__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 1000;
  transition: opacity 0.45s var(--ease), filter 0.45s var(--ease);
}
.livemap__figure.is-swapping .livemap__image {
  opacity: 0.35;
}
.livemap__figure.is-delayed .livemap__image {
  filter: grayscale(1) brightness(0.45);
}

.livemap__status {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
}
.livemap__status[hidden] {
  display: none;
}
.livemap__status span {
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(9, 10, 11, 0.82);
  color: var(--text);
  font-size: clamp(1rem, 0.8rem + 1vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.livemap__about {
  display: grid;
  gap: 12px;
  max-width: 68ch;
  margin-top: clamp(20px, 3vw, 32px);
}

.livemap__cta {
  display: grid;
  gap: 20px;
  margin-top: clamp(32px, 5vw, 56px);
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--border);
  border-radius: var(--radius-section);
  background: var(--panel);
}
.livemap__cta h2 {
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem);
}
.livemap__cta p {
  margin-top: 8px;
}

.livemap__notice {
  margin-top: clamp(24px, 4vw, 40px);
  max-width: 80ch;
}
.livemap__notice a {
  color: var(--text-2);
}

@media (min-width: 760px) {
  .livemap__cta {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}
