@font-face{font-family:Pinyon;src:url(assets/script.woff2) format('woff2');font-display:swap}@font-face{font-family:Garamond;src:url(assets/serif.woff2) format('woff2');font-display:swap}@font-face{font-family:Instrument;src:url(assets/sans.woff2) format('woff2');font-display:swap}
:root{--ivory:#f6f0e5;--ink:#5c482e;--gold:#9b7338;--light:#dfc99c;--script:Pinyon,cursive;--serif:Garamond,Georgia,serif;--sans:Instrument,Arial,sans-serif;--shine:50%;color-scheme:light}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:#e7decb;color:var(--ink);font-family:var(--serif);-webkit-font-smoothing:antialiased}body.intro-playing{overflow:hidden}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #9b7338;outline-offset:5px}button:disabled{opacity:.6;cursor:wait}a{color:inherit}main{max-width:520px;margin:auto;background:var(--ivory);overflow:hidden;position:relative;box-shadow:0 0 70px #6c50121a}main:before{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;opacity:.18;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' 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%3Crect width='100%25' height='100%25' opacity='.25' filter='url(%23n)'/%3E%3C/svg%3E")}main[inert]{visibility:hidden;height:100svh}.section{position:relative;text-align:center;padding:65px 28px}.eyebrow,.small-caps{font-family:var(--sans);font-size:9px;font-weight:500;letter-spacing:2.3px;line-height:1.8}.eyebrow{display:block;color:#937442}.small-caps{letter-spacing:1.6px}.script{font-family:var(--script);font-weight:400;font-size:clamp(42px,12vw,60px);line-height:1.15;margin:18px 0 20px}.section-intro{font-size:19px;line-height:1.6;margin:16px auto 28px}.tiny-ornament{font-size:30px;color:#b38b4e;margin:26px auto}.fine-line{height:1px;width:45px;margin:22px auto;background:linear-gradient(90deg,transparent,#ad8c4e,transparent)}.text-button{border:0;background:none;color:var(--gold);padding:14px 8px;font-family:var(--sans);font-size:11px;letter-spacing:.6px;text-underline-offset:5px;text-decoration:underline}.gold-button{min-height:49px;padding:15px 22px;background:linear-gradient(115deg,#84602d,#b39358 46%,#896831);border:1px solid #bba068;box-shadow:inset 0 0 0 3px #ffffff18,0 5px 20px #72501d14;color:#fff8e8;display:flex;align-items:center;justify-content:space-between;gap:24px;font:12px var(--sans);text-decoration:none;letter-spacing:.5px}.gold-button span{font-size:19px}.arabic{font-family:'Noto Naskh Arabic','Times New Roman',serif;font-size:34px;line-height:1.6;color:#9c793d;margin:0 0 12px}.opening{position:fixed;inset:0;z-index:100;background:#e7dcc6;display:flex;align-items:center;justify-content:center;transition:opacity 1s,visibility 1s}.opening.is-hidden{opacity:0;visibility:hidden;pointer-events:none}.opening video{height:100%;width:100%;object-fit:cover;max-width:540px}.opening-shade{position:absolute;inset:0;background:linear-gradient(transparent 20%,#3a291b4d 75%,#30201080);pointer-events:none}.opening-copy{position:absolute;bottom:14%;left:25px;right:25px;text-align:center;color:#fff7de}.opening-copy .eyebrow{color:#fff7de}.opening-names{font:64px/1 var(--script);margin:22px 0 28px;text-shadow:0 2px 15px #5a351e80}.opening-copy .gold-button{margin:auto;max-width:290px;width:100%}.opening-note{font:11px var(--sans);letter-spacing:1px;opacity:.85}.opening.playing .opening-copy,.opening.playing .opening-shade{opacity:0;pointer-events:none}.skip-video,.sound{position:absolute;top:max(24px,env(safe-area-inset-top));right:22px;border:1px solid #f4e7cf88;border-radius:30px;background:#48351d66;color:#fff6e1;font:11px var(--sans);padding:12px 16px;backdrop-filter:blur(8px)}.sound{top:auto;bottom:30px}.skip-link{position:fixed;top:-100px;left:15px;z-index:120;background:#fff;padding:12px}.skip-link:focus{top:15px}.hero{padding:30px 7px 30px}.topline{display:flex;align-items:center;justify-content:space-between;margin:0 22px 10px;font:8px var(--sans);letter-spacing:2px;color:#947445}.replay{border:1px solid #ccb99077;border-radius:50%;width:30px;height:30px;background:none;color:var(--gold);font-size:20px}.ornament{position:relative;background-image:url(assets/ivory-gold-frame-fast.webp);background-size:100% 100%;background-repeat:no-repeat;isolation:isolate}.ornament:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(115deg,transparent 35%,#fff8ddcc 47%,#fff 50%,#e9c77a88 53%,transparent 64%);background-size:300% 100%;background-position:var(--shine) 50%;-webkit-mask:url(assets/ivory-gold-frame-fast.webp) center/100% 100% no-repeat;mask:url(assets/ivory-gold-frame-fast.webp) center/100% 100% no-repeat;mix-blend-mode:screen;pointer-events:none;opacity:.8}.hero-frame{width:100%;aspect-ratio:2/3.08;max-width:500px;margin:auto;display:flex;align-items:center;justify-content:center}.hero-content{width:64%;padding:25px 0 0}.hero-content .eyebrow{font-size:7px;letter-spacing:1.4px}.hero-content .arabic{font-size:29px;margin-bottom:5px}h1{font:clamp(58px,17vw,86px)/.82 var(--script);font-weight:400;color:#97743e;margin:32px 0 15px;display:flex;flex-direction:column;align-items:center}h1 i{font-size:34px;line-height:1.4;font-style:normal;color:#b99b65}.arabic-names{font:19px Georgia,serif;color:#967748;margin:10px 0}.hero-content .small-caps{font-size:7px}.invitation-line{font-size:clamp(14px,4vw,18px);line-height:1.5;margin:8px 0 20px}.date-line{font-size:20px;letter-spacing:4px;margin:12px 0}.hero-content .fine-line{margin:15px auto}.scroll-cue{display:flex;flex-direction:column;gap:8px;text-decoration:none;font:9px var(--sans);letter-spacing:1.7px;color:#a0834e;margin-top:22px}.scroll-cue span{font-size:24px}.date-section{padding:50px 10px}.date-section>.section-intro{padding:0 15px}.date-frame{width:100%;aspect-ratio:2/3;display:flex;align-items:center;justify-content:center;margin-top:20px}.date-inside{width:60%;padding-top:20px}.scratch-wrap{position:relative;width:100%;height:190px;margin:18px 0 12px;border:1px solid #c5a56688;border-radius:44% 44% 5px 5px;overflow:hidden;background:#f8f3e8}.date-reveal{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#96743e}.date-reveal span{font-size:17px;letter-spacing:1px}.date-reveal strong{font-weight:400;font-size:76px;line-height:1.08}canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:pan-y;transition:opacity .6s}canvas.scratching{touch-action:none}canvas.revealed{opacity:0;pointer-events:none}.scratch-button{background:none;border:none;color:#9b783e;font:10px var(--sans);padding:8px 0 20px;letter-spacing:.3px}.scratch-button span{display:block;font-size:20px;margin-top:6px}.date-inside>.small-caps{font-size:7px;letter-spacing:1px;margin:10px 0 0}.date-inside .text-button{font-size:9px}.countdown{font-size:14px;letter-spacing:2px;color:#99783c;margin-top:35px}.blessing{background:linear-gradient(transparent,#e8d9b733,transparent);padding:35px 20px}.blessing .eyebrow{font-size:8px;letter-spacing:1.5px}.blessing-text{font-size:22px;line-height:1.7}.signature{font:49px var(--script);color:#a48145;margin:30px auto}.location{padding:60px 28px}.venue-card{padding:15px 20px 30px;border:1px solid #baa16b66;border-radius:180px 180px 0 0;background:linear-gradient(#ffffff55,#e9decb33)}.venue-arch{height:215px;position:relative;display:flex;align-items:center;justify-content:center;padding-top:15px;color:#b39560}.venue-arch svg{width:100%;max-width:275px}.venue-star{position:absolute;top:20px;right:30px;color:#c2a86c}.venue-card h3{font:30px/1.2 var(--serif);margin:15px 0}.venue-card p{font-size:17px;line-height:1.6}.venue-card .venue-time{font-size:14px;margin:22px 0}.sample-note{font:8px/1.6 var(--sans)!important;color:#a18e70;max-width:200px;margin:14px auto 0}.programme{padding-top:35px}.timeline{margin:35px auto 0;max-width:360px;text-align:left}.timeline article{display:grid;grid-template-columns:59px 26px 1fr;gap:8px;position:relative;padding-bottom:38px}.timeline time{font:9px var(--sans);letter-spacing:.4px;padding-top:9px;color:#9b7d4e}.timeline-gem{color:#b08b49;font-size:24px;position:relative}.timeline article:not(:last-child) .timeline-gem:after{content:"";position:absolute;top:30px;bottom:-30px;left:9px;width:1px;background:#c8b27f88}.timeline h3{font:26px var(--serif);margin:0 0 8px}.timeline p{font-size:15px;line-height:1.6;margin:0}.dress{padding-top:20px}.dress .script{font-size:46px}.swatches{display:flex;justify-content:center;gap:13px;margin:30px 0}.swatches span{width:40px;height:40px;border-radius:50%;background:var(--swatch);box-shadow:0 0 0 4px var(--ivory),0 0 0 5px #bca77b77}.small-note{font-size:14px;line-height:1.5}.rsvp{padding:45px 26px 65px}.rsvp .eyebrow{font-size:8px;letter-spacing:1.4px}.rsvp-panel{border:1px solid #c8ae7877;padding:28px 22px;text-align:left;background:#fff8ed55}label,legend{display:block;font:12px/1.5 var(--sans);color:#7d6644;margin:0 0 9px}input,select,textarea{width:100%;min-height:48px;border:1px solid #c9b996;background:#faf6ee;color:#5d482e;border-radius:0;font:16px var(--serif);padding:12px;margin:0 0 24px;box-shadow:none}textarea{resize:vertical}fieldset{padding:0;margin:0 0 25px;border:0}fieldset legend{margin-bottom:12px}.choice{display:flex;position:relative;align-items:center;gap:10px;min-height:49px;border:1px solid #d2c3a2;padding:12px;margin:0 0 8px;font:16px var(--serif)}.choice input{width:18px;min-height:18px;height:18px;margin:0;accent-color:#96733d}.choice:has(input:checked){background:#e9dcc2;border-color:#a98b51}.radio-gem{margin-left:auto;color:#b49a64}.optional{font-size:10px;color:#9b8d74}.rsvp-panel .gold-button{width:100%}.demo-note{font:10px/1.6 var(--sans);color:#9b8767;text-align:center;margin:18px 0 0}.form-error{font:12px/1.5 var(--sans);color:#8f342a}.thanks{text-align:center;padding:30px 0}.thanks-gem{font-size:45px;color:#ae8b49}.thanks .script{font-size:44px}.thanks p{font-size:18px;line-height:1.6}.footer{padding:20px 25px 100px}.footer .arabic{font-size:26px}.footer .signature{margin:12px 0 30px}.credit{font:8px var(--sans);letter-spacing:1.6px;color:#b29b72;margin:25px 0 10px}.footer .text-button{font-size:9px}.dock{position:fixed;z-index:20;bottom:calc(12px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;justify-content:center;width:max-content;max-width:calc(100% - 30px);border:1px solid #c7b18577;background:#f8f2e6ed;box-shadow:0 3px 25px #604a1d1a;backdrop-filter:blur(14px)}.dock[hidden]{display:none}.dock a{font:10px var(--sans);text-decoration:none;letter-spacing:.5px;padding:16px 18px;white-space:nowrap}.dock a+a{border-left:1px solid #c7b18577;color:#916c2e}.reveal{opacity:1;transition:opacity .9s,transform .9s}.motion-ready .reveal:not(.seen){opacity:0;transform:translateY(16px)}[hidden]{display:none!important}@media(min-width:600px){.opening video{object-fit:cover}.section{scroll-margin-top:20px}.hero-content{padding-top:30px}.hero-content .eyebrow{font-size:9px}.hero-content .small-caps{font-size:9px}.hero-content .arabic{font-size:36px}h1{font-size:95px}.invitation-line{font-size:20px}.date-inside>.small-caps{font-size:9px}.scratch-wrap{height:250px}.date-reveal strong{font-size:100px}}@media(max-width:359px){.hero-content .arabic{font-size:25px}h1{font-size:57px;margin-top:22px}.invitation-line{font-size:13px}.hero-content .small-caps{font-size:6px}.hero-content .fine-line{margin:9px auto}.date-line{font-size:17px}.scratch-wrap{height:160px}.date-inside{padding-top:30px}.date-inside>.small-caps{font-size:6px}.section{padding-left:20px;padding-right:20px}.hero,.date-section{padding-left:7px;padding-right:7px}.script{font-size:42px}.timeline article{grid-template-columns:51px 23px 1fr;gap:6px}.timeline h3{font-size:24px}.timeline p{font-size:14px}.rsvp-panel{padding:22px 16px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}.motion-ready .reveal:not(.seen){opacity:1;transform:none}}
/* Keep live lettering inside the open centre of the sculpted frame. */
.hero-frame{aspect-ratio:2/4.6}.hero-content{width:54%;padding:0}.hero-content .arabic{font-size:25px;line-height:1.4;margin:0 0 8px}.hero-content .eyebrow{font-size:6px;letter-spacing:1px;line-height:1.8}h1{font-size:clamp(54px,16vw,76px);line-height:.8;margin:23px 0 15px}h1 i{font-size:24px;line-height:1.3}.arabic-names{font-size:16px;margin:12px 0}.hero-content .fine-line{margin:13px auto}.hero-content .small-caps{font-size:6px;line-height:1.8;letter-spacing:1px}.invitation-line{font-size:14px;line-height:1.55;margin:12px -4px 15px}.date-line{font-size:17px;letter-spacing:2px;margin:17px 0 10px}.date-frame{aspect-ratio:2/4}.date-inside{width:51%;padding:0}.scratch-wrap{height:175px}.date-inside>.small-caps{font-size:6px;line-height:1.9;letter-spacing:.7px}.date-inside .text-button{font-size:8px}.scratch-button{font-size:9px}.scratch-button span{margin-top:8px}.date-reveal strong{font-size:64px}.date-reveal span{font-size:15px}@media(min-width:600px){.hero-content .arabic{font-size:32px}.hero-content .eyebrow{font-size:8px}.hero-content .small-caps{font-size:8px}h1{font-size:80px}.invitation-line{font-size:18px}.arabic-names{font-size:21px}.date-line{font-size:22px}.scratch-wrap{height:225px}.date-reveal strong{font-size:86px}.date-inside>.small-caps{font-size:8px}}@media(max-width:359px){.hero-content .arabic{font-size:22px}h1{font-size:52px;margin:17px 0 10px}.hero-content .eyebrow{font-size:5px}.hero-content .small-caps{font-size:5px}.invitation-line{font-size:12px;margin:10px -5px}.arabic-names{font-size:14px;margin:8px 0}.hero-content .fine-line{margin:9px auto}.date-line{font-size:15px;margin:12px 0 8px}.scratch-wrap{height:147px}.scratch-button{font-size:8px}.date-inside>.small-caps{font-size:5px}.date-reveal strong{font-size:54px}.date-reveal span{font-size:12px}}
.dock a,.text-button,.replay,.skip-video{font-family:Arial,sans-serif}
/* Second composition: the film becomes the first page, with a different setting for each chapter. */
.scene-stage{position:relative;width:100%;aspect-ratio:9/16;container-type:inline-size;flex:none}.scene-stage video,.scene-still{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;max-width:none}.opening{align-items:flex-start;background:#e4dbcc;overflow:hidden}.opening .scene-stage{max-width:520px;margin:0 auto}.opening video{max-width:none}.opening-shade{background:linear-gradient(transparent 20%,#3a291b11 45%,#302010aa)}.opening-copy{bottom:12%}.opening-names{font-size:47px}.opening.playing .opening-shade{opacity:0}.opening .sound{bottom:22px}.scene-hero{padding:0!important;background:#ded3c0}.scene-card{position:absolute;left:28%;top:34.2%;width:44%;height:40.7%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#806138;padding:0 1%;z-index:1}.card-arabic{font-family:Georgia,'Times New Roman',serif;font-size:4.3cqw;line-height:1.3;margin:0 0 3.2cqw}.card-kicker{font:1.45cqw var(--sans);letter-spacing:.3cqw}.card-names{font:12cqw/.82 var(--script);margin:5cqw 0 3.4cqw;display:flex;flex-direction:column;align-items:center}.card-names i{font-style:normal;font-size:5cqw;line-height:1.35;color:#a08351}.card-message{font:2.7cqw/1.6 var(--serif);margin:0 0 3cqw}.card-date{font:3.1cqw var(--serif);letter-spacing:.5cqw;margin:0 0 2.4cqw}.card-city{font:1.45cqw var(--sans);letter-spacing:.5cqw}.scene-after{padding:28px 25px 35px;background:linear-gradient(#e3d9c7,var(--ivory));position:relative}.scene-after .eyebrow{font-size:8px;letter-spacing:1.6px}.scene-after .scroll-cue{margin-top:18px}.scene-after .replay{position:absolute;right:25px;top:50px}.scene-sparkles{position:absolute;inset:0;pointer-events:none}.scene-sparkles i{position:absolute;width:6px;height:6px;box-shadow:0 0 10px #fff7d8;background:#fff8df;clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);animation:jewel-glint 4s infinite}.scene-sparkles i:nth-child(1){left:14%;top:10%}.scene-sparkles i:nth-child(2){right:9%;top:83%;animation-delay:1.6s}.scene-sparkles i:nth-child(3){left:15%;top:89%;animation-delay:2.8s}@keyframes jewel-glint{0%,75%,100%{opacity:0;transform:scale(.5) rotate(0)}85%{opacity:1;transform:scale(2) rotate(60deg)}}
.gold-button{position:relative;isolation:isolate;background:transparent url(assets/gold-button-fast.webp) center/100% 100% no-repeat!important;border:0;box-shadow:none;min-height:76px;padding:20px 34px;color:#51380f;font-family:var(--serif);font-size:17px;letter-spacing:.3px;justify-content:center;gap:12px;filter:drop-shadow(0 5px 4px #68512a26);overflow:hidden}.gold-button:after{content:"";position:absolute;inset:17% 7%;border-radius:70px;pointer-events:none;background:linear-gradient(110deg,transparent 20%,#fff6d488 45%,#fff9e4bb 50%,transparent 68%);background-size:400% 100%;background-position:120% 0;mix-blend-mode:screen;animation:gold-sweep 8s infinite;z-index:-1}.gold-button:hover{filter:brightness(1.08) drop-shadow(0 6px 8px #68512a33)}@keyframes gold-sweep{0%,45%{background-position:120% 0}80%,100%{background-position:-30% 0}}
.date-section{padding-top:40px;padding-bottom:60px;background:radial-gradient(ellipse at 50% 45%,#fff9ee 10%,#f2eadb 70%)}.date-section .script{font-size:51px}.date-frame.arch-frame{background-image:url(assets/jewel-arch-fast.webp);aspect-ratio:2/3.5;max-width:430px;margin:26px auto 0}.arch-frame:after{mask-image:url(assets/jewel-arch-fast.webp);-webkit-mask-image:url(assets/jewel-arch-fast.webp)}.date-inside{width:57%;padding-top:60px}.scratch-wrap{height:190px;margin:20px 0 12px;background:#f7efdc;border-radius:46% 46% 3px 3px;border:1px solid #c5a566;box-shadow:0 7px 20px #8b682e0d}.scratch-button{font-size:10px;padding-bottom:8px}.scratch-button span{margin-top:8px}.date-inside>.small-caps{font-size:7px;line-height:1.8;margin-top:15px}.date-inside .text-button{font:10px Arial;padding:14px 0}.countdown{margin-top:8px}
.lattice-section{isolation:isolate}.lattice-section:before{content:"";position:absolute;inset:0;opacity:.17;z-index:-1;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ba9550' stroke-width='.7'%3E%3Cpath d='M60 0 78 42 120 60 78 78 60 120 42 78 0 60 42 42Z'/%3E%3Cpath d='M18 18 60 36 102 18 84 60 102 102 60 84 18 102 36 60Z'/%3E%3Ccircle cx='60' cy='60' r='15'/%3E%3C/g%3E%3C/svg%3E") center/100px;mask-image:linear-gradient(#000,transparent 25%,transparent 75%,#000);-webkit-mask-image:linear-gradient(#000,transparent 25%,transparent 75%,#000)}.blessing{padding:105px 35px 65px;background:#e9dcc5;box-shadow:inset 0 1px #c5aa7066,inset 0 -1px #c5aa7066;overflow:hidden}.blessing .script{font-size:46px}.blessing .eyebrow{font-size:7px;letter-spacing:1.5px;margin:0 28px}.blessing-text{font-size:23px;line-height:1.8;color:#6b5130}.blessing .signature{font-size:55px}.pendant{position:absolute;width:71px;height:213px;object-fit:contain;top:-5px;transform-origin:50% 0;animation:pendulum 7s ease-in-out infinite;filter:drop-shadow(2px 8px 4px #58401a33);z-index:1;pointer-events:none}.pendant-left{left:14px}.pendant-right{right:8px;top:-60px;width:55px;height:165px;animation-delay:-3s;animation-duration:8.5s}@keyframes pendulum{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}
.location{padding:55px 18px 45px;background:#f8f2e7}.location .script{font-size:60px;margin-bottom:25px}.venue-card{border:0;border-radius:0;padding:0 18px 20px;background:transparent}.venue-arch{height:auto;aspect-ratio:4/5;padding:0;margin:0 -7px 28px;border-radius:47% 47% 4px 4px;overflow:hidden;outline:1px solid #be9e61;outline-offset:6px;box-shadow:0 18px 35px #6a4d2422}.venue-arch svg,.venue-star{display:none}.palace-art{width:100%;height:100%;object-fit:cover;transform:scale(1.04);animation:courtyard-light 12s ease-in-out infinite;will-change:filter}.venue-arch:after{content:"";position:absolute;inset:0;background:linear-gradient(130deg,#fff5d32a,transparent 50%,#f5bf6433);mix-blend-mode:screen;pointer-events:none;animation:lantern-glow 6s ease-in-out infinite}.venue-card .small-caps{font-size:8px}.venue-card h3{font-size:32px}.venue-card .gold-button{margin-top:20px}.sample-note{font-size:8px!important;max-width:270px}@keyframes lantern-glow{0%,100%{opacity:.4}50%{opacity:1}}@keyframes courtyard-light{0%,100%{filter:brightness(.94)}50%{filter:brightness(1.05)}}
.programme{background:#e5d7bb;padding:65px 30px 40px;overflow:hidden}.programme:before,.programme:after{content:"";position:absolute;top:0;bottom:0;width:10px;border-inline:1px solid #b7945055;background:repeating-linear-gradient(45deg,transparent 0 8px,#b7945030 8px 9px,transparent 9px 16px)}.programme:before{left:9px}.programme:after{right:9px}.programme-ornament{height:60px;width:60px;margin:-30px auto 25px;background:url(assets/diamond-pendant-fast.webp) center 65%/60px 180px no-repeat;filter:drop-shadow(0 3px 3px #7e5c3022)}.programme .script{font-size:58px}.programme .eyebrow{font-size:8px;letter-spacing:2px}.timeline{padding:10px 0 0}.timeline article{padding-bottom:38px;grid-template-columns:57px 22px 1fr;gap:10px}.timeline h3{font-size:27px;color:#7b5c2b}.timeline p{font-size:16px}.timeline-gem{font-size:0;height:22px;background:url(assets/diamond-pendant-fast.webp) center 66%/18px 54px no-repeat;margin-top:3px;filter:drop-shadow(0 2px 2px #7e5c3022)}.timeline article:not(:last-child) .timeline-gem:after{left:10px;top:26px;bottom:-75px;background:linear-gradient(#b99b62,#f9ecd2,#b99b62)}
.dress{background:#f7efe0;padding:70px 30px 55px;position:relative}.dress:before{content:"";position:absolute;inset:30px 15px;border:1px solid #bb9a5755;border-radius:150px 150px 0 0;pointer-events:none}.dress-pendant{width:62px;height:130px;margin:-23px auto 5px;overflow:hidden}.dress-pendant img{width:54px;transform-origin:50% 0;animation:pendulum 9s ease-in-out infinite}.dress .script{font-size:47px}.dress .eyebrow{font-size:8px}.swatches span{width:43px;height:43px;border-radius:50% 50% 45% 45%;box-shadow:0 0 0 4px #f7efe0,0 0 0 5px #b6955b99,0 5px 12px #8b6a2822}.small-note{font-size:14px}
.rsvp{background:linear-gradient(#ede2cf,#f9f3e8);padding:55px 22px 55px}.rsvp .script{font-size:60px}.rsvp-panel{position:relative;background:#fbf6ed;border:1px solid #c3a168;outline:1px solid #d5c29c;outline-offset:5px;border-radius:85px 85px 2px 2px;padding:60px 25px 25px;box-shadow:0 16px 35px #82602c10}.rsvp-crown{position:absolute;top:11px;left:50%;transform:translateX(-50%);font-size:29px;color:#af8a4c}.rsvp-panel label,.rsvp-panel legend{font-family:var(--serif);font-size:16px;color:#745b36}.rsvp-panel input,.rsvp-panel select,.rsvp-panel textarea{background:#f8f1e4;border-color:#cfbb9444;border-bottom-color:#b69b67;border-radius:3px}.rsvp-panel .choice{background:transparent;border:1px solid #d5c29c;border-radius:3px;font-size:16px}.rsvp-panel .choice:has(input:checked){background:#e8d8b7;border-color:#b99a60}.rsvp-panel .gold-button{margin:0 -8px;width:calc(100% + 16px);min-height:75px;font-size:17px}.footer{background:#ece0c9;padding-top:50px}.footer .signature{font-size:60px}.footer .arabic{font-size:27px}.dock{background:#eee0c4ef;box-shadow:0 3px 20px #74532c22;border:1px solid #b5975b;border-radius:4px}.dock a{color:#745623}.dock a+a{border-color:#b5975b88}
@media(max-width:359px){.date-section .script{font-size:43px}.date-inside{padding-top:48px}.scratch-wrap{height:157px}.date-inside>.small-caps{font-size:6px}.date-inside .text-button{font-size:9px}.scratch-button{font-size:8px}.blessing .eyebrow{font-size:6px}.blessing-text{font-size:20px}.rsvp .script{font-size:54px}.rsvp-panel{padding-inline:20px}.gold-button{font-size:15px}.timeline h3{font-size:25px}.timeline p{font-size:14px}.card-message{font-size:2.7cqw}}@media(prefers-reduced-motion:reduce){.palace-art,.pendant,.dress-pendant img,.scene-sparkles i,.gold-button:after,.venue-arch:after{animation:none!important}}
.gold-button span{font-family:Arial,sans-serif;font-size:16px}
.gold-button span{font-size:0;display:inline-block;width:13px;height:13px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 13 13 3M4 3h9v9' fill='none' stroke='%235a4019' stroke-width='1.3'/%3E%3C/svg%3E") center/contain no-repeat}.text-button:after,.dock a:after{content:"";display:inline-block;width:9px;height:9px;margin-left:6px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 13 13 3M4 3h9v9' fill='none' stroke='%238a682f' stroke-width='1.4'/%3E%3C/svg%3E") center/contain no-repeat}.dock{border:0;box-shadow:none;background:transparent url(assets/gold-button-fast.webp) center/100% 100% no-repeat;width:300px;max-width:calc(100% - 28px);padding:11px 20px;filter:drop-shadow(0 6px 6px #5b401c26);border-radius:0;backdrop-filter:none}.dock a{padding:15px 10px;color:#5c401b;font-size:10px}.dock a+a{border:0;color:#5c401b}.dock a:after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 13 13 3M4 3h9v9' fill='none' stroke='%235a4019' stroke-width='1.4'/%3E%3C/svg%3E")}
/* Paper gift-box revision: one compact cut-paper frame; all other chapters are stationery inserts. */
body{background:#dfd3be}main{background:#e5d8c2;box-shadow:0 0 65px #58401e22}main:before{display:none}.section:not(.scene-hero){background-image:url(assets/cotton-paper-fast.webp);background-size:430px;background-blend-mode:multiply}.scene-after{background:linear-gradient(#e3d9c7,#eee4d1)}
.date-section{padding:28px 16px 25px;background-color:#f8f1e5}.date-section>.eyebrow{font-size:8px;letter-spacing:2px;line-height:1.6}.date-section .script{font-size:42px;line-height:1.1;margin:10px 0 10px}.date-section>.section-intro{font-size:15px;line-height:1.4;margin:0 0 12px}.date-frame.paper-frame{aspect-ratio:auto;width:min(100%,330px);height:clamp(260px,78vw,325px);max-width:330px;background-image:url(assets/compact-paper-frame-fast.webp);background-size:100% 100%;margin:5px auto 8px;filter:drop-shadow(0 3px 2px #79604412)}.paper-frame:after{mask-image:url(assets/compact-paper-frame-fast.webp);-webkit-mask-image:url(assets/compact-paper-frame-fast.webp)}.date-inside{width:59%;padding:0}.date-inside>.small-caps{font-size:6px;line-height:1.5;margin:0;letter-spacing:1.2px}.scratch-wrap{height:120px;border-radius:3px;margin:10px 0 5px;border:1px solid #c4a46366;box-shadow:0 2px 6px #8b682e15;background:#f8f1e4}.date-reveal strong{font-size:47px;line-height:1.05}.date-reveal span{font-size:12px}.scratch-button{font-size:8px;line-height:1.4;padding:4px 0;min-height:29px;letter-spacing:0}.scratch-button span{display:inline;font-size:12px;margin:0 0 0 6px}.date-foot>.small-caps{font-size:7px;line-height:1.6;margin:6px 0 4px;letter-spacing:1.6px}.date-foot .calendar-button{display:flex;width:220px;margin:0 auto;min-height:59px;padding:15px 24px;font-size:13px}.countdown{font-size:11px;line-height:1.5;margin:5px 0 0;letter-spacing:1.4px}
.blessing{background-color:#f0e5d0;padding:90px 26px 45px;margin:24px 16px 28px;box-shadow:0 2px 0 #d5c4a1,0 4px 0 #f5ecdc,0 8px 15px #674b2520;border:1px solid #d1bd9455;transform:rotate(-.3deg);overflow:hidden}.blessing:after{content:"";position:absolute;inset:10px;border:1px solid #c6aa7166;pointer-events:none}.blessing .eyebrow{font-size:6px;letter-spacing:1.3px;margin:0 22px}.blessing .script{font-size:42px;margin:22px 0}.blessing-text{font-size:20px;line-height:1.7}.blessing .signature{font-size:47px;margin:28px auto}.blessing .tiny-ornament{margin:18px auto}.pendant-left{width:52px;height:156px;left:4px;top:-6px}.pendant-right{width:39px;height:117px;right:2px;top:-35px}.lattice-section:before{opacity:.12;background-size:82px}
.location{background-color:#eee3cf;padding:40px 25px 45px}.location .script{font-size:52px;margin:12px 0 24px}.venue-card{background:#fcf7eb url(assets/cotton-paper-fast.webp) center/380px;border:1px solid #d4c3a3;border-radius:40% 40% 0 0;padding:25px 22px 27px;box-shadow:0 2px 0 #e8ddc8,0 4px 0 #cfbd99,0 9px 20px #6950261a;outline:1px solid #c0a36966;outline-offset:-10px}.venue-arch{height:115px;width:90px;aspect-ratio:auto;border:0;outline:0;border-radius:0;margin:5px auto 18px;box-shadow:none;overflow:visible;animation:none;background:transparent}.venue-arch:after{display:none}.letterpress-arch{position:relative;width:82px;height:102px;clip-path:polygon(0 100%,0 39%,5% 30%,20% 18%,38% 8%,50% 0,62% 8%,80% 18%,95% 30%,100% 39%,100% 100%);background:#bca16a;filter:drop-shadow(0 1px 0 #fff)}.letterpress-arch:before{content:"";position:absolute;inset:1px;clip-path:inherit;background:#f1e5cf url(assets/cotton-paper-fast.webp) center/300px;box-shadow:inset 0 2px 5px #7c603c11}.venue-monogram{position:absolute;inset:18px 8px 8px;display:flex;align-items:center;justify-content:center;font:30px var(--script);color:#9e8048;text-shadow:0 1px #fff6df,-.5px -.5px #8e744d44}.venue-monogram span{font:14px var(--script);margin:0 4px}.venue-card .small-caps{font-size:7px;letter-spacing:1.2px}.venue-card h3{font-size:29px;line-height:1.25;margin:16px -6px}.venue-card p{font-size:16px}.venue-card .venue-time{font-size:13px}.venue-card .gold-button{margin:20px -7px 0;font-size:15px;min-height:68px}.sample-note{font-size:7px!important;max-width:210px;margin-top:6px}
.programme{background-color:#f6eddd;margin:24px 15px 27px;padding:50px 20px 20px;box-shadow:0 1px 0 #d5c19b,0 6px 15px #674b251c;border:1px solid #cfbb9344;transform:rotate(.25deg)}.programme:before{left:7px;width:5px}.programme:after{right:7px;width:5px}.programme-ornament{height:39px;width:39px;background-size:39px 117px;margin:-25px auto 20px}.programme .script{font-size:48px;margin:14px 0 20px}.programme .eyebrow{font-size:7px;letter-spacing:1.7px}.timeline{position:relative;padding-top:10px;margin-top:20px}.timeline:before{content:"";position:absolute;inset:0 45% 0 48%;background:linear-gradient(90deg,transparent,#ad93600a,#fff7e855,transparent);pointer-events:none}.timeline article{grid-template-columns:47px 17px 1fr;gap:8px;padding-bottom:30px}.timeline time{font-size:8px}.timeline-gem{background-size:15px 45px}.timeline article:not(:last-child) .timeline-gem:after{left:8px}.timeline h3{font-size:24px}.timeline p{font-size:14px;line-height:1.6}
.dress{margin:27px 20px;background-color:#f3e7d0;padding:42px 20px 40px;box-shadow:0 2px 0 #d2bc94,0 7px 15px #6f51211c;transform:rotate(-.4deg)}.dress:before{inset:10px;border-radius:0;border-color:#b69a6155}.dress-pendant{width:40px;height:78px;margin:0 auto 13px}.dress-pendant img{width:34px}.dress .script{font-size:40px;margin:15px -5px}.dress .eyebrow{font-size:7px;letter-spacing:1.5px}.dress .section-intro{font-size:18px;line-height:1.6;margin:20px 0}.swatches{gap:12px;margin:28px 0}.swatches span{width:36px;height:36px;border-radius:0;box-shadow:0 0 0 3px #f6ebd7,0 0 0 4px #c1a77677,2px 4px 5px #866e3d22}.small-note{font-size:12px}
.rsvp{background-color:#efe4cf;padding:45px 23px 50px}.rsvp .script{font-size:51px;line-height:1.12;margin:15px 0}.rsvp .section-intro{font-size:18px}.rsvp-panel{background:#fbf5e9 url(assets/cotton-paper-fast.webp) center/390px;border-radius:55px 55px 2px 2px;box-shadow:0 2px 0 #d8c49f,0 6px 15px #82602c13;outline-offset:4px}.rsvp-panel input,.rsvp-panel select,.rsvp-panel textarea{background:#f7efdf99}.footer{background-color:#eee1c9}.footer .signature{font-size:51px}
@media(max-width:359px){.date-section{padding:24px 12px 18px}.date-section .script{font-size:35px;margin:8px 0}.date-section>.section-intro{font-size:13px;margin-bottom:8px}.date-frame.paper-frame{height:260px;width:280px;max-width:100%}.scratch-wrap{height:105px}.scratch-button{font-size:7px}.date-reveal strong{font-size:42px}.date-reveal span{font-size:11px}.date-inside>.small-caps{font-size:5px}.date-foot .calendar-button{min-height:53px;font-size:12px;width:205px}.date-foot>.small-caps{font-size:6px}.countdown{font-size:10px}.blessing{margin-inline:12px;padding-inline:20px}.blessing .script{font-size:36px}.blessing-text{font-size:18px}.blessing .signature{font-size:42px}.location{padding-inline:20px}.venue-card{padding-inline:18px}.venue-card h3{font-size:26px}.timeline article{grid-template-columns:40px 15px 1fr;gap:6px}.timeline h3{font-size:22px}.timeline p{font-size:12px}.timeline time{font-size:7px}.programme .script{font-size:42px}.rsvp .script{font-size:46px}}
/* The invitation reads as a paper object, without a floating website toolbar. */
.dock{display:none!important}.section:not(.scene-hero){background-image:linear-gradient(#fffaf044,#fffaf044),url(assets/cotton-paper-fast.webp);background-size:auto,430px;background-blend-mode:normal,multiply}.venue-card,.rsvp-panel{background-image:linear-gradient(#fffaf044,#fffaf044),url(assets/cotton-paper-fast.webp);background-size:auto,390px}
/* Pop-up stationery details: fixed geometry, no font-based decorative symbols. */
.icon{display:block;flex:none}.replay{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;line-height:1;padding:6px}.replay .icon{width:15px;height:15px}.scroll-cue{align-items:center}.scroll-cue .scroll-icon{width:14px;height:23px;margin-top:4px}.tiny-ornament{display:flex;align-items:center;justify-content:center;min-height:25px}.tiny-ornament .icon{width:22px;height:22px}.scratch-icon{display:inline-block;vertical-align:-2px;width:12px;height:12px;margin-left:5px}.rsvp-crown{width:25px;height:30px;display:flex;align-items:center;justify-content:center}.rsvp-crown .icon{width:25px;height:25px}.radio-gem{display:flex;align-items:center;justify-content:center;width:15px;height:18px;flex:none}.radio-gem .icon{width:13px;height:15px}.thanks-gem{display:flex;justify-content:center;margin:0 auto 20px}.thanks-gem .icon{width:34px;height:40px}.script{text-wrap:balance}.blessing .signature{white-space:nowrap;font-size:clamp(35px,11vw,47px)}
.opening-copy{bottom:max(40px,12svh);display:flex;justify-content:center}.opening-copy .gold-button{width:290px;max-width:100%;margin:0;justify-content:center}.opening-copy .gold-button:after{pointer-events:none}.opening-names,.opening-note,.opening-copy>.eyebrow{display:none}.sound-control{display:block;min-height:38px;padding:9px 12px;margin:12px auto 0;border:0;background:transparent;color:#947344;font:10px Arial,sans-serif;letter-spacing:.7px;text-decoration:underline;text-underline-offset:4px}.scene-after{padding-bottom:22px}.scene-after .replay{top:48px}.sound-control[aria-pressed=false]{color:#9f9077}
.location{position:relative;isolation:isolate;overflow:hidden}.location>.eyebrow,.location>.script{position:relative;z-index:2}.venue-card{position:relative;z-index:1;border-radius:32px 32px 2px 2px;padding-top:18px;overflow:visible;outline-offset:-9px}.paper-palace{position:relative;width:calc(100% + 30px);aspect-ratio:3/2;margin:0 -15px 17px;isolation:isolate;perspective:700px}.palace-cutout{position:relative;z-index:1;display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;filter:drop-shadow(0 6px 4px #7052221c);transform-origin:50% 95%}.palace-underlight{position:absolute;left:9%;right:9%;height:27%;bottom:0;z-index:0;border-radius:50%;background:radial-gradient(ellipse,#dcb46b77 0%,#e9c88544 30%,transparent 73%);filter:blur(7px);animation:palace-light 6s ease-in-out infinite}.palace-warmth{position:absolute;z-index:2;bottom:5%;left:10%;width:80%;height:39%;background:linear-gradient(0deg,#f7cb724d,transparent 90%);mix-blend-mode:soft-light;pointer-events:none;filter:blur(5px);animation:palace-light 6s ease-in-out infinite}.palace-glint{position:absolute;z-index:3;display:block;width:6px;height:6px;color:#fff9e2;pointer-events:none;filter:drop-shadow(0 0 2px #fff4cb);animation:palace-sparkle 5.7s ease-in-out infinite}.palace-glint .icon{width:100%;height:100%;fill:#fff9e2;stroke-width:.4}.palace-glint:nth-of-type(1){top:39%;left:43%;animation-delay:-1s}.palace-glint:nth-of-type(2){top:64%;left:36%;animation-delay:-3s}.palace-glint:nth-of-type(3){top:56%;left:65%;animation-delay:-4.2s}.palace-glint:nth-of-type(4){top:85%;left:35%;animation-delay:-2.1s}@keyframes palace-light{0%,100%{opacity:.35;transform:scale(.95)}50%{opacity:.9;transform:scale(1.04)}}@keyframes palace-sparkle{0%,60%,100%{opacity:0;transform:scale(.3)}72%{opacity:.95;transform:scale(1.5)}82%{opacity:.25;transform:scale(.6)}}
.paper-flowers{position:absolute;inset:0;z-index:3;pointer-events:none;overflow:hidden}.paper-flower{position:absolute;object-fit:contain;width:29px;height:29px;filter:drop-shadow(1px 3px 2px #7e653b1a);opacity:0;animation:paper-flower-drift 16s linear infinite;will-change:transform,opacity}.flower-1{left:0;top:2%;animation-delay:-4s;--flower-drift:9px;--flower-spin:72deg}.flower-2{right:-2px;top:9%;width:34px;height:34px;animation-duration:19s;animation-delay:-13s;--flower-drift:-10px;--flower-spin:-60deg}.flower-3{left:1px;top:25%;width:23px;height:23px;animation-duration:18s;animation-delay:-8s;--flower-drift:6px;--flower-spin:-90deg}.flower-4{right:2px;top:24%;width:25px;height:25px;animation-duration:21s;animation-delay:-18s;--flower-drift:-7px;--flower-spin:80deg}@keyframes paper-flower-drift{0%{opacity:0;transform:translate3d(0,-25px,0) rotate(0)}14%{opacity:.8}48%{transform:translate3d(var(--flower-drift),155px,0) rotate(calc(var(--flower-spin) * .5))}83%{opacity:.8}100%{opacity:0;transform:translate3d(0,370px,0) rotate(var(--flower-spin))}}
.promise{background-color:#ede0c8;padding:35px 20px 36px}.promise>.eyebrow{font-size:7px;letter-spacing:1.8px}.promise>.script{font-size:45px;margin:12px 0 25px}.promise-insert{position:relative;background:#faf4e8 url(assets/cotton-paper-fast.webp) center/420px;border:1px solid #d1bc9480;box-shadow:0 2px 0 #dbcaab,0 6px 16px #6950261a;padding:24px 19px 20px;text-align:center;isolation:isolate}.promise-insert:before{content:"";position:absolute;inset:8px;border:1px solid #c3a36755;pointer-events:none;z-index:-1}.promise-intro{font:17px/1.5 var(--serif);margin:0 0 8px;color:#8a6b3d}.signature-track{position:relative;width:100%;height:215px;touch-action:none;cursor:ew-resize;--ink:0%;--pen-x:20px;--pen-y:172px;--pen-tilt:0deg;outline-offset:5px;user-select:none;-webkit-user-select:none;overflow:visible}.signature-rule{position:absolute;left:12px;right:12px;top:176px;height:1px;background:linear-gradient(90deg,transparent,#c4a66c99 15%,#c4a66c99 85%,transparent)}.ink-signature{position:absolute;left:12px;right:12px;top:102px;display:block;white-space:nowrap;font:clamp(38px,12vw,53px)/1.5 var(--script);color:#a47a31;text-shadow:0 1px #fff5d6,-.3px -.3px #805a2655;clip-path:inset(0 calc(100% - var(--ink)) 0 0);pointer-events:none}.writing-quill{position:absolute;left:var(--pen-x);top:var(--pen-y);width:132px;height:132px;object-fit:contain;transform:translate(-4%,-97%) rotate(var(--pen-tilt));transform-origin:4% 97%;filter:drop-shadow(2px 4px 3px #74562b1a);pointer-events:none;transition:opacity .5s;z-index:2}.pen-tip{position:absolute;left:var(--pen-x);top:var(--pen-y);width:3px;height:3px;background:#b78b40;border-radius:50%;opacity:0;pointer-events:none}.signature-track.is-writing .pen-tip{opacity:.65}.signature-track.is-complete .writing-quill{opacity:.28}.promise-status{font:11px/1.6 Arial,sans-serif;color:#9a7d50;min-height:35px;margin:0 auto 5px;max-width:230px}.promise-insert .gold-button{width:240px;max-width:100%;margin:0 auto;min-height:64px;font-size:14px;padding:18px 25px}#writeSignature{justify-content:center}
@media(max-width:359px){.paper-palace{width:calc(100% + 30px);margin-inline:-15px}.venue-card h3{font-size:25px}.venue-card .venue-time{font-size:12px}.promise{padding-inline:15px}.promise>.script{font-size:40px}.promise-insert{padding-inline:17px}.promise-intro{font-size:16px}.signature-track{height:205px}.writing-quill{width:119px;height:119px}.ink-signature{font-size:38px}.paper-flower{width:24px;height:24px}.flower-2{width:29px;height:29px}}@media(prefers-reduced-motion:reduce){.paper-flower{animation:none!important;opacity:.45;transform:rotate(25deg)}.flower-1{top:17%}.flower-2{top:45%}.flower-3{top:66%}.flower-4{top:82%}.palace-underlight,.palace-warmth,.palace-glint{animation:none!important}.palace-underlight,.palace-warmth{opacity:.5}.palace-glint{opacity:.5}.signature-track{scroll-behavior:auto}.writing-quill{transition:none}}
.location:not(.stationery-in-view) .paper-flower,.location:not(.stationery-in-view) .palace-underlight,.location:not(.stationery-in-view) .palace-warmth,.location:not(.stationery-in-view) .palace-glint{animation-play-state:paused}
/* Keep two paper blossoms visible at all times; the original tiny drifting ones disappeared against the stock. */
.paper-flower{width:100px;height:67px;opacity:1;filter:drop-shadow(1px 4px 2px #76572d55);will-change:transform;animation:paper-blossom-float 9s ease-in-out infinite}.flower-1{left:-12px;top:22%;width:108px;height:72px;animation-delay:-1.5s;--bloom-turn:-14deg}.flower-2{right:-10px;top:37%;width:102px;height:68px;animation-delay:-4.5s;animation-duration:11s;--bloom-turn:22deg}.flower-3{left:-18px;top:54%;width:80px;height:54px;animation:paper-blossom-drift 18s ease-in-out infinite;animation-delay:-7s;--bloom-turn:8deg}.flower-4{right:-18px;top:62%;width:84px;height:56px;animation:paper-blossom-drift 21s ease-in-out infinite;animation-delay:-12s;--bloom-turn:-25deg}@keyframes paper-blossom-float{0%,100%{transform:translate3d(0,-4px,0) rotate(var(--bloom-turn))}50%{transform:translate3d(3px,7px,0) rotate(calc(var(--bloom-turn) + 9deg))}}@keyframes paper-blossom-drift{0%,100%{transform:translate3d(0,-12px,0) rotate(var(--bloom-turn))}50%{transform:translate3d(3px,64px,0) rotate(calc(var(--bloom-turn) + 25deg))}}@media(max-width:359px){.flower-1{width:92px;height:62px;left:-13px;top:22%}.flower-2{width:88px;height:59px;right:-14px;top:38%}.flower-3{width:73px;height:49px;left:-22px}.flower-4{width:75px;height:50px;right:-22px}}@media(prefers-reduced-motion:reduce){.paper-flower{animation:none!important;opacity:1;transform:rotate(var(--bloom-turn))}}
/* Ink is written word by word, preserving the actual font's cursive joins and text geometry. */
.ink-word{display:inline-block;white-space:nowrap;vertical-align:baseline}.ink-ready .ink-text:not(.ink-seen) .ink-word{opacity:0;clip-path:inset(-.35em 100% -.4em -.18em)}.ink-ready .ink-text.ink-seen .ink-word{animation:write-in-ink var(--word-duration,.65s) cubic-bezier(.3,.05,.35,1) var(--word-delay,0s) both}.motion-ready .reveal.ink-text:not(.seen){opacity:1;transform:none}.reveal.ink-text{transition:none}@keyframes write-in-ink{0%{opacity:.35;clip-path:inset(-.35em 100% -.4em -.18em);filter:blur(.65px)}35%{opacity:.9;filter:blur(.3px)}100%{opacity:1;clip-path:inset(-.35em -.2em -.4em -.18em);filter:blur(0)}}
.date-frame.paper-frame{background-image:url(assets/jewelled-date-frame-fast.webp)}.paper-frame:after{mask-image:url(assets/jewelled-date-frame-fast.webp);-webkit-mask-image:url(assets/jewelled-date-frame-fast.webp)}.scratch-wrap{border:1px solid #b18c43;outline:1px solid #d4b66e77;outline-offset:3px;box-shadow:0 2px 5px #82622d20,inset 0 0 0 3px #f8e9bd55}.date-inside{width:55%}.date-reveal strong{color:#977030}.date-foot .calendar-button{min-height:59px}
.gold-button{background-image:url(assets/satin-gold-button-fast.webp)!important;color:#5c421d;filter:drop-shadow(0 3px 2px #70532d22);font-size:16px;text-shadow:0 1px #fff5da66;transition:filter .3s}.gold-button:after{animation-duration:13s;opacity:.55;inset:21% 8%}.gold-button:hover{filter:brightness(1.035) drop-shadow(0 4px 4px #70532d26)}.gold-button:active{filter:brightness(.97) drop-shadow(0 1px 1px #70532d22)}
.insert-blooms{position:absolute;inset:0;pointer-events:none;z-index:3;overflow:hidden}.bloom{position:absolute;display:block;width:79px;height:53px;object-fit:contain;filter:drop-shadow(1px 3px 2px #76572d33);transform:rotate(var(--bloom-rotation,-12deg));animation:insert-flower-breathe 11s ease-in-out infinite;transform-origin:center}.bloom-b{--bloom-rotation:24deg;animation-delay:-5s;width:66px;height:44px}.date-blooms .bloom-a{left:-14px;bottom:100px}.date-blooms .bloom-b{right:-12px;top:96px}.promise-blooms .bloom-a{right:0;top:19px;width:65px;height:44px}.promise-blooms .bloom-b{left:-10px;bottom:15px}.blessing-blooms .bloom-a{left:-13px;bottom:46px}.blessing-blooms .bloom-b{right:-9px;bottom:82px}.programme-blooms .bloom-a{right:-12px;top:90px;width:65px;height:44px}.programme-blooms .bloom-b{left:-12px;bottom:15px}.dress-blooms .bloom-a{left:-15px;top:75px;width:63px;height:42px}.dress-blooms .bloom-b{right:-17px;bottom:45px}.rsvp-blooms .bloom-a{right:-10px;top:20px;width:68px;height:46px}.rsvp-blooms .bloom-b{left:-10px;bottom:33px}.footer-blooms .bloom-a{left:5px;bottom:24px;width:94px;height:63px}.footer-blooms .bloom-b{right:0;top:15px;width:83px;height:56px}@keyframes insert-flower-breathe{0%,100%{transform:translateY(0) rotate(var(--bloom-rotation,-12deg))}50%{transform:translateY(-3px) rotate(calc(var(--bloom-rotation,-12deg) + 4deg))}}
/* Each insert has its own die-cut silhouette. */
.venue-card{border-radius:35% 35% 2px 2px;padding-top:40px}.promise-insert{border-radius:0 28px 0 0;clip-path:polygon(0 0,calc(100% - 25px) 0,100% 25px,100% 100%,0 100%);filter:drop-shadow(0 4px 4px #6c512218)}.promise-insert:after{content:"";position:absolute;top:0;right:0;width:25px;height:25px;background:linear-gradient(45deg,#e7d7b5,#fffaf0);border-bottom:1px solid #c8b185;border-left:1px solid #c8b185;clip-path:polygon(0 0,100% 100%,0 100%)}.programme{clip-path:polygon(11px 0,calc(100% - 11px) 0,100% 11px,100% calc(100% - 11px),calc(100% - 11px) 100%,11px 100%,0 calc(100% - 11px),0 11px);border-radius:0;padding-top:50px}.programme .timeline{background:linear-gradient(90deg,transparent 46%,#c5ae7810 49.5%,#fff9e966 50%,transparent 54%)}.dress{margin-inline:34px;border-radius:100px 100px 2px 2px;padding-top:51px;padding-inline:18px}.dress:before{border-radius:90px 90px 0 0}.dress .script{font-size:39px}.dress .section-intro{font-size:17px}.dress .swatches{gap:11px}.dress .swatches span{width:32px;height:39px}.rsvp-panel{border-radius:18px 18px 4px 4px;outline-offset:5px;padding-top:54px}.rsvp-panel:before{content:"";position:absolute;left:25%;right:25%;top:-1px;height:1px;background:#b6955b}.rsvp-crown{top:12px}
@media(max-width:359px){.date-inside{width:54%}.date-blooms .bloom-a{width:68px;height:46px;left:-16px}.date-blooms .bloom-b{width:59px;height:40px;right:-14px;top:90px}.dress{margin-inline:26px;padding-inline:17px}.dress .script{font-size:35px}.dress .section-intro{font-size:15px}.dress .swatches span{width:28px;height:35px}.dress .swatches{gap:10px}.promise-blooms .bloom-a{right:-8px}.rsvp-blooms .bloom-a{right:-13px}.footer-blooms .bloom-a{width:75px;height:50px}.footer-blooms .bloom-b{width:70px;height:47px}}@media(prefers-reduced-motion:reduce){.ink-ready .ink-text .ink-word{opacity:1!important;clip-path:none!important;filter:none!important;animation:none!important}.insert-blooms .bloom{animation:none!important}}
/* Music continues beyond the film; controls stay inside the paper invitation. */
.audio-controls{display:flex;justify-content:center;align-items:center;gap:14px}.audio-controls .sound-control{margin:12px 0 0;min-width:76px;min-height:38px}.audio-controls .sound-control:disabled{opacity:.55;cursor:default}

/* Consistent public opening: full-screen tap and a soft dissolve. */
.opening{cursor:pointer;transition:opacity 1.45s cubic-bezier(.22,.61,.36,1),visibility 0s;will-change:opacity}.opening.is-hidden{transition:opacity 1.45s cubic-bezier(.22,.61,.36,1),visibility 0s 1.45s}.opening-copy,.opening-shade{transition:opacity 1.1s cubic-bezier(.22,.61,.36,1)}.opening.starting .opening-copy,.opening.starting .opening-shade{opacity:0;pointer-events:none}.opening #play:disabled{opacity:1}@media(prefers-reduced-motion:reduce){.opening,.opening.is-hidden,.opening-copy,.opening-shade{transition-duration:.12s;transition-delay:0s}}
