
/* Narrow corrections to approved composition. Not the rejected book template. */
#top .couple-title .couple-title__text {position:static;display:block;width:auto;height:auto;margin:0;overflow:visible;clip-path:none;white-space:nowrap;font:400 clamp(32px,8.7vw,58px)/1.2 'Forum',serif}
#top .couple-title__arc {display:none}
#top .couple-title {width:100%;margin:12px auto 20px}
#top .couple-illustration {margin-top:0}
#top .hero-stage {--couple-w:min(100%,330px)}
.opening-names__arch text,.opening-home-preview__names text {font-family:'Forum',serif}
#main>section {--fold-edge:clamp(28px,5svh,52px)}
#rsvp .rsvp__intro {margin-bottom:24px}
#rsvp .field {margin-bottom:20px}
#rsvp .field__hint {font-size:12px;line-height:1.5;margin:6px 0 10px;opacity:.8}
#rsvp .stepper {display:grid;grid-template-columns:48px minmax(48px,80px) 48px;align-items:stretch;width:max-content;max-width:100%;border:1px solid currentColor;border-radius:4px;overflow:hidden}
#rsvp .stepper__btn {appearance:none;border:0;background:none;color:inherit;font:inherit;font-size:24px;line-height:1;min-width:44px;min-height:48px;cursor:pointer}
#rsvp .stepper__btn[hidden] {display:none}
#rsvp .stepper__btn:disabled,#rsvp .stepper__btn[aria-disabled="true"] {opacity:.4;cursor:not-allowed}
#rsvp .stepper__value {width:100%;min-width:0;text-align:center;border:0;border-inline:1px solid currentColor;border-radius:0;margin:0;padding:8px}
#rsvp .stepper:focus-within {outline:2px solid currentColor;outline-offset:4px}
#blessings .sacred {margin-bottom:20px}
#blessings .families {margin-top:20px;padding-block:20px}
#blessings .closing-wishes {margin-top:20px}

