#rsvp {
  position: relative;
  padding: 90px 24px 100px;
  background: linear-gradient(rgb(52 4 12 / 64%), rgb(52 4 12 / 72%)), url('./burgundy-botanical-wallpaper.webp') center / cover;
  border-top: 7px solid #ad8955;
  color: #fff0d9;
  scroll-margin-top: 80px;
}
#rsvp .rsvp-wrap { max-width: 700px; margin: auto; }
#rsvp .rsvp-intro { text-align: center; margin-bottom: 42px; }
#rsvp .rsvp-eyebrow { font: 500 11px/1.6 Cinzel, Georgia, serif; letter-spacing: .24em; }
#rsvp h2 { margin: 10px 0; font: 600 clamp(48px, 7vw, 72px)/1.1 'Cormorant Garamond', Georgia, serif; letter-spacing: -.035em; color: #fff0d9; }
#rsvp .rsvp-description { font: italic 24px/1.5 'Cormorant Garamond', Georgia, serif; }
#rsvp .rsvp-ornament { display: flex; align-items: center; justify-content: center; gap: 20px; color: #c7a36b; font-size: 38px; margin: 16px auto 0; }
#rsvp .rsvp-ornament span { height: 1px; width: 90px; background: linear-gradient(90deg, transparent, #c7a36b); }
#rsvp .rsvp-ornament span:last-child { transform: rotate(180deg); }
#rsvp .rsvp-card { display: grid; grid-template-columns: 1fr; border: 1px solid #bc985f; padding: 8px; border-radius: 24px; background: #fff7e9; box-shadow: 0 24px 70px rgb(20 2 6 / 35%); color: #482b30; }
#rsvp .rsvp-form-panel { padding: 40px 36px; }
#rsvp h3 { font: 600 32px/1.15 'Cormorant Garamond', Georgia, serif; letter-spacing: -.02em; color: #711324; }
#rsvp .rsvp-form-note { font: 19px/1.5 'Cormorant Garamond', Georgia, serif; margin: 8px 0 26px; }
#rsvp .rsvp-attendance { border: 0; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-width: 0; }
#rsvp legend, #rsvp .rsvp-field label { font: 600 16px/1.4 'Cormorant Garamond', Georgia, serif; color: #482b30; margin-bottom: 8px; }
#rsvp .rsvp-choice { display: flex; gap: 8px; align-items: center; padding: 14px 12px; border: 1px solid #d9c8ae; border-radius: 10px; font: 600 16px/1.2 'Cormorant Garamond', Georgia, serif; cursor: pointer; background: #fffaf1; }
#rsvp .rsvp-choice.is-selected { border-color: #8a2639; color: #711324; background: #f7ece6; box-shadow: inset 0 0 0 1px #8a2639; }
#rsvp input[type='radio'] { accent-color: #711324; width: 16px; height: 16px; flex-shrink: 0; }
#rsvp .rsvp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
#rsvp .rsvp-field { display: flex; flex-direction: column; min-width: 0; margin-bottom: 20px; }
#rsvp .rsvp-field input, #rsvp select, #rsvp textarea { width: 100%; min-width: 0; border: 1px solid #d9c8ae; border-radius: 9px; padding: 12px 14px; font: 16px/1.4 Georgia, serif; color: #482b30; background: #fffdf8; font-variant-numeric: lining-nums; transition: border-color .2s, box-shadow .2s; }
#rsvp .rsvp-field input, #rsvp select { min-height: 48px; }
#rsvp textarea { resize: vertical; min-height: 100px; }
#rsvp input::placeholder, #rsvp textarea::placeholder { color: #8b7772; font-size: 14px; }
#rsvp input:focus, #rsvp select:focus, #rsvp textarea:focus { outline: 2px solid #bc985f; outline-offset: 2px; border-color: #8a2639; }
#rsvp .rsvp-submit { width: 100%; min-height: 52px; border: 1px solid #8b3843; border-radius: 12px; padding: 14px 22px; color: #fff0d9; background: linear-gradient(120deg, #711324, #390810); font: 600 18px/1.3 'Cormorant Garamond', Georgia, serif; cursor: pointer; box-shadow: 0 6px 16px rgb(71 9 20 / 12%); transition: filter .2s; }
#rsvp .rsvp-submit:hover { filter: brightness(1.18); }
#rsvp .rsvp-submit span { float: right; }
#rsvp .rsvp-availability { font: 15px/1.5 'Cormorant Garamond', Georgia, serif; color: #79625d; text-align: center; margin-top: 14px; }
#rsvp form[hidden] { display: none; }
#rsvp .rsvp-preview { padding-top: 12px; outline: none; }
#rsvp .rsvp-preview .rsvp-eyebrow { color: #8c6533; margin-bottom: 12px; }
#rsvp .rsvp-preview-name { font: italic 28px/1.3 'Cormorant Garamond', Georgia, serif; margin: 22px 0; overflow-wrap: anywhere; }
#rsvp dl > div { padding: 12px 0; border-bottom: 1px solid #e4d6c2; }
#rsvp dt { font: 600 14px/1.5 'Cormorant Garamond', Georgia, serif; color: #8c6533; }
#rsvp dd { font: 18px/1.5 'Cormorant Garamond', Georgia, serif; overflow-wrap: anywhere; white-space: pre-wrap; margin: 2px 0 0; }
#rsvp .rsvp-preview .rsvp-submit { margin-top: 22px; }
@media (max-width: 760px) {
  #rsvp { padding: 64px 20px 72px; }
  #rsvp .rsvp-card { grid-template-columns: 1fr; border-radius: 24px; }
  #rsvp .rsvp-form-panel { padding: 28px 18px 24px; }
  #rsvp h3 { font-size: 29px; }
  #rsvp .rsvp-fields { grid-template-columns: 1fr; }
  #rsvp .rsvp-choice { font-size: 16px; padding: 14px 10px; }
}
@media (max-width: 360px) {
  #rsvp { padding-left: 14px; padding-right: 14px; }
  #rsvp .rsvp-form-panel { padding-left: 12px; padding-right: 12px; }
  #rsvp .rsvp-attendance { grid-template-columns: 1fr; }
}
