.native-city-footer {
  position: relative;
  border: 0;
  padding: 0;
  background: #293738;
}

.city-scene {
  --city-height: clamp(320px, 33.333vw, 800px);
  position: relative;
  height: var(--city-height);
  isolation: isolate;
  overflow: hidden;
  background: var(--paper);
}

.city-art {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: max(100%, calc(var(--city-height) * 3));
  aspect-ratio: 3 / 1;
  transform: translateX(-50%);
}

.city-illustration,
.city-activity {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.city-illustration {
  transition: filter 420ms ease-out;
}

.city-activity {
  pointer-events: none;
}

.city-scene::before {
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  height: min(19%, 124px);
  background: linear-gradient(to bottom, var(--paper), transparent);
  pointer-events: none;
  content: '';
}

[data-theme-mode='morning'] .city-illustration { filter: sepia(.11) saturate(.91); }
[data-theme-mode='afternoon'] .city-illustration { filter: sepia(.07) saturate(1.05); }
[data-theme-mode='evening'] .city-illustration { filter: brightness(.55) saturate(.74) hue-rotate(12deg); }

.city-footer-credit {
  padding-block: 15px;
  color: #fffdf7;
  font-size: .8rem;
}

.city-footer-credit a:hover { color: white; }

@media (max-width: 520px) {
  .city-scene { --city-height: clamp(160px, 49vw, 255px); }
  .city-art { transform: translateX(-53%); }
  .city-footer-credit { gap: 3px 12px; padding-block: 10px; }
}

html[data-motion='paused'] .city-illustration {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .city-illustration { transition: none; }
}
