/* Give the itinerary and reply their own stable, non-overlapping columns. */
.program-section {
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  column-gap:clamp(38px,5vw,72px);
  row-gap:28px;
}
.program-section>.section-heading,
.program-section>.schedule,
.rsvp-section>.rsvp-intro,
.rsvp-section>.rsvp-paper { min-width:0; }
.program-section .section-heading,
.rsvp-intro { position:relative;top:auto; }
.program-section h2 { font-size:clamp(48px,5.5vw,72px); }
.program-section .section-heading>p[data-date] {
  max-width:100%;font-size:13px;line-height:1.7;
}
.schedule li {
  min-width:0;
  grid-template-columns:minmax(0,1fr) 72px;
  column-gap:16px;
}
.schedule li>* { min-width:0; }
.schedule h3 { font-size:clamp(28px,2.8vw,36px); }
.schedule-art img { width:72px;max-width:100%; }
.schedule li>p:not(.schedule-time),
.schedule a { overflow-wrap:break-word; }
.schedule-footnote { min-width:0; }

/* Form text stays level and opaque while the invitation moves around it. */
.rsvp-section {
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  column-gap:clamp(38px,5vw,72px);
}
.rsvp-intro h2 { font-size:clamp(44px,4.8vw,62px); }
.rsvp-paper {
  isolation:isolate;
  background-color:#edf0e7;
  background-image:linear-gradient(#edf0e7ed,#edf0e7ed),var(--paper-stock);
  background-size:auto,680px 680px;
}
.rsvp-paper form,
.rsvp-paper fieldset,
.rsvp-paper .person,
.rsvp-paper label { min-width:0;max-width:100%; }
.rsvp-paper label { position:relative;white-space:normal; }
.rsvp-paper input:not([type=checkbox]):not([type=radio]),
.rsvp-paper select,
.rsvp-paper textarea {
  display:block;max-width:100%;min-width:0;
  font-family:var(--sans);font-size:16px;line-height:1.5;
  transform:none;translate:none;animation:none;transition:none;
  background-color:#fcfbf7;
}
.rsvp-paper textarea {
  min-height:104px;
  resize:vertical;
  overflow:auto;
  overscroll-behavior:contain;
}
.rsvp-paper textarea::placeholder {
  color:#66747b;opacity:1;line-height:1.5;
}

@media(max-width:1000px) and (min-width:761px) {
  .program-section,
  .rsvp-section { grid-template-columns:minmax(0,1fr);row-gap:34px; }
  .program-section .section-heading { max-width:610px;padding-top:0; }
  .program-section h2 { font-size:58px; }
  .program-section .watercolor-accent {
    position:absolute;right:0;bottom:0;width:150px;height:100px;margin:0;
  }
  .schedule { margin-top:0; }
  .schedule li { grid-template-columns:minmax(0,1fr) 90px; }
  .schedule li>p:not(.schedule-time) { max-width:420px; }
  .schedule-footnote { grid-column:1; }
  .rsvp-intro { max-width:610px; }
  .rsvp-intro h2 { font-size:58px; }
  .rsvp-intro>p:not(.eyebrow):not(.handwritten) { max-width:550px; }
}
@media(max-width:760px) {
  .program-section h2 { font-size:clamp(43px,12.5vw,53px); }
  .program-section .watercolor-accent {
    position:static;display:block;width:130px;height:86px;
    margin:12px 0 -12px auto;
  }
  .schedule li { grid-template-columns:minmax(0,1fr) 60px;column-gap:12px; }
  .schedule h3 { font-size:32px; }
  .schedule-art img { width:60px; }
  .rsvp-intro h2 { font-size:clamp(41px,12.4vw,50px); }
}
