/* A single reply card, continuous with the invitation's cream stationery. */
.rsvp.section {
  display: block; max-width: 760px; margin: 0 auto 76px; padding: 54px 70px 52px;
  color: var(--ink); background: #faf6ee url('assets/rsvp-paper.png') center/760px auto;
  border: 1px solid #d7c7aa; border-radius: 5px;
  box-shadow: 0 18px 36px -24px #735b4280, inset 0 0 0 5px #fffdf64d;
}
.rsvp:before { inset: 12px; border: 1px solid #c7ae815c; border-radius: 2px; }
.rsvp:after {
  display: block; width: 190px; height: 310px; left: -92px; bottom: -70px;
  opacity: .28; transform: rotate(12deg); z-index: -1;
}
.rsvp-intro { padding: 0; text-align: center; }
.rsvp .eyebrow { color: #8a6c42; font-size: 11px; letter-spacing: .2em; margin-bottom: 12px; }
.rsvp h2 { font-size: 56px; line-height: 1.12; color: #604b32; text-shadow: none; }
.rsvp-intro > p:not(.eyebrow) { font-size: 25px; line-height: 1.4; color: #887454; margin-top: 14px; }
.rsvp .small-monogram { display: none; }
.rsvp .form-card, .rsvp .form-card:focus-within {
  width: 100%; max-width: 480px; margin: 30px auto 0; padding: 28px 0 0;
  background: none; border: 0; border-top: 1px solid #d8c7a8;
  box-shadow: none; transform: none;
}
.rsvp .preview-note { justify-content: center; text-align: center; font-size: 15px; font-weight: 600; line-height: 1.6; margin: 0 0 26px; padding: 13px 16px; color: #604b32; background: #e7d9bd59; border-block: 1px solid #c7ae8173; }
.rsvp .preview-note > span { display: none; }
.rsvp form > label, .rsvp #count-group > label, .rsvp legend { font-size: 14px; line-height: 1.5; font-weight: 500; margin-bottom: 9px; }
.rsvp #count-group > label { font-size: 16px; font-weight: 600; color: #604b32; margin-bottom: 8px; }
.rsvp input[type=text] { min-height: 52px; font-size: 16px; border: 1px solid #ccb998; border-radius: 3px; background: #fffdf68c; box-shadow: none; padding: 13px 15px; }
.rsvp fieldset { margin: 24px 0; }
.rsvp .choices { gap: 12px; }
.rsvp .choice { padding: 14px 16px; min-height: 54px; font-size: 13px; gap: 10px; border-radius: 3px; background: #fffdf659; border: 1px solid #d4c4a8; box-shadow: none; }
.rsvp .choice:has(input:checked) { border-color: #a58652; background: #e7d9bd80; box-shadow: inset 0 0 0 1px #a586521a; }
.rsvp input[type=radio] { width: 17px; height: 17px; flex: 0 0 17px; }
.rsvp .field-help { font-size: 14px; font-weight: 500; color: #6b583e; line-height: 1.65; margin: 0 0 16px; }
.rsvp .stepper { height: 50px; border-radius: 3px; background: #fffdf680; }
.rsvp .stepper button { width: 50px; font-size: 23px; }
.rsvp .stepper input { width: 62px; font-size: 16px; }
.rsvp .submit { min-height: 54px; margin-top: 28px; font-size: 13px; }
.rsvp #confirmation { text-align: center; padding: 4px 0 8px; }
.rsvp #confirmation h3 { color: #604b32; }
.rsvp #confirmation .form-note { font-size: 12px; }
@media (max-width: 840px) {
  .rsvp.section { margin-inline: 28px; padding-inline: 54px; }
}
@media (max-width: 600px) {
  .rsvp.section { margin: 0 14px 48px; padding: 38px 28px 34px; }
  .rsvp:before { inset: 9px; }
  .rsvp:after { width: 130px; height: 220px; left: -85px; bottom: -65px; opacity: .16; }
  .rsvp h2 { font-size: clamp(37px, 10vw, 47px); }
  .rsvp-intro > p:not(.eyebrow) { font-size: 23px; margin-top: 12px; }
  .rsvp .form-card { margin-top: 24px; padding-top: 22px; }
  .rsvp .preview-note { font-size: 14px; margin-bottom: 23px; padding-inline: 12px; }
  .rsvp .choices { grid-template-columns: 1fr; gap: 10px; }
  .rsvp .choice { font-size: 14px; }
}
@media (max-width: 360px) {
  .rsvp.section { margin-inline: 10px; padding-inline: 23px; }
  .rsvp .submit { font-size: 12px; }
}
