/* Illustrated invitation chapters for the three days of celebrations. */
#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-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-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: 8px; letter-spacing: 1.7px; border-color: var(--burgundy); background: var(--burgundy); color: var(--paper); }
.event-copy .event-map:hover { background: var(--burgundy-dark); border-color: var(--burgundy-dark); 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; }
}

/* Allow the complete three-day schedule to breathe on short screens. */
.event-screen { height: auto; min-height: max(800px, 100svh); max-height: none; padding-bottom: 100px; }
.event-copy { padding-top: clamp(100px, 15svh, 160px); }
.event-subtitle { margin-top: 8px; font: italic 20px/1.3 var(--serif); color: var(--muted); }
.event-schedule { margin: 18px auto 0; font: 400 18px/1.4 var(--serif); color: var(--muted); }
.event-schedule > div + div { margin-top: 8px; }
.event-schedule dt { color: var(--burgundy); }
.event-schedule dd { margin: 0; font-style: italic; }
.event-haldi .event-copy { padding-top: clamp(80px, 12svh, 130px); }
.event-haldi h3 { font-size: clamp(39px, 10vw, 58px); }
@media (max-width: 370px) {
  .event-copy { width: 86%; }
  .event-schedule { font-size: 17px; }
  .event-subtitle { font-size: 18px; }
}

/* Keep wedding details inside the paper area above the illustrated canopy. */
.event-wedding .event-copy { padding-top: clamp(85px, 13svh, 140px); width: 84%; }
.event-wedding h3 { margin-bottom: 18px; }
.event-wedding .event-location { margin-top: 22px; font-size: 16px; line-height: 1.4; }
.event-wedding .event-venue { font-size: 24px; margin-bottom: 8px; }
.event-wedding .event-map { margin-top: 16px; }

/* Dedicated, fully coloured celebration artwork; copy stays on clear paper. */
.event-haldi { min-height: max(900px, 100svh); }
.event-haldi .event-copy { width: 84%; padding-top: clamp(115px, 14svh, 140px); }
.event-haldi .event-location { font-size: 16px; line-height: 1.4; }
.event-haldi .event-venue { font-size: 24px; margin-bottom: 8px; }
.event-haldi .event-map { margin-top: 16px; }

/* Named celebrations and labelled palettes for guests planning their outfits. */
.event-dress { margin: 21px auto 0; color: var(--muted); font: italic 17px/1.5 var(--serif); }
.event-dress .event-dress-label { margin-bottom: 5px; font: 400 8px/1.6 var(--serif); letter-spacing: 1.8px; color: var(--burgundy); }
.event-swatches { display: flex; justify-content: center; gap: 9px; margin-top: 10px; }
.event-swatches span { display: block; width: 19px; height: 19px; border-radius: 50%; background: var(--swatch); border: 1px solid #6c2e3126; box-shadow: 0 0 0 3px #fff9ef; }
.event-functions { margin: 25px auto 0; padding: 0 18px; border: 1px solid #a47b4133; border-radius: 100px 100px 5px 5px / 35px 35px 5px 5px; background: #fcf5eceb; }
.event-function { padding: 24px 0; }
.event-function + .event-function { border-top: 1px solid #a47b4133; }
.event-function-kind { font: 400 8px/1.6 var(--serif); letter-spacing: 2px; color: var(--muted); }
.event-function h4 { margin: 7px 0; font: 400 clamp(30px, 8vw, 42px)/1.15 var(--script); color: var(--burgundy); text-wrap: balance; }
.event-function-time { font: italic 16px/1.4 var(--serif); color: var(--muted); }
.event-function .event-dress { margin-top: 15px; font-size: 16px; }
.event-haldi { padding-bottom: 180px; }
.event-engagement, .event-wedding { padding-bottom: 180px; min-height: max(1000px, 100svh); }
.event-wedding h3 { margin-bottom: 0; }
.event-wedding .event-date { margin-top: 20px; }
.event-copy h3 { text-wrap: balance; }
@media(max-width:370px) {
  .event-copy h3 { font-size: 40px; }
  .event-dress { font-size: 16px; }
  .event-functions { padding-inline: 12px; }
}
/* Keep the shared address legible where the taller schedule reaches the artwork. */
.event-haldi .event-location { padding: 18px 12px; border-radius: 5px; background: #fcf5ecf5; }
