@media (max-width: 760px) {
  .home-intro [data-akoya-banner]:not(.home-has-video) .wedding-copy {
    align-self: stretch;
    align-items: center;
    text-align: center;
    padding-bottom: 14px;
  }

  .home-intro [data-akoya-banner]:not(.home-has-video) .wedding-link {
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    padding: 0 8px 5px;
  }
  .home-intro [data-akoya-banner] .wedding-link svg {
    width: 23px;
    height: 18px;
    transform: rotate(90deg);
  }
  .home-intro [data-akoya-banner] .wedding-link::after {
    content: none;
  }

  /* Percent coordinates are also read by the existing rounded-corner renderer. */
  .home-intro section[data-akoya-banner]:not(.home-has-video) .wedding-image {
    --selection-clip: polygon(0 13%, 50% 0, 100% 13%, 100% 100%, 0 100%);
    clip-path: var(--selection-clip);
  }

  /* Bring the next photo over the pearl photo, with one continuous fine seam. */
  .home-intro [data-akoya-banner]:not(.home-has-video) + .homepage-portals {
    --akoya-slope: 8vw;
    position: relative;
    z-index: 1;
    margin-top: calc(0px - var(--akoya-slope));
    clip-path: polygon(0 0, 100% var(--akoya-slope), 100% 100%, 0 100%);
  }
  .home-intro [data-akoya-banner]:not(.home-has-video) + .homepage-portals .portal-collage::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0 0 auto;
    height: calc(var(--akoya-slope) + 2px);
    background: white;
    clip-path: polygon(0 0, 100% var(--akoya-slope), 100% 100%, 0 2px);
    pointer-events: none;
  }
}

/* The three navigation photos switch to a horizontal strip at 721px. */
@media (min-width: 721px) and (max-width: 760px) {
  .home-intro [data-akoya-banner]:not(.home-has-video) + .homepage-portals {
    --akoya-slope: 3vw;
  }
}
