/* The RSVP page guests reach from an invitation's QR code (served by rsvpPage in server.js). */
.rs-hero { position: relative; min-height: 34vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden;
  background: radial-gradient(120% 90% at 20% 0%, var(--hero-a, #f7c46f) 0%, var(--hero-b, #e39424) 45%, var(--hero-c, #8a5a12) 100%); }
.rs-hero.has-cover { background: #1f1b16; }
.rs-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rs-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,15,8,.05) 20%, rgba(20,15,8,.72) 100%); }
.rs-hero-in { position: relative; z-index: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: calc(40px + env(safe-area-inset-top)) 20px 54px; text-align: center; }
.rs-kick { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; opacity: .92; }
.rs-hero h1 { font-family: var(--serif); font-size: clamp(32px, 8vw, 46px); line-height: 1.05; margin: 10px 0 0; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.rs-hero p { margin: 10px auto 0; max-width: 420px; font-style: italic; opacity: .92; }
.rs-main { max-width: 560px; margin: -30px auto 0; padding: 0 16px calc(40px + env(safe-area-inset-bottom)); position: relative; z-index: 2; }
.rs-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 20px; margin-bottom: 14px; }
.rs-when { display: grid; gap: 10px; }
.rs-when div { display: grid; grid-template-columns: 64px 1fr; gap: 10px; font-size: 15px; }
.rs-when b { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.rs-card h2 { font-family: var(--serif); font-size: 24px; margin: 0 0 4px; }
.rs-card .hint { margin: 0 0 6px; color: var(--muted); font-size: 14px; }
.rs-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 6px; }
.rs-choice label { position: relative; cursor: pointer; }
.rs-choice input { position: absolute; opacity: 0; pointer-events: none; }
.rs-choice span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 10px; border: 1.5px solid var(--line-2); border-radius: 16px;
  font-weight: 700; text-align: center; transition: border-color .15s, background .15s; }
.rs-choice span i { font-style: normal; font-size: 26px; line-height: 1; }
.rs-choice input:checked + span { border-color: var(--honey); background: var(--honey-soft); box-shadow: 0 0 0 3px rgba(242,169,59,.18); }
.rs-choice input:focus-visible + span { outline: 2px solid var(--honey); outline-offset: 2px; }
.rs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rs-row .field { margin: 8px 0; }
.rs-step { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); overflow: hidden; }
.rs-step button { width: 44px; height: 46px; border: 0; background: var(--surface-2); font-size: 20px; cursor: pointer; color: var(--ink); }
.rs-step input { border: 0 !important; box-shadow: none !important; text-align: center; min-width: 0; font-weight: 700; }
.rs-yes-only[hidden] { display: none; }
.rs-err { color: var(--bad); font-size: 14px; margin: 8px 0 0; min-height: 1em; }
.rs-done { text-align: center; padding: 8px 0; }
.rs-done .big { font-size: 46px; line-height: 1; }
.rs-done h2 { margin-top: 10px; }
.rs-sum { margin: 14px 0; padding: 12px 14px; background: var(--surface-2); border-radius: 14px; text-align: left; font-size: 14.5px; line-height: 1.55; }
.rs-foot { text-align: center; color: var(--muted); font-size: 13px; margin-top: 18px; }
.rs-foot a { color: inherit; font-weight: 600; text-decoration: none; }
.rs-contact { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); text-align: center; }
.rs-menu { margin: 10px 0 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.rs-menu h3 { font-family: var(--serif); font-size: 21px; margin: 0; }
.rs-menu .hint { margin: 2px 0 10px; }
.rs-picks { list-style: none; padding: 0; margin: 8px 0 0; font-size: 14px; }
.rs-picks li { margin: 3px 0; }
