/* Invitation refinements: readable editorial typography and a gracious reply card. */
@font-face{font-family:InvitationText;src:url('invitation-text-regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:InvitationText;src:url('invitation-text-italic.ttf') format('truetype');font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:InvitationText;src:url('invitation-text-bold.ttf') format('truetype');font-weight:600 800;font-style:normal;font-display:swap}
#storybook .film-copy p:not(.chapter-label){
 font-family:var(--handwritten);font-weight:400;font-size:clamp(1rem,1.7vw,1.12rem);line-height:1.7;letter-spacing:.002em;color:#563d34
}
#storybook .film-copy p.poem{font-family:var(--handwritten);font-style:italic;font-size:clamp(.98rem,1.6vw,1.07rem);line-height:1.6;color:#86563f;margin-top:17px}

/* Restrict the new visual style to the RSVP area, keeping the rest of the royal invitation intact. */
#rsvp{font-family:var(--handwritten);background:radial-gradient(ellipse at 50% 0,#fffaf0 0,#f9edda 57%,#f0dfbf 100%);padding:clamp(43px,7vw,76px) 15px clamp(45px,7vw,70px)}
#rsvp .rsvp-heading{max-width:600px;margin:0 auto 30px}
#rsvp .rsvp-heading .section-title{font:400 clamp(2.3rem,5.5vw,3.3rem)/1.12 var(--handwritten);letter-spacing:-.045em;color:#681d38;margin-top:9px}
#rsvp .rsvp-heading .eyebrow{font-family:var(--handwritten);font-weight:600;font-size:.79rem;letter-spacing:.16em;color:#966634}
#rsvp .rsvp-heading p{font:400 clamp(.99rem,2.2vw,1.12rem)/1.75 var(--handwritten);max-width:520px;color:#684a42}
#rsvp .rsvp-heading p strong{display:inline-block;color:#72233d;font-weight:700;margin-top:5px}
#rsvp .rsvp-card{position:relative;max-width:650px;border:1px solid #bc9254;border-radius:24px;padding:clamp(25px,5vw,42px);background:linear-gradient(145deg,#fffdf7,#fff9eb);box-shadow:0 16px 42px #70472e18,0 3px 8px #ad865418}
#rsvp .rsvp-card:before{content:"";position:absolute;inset:7px;border:1px solid #e1c99c;border-radius:18px;pointer-events:none}
#rsvp .rsvp-card:after{content:"";position:absolute;top:0;left:25%;right:25%;height:2px;background:linear-gradient(90deg,transparent,#c49b57,transparent);pointer-events:none}
#rsvp .rsvp-card label,#rsvp .rsvp-card legend{font:700 1rem/1.45 var(--handwritten);color:#60233a}
#rsvp .rsvp-card .field{gap:8px;margin-bottom:19px}
#rsvp .field input,#rsvp .field select,#rsvp .field textarea{
 font:400 1rem/1.45 var(--handwritten);color:#4d282c;background:#fffefa;border:1px solid #d2bfa4;border-radius:10px;
 min-height:49px;padding:12px 13px;transition:border-color .16s,box-shadow .16s;
}
#rsvp .field input::placeholder,#rsvp .field textarea::placeholder{color:#8a796b;font-style:italic}
#rsvp .field input:focus,#rsvp .field select:focus,#rsvp .field textarea:focus{outline:0;border-color:#a86b53;box-shadow:0 0 0 3px #d8b37b33}
#rsvp .rsvp-note{font:400 .86rem/1.65 var(--handwritten);color:#72584b}
#rsvp #contactHint{text-align:left;color:#76594d}
#rsvp .choices{gap:11px;margin:3px 0 22px}
#rsvp .choice span{font:400 .96rem/1.45 var(--handwritten);border:1px solid #cfb490;background:#fffdf5;border-radius:10px;padding:14px 8px;min-height:56px;display:flex;align-items:center;justify-content:center;gap:6px}
#rsvp .choice span:before{content:"";width:12px;height:12px;border:1px solid #b4916f;flex:0 0 12px;border-radius:50%;box-shadow:inset 0 0 0 3px #fffdf5;background:#fffdf5}
#rsvp .choice input:checked+span{font-weight:700;border-color:#8d3c55;background:#f9e9e8;color:#681d38;box-shadow:0 0 0 1px #8d3c55}
#rsvp .choice input:checked+span:before{background:#85334c;border-color:#85334c}
#rsvp .choice input:focus-visible+span{outline:3px solid #e7bb76;outline-offset:3px}
#rsvp .rsvp-card .guest-count-section{margin:4px 0 24px;padding:16px 15px 13px;border:1px solid #d0ad72;border-radius:15px;background:linear-gradient(145deg,#fcf1db,#fff9eb)}
#rsvp .guest-count-section legend{padding:0 8px;font-size:1.08rem;margin-bottom:1px}
#rsvp .count-instruction{font:400 .89rem/1.55 var(--handwritten);color:#765646;margin:0 0 16px}
#rsvp .guest-count-section .counts{gap:14px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#rsvp .guest-count-section .field{margin:0 0 13px}
#rsvp .guest-count-section select{cursor:pointer;appearance:none;padding-right:31px;background:#fffefa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%2372253e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 11px center/16px}
#rsvp .guest-count-section select:disabled{cursor:default;background-color:#f3ecdf;color:#928475;opacity:.6}
#rsvp .guest-total{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ddc6a1;padding-top:11px;color:#6b2940;font:600 .95rem/1.4 var(--handwritten)}
#rsvp .guest-total output{min-width:41px;min-height:30px;padding:4px 10px;border-radius:100px;text-align:center;background:#6f253e;color:#fff5df;font-size:.98rem;font-variant-numeric:tabular-nums}
#rsvp .rsvp-card .blessing-card{background:#fff8e9;border-color:#d9bf92;border-radius:14px;padding:17px 14px 15px;margin:4px 0 23px}
#rsvp .blessing-card p{font:400 .88rem/1.6 var(--handwritten);color:#755544}
#rsvp .blessing-option{font:400 .89rem/1.45 var(--handwritten);padding:9px 12px;min-height:43px}
#rsvp .blessing-option.selected{font-weight:700}
#rsvp .rsvp-submit{font:700 1.05rem/1.45 var(--handwritten);letter-spacing:.02em;min-height:53px;border:1px solid #ad7756;background:linear-gradient(120deg,#54142c,#852e4c);box-shadow:0 6px 18px #58152e25;color:#fff5df;margin-top:3px}
#rsvp .phone-rsvp{max-width:650px;margin-top:20px;border:1px solid #c7a56d;border-radius:17px;padding:24px 18px;background:#fff9ed}
#rsvp .phone-rsvp h3{font:400 1.35rem/1.4 var(--handwritten);color:#762b43}
#rsvp .phone-rsvp .smallcaps{font-family:var(--handwritten);font-weight:600;color:#936534;letter-spacing:.13em}
#rsvp .phone-rsvp a{font:400 .92rem/1.5 var(--handwritten);border-color:#cfb181;min-height:44px;padding:9px 13px;max-width:100%;overflow-wrap:anywhere}
#rsvp .phone-rsvp p a{border:0;border-radius:0;text-decoration:underline;text-underline-offset:4px;min-height:35px;padding:4px 0}
#rsvp .email-status{font:400 1rem/1.6 var(--handwritten)}
.footer .parent-blessing{font:400 italic clamp(1rem,2.5vw,1.13rem)/1.8 var(--handwritten);color:#f2dbba;max-width:520px;margin:16px auto 0;padding:0 7px}
@media(max-width:740px){
 #storybook .film-copy p:not(.chapter-label){font-size:.96rem;line-height:1.53}
 #rsvp .rsvp-card{padding:29px 19px;border-radius:20px}
 #rsvp .rsvp-card:before{inset:6px;border-radius:15px}
 #rsvp .rsvp-heading{margin-bottom:24px}
 #rsvp .rsvp-heading .eyebrow{font-size:.73rem}
 #rsvp .rsvp-card .guest-count-section{padding:14px 12px 12px}
 #rsvp .choice span{font-size:.9rem;padding:11px 7px}
 #rsvp .blessing-options{gap:7px}
 #rsvp .blessing-option{font-size:.85rem}
}
@media(max-width:350px){#storybook .film-copy p:not(.chapter-label){font-size:.91rem;line-height:1.46}#rsvp .rsvp-card{padding:25px 16px}#rsvp .choice span{font-size:.84rem;gap:4px}}
