/* Two illustrated invitation chapters, each filling one mobile screen. */
#celebration { padding: 0; isolation: isolate; }
.event-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.event-chapters { list-style: none; padding: 0; margin: 0; }
.event-screen {
  position: relative;
  isolation: isolate;
  height: 100svh;
  min-height: 620px;
  max-height: 1100px;
  overflow: hidden;
  text-align: center;
  color: var(--burgundy);
  background: var(--paper);
}
.event-art { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.event-paper { position: absolute; inset: 0; z-index: -1; background: linear-gradient(#fcf5ec9c, #fcf5ecbf), url('/assets/embossed-paper.webp') center/cover; }
.event-phool::before { content: ''; position: absolute; inset: 7% 7% 9%; border: 1px solid #a47b4150; border-radius: 180px 180px 3px 3px; pointer-events: none; }
.event-phool::after { content: '✧'; position: absolute; left: 0; bottom: 15%; width: 100%; color: var(--gold); font-size: 36px; }
.event-copy { position: relative; width: 76%; max-width: 420px; margin: 0 auto; padding-top: clamp(110px, 18svh, 198px); }
.event-eyebrow { font: 400 8px/1.6 var(--serif); letter-spacing: 2px; color: var(--burgundy); }
.event-copy h3 { margin: 14px 0 0; font: 400 clamp(44px, 11vw, 64px)/1.08 var(--script); color: var(--burgundy); }
.event-copy h3 span { display: block; }
.event-copy .event-couple { margin-top: 13px; font: 400 27px/1.2 var(--serif); }
.event-couple i { color: var(--gold); }
.event-ornament { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 15px auto; font-size: 16px; line-height: 1; color: var(--gold); }
.event-ornament::before,.event-ornament::after { content: ''; width: 30px; height: 1px; background: currentColor; opacity: .6; }
.event-date { display: block; font: 400 clamp(20px, 5.3vw, 26px)/1.25 var(--serif); }
.event-time { margin-top: 5px; font: italic 19px/1.3 var(--serif); color: var(--muted); }
.event-lagnam { margin-top: 4px; font: 400 16px/1.3 var(--serif); color: var(--muted); }
.event-location { margin-top: 18px; font: 400 17px/1.35 var(--serif); color: var(--muted); }
.event-location .event-venue { margin-bottom: 3px; font: 400 25px/1.15 var(--serif); color: var(--burgundy); }
.event-copy .event-map { margin-top: 19px; min-height: 44px; padding: 10px 20px; font-size: 9px; letter-spacing: 1.5px; border-color: #a47b41b3; background: #fcf5ecf2; }
.event-copy .event-map:hover { background: var(--burgundy); color: var(--paper); }
.event-chapter { position: absolute; bottom: 20px; left: 0; width: 100%; font: 400 8px/1.4 var(--serif); letter-spacing: 2px; color: var(--burgundy); text-shadow: 0 0 8px var(--paper), 0 0 4px var(--paper); }
@media(min-width:761px) {
  .event-copy h3 { font-size: 64px; }
  .event-screen { min-height: 850px; }
}
@media(max-width:370px) {
  .event-eyebrow { font-size: 7px; letter-spacing: 1.4px; }
  .event-copy h3 { font-size: 43px; }
  .event-location { font-size: 16px; }
  .event-location .event-venue { font-size: 23px; }
}
@media(max-height:700px) and (max-width:760px) {
  .event-screen { min-height: 560px; }
  .event-copy { padding-top: 17svh; }
  .event-copy h3 { font-size: 40px; margin-top: 9px; }
  .event-copy .event-couple { font-size: 23px; margin-top: 8px; }
  .event-ornament { margin: 10px auto; }
  .event-date { font-size: 20px; }
  .event-time { font-size: 17px; }
  .event-location { margin-top: 11px; font-size: 15px; }
  .event-location .event-venue { font-size: 22px; }
  .event-copy .event-map { margin-top: 12px; }
}

.event-wedding .event-copy { padding-top: 14svh; }
.event-wedding h3 { margin-bottom: 22px; }
@media(max-height:700px) and (max-width:760px) {
  .event-wedding .event-copy { padding-top: 12svh; }
  .event-wedding h3 { margin-bottom: 16px; }
}
