/* Ishhar 01 — «ميثاق». A sealed royal scroll: the seal breaks, the parchment unrolls between two gold rods, the quill writes the couple's names (scroll design used with its owners' permission; rebuilt with لحظتنا additions on the V12 system). */
.g1-root.lgx-mithaq{
  --mq-ink:#5a4318;--mq-soft:#86703f;--mq-gold:#c9a227;--mq-deep:#8a6a22;--mq-light:#ebd9a6;--mq-orn:#b38e2a;--mq-tint:rgba(255,255,255,0);--mq-btn1:#c9a227;--mq-btn2:#8a6a22;--mq-paper:#fcfbf7;--rod-h:34px;--rod-cap:44px;
  --velvet:#2a1a10;--velvet-deep:#1a0f08;--crimson:var(--mq-deep);--rose:var(--mq-deep);--gold:var(--mq-gold);--gold-soft:var(--mq-light);--ivory:#fcfbf7;--ivory-2:#f6f1e2;--ink:var(--mq-ink);--ink-soft:var(--mq-soft);
  --x-font:'Amiri','Noto Naskh Arabic',serif;--x-num:'Amiri',serif;--ui:'Amiri','Noto Naskh Arabic',serif;
  --t-amiri:'Amiri','Noto Naskh Arabic',serif;--t-sign:'Aref Ruqaa','Amiri',serif;--t-latin:'Cormorant Garamond',Georgia,serif;
  --l-gold:var(--gold);--l-gold-2:var(--crimson);--l-soft:var(--ink-soft);--l-ink:var(--ink);--l-ink-soft:var(--ink-soft);--l-text:var(--ink);--l-paper:#fff;--l-paper-2:var(--ivory-2);--l-wine:var(--crimson);
  --g1-paper:var(--ivory);--g1-ink:var(--ink);--g1-soft:var(--ink-soft);--g1-accent:var(--gold);--g1-font:var(--x-font);
}
html:has(.lgx-mithaq),html:has(.lgx-mithaq) body{background:radial-gradient(55% 45% at 16% 10%,rgba(255,196,120,.20),rgba(255,196,120,0) 70%),radial-gradient(120% 90% at 50% 38%,#3d2818 0%,#25170d 58%,#140b05 100%),repeating-linear-gradient(91deg,rgba(255,236,200,.025) 0 2px,rgba(0,0,0,0) 2px 11px),#180e07;background-attachment:fixed}
body{margin:0}
.g1-root.lgx-mithaq{position:relative;max-width:520px;margin:0 auto;color:var(--ink);font-family:var(--x-font);overflow-x:hidden;overflow-x:clip;min-height:100vh;-webkit-text-size-adjust:100%;text-size-adjust:100%;
  background-color:var(--ivory);background-image:radial-gradient(120% 60% at 50% 0%,rgba(255,255,255,.9),rgba(255,255,255,0) 70%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='160' viewBox='0 0 120 160'%3E%3Cg fill='none' stroke='%23d9c3b6' stroke-width='1' opacity='.36'%3E%3Cpath d='M60 0C60 40 120 40 120 80S60 120 60 160M60 0C60 40 0 40 0 80S60 120 60 160'/%3E%3Cpath d='M60 64c-6 6-6 26 0 32 6-6 6-26 0-32zM44 80c6-6 26-6 32 0-6 6-26 6-32 0z'/%3E%3C/g%3E%3Cg fill='%23d9c3b6' opacity='.34'%3E%3Ccircle cx='60' cy='80' r='2.2'/%3E%3Ccircle cx='0' cy='0' r='1.6'/%3E%3Ccircle cx='120' cy='0' r='1.6'/%3E%3Ccircle cx='0' cy='160' r='1.6'/%3E%3Ccircle cx='120' cy='160' r='1.6'/%3E%3C/g%3E%3C/svg%3E");background-size:100% 520px,120px 160px;background-repeat:no-repeat,repeat;box-shadow:0 0 60px rgba(0,0,0,.45)}
.g1-root.lgx-mithaq *{box-sizing:border-box}
.g1-root.lgx-mithaq [hidden]{display:none!important}
.g1-root.lgx-mithaq p{margin:0}
.g1-root.lgx-mithaq button{font-family:inherit}
.g1-root.lgx-mithaq .g1-doc{position:relative;z-index:1;padding-bottom:4px}
.g1-root.lgx-mithaq .g1-confetti{position:fixed;z-index:70;inset:0;width:100%;height:100%;pointer-events:none}
.g1-root.lgx-mithaq .g1-bgm{position:fixed;z-index:20;right:max(4%,calc(50% - 250px));bottom:max(4%,env(safe-area-inset-bottom));width:52px;height:52px;padding:13px;border-radius:50%;background:linear-gradient(180deg,#8f1424,var(--crimson));border:2px solid var(--gold-soft);color:#fff6ea;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .8s ease-out .4s;box-shadow:0 8px 20px -10px rgba(0,0,0,.7)}
.g1-root.lgx-mithaq.g1-lifted .g1-bgm{opacity:1;pointer-events:auto}
.g1-root.lgx-mithaq .g1-bgm svg{width:100%;height:100%;fill:currentColor;stroke:currentColor;stroke-linecap:round;display:block}
.g1-root.lgx-mithaq .g1-bgm .g1-bgm-off{opacity:0;transition:opacity .25s}
.g1-root.lgx-mithaq .g1-bgm[aria-pressed="false"]{background:#9a8580}
.g1-root.lgx-mithaq .g1-bgm[aria-pressed="false"] .g1-bgm-off{opacity:1}
.g1-root.lgx-mithaq .g1-scrollhint{display:none!important}
.g1-root.lgx-mithaq .lgx-emb{display:block;color:var(--crimson)}

/* ================= the curtain (opening) over the henna scene ================= */
.g1-root.lgx-mithaq .g1-open{position:fixed;z-index:60;inset:0;overflow:hidden;cursor:pointer;background:var(--velvet-deep);-webkit-tap-highlight-color:transparent;outline:none}
.g1-root.lgx-mithaq .lgx-scene{position:absolute;inset:0;overflow:hidden;background:var(--velvet-deep)}
.g1-root.lgx-mithaq .g1-open .lgx-scene{left:50%;right:auto;width:min(100%,520px);transform:translateX(-50%)}
.g1-root.lgx-mithaq .lgx-stage{position:absolute;left:50%;top:50%;aspect-ratio:9/16;width:max(100%,calc(100svh * 9 / 16));transform:translate(-50%,-50%);container-type:inline-size}
.g1-root.lgx-mithaq .lgx-still,.g1-root.lgx-mithaq .lgx-loop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.g1-root.lgx-mithaq .lgx-half{position:absolute;top:0;bottom:0;width:50.5%;background-size:200% 100%;background-repeat:no-repeat;transition:transform 1.35s cubic-bezier(.55,.05,.25,1);will-change:transform}
.g1-root.lgx-mithaq .lgx-half--r{right:0;background-position:right center;transform-origin:100% 0}
.g1-root.lgx-mithaq .lgx-half--l{left:0;background-position:left center;transform-origin:0 0}
.g1-root.lgx-mithaq.g1-on .g1-open .lgx-half--r{transform:translateX(62%) scaleX(.55)}
.g1-root.lgx-mithaq.g1-on .g1-open .lgx-half--l{transform:translateX(-62%) scaleX(.55)}
.g1-root.lgx-mithaq .lgx-lines{position:absolute;top:15%;left:50%;width:66%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:.05em;font-family:var(--t-sign);font-weight:700;font-size:8.4cqw;line-height:1.55;color:var(--crimson);text-align:center;pointer-events:none}
.g1-root.lgx-mithaq .g1-open .lgx-lines{visibility:hidden}
.g1-root.lgx-mithaq .lgx-line{display:block;white-space:nowrap;text-shadow:0 0 .35em rgba(255,253,250,.95),0 0 .9em rgba(255,253,250,.8),0 1px 0 rgba(255,255,255,.7);clip-path:inset(0 0 0 100%);opacity:0;filter:blur(3px)}
.g1-root.lgx-mithaq .lgx-line.on{animation:lgx-write 1.15s cubic-bezier(.3,.1,.2,1) forwards}
.g1-root.lgx-mithaq .lgx-line.now{animation:none;clip-path:inset(0 0 0 0);opacity:1;filter:none}
@keyframes lgx-write{0%{clip-path:inset(0 0 0 100%);opacity:0;filter:blur(3px)}25%{opacity:1}100%{clip-path:inset(0 0 0 0);opacity:1;filter:blur(0)}}
.g1-root.lgx-mithaq .lgx-ph-chip{position:absolute;left:0;right:0;bottom:calc(16% + 78px);margin:0 auto!important;width:max-content;max-width:88%;padding:4px 16px;border-radius:999px;background:rgba(40,3,9,.55);border:1px solid rgba(216,183,122,.75);color:#fff7ea;font-family:var(--ui);font-size:14px}
.g1-root.lgx-mithaq .lgx-hero .lgx-ph-chip{bottom:calc(18px + 64px)}
.g1-root.lgx-mithaq .g1-hint{position:absolute;z-index:6;left:0;right:0;bottom:calc(16% + env(safe-area-inset-bottom,0px));margin:0 auto;width:max-content;max-width:88vw;display:flex;align-items:center;gap:10px;padding:12px 22px 12px 18px;border:1px solid rgba(216,183,122,.75);border-radius:999px;background:rgba(40,3,9,.55);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff7ea;font-family:var(--ui);font-size:17px;font-weight:600;white-space:nowrap;box-shadow:0 10px 30px rgba(0,0,0,.35);animation:lgx-hint-in .9s .4s both ease-out}
.g1-root.lgx-mithaq .lgx-tap-hand{width:24px;height:24px;color:var(--gold-soft);animation:lgx-tap 1.6s infinite ease-in-out}
.g1-root.lgx-mithaq .lgx-tap-ring{position:absolute;inset:-1px;border-radius:inherit;border:1px solid rgba(216,183,122,.8);animation:lgx-ring 1.9s infinite ease-out;pointer-events:none}
@keyframes lgx-hint-in{from{opacity:0;transform:translateY(14px)}}
@keyframes lgx-tap{0%,100%{transform:translateY(0)}45%{transform:translateY(-3px) scale(.96)}}
@keyframes lgx-ring{0%{opacity:.9;transform:scale(1)}100%{opacity:0;transform:scale(1.18,1.5)}}
.g1-root.lgx-mithaq .g1-open{transition:none!important}
.g1-root.lgx-mithaq.g1-lifted .g1-open{opacity:0;visibility:hidden;pointer-events:none}
.g1-root.lgx-mithaq.g1-on .g1-open .g1-hint{animation:none;opacity:0;transition:opacity .35s ease}
.g1-root.lgx-mithaq.g1-lifted .g1-doc{animation:lgx-rise .85s cubic-bezier(.2,.75,.25,1) both}
@keyframes lgx-rise{from{transform:translate3d(0,24px,0)}to{transform:translate3d(0,0,0)}}
.g1-root.lgx-mithaq .g1-s-cap.lgx-hero{position:relative;max-width:none;margin:0;padding:0;height:100vh;height:100svh;min-height:520px;overflow:hidden;text-align:center}
.g1-root.lgx-mithaq .lgx-hero-stage{position:absolute;inset:0}
.g1-root.lgx-mithaq .lgx-scrollhint{position:absolute;z-index:3;left:0;right:0;bottom:max(12px,2.2svh);margin:0 auto;width:max-content;display:flex;flex-direction:column;align-items:center;padding:6px 18px 3px;border-radius:999px;background:rgba(0,0,0,.4);border:1px solid color-mix(in srgb,var(--l-gold) 50%,transparent);color:var(--l-gold-2);font-size:14px;line-height:1.5;transition:opacity .4s}
.g1-root.lgx-mithaq:not(.g1-lifted) .lgx-scrollhint{opacity:0}
.g1-root.lgx-mithaq .lgx-scrollhint-arrow{width:22px;height:22px;animation:lgx-bob 1.7s ease-in-out infinite}
@keyframes lgx-bob{0%,100%{transform:translateY(-2px);opacity:.6}50%{transform:translateY(4px);opacity:1}}

/* ================= shared section frame ================= */
.g1-root.lgx-mithaq .lgx-sec{position:relative;margin:0 auto;max-width:760px;padding:clamp(28px,7.5vw,50px) 16px clamp(30px,8vw,54px);text-align:center;font-family:var(--x-font);overflow-x:clip}
.g1-root.lgx-mithaq .lgx-title{display:flex;flex-direction:column;align-items:center;margin:0 auto clamp(20px,6vw,32px)}
.g1-root.lgx-mithaq .lgx-orn{display:flex;align-items:center;justify-content:center;gap:10px}
.g1-root.lgx-mithaq .lgx-orn-line{display:block;width:clamp(48px,15vw,84px);height:1px;background:linear-gradient(90deg,transparent,var(--l-gold))}
.g1-root.lgx-mithaq .lgx-orn-line:last-child{transform:scaleX(-1)}
.g1-root.lgx-mithaq .lgx-orn-emb svg{display:block;width:30px;height:auto}
.g1-root.lgx-mithaq .lgx-h{margin:4px 0 0;font-family:var(--t-sign);font-weight:700;font-size:clamp(28px,8.4vw,36px);line-height:1.4;color:var(--crimson)}
.g1-root.lgx-mithaq .lgx-sub{margin:0 auto;max-width:30em;font-size:clamp(14.5px,3.8vw,17px);line-height:1.6;color:var(--l-soft);text-wrap:balance}
.g1-root.lgx-mithaq .lgx-ico{display:block;width:20px;height:20px;flex:none}
.g1-root.lgx-mithaq .g1-doc .g1-div{display:flex;align-items:center;justify-content:center;gap:10px;width:min(56%,320px);height:14px;margin:2px auto;padding:0}
.g1-root.lgx-mithaq .g1-doc .g1-div::before,.g1-root.lgx-mithaq .g1-doc .g1-div::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--l-gold) 60%,transparent))}
.g1-root.lgx-mithaq .g1-doc .g1-div::after{transform:scaleX(-1)}
.g1-root.lgx-mithaq .g1-doc .g1-div>i{display:block;width:8px;height:8px;flex:none;background:var(--l-gold);transform:rotate(45deg)}
.g1-root.lgx-mithaq .g1-doc .g1-div[hidden]{display:none!important}
.g1-root.lgx-mithaq .g1-doc .g1-div.lgx-div--quiet{visibility:hidden;height:2px;margin:0 auto}
.g1-root.lgx-mithaq .g1-s-new{margin:0 auto}
.g1-root.lgx-mithaq .g1-s-new .g1-extra-box{background:none;border:0;box-shadow:none;padding:0}
.g1-root.lgx-mithaq .g1-s-text{display:none!important}
.g1-root.lgx-mithaq .lgx-nav{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:clamp(24px,7vw,36px)}
.g1-root.lgx-mithaq .lgx-arrow{display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:50%;border:1px solid color-mix(in srgb,var(--l-gold) 60%,transparent);background:rgba(0,0,0,.25);color:var(--l-gold-2);cursor:pointer;transition:background .2s,color .2s}
.g1-root.lgx-mithaq .lgx-arrow:hover{background:var(--l-gold);color:var(--velvet)}
.g1-root.lgx-mithaq .lgx-dots{display:flex;align-items:center;gap:11px;min-height:20px}
.g1-root.lgx-mithaq .lgx-dots button{position:relative;width:10px;height:10px;padding:0;border:0;border-radius:50%;background:color-mix(in srgb,var(--l-gold) 30%,transparent);cursor:pointer;transition:background .25s,transform .25s}
.g1-root.lgx-mithaq .lgx-dots button::before{content:"";position:absolute;inset:-9px}
.g1-root.lgx-mithaq .lgx-dots button[aria-current="true"]{background:var(--l-gold);transform:scale(1.3)}
.g1-root.lgx-mithaq .lgx-count-txt{font-family:var(--x-num);font-weight:800;font-size:16px;color:var(--l-gold-2);direction:ltr}
.g1-root.lgx-mithaq :focus-visible{outline:2px solid var(--l-gold);outline-offset:3px}
.g1-root.lgx-mithaq .lgx-paper{background:linear-gradient(180deg,#fbf6e9,var(--l-paper) 50%,var(--l-paper-2));color:var(--l-ink);box-shadow:0 26px 44px -24px rgba(0,0,0,.85)}

.g1-root.lgx-mithaq .lgx-sub{color:var(--ink-soft)}
.g1-root.lgx-mithaq .lgx-orn-line{background:linear-gradient(90deg,transparent,var(--gold))}
.g1-root.lgx-mithaq .lgx-arrow{background:#fff;color:var(--crimson);border-color:rgba(176,132,62,.5)}
.g1-root.lgx-mithaq .lgx-arrow:hover{background:var(--crimson);color:#fff}
.g1-root.lgx-mithaq .lgx-dots button{background:rgba(125,15,31,.22)}.g1-root.lgx-mithaq .lgx-dots button[aria-current="true"]{background:var(--crimson)}
.g1-root.lgx-mithaq .lgx-count-txt{color:var(--crimson)}
.g1-root.lgx-mithaq .g1-doc .g1-div>i{background:var(--gold)}
.g1-root.lgx-mithaq :focus-visible{outline-color:var(--crimson)}
.g1-root.lgx-mithaq .lgx-scrollhint{background:rgba(40,3,9,.5);border-color:rgba(216,183,122,.6);color:#fff3e3;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);font-family:var(--ui)}
/* ================= tiles (the template's card surface) ================= */
.g1-root.lgx-mithaq .lgx-tile{position:relative;padding:16px 10px 14px;border-radius:18px;background:rgba(255,255,255,.78);border:1px solid rgba(176,132,62,.38);box-shadow:0 8px 22px rgba(90,10,21,.07),inset 0 0 0 4px rgba(255,255,255,.55);text-align:center}
.g1-root.lgx-mithaq .lgx-ico2{width:30px;height:30px;margin:0 auto 6px;display:block;fill:none;stroke:var(--crimson);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.g1-root.lgx-mithaq .lgx-k{margin:0;font-family:var(--ui);font-size:14px;color:var(--ink-soft)}
.g1-root.lgx-mithaq .lgx-v{margin:2px 0 0!important;font-family:var(--ui);font-weight:600;font-size:clamp(19px,5.6vw,23px);color:var(--crimson);font-variant-numeric:lining-nums}
/* ================= 1. invitation ================= */
.g1-root.lgx-mithaq .g1-s-cert.lgx-sec{padding-top:0}
.g1-root.lgx-mithaq .lgx-invite{text-align:center}
.g1-root.lgx-mithaq .lgx-garland{display:block;width:calc(100% + 32px);height:auto;margin:0 -16px 10px;pointer-events:none;mix-blend-mode:multiply}
.g1-root.lgx-mithaq .lgx-poem{margin:6px 0 4px!important;font-family:var(--t-sign);font-weight:700;font-size:clamp(32px,9.6vw,46px);line-height:1.5;color:var(--crimson);white-space:pre-line;text-wrap:balance}
.g1-root.lgx-mithaq .lgx-divider{display:block;width:min(240px,66%);height:auto;margin:10px auto 14px;color:var(--gold)}
.g1-root.lgx-mithaq .lgx-welcome{margin:0 0 26px!important;font-family:var(--t-sign);font-size:clamp(25px,7.4vw,34px);line-height:1.6;color:var(--gold)}
.g1-root.lgx-mithaq .lgx-lead{margin:0!important;font-size:clamp(19px,5.4vw,23px);line-height:1.9;color:var(--ink);text-wrap:balance}
.g1-root.lgx-mithaq .lgx-lead b{font-family:var(--t-sign);font-weight:700;font-size:1.5em;line-height:1.45;color:var(--crimson);display:block}
.g1-root.lgx-mithaq .lgx-names{margin:4px 0 0;font-family:var(--t-sign);font-weight:700;font-size:clamp(64px,21vw,96px);line-height:1.25;color:var(--rose);text-shadow:0 2px 0 rgba(255,255,255,.8),0 10px 26px rgba(125,15,31,.18);overflow-wrap:anywhere}
.g1-root.lgx-mithaq .lgx-names.is-long{font-size:clamp(44px,13vw,64px);line-height:1.35}
.g1-root.lgx-mithaq .lgx-sub2{font-size:clamp(16px,4.6vw,19px);color:var(--ink-soft)}
.g1-root.lgx-mithaq .lgx-flourish{display:block;width:min(260px,72%);height:auto;margin:6px auto 10px;color:var(--gold)}
.g1-root.lgx-mithaq .lgx-cd-text{font-size:clamp(16px,4.6vw,19px);line-height:1.9;color:var(--ink-soft);text-wrap:balance}
.g1-root.lgx-mithaq .lgx-cd-text .lgx-para{display:block}.g1-root.lgx-mithaq .lgx-cd-text strong{color:var(--crimson)}
/* ================= 2. date tiles + save the date ================= */
.g1-root.lgx-mithaq .g1-s-calendar.lgx-sec,.g1-root.lgx-mithaq .g1-s-venue.lgx-sec,.g1-root.lgx-mithaq .g1-s-countdown.lgx-sec{padding-top:8px;padding-bottom:10px}
.g1-root.lgx-mithaq .lgx-details{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:480px;margin:0 auto 26px}
.g1-root.lgx-mithaq .lgx-cal{max-width:300px;margin:0 auto;border-radius:18px;overflow:hidden;background:#fff;border:1px solid rgba(176,132,62,.38);box-shadow:0 12px 26px rgba(90,10,21,.12)}
.g1-root.lgx-mithaq .lgx-cal-top{padding:10px;background:linear-gradient(180deg,#8f1424,var(--crimson));color:#fff6ea;font-family:var(--ui);font-weight:600;font-size:17px}
.g1-root.lgx-mithaq .lgx-cal-body{padding:10px 10px 14px}
.g1-root.lgx-mithaq .lgx-cal-wd{font-family:var(--ui);font-size:16px;color:var(--ink-soft)}
.g1-root.lgx-mithaq .lgx-cal-day{font-family:var(--ui);font-weight:700;font-size:64px;line-height:1.1;color:var(--crimson)}
.g1-root.lgx-mithaq .lgx-cal-time{font-family:var(--ui);font-size:16px;color:var(--ink)}
.g1-root.lgx-mithaq .g1-s-calendar .lgx-cal-box{max-width:420px;margin:16px auto 0;padding:0;background:none;border:0;box-shadow:none}
.g1-root.lgx-mithaq .g1-s-calendar .g1-calendar-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.g1-root.lgx-mithaq .g1-calendar-actions a.lgx-btn{display:flex;align-items:center;justify-content:center;min-height:48px;padding:8px 10px;border-radius:999px;font-family:var(--ui);font-size:16px;font-weight:600;text-decoration:none}
.g1-root.lgx-mithaq .g1-calendar-actions a.lgx-btn--solid{background:linear-gradient(180deg,#8f1424,var(--crimson));color:#fff6ea}
.g1-root.lgx-mithaq .g1-calendar-actions a.lgx-btn--line{background:#fff;color:var(--crimson);border:1.5px solid var(--crimson)}
/* ================= 3. countdown ================= */
.g1-root.lgx-mithaq .g1-s-countdown .g1-extra-box,.g1-root.lgx-mithaq .g1-s-countdown>h2{display:none}
.g1-root.lgx-mithaq .g1-doc>.g1-div{display:none}
.g1-root.lgx-mithaq .lgx-cd{max-width:480px;margin:0 auto;padding:16px 12px 18px;border-radius:20px;color:#fff4e6;text-align:center;background:radial-gradient(120% 100% at 50% 0%,rgba(255,255,255,.08),rgba(255,255,255,0) 60%),linear-gradient(180deg,#7a1020,var(--velvet));box-shadow:0 12px 28px rgba(90,10,21,.28),inset 0 0 0 1px rgba(216,183,122,.45)}
.g1-root.lgx-mithaq .lgx-cd-title{margin:0 0 10px!important;font-family:var(--t-sign);font-size:26px;color:var(--gold-soft)}
.g1-root.lgx-mithaq .lgx-cd-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.g1-root.lgx-mithaq .lgx-cd-grid div{display:flex;flex-direction:column;align-items:center}
.g1-root.lgx-mithaq .lgx-cd-grid b{font-family:var(--ui);font-size:clamp(26px,8vw,34px);font-weight:600;line-height:1.1;font-variant-numeric:tabular-nums}
.g1-root.lgx-mithaq .lgx-cd-grid span{font-family:var(--ui);font-size:13px;opacity:.8}
.g1-root.lgx-mithaq .lgx-cd-line{margin-top:8px!important;font-size:15px;color:var(--gold-soft)}
/* ================= 4. venue ================= */
.g1-root.lgx-mithaq .g1-s-venue .lgx-venue-card{max-width:480px;margin:0 auto;padding:16px 14px 18px}
.g1-root.lgx-mithaq .g1-s-venue .lgx-venue-card h2{margin:2px 0 0;font-family:var(--ui);font-weight:600;font-size:clamp(19px,5.6vw,23px);color:var(--crimson);overflow-wrap:anywhere}
.g1-root.lgx-mithaq .g1-s-venue .lgx-venue-card .g1-sub{margin:2px 0 0;font-size:16px;color:var(--ink-soft);overflow-wrap:anywhere}
.g1-root.lgx-mithaq .g1-s-venue .g1-map.lgx-map-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:12px;padding:10px 22px;border-radius:999px;background:linear-gradient(180deg,#8f1424,var(--crimson));color:#fff6ea;font-family:var(--ui);font-size:16px;font-weight:600;text-decoration:none;box-shadow:0 8px 18px rgba(125,15,31,.25);width:auto}
/* ================= 5. program / 6. dress ================= */
.g1-root.lgx-mithaq .lgx-prog-card{max-width:480px;margin:0 auto;padding:6px 16px}
.g1-root.lgx-mithaq .lgx-prog-list{--lit:0px;list-style:none;margin:0;padding:0;text-align:right}
.g1-root.lgx-mithaq .lgx-prog-row{display:grid;grid-template-columns:76px minmax(0,1fr) 22px;align-items:center;gap:10px;padding:12px 4px;border-bottom:1px dashed rgba(176,132,62,.45);transition:background .5s}
.g1-root.lgx-mithaq .lgx-prog-row:last-child{border:0}
.g1-root.lgx-mithaq .lgx-prog-time{font-family:var(--ui);font-weight:600;font-size:16px;color:var(--crimson);white-space:nowrap;direction:rtl;unicode-bidi:plaintext}
.g1-root.lgx-mithaq .lgx-prog-text{font-size:17px;color:var(--ink);overflow-wrap:anywhere}
.g1-root.lgx-mithaq .lgx-prog-rose{width:22px;height:22px;fill:none;stroke:rgba(125,15,31,.35);stroke-width:1.4;stroke-linecap:round;transition:stroke .5s}
.g1-root.lgx-mithaq .lgx-prog-row.is-lit .lgx-prog-rose{stroke:var(--rose)}
.g1-root.lgx-mithaq .lgx-prog-row.is-lit{background:linear-gradient(270deg,rgba(163,22,43,.07),transparent 85%)}
.g1-root.lgx-mithaq .lgx-dress{max-width:480px;margin:0 auto;padding:16px 14px}
.g1-root.lgx-mithaq .lgx-dr-style{font-family:var(--t-sign);font-weight:700;font-size:clamp(24px,7vw,30px);color:var(--crimson)}
.g1-root.lgx-mithaq .lgx-dr-desc{font-size:17px;color:var(--ink-soft)}
.g1-root.lgx-mithaq .lgx-swatches{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin-top:14px}
.g1-root.lgx-mithaq .lgx-swatch{display:flex;flex-direction:column;align-items:center;gap:6px}
.g1-root.lgx-mithaq .lgx-swatch-dot{display:block;width:46px;height:46px;border-radius:50%;background:var(--sw);box-shadow:0 0 0 3px #fff,0 0 0 4px rgba(176,132,62,.6),0 6px 12px rgba(0,0,0,.18)}
.g1-root.lgx-mithaq .lgx-swatch small{font-family:var(--ui);font-size:13px;color:var(--ink)}
.g1-root.lgx-mithaq .lgx-dress-note{margin:12px auto 0!important;max-width:30em;font-size:16px;line-height:1.9;color:var(--ink-soft);white-space:pre-line}
/* ================= 7. exhibits ================= */
.g1-root.lgx-mithaq .g1-s-gallery>.g1-extra-box,.g1-root.lgx-mithaq .g1-s-gallery>.g1-gallery-intro{display:none}
.g1-root.lgx-mithaq .lgx-gal{width:min(92vw,420px);margin:0 auto;container-type:inline-size}
.g1-root.lgx-mithaq .lgx-album{position:relative;aspect-ratio:354/470;border-radius:2cqw;background:#fff;border:1px solid rgba(176,132,62,.38);box-shadow:0 26px 44px -22px rgba(0,0,0,.85)}
.g1-root.lgx-mithaq .lgx-gal-deck{position:absolute;inset:0}
.g1-root.lgx-mithaq .lgx-gal-page{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .5s ease,visibility 0s .5s}
.g1-root.lgx-mithaq .lgx-gal-page.is-on{opacity:1;visibility:visible;transition:opacity .5s ease}
.g1-root.lgx-mithaq .lgx-photo{position:absolute;display:block;margin:0;padding:2cqw 2cqw 8cqw;border:0;background:#fbf8f0;cursor:zoom-in;color:inherit;box-shadow:0 2.4cqw 4cqw -2cqw rgba(0,0,0,.55)}
.g1-root.lgx-mithaq .lgx-photo-win{display:block;overflow:hidden;background:#e3dccb}
.g1-root.lgx-mithaq .lgx-photo-win img{display:block;width:100%;height:100%;object-fit:cover}
.g1-root.lgx-mithaq .lgx-photo--main{top:6%;left:12%;width:76%;transform:rotate(-1.5deg)}
.g1-root.lgx-mithaq .lgx-photo--main .lgx-photo-win{aspect-ratio:226/170}
.g1-root.lgx-mithaq .lgx-photo--a{top:58%;right:5%;width:43%;transform:rotate(2.5deg)}
.g1-root.lgx-mithaq .lgx-photo--b{top:59%;left:5%;width:43%;transform:rotate(-3deg)}
.g1-root.lgx-mithaq .lgx-photo--a .lgx-photo-win,.g1-root.lgx-mithaq .lgx-photo--b .lgx-photo-win{aspect-ratio:150/110}
.g1-root.lgx-mithaq .lgx-gal-n1 .lgx-photo--main{top:16%}
.g1-root.lgx-mithaq .lgx-gal-n2 .lgx-photo--a{right:28.5%}
.g1-root.lgx-mithaq .lgx-pin{position:absolute;z-index:2;top:-1.6cqw;left:50%;width:3.6cqw;height:3.6cqw;margin-left:-1.8cqw;border-radius:50%;background:radial-gradient(circle at 35% 30%,#f3d98f,#9c7430);box-shadow:0 .6cqw 1cqw rgba(0,0,0,.4)}
.g1-root.lgx-mithaq .lgx-photo-no{position:absolute;right:2.4cqw;bottom:1.8cqw;font-family:var(--t-amiri);font-weight:700;font-size:3.2cqw;color:var(--l-wine)}
.g1-root.lgx-mithaq .lgx-photo-cap{position:absolute;left:2.4cqw;bottom:1.4cqw;max-width:58%;font-family:var(--t-sign);font-size:4cqw;line-height:1.3;color:var(--l-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.g1-root.lgx-mithaq .lgx-photo--a .lgx-photo-no,.g1-root.lgx-mithaq .lgx-photo--b .lgx-photo-no{display:none}
.g1-root.lgx-mithaq .lgx-photo--a .lgx-photo-cap,.g1-root.lgx-mithaq .lgx-photo--b .lgx-photo-cap{right:2cqw;max-width:none;text-align:center}
.g1-root.lgx-mithaq .lgx-gal .lgx-nav{margin-top:max(22px,6cqw)}
.g1-root.lgx-mithaq .lgx-gal-hint{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:12px!important;font-size:clamp(13.5px,3.6vw,15.5px);color:var(--l-soft)}
.g1-root.lgx-mithaq .lgx-gal>.lgx-album+.lgx-gal-hint{margin-top:max(22px,6cqw)!important}
.g1-root.lgx-mithaq .lgx-gal-hint .lgx-ico{width:18px;height:18px;color:var(--l-gold)}
.lg-lightbox[hidden]{display:none!important}
.lg-lightbox{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:55px 18px 20px;background:rgba(6,12,26,.95)}
.lg-lightbox img{max-width:95vw;max-height:calc(100dvh - 95px);object-fit:contain;border-radius:2px;box-shadow:0 0 0 8px #fbf8f0,0 16px 50px #000a}
.lg-lightbox-close{position:absolute;top:15px;right:22px;width:44px;height:44px;border:1px solid #fff9;border-radius:50%;background:#ffffff22;color:#fff;font:32px/1 sans-serif;cursor:pointer}
body.lg-lightbox-open{overflow:hidden!important}

/* ================= 8. RSVP ================= */
.g1-root.lgx-mithaq .g1-s-addon{position:relative}
.g1-root.lgx-mithaq .lgx-form-scene{max-width:480px;margin:0 auto}
.g1-root.lgx-mithaq .lgx-form-card{padding:18px 16px 18px;text-align:right}
.g1-root.lgx-mithaq .lgx-form-card .lgx-orn-line{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 auto 8px;width:70%}
.g1-root.lgx-mithaq .lgx-orn-line i{flex:1;height:1px;background:linear-gradient(90deg,transparent,var(--gold),transparent)}
.g1-root.lgx-mithaq .lgx-orn-rose{width:24px;height:24px;fill:none;stroke:var(--rose);stroke-width:1.4;stroke-linecap:round}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-form{position:relative;width:100%;max-width:none;margin:0;display:flex;flex-direction:column;gap:max(10px,3cqw);text-align:right}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-field{display:flex;flex-direction:column;gap:2px}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-field>span,.g1-root.lgx-mithaq .g1-s-addon .lgx-field-label{margin:0;font-size:max(13px,3.7cqw);color:var(--l-ink-soft)}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-field input,.g1-root.lgx-mithaq .g1-s-addon .g1-rs-field textarea{width:100%;padding:8px 2px;border:0;border-bottom:1.5px solid var(--l-ink);border-radius:0;background:transparent;font-family:var(--t-amiri);font-size:17px;color:var(--l-ink);outline:none;-webkit-appearance:none;appearance:none}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-field textarea{min-height:88px;resize:vertical;line-height:30px;background:repeating-linear-gradient(180deg,transparent 0 29px,rgba(74,29,29,.18) 29px 30px);border-bottom:0;padding-top:0}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-field input:focus{border-bottom-color:var(--crimson)}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-field input::placeholder,.g1-root.lgx-mithaq .g1-s-addon .g1-rs-field textarea::placeholder{color:#b39c90}
.g1-root.lgx-mithaq .g1-s-addon .lgx-rsvp-question{margin-bottom:-4px!important}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-choice{display:grid;grid-template-columns:1fr 1fr;gap:2.6cqw}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-choice button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:48px;padding:6px;border-radius:999px;cursor:pointer;font-size:max(14px,3.9cqw);font-weight:700;color:var(--l-ink);background:transparent;border:1.5px solid var(--l-ink);transition:background .2s,color .2s}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-choice button .lgx-ico{width:18px;height:18px;display:none}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-choice button.is-on{background:var(--l-ink);color:#fff}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-choice button.is-on .lgx-ico{display:block}
.g1-root.lgx-mithaq .g1-s-addon .lgx-companions{flex-direction:row;align-items:center;justify-content:space-between;gap:10px}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-step{display:flex;align-items:center;gap:12px}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-step button{width:40px;height:40px;border-radius:50%;border:1.5px solid var(--l-ink);background:transparent;font-size:20px;line-height:1;color:var(--l-ink);cursor:pointer}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-step b{min-width:1.4em;text-align:center;font-family:var(--x-num);font-size:22px;font-weight:800;color:var(--l-ink)}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-send{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:52px;margin:6px 0 0;padding:8px 16px;border:0;border-radius:999px;cursor:pointer;background:linear-gradient(180deg,#8f1424,var(--crimson));color:#fff6ea;font-family:var(--ui);font-size:16.5px;font-weight:800;box-shadow:0 10px 20px -12px rgba(0,0,0,.6);transition:filter .2s}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-send:hover{filter:brightness(1.1)}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-send:disabled{opacity:.6;cursor:progress}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-error{color:#a3162b;text-align:center;font-size:15px}
.g1-root.lgx-mithaq .g1-s-addon .g1-message{margin:0;min-height:1.4em;text-align:center;font-size:15.5px;color:var(--crimson);font-weight:700}
.g1-root.lgx-mithaq .g1-s-addon .g1-message:empty{display:none}

/* ================= 9. well-wishers ================= */
.g1-root.lgx-mithaq .g1-s-wishes>.g1-extra-box{display:none}
.g1-root.lgx-mithaq .lgx-wish-scene{max-width:480px;margin:0 auto}
.g1-root.lgx-mithaq .lgx-wish-deck{display:grid;min-height:120px;align-items:center}
.g1-root.lgx-mithaq .lgx-wish-deck>*{grid-area:1/1}
.g1-root.lgx-mithaq .lgx-wish{display:flex;gap:12px;align-items:flex-start;margin:0;padding:14px 14px;border-radius:16px;background:rgba(255,255,255,.82);border:1px solid rgba(176,132,62,.3);box-shadow:0 8px 20px rgba(90,10,21,.06);text-align:right}
.g1-root.lgx-mithaq .lgx-wish-av{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;color:#fff;font-family:var(--ui);font-weight:700;font-size:19px}
.g1-root.lgx-mithaq .lgx-wish-body{min-width:0;flex:1}
.g1-root.lgx-mithaq .lgx-bl-tag{font-size:12px;color:var(--gold)}
.g1-root.lgx-mithaq .lgx-bl-sign{font-family:var(--ui);font-weight:600;font-size:16px;color:var(--crimson)}
.g1-root.lgx-mithaq .lgx-wish .lgx-wish-msg{margin:2px 0 0;padding:0;border:0;font-size:17px;line-height:1.8;color:var(--ink);white-space:pre-line;overflow-wrap:anywhere;unicode-bidi:plaintext}
.g1-root.lgx-mithaq .lgx-wish-deck .lgx-wish-card{opacity:0;visibility:hidden;transform:translateY(3cqw);transition:opacity .45s ease,transform .45s ease,visibility 0s .45s}
.g1-root.lgx-mithaq .lgx-wish-deck .lgx-wish-card.is-on{opacity:1;visibility:visible;transform:none;transition:opacity .45s ease,transform .5s cubic-bezier(.2,1.3,.4,1)}
.g1-root.lgx-mithaq .lgx-wish-list{display:grid;gap:6cqw}

.g1-root.lgx-mithaq .lgx-wish-list{gap:10px}
/* ================= 10. notes ================= */
.g1-root.lgx-mithaq .g1-s-notes>.g1-extra-box,.g1-root.lgx-mithaq .g1-s-notes>h2{display:none}
.g1-root.lgx-mithaq .lgx-info{max-width:480px;margin:0 auto}
.g1-root.lgx-mithaq .lgx-info-head{text-align:center;margin-bottom:10px}
.g1-root.lgx-mithaq .lgx-info-title{margin:0;font-family:var(--t-sign);font-weight:700;font-size:clamp(28px,8.4vw,36px);color:var(--crimson)}
.g1-root.lgx-mithaq .lgx-info-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.g1-root.lgx-mithaq .lgx-note{display:flex;align-items:center;justify-content:center;gap:10px;padding:14px 16px;border-radius:16px;border:1px dashed rgba(125,15,31,.4);background:rgba(163,22,43,.05)}
.g1-root.lgx-mithaq .lgx-note .lgx-ico2{width:26px;height:26px;margin:0;flex:none}
.g1-root.lgx-mithaq .lgx-note p{margin:0;font-family:var(--ui);font-weight:600;font-size:clamp(16px,4.6vw,19px);color:var(--crimson)}
/* ================= after the event ================= */
.g1-root.lgx-mithaq .lgx-thanks{position:relative;max-width:480px;margin:0 auto;padding:26px 18px;text-align:center;border-radius:20px;background:rgba(255,255,255,.85);border:1px solid rgba(176,132,62,.38);box-shadow:0 10px 26px rgba(90,10,21,.08)}
.g1-root.lgx-mithaq .lgx-thanks-emb svg{width:36px;height:auto;margin:0 auto}
.g1-root.lgx-mithaq .lgx-thanks-text{margin-top:10px!important;font-size:clamp(17px,4.8vw,20px);line-height:2;color:var(--ink);white-space:pre-line}
.g1-root.lgx-mithaq .lgx-thanks-name{margin-top:8px!important;font-family:var(--t-sign);font-weight:700;font-size:clamp(36px,10vw,48px);line-height:1.35;color:var(--rose)}
.g1-root.lgx-mithaq .lgx-thanks-date{margin-top:2px!important;font-size:14px;color:var(--ink-soft)}
/* ================= 11. ending ================= */
.g1-root.lgx-mithaq footer.g1-end.lgx-ending{max-width:760px;margin:0 auto;padding:10px 16px clamp(14px,4vw,24px);text-align:center}

.g1-root.lgx-mithaq footer.g1-end .lgx-finis{margin-top:8px;font-family:var(--t-sign);font-weight:700;font-size:clamp(26px,7.8vw,34px);line-height:1.5;color:var(--gold)}
.g1-root.lgx-mithaq footer.g1-end .lgx-fin-line{margin-top:2px;font-family:var(--t-amiri);font-weight:700;font-size:clamp(19px,5.2vw,24px);line-height:1.6;color:var(--l-text)}
.g1-root.lgx-mithaq footer.g1-end p:not(.lgx-finis):not(.lgx-fin-line):not(.g1-endname){margin-top:6px;font-size:clamp(14.5px,3.8vw,17px);color:var(--l-soft);line-height:1.8}
.g1-root.lgx-mithaq footer.g1-end .g1-endname{margin-top:8px!important;font-family:var(--t-sign);font-weight:700;font-size:clamp(30px,8.6vw,42px)!important;line-height:1.4;color:var(--l-gold)!important}
.lahzatna-credit.lgx-credit{display:flex!important;align-items:center;justify-content:center;gap:12px;margin:0!important;padding:4px 12px 34px!important;background:transparent}
.lahzatna-credit.lgx-credit>a:first-child{display:inline-flex!important;align-items:center;gap:8px;color:#87635a!important;font:400 14.5px 'Noto Naskh Arabic','Amiri',serif!important;text-decoration:none!important;letter-spacing:0!important}
.lahzatna-credit.lgx-credit .lgx-ico{width:17px;height:17px}
.lahzatna-credit.lgx-credit .lgx-credit-sep{width:1px;height:18px;background:rgba(135,99,90,.5)}
.lahzatna-credit.lgx-credit .lahzatna-ig{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin:-10px;color:#87635a}
.lahzatna-credit.lgx-credit .lahzatna-ig .lgx-ico{width:22px;height:22px}
.g1-map-sheet{background:#fbf7f3;color:#4a1d1d}
.g1-map-sheet-head h3{color:#4a1d1d;font-family:'Amiri',serif}
@media (min-width:760px){
  .g1-root.lgx-mithaq .lgx-sec{padding-top:56px;padding-bottom:60px}
}
@media (max-width:370px){
  .g1-root.lgx-mithaq .g1-calendar-actions a.lgx-btn{font-size:14px;gap:6px;padding:8px 6px}
  .g1-root.lgx-mithaq .g1-calendar-actions a.lgx-btn .lgx-ico{width:18px;height:18px}
}
@media (prefers-reduced-motion:reduce){
  .g1-root.lgx-mithaq .lgx-half{transition:none}.g1-root.lgx-mithaq .lgx-line{animation:none!important}.g1-root.lgx-mithaq .lgx-line.on{clip-path:none;opacity:1;filter:none}
  .g1-root.lgx-mithaq.g1-lifted .g1-doc,.g1-root.lgx-mithaq .g1-hint,.g1-root.lgx-mithaq .lgx-scrollhint-arrow{animation:none}
}
.g1-root.lgx-mithaq .g1-doc .lahzatna-live-focus{outline:2px dashed color-mix(in srgb,var(--l-gold) 85%,transparent);outline-offset:4px;border-radius:12px}

.g1-root.lgx-mithaq footer.g1-end .g1-endname{color:var(--rose)!important}

/* ================= «ميثاق» — the parchment page ================= */
.g1-root.lgx-mithaq{max-width:640px;background-color:var(--mq-paper);background-image:linear-gradient(var(--mq-tint),var(--mq-tint)),url(mithaq/paper.webp);background-size:100% 100%,100% auto;background-repeat:no-repeat,repeat-y;background-position:top center;color:var(--mq-ink);box-shadow:0 0 70px rgba(0,0,0,.55)}
.g1-root.lgx-mithaq .g1-confetti{display:none!important}
.g1-root.lgx-mithaq.g1-lifted .g1-doc{animation:lgx-mq-in .7s ease both}
@keyframes lgx-mq-in{from{opacity:0}to{opacity:1}}
/* the two gold rods: fixed at the top and bottom while the guest scrolls, as if the parchment keeps unrolling */
.g1-root.lgx-mithaq .lgx-rod,.g1-root.lgx-mithaq .lgx-orod{position:fixed;z-index:30;left:50%;width:min(100vw,700px);height:var(--rod-h);translate:-50% 0;pointer-events:none;border-style:solid;border-width:0 var(--rod-cap);border-image:url(mithaq/rod.webp) 0 225 fill stretch;filter:drop-shadow(0 3px 10px rgba(120,95,40,.34))}
.g1-root.lgx-mithaq .lgx-rod{opacity:0;transition:opacity .4s ease}
.g1-root.lgx-mithaq.g1-lifted .lgx-rod{opacity:1}
.g1-root.lgx-mithaq .lgx-rod--top{top:0}
.g1-root.lgx-mithaq .lgx-rod--bot{bottom:0;transform:scaleY(-1)}
.g1-root.lgx-mithaq .lgx-rod::after,.g1-root.lgx-mithaq .lgx-orod::after{content:"";position:absolute;left:0;right:0;top:100%;height:24px;background:linear-gradient(180deg,rgba(120,95,40,.16),rgba(120,95,40,.05) 45%,transparent)}

/* ================= opening: the sealed scroll on a candle-lit walnut table ================= */
.g1-root.lgx-mithaq .g1-open{background:radial-gradient(55% 45% at 16% 10%,rgba(255,196,120,.20),rgba(255,196,120,0) 70%),radial-gradient(120% 90% at 50% 38%,#3d2818 0%,#25170d 58%,#140b05 100%),repeating-linear-gradient(91deg,rgba(255,236,200,.025) 0 2px,rgba(0,0,0,0) 2px 11px),#180e07}
.g1-root.lgx-mithaq .g1-open .lgx-scene{left:0;right:0;width:auto;transform:none;background:transparent}
.g1-root.lgx-mithaq .lgx-stage{left:0;top:0;width:100%;height:100%;aspect-ratio:auto;transform:none;container-type:normal;display:flex;align-items:center;justify-content:center}
.g1-root.lgx-mithaq .lgx-unroll{position:absolute;z-index:1;left:50%;width:min(100vw,640px);translate:-50% 0;top:50%;bottom:50%;background:var(--mq-paper) url(mithaq/paper.webp) center/100% auto repeat-y;box-shadow:0 0 50px rgba(0,0,0,.45);transition:top 1.1s cubic-bezier(.62,0,.16,1) .3s,bottom 1.1s cubic-bezier(.62,0,.16,1) .3s}
.g1-root.lgx-mithaq.g1-on .lgx-unroll{top:calc(var(--rod-h) / 2);bottom:calc(var(--rod-h) / 2)}
.g1-root.lgx-mithaq .lgx-ph-k{position:absolute;z-index:3;left:0;right:0;bottom:calc(50% + clamp(54px,14vw,74px));margin:0;padding:0 20px;text-align:center;font-family:var(--t-sign);font-size:clamp(22px,6.4vw,30px);color:#f1dc9c;text-shadow:0 2px 10px rgba(0,0,0,.6)}
.g1-root.lgx-mithaq .lgx-ph-name{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0}
.g1-root.lgx-mithaq .lgx-roll{position:relative;z-index:2;width:min(92vw,560px);aspect-ratio:1120/145;transition:opacity .35s ease .18s,transform .45s ease .18s}
.g1-root.lgx-mithaq .lgx-roll-img{display:block;width:100%;height:100%;filter:drop-shadow(0 18px 30px rgba(0,0,0,.55));animation:lgx-breathe 3.6s ease-in-out infinite}
@keyframes lgx-breathe{0%,100%{transform:scaleX(1)}50%{transform:scaleX(1.025)}}
.g1-root.lgx-mithaq.g1-on .lgx-roll{opacity:0;transform:scaleY(.35)}
.g1-root.lgx-mithaq .lgx-orod{position:absolute;top:calc(50% - var(--rod-h) / 2);opacity:0;transition:top 1.1s cubic-bezier(.62,0,.16,1) .3s,opacity .2s ease .26s;z-index:4}
.g1-root.lgx-mithaq .lgx-orod--bot{transform:scaleY(-1)}
.g1-root.lgx-mithaq.g1-on .lgx-orod{opacity:1}
.g1-root.lgx-mithaq.g1-on .lgx-orod--top{top:0}
.g1-root.lgx-mithaq.g1-on .lgx-orod--bot{top:calc(100% - var(--rod-h))}
.g1-root.lgx-mithaq .g1-hint{bottom:calc(14% + env(safe-area-inset-bottom,0px));padding:10px 20px;border-color:rgba(235,217,166,.55);background:rgba(20,12,6,.45);color:#f3e6bf;font-family:var(--x-font);font-size:16px}
.g1-root.lgx-mithaq .lgx-tap-text{white-space:nowrap}
.g1-root.lgx-mithaq.g1-on .g1-open .g1-hint{opacity:0;transition:opacity .25s ease}

/* ================= the wax seal (opening, RSVP stamp, closing) ================= */
.g1-root.lgx-mithaq .lgx-seal{position:relative;aspect-ratio:1;container-type:inline-size}
.g1-root.lgx-mithaq .lgx-seal-img{display:block;width:100%;height:100%;filter:drop-shadow(0 5px 10px rgba(80,50,10,.45))}
.g1-root.lgx-mithaq .lgx-seal-face{position:absolute;inset:20.5%;border-radius:50%;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 38% 32%,#f6d978 0%,#d9ad42 42%,#b3871f 78%,#9a7116 100%);box-shadow:inset 0 2px 3px rgba(255,244,200,.75),inset 0 -4px 7px rgba(90,60,10,.55),0 0 0 2px rgba(150,110,30,.55),0 1px 0 3px rgba(255,236,170,.35)}
.g1-root.lgx-mithaq .lgx-seal-ring{position:absolute;inset:8%;border-radius:50%;border:1.5px solid rgba(110,78,18,.55);box-shadow:0 1px 0 rgba(255,236,170,.55),inset 0 1px 0 rgba(255,236,170,.4)}
.g1-root.lgx-mithaq .lgx-seal-letters{position:relative;display:flex;align-items:center;gap:5cqw;font-family:'Aref Ruqaa','Amiri',serif;font-weight:700;font-size:27cqw;line-height:1;color:#7a5612;text-shadow:0 1px 0 rgba(255,240,180,.85),0 -1px 1px rgba(70,45,5,.55)}
.g1-root.lgx-mithaq .lgx-seal-letters[data-n="1"]{font-size:30cqw}.g1-root.lgx-mithaq .lgx-seal-letters[data-n="3"]{font-size:16cqw;gap:3cqw}
.g1-root.lgx-mithaq .lgx-seal-dot{width:3.4cqw;height:3.4cqw;background:#7a5612;transform:rotate(45deg);box-shadow:0 1px 0 rgba(255,240,180,.8)}
.g1-root.lgx-mithaq .lgx-seal-motif{position:relative;width:46%;height:46%;color:#7a5612;filter:drop-shadow(0 1px 0 rgba(255,240,180,.85)) drop-shadow(0 -1px .6px rgba(70,45,5,.55))}
.g1-root.lgx-mithaq .lgx-seal--open{position:absolute;left:50%;top:50%;width:clamp(66px,18vw,96px);translate:-50% -48%;z-index:3;cursor:pointer}
.g1-root.lgx-mithaq .lgx-seal--open::after{content:"";position:absolute;inset:-14%;border-radius:50%;border:1.5px solid rgba(241,220,156,.7);animation:lgx-pulse 2.4s ease-out infinite}
@keyframes lgx-pulse{0%{opacity:.85;transform:scale(.82)}80%,100%{opacity:0;transform:scale(1.35)}}
.g1-root.lgx-mithaq .is-broken .lgx-seal--open::after{display:none}
.g1-root.lgx-mithaq .lgx-seal-half{position:absolute;inset:0;pointer-events:none}
.g1-root.lgx-mithaq .lgx-seal-half--r{clip-path:polygon(50% 0,100% 0,100% 100%,47% 100%,53% 78%,46% 60%,54% 42%,47% 22%)}
.g1-root.lgx-mithaq .lgx-seal-half--l{clip-path:polygon(0 0,50% 0,47% 22%,54% 42%,46% 60%,53% 78%,47% 100%,0 100%)}
.g1-root.lgx-mithaq .is-broken .lgx-seal--open>.lgx-seal-img,.g1-root.lgx-mithaq .is-broken .lgx-seal--open>.lgx-seal-face{visibility:hidden}
.g1-root.lgx-mithaq .is-broken .lgx-seal-half--r{animation:lgx-half-r .7s cubic-bezier(.3,.1,.4,1) forwards}
.g1-root.lgx-mithaq .is-broken .lgx-seal-half--l{animation:lgx-half-l .7s cubic-bezier(.3,.1,.4,1) forwards}
@keyframes lgx-half-r{0%{transform:none;opacity:1}30%{transform:translateX(4%) rotate(4deg)}100%{transform:translate(70%,60%) rotate(38deg);opacity:0}}
@keyframes lgx-half-l{0%{transform:none;opacity:1}30%{transform:translateX(-4%) rotate(-4deg)}100%{transform:translate(-70%,70%) rotate(-42deg);opacity:0}}
.g1-root.lgx-mithaq .lgx-sparks{position:absolute;z-index:5;left:50%;top:50%;width:0;height:0;pointer-events:none}
.g1-root.lgx-mithaq .lgx-sparks i{position:absolute;left:-3px;top:-3px;width:6px;height:6px;border-radius:50%;background:radial-gradient(circle,#fff6cf,#e0b64a 60%,rgba(224,182,74,0));animation:lgx-spark .95s ease-out forwards}
@keyframes lgx-spark{0%{transform:translate(0,0) scale(.4);opacity:0}15%{opacity:1}100%{transform:translate(var(--dx),var(--dy)) scale(1);opacity:0}}

/* ================= 0. the parchment: illumination frame, golden verse, the quill writing the names ================= */
.g1-root.lgx-mithaq .g1-s-cap.lgx-hero{height:auto;min-height:100vh;min-height:100svh;overflow:visible;padding:calc(var(--rod-h) + 18px) 14px calc(var(--rod-h) + 26px);display:flex;flex-direction:column;justify-content:center;background:none}
.g1-root.lgx-mithaq .lgx-head{position:relative;margin:0 auto;width:100%;max-width:560px;padding:clamp(46px,12vw,64px) clamp(22px,7vw,40px) clamp(40px,10vw,56px);text-align:center}
.g1-root.lgx-mithaq .lgx-frame{position:absolute;inset:0;pointer-events:none;color:var(--mq-orn)}
.g1-root.lgx-mithaq .lgx-corner{position:absolute;width:clamp(44px,13vw,64px);height:auto;opacity:0;transform:scale(.6);transition:opacity .7s ease,transform .9s cubic-bezier(.22,1,.36,1)}
.g1-root.lgx-mithaq .lgx-corner path[pathLength]{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.6s ease .15s}
.g1-root.lgx-mithaq .lgx-corner--tr{top:0;right:0}.g1-root.lgx-mithaq .lgx-corner--tl{top:0;left:0;scale:-1 1}.g1-root.lgx-mithaq .lgx-corner--br{bottom:0;right:0;scale:1 -1}.g1-root.lgx-mithaq .lgx-corner--bl{bottom:0;left:0;scale:-1 -1}
.g1-root.lgx-mithaq .lgx-edge{position:absolute;background:linear-gradient(90deg,transparent,var(--mq-orn) 12%,var(--mq-orn) 88%,transparent);opacity:.55;transition:transform 1.5s cubic-bezier(.62,0,.16,1) .2s}
.g1-root.lgx-mithaq .lgx-edge--top,.g1-root.lgx-mithaq .lgx-edge--bot{left:clamp(40px,12vw,58px);right:clamp(40px,12vw,58px);height:1.2px;transform:scaleX(0);background:linear-gradient(90deg,transparent,var(--mq-orn) 10%,var(--mq-orn) calc(50% - clamp(52px,15vw,68px)),transparent calc(50% - clamp(50px,14.5vw,66px)),transparent calc(50% + clamp(50px,14.5vw,66px)),var(--mq-orn) calc(50% + clamp(52px,15vw,68px)),var(--mq-orn) 90%,transparent)}
.g1-root.lgx-mithaq .lgx-edge--top{top:5px}.g1-root.lgx-mithaq .lgx-edge--bot{bottom:5px}
.g1-root.lgx-mithaq .lgx-edge--rt,.g1-root.lgx-mithaq .lgx-edge--lt{top:clamp(40px,12vw,58px);bottom:clamp(40px,12vw,58px);width:1.2px;transform:scaleY(0);background:linear-gradient(180deg,transparent,var(--mq-orn) 12%,var(--mq-orn) 88%,transparent)}
.g1-root.lgx-mithaq .lgx-edge--rt{right:5px}.g1-root.lgx-mithaq .lgx-edge--lt{left:5px}
.g1-root.lgx-mithaq .lgx-crest{position:absolute;left:50%;top:-12px;width:clamp(96px,28vw,128px);height:auto;translate:-50% 0;opacity:0;transition:opacity 1s ease .9s}
.g1-root.lgx-mithaq .lgx-crest--b{top:auto;bottom:-12px}
.g1-root.lgx-mithaq .lgx-head.is-live .lgx-corner{opacity:1;transform:none}
.g1-root.lgx-mithaq .lgx-head.is-live .lgx-corner path[pathLength]{stroke-dashoffset:0}
.g1-root.lgx-mithaq .lgx-head.is-live .lgx-edge{transform:none}
.g1-root.lgx-mithaq .lgx-head.is-live .lgx-crest{opacity:1}
.g1-root.lgx-mithaq .lgx-fade{opacity:0;transform:translateY(10px);transition:opacity 1s ease,transform 1s cubic-bezier(.22,1,.36,1)}
.g1-root.lgx-mithaq .lgx-fade.show{opacity:1;transform:none}
.g1-root.lgx-mithaq .lgx-head .lgx-verse{margin:0!important;font-family:'Amiri Quran','Amiri',serif;font-size:clamp(18px,4.7vw,23px);line-height:2.35;color:var(--mq-deep);background:linear-gradient(100deg,var(--mq-deep) 0 40%,var(--mq-light) 50%,var(--mq-deep) 60% 100%);background-size:300% 100%;background-position:100% 0;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.g1-root.lgx-mithaq .lgx-head .lgx-verse.show{animation:lgx-gild 2.6s ease .6s both}
@keyframes lgx-gild{from{background-position:100% 0}to{background-position:0 0}}
.g1-root.lgx-mithaq .lgx-head .lgx-lead{margin:22px auto 0!important;max-width:34em;font-size:clamp(16px,4.2vw,18px);line-height:2.15;color:var(--mq-ink);text-wrap:pretty}
.g1-root.lgx-mithaq .lgx-head .lgx-lead strong{color:var(--mq-deep)}
.g1-root.lgx-mithaq .lgx-names{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;margin:18px 0 0;font-size:inherit;line-height:inherit;text-shadow:none;color:inherit}
.g1-root.lgx-mithaq .lgx-name{display:block;white-space:nowrap;transform:skewX(-6deg);font-family:'Amiri',serif;font-weight:700;font-size:clamp(32px,8.8vw,48px);line-height:1.7;color:var(--mq-ink);text-shadow:0 0 1.2px rgba(122,94,35,.4),0 0 3px rgba(122,94,35,.16),0 1px 0 rgba(255,255,255,.55)}
.g1-root.lgx-mithaq .lgx-write{-webkit-mask-image:linear-gradient(#000,#000);mask-image:linear-gradient(#000,#000);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:right center;mask-position:right center;-webkit-mask-size:0% 100%;mask-size:0% 100%}
.g1-root.lgx-mithaq .lgx-write.is-writing{animation:lgx-wr var(--wd,1400ms) linear forwards}
.g1-root.lgx-mithaq .lgx-name.is-writing{animation:lgx-wr var(--wd,1400ms) linear forwards,lgx-dry 2.6s ease-out forwards}
.g1-root.lgx-mithaq .lgx-write.is-written{-webkit-mask-image:none;mask-image:none}
@keyframes lgx-wr{from{-webkit-mask-size:0% 100%;mask-size:0% 100%}to{-webkit-mask-size:100% 100%;mask-size:100% 100%}}
@keyframes lgx-dry{0%{text-shadow:0 0 14px rgba(201,162,39,.6)}100%{text-shadow:0 0 1.2px rgba(122,94,35,.4),0 0 3px rgba(122,94,35,.16),0 1px 0 rgba(255,255,255,.55)}}
.g1-root.lgx-mithaq .lgx-amp{display:block;line-height:0}
.g1-root.lgx-mithaq .lgx-rings{display:block;width:clamp(50px,13vw,64px);height:auto;filter:drop-shadow(0 2px 3px rgba(120,95,40,.3))}
.g1-root.lgx-mithaq .lgx-quill{position:absolute;z-index:4;left:0;top:0;width:clamp(52px,14vw,78px);pointer-events:none;opacity:0;transform:translate(0,-100%) rotate(10deg);transform-origin:0 100%;transition:opacity .4s ease}
.g1-root.lgx-mithaq .lgx-quill-img{display:block;width:100%;height:auto;filter:drop-shadow(-6px 14px 14px rgba(120,95,40,.22)) drop-shadow(-2px 3px 3px rgba(120,95,40,.28))}
.g1-root.lgx-mithaq .lgx-quill.is-on{opacity:1}
.g1-root.lgx-mithaq .lgx-quill.is-rest{opacity:.6;left:auto!important;right:-4%!important;top:auto!important;bottom:-34px!important;transform:translate(0,0) rotate(36deg);transition:opacity .6s ease,transform 1s cubic-bezier(.4,0,.2,1)}
.g1-root.lgx-mithaq .lgx-ink{position:absolute;left:0;bottom:-2px;width:7px;height:7px;border-radius:50% 50% 50% 20%;background:radial-gradient(circle at 35% 30%,var(--mq-light),var(--mq-deep));opacity:0}
.g1-root.lgx-mithaq .lgx-quill.is-rest .lgx-ink{animation:lgx-drop 1.1s cubic-bezier(.5,0,.8,1) .3s forwards}
@keyframes lgx-drop{0%{opacity:1;transform:translateY(0) scale(.6)}70%{opacity:.9;transform:translateY(34px) scale(1)}100%{opacity:0;transform:translateY(46px) scale(.4)}}
.g1-root.lgx-mithaq .lgx-scrollhint{bottom:calc(var(--rod-h) + 8px);background:rgba(252,251,247,.88);border:1px solid rgba(201,162,39,.45);color:var(--mq-deep);font-family:var(--x-font);-webkit-backdrop-filter:none;backdrop-filter:none}

/* ================= shared: sections are clauses on the same parchment, separated by gold rules ================= */
.g1-root.lgx-mithaq .lgx-sec{padding:clamp(18px,5vw,28px) clamp(22px,7vw,40px) clamp(20px,5.5vw,30px);max-width:600px;background:none;border:0;box-shadow:none}
.g1-root.lgx-mithaq .g1-doc .g1-div,.g1-root.lgx-mithaq .g1-doc .g1-div.lgx-div--quiet{width:min(70%,240px);height:24px;margin:10px auto;background:var(--mq-gold);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.1'%3E%3Cpath d='M10 12h76M154 12h76'/%3E%3Cpath d='M98 12l6-5 6 5-6 5z'/%3E%3Cpath d='M130 12l6-5 6 5-6 5z'/%3E%3Cpath d='M120.00 3.00L122.14 6.84L126.36 5.64L125.16 9.86L129.00 12.00L125.16 14.14L126.36 18.36L122.14 17.16L120.00 21.00L117.86 17.16L113.64 18.36L114.84 14.14L111.00 12.00L114.84 9.86L113.64 5.64L117.86 6.84z'/%3E%3C/g%3E%3Ccircle cx='120' cy='12' r='2' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.1'%3E%3Cpath d='M10 12h76M154 12h76'/%3E%3Cpath d='M98 12l6-5 6 5-6 5z'/%3E%3Cpath d='M130 12l6-5 6 5-6 5z'/%3E%3Cpath d='M120.00 3.00L122.14 6.84L126.36 5.64L125.16 9.86L129.00 12.00L125.16 14.14L126.36 18.36L122.14 17.16L120.00 21.00L117.86 17.16L113.64 18.36L114.84 14.14L111.00 12.00L114.84 9.86L113.64 5.64L117.86 6.84z'/%3E%3C/g%3E%3Ccircle cx='120' cy='12' r='2' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;opacity:.9}
.g1-root.lgx-mithaq .g1-doc .g1-div::before,.g1-root.lgx-mithaq .g1-doc .g1-div::after,.g1-root.lgx-mithaq .g1-doc .g1-div>i{display:none}
.g1-root.lgx-mithaq .lgx-title{margin:0 auto 14px}
.g1-root.lgx-mithaq .lgx-orn{display:none}
.g1-root.lgx-mithaq .lgx-h{margin:0;font-family:'Amiri',serif;font-weight:700;font-size:clamp(17px,4.6vw,20px);letter-spacing:.02em;color:var(--mq-deep);background:none;-webkit-text-fill-color:currentColor;text-shadow:none}
.g1-root.lgx-mithaq .lgx-sub{margin-top:4px!important;font-size:14px;color:var(--mq-soft)}

/* 1. the rest of the invitation */
.g1-root.lgx-mithaq .g1-s-cert.lgx-sec{padding-top:6px}
.g1-root.lgx-mithaq .lgx-after-text{margin:0 auto!important;max-width:32em;font-size:clamp(16px,4.2vw,18px);line-height:2.15;color:var(--mq-ink)}
.g1-root.lgx-mithaq .lgx-after-text strong{color:var(--mq-deep)}

/* 2. calendar (optional) */
.g1-root.lgx-mithaq .lgx-cal{display:grid;justify-items:center;gap:2px;margin:0 auto;max-width:300px;background:none;border:0;box-shadow:none;padding:0}
.g1-root.lgx-mithaq .lgx-cal-wd{font-size:16px;color:var(--mq-soft)}.g1-root.lgx-mithaq .lgx-cal-day{font-size:clamp(46px,13vw,60px);line-height:1.2;color:var(--mq-deep)}.g1-root.lgx-mithaq .lgx-cal-top{background:none;color:var(--mq-ink);font-size:18px;padding:0}.g1-root.lgx-mithaq .lgx-cal-time{font-size:15px;color:var(--mq-deep)}
.g1-root.lgx-mithaq .g1-calendar-actions a.lgx-btn{border-radius:999px;font-family:var(--x-font)}
.g1-root.lgx-mithaq .g1-calendar-actions a.lgx-btn--solid{background:linear-gradient(135deg,var(--mq-btn1),var(--mq-btn2));color:#fffdf6;border-color:transparent}
.g1-root.lgx-mithaq .g1-calendar-actions a.lgx-btn--line{background:linear-gradient(180deg,#fff,#f6f1e2);color:var(--mq-deep);border:1px solid var(--mq-gold)}

/* 3. countdown: shamsa medallions */
.g1-root.lgx-mithaq .lgx-cd{padding:0;background:none;box-shadow:none}
.g1-root.lgx-mithaq .lgx-cd-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(6px,2.4vw,14px);max-width:420px;margin:0 auto;direction:rtl}
.g1-root.lgx-mithaq .lgx-sh{position:relative;aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
.g1-root.lgx-mithaq .lgx-sh-art{position:absolute;inset:0;width:100%;height:100%;color:var(--mq-orn);opacity:.85}
.g1-root.lgx-mithaq .lgx-sh .lgx-count-num{position:relative;font-family:'Amiri',serif;font-weight:700;font-size:clamp(20px,6vw,28px);line-height:1.15;color:var(--mq-deep);background:none;padding:0}
.g1-root.lgx-mithaq .lgx-sh-l{position:relative;font-size:clamp(11px,3vw,13px);color:var(--mq-soft)}
.g1-root.lgx-mithaq .lgx-cd-line{margin-top:12px!important;font-size:16px;color:var(--mq-soft)}

/* 4. venue */
.g1-root.lgx-mithaq .g1-s-venue .lgx-venue-card{background:none;border:0;box-shadow:none;padding:0;text-align:center}
.g1-root.lgx-mithaq .g1-s-venue .lgx-eyebrow{display:block;margin:0 0 10px!important;font-size:clamp(14px,3.8vw,16px);color:var(--mq-deep)}
.g1-root.lgx-mithaq .g1-s-venue .lgx-venue-card h2{margin:0;font-family:'Amiri',serif;font-weight:700;font-size:clamp(23px,6.2vw,28px);line-height:1.5;color:var(--mq-ink)}
.g1-root.lgx-mithaq .g1-s-venue .lgx-venue-card .g1-sub{margin-top:6px!important;font-size:15px;line-height:1.9;color:var(--mq-soft)}
.g1-root.lgx-mithaq .g1-s-venue .lgx-venue-card .lgx-when{color:var(--mq-deep);font-size:15.5px}
.g1-root.lgx-mithaq .g1-s-venue .g1-map.lgx-map-btn,.g1-root.lgx-mithaq .g1-calendar-actions a.lgx-btn{display:inline-flex;align-items:center;gap:8px}
.g1-root.lgx-mithaq .g1-s-venue .g1-map.lgx-map-btn{margin-top:20px;padding:13px 30px;border:1px solid var(--mq-gold);border-radius:999px;background:linear-gradient(180deg,#fff,#f6f1e2);color:var(--mq-deep);font-family:var(--x-font);font-size:16px;box-shadow:0 8px 20px rgba(120,95,40,.14);text-decoration:none}
.g1-root.lgx-mithaq .g1-s-venue .g1-map .lgx-ico{width:17px;height:17px}

/* 5. program: ruled clauses */
.g1-root.lgx-mithaq .lgx-prog-card{background:none;border:0;box-shadow:none;padding:0;max-width:420px;margin:0 auto}
.g1-root.lgx-mithaq .lgx-prog-list{margin:0;padding:0;list-style:none;text-align:right}
.g1-root.lgx-mithaq .lgx-prog-row{display:flex;align-items:center;gap:12px;padding:14px 2px;border-bottom:1px solid rgba(201,162,39,.25);background:none}
.g1-root.lgx-mithaq .lgx-prog-row:last-child{border-bottom:0}
.g1-root.lgx-mithaq .lgx-prog-row.is-lit{background:none}
.g1-root.lgx-mithaq .lgx-prog-time{min-width:74px;font-family:'Amiri',serif;font-size:16px;color:var(--mq-deep);font-weight:700}
.g1-root.lgx-mithaq .lgx-prog-dot{flex:none;width:7px;height:7px;background:rgba(201,162,39,.35);transform:rotate(45deg);transition:background .5s ease,box-shadow .5s ease}
.g1-root.lgx-mithaq .lgx-prog-row.is-lit .lgx-prog-dot{background:var(--mq-gold);box-shadow:0 0 0 3px rgba(201,162,39,.18),0 0 10px rgba(201,162,39,.65)}
.g1-root.lgx-mithaq .lgx-prog-text{font-size:16.5px;color:var(--mq-ink)}

/* 6. dress: silk samples hanging on a gold thread */
.g1-root.lgx-mithaq .lgx-dress{background:none;border:0;box-shadow:none;padding:0}
.g1-root.lgx-mithaq .lgx-swatches{position:relative;display:flex;justify-content:center;flex-wrap:wrap;gap:18px;margin:4px 0 14px;padding-top:10px}
.g1-root.lgx-mithaq .lgx-swatches::before{content:"";position:absolute;left:12%;right:12%;top:0;height:1px;background:linear-gradient(90deg,transparent,var(--mq-gold),transparent)}
.g1-root.lgx-mithaq .lgx-swatch{display:flex;flex-direction:column;align-items:center;gap:6px}
.g1-root.lgx-mithaq .lgx-swatch small{font-size:13px;color:var(--mq-soft)}
.g1-root.lgx-mithaq .lgx-swatch-dot{position:relative;display:block;width:36px;height:54px;border-radius:3px 3px 16px 16px/3px 3px 10px 10px;background:linear-gradient(105deg,rgba(255,255,255,0) 18%,rgba(255,255,255,.42) 36%,rgba(255,255,255,0) 52%,rgba(0,0,0,.08) 80%),var(--sw);box-shadow:0 0 0 1px rgba(120,95,40,.18),0 8px 14px -6px rgba(120,95,40,.45);transform-origin:50% -10px;animation:lgx-sway 5s ease-in-out infinite;animation-delay:calc(var(--k,0) * -1.3s)}
.g1-root.lgx-mithaq .lgx-swatch-dot::before{content:"";position:absolute;left:50%;top:-10px;width:1px;height:10px;background:var(--mq-gold)}
@keyframes lgx-sway{0%,100%{transform:rotate(-2.2deg)}50%{transform:rotate(2.2deg)}}
.g1-root.lgx-mithaq .lgx-dr-style{margin:0!important;font-family:'Amiri',serif;font-weight:700;font-size:clamp(19px,5vw,22px);color:var(--mq-ink)}
.g1-root.lgx-mithaq .lgx-dr-desc{margin:6px auto 0!important;max-width:30em;font-size:15.5px;line-height:2;color:var(--mq-soft)}
.g1-root.lgx-mithaq .lgx-dress-note{color:var(--mq-soft)}

/* 7. gallery: gilt miniatures */
.g1-root.lgx-mithaq .lgx-photo-win{border:0;box-shadow:0 0 0 1px var(--mq-gold),0 0 0 5px var(--mq-paper),0 0 0 6px rgba(201,162,39,.6),0 14px 24px -14px rgba(80,60,20,.55)}
.g1-root.lgx-mithaq .lgx-photo-cap{color:var(--mq-soft)}

/* 8. RSVP on the parchment (signature line), sealed with wax */
.g1-root.lgx-mithaq .lgx-form-scene{position:relative;max-width:400px;margin:0 auto}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-form{display:flex;flex-direction:column;gap:18px;text-align:right;background:none;border:0;box-shadow:none;padding:0}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-field>span{font-size:13.5px;color:var(--mq-deep)}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-field input{width:100%;padding:8px 2px;font-family:var(--x-font);font-size:17px;color:var(--mq-ink);background:transparent;border:0;border-bottom:1px solid rgba(201,162,39,.6);border-radius:0;outline:none;box-shadow:none}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-field textarea{width:100%;padding:10px 12px;font-family:var(--x-font);font-size:16px;color:var(--mq-ink);background:rgba(255,255,255,.5);border:1px solid rgba(201,162,39,.45);border-radius:12px;box-shadow:none}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-field input:focus,.g1-root.lgx-mithaq .g1-s-addon .g1-rs-field textarea:focus{border-color:var(--mq-deep)}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-choice{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-choice button{padding:11px 6px;border-radius:999px;font-family:var(--x-font);font-size:16px;color:var(--mq-deep);border:1px solid var(--mq-gold);background:linear-gradient(180deg,#fff,#f6f1e2);box-shadow:0 6px 14px rgba(120,95,40,.1)}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-choice button.is-on{color:#fffdf6;border-color:transparent;background:linear-gradient(135deg,var(--mq-btn1),var(--mq-btn2));box-shadow:0 8px 18px rgba(120,95,40,.25)}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-choice button .lgx-ico{display:none}
.g1-root.lgx-mithaq .g1-s-addon .g1-rs-send{align-self:center;margin-top:4px;padding:14px 40px;border:0;border-radius:999px;font-family:var(--x-font);font-size:17px;color:#fffdf6;background:linear-gradient(135deg,var(--mq-btn1),var(--mq-btn2));text-shadow:0 1px 2px rgba(90,66,16,.4);box-shadow:0 10px 24px rgba(120,95,40,.28)}
.g1-root.lgx-mithaq .g1-s-addon .g1-message{color:var(--mq-deep)}
.g1-root.lgx-mithaq .lgx-stamp{position:absolute;inset:-10px;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border-radius:18px;background:rgba(252,251,247,.86);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .4s ease,visibility 0s linear .4s}
.g1-root.lgx-mithaq .lgx-form-scene.is-stamped .lgx-stamp{opacity:1;visibility:visible;transition:opacity .25s ease}
.g1-root.lgx-mithaq .lgx-seal--stamp{width:clamp(96px,26vw,128px)}
.g1-root.lgx-mithaq .lgx-form-scene.is-stamped .lgx-seal--stamp{animation:lgx-stamp .75s cubic-bezier(.3,1.4,.5,1) both}
.g1-root.lgx-mithaq .lgx-stamp-t{margin:0!important;font-family:var(--t-sign);font-size:clamp(19px,5vw,22px);color:var(--mq-deep)}
@keyframes lgx-stamp{0%{transform:scale(1.7) rotate(-14deg);opacity:0}60%{transform:scale(.94) rotate(-8deg);opacity:1}100%{transform:scale(1) rotate(-9deg);opacity:1}}

/* 9. wishes: marginal notes beside the text */
.g1-root.lgx-mithaq .lgx-wish-deck .lgx-wish-card,.g1-root.lgx-mithaq .lgx-wish{background:none!important;border:0!important;box-shadow:none!important;border-radius:0;padding:4px 18px 6px;text-align:right}
.g1-root.lgx-mithaq .lgx-wish{border-inline-start:2px solid rgba(201,162,39,.55)!important}
.g1-root.lgx-mithaq .lgx-wish--r{transform:rotate(-1deg)}.g1-root.lgx-mithaq .lgx-wish--l{transform:rotate(1deg)}
.g1-root.lgx-mithaq .lgx-wish-msg{margin:0;font-family:var(--x-font);font-size:17px;line-height:2;color:var(--mq-ink);white-space:pre-line}
.g1-root.lgx-mithaq .lgx-bl-sign{display:block;margin-top:6px;font-family:var(--t-sign);font-size:18px;color:var(--mq-deep)}
.g1-root.lgx-mithaq .lgx-bl-tag{font-size:13px;color:var(--mq-soft)}
.g1-root.lgx-mithaq .lgx-wish-list{display:flex;flex-direction:column;gap:22px}
.g1-root.lgx-mithaq .lgx-arrow{color:var(--mq-deep);border-color:rgba(201,162,39,.5);background:#fff}.g1-root.lgx-mithaq .lgx-dots button[aria-current="true"]{background:var(--mq-gold)}

/* 10. notes */
.g1-root.lgx-mithaq .lgx-info{background:none;border:0;box-shadow:none;padding:0}
.g1-root.lgx-mithaq .lgx-info-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:4px}
.g1-root.lgx-mithaq .lgx-note{display:block;border:0!important;background:none!important;padding:0!important;box-shadow:none!important}
.g1-root.lgx-mithaq .lgx-note p{margin:0;font-size:clamp(16px,4.2vw,18px);line-height:2;color:var(--mq-ink);text-align:center}
.g1-root.lgx-mithaq .lgx-info-title{color:var(--mq-deep)}

/* 11. ending: the couple, the date, the final seal */
.g1-root.lgx-mithaq footer.g1-end.lgx-ending{position:relative;padding:8px 24px 26px;text-align:center;background:none;color:var(--mq-ink)}
.g1-root.lgx-mithaq .lgx-end-rule{display:none}
.g1-root.lgx-mithaq footer.g1-end .lgx-end-lead{margin:0!important;font-size:clamp(16px,4.2vw,18px);line-height:2.1;color:var(--mq-soft)!important}
.g1-root.lgx-mithaq footer.g1-end .g1-endname{margin-top:18px!important;font-family:'Amiri',serif!important;font-weight:700;font-size:clamp(24px,6.4vw,30px)!important;color:var(--mq-ink)!important;text-shadow:none!important}
.g1-root.lgx-mithaq footer.g1-end .lgx-end-date{margin-top:6px!important;font-size:15px;color:var(--mq-deep)}
.g1-root.lgx-mithaq footer.g1-end .lgx-fin-line{margin-top:6px!important;font-size:15px;color:var(--mq-soft)}
.g1-root.lgx-mithaq .lgx-seal--end{width:clamp(96px,26vw,126px);margin:30px 8% 0 auto;transform:rotate(-9deg)}
.g1-root.lgx-mithaq .lgx-seal--end.in-view{animation:lgx-stamp .8s cubic-bezier(.3,1.4,.5,1) both}
.g1-root.lgx-mithaq footer.g1-end .lgx-finis{margin:10px 0 0!important;font-family:var(--t-sign);font-size:clamp(22px,6vw,28px);color:var(--mq-deep)}
.g1-root.lgx-mithaq .g1-bgm{left:max(18px,calc(50% - 300px));right:auto;bottom:calc(var(--rod-h) + 16px + env(safe-area-inset-bottom,0px));width:54px;height:54px;padding:15px;background:rgba(255,255,255,.82);border:1px solid rgba(201,162,39,.5);color:var(--mq-deep);box-shadow:0 8px 20px rgba(120,95,40,.2);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.g1-root.lgx-mithaq .g1-bgm svg{stroke:var(--mq-deep);fill:var(--mq-deep)}
@media (min-width:768px){.g1-root.lgx-mithaq{--rod-h:42px;--rod-cap:54px}}
html:has(.lgx-mithaq) .lahzatna-credit.lgx-credit{max-width:640px;margin:0 auto!important;padding:6px 12px calc(34px + 64px + env(safe-area-inset-bottom,0px))!important;background:#fcfbf7 url(mithaq/paper.webp) bottom center/100% auto;box-shadow:0 0 70px rgba(0,0,0,.55);clip-path:inset(0 -140px -140px -140px)}
html:has(.lgx-mithaq) .lahzatna-credit.lgx-credit>a:first-child{color:#86703f!important;font-family:'Amiri',serif!important}
html:has(.lgx-mithaq) .lahzatna-credit.lgx-credit .lahzatna-ig{color:#86703f}
@media (prefers-reduced-motion:reduce){.g1-root.lgx-mithaq .lgx-roll-img,.g1-root.lgx-mithaq .lgx-swatch-dot,.g1-root.lgx-mithaq .lgx-seal--open::after{animation:none!important}}
