/* Full-bleed proposal only. The other proposals and <=900px keep their originals. */
@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
  body[data-page="home"] #scenes-track[data-mode="fullbleed"] .ph[data-outpaint-pending] > img,
  body[data-page="home"] #scenes-track[data-mode="fullbleed"] .scene:has(.ph[data-outpaint-pending])::after,
  body[data-page="home"] #scenes-track[data-mode="fullbleed"] .scene:has(.ph[data-outpaint-pending]) .body {
    opacity: 0;
  }
  body[data-page="home"] #scenes-track[data-mode="fullbleed"] .ph[data-outpaint-ready] {
    animation: season-outpaint-reveal .28s ease-out both;
  }
}
@keyframes season-outpaint-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (min-width: 901px) {
  body[data-page="home"] #scenes-track[data-mode="fullbleed"] .scene .ph[data-outpaint-ready] {
    filter: saturate(.68) brightness(.78);
    transition: filter .52s ease;
  }
  body[data-page="home"] #scenes-track[data-mode="fullbleed"] .scene.is-active .ph[data-outpaint-ready] {
    filter: saturate(.9) brightness(.98);
  }
  body[data-page="home"] #scenes-track[data-mode="fullbleed"] .scene .ph[data-outpaint-ready] > img {
    position: absolute;
    top: 0;
    left: var(--outpaint-center);
    width: var(--outpaint-portrait-width);
    max-width: none;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: translateX(-50%);
    filter: none;
    /* Only soften the outer background edges; the model and bag stay opaque. */
    mask-image: linear-gradient(90deg, transparent, #000 var(--outpaint-feather, 14px), #000 calc(100% - var(--outpaint-feather, 14px)), transparent);
    transition: none;
  }
  body[data-page="home"] #scenes-track[data-mode="fullbleed"] .scene .season-outpaint-background {
    position: absolute;
    top: 0;
    left: var(--outpaint-background-center);
    width: var(--outpaint-plate-width);
    height: 100%;
    background: center / cover no-repeat;
    transform: translateX(-50%);
    pointer-events: none;
  }
  body[data-page="home"] #scenes-track[data-mode="fullbleed"] .scene:has([data-outpaint-ready])::after {
    /* Resting copy sits in the extended left background, clear of each product. */
    background: linear-gradient(90deg, rgba(22,18,15,.7), rgba(22,18,15,.5) 22%, rgba(22,18,15,.12) 42%, transparent 62%);
  }
  body[data-page="home"] #scenes-track[data-mode="fullbleed"] .scene:has([data-outpaint-ready]) .body {
    right: auto;
    max-width: 240px;
  }
  body[data-page="home"] #scenes-track[data-mode="fullbleed"] .scene:has([data-outpaint-ready]) .body p {
    text-wrap:wrap;
  }
}
@media (min-width: 901px) {
  /* Expanded card: copy takes the free width of the card, so the sentence only wraps when the card is truly too narrow. */
  body[data-page="home"] #scenes-track[data-mode="fullbleed"] .scene.is-active:has([data-outpaint-ready]) .body {
    right: 22px;
    max-width: none;
  }
  body[data-page="home"] #scenes-track[data-mode="fullbleed"] .scene.is-active:has([data-outpaint-ready]) .body p {
    max-width: none;
  }
  /* Copy can now reach past the outpainted left band; darken the lower edge so white type stays legible. */
  body[data-page="home"] #scenes-track[data-mode="fullbleed"] .scene.is-active:has([data-outpaint-ready])::after {
    background:
      linear-gradient(90deg, rgba(22,18,15,.7), rgba(22,18,15,.5) 22%, rgba(22,18,15,.12) 42%, transparent 62%),
      linear-gradient(0deg, rgba(22,18,15,.66), rgba(22,18,15,.5) 16%, rgba(22,18,15,.18) 34%, rgba(22,18,15,0) 50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] #scenes-track .scene .ph[data-outpaint-ready] {
    transition: none;
    animation: none;
  }
}