/* Preview interaction layer: original artwork and original content order, no external frame. */
.leaf-nav{display:none}
.leaf-ready #main{width:min(100%,780px);margin:0 auto;perspective:1600px}
.leaf-ready #main>section[hidden]{display:none!important}
.leaf-ready #main>section{min-height:calc(100svh - 64px);height:auto;box-sizing:border-box}
.leaf-ready .leaf-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(calc(100% - 40px),680px);margin:0 auto;padding:6px 0 12px;color:#76562e}
.leaf-nav button{border:0;border-bottom:1px solid #bc9b66;background:transparent;color:inherit;font:400 14px/1.4 'Forum',serif;letter-spacing:.04em;min-height:44px;padding:8px 4px;cursor:pointer}
.leaf-nav button:disabled{visibility:hidden}
.leaf-nav span{font:11px/1.4 'DM Sans',sans-serif;letter-spacing:.12em;opacity:.6}
.leaf-ready #main .reveal{opacity:1;transform:none}
.leaf-ready #top .hero-stage{--couple-w:min(100%,calc((100svh - 230px)*.6667),350px)}
.leaf-ready #blessings .prayer-lockup{margin-inline:auto}
@media(max-width:600px){.leaf-ready #blessings .families{padding:12px 4px;gap:10px;margin-top:14px}.leaf-ready #blessings .families__name{font-size:28px}.leaf-ready #blessings .blessings__elders{font-size:22px}.leaf-ready #blessings .sacred{margin-bottom:12px}.leaf-ready #blessings .closing-wishes{margin-top:12px}}
@media print{.leaf-nav{display:none!important}.leaf-ready #main>section[hidden]{display:block!important}}

/* Compact without clipping: retain one integrated reply and one closing composition. */
.leaf-ready #rsvp{padding:18px 0 24px;align-items:center}
.leaf-ready #rsvp .rsvp__inner{width:calc(100% - 28px);padding:76px 24px 24px}
.leaf-ready #rsvp .rsvp__intro{margin:0 0 16px}
.leaf-ready #rsvp .rsvp__intro .label{margin-bottom:6px}
.leaf-ready #rsvp .rsvp__intro h2{font-size:28px;margin:0 0 10px}
.leaf-ready #rsvp .rsvp__intro>p:last-child{font-size:13px;line-height:1.4;margin-bottom:0}
.leaf-ready #rsvp .rsvp-form{margin-top:0;padding:0}
.leaf-ready #rsvp .rsvp-form__fields{display:block;padding:0;margin:0}
.leaf-ready #rsvp .field{margin:0 0 12px}
.leaf-ready #rsvp .field__label{font-size:13px;margin-bottom:6px}
.leaf-ready #rsvp .field__hint{font-size:11px;margin:0 0 6px}
.leaf-ready #rsvp .stepper{grid-template-columns:44px 64px 44px;border-color:#b89b6a}
.leaf-ready #rsvp .stepper__btn{min-height:44px;font-size:20px}
.leaf-ready #rsvp .stepper__value{border-color:#b89b6a;height:44px}
.leaf-ready #rsvp .field__error:empty{display:none}
.leaf-ready #rsvp .side-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.leaf-ready #rsvp .side-choice{padding:8px;min-height:48px;gap:6px}
.leaf-ready #rsvp .side-choice span{font-size:12px;line-height:1.35}
.leaf-ready #rsvp .side-choice span:before{display:none}
.leaf-ready #rsvp .rsvp-form__actions{margin:12px 0 0}
.leaf-ready #rsvp .rsvp-form__actions button{min-height:44px;padding:10px 14px}
.leaf-ready #rsvp .rsvp-form__status:empty,.leaf-ready #rsvp .rsvp-form__detail:empty{display:none}
.leaf-ready #blessings{padding:20px 20px 24px}
.leaf-ready #blessings .prayer-lockup{max-width:350px;min-height:0}
.leaf-ready #blessings .prayer-lockup__ganesha{max-height:100px;object-fit:contain}
.leaf-ready #blessings .sacred{margin:0 0 14px}
.leaf-ready #blessings .blessings__lead{margin:0 0 10px}
.leaf-ready #blessings .blessings__elders{font-size:21px;margin:0 0 14px}
.leaf-ready #blessings .blessings__text{margin:0;font-size:12px;line-height:1.4}
.leaf-ready #blessings .families{margin-top:14px;padding:10px 8px;gap:6px}
.leaf-ready #blessings .families__name{font-family:'Forum',serif;font-size:26px}
.leaf-ready #blessings .families__parents{font-size:12px;margin:3px 0}
.leaf-ready #blessings .families__rel{margin-bottom:3px;font-size:10px}
.leaf-ready #blessings .families__with{font-size:24px;margin:4px 0}
.leaf-ready #blessings .closing-wishes__lead{font-size:10px;margin-bottom:8px}
.leaf-ready #blessings .closing-wishes__names{font-size:20px}
.leaf-ready .site-footer{display:none}
@media(max-height:620px){.leaf-ready #main>section{min-height:calc(100svh - 64px)}.leaf-ready #celebration .generated-calendar{max-width:230px}.leaf-ready #top .hero-stage{--couple-w: min(100%,calc((100svh - 260px)*.6667),280px)}}

/* Verified corrective QA: preserve zoom/vertical reflow, clip only sideways leaf overshoot. */
.leaf-ready .invitation-shell{overflow-x:hidden;overflow-x:clip}
.leaf-ready #main{touch-action:pan-y pinch-zoom}
#blessings .families__name{font-family:'Forum',serif}
.leaf-ready #blessings .families__name{clip-path:none!important;transition:none}
.leaf-ready .leaf-nav{box-sizing:border-box;height:62px;margin-block:0;padding-block:0}
.leaf-ready #main{margin-bottom:0}
.leaf-ready #rsvp .field__hint{line-height:1.4}
.leaf-ready #rsvp .side-choice span{min-height:34px;display:flex;align-items:center}
/* Short phones reserve room for navigation by reducing illustration scale, not body text. */
@media(max-width:600px) and (max-height:720px){
 .leaf-ready #top .hero-stage{--couple-w:min(100%,max(180px,calc((100svh - 330px)*.6667)),290px)}
 .leaf-ready #top .hero__details{margin-top:14px}
 .leaf-ready #celebration .generated-calendar{width:min(100%,240px);margin-inline:auto}
 .leaf-ready #venue .venue-illustration{max-width:250px;margin-inline:auto}
 .leaf-ready #venue .venue__art{margin-block:12px}
}
/* Short-phone visual QA: keep page turns within reach without reducing body copy. */
@media(max-width:600px) and (max-height:720px){
 .leaf-ready #venue .venue-illustration{max-width:200px}
 .leaf-ready #venue .venue__art{margin-block:6px}
 .leaf-ready #venue .venue__note{margin-block:8px}
 .leaf-ready #rsvp{padding-block:8px}
 .leaf-ready #rsvp .rsvp__inner{padding-top:66px;padding-bottom:16px}
 .leaf-ready #rsvp .rsvp__intro{margin-bottom:12px}
 .leaf-ready #blessings{padding-block:12px}
 .leaf-ready #blessings .blessings__elders{margin-bottom:10px}
 .leaf-ready #blessings .closing-wishes{margin-top:8px}
}
/* Desktop review: center the original prayer lockup and keep reply art proportionate. */
.leaf-ready #blessings .prayer-lockup{left:auto;transform:none;width:min(100%,350px)}
.leaf-ready #rsvp .rsvp__intro{margin-inline:auto}
@media(min-width:601px){
 .leaf-ready #rsvp .rsvp__inner{max-width:500px;padding-top:104px}
 .leaf-ready #blessings .prayer-lockup{width:min(100%,520px);max-width:520px}
}
@media(min-width:601px){.leaf-ready #rsvp .rsvp__inner{--card-w:500px;--arch-h:192px}}
/* Keep the reply divider outside the card, not across its gilt border. */
.leaf-ready #rsvp:after{bottom:-12px}
