/* Skeleton loaders: shimmer placeholder until the image has loaded.
   Only active when JS is running (html.js), so no-JS visitors still see images. */
:root { --dc-skel-base: #141414; --dc-skel-shine: #242424; }

@keyframes dc-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.dc-skel,
.dc-hero .dc-hero__image {
  background: linear-gradient(90deg, var(--dc-skel-base) 25%, var(--dc-skel-shine) 50%, var(--dc-skel-base) 75%);
  background-size: 200% 100%;
  animation: dc-shimmer 1.6s linear infinite;
}
.dc-skel.is-done { animation: none; background: var(--dc-skel-base); }
.dc-hero .dc-hero__image { animation-duration: 1.8s; }

.js .dc-skel img { opacity: 0; transition: opacity .45s ease; }
.js .dc-skel img.is-loaded { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .dc-skel, .dc-hero .dc-hero__image { animation: none; }
  .js .dc-skel img { transition: none; }
}
.dc-hero .dc-hero__image.is-loaded { animation: none; background: var(--dc-skel-base); }
