:root {
--pearl: #F8F5FB; --mist: #E6DDF2; --lilac: #C8A2D8; --wisteria: #9B7BB8; --plum: #4A3557; --plum-soft: rgba(74,53,87,.68);
--silver: #DCD8E6; --gold: #C9A96E; --night: #1d1534; --night-2: #2c2150;
--script: "Pinyon Script", cursive; --serif: "Cormorant Garamond", Georgia, serif; --caps: "Cinzel", "Cormorant Garamond", serif;
--arabic: "Amiri", "Noto Naskh Arabic", serif;
--w: min(100vw, 480px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #ece6f3; color: var(--plum); font-family: var(--serif); font-size: 18px; line-height: 1.55;
-webkit-font-smoothing: antialiased; overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
body.is-locked { overflow: hidden; height: 100svh; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
.page { position: relative; width: var(--w); margin: 0 auto; background: var(--pearl) url(../img/paper.webp) center / 540px; overflow: hidden;
box-shadow: 0 0 60px rgba(74,53,87,.12); overflow-x: clip; overflow-y: visible; }
@supports not (overflow: clip) { .page { overflow: hidden; } }
.eyebrow { margin: 0 0 .55rem; font-family: var(--caps); font-size: .66rem; letter-spacing: .34em; text-transform: uppercase; color: var(--wisteria); }
.script { font-family: var(--script); font-weight: 400; line-height: 1.12; }
.h2 { margin: 0 0 .4rem; font-family: var(--script); font-weight: 400; font-size: clamp(2.3rem, 11vw, 3rem); line-height: 1.12; color: var(--plum); }
.lede { margin: 0 auto; max-width: 21rem; font-size: 1.08rem; color: var(--plum-soft); }
.sec { position: relative; padding: 4.2rem 1.4rem; text-align: center; }
.divider { width: min(19rem, 78%); margin: 1.2rem auto 1.4rem; opacity: .95; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.9rem; padding: .7rem 1.5rem; border: 1px solid var(--lilac);
border-radius: 999px; background: rgba(255,255,255,.55); color: var(--plum); font-family: var(--caps); font-size: .64rem; letter-spacing: .24em;
text-transform: uppercase; text-decoration: none; cursor: pointer; box-shadow: 0 6px 18px -10px rgba(155,123,184,.7), inset 0 1px 0 #fff;
transition: transform .2s, background .3s, box-shadow .3s; position: relative; overflow: hidden; }
.pill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.8) 50%, transparent 65%);
background-size: 250% 100%; background-position: 130% 0; animation: pearl 5s ease-in-out infinite; pointer-events: none; }
.pill:active { transform: scale(.96); }
.pill.solid { background: var(--wisteria); color: #fff; border-color: var(--wisteria); }
@keyframes pearl { 0%, 70% { background-position: 130% 0; } 100% { background-position: -40% 0; } }
.rv { opacity: 0; transform: translateY(22px); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .15s; } .rv.d2 { transition-delay: .3s; } .rv.d3 { transition-delay: .45s; } .rv.d4 { transition-delay: .6s; }
#gate { position: fixed; inset: 0; z-index: 50; display: flex; justify-content: center; background: var(--night); }
#gate .stage { position: relative; width: var(--w); height: 100%; overflow: hidden; }
#openVideo, #gate .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#gate .poster { transition: opacity .6s; }
#gate.is-playing .poster { opacity: 0; }
.gate-ui { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: max(12svh, 4.5rem) 1.5rem max(9svh, 3rem);
text-align: center; color: #fff; background: radial-gradient(ellipse at 50% 45%, rgba(29,21,52,.08), rgba(29,21,52,.5)); transition: opacity 1s, filter 1s; }
#gate.is-playing .gate-ui { opacity: 0; filter: blur(6px); pointer-events: none; }
.gate-dear { margin: 0 0 .6rem; font-family: var(--script); font-size: clamp(1.7rem, 8vw, 2.2rem); text-shadow: 0 2px 14px rgba(29,21,52,.7); overflow-wrap: anywhere; }
.gate-eyebrow { margin: 0; font-family: var(--caps); font-size: .68rem; letter-spacing: .4em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(29,21,52,.8); }
.gate-names { margin: .7rem 0 0; font-family: var(--script); font-weight: 400; font-size: clamp(2.9rem, 14vw, 3.8rem); line-height: 1.05; text-shadow: 0 3px 24px rgba(29,21,52,.75); }
.gate-names span { display: block; font-size: .55em; margin: .1em 0; }
.gate-ui > div { display: flex; flex-direction: column; align-items: center; width: 100%; }
.hold { position: relative; display: block; margin: 0 auto; flex: none; width: 6.6rem; height: 6.6rem; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); cursor: pointer;
-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 0 40px rgba(200,162,216,.5);
touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; animation: breathe 3s ease-in-out infinite; }
.hold svg { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); transform: rotate(-90deg); }
.hold circle { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 6px #fff); }
.hold .core { position: absolute; inset: 1.9rem; border-radius: 50%; background: radial-gradient(circle, #fff, rgba(255,255,255,.2) 60%, transparent 70%); transition: transform .3s; }
.hold.is-down { animation: none; }
.hold.is-down .core { transform: scale(1.5); }
@keyframes breathe { 50% { box-shadow: 0 0 0 1px rgba(255,255,255,.5), 0 0 60px rgba(200,162,216,.8); transform: scale(1.04); } }
.hold-label { margin: 1rem 0 0; font-family: var(--caps); font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(29,21,52,.9); }
.hold-sub { margin: .3rem 0 0; font-style: italic; font-size: 1rem; opacity: .9; text-shadow: 0 1px 10px rgba(29,21,52,.9); }
.skip { position: absolute; right: 1rem; top: max(1rem, env(safe-area-inset-top)); z-index: 3; padding: .5rem 1rem; border: 1px solid rgba(255,255,255,.5); border-radius: 999px;
background: rgba(29,21,52,.25); color: #fff; font-family: var(--caps); font-size: .58rem; letter-spacing: .26em; text-transform: uppercase; opacity: 0; pointer-events: none; transition: opacity .6s; }
#gate.is-playing .skip.on { opacity: 1; pointer-events: auto; }
#gate.is-gone { opacity: 0; transition: opacity 1.4s ease; pointer-events: none; }
#hero { position: relative; height: 100svh; overflow: hidden; color: #fff; }
#hero .bg { position: absolute; inset: 0; background: center / cover; will-change: transform; }
#hero.has-bg .bg { background-image: url(../img/hero.webp); }
#hero .moonglow { position: absolute; left: 50%; top: 22%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.6); border-radius: 50%; pointer-events: none; opacity: 0;
background: radial-gradient(circle, rgba(255,255,255,.75), rgba(230,210,255,.35) 35%, transparent 65%); }
#hero.moon-on .moonglow { animation: moonOn 3.2s ease-out; }
@keyframes moonOn { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.5); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); } }
.defs { position: absolute; width: 0; height: 0; }
#hero .mist { position: absolute; left: -50%; width: 200%; height: 22%; pointer-events: none; opacity: .5;
background: radial-gradient(ellipse at center, rgba(255,255,255,.8), rgba(255,255,255,0) 60%); filter: blur(10px); animation: mist 24s linear infinite; }
#hero .mist.m1 { bottom: 26%; } #hero .mist.m2 { bottom: 8%; animation-duration: 34s; animation-direction: reverse; opacity: .4; }
@keyframes mist { from { transform: translateX(-12%); } to { transform: translateX(12%); } }
#fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#hero .shade { position: absolute; left: 0; right: 0; bottom: 0; height: 42%; pointer-events: none; background: linear-gradient(to top, rgba(29,21,52,.38), rgba(29,21,52,.12) 55%, rgba(29,21,52,0)); }
.hero-text { position: absolute; left: 0; right: 0; bottom: 6.5%; padding: 0 1rem; text-align: center; will-change: transform; pointer-events: none; }
.hero-dear { margin: 0 0 .2rem; font-family: var(--script); font-size: clamp(1.4rem, 6.6vw, 1.8rem); color: #fff; text-shadow: 0 2px 12px rgba(29,21,52,.7); overflow-wrap: anywhere; }
#hero .eyebrow { color: #f3ecfb; text-shadow: 0 1px 8px rgba(29,21,52,.8); }
.hero-names { position: relative; margin: .3rem 0 0; font-family: var(--script); font-weight: 400; font-size: clamp(2.5rem, 12.5vw, 3.5rem); line-height: 1.1; color: #fff; white-space: nowrap;
text-shadow: 0 0 18px rgba(230,210,255,.95), 0 2px 10px rgba(29,21,52,.55); filter: url(#water); }
.hero-names .amp { font-family: var(--script); font-size: .8em; color: #f3e3ff; }
.hero-names .ink { display: inline-block; }
.reflect { margin: -.42em 0 0; font-family: var(--script); font-size: clamp(2.5rem, 12.5vw, 3.5rem); line-height: 1.1; color: #fff; white-space: nowrap; opacity: 0;
transform: scaleY(-.7); transform-origin: top; filter: url(#water2) blur(.6px);
-webkit-mask-image: linear-gradient(to top, rgba(0,0,0,.55), transparent 85%); mask-image: linear-gradient(to top, rgba(0,0,0,.55), transparent 85%); }
.is-awake .reflect { animation: reflectIn 2.4s 1.6s ease forwards; }
@keyframes reflectIn { to { opacity: .5; } }
.ink { display: block; -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%); mask-image: linear-gradient(90deg, #000 40%, transparent 60%);
-webkit-mask-size: 260% 100%; mask-size: 260% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0; filter: blur(7px); opacity: 0; }
.is-awake .ink { animation: ink 2.6s cubic-bezier(.3,.6,.2,1) forwards; }
.is-awake .ink.i2 { animation-delay: 1s; } .is-awake .amp { animation: fadeUp 1.2s .8s both; }
@keyframes ink { 0% { opacity: 0; filter: blur(7px); -webkit-mask-position: 100% 0; mask-position: 100% 0; } 25% { opacity: 1; }
100% { opacity: 1; filter: blur(0); -webkit-mask-position: 0 0; mask-position: 0 0; } }
.hero-bloom { position: absolute; left: 50%; top: 50%; width: 120%; height: 160%; transform: translate(-50%, -50%) scale(.4); background: url(../img/wash.webp) center / contain no-repeat;
opacity: 0; z-index: -1; pointer-events: none; }
.is-awake .hero-bloom { animation: bloom 3s .2s ease-out forwards; }
@keyframes bloom { to { opacity: .9; transform: translate(-50%, -50%) scale(1.15); } }
.hero-date { margin: .2rem 0 0; font-family: var(--caps); font-size: .7rem; letter-spacing: .32em; color: #fff; text-shadow: 0 1px 8px rgba(29,21,52,.9); opacity: 0; }
.hero-eyebrow { opacity: 0; }
.is-awake .hero-eyebrow { animation: fadeUp 1.2s .1s both; } .is-awake .hero-date { animation: fadeUp 1.2s 2.4s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; left: 50%; bottom: .8rem; width: 1px; height: 2.2rem; background: linear-gradient(#fff, transparent); transform-origin: top; opacity: 0; }
.is-awake .scroll-cue { animation: cue 2.4s 3.2s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: scaleY(0); } 40% { opacity: 1; transform: scaleY(1); } 100% { opacity: 0; transform: scaleY(1) translateY(10px); } }
.verse { background: linear-gradient(var(--pearl), var(--mist) 60%, var(--pearl)); }
.bismillah { margin: 0 auto 1.4rem; font-family: var(--arabic); font-size: clamp(1.7rem, 8.6vw, 2.2rem); color: var(--plum); line-height: 1.6; white-space: nowrap; }
.ayah { margin: 0 auto; max-width: 23rem; font-family: var(--arabic); font-size: clamp(1.35rem, 6.4vw, 1.7rem); line-height: 2.2; color: var(--plum); }
.ayah .w { display: inline-block; opacity: 0; filter: blur(4px); transform: translateY(6px); transition: opacity .7s, filter .7s, transform .7s; }
.ayah.in .w { opacity: 1; filter: none; transform: none; }
.ayah-en { margin: 1rem auto 0; max-width: 21rem; font-style: italic; font-size: 1.02rem; color: var(--plum-soft); }
.ref { margin: .6rem 0 0; font-family: var(--caps); font-size: .58rem; letter-spacing: .26em; color: var(--wisteria); text-transform: uppercase; }
.invite { padding-top: 3rem; }
.arch { position: relative; margin: 0 auto; max-width: 24rem; padding: 6.2rem 1.6rem 2.6rem; }
.arch > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.arch path { fill: rgba(255,255,255,.55); stroke: var(--lilac); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 3.2s ease; }
.arch path.inner { fill: none; stroke: var(--silver); stroke-width: .8; }
.arch.in path { stroke-dashoffset: 0; }
.corner { position: absolute; top: -1.4rem; width: 52%; pointer-events: none; transform-origin: top left; animation: sway 7s ease-in-out infinite alternate; }
.corner.l { left: -1.4rem; } .corner.r { right: -1.4rem; transform: scaleX(-1); transform-origin: top right; animation-name: swayR; }
@keyframes sway { from { transform: rotate(-1.2deg); } to { transform: rotate(1.4deg); } }
@keyframes swayR { from { transform: scaleX(-1) rotate(-1.2deg); } to { transform: scaleX(-1) rotate(1.4deg); } }
.invite-text { position: relative; margin: 0 0 1rem; font-size: 1.1rem; color: var(--plum-soft); white-space: pre-line; }
.inv-name { margin: .4rem 0 0; font-family: var(--script); font-size: clamp(2.3rem, 11.5vw, 3rem); line-height: 1.1; color: var(--plum); white-space: nowrap; }
.inv-line { margin: .1rem 0 0; font-style: italic; font-size: 1rem; color: var(--plum-soft); }
.inv-amp { margin: .7rem 0 .2rem; font-style: italic; font-size: 1.7rem; color: var(--wisteria); }
.ring-art { position: relative; width: 9.5rem; margin: 1.4rem auto .2rem; cursor: pointer; border: 0; padding: 0; background: none; display: block; }
.ring-art img { width: 100%; animation: float 6s ease-in-out infinite; }
.ring-art::after { content: ""; position: absolute; left: 44%; top: 30%; width: 28%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.95), transparent 60%);
opacity: 0; animation: glint 4.5s 2s ease-in-out infinite; pointer-events: none; }
@keyframes glint { 0%, 80%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 88% { opacity: 1; transform: scale(1.1) rotate(45deg); } }
@keyframes float { 50% { transform: translateY(-6px) rotate(-1.5deg); } }
.at { margin: 1rem 0 0; font-family: var(--caps); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--wisteria); }
.at b { display: block; margin-top: .35rem; font-family: var(--serif); font-weight: 500; font-size: 1.35rem; letter-spacing: .04em; text-transform: none; color: var(--plum); }
.date-sec { background: linear-gradient(var(--pearl), #efe8f6); }
.glass { position: relative; margin: 1.4rem auto 0; max-width: 21rem; border-radius: 26px; overflow: hidden; background: #fff;
box-shadow: 0 24px 50px -30px rgba(74,53,87,.55), inset 0 0 0 1px rgba(200,162,216,.5); touch-action: none; }
.glass .dt { padding: 2.2rem 1.2rem 2.3rem; background: radial-gradient(ellipse at 50% 0, rgba(200,162,216,.25), transparent 70%); }
.dt .dow { font-family: var(--caps); font-size: .72rem; letter-spacing: .34em; text-transform: uppercase; color: var(--wisteria); }
.dt .day { margin: .2rem 0; font-family: var(--serif); font-size: 4.6rem; line-height: 1; color: var(--plum); }
.dt .my { font-family: var(--script); font-size: 2.1rem; color: var(--plum); line-height: 1.1; }
.dt .tm { margin-top: .6rem; font-family: var(--caps); font-size: .68rem; letter-spacing: .26em; color: var(--plum-soft); text-transform: uppercase; }
.glass canvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 1.4s; cursor: grab; }
.glass.is-clear canvas { opacity: 0; pointer-events: none; }
.wipe-hint { position: absolute; left: 0; right: 0; bottom: 1.1rem; font-family: var(--caps); font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; color: var(--plum);
pointer-events: none; transition: opacity .6s; }
.wipe-hint i { display: block; width: 2.4rem; height: 2.4rem; margin: 0 auto .5rem; border-radius: 50%; border: 1px solid var(--wisteria); animation: swipe 2.4s ease-in-out infinite; }
@keyframes swipe { 0%, 100% { transform: translateX(-18px); } 50% { transform: translateX(18px); } }
.glass.is-wiping .wipe-hint, .glass.is-clear .wipe-hint { opacity: 0; }
.drop { position: absolute; width: 5px; height: 7px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: rgba(255,255,255,.9);
box-shadow: inset -1px -1px 1px rgba(155,123,184,.5); pointer-events: none; animation: drip 1.6s ease-in forwards; }
@keyframes drip { to { transform: translateY(70px); opacity: 0; } }
.cal { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.moon-sec { background: linear-gradient(#efe8f6, var(--pearl)); }
.moonwrap { position: relative; width: min(16rem, 70vw); aspect-ratio: 1; margin: 1.4rem auto 0; }
.moonwrap svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.moonwrap .track { fill: none; stroke: var(--mist); stroke-width: 2; }
.moonwrap .prog { fill: none; stroke: var(--wisteria); stroke-width: 2.4; stroke-linecap: round; transition: stroke-dashoffset 2.4s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 0 4px var(--lilac)); }
.moonwrap canvas { position: absolute; inset: 14%; width: 72%; height: 72%; border-radius: 50%; filter: drop-shadow(0 0 22px rgba(200,162,216,.8)); animation: moonglow 6s ease-in-out infinite; }
@keyframes moonglow { 50% { filter: drop-shadow(0 0 34px rgba(200,162,216,1)); } }
.moon-dots { position: absolute; inset: 0; }
.moon-dots i { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px; border-radius: 50%; background: var(--silver); transition: background .6s, box-shadow .6s; }
.moon-dots i.on { background: var(--wisteria); box-shadow: 0 0 8px var(--lilac); }
.count { display: flex; justify-content: center; gap: .3rem; margin-top: 1.6rem; }
.count div { min-width: 4.2rem; }
.count b { display: block; font-family: var(--serif); font-weight: 500; font-size: 2.4rem; line-height: 1; color: var(--plum); font-variant-numeric: tabular-nums; }
.count span { font-family: var(--caps); font-size: .55rem; letter-spacing: .22em; text-transform: uppercase; color: var(--wisteria); }
.moon-note { margin: 1.3rem auto 0; max-width: 20rem; font-style: italic; color: var(--plum-soft); }
.moments { padding-bottom: 3rem; }
.duo { position: relative; height: 31rem; max-width: 24rem; margin: 1.6rem auto 0; }
.moments .bangles { position: absolute; left: -.6rem; top: -1.2rem; width: 44%; pointer-events: none; transform-origin: top left; animation: sway 6s ease-in-out infinite alternate; z-index: 2; }
.frame { position: absolute; width: 64%; padding: .45rem; background: #fff; border: 0; border-radius: 4px;
box-shadow: 0 20px 40px -22px rgba(74,53,87,.6), 0 0 0 1px rgba(200,162,216,.35); will-change: transform; }
.frame img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }
.frame.a { left: 0; top: 0; --r: -4deg; } .frame.b { right: 0; bottom: 0; --r: 3.5deg; }
.frame { transform: translateY(var(--py, 0px)) rotate(var(--r)); transition: box-shadow .4s; }
.frame:active { box-shadow: 0 26px 50px -20px rgba(74,53,87,.75); }
.quote { margin: 2rem auto 0; max-width: 21rem; font-family: var(--script); font-size: clamp(1.7rem, 7.6vw, 2.1rem); line-height: 1.3; color: var(--plum); }
.venue { background: linear-gradient(var(--pearl), var(--mist)); }
.venue-art { position: relative; margin: 1.6rem -1.4rem .4rem; display: block; width: calc(100% + 2.8rem); }
.venue-art img { width: 100%; -webkit-mask-image: radial-gradient(ellipse at center, #000 62%, transparent 74%); mask-image: radial-gradient(ellipse at center, #000 62%, transparent 74%); }
.venue-art .twinkle { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #fff6d8; box-shadow: 0 0 8px 3px rgba(255,236,170,.8); animation: tw 2.4s ease-in-out infinite; pointer-events: none; }
@keyframes tw { 50% { opacity: .2; transform: scale(.6); } }
.zoom-hint { margin: .3rem 0 0; font-family: var(--caps); font-size: .58rem; letter-spacing: .26em; text-transform: uppercase; color: var(--wisteria); }
.venue-name { margin: 1.2rem 0 .2rem; font-family: var(--script); font-size: clamp(2.4rem, 11.5vw, 3rem); line-height: 1.1; color: var(--plum); }
.venue-when { margin: 0 0 1.3rem; font-family: var(--caps); font-size: .68rem; letter-spacing: .26em; color: var(--plum-soft); text-transform: uppercase; }
.venue-addr { margin: -.8rem 0 1.3rem; font-style: italic; color: var(--plum-soft); }
.lb { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; background: rgba(29,21,52,.92); opacity: 0; pointer-events: none; transition: opacity .4s; touch-action: none; }
.lb.on { opacity: 1; pointer-events: auto; }
.lb img { max-width: 100vw; max-height: 86svh; transform-origin: 50% 50%; user-select: none; -webkit-user-drag: none; }
.lb .x { position: absolute; right: 1rem; top: max(1rem, env(safe-area-inset-top)); width: 2.6rem; height: 2.6rem; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: none; color: #fff; font-size: 1.3rem; cursor: pointer; }
.lb p { position: absolute; bottom: max(1rem, env(safe-area-inset-bottom)); left: 0; right: 0; margin: 0; text-align: center; color: #fff; font-family: var(--caps); font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; opacity: .8; }
.wall { padding-top: 2.4rem; padding-bottom: 3rem; background: linear-gradient(var(--night), var(--night-2) 55%, var(--night)); color: #f3ecfb; }
.wall .h2 { color: #fff; } .wall .eyebrow { color: var(--lilac); } .wall .lede { color: rgba(243,236,251,.75); }
.stars { position: absolute; inset: 0; pointer-events: none; }
.stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; animation: tw 3s ease-in-out infinite; }
.sky { position: relative; height: 22rem; margin: 1.4rem -1.4rem 0; }
.lan { position: absolute; width: 2.6rem; padding: 0; border: 0; background: none; cursor: pointer; animation: bob 5s ease-in-out infinite; }
.lan img { width: 100%; filter: sepia(1) saturate(2.2) hue-rotate(-12deg) brightness(1.35); }
.lan::before { content: ""; position: absolute; left: 50%; top: 58%; width: 260%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
background: radial-gradient(circle, rgba(255,214,140,.55), rgba(255,180,90,.15) 45%, transparent 70%); animation: flick 2.2s ease-in-out infinite alternate; pointer-events: none; }
.lan.mine::before { background: radial-gradient(circle, rgba(230,200,255,.7), rgba(200,162,216,.2) 45%, transparent 70%); }
@keyframes bob { 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes flick { to { opacity: .7; transform: translate(-50%, -50%) scale(.92); } }
.lan.rise { transition: left 4s cubic-bezier(.3,.7,.3,1), top 4s cubic-bezier(.3,.7,.3,1); }
.bubble { position: absolute; z-index: 5; left: 50%; max-width: 17rem; padding: .9rem 1.1rem; border-radius: 16px; background: rgba(255,255,255,.95); color: var(--plum);
transform: translate(-50%, -110%); box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); font-size: 1rem; line-height: 1.4; text-align: center; animation: pop .35s ease-out; pointer-events: none; }
.bubble small { display: block; margin-top: .3rem; font-family: var(--caps); font-size: .55rem; letter-spacing: .2em; text-transform: uppercase; color: var(--wisteria); }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -95%) scale(.9); } }
.dua-count { margin: .2rem 0 1.2rem; font-family: var(--caps); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--lilac); }
.dua-form { max-width: 21rem; margin: 0 auto; text-align: left; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; margin-bottom: .9rem; }
.chip { padding: .45rem .85rem; border: 1px solid rgba(200,162,216,.6); border-radius: 999px; background: rgba(255,255,255,.06); color: #f3ecfb; font-size: .92rem; cursor: pointer; }
.chip:active, .chip.on { background: rgba(200,162,216,.35); }
.field { display: block; width: 100%; margin: 0 0 .7rem; padding: .8rem .95rem; border: 1px solid rgba(200,162,216,.5); border-radius: 14px; background: rgba(255,255,255,.08);
color: #fff; font: inherit; font-size: 1.02rem; outline: none; }
.field::placeholder { color: rgba(243,236,251,.55); }
.field:focus { border-color: var(--lilac); background: rgba(255,255,255,.12); }
textarea.field { min-height: 5.2rem; resize: none; }
.dua-form .pill { width: 100%; margin-top: .3rem; background: rgba(200,162,216,.25); color: #fff; border-color: var(--lilac); }
.dua-msg { min-height: 1.4em; margin: .8rem 0 0; text-align: center; font-style: italic; color: var(--lilac); }
.rsvp { background: linear-gradient(var(--night), #3a2b5e 18%, var(--mist) 46%, var(--pearl)); padding-top: 5rem; }
.card { position: relative; max-width: 22rem; margin: 0 auto; padding: 2.4rem 1.4rem 2rem; border-radius: 28px; background: rgba(255,255,255,.82);
box-shadow: 0 30px 60px -36px rgba(29,21,52,.7), inset 0 0 0 1px rgba(200,162,216,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.card .bangles { position: absolute; left: -1.1rem; top: -1.6rem; width: 46%; pointer-events: none; transform-origin: top left; animation: sway 6s ease-in-out infinite alternate; }
.rsvp form { text-align: left; }
.rsvp label.l { display: block; margin: 1rem 0 .35rem; font-family: var(--caps); font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: var(--wisteria); }
.rsvp input[type=text], .rsvp select, .rsvp textarea { width: 100%; padding: .75rem .9rem; border: 1px solid var(--silver); border-radius: 12px; background: #fff; color: var(--plum); font: inherit; font-size: 1.05rem; outline: none; }
.rsvp input:focus, .rsvp select:focus, .rsvp textarea:focus { border-color: var(--lilac); box-shadow: 0 0 0 3px rgba(200,162,216,.25); }
.rsvp textarea { min-height: 4.6rem; resize: none; }
.choice { display: flex; gap: .5rem; }
.choice label { flex: 1; text-align: center; padding: .75rem .4rem; border: 1px solid var(--silver); border-radius: 14px; background: #fff; cursor: pointer; font-size: 1rem; line-height: 1.25; transition: all .3s; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice input:checked + label { border-color: var(--wisteria); background: var(--mist); box-shadow: 0 0 0 2px rgba(155,123,184,.25); }
.rsvp .pill { width: 100%; margin-top: 1.4rem; }
.rsvp-done { padding: 1rem 0; text-align: center; }
.rsvp-done .check { width: 4rem; height: 4rem; margin: 0 auto 1rem; border-radius: 50%; border: 1px solid var(--wisteria); display: flex; align-items: center; justify-content: center; color: var(--wisteria); font-size: 1.6rem; }
.err { min-height: 1.2em; margin: .6rem 0 0; color: #a2406a; font-size: .95rem; text-align: center; }
.contacts { margin-top: 1.6rem; }
.contact { margin: .9rem 0 0; }
.contact b { display: block; font-weight: 600; } .contact span { color: var(--plum-soft); letter-spacing: .06em; }
.contact .row { display: flex; gap: .5rem; justify-content: center; margin-top: .4rem; }
.night { position: relative; height: 175svh; background: var(--night); }
.night .stick { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.night .layer { position: absolute; left: 0; right: 0; will-change: transform, opacity; transform: translateZ(0); backface-visibility: hidden; pointer-events: none; }
.night .stick { contain: paint; }
.night .back { inset: -6% 0; background: #3b2a66 center / cover; }
.night.near .back { background-image: url(../img/night-back.webp); }
.night .mid { bottom: -4%; left: 24%; right: 24%; }
.night .front { inset: -2% -6% auto; }
.night .front img, .night .mid img { width: 100%; }
.night .fade { position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, rgba(29,21,52,.85)); pointer-events: none; }
.close-text { position: absolute; left: 0; right: 0; top: 11%; padding: 1.2rem 1.4rem 1.6rem; text-align: center; color: #fff; z-index: 3;
background: radial-gradient(ellipse 75% 60% at 50% 45%, rgba(29,21,52,.62), rgba(29,21,52,.3) 60%, transparent 80%); }
.close-names { display: inline-block; margin: .4rem 0; padding: 0; border: 0; background: none; cursor: pointer; font-family: var(--script); font-size: clamp(2.8rem, 13.5vw, 3.6rem); line-height: 1.05; color: #fff;
text-shadow: 0 0 20px rgba(200,162,216,.9), 0 0 40px rgba(155,123,184,.7); animation: glow 4s ease-in-out infinite; }
@keyframes glow { 50% { text-shadow: 0 0 28px rgba(230,210,255,1), 0 0 60px rgba(155,123,184,.9); } }
.close-dua { margin: .8rem auto 0; font-family: var(--arabic); font-size: clamp(1.05rem, 5.1vw, 1.3rem); line-height: 1.9; white-space: nowrap; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.close-en { margin: .3rem auto 0; max-width: 20rem; font-style: italic; font-size: .98rem; opacity: .9; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.close-guest { margin: 1rem 0 0; font-family: var(--script); font-size: 1.6rem; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.tap-hint { margin: .2rem 0 0; font-family: var(--caps); font-size: .55rem; letter-spacing: .26em; text-transform: uppercase; opacity: .75; }
.thanks { min-height: 1.6em; margin: .6rem 0 0; font-family: var(--script); font-size: 1.6rem; opacity: 0; transition: opacity .8s; }
.thanks.on { opacity: 1; }
footer { padding: 2.4rem 1rem 3rem; text-align: center; background: var(--night); color: rgba(243,236,251,.7); font-size: .9rem; }
footer b { display: block; font-family: var(--caps); font-weight: 400; font-size: 1.1rem; letter-spacing: .3em; color: #fff; }
footer a { color: inherit; }
.music { position: fixed; z-index: 40; top: max(.9rem, env(safe-area-inset-top)); right: max(.9rem, calc((100vw - var(--w)) / 2 + .9rem)); width: 2.7rem; height: 2.7rem; padding: 0;
border: 1px solid rgba(255,255,255,.7); border-radius: 50%; cursor: pointer; background: radial-gradient(circle at 38% 35%, #fff, #e9e1f4 55%, #c9b8de);
box-shadow: 0 0 0 4px rgba(255,255,255,.18), 0 0 18px rgba(200,162,216,.8); opacity: 0; pointer-events: none; transition: opacity .8s, box-shadow .6s; }
.music.on { opacity: 1; pointer-events: auto; }
.music.is-playing { animation: moonpulse 3s ease-in-out infinite; }
.music::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; box-shadow: inset -7px -2px 0 0 rgba(155,123,184,.55); transition: box-shadow .6s; }
.music.is-playing::after { box-shadow: inset 0 0 0 0 rgba(155,123,184,.55); }
@keyframes moonpulse { 50% { box-shadow: 0 0 0 6px rgba(255,255,255,.25), 0 0 30px rgba(200,162,216,1); } }
#trail { position: fixed; inset: 0; z-index: 60; width: 100vw; height: 100vh; pointer-events: none; }
.petal { position: fixed; z-index: 45; top: -40px; width: 18px; pointer-events: none; animation: fall linear forwards; }
@keyframes fall { to { transform: translate(var(--dx), 112vh) rotate(var(--rot)); } }
@media (prefers-reduced-motion: reduce) {
.rv { transition: none; opacity: 1; filter: none; transform: none; }
.corner, .card .bangles, .ring-art img, .lan, #hero .mist { animation: none; }
}
.gate-names.names { margin-top: .5rem; }
.constel { padding-top: 5.5rem; background: linear-gradient(var(--mist), var(--night-2) 9%, var(--night)); color: #f3ecfb; overflow: hidden; }
.constel .h2 { color: #fff; } .constel .eyebrow { color: var(--lilac); } .constel .lede { color: rgba(243,236,251,.78); }
.heart-sky { position: relative; width: min(19rem, 82vw); aspect-ratio: 100 / 92; margin: 1.4rem auto 0; }
.heart-sky svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.heart-path { fill: rgba(200,162,216,0); stroke: none; transition: fill 1.6s ease; }
.heart-sky.is-done .heart-path { fill: rgba(200,162,216,.16); filter: drop-shadow(0 0 10px rgba(230,210,255,.8)); }
.c-line { stroke: #f3e3ff; stroke-width: .5; stroke-linecap: round; opacity: 0; stroke-dasharray: 40; stroke-dashoffset: 40; transition: opacity .3s, stroke-dashoffset 1s ease; filter: drop-shadow(0 0 2px #fff); }
.c-line.on { opacity: .9; stroke-dashoffset: 0; }
.c-star { position: absolute; width: 2.6rem; height: 2.6rem; margin: -1.3rem 0 0 -1.3rem; padding: 0; border: 0; background: none; cursor: pointer; }
.c-star::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px; border-radius: 50%; background: #fff;
box-shadow: 0 0 6px 2px rgba(255,255,255,.8), 0 0 16px 6px rgba(200,162,216,.55); animation: starPulse 2.4s ease-in-out infinite; animation-delay: inherit; }
.c-star.on::before { width: 13px; height: 13px; margin: -6.5px; background: #fff3c9; box-shadow: 0 0 10px 4px rgba(255,243,201,.9), 0 0 26px 10px rgba(230,210,255,.7); animation: none; }
@keyframes starPulse { 50% { transform: scale(1.6); box-shadow: 0 0 10px 4px rgba(255,255,255,.95), 0 0 26px 10px rgba(200,162,216,.7); } }
.heart-msg { min-height: 3.4rem; margin: .6rem 0 0; font-family: var(--caps); font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--lilac); }
.heart-msg .script { display: block; font-size: clamp(2.2rem, 10vw, 2.7rem); letter-spacing: 0; text-transform: none; color: #fff; text-shadow: 0 0 18px rgba(200,162,216,.9); animation: fadeUp 1.4s both; }
.wish-hint { margin: 1.4rem 0 0; font-style: italic; color: rgba(243,236,251,.7); }
.wish-msg { min-height: 1.6em; margin: .3rem 0 0; font-family: var(--script); font-size: 1.7rem; color: #fff3c9; opacity: 0; }
.wish-msg.on { animation: wish 3.4s ease forwards; }
@keyframes wish { 0% { opacity: 0; transform: translateY(8px); } 15%, 75% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.shoot { position: absolute; z-index: 4; width: 9rem; height: 2.6rem; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; transform: rotate(-24deg); animation: shoot 1.9s ease-in forwards; }
.shoot::before { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 2px; margin-top: -1px; border-radius: 2px;
background: linear-gradient(90deg, #fff, rgba(230,210,255,.6) 30%, transparent); box-shadow: 0 0 8px rgba(255,255,255,.8); }
.shoot::after { content: ""; position: absolute; left: -3px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px #fff; }
@keyframes shoot { 0% { opacity: 0; translate: 0 0; } 10% { opacity: 1; } 100% { opacity: 0; translate: -11rem 5rem; } }
.petal { pointer-events: auto; padding: 10px; box-sizing: content-box; margin: -10px; cursor: pointer; }
.bfly { position: fixed; z-index: 61; width: 46px; margin: -18px 0 0 -23px; pointer-events: none; }
.bfly img { display: block; width: 100%; height: auto; filter: drop-shadow(0 3px 6px rgba(74,53,87,.35)); animation: flap .26s ease-in-out infinite alternate; }
@keyframes flap { from { transform: scaleX(1); } to { transform: scaleX(.22); } }
#hero, .c-star, .shoot, .ring-art, .close-names, .chip, .lan, .petal, .glass { touch-action: manipulation; }
.glass canvas { touch-action: none; }
.promise { padding-top: 2.6rem; }
.hand { position: relative; width: min(14rem, 60vw, calc((100svh - 12rem) / 2.9)); margin: 9.8rem auto 0; cursor: pointer; touch-action: manipulation; }
.hand img.bare, .hand img.ringed { display: block; width: 100%; height: auto; }
.hand img.ringed { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hand.is-ringed img.ringed { opacity: 1; }
.float-ring { position: absolute; left: 50%; top: -8.6rem; width: 40%; margin-left: -20%; padding: 0; border: 0; background: none; cursor: pointer; z-index: 2;
filter: drop-shadow(0 0 14px rgba(255,236,190,.9)) drop-shadow(0 6px 10px rgba(74,53,87,.25)); animation: ringFloat 3.2s ease-in-out infinite; }
.float-ring img { display: block; width: 100%; height: auto; }
.float-ring.is-going { animation: none; }
@keyframes ringFloat { 50% { transform: translateY(-10px) rotate(4deg); filter: drop-shadow(0 0 22px rgba(255,236,190,1)) drop-shadow(0 6px 10px rgba(74,53,87,.25)); } }
.float-ring::after { content: ""; position: absolute; left: 40%; top: 18%; width: 30%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #fff, transparent 60%); animation: glint 3s 1s ease-in-out infinite; }
.hint-ring { margin: 1rem 0 0; font-family: var(--caps); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--wisteria); transition: opacity .6s; }
.promise-done { min-height: 1.4em; margin: .2rem 0 0; font-family: var(--script); font-size: clamp(2rem, 9vw, 2.6rem); color: var(--plum); animation: fadeUp 1.2s both; }
.promise-done:empty { animation: none; }
.hand img.bare { aspect-ratio: 440 / 974; }
.float-ring img { aspect-ratio: 300 / 399; }
.ring-art img { aspect-ratio: 440 / 408; }
.corner { aspect-ratio: 620 / 649; }
.moments .bangles { aspect-ratio: 560 / 586; }
.venue-art img { aspect-ratio: 1100 / 614; }