.app-guest #guest-content:has(.shore-print) .hero {
  width: min(1060px, calc(100% - 64px));
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
  align-items: center;
  column-gap: clamp(1rem, 3vw, 3rem);
  row-gap: clamp(2rem, 4vw, 4rem);
}
.hero:has(.shore-print) > * {
  grid-column: 1 / -1;
  min-width: 0;
}
.app-guest #guest-content .hero:has(.shore-print) .hero-copy {
  grid-column: 1;
  padding: 0;
}
.app-guest #guest-content .hero:has(.shore-print) #hero-title {
  --ceremony-size: clamp(3.8rem, 6.5vw, 6.5rem);
  text-wrap: balance;
}
.hero:has(.shore-print) .shore-print {
  grid-column: 2;
  position: relative;
  margin: 0;
  padding: 8px 8px 0;
  background: #fffcf2;
  box-shadow:
    0 3px 6px #291d111a,
    0 14px 30px -16px #291d1177;
  transform: rotate(1.6deg);
}
.shore-print img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.35;
  object-fit: cover;
  object-position: 63% center;
}
.shore-print figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.48rem 0.35rem 0.6rem;
  color: #384b40;
}
.shore-print figcaption span {
  font:
    1.65rem/1.15 'Pinyon Script',
    cursive;
}
.shore-print time {
  font:
    0.85rem/1.25 'Cormorant Garamond',
    serif;
  letter-spacing: 0.08em;
}
.hero:has(.shore-print) .guest-arrival {
  justify-self: center;
}
.hero:has(.shore-print) .letter-spread {
  grid-template-columns: 1.1fr 1fr;
  grid-template-areas: 'table dedication';
  width: 100%;
  margin: 1rem 0;
  background: color-mix(in srgb, var(--olive) 74%, #11271f);
  color: #fffaf0;
}
.hero:has(.shore-print) .letter-bouquet {
  display: none;
}
.hero:has(.shore-print) .letter-table {
  aspect-ratio: 1.35;
  height: 100%;
}
.hero:has(.shore-print) .letter-dedication {
  align-self: center;
  color: inherit;
  padding: 1.1rem clamp(1.4rem, 3vw, 3rem) 1.1rem 0.3rem;
}
@media (max-width: 700px) {
  .app-guest #guest-content:has(.shore-print) .hero {
    width: calc(100% - 44px);
    display: flex;
    gap: 1.6rem;
  }
  .app-guest #guest-content .hero:has(.shore-print) #hero-title {
    --ceremony-size: clamp(2.85rem, 11vw, 4.1rem);
  }
  .hero:has(.shore-print) .shore-print {
    width: 96%;
    align-self: center;
  }
  .shore-print img {
    aspect-ratio: 1.6;
  }
  .hero:has(.shore-print) .letter-spread {
    grid-template-columns: 1fr;
    grid-template-areas: 'table' 'dedication';
    gap: 0;
  }
  .hero:has(.shore-print) .letter-table {
    aspect-ratio: 1.6;
  }
  .hero:has(.shore-print) .letter-dedication {
    padding: 1.5rem;
    max-width: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .invitation-opened .shore-print img {
    animation: shore-light 1.5s ease-out both;
  }
  @keyframes shore-light {
    from {
      opacity: 0.55;
    }
    to {
      opacity: 1;
    }
  }
}

.editorial-photos {
  margin: 1.5rem 0;
  display: grid;
  gap: 0.75rem;
}
.editorial-photos img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 18rem;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}
.venue-gallery {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}
.venue-gallery img {
  aspect-ratio: 1.6;
  max-height: 22rem;
}
.venue-gallery figcaption {
  grid-column: 1 / -1;
  font: 0.85rem/1.5 var(--sans, sans-serif);
  color: var(--muted);
}
.newspaper-invitation-card .editorial-photos {
  max-width: 16rem;
}
.rsvp-copy .editorial-photos img {
  aspect-ratio: 1.8;
}
@media (max-width: 700px) {
  .editorial-photos img {
    aspect-ratio: 2.2;
  }
  .venue-gallery img {
    aspect-ratio: 1.6;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .app-guest #guest-content .hero:has(.shore-print) #hero-title {
    --ceremony-size: clamp(2rem, 11svh, 3.5rem);
  }
}
