:is([data-hero-strip], .offer-cover-photo) {
  --start-radius: clamp(1.2rem, 3vw, 3.2rem);
}
[data-hero-strip="overview"] { --start-inset: 17%; }
.offer-cover-photo { --start-inset: 12%; }
[data-hero-strip="panoramic"] { --start-inset: 9%; }
@media (max-width: 720px) {
  [data-hero-strip="overview"] { --start-inset: 8%; }
  .offer-cover-photo { --start-inset: 6%; }
  [data-hero-strip="panoramic"] { --start-inset: 4%; }
}

@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  @supports (animation-timeline: scroll()) and (animation-range: 0px 58svh) {
    :is([data-hero-strip], .offer-cover-photo) {
      animation: hero-open-frame linear both;
      animation-timeline: scroll(root block);
      animation-range: 0px 58svh;
    }
    @keyframes hero-open-frame {
      from { clip-path: inset(0 var(--start-inset) round var(--start-radius)); }
      to { clip-path: inset(0 0% round 0px); }
    }
  }
  /* Browsers without scroll timelines receive the same progress from JS. */
  [data-hero-scroll-fallback] {
    clip-path: inset(0 calc(var(--start-inset) * var(--closed)) round calc(var(--start-radius) * var(--closed)));
  }
}
@media (prefers-reduced-motion: reduce) {
  .offer-cover-photo { clip-path: inset(0 var(--al-gutter) round 1rem); }
}
