:root{--plum:#3c2536;--ink:#503846;--rose:#956879;--paper:#f8eee7;--gold:#b29a77;--line:#aa8d6b55;--body:'Tajawal',sans-serif;--display:'Noto Naskh Arabic',serif;--names:'Aref Ruqaa',sans-serif;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:#362432;color:var(--ink);font:400 18px/1.8 var(--body)}body:before{content:'';position:fixed;inset:0;z-index:-1;background:linear-gradient(#30212bbb,#30212b66),url('./assets/silk.webp') center/cover;pointer-events:none}body.sealed{overflow:hidden}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #ba8ea5;outline-offset:5px}h1,h2,h3,p{margin:0}img{display:block;max-width:100%}[hidden]{display:none!important}h2{font:500 31px/1.8 var(--display)}small{font-size:13px}.fine-label{display:block;font:400 15px/1.8 var(--body);color:var(--rose)}.text-button{display:inline-block;background:none;border:0;border-bottom:1px solid currentColor;padding:5px 0;font-size:14px;color:inherit;line-height:1.8}.button{border:1px solid #6e4459;background:var(--plum);color:#f9eee8;min-height:51px;padding:12px 25px;font-size:16px;transition:background .2s,box-shadow .2s}.button:hover{background:#573447;box-shadow:0 4px 15px #35242c25}.demo-note{font-size:12px;line-height:1.8;color:#826d76;margin-top:20px;display:block}
/* A tactile silk reveal, animated as two image-backed drapes. */
.opening{position:fixed;inset:0;z-index:100;overflow:auto;display:grid;place-items:center;background:#eadbd3;transition:opacity .7s,visibility .7s}.opening__light{position:absolute;inset:0;background:radial-gradient(ellipse,#fffbf3,#c5a58f)}.curtain{position:absolute;top:0;bottom:0;width:50.1%;background-image:linear-gradient(#2b142935,#2b142935),url('./assets/silk.webp');background-size:200% 100%;will-change:transform;transition:transform 2.2s cubic-bezier(.65,.03,.18,1);box-shadow:0 0 25px #22101d60}.curtain--right{right:0;background-position:right center;transform-origin:right}.curtain--left{left:0;background-position:left center;transform-origin:left}.opening__content{position:relative;z-index:2;width:min(100%,580px);padding:50px 24px;text-align:center;color:#f0dfe2;transition:opacity .6s,transform .9s}.opening__label{font:400 17px var(--display);color:#dbc5c7}.monogram-trigger{display:block;position:relative;background:transparent;border:0;width:220px;height:230px;margin:22px auto 5px;padding:0;transition:transform .6s}.monogram-trigger:before{content:'';position:absolute;inset:0;border-radius:50%;background:radial-gradient(#d5bda711,transparent 70%)}.monogram-trigger img{width:100%;height:100%;filter:drop-shadow(0 2px 1px #160c1940)}.monogram-trigger:hover{transform:translateY(-3px)}.monogram-trigger:focus-visible{outline:none}.monogram-trigger:focus-visible .monogram-trigger__line{opacity:1}.monogram-trigger__line{position:absolute;bottom:0;width:40px;height:1px;background:#d0b694;left:calc(50% - 20px);opacity:0}.opening h1{font:400 clamp(35px,6vw,45px)/1.8 var(--names);margin-top:10px;color:#f3e2de}.opening h1 span{font:400 22px var(--display);margin-inline:10px;color:#c2a582}.opening__content>p{font:400 20px var(--display);margin-top:15px;color:#e0c5cf}.opening__action{display:block;min-width:170px;min-height:49px;margin:32px auto 14px;padding:10px 30px;background:#d8c0b011;border:1px solid #ccb3a77a;color:#f4e5df;font-size:16px;transition:background .25s}.opening__action:hover{background:#d8c0b025}.skip-opening{font-size:13px;color:#c4adb9}.opening__demo{position:absolute;bottom:24px;left:15px;right:15px;text-align:center;color:#cdbac3;z-index:2;font-size:12px;transition:opacity .6s}.opening.is-opening .curtain--right{transform:translateX(103%) scaleX(.8)}.opening.is-opening .curtain--left{transform:translateX(-103%) scaleX(.8)}.opening.is-opening .opening__content{opacity:0;transform:translateY(-10px)}.opening.is-opening .opening__demo{opacity:0}.opening.is-leaving{opacity:0;visibility:hidden}
/* A single printed invitation, not a collection of dashboard cards. */
#invitation{padding:0 24px}.scene-top{text-align:center;padding:32px 20px 27px;color:#e4cdd5}.scene-top>span{font:17px Georgia,serif;letter-spacing:.28em}.scene-top p{font-size:12px;letter-spacing:.02em;margin-top:8px}.invitation-paper{position:relative;isolation:isolate;max-width:760px;margin:0 auto;background:var(--paper);box-shadow:8px 10px 0 #c8aeb855,0 28px 80px #140a1a60;overflow:hidden;padding:45px 65px 210px;outline:1px solid #dbbfaa70;outline-offset:-12px}.invitation-paper:before{content:'';position:absolute;inset:0;z-index:-3;background-image:url('./assets/stationery.webp');background-size:100% auto;background-position:center center;opacity:.22}.paper-art{position:absolute;left:0;right:0;height:560px;z-index:-1;background-image:url('./assets/stationery.webp');background-size:100% auto;background-repeat:no-repeat;pointer-events:none}.paper-art--top{top:0;background-position:top center;mask-image:linear-gradient(#000 65%,transparent)}.paper-art--bottom{bottom:0;background-position:bottom center;mask-image:linear-gradient(transparent,#000 35%)}.paper-border{position:absolute;inset:28px;border:1px solid #ad92784a;z-index:-2;pointer-events:none}.paper-border:after{content:'';position:absolute;inset:5px;border:1px solid #ad927827;border-radius:140px 140px 2px 2px}.card-heading{text-align:center;position:relative;padding-top:10px}.monogram{margin:0 auto 20px;width:168px;height:168px}.card-heading .fine-label{font:500 17px var(--display);color:#8f6b63}.blessing{font:400 23px/1.9 var(--display);margin:23px 0 0;color:#7d5a53}.engraved-rule{height:1px;width:160px;margin:32px auto;background:linear-gradient(90deg,transparent,#ad9278 25%,#ad9278 75%,transparent);position:relative}.engraved-rule:after{content:'';position:absolute;left:35%;right:35%;top:4px;height:1px;background:#ad92784a}.invitation-copy{text-align:center}.intro{font:400 23px/1.9 var(--display)}.couple-names{display:flex;align-items:center;justify-content:center;gap:24px;margin:28px 0 5px}.couple-names h1{font:500 clamp(44px,5vw,62px)/1.8 var(--names);color:#674454}.couple-connector{font:400 27px var(--display);color:#a28267}.couple-family{font:400 18px var(--display);color:#8d6b73}.invitation-verse{font:400 25px/1.9 var(--display);margin-top:30px;color:#9c7181}.occasion-details{text-align:center;padding-top:6px}.occasion-details h2{color:#6c4a5b;font-size:27px}.date-composition{display:flex;justify-content:center;align-items:center;gap:24px;margin:23px auto 7px;max-width:340px}.date-composition>strong{font:400 76px/1.15 Georgia,serif;color:#876a50;border-inline:1px solid var(--line);padding:0 24px;min-width:130px}.date-composition>span{font:400 19px/1.6 var(--display);min-width:60px}.date-composition bdi{font-variant-numeric:tabular-nums}.time-line{font:400 20px var(--display);margin-top:17px}.time-line bdi{font-family:var(--body);font-size:19px;margin-inline:4px}.venue-block{margin-top:36px}.venue-block h3{font:500 29px/1.8 var(--display);margin-top:7px}.venue-block>p{font:400 18px var(--display);color:#856b78}.venue-block small{display:block;font-size:12px;margin-top:9px;color:#9b858d}.countdown-section{text-align:center;padding-top:2px}.countdown-section h2{font-size:25px}.countdown{display:flex;justify-content:center;gap:0;margin-top:25px;direction:rtl}.countdown>div{display:flex;flex-direction:column;min-width:85px;padding:0 15px}.countdown>div+div{border-right:1px solid #af8d7040}.countdown strong{font:400 35px/1.3 var(--body);font-variant-numeric:tabular-nums;color:#7a5b63}.countdown span{font-size:13px;margin-top:8px;color:#9b7585}.closing-note{text-align:center;padding-top:45px}.closing-note>p{font:400 23px/1.9 var(--display)}.closing-signature{display:block;font:500 19px var(--names);color:#956879;margin-top:26px}.closing-monogram{margin:15px auto 0;opacity:.85}
/* The response is a separate matching correspondence sheet, after the invitation. */
.reply-section{position:relative;max-width:760px;margin:75px auto 0;padding-bottom:45px}.reply-heading{text-align:center;color:#efdbe2;padding:0 20px 30px}.reply-heading .fine-label{color:#cbb1bf}.reply-heading h2{font:500 33px var(--names);margin:10px 0 17px}.reply-heading p{font:400 20px/1.8 var(--display);color:#d7bec9}.reply-paper{position:relative;isolation:isolate;background:#f8eee7;padding:45px 55px 70px;box-shadow:0 15px 45px #13091440;border:1px solid #b69b864a}.reply-emboss{position:absolute;inset:0;z-index:-1;background:url('./assets/stationery.webp') center bottom/100% auto;opacity:.26;mask-image:linear-gradient(transparent 45%,#000);pointer-events:none}.rsvp-form label{display:block;font-size:15px;margin-bottom:9px}.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px}.rsvp-form input:not([type=radio]),.rsvp-form textarea{width:100%;border:0;border-bottom:1px solid #ad879b;background:#fffaf77a;padding:12px 10px;min-height:48px;border-radius:0;color:#513746;font-size:17px;resize:vertical}.rsvp-form input::placeholder,.rsvp-form textarea::placeholder{color:#9c8590;font-size:15px}#phone-help{display:block;font-size:12px;color:#8e7480;margin-top:12px}.rsvp-form fieldset{padding:0;border:0;margin:25px 0}.rsvp-form legend{font-size:15px;margin-bottom:12px}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.choice{display:flex!important;align-items:center;gap:9px;padding:12px 10px;border:1px solid #b39aa84a;margin:0!important;cursor:pointer;background:#fdf8f345}.choice:has(input:checked){border-color:#8f637c;background:#ebd8e266}.choice input{width:17px;height:17px;accent-color:var(--plum);margin:0}.choice span{font-size:16px}.rsvp-form label small{font-size:12px;color:#987e8b;margin-right:5px}.rsvp-form .button{display:block;width:100%;margin-top:22px}.rsvp-form .demo-note{text-align:center}#response-status{font-size:13px;margin-top:10px}.response-card{text-align:center;animation:response-in .6s both}.response-card>img{margin:0 auto 10px}.response-card h3{font:500 29px var(--display);margin:15px 0}.response-card p{font:400 20px var(--display);color:#896778}.response-card blockquote{font:400 23px/1.8 var(--display);border-block:1px solid var(--line);padding:18px 0;margin:25px 0;white-space:pre-wrap;overflow-wrap:anywhere}.response-card small{font-size:14px}.response-phone{display:block;margin-top:5px}.response-card__actions{display:flex;justify-content:center;gap:30px;margin-top:22px}.response-card .demo-note{font-size:12px}.footer{position:relative;max-width:1100px;margin:0 auto;padding:35px 20px 85px;text-align:center;color:#e5cdd7}.footer:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 50% 40%,#a4758930,transparent 65%)}.footer>img{margin:0 auto 10px;opacity:.9}.footer>p{font:400 24px var(--display);margin:15px 0 20px}.footer .text-button{color:#d4b7c6}.footer__credit{margin-top:45px;padding-top:25px;border-top:1px solid #cda9bd25}.footer__credit>span{display:block;font:16px Georgia;letter-spacing:.25em}.footer__credit>small{display:block;font-size:12px;margin-top:15px;color:#baa1b1}.sound-toggle{position:fixed;bottom:18px;left:18px;z-index:20;border:1px solid #c1a2b3;background:#fff9f3ee;color:var(--plum);padding:9px 13px;display:flex;align-items:center;gap:10px;border-radius:30px;font-size:12px;box-shadow:0 3px 20px #321c2e15;min-height:44px}.sound-bars{display:flex;align-items:center;gap:3px;height:17px}.sound-bars i{display:block;width:2px;height:5px;background:currentColor}.sound-toggle[aria-pressed=true] .sound-bars i{animation:bar 1s infinite alternate}.sound-bars i:nth-child(2){animation-delay:.2s!important}.sound-bars i:nth-child(3){animation-delay:.5s!important}.sound-bars i:nth-child(4){animation-delay:.3s!important}.reveal{opacity:1}.motion-ready .reveal{opacity:0;transform:translateY(16px);transition:opacity .9s,transform .9s}.motion-ready .reveal.in-view{opacity:1;transform:none}
@keyframes bar{to{height:17px}}@keyframes response-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(max-width:620px){body{font-size:17px}#invitation{padding:0 15px}.scene-top{padding:22px 12px}.scene-top>span{font-size:15px}.scene-top p{font-size:11px}.invitation-paper{padding:28px 29px 140px;outline-offset:-8px;box-shadow:5px 7px 0 #c8aeb844,0 15px 40px #140a1a50}.paper-border{inset:16px}.paper-border:after{inset:4px}.paper-art{height:390px}.monogram{width:140px;height:140px;margin:0 auto 20px}.card-heading{padding-top:15px}.card-heading .fine-label{font-size:15px}.blessing{font-size:20px;margin-top:20px}.engraved-rule{margin:25px auto;width:120px}.intro{font-size:20px}.couple-names{gap:18px;margin-top:22px}.couple-names h1{font-size:45px;line-height:1.8}.couple-connector{font-size:23px}.couple-family{font-size:16px}.invitation-verse{font-size:22px;margin-top:22px}.occasion-details h2{font-size:25px}.date-composition{gap:12px;margin-top:20px}.date-composition>strong{font-size:61px;min-width:100px;padding:0 15px}.date-composition>span{font-size:17px;min-width:45px}.time-line{font-size:18px}.time-line bdi{font-size:17px}.venue-block{margin-top:30px}.venue-block .fine-label{font-size:14px}.venue-block h3{font-size:25px}.venue-block>p{font-size:16px}.venue-block small{font-size:11px}.countdown-section h2{font-size:23px}.countdown{margin-top:18px}.countdown>div{min-width:0;width:25%;padding:0 8px}.countdown strong{font-size:28px}.countdown span{font-size:12px}.closing-note{padding-top:35px}.closing-note>p{font-size:20px}.closing-signature{font-size:17px}.closing-monogram{width:95px;height:95px}.reply-section{margin-top:55px;padding-bottom:15px}.reply-heading{padding-bottom:24px}.reply-heading h2{font-size:29px}.reply-heading p{font-size:19px}.reply-paper{padding:30px 24px 55px}.form-pair{grid-template-columns:1fr;gap:18px}.choice-grid{grid-template-columns:1fr;gap:10px}.choice{padding:12px}.reply-paper .fine-label{font-size:14px}.response-card h3{font-size:26px}.sound-toggle{bottom:12px;left:12px;font-size:11px}.footer{padding-top:25px}.footer>p{font-size:21px}.opening__content{padding:35px 20px}.monogram-trigger{width:190px;height:200px;margin-top:18px}.opening h1{font-size:38px}.opening__content>p{font-size:19px}.opening__label{font-size:16px}.opening__demo{font-size:11px;bottom:20px}}
@media(max-width:360px){.invitation-paper{padding-inline:25px}.couple-names h1{font-size:39px}.intro{font-size:19px}.date-composition{gap:9px}.date-composition>strong{min-width:85px;padding-inline:12px}.reply-paper{padding-inline:19px}}
@media(max-height:650px){.opening__content{padding:20px}.opening__label{font-size:14px}.monogram-trigger{width:135px;height:145px;margin-top:10px}.opening h1{font-size:31px;margin-top:0}.opening__content>p{font-size:17px;margin-top:5px}.opening__action{margin-top:20px}.opening__demo{bottom:12px;font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.motion-ready .reveal{opacity:1;transform:none}}
.invitation-paper:before{background-size:cover;background-repeat:no-repeat;opacity:.14}
.motion-ready .reveal{transform:none;transition:opacity .9s}
.opening h1,.couple-names h1{font-family:'Aref Ruqaa',serif;font-weight:700;line-height:1.9}
.opening h1{font-size:49px}.couple-names h1{font-size:65px}
.occasion-details h2,.countdown-section h2,.reply-heading h2{font-family:'Aref Ruqaa',serif;font-weight:400;line-height:1.9}
.closing-signature{font-family:'Aref Ruqaa',serif;font-size:24px;line-height:1.9}
@media(max-width:620px){.opening h1{font-size:43px}.couple-names h1{font-size:52px}.closing-signature{font-size:22px}}
@media(max-width:360px){.couple-names h1{font-size:46px}}
@media(max-height:650px){.opening h1{font-size:35px}}
.language-switch{position:fixed;top:15px;left:16px;z-index:30;border:1px solid #d3b7c16b;background:#382131dd;color:#f4e3e8;font:14px/1.5 var(--body);padding:8px 15px;min-height:40px;min-width:82px;border-radius:3px;backdrop-filter:blur(8px)}
.opening>.language-switch{position:absolute;z-index:4}
html[lang=en]{--body:Arial,sans-serif;--display:'Cormorant Garamond',Georgia,serif;--names:'Cormorant Garamond',Georgia,serif}
html[lang=en] .opening h1,html[lang=en] .couple-names h1,html[lang=en] .occasion-details h2,html[lang=en] .countdown-section h2,html[lang=en] .reply-heading h2,html[lang=en] .closing-signature{font-family:var(--display);font-weight:500}
html[lang=en] .opening h1{font-size:54px;line-height:1.5}
html[lang=en] .couple-names h1{font-size:68px;line-height:1.6}
html[lang=en] .opening__label{font-size:21px}
html[lang=en] .opening__content>p{font-size:23px}
html[lang=en] .intro{font-size:25px;line-height:1.65}
html[lang=en] .blessing{font-size:24px;line-height:1.65}
html[lang=en] .invitation-verse{font-size:27px;line-height:1.65}
html[lang=en] .closing-note>p{font-size:25px;line-height:1.65}
html[lang=en] .couple-family{font-size:20px}
html[lang=en] .countdown{direction:ltr}
html[lang=en] .countdown>div+div{border-right:0;border-left:1px solid #af8d7040}
html[lang=en] .response-card p{font-size:23px}
html[lang=en] .date-composition>span{font-size:22px}
html[lang=en] .fine-label{line-height:1.7}
html[lang=en] .language-switch{font-family:'Tajawal',sans-serif}
@media(max-width:620px){.scene-top{padding-top:65px}.language-switch{top:12px;left:15px;font-size:13px;padding:7px 12px}html[lang=en] .couple-names{gap:13px}html[lang=en] .couple-names h1{font-size:51px}html[lang=en] .opening h1{font-size:48px}html[lang=en] .intro{font-size:22px}html[lang=en] .blessing{font-size:21px}html[lang=en] .invitation-verse{font-size:24px}html[lang=en] .closing-note>p{font-size:23px}html[lang=en] .countdown-section h2{font-size:25px}html[lang=en] .date-composition>span{font-size:19px}html[lang=en] .date-composition>strong{font-size:54px;min-width:87px}html[lang=en] .couple-family{font-size:18px}}
@media(max-width:360px){html[lang=en] .couple-names h1{font-size:45px}html[lang=en] .couple-names{gap:10px}}
@media(max-height:650px){html[lang=en] .opening h1{font-size:35px}html[lang=en] .opening__content>p{font-size:18px}}
/* One Arabic calligraphic family across the printed invitation. */
html[lang=ar]{--display:'Aref Ruqaa',serif;--names:'Aref Ruqaa',serif}
html[lang=ar] .invitation-paper :is(.fine-label,.couple-family,.venue-block>p,.closing-signature,.countdown span){font-family:var(--display);font-weight:400}
html[lang=ar] .opening h1,html[lang=ar] .couple-names h1{font-weight:400}
html[lang=ar] .intro,html[lang=ar] .blessing,html[lang=ar] .invitation-verse,html[lang=ar] .closing-note>p{font-weight:400;line-height:2}
html[lang=ar] .intro{font-size:25px}html[lang=ar] .blessing{font-size:24px}
html[lang=ar] .card-heading .fine-label{font-size:19px}
html[lang=ar] .invitation-paper bdi,html[lang=ar] .countdown strong{font-family:'Cormorant Garamond',Georgia,serif;font-weight:500}
html[lang=ar] .time-line bdi{font-size:23px}
.opening-rings{width:190px;height:auto;margin:-10px auto 0;pointer-events:none}
.paper-rings{width:200px;height:auto;margin:22px auto -6px;pointer-events:none}
.opening .monogram-trigger{width:165px;height:170px;margin:10px auto 0}
.opening__content{padding-top:40px;padding-bottom:55px}
.opening .opening__action{margin-top:22px}
@media(max-width:620px){.opening-rings{width:165px;margin-top:-6px}.paper-rings{width:180px;margin-top:15px}.opening .monogram-trigger{width:145px;height:150px}.opening__content{padding-top:55px;padding-bottom:50px}html[lang=ar] .intro{font-size:23px}html[lang=ar] .blessing{font-size:22px}html[lang=ar] .card-heading .fine-label{font-size:17px}html[lang=ar] .couple-names h1{font-size:53px}html[lang=ar] .countdown span{font-size:15px}}
@media(max-height:700px){.opening .monogram-trigger{width:115px;height:120px}.opening-rings{width:130px}.opening__content{padding-top:55px;padding-bottom:45px}.opening .opening__action{margin-top:14px}.opening__content>p{margin-top:5px}.opening h1{margin-top:0}}
@media(max-height:550px){.opening__demo{position:relative;bottom:auto;padding-bottom:15px}.opening__content{padding-bottom:15px}.opening-rings{width:105px}.opening .monogram-trigger{width:90px;height:95px}}
