@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Noto+Sans+Arabic:wght@400;500;600&display=swap');
:root{color-scheme:dark;--gold:#c6a365;--pale:#ecdbb6;--ink:#090a0a}*{box-sizing:border-box}body{margin:0;background:var(--ink);color:var(--pale);font-family:'Noto Sans Arabic',sans-serif;min-height:100svh;overflow-x:hidden}body:before{content:'';position:fixed;inset:12px;border:1px solid #b38d484d;pointer-events:none;z-index:5}body:after{content:'';position:fixed;left:-19vw;top:-10vh;width:47vw;height:130vh;background:linear-gradient(110deg,#030303 10%,#38332b 20%,#0b0c0d 28%,#323334 35%,#080909 48%,#30281a 51%,#a0824a 51.5%,#2f2516 52%,#a0824a 52.5%,#151515 54%,#050505 70%);transform:rotate(-14deg);opacity:.75;z-index:-1;box-shadow:40px 0 90px #000}.grain{position:fixed;inset:0;opacity:.07;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");z-index:8}.glow{position:fixed;inset:0;background:radial-gradient(ellipse at 62% 42%,#b38a3520,transparent 65%);pointer-events:none}header,footer{position:relative;z-index:6;display:flex;justify-content:space-between;align-items:center;margin:0 auto;max-width:1400px;padding:35px 7%;font-size:12px;color:#bca87e}.brand{font-family:Amiri,serif;font-size:23px}.edition{font-size:9px;letter-spacing:3px;direction:ltr}i{color:var(--gold);margin-left:16px}main{min-height:calc(100svh - 180px);display:grid;place-items:center;position:relative;text-align:center;padding:30px 24px 90px}.gate{max-width:700px}.eyebrow{font-size:12px;letter-spacing:1px;color:var(--gold);margin:12px 0 25px}.envelope{width:155px;height:105px;margin:45px auto 36px;position:relative;border:1px solid #98733b;background:linear-gradient(140deg,#262119,#10100f);box-shadow:0 20px 60px #0008;transform:rotate(-7deg)}.envelope:after,.envelope:before{content:'';position:absolute;inset:0;background:linear-gradient(34deg,transparent 49.3%,#8d703d 50%,transparent 50.7%)}.envelope:after{transform:scaleX(-1)}.flap{position:absolute;inset:0;background:linear-gradient(145deg,#393021,#10100f);clip-path:polygon(0 0,100% 0,50% 62%);border-top:1px solid var(--gold)}.seal{position:absolute;z-index:2;left:calc(50% - 22px);top:35px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#d5b77c,#765322);color:#201b11;border:3px double #d9bc7e;font:28px Amiri}h1,h2,h3{font-family:Amiri,serif;font-weight:400;line-height:1.5;margin:8px 0}h1{font-size:clamp(46px,7vw,80px)}em{color:var(--gold);font-style:normal}h2{font-size:clamp(38px,6vw,67px)}h3{font-size:30px}.intro,.invitation{color:#c8bca5;font-size:14px;line-height:2.2}.primary{border:1px solid #af8849;background:linear-gradient(120deg,#d1b67c,#ab8445);color:#15120c;display:inline-flex;justify-content:center;align-items:center;gap:45px;text-decoration:none;padding:14px 27px;min-height:50px;font:500 14px 'Noto Sans Arabic';cursor:pointer;margin-top:24px;transition:filter .3s,transform .3s}.primary:hover{filter:brightness(1.15);transform:translateY(-2px)}button:focus-visible,a:focus-visible,label:focus-within{outline:2px solid #fff;outline-offset:5px}.hint{font-size:10px;color:#9a8b70;margin:18px 0}.demo{font-size:9px;color:#8a806e}.experience{width:100%;max-width:850px;min-height:570px;position:relative;display:grid;place-items:center}.experience[hidden],nav[hidden]{display:none}.arch{position:absolute;width:min(90%,440px);height:100%;border:1px solid #9d7a3b44;border-radius:240px 240px 0 0;pointer-events:none}.arch:after{content:'';position:absolute;inset:10px;border:1px solid #9d7a3b22;border-radius:inherit}.orbit{position:absolute;width:300px;height:300px;border:1px solid #9d7a3b22;border-radius:50%;filter:blur(1px)}.scene{position:relative;grid-area:1/1;width:100%;padding:35px 30px;opacity:0;transform:translateY(20px);filter:blur(8px);transition:opacity 1s,transform 1.4s,filter 1.2s;visibility:hidden;pointer-events:none}.scene.active{opacity:1;transform:translateY(0);filter:blur(0);visibility:visible;pointer-events:auto}.name{font-size:clamp(65px,11vw,100px);color:var(--gold);line-height:1.3}.tiny{font:20px Amiri}.divider{color:var(--gold);margin:14px}.hosts{font:20px/2 Amiri;color:var(--gold);max-width:450px;margin:10px auto}.verse{letter-spacing:4px;color:var(--gold);font:22px Amiri}.details{font-size:14px;line-height:2;margin:18px auto}.text-button{display:block;margin:18px auto 0;border:0;background:none;color:#bca87e;cursor:pointer;font:12px 'Noto Sans Arabic'}nav{position:fixed;z-index:10;bottom:70px;left:50%;transform:translateX(-50%);width:min(90%,560px);padding:12px 18px;display:flex;align-items:center;gap:15px;background:#14130ff2;border:1px solid #a68b4a44;direction:ltr}nav button{background:none;border:0;color:var(--pale);font:12px 'Noto Sans Arabic';cursor:pointer;min-height:30px}#counter{font-size:9px;white-space:nowrap;color:var(--gold)}.progress{flex:1;height:2px;background:#5d5035}#progress{width:0;height:100%;background:var(--gold)}footer{font-size:10px;padding-top:10px;padding-bottom:25px}.upload{cursor:pointer}.upload input{position:absolute;width:1px;height:1px;opacity:0}.status{position:relative;max-width:500px;font-size:12px;color:var(--gold)}#stars{position:fixed;inset:0;pointer-events:none;overflow:hidden}.star{position:absolute;width:2px;height:2px;background:#c6a365;border-radius:50%;animation:float 12s ease-in-out infinite;opacity:0}@keyframes float{0%,100%{opacity:0;transform:translateY(30px)}50%{opacity:.65;transform:translateY(-60px)}}body.opened .envelope{transform:translateY(-20px) rotate(0);transition:transform .6s}@media(max-width:600px){header{padding:30px 30px}.edition{font-size:7px;letter-spacing:1px}.brand{font-size:20px}main{padding:10px 22px 90px;min-height:calc(100svh - 150px)}.envelope{margin-top:30px}.experience{min-height:560px}.scene{padding:26px 15px}.hosts{font-size:19px}.invitation{font-size:12px}.eyebrow{font-size:10px}.arch{width:100%}body:after{width:85vw;left:-54vw;opacity:.6}footer{padding-right:30px;padding-left:30px}h3{font-size:28px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}.star{display:none}.scene{transform:none;filter:none}}@media(max-height:740px){.experience{min-height:490px}.scene{padding-top:20px;padding-bottom:20px}.eyebrow{margin-bottom:16px}.envelope{margin:20px auto}.gate .intro{margin:5px}main{padding-bottom:75px}nav{bottom:60px}}
[hidden]{display:none!important}
body{background:#060606}body:after{inset:0;width:100%;height:100%;transform:none;background:linear-gradient(90deg,#0001,#0004 35%,#0009 100%),url('/assets/saudi-bisht.png') left center/cover no-repeat;opacity:.8;box-shadow:none;z-index:-1}.glow{background:radial-gradient(ellipse at 65% 40%,#b38a3512,transparent 65%)}@media(min-width:800px){body:after{background-size:auto,auto 135%;background-color:#050505}}@media(max-width:600px){body:after{left:0;width:100%;opacity:.65;background-position:35% center}.scene{background:radial-gradient(ellipse,#05050577,transparent 75%)}}
/* Scroll-driven invitation */
body.opened main{display:block;padding:0 24px 80px;min-height:0}body.opened header{position:absolute;top:0;left:0;right:0}.experience{display:block;max-width:850px;margin:auto;min-height:0}.experience>.arch,.experience>.orbit{display:none}.scene{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100svh;width:100%;grid-area:auto;opacity:1;visibility:visible;pointer-events:auto;filter:none;transform:none;padding:100px 35px 110px;position:relative;background:none}.scene:before{content:'';position:absolute;inset:55px 0 65px;border:1px solid #b58d3c36;border-radius:260px 260px 0 0;pointer-events:none}.scene+.scene:after{content:'✦';position:absolute;top:-12px;left:calc(50% - 10px);color:var(--gold);font-size:20px}.reveal{opacity:0;transform:translateY(42px);filter:blur(7px);transition:opacity 1s ease,transform 1.2s cubic-bezier(.2,.7,.2,1),filter 1s ease}.reveal.revealed{opacity:1;transform:none;filter:none}.scroll-cue{font-size:11px;color:var(--gold);margin:45px 0 0}.scroll-cue span{display:block;font-size:22px;animation:nudge 2s ease-in-out infinite}.detail-label{font-size:12px;color:var(--gold)}.details{padding:24px 15px;border-block:1px solid #b58d3c40;width:min(100%,470px);font-size:16px;line-height:2.4}.venue{font:32px/1.8 Amiri;color:var(--gold)}.map-pin{font-size:70px;color:var(--gold);line-height:1.5}.location{scroll-margin-top:0}nav{bottom:max(20px,env(safe-area-inset-bottom));background:#100e0cf2}body.opened footer{padding-bottom:100px}.status{margin:0 auto;padding:0 20px}body:not(.opened) .status:empty{display:none}@keyframes nudge{50%{transform:translateY(8px)}}@media(max-width:600px){body.opened main{padding:0 22px 50px}.scene{padding:95px 20px 105px;min-height:100svh}.scene[data-scene='1']{min-height:110svh}.scene:before{inset:55px -5px 60px}.hosts{font-size:22px}.scene .invitation{font-size:14px}.details{font-size:15px}.venue{font-size:30px}}@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;filter:none}}
/* Unified Arabic type and first-appearance text animation. */
body,button,input,.primary,nav button,.text-button,h1,h2,h3,.eyebrow,.brand,.intro,.invitation,.hosts,.tiny,.verse,.details,.venue,.hint,.scroll-cue{font-family:Amiri,serif}.eyebrow{font-size:19px;letter-spacing:0;line-height:1.9}.intro,.invitation{font-size:20px}.hint{font-size:15px}.scene .invitation{font-size:20px}.details{font-size:21px}.primary{font-size:20px}.brand{font-size:25px}.reveal{transform:translateY(30px) scale(.98);filter:blur(8px);transition:opacity 1.1s ease,transform 1.3s cubic-bezier(.16,1,.3,1),filter 1.2s ease}.reveal.revealed{transform:translateY(0) scale(1);filter:blur(0);opacity:1}.scroll-cue{margin-top:36px}.scroll-cue span{font-size:30px}.map-pin{display:grid;place-items:center;margin:15px 0 20px}.volume-control{display:flex;align-items:center;gap:7px;color:var(--gold);font-size:16px;white-space:nowrap}.volume-control input{width:80px;accent-color:var(--gold);cursor:pointer;direction:ltr;min-height:32px}nav{gap:10px}nav button{font-size:16px}.text-button{font-size:19px;min-height:44px}.progress{min-width:20px}.edition{font-family:serif}@media(max-width:600px){.eyebrow{font-size:18px}.scene .invitation{font-size:19px}.hosts{font-size:23px}.volume-control input{width:60px}.volume-control span{display:none}nav{padding:9px 12px;gap:8px}nav button{font-size:16px}.details{font-size:20px}.hint{font-size:14px}}@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;filter:none}}
.detail-icon{display:block;width:30px;height:30px;flex-shrink:0;color:var(--gold);margin:0 auto 10px;stroke-linecap:round;stroke-linejoin:round}.calendar-icon{width:38px;height:38px;margin-bottom:12px}.detail-label{display:block;font-size:20px}.dinner-detail{margin-top:22px;padding-top:20px;border-top:1px solid #b58d3c25}.dinner-detail p{margin:8px 0 0}.button-icon{width:22px;height:22px;flex-shrink:0;vertical-align:middle;stroke-linecap:round;stroke-linejoin:round}.text-button{display:flex;align-items:center;justify-content:center;gap:9px}.details{padding-top:28px;padding-bottom:28px}
.final-blessing{font-family:Amiri,serif;font-size:clamp(34px,5vw,56px);line-height:1.9;color:var(--pale);margin:38px 0 5px;padding-top:25px;width:100%;position:relative;text-wrap:balance}.final-blessing:before{content:'';position:absolute;top:0;right:calc(50% - 45px);width:90px;height:1px;background:linear-gradient(90deg,transparent,var(--gold),transparent)}.final-blessing span{color:var(--gold)}.location{padding-bottom:135px}@media(max-width:600px){.final-blessing{font-size:36px;line-height:1.8;margin-top:32px}.location{min-height:110svh;padding-bottom:140px}}
/* Dedicated viewport layer avoids iOS body background resizing while browser bars move. */
body:after{display:none}.fixed-backdrop{position:fixed;top:0;left:0;width:100%;height:100vh;height:100lvh;background:linear-gradient(90deg,#0001,#0004 35%,#0009 100%),url('/assets/saudi-bisht.png') left center/cover no-repeat;opacity:.8;pointer-events:none;z-index:0;transform:translateZ(0);backface-visibility:hidden}main{z-index:1}.glow,#stars{z-index:0}@media(min-width:800px){.fixed-backdrop{background-size:auto,auto 135%;background-color:#050505}}@media(max-width:600px){.fixed-backdrop{opacity:.65;background-position:35% center}}
/* Modern floating monogram and pill controls. */
.modern-seal{position:relative;width:150px;height:150px;margin:15px auto 30px;display:grid;place-items:center;isolation:isolate}.modern-seal:before{content:'';position:absolute;inset:32px;border-radius:50%;background:radial-gradient(circle,#c9a65f20,transparent 70%);box-shadow:0 0 70px #bd904622}.seal-orbit{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:var(--gold);stroke-width:.65;opacity:.6;animation:sealDrift 18s linear infinite}.seal-letter{font:76px/1 Amiri;color:var(--gold);text-shadow:0 2px 24px #d4aa5330}.seal-spark{position:absolute;right:18px;top:20px;color:var(--pale);font-size:15px}.primary{border-radius:999px;gap:24px;padding:13px 28px;background:linear-gradient(120deg,#ebd5a1,#bc9554);box-shadow:0 6px 30px #bd904618;border:1px solid #edcf9270}.modern-open{padding:10px 12px 10px 28px;min-width:205px;justify-content:space-between;background:linear-gradient(120deg,#b28a4215,#d3b16d25);color:var(--pale);border-color:#d0ac6266;backdrop-filter:blur(8px)}.open-arrow{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:var(--gold);color:#17120a;font-family:serif;transition:transform .4s}.modern-open:hover .open-arrow{transform:rotate(45deg)}.modern-open:disabled{cursor:default}.opening .modern-seal{animation:sealOpen 1s ease forwards}.opening .seal-orbit{animation:sealUnwind 1s ease forwards}.opening .seal-letter{transition:filter .7s;filter:drop-shadow(0 0 20px #e6c785)}.opening .open-arrow{transform:rotate(45deg)}.scene:before{border:none;border-radius:0;inset:auto 15% 28px;height:18px;background:linear-gradient(135deg,transparent 46%,#c5a26055 48%,#c5a26055 51%,transparent 53%) 0 0/18px 18px,linear-gradient(45deg,transparent 46%,#c5a26055 48%,#c5a26055 51%,transparent 53%) 0 0/18px 18px;mask-image:linear-gradient(90deg,transparent,#000 25%,#000 75%,transparent)}.calligraphy{position:relative;width:min(100%,410px);margin:10px auto;line-height:0;isolation:isolate}.calligraphy-art{display:block;width:100%;height:auto;max-height:310px;object-fit:contain;clip-path:inset(0 0 0 100%);transition:clip-path 2.2s cubic-bezier(.2,.7,.2,1)}.calligraphy.revealed .calligraphy-art{clip-path:inset(0 0 0 0)}.calligraphy:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 35%,#ffe8b540 49%,transparent 63%);mix-blend-mode:screen;opacity:0;transform:translateX(65%);mask-image:url('/assets/abdulaziz-calligraphy.png');mask-size:contain;mask-repeat:no-repeat;mask-position:center}.calligraphy.revealed:after{animation:inkShine 2.4s 1.3s ease-out forwards}.gate h1{font-size:clamp(46px,7vw,72px)}@keyframes sealDrift{to{transform:rotate(360deg)}}@keyframes sealOpen{50%{transform:scale(1.12);filter:brightness(1.5)}100%{transform:scale(1.4);opacity:0}}@keyframes sealUnwind{to{transform:rotate(80deg);opacity:0}}@keyframes inkShine{20%{opacity:1}100%{transform:translateX(-65%);opacity:0}}@media(max-width:600px){.modern-seal{width:135px;height:135px;margin:10px auto 25px}.calligraphy-art{max-height:275px}.scene[data-scene='1']{min-height:115svh}.primary{font-size:20px}}@media(prefers-reduced-motion:reduce){.calligraphy-art{clip-path:none}.calligraphy:after{display:none}.modern-seal,.seal-orbit{animation:none!important}}
/* Refined envelope, centered action, framed scenes and matching icon system. */
.envelope{margin:35px auto 45px;transform:rotate(-7deg);perspective:700px}.flap{transform-origin:top center;transition:transform .8s cubic-bezier(.2,.7,.2,1)}.seal{transition:transform .7s,opacity .7s}.opening .envelope{animation:envelopeOpen 1s ease forwards}.opening .flap{transform:rotateX(165deg);z-index:3}.opening .seal{transform:translateY(-18px) scale(.8);opacity:0}.modern-open{position:relative;display:block;width:220px;min-height:62px;padding:12px 56px;text-align:center}.open-label{display:block;width:100%;white-space:nowrap;text-align:center}.open-arrow{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:36px;height:36px;font-size:20px}.modern-open:hover .open-arrow,.opening .open-arrow{transform:translateY(-50%) rotate(45deg)}.hosts{white-space:pre-line;line-height:1.8;font-size:25px}.scene{isolation:isolate;padding-left:35px;padding-right:35px}.scene:before{inset:45px 0 60px;height:auto;border:1px solid #b58d3c40;border-radius:260px 260px 0 0;background:none;mask-image:none;z-index:-1}.scene:after{content:''!important;position:absolute!important;top:auto!important;bottom:35px;left:20%!important;right:20%;height:14px;background:linear-gradient(135deg,transparent 46%,#c5a26066 48%,#c5a26066 51%,transparent 53%) 0 0/14px 14px,linear-gradient(45deg,transparent 46%,#c5a26066 48%,#c5a26066 51%,transparent 53%) 0 0/14px 14px;mask-image:linear-gradient(90deg,transparent,#000 20%,#000 80%,transparent);pointer-events:none}.calligraphy-art{max-height:190px;object-fit:contain}.calligraphy:after{mask-image:url('/assets/abdulaziz-provided.png')}.detail-icon,.calendar-icon,.button-icon,.map-pin svg{width:28px;height:28px;stroke-width:1.4}.map-pin{margin:15px 0 20px}.volume-control input{height:28px}nav button{display:grid;place-items:center;min-width:28px}.scroll-cue span{font-size:28px}.scene[data-scene='1']{min-height:120svh}.reveal{transition:opacity .7s ease,transform 1s cubic-bezier(.16,1,.3,1),filter .8s ease}@keyframes envelopeOpen{40%{transform:rotate(0) translateY(-8px)}100%{transform:rotate(0) translateY(-25px);opacity:0}}@media(max-width:600px){.scene{padding-left:24px;padding-right:24px}.scene:before{inset:45px -3px 60px}.hosts{font-size:24px}.calligraphy-art{max-height:160px}.scene[data-scene='1']{min-height:120svh}}@media(prefers-reduced-motion:reduce){.opening .envelope{animation:none}.opening .flap{transform:none}.opening .seal{transform:none;opacity:1}}
/* Local editorial concept, preserved separately from the published version. */
.fixed-backdrop{background-image:linear-gradient(90deg,#0002,#0008 38%,#000b 100%),url('/assets/saudi-bisht.png')}.glow{background:radial-gradient(ellipse at 65% 42%,#bb8b3420,transparent 60%)}.scene{padding-top:125px;padding-bottom:145px}.scene:before{border-color:#b58d3c2e}.scene[data-scene='1']{min-height:145svh}.hosts{margin:15px auto 35px;line-height:2.1}.scene[data-scene='1']>.invitation{max-width:380px;margin-bottom:32px}.scene[data-scene='1']>.tiny{font-size:22px;letter-spacing:0}.calligraphy{width:min(100%,560px);margin:40px auto 45px}.calligraphy-art{max-height:230px;filter:drop-shadow(0 2px 18px #d6ad4833);clip-path:inset(0 0 0 100%);transition:clip-path 2.6s cubic-bezier(.16,1,.3,1),filter 1.5s}.calligraphy.revealed .calligraphy-art{clip-path:inset(0);filter:drop-shadow(0 3px 24px #d6ad4820)}.envelope{width:180px;height:120px;isolation:isolate;overflow:visible;transform:rotate(-5deg);background:linear-gradient(145deg,#29231b,#11100d);margin-bottom:55px}.letter-slip{position:absolute;inset:7px 12px 10px;background:linear-gradient(145deg,#e1cfaa,#bba477);color:#2d2316;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:0;font:18px/1.5 Amiri;z-index:-1;border-radius:2px;transition:transform .9s .4s cubic-bezier(.16,1,.3,1)}.letter-slip i{margin:3px 0 0;font-size:12px;color:#67502a}.envelope:before,.envelope:after{z-index:1;pointer-events:none}.flap{z-index:2;background:linear-gradient(145deg,#3e3322,#14110c);backface-visibility:visible}.seal{z-index:4}.opening .envelope{animation:letterLift 1.75s ease forwards}.opening .letter-slip{transform:translateY(-87px) rotate(5deg);z-index:0}.opening .flap{transform:rotateX(165deg);z-index:-2}.opening .seal{animation:sealRelease .55s ease forwards}.details{position:relative;border:0;border-radius:22px;padding:35px 28px 30px;background:linear-gradient(145deg,#d8b5780b,#0808089c);box-shadow:inset 0 0 0 1px #d3b16d35,0 20px 60px #0003;width:min(100%,420px);margin:30px auto}.details:before,.details:after{content:'';position:absolute;top:59%;width:16px;height:16px;border-radius:50%;background:#0a0907;border:1px solid #b58d3c40}.details:before{right:-8px}.details:after{left:-8px}.date-composition{display:flex;flex-direction:column;align-items:center;padding:10px 0 20px}.date-weekday{font-size:26px;color:var(--pale)}.date-number{font-family:Amiri,serif;font-size:110px;font-weight:400;color:var(--gold);line-height:1.1;direction:ltr;margin:8px 0}.date-month{font-size:28px;line-height:1.5}.date-hijri{font-size:18px;color:#b5a27c;margin-top:8px}.detail-label{font-size:17px;color:#aa956f}.dinner-detail{border-top:1px dashed #b58d3c55;margin-top:0;padding-top:26px}.sr-only{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}.venue{font-size:36px;margin:15px 0 10px}.location>.invitation{margin-bottom:5px}.location>.primary{min-width:255px;justify-content:center;margin-top:28px;gap:18px}.closing-finale{width:100%;margin-top:95px;padding:65px 10px 10px;border-top:1px solid #b58d3c35}.closing-finale h3{font-size:22px;color:#b8a47d;margin:25px 0 0}.final-flourish{font-size:23px;color:var(--gold)}.final-blessing{margin:18px 0 30px;padding:0;font-size:clamp(38px,5vw,60px);line-height:1.85}.final-blessing:before{display:none}.closing-finale .text-button{font-size:17px;color:#a59474;margin-top:35px;gap:10px}.closing-finale .button-icon{width:22px;height:22px}.location{padding-top:130px;padding-bottom:155px}.gate{padding-top:35px}.gate .intro{max-width:370px;margin:10px auto 30px}.gate .hint{font-size:13px;color:#9b8a69;margin-top:22px}@keyframes letterLift{0%{transform:rotate(-5deg)}35%,70%{transform:rotate(0) translateY(12px);opacity:1}100%{transform:translateY(-30px);opacity:0}}@keyframes sealRelease{to{transform:translate(18px,30px) rotate(25deg);opacity:0}}@media(max-width:600px){.scene{padding-left:25px;padding-right:25px}.scene[data-scene='1']{min-height:145svh}.calligraphy{width:calc(100% + 18px);max-width:none}.calligraphy-art{max-height:200px}.hosts{font-size:24px}.details{padding:30px 20px}.date-number{font-size:100px}.venue{font-size:32px}.final-blessing{font-size:38px}.closing-finale{margin-top:75px;padding-top:50px}.gate{padding-top:20px}}@media(prefers-reduced-motion:reduce){.calligraphy-art{clip-path:none}.opening .envelope,.opening .seal{animation:none}.opening .letter-slip{transform:none}}
/* Closed envelope must conceal its insert until the opening gesture. */
.letter-slip{opacity:0;visibility:hidden;z-index:0;transition:transform .9s .45s cubic-bezier(.16,1,.3,1),opacity .2s .35s,visibility 0s .35s}.envelope-pocket{position:absolute;inset:0;z-index:1;clip-path:polygon(0 0,50% 60%,100% 0,100% 100%,0 100%);background:linear-gradient(145deg,#30291e,#15120e);pointer-events:none}.envelope:before,.envelope:after{z-index:2}.flap{z-index:3}.seal{z-index:4}.opening .letter-slip{opacity:1;visibility:visible;z-index:0;transform:translateY(-87px) rotate(5deg)}.opening .flap{z-index:0}.opening .envelope-pocket{z-index:1}@media(prefers-reduced-motion:reduce){.opening .letter-slip{opacity:0;visibility:hidden}}
/* Let the flap clear the insert before the letter rises; retain readable dwell time. */
.letter-slip{inset:7px 12px 8px;gap:3px;background:linear-gradient(145deg,#eddfbd,#c5ad7b);color:#362917;font-size:19px;line-height:1.5;text-shadow:none}.letter-slip span:last-of-type{font-size:26px}.letter-slip i{font-size:11px;margin:2px 0 0}.opening .flap{animation:flapClear .4s ease forwards;z-index:0}.opening .letter-slip{transform:translateY(-102px);z-index:0;transition:transform .75s .4s cubic-bezier(.16,1,.3,1),opacity .15s .3s,visibility 0s .3s}.opening .envelope{animation:readableLetter 2.35s ease forwards}@keyframes flapClear{0%{opacity:1;transform:rotateX(0)}65%{opacity:.3}100%{opacity:0;transform:rotateX(165deg)}}@keyframes readableLetter{0%{transform:rotate(-5deg)}25%,85%{transform:rotate(0) translateY(15px);opacity:1}100%{transform:translateY(-25px);opacity:0}}@media(prefers-reduced-motion:reduce){.opening .flap{animation:none}.opening .letter-slip{opacity:0;visibility:hidden}.opening .envelope{animation:none}}

/* Only approved entrance and name effects, on the exact published styles. */
/* Cinematic hold belongs to the physical seal, without a filled progress disc. */
.hold-instruction{font:22px/1.8 Amiri,serif;color:var(--pale);margin:34px auto 0;letter-spacing:0}.seal{background:linear-gradient(145deg,#d5b77c,#987541);border:1px solid #dfc78d;box-shadow:inset 0 0 0 3px #98743b55;transition:box-shadow .2s,filter .2s;overflow:visible}.seal-halo{position:absolute;inset:-17px;border-radius:50%;pointer-events:none;background:radial-gradient(circle,transparent 30%,#e5bc6825 55%,transparent 72%);opacity:0;transition:opacity .2s}.hold-ring{width:74px;height:74px;stroke:#f1d69c;stroke-width:.75;filter:drop-shadow(0 0 3px #e5b963) drop-shadow(0 0 8px #d3a84d);overflow:visible}.hold-ring circle{fill:none;stroke-linecap:round;opacity:var(--hold,0)}.holding .seal{transform:none;box-shadow:0 0 12px #cfa75535;filter:brightness(1.08)}.holding .seal-halo{opacity:1}.gate .hint{margin-top:8px;font-size:14px}.seal-burst{position:fixed;width:0;height:0;pointer-events:none;z-index:20}.burst-flash{position:absolute;left:-55px;top:-55px;width:110px;height:110px;border-radius:50%;background:radial-gradient(circle,#fff1c990,#e8bc6340 25%,transparent 68%);animation:sealFlash 1s ease-out forwards}.burst-flash:after{content:'';position:absolute;inset:15px;border:1px solid #e5c582aa;border-radius:50%;animation:sealRipple 1s ease-out forwards}.burst-spark{position:absolute;left:0;top:0;width:var(--size);height:var(--size);margin:0;border-radius:50%;background:#f2d89a;box-shadow:0 0 5px #f3d28d;animation:sealParticle 1.4s var(--delay) cubic-bezier(.12,.65,.2,1) both}@keyframes sealFlash{0%{opacity:0;transform:scale(.3)}15%{opacity:1}100%{opacity:0;transform:scale(1.7)}}@keyframes sealRipple{to{transform:scale(2.3);opacity:0}}@keyframes sealParticle{0%{opacity:0;transform:translate(0,0) scale(.3)}12%{opacity:1}100%{opacity:0;transform:translate(var(--sx),var(--sy)) scale(.2)}}@media(prefers-reduced-motion:reduce){.seal-burst{display:none}.hold-ring{filter:none}.seal-halo{display:none}}
.envelope{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:pointer}.envelope:focus-visible{outline:1px solid var(--gold);outline-offset:18px}.envelope .seal{pointer-events:none}

.calligraphy{overflow:visible}.calligraphy:before{content:'';position:absolute;inset:-20px -15px;background:radial-gradient(ellipse,#d4ae5d17,transparent 68%);opacity:0;pointer-events:none;border-radius:50%;transition:opacity 1s}.calligraphy.ink-complete:before{opacity:1}.calligraphy.ink-complete .calligraphy-art{filter:drop-shadow(0 0 8px #d5ad5833)!important}.calligraphy.ink-complete:after{animation:finishedInkShine 1.8s ease-out forwards!important;opacity:0;transform:none;background:linear-gradient(105deg,transparent 30%,#fff1bb70 49%,transparent 66%);background-size:250% 100%;mix-blend-mode:screen;mask-image:url('/assets/abdulaziz-provided.png');mask-size:contain;mask-position:center;mask-repeat:no-repeat}.name-dust{position:absolute;inset:0;pointer-events:none;z-index:3}.name-dust i{position:absolute;left:var(--x);top:var(--y);width:1.5px;height:1.5px;border-radius:50%;background:#edd6a0;box-shadow:0 0 3px #e2bc6b80;margin:0;animation:softNameDust 1.6s var(--d) ease-out both}@keyframes finishedInkShine{0%{background-position:120% 0;opacity:0}20%{opacity:.6}100%{background-position:-20% 0;opacity:0}}@keyframes softNameDust{0%{opacity:0;transform:translate(0,6px)}25%{opacity:.55}100%{opacity:0;transform:translate(var(--dx),var(--dy))}}
.hold-ring circle{stroke-dasharray:169.646;stroke-dashoffset:calc(169.646*(1 - var(--hold,0)));fill:none;stroke-linecap:round;opacity:var(--hold,0)}.seal{padding:0;font-family:Amiri,serif}.gate h1{font-size:clamp(40px,6vw,68px);text-wrap:balance}.letter-slip span:last-of-type{font-size:21px}.calligraphy.ink-complete:after{animation-delay:1.9s!important}@media(prefers-reduced-motion:reduce){.name-dust,.calligraphy:before,.calligraphy:after{display:none!important}}
.hold-ring{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-90deg);fill:none;pointer-events:none;overflow:visible}.seal-halo{pointer-events:none}.envelope .seal{overflow:visible}
