/* Homepage only. Desktop and the existing title reveal retain their own styles. */
@media (max-width: 767px) {
  #accueil .hero-frame.mobile-pan-ready {
    left: 0;
    top: var(--pan-top);
    width: var(--pan-width);
    height: var(--pan-height);
    max-width: none;
    object-fit: cover;
    object-position: center;
    animation: none;
    transition: none;
    transform: translate3d(var(--pan-end), 0, 0);
  }

  #accueil .hero-frame.mobile-pan-running {
    will-change: transform, opacity;
  }

  /* Stationary scrim: readable white wordmark over every part of the photograph. */
  #accueil:has(.mobile-pan-ready) .hero-shade {
    background: linear-gradient(0deg, #11120f88, transparent 90%),
      linear-gradient(180deg, #11120f20 10%, #11120f55 36%, #11120f40 62%, transparent);
  }
}
