/* Scene overlays; all animated properties remain compositor/SVG drawing properties. */
/* Keep the native scrollbar available for freely skipping through concepts. */
.artboard > img, #water-art { mix-blend-mode: darken; }
#face-closed { mix-blend-mode: normal; } /* Closed eyelids must cover the open irises. */
#face { mix-blend-mode: darken; }
.map-board > img { mix-blend-mode: normal; }
.hotspot-popover { transform: none; }
.hotspot-fallback { display: block; }
.js .story { padding-bottom: 110px; }
.feature-label { max-width: none; right: auto; text-align: center; }
.bridge-caption { position: absolute; top: 89%; left: 0; width: 100%; margin: 0; padding: 12px 8px; font-size: 13px; line-height: 1.7; color: var(--accent); text-align: center; background: linear-gradient(transparent, var(--paper) 30%); }
#name-connection { z-index: 0; }
#water-window { transform-origin: center; }
#water-caption { z-index: 3; padding: 4px 8px; background: rgb(245 242 235 / .9); }
#hero #river-flow { opacity: .62; }
#hero [id^='ring-'] { transform-box: fill-box; transform-origin: center; }
body[data-scene='s0']:not(.reduced-motion) #hero [id^='ring-'] { animation: marker-breathe 3.8s ease-in-out infinite; }
body[data-scene='s0']:not(.reduced-motion) #hero #river-flow { animation: river-drift 5s linear infinite; }
body[data-scene='s3']:not(.reduced-motion) .flow-dashes { animation: river-drift 3s linear infinite; }
body[data-scene='s3']:not(.reduced-motion) .ripple { transform-origin: 541px 1138px; animation: ripple-expand 4s ease-out infinite; }
body[data-scene='s3']:not(.reduced-motion) .ripple-1 { animation-delay: -1.3s; }
body[data-scene='s3']:not(.reduced-motion) .ripple-2 { animation-delay: -2.6s; }
body[data-scene='s3']:not(.reduced-motion) .sink { animation: particle-sink 5s linear infinite; }
body[data-scene='s3']:not(.reduced-motion) .sink-1,
body[data-scene='s3']:not(.reduced-motion) .sink-4 { animation-delay: -2s; }
body[data-scene='s3']:not(.reduced-motion) .sink-2,
body[data-scene='s3']:not(.reduced-motion) .sink-5 { animation-delay: -3.8s; }
@keyframes marker-breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.065); } }
@keyframes river-drift { to { stroke-dashoffset: -84; } }
@keyframes ripple-expand { from { transform: scale(.75); opacity: .7; } to { transform: scale(1.3); opacity: 0; } }
@keyframes particle-sink { from { transform: translateY(-45px); opacity: 0; } 20% { opacity: .65; } to { transform: translateY(110px); opacity: 0; } }
@media (max-width: 999px) {
  .map-indicator { width: 158px; padding: 8px 10px; font-size: 12px; }
  .map-indicator dl > div { display: flex; flex-wrap: wrap; gap: 0 7px; margin-top: 4px; }
  .map-indicator dt { font-size: 12px; }
  .map-indicator[data-place='fields'] { left: 15%; top: 10%; }
  .map-indicator[data-place='shops'] { left: 50%; top: 38%; }
  .map-indicator[data-place='city'] { left: 20%; top: 68%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (min-width: 600px) and (max-width: 999px) {
  .artboard, .map-board { width: min(124vw, 60svh); left: calc((100vw - min(124vw, 60svh)) / 2); }
}
