@font-face {
  font-family: "Invitation Pinyon";
  src: url('../../../assets/fonts/PinyonScript-Regular.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: "Invitation Instrument";
  src: url('../../../assets/fonts/InstrumentSerif-Regular.woff2') format('woff2');
  font-display: swap;
}
html, body { height: auto; min-width: 0; overflow: visible; }
.hero { min-height: 0; }
.photobooth { margin: 0; }
.heading { position: absolute; margin: 0; padding: 0; }
.announcement {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  margin: 0;
  font: 400 18px/1.2 Arial, sans-serif;
  text-align: center;
  white-space: nowrap;
}
.hero-names { font-weight: 500; }
.photo-strip { background: var(--ivory); }
.date { position: absolute; text-align: center; }
.date-caption {
  margin: 0;
  height: 56px;
  font: 400 48px/1.2 "Invitation Pinyon", "Invitation HanWang", "Satsuki Gendai Mincho", serif;
  white-space: nowrap;
}
.date-digits {
  display: block;
  font: 400 42px/1 "Invitation Instrument", serif;
  white-space: nowrap;
}
.artwork { background-image: var(--invitation-artwork, none); }
.photo-strip img[data-failed] { visibility: hidden; }
html { scroll-behavior: auto; scroll-padding-top: 0; }
.hero { height: 100svh; min-height: 0; }
body[data-design="invitation"] { --agenda-red: var(--burgundy); --paper: var(--ivory); background-color: var(--burgundy); background-blend-mode: var(--texture-blend, normal); }
.agenda-poster, .agenda-seam { background-color: var(--burgundy); background-blend-mode: var(--texture-blend, normal); }
body[data-design="invitation"] .artwork,
body[data-design="invitation"] .heading,
body[data-design="invitation"] .date { filter: none; }
html[data-thumbnail] { overflow: hidden; }
html[data-thumbnail] main > :not(.hero) { display: none !important; }
.agenda-heading h2 { width: 76cqw; overflow: hidden; }
.agenda-display, .agenda-small { max-width: 100%; }
.agenda-signature { overflow: hidden; }
.directions, .keepsake-paper p, .contact-details, .closing-signature, .footer-date { overflow-wrap: anywhere; white-space: pre-line; }
.agenda-pause { opacity: 1; }
html[data-still] .agenda-film { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.invitation-unavailable { min-height: 100svh; display: grid; place-items: center; padding: 32px; background: #6d0005; color: #dbd3c5; text-align: center; font-family: "Satsuki Gendai Mincho", serif; }
.invitation-unavailable section { max-width: 32rem; }
.invitation-unavailable h1 { margin: 0 0 16px; font-size: clamp(28px, 5vw, 48px); font-weight: 400; }
.invitation-unavailable p { margin: 0 0 24px; line-height: 1.8; }
.invitation-unavailable a { color: inherit; text-underline-offset: 5px; }
.unavailable-mark { font-size: 28px; letter-spacing: .2em; }

.photo-strip .hero-photo-window { position: absolute; left: 4px; width: 83px; overflow: hidden; }
.hero-photo-window:nth-child(1) { top: 0; height: 69px; }
.hero-photo-window:nth-child(2) { top: 75px; height: 63px; }
.hero-photo-window:nth-child(3) { top: 144px; height: 64px; }
.hero-photo-window:nth-child(4) { top: 210px; height: 66px; }
.photo-strip .hero-photo-window img { position: static; width: 100%; height: 100%; }
.agenda-photo-window { min-height: 0; overflow: hidden; }
.note-photo-window { height: 42cqw; overflow: hidden; }
.keepsake-photo .note-photo-window img { height: 100%; }

.lace-heart { width: min(100%, var(--portrait-section-width, 0px)); }
.invitation-collage {
  width: min(100%, calc(var(--portrait-section-width, 0px) * 1.12));
  padding-inline: 0;
  margin-bottom: 8px;
}
.day-section { container-type: inline-size; overflow: hidden; }
.agenda-poster { margin-top: -24cqw; }
