/* RSVP across the photo (core/rsvp/210, fork of core/rsvp/190), INV-22 Crisp · Luxe (A2737, D-417): a close-up (gallery.3, the rings) bleeds off the top-right;
   RSVP, giant, crosses its foot, ink on the paper and white on the photo. Below, left-aligned: the reply-by date in italic, one line, then one white card
   with a hairline: lines to write on, "Dear Emma & James" in script, the guest's name written in script by the fork's signature mirror, Send filled ink.
   The script is unchanged, line for line: Send saves, then WhatsApp opens 4 s later (D-156). No photo: RSVP in ink on paper. Laptop: the photo half on the
   left, RSVP crossing the seam, the card in the paper half. */
.rs210 { position: relative; color: var(--k-cr-ink); }
.rs210 .rs210__card { width: 100%; }
.rs210 .rs210__s { margin: 14px 0 24px; text-wrap: balance; }
/* under the sheet, so it can't push the letter down when it appears after Send */
.rs210-mine { margin: 22px auto 0; }
.rs210-mine__t { margin-bottom: 12px; font-size: 1rem; }
.rs210__plain { margin-top: 8px; }
/* One white card on the paper; Send is filled ink. */
.rs210-form { position: relative; display: grid; gap: 0; max-width: 500px; margin: 0 auto; padding: clamp(28px, 6vw, 46px) clamp(24px, 6vw, 46px) 28px; text-align: left; color: var(--k-cr-ink); color-scheme: light; }
.rs210-form select option { color: #141414; background: #fff; }
.rs210-form input:-webkit-autofill { -webkit-box-shadow: 0 0 0 60px #FFFFFF inset; -webkit-text-fill-color: #161616; }
.rs210 .rs210-dear { margin: 0 0 14px; padding: .1em 0; color: var(--k-cr-ink); font-size: calc(clamp(48px, 13vw, 64px) * var(--k-cr-z)); line-height: 1.05; text-align: left; text-wrap: balance; overflow-wrap: anywhere; }
.rs210__ink, .rs210-yes { display: grid; gap: 0; }
.rs210-yes[hidden] { display: none; }
/* fields are lines on the sheet */
.rs210-field, .rs210-choice { display: block; min-width: 0; margin: 0; padding: 14px 0 0; border: 0; border-radius: 0; background: transparent; }
.rs210-field__l { display: block; margin-bottom: 2px; padding: 0; font: italic 400 1.0625rem/1.3 var(--k-font-display); color: var(--k-cr-soft); }
.rs210-field:has(select) { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 2px; border-bottom: 1px solid var(--k-cr-rule); }
.rs210-field:has(select) .rs210-field__l { margin: 0; }
.rs210-field:has(select) .rs210-input { width: 62px; min-height: 36px; border: 0; font: 400 1.5rem/1 var(--k-font-body); text-align: right; padding-right: 22px; }
.rs210-field__l i { font-style: normal; font-weight: 400; color: var(--k-cr-soft); }
.rs210-choice { display: grid; grid-template-columns: 1fr 1fr; padding-top: 0; }
.rs210-choice legend { float: left; width: 100%; grid-column: 1 / -1; margin-bottom: 8px; }
.rs210-opt { position: relative; display: grid; justify-items: center; gap: 8px; padding: 6px 0; text-align: center; cursor: pointer; font-size: 1.0625rem; line-height: 1.25; }
.rs210-opt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
/* accept or decline, a choice lands in three held frames */
.rs210-opt__i { width: 40px; height: 38px; fill: transparent; stroke: var(--k-cr-rule); stroke-width: 1.5; transition: fill .2s; }
.rs210-opt__i--no { fill: none; stroke-width: 2; stroke-linecap: round; }
.rs210-opt input:checked ~ .rs210-opt__i--yes { fill: var(--k-cr-ink); stroke: var(--k-cr-ink); }
.rs210-opt input:checked ~ .rs210-opt__i--no { stroke: var(--k-cr-ink); stroke-width: 3; }
.rs210-opt input:checked ~ .rs210-opt__i { animation: rs210-pick 320ms steps(3, end); }
@keyframes rs210-pick { from { transform: scale(.82); } }
.rs210-opt input:checked ~ .rs210-opt__t { font-weight: 400; }
.rs210-opt input:focus-visible ~ .rs210-opt__i { outline: 2px solid var(--k-cr-ink); outline-offset: 3px; }
.rs210-input, .rs210-sig__in { display: block; width: 100%; min-height: 40px; padding: 6px 0; border: 0; border-bottom: 1px solid var(--k-cr-rule); border-radius: 0; background: transparent; color: var(--k-cr-ink); font: 400 max(16px, 1.0625rem)/1.3 var(--k-font-body); -webkit-appearance: none; appearance: none; }
.rs210-input:focus, .rs210-sig__in:focus { outline: none; border-bottom-color: var(--k-cr-ink); }
.rs210-input:is(select) { padding-right: 20px; background: linear-gradient(45deg, transparent 50%, var(--k-cr-ink) 50%) right 8px center / 6px 6px no-repeat, linear-gradient(-45deg, transparent 50%, var(--k-cr-ink) 50%) right 2px center / 6px 6px no-repeat; }
/* a note on ruled lines */
.rs210-input--note { min-height: 96px; padding: 0; border: 0; font: italic 400 1.1875rem/32px var(--k-font-display); background: repeating-linear-gradient(transparent 0 31px, color-mix(in srgb, var(--k-cr-rule) 55%, transparent) 31px 32px); background-attachment: local; resize: vertical; }
/* the name, written: the field's own text is see-through, and the mirror on it wipes each new letter on (section.js) */
.rs210-sig { position: relative; display: block; }
.rs210 .rs210-sig__in { height: 54px; min-height: 54px; padding: 12px 0 2px; font: 400 calc(38px * var(--rs210-k, 1))/40px var(--k-font-script); color: transparent; -webkit-text-fill-color: transparent; caret-color: var(--k-cr-ink); }
.rs210-sig__ink { position: absolute; left: 0; top: 0; display: flex; align-items: center; height: 54px; padding: 12px 0 2px; font: 400 calc(38px * var(--rs210-k, 1))/40px var(--k-font-script); color: var(--k-cr-ink); white-space: pre; pointer-events: none; clip-path: inset(-.6em -.8em -.6em -.8em); }
.rs210-sig__ink.is-writing { transition: clip-path var(--rs210-wt, .16s) linear; }
html.motion-reduce .rs210-sig__ink.is-writing { transition: none; }
.rs210-help { margin: 8px 0 2px; padding: 0; font: italic 400 .9375rem/1.3 var(--k-font-display); color: var(--k-cr-soft); }
.rs210-evs { display: grid; gap: 0; }
.rs210-day { padding: 6px 4px 0; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; }
.rs210-ev { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; padding: 8px 0 4px; border-bottom: 1px solid color-mix(in srgb, var(--k-cr-rule) 45%, transparent); }
.rs210-ev__n { font-weight: 400; }
.rs210-ev__d { grid-row: 2; font-size: .9375rem; color: var(--k-cr-soft); }
.rs210-ev .rs210-ev__c { grid-column: 2; grid-row: 1 / span 2; width: auto; min-width: 62px; min-height: 34px; border: 0; font: 400 1.25rem/1 var(--k-font-body); text-align: right; padding-right: 22px; }
.rs210-extra { display: grid; gap: 0; }
.rs210-late, .rs210-err { padding: 0 4px; font-size: .96875rem; }
.rs210-err { color: var(--k-cr-ink); }
.rs210-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rs210 .rs210-send { justify-self: center; min-height: 50px; margin-top: 22px; padding: 0 60px; font-size: .875rem; }
.rs210-small { margin-top: 12px; text-align: center; font-size: .875rem; font-style: italic; color: var(--k-cr-soft); }
.rs210 .rs210-thanks { margin: 4px 0 0; text-align: center; font: 400 1.0625rem/1.5 var(--k-font-body); }
.rs210 .rs210-thanks[hidden], .rs210 .rs210-extra:empty { display: none; }
/* after Send: the chosen heart or cross and the thanks stay; the fields fold away (is-sent, is-chosen: the script's) */
.rs210 .rs210-form.is-sent .rs210-field, .rs210 .rs210-form.is-sent .rs210-send, .rs210 .rs210-form.is-sent .rs210-small, .rs210 .rs210-form.is-sent .rs210-yes,
.rs210 .rs210-form.is-sent .rs210-late, .rs210 .rs210-form.is-sent .rs210-err, .rs210 .rs210-form.is-sent .rs210-opt:not(.is-chosen), .rs210 .rs210-form.is-sent .rs210-choice > .rs210-field__l { display: none; }
.rs210 .rs210-form.is-sent .rs210-choice { grid-template-columns: 1fr; background: transparent; }
/* The card on one clock: the fields fade, then the thank-you arrives as the card eases shut (section.js, A2324) */
.rs210 .rs210-form.is-closing :is(.rs210-field, .rs210-yes, .rs210-send, .rs210-small, .rs210-extra, .rs210-opt) { opacity: 0; transition: opacity .45s ease; }
/* the script adds the thank-you just before it holds the height, so it takes no room until the fields are gone, or the sheet hops taller first */
.rs210 .rs210-form:not(.is-sent) .rs210-thanks { position: absolute; visibility: hidden; }
.rs210 .rs210-form.is-sent .rs210-thanks { animation: rs210-thanks 1.1s ease .5s backwards; }
@keyframes rs210-thanks { from { opacity: 0; } }
.rs210 .rs210__note { font-style: italic; color: var(--k-cr-soft); }
.rs210 .rs210-form { margin-top: 8px; }


/* the crossing */
.rs210 .rs210__words { display: flex; flex-direction: column; align-items: stretch; }
.rs210 .rs210__side { display: flex; flex-direction: column; align-items: flex-start; }
.rs210 .rs210__by { font: italic 400 calc(20px * (var(--k-cr-z) + .1))/1.4 var(--k-font-display); }
.rs210 .rs210__s { margin: 10px 0 24px; text-wrap: balance; }
.rs210 .rs210__note { font: 300 calc(15px * (var(--k-cr-z) + .1))/1.5 var(--k-font-body); font-style: normal; color: var(--k-cr-soft); }
.rs210 .rs210-form { width: 100%; }
@media (max-width: 999px), (orientation: portrait) {
  .rs210 { --rs210-h: clamp(220px, 34svh, 400px); }
  .rs210 .rs210__f { position: absolute; top: 0; left: 30vw; right: 0; height: var(--rs210-h); }
  .rs210 .rs210__big { font-size: min(30vw, 260px); left: calc(5vw - 30vw); top: calc(100% - .5em); }
  .rs210 .rs210__words { padding: calc(var(--rs210-h) + min(30vw, 260px) * .5 + clamp(22px, 4svh, 40px)) var(--k-gutter) var(--k-section-pad); }
  .rs210:not(:has(.rs210__ph)) .rs210__big { color: var(--k-cr-ink); }
}
@media (min-width: 1000px) and (orientation: landscape) {
  .rs210 .rs210__big { display: none; }
  .rs210 .rs210-form { margin-left: 0; }
}

/* The join above this section (A2754, the owner's pick F): its script word on a line. The space above the line (ja) and below it (jb) read equal,
   counting the space the two sections already leave there (the gallery ends on a full pad; the reply's photo starts at the top). */
.rs210 { --rs210-ja: 0px; --rs210-jb: var(--k-section-pad); margin-top: calc(var(--rs210-ja) + var(--k-cr-join-h) + var(--rs210-jb)); }
.rs210 > .k-cr-join { bottom: calc(100% + var(--rs210-jb)); }
@media (min-width: 1000px) and (orientation: landscape) { .rs210 { --rs210-ja: 0px; --rs210-jb: var(--k-section-pad); } }

/* ---------- The sent card (A2774; the owner: "can we make the closed/submitted card more premium, It looks a bit cheap for now") ----------
   After Send the card is set like a magazine's reply card: "Reply received" between two short rules, "Dear Emma & James,", the answer as a headline
   (ACCEPT or DECLINE giant, "with pleasure" or "with regret" in italic under it), the guest's own signature in script on a rule, the thanks in italic,
   a double hairline frame, and the cover's black roundel ("Thank you", WITH LOVE running round) half off its corner. The layer presses the roundel on
   a fresh Send; here it simply sits there, so lite, Reduce motion and a return visit show the same card. The script is unchanged: these are looks on
   its is-sent state. While the card closes, everything on it fades, then the new card fades in as it eases shut. */
.rs210-rcv, .rs210-stk { display: none; }
.rs210 .rs210-form.is-closing .rs210-dear { opacity: 0; transition: opacity .45s ease; }
.rs210 .rs210-form.is-sent { padding: clamp(30px, 7vw, 48px) clamp(22px, 6vw, 44px) calc(clamp(92px, 26vw, 112px) * .5 + 34px); text-align: center;
  box-shadow: 0 0 0 1px var(--k-cr-rule), inset 0 0 0 7px var(--k-cr-card), inset 0 0 0 8px var(--k-cr-rule); }
html:not(.motion-reduce) .rs210 .rs210-form.is-sent :is(.rs210-rcv, .rs210-dear, .rs210__ink) { animation: rs210-thanks 1.1s ease .15s backwards; }
.rs210 .rs210-form.is-sent .rs210-rcv { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 16px;
  font: 400 calc(10.5px * (var(--k-cr-z) + .1))/1 var(--k-font-body); letter-spacing: .32em; text-transform: uppercase; color: var(--k-cr-soft); }
.rs210 .rs210-form.is-sent .rs210-rcv::before, .rs210 .rs210-form.is-sent .rs210-rcv::after { content: ""; width: 28px; border-top: 1px solid var(--k-cr-rule); }
.rs210 .rs210-form.is-sent .rs210-dear { margin: 0 0 4px; text-align: center; font-size: calc(clamp(40px, 11vw, 58px) * var(--k-cr-z)); }
/* the answer, as a headline: the first line (ACCEPT, DECLINE) giant Bodoni capitals, the rest in italic */
.rs210 .rs210-form.is-sent .rs210-opt { gap: 12px; padding: 10px 0 0; cursor: default; }
.rs210 .rs210-form.is-sent .rs210-opt__i { width: 22px; height: 21px; animation: none; }
.rs210 .rs210-form.is-sent .rs210-opt__t { font: italic 400 calc(clamp(22px, 6.4vw, 30px) * var(--k-cr-z))/1.2 var(--k-font-display); }
.rs210 .rs210-form.is-sent .rs210-opt__t::first-line { font: normal 400 calc(clamp(44px, 14vw, 76px) * var(--k-cr-z))/.95 var(--k-font-display); letter-spacing: .04em; text-transform: uppercase; }
/* the guest's own signature, kept, centred on a short ink rule */
.rs210 .rs210-form.is-sent .rs210-field--sig { display: block; padding-top: 26px; }
.rs210 .rs210-form.is-sent .rs210-field--sig .rs210-field__l { display: none; }
.rs210 .rs210-form.is-sent .rs210-sig { width: min(100%, 230px); margin: 0 auto; }
.rs210 .rs210-form.is-sent .rs210-sig__in { border-bottom-color: var(--k-cr-ink); }
.rs210 .rs210-form.is-sent .rs210-sig__ink { left: 0; right: 0; justify-content: center; }
.rs210 .rs210-form.is-sent .rs210-thanks { max-width: 21em; margin: 22px auto 0; font: italic 400 calc(17px * (var(--k-cr-z) + .1))/1.5 var(--k-font-display); color: var(--k-cr-soft); text-wrap: balance; }
/* the roundel: the cover's sticker come back, half off the card's lower right corner */
.rs210 .rs210-form.is-sent .rs210-stk { display: block; position: absolute; right: clamp(10px, 4vw, 30px); bottom: calc(clamp(92px, 26vw, 112px) * -.5); width: clamp(92px, 26vw, 112px); aspect-ratio: 1; rotate: -12deg; pointer-events: none; }
.rs210-stk svg { display: block; width: 100%; height: 100%; overflow: visible; }
.rs210-stk circle { fill: var(--k-cr-ink); }
.rs210-stk .rs210-stk__in { fill: none; stroke: rgb(255 255 255 / .5); stroke-width: .6; }
.rs210-stk text { fill: #FFFFFF; }
.rs210-stk .rs210-stk__ring { font: 400 8.6px var(--k-font-body); letter-spacing: 2.2px; }
.rs210-stk .rs210-stk__t { font: italic 400 19px var(--k-font-display); text-anchor: middle; }
/* what you replied, in small capitals under the card, and a quiet link to change it */
.rs210 .rs210-mine { margin: clamp(64px, 16vw, 84px) auto 0; text-align: center; }
.rs210 .rs210-mine__t { margin: 0 auto 6px; max-width: 30em; font: 400 calc(10.5px * (var(--k-cr-z) + .1))/1.8 var(--k-font-body); letter-spacing: .26em; text-transform: uppercase; color: var(--k-cr-soft); text-wrap: balance; }
.rs210 .rs210-mine .rs210-change { min-height: 44px; padding: 0 6px; border: 0; border-radius: 0; background: none; color: var(--k-cr-ink); font-size: calc(10.5px * (var(--k-cr-z) + .1));
  letter-spacing: .26em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }
