/* Personalization layered over the original responsive garden composition. */
html { background: #f9f0e0; }
body { margin: 0; }
#rec2487446043 [data-elem-id="1763402147625"] .tn-atom { font-size: 39px !important; line-height: 1.4 !important; }
#rec2487446043 [data-elem-id="176340401720454780"] .tn-atom { font-size: 21px !important; }
#weiOverlay:focus-visible, #weiAudioBtn:focus-visible { outline: 3px solid #b39754; outline-offset: -5px; }
#weiAudioBtn { border: 0; }
.venue-directions { display: block; width: max-content; margin: 16px auto 24px; color: #7c652b !important; font: 16px Ovo, Georgia, serif; text-underline-offset: 5px; }
#skip-intro { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); border: 1px solid #9f8754; border-radius: 30px; padding: 10px 18px; background: #f9f0e0; color: #6b522c; font: 14px Georgia,serif; cursor: pointer; }
@media (max-width: 450px) {
 #rec2487446043 [data-elem-id="1763402147625"] .tn-atom { font-size: 32px !important; line-height: 1.72 !important; }
 #weiAudioBtn { width: 48px; height: 48px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
 #weiTapWrap, #weiTapLabel, .wei-chevron { animation: none !important; }
 .t-animate, .t-sbs-anim_started { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
#wedding-location { padding: 32px 16px 20px; text-align: center; background: #f9f0e0; }
#wedding-location h2 { margin: 0; color: #a67d2b; font: 300 44px/1.5 'NewFonts', Georgia, serif; }
#wedding-closing { max-width: 450px; margin: 0 auto; padding: 36px 0 0; text-align: center; background: #f9f0e0; }
#wedding-closing h2 { margin: 0 10px 12px; color: #a67d2b; font: 300 41px/1.55 'NewFonts', Georgia, serif; }
#wedding-closing p { margin: 0 12px; color: #a67d2b; font: 400 25px/1.6 'Ovo', Georgia, serif; }
#wedding-closing img { display: block; width: 100%; height: auto; margin: -10px auto 0; mix-blend-mode: normal; mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent); mask-composite: intersect; animation: none !important; transform: none !important; }
@media(max-width: 450px) { #wedding-closing h2 { font-size: 36px; } #wedding-closing p { font-size: 23px; } }

/* Arabic: local fonts and readable RTL typography. */
@font-face {
  font-family: 'Noto Naskh Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/kurdish-naskh-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Naskh Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/kurdish-naskh-500.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Naskh Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/kurdish-naskh-600.ttf) format('truetype');
}

html[lang="ar"] .tn-elem[data-elem-type="text"] .tn-atom,
html[lang="ar"] #wedding-location h2,
html[lang="ar"] #wedding-closing h2,
html[lang="ar"] #wedding-closing p,
html[lang="ar"] .venue-directions,
html[lang="ar"] #skip-intro,
html[lang="ar"] #weiTapLabel,
html[lang="ar"] #countdownContainer { font-family: 'Noto Naskh Arabic', serif !important; letter-spacing: 0 !important; }
html[lang="ar"] .tn-elem[data-elem-type="text"] { direction: rtl; }
html[lang="ar"] #weiTapLabel { font-size: 16px; animation: none; }
html[lang="ar"] #rec2487446043 [data-elem-id="1763402147625"] .tn-atom { font-size: 48px !important; line-height: 1.15 !important; }
html[lang="ar"] #rec2487446043 [data-elem-id="176340398328864790"] .tn-atom { font-size: 32px !important; }
html[lang="ar"] #rec2487446043 [data-elem-id="176340401720454780"] .tn-atom { font-size: 21px !important; }
html[lang="ar"] #rec2487446043 [data-elem-id="1780748008617000003"] .tn-atom { font-size: 25px !important; line-height: 1.55 !important; }
html[lang="ar"] #rec2487446043 [data-elem-id="1780748008617000005"] .tn-atom { font-size: 19px !important; line-height: 1.6 !important; }
html[lang="ar"] #rec2487446093 [data-elem-type="text"] .tn-atom { font-size: 30px !important; }
html[lang="ar"] #countdownContainer .label { direction: rtl; font-size: 15px; }
html[lang="ar"] #wedding-closing h2 { font-size: 32px; }
html[lang="ar"] #wedding-location h2 { font-size: 38px; }

html[lang="ar"] #rec2487446043 [data-elem-id="1782312134224"] .tn-atom { color: #a67d2b; font-size: 20px !important; line-height: 1.6 !important; text-align: center; }
html[lang="ar"] #rec2487446043 [data-elem-id="1780748008617000003"] { width: min(90vw, 450px) !important; left: calc(50% - min(45vw, 225px)) !important; }
@media(max-width: 360px) { html[lang="ar"] #rec2487446043 [data-elem-id="1780748008617000003"] .tn-atom { font-size: 22px !important; } }

/* Fit the Small Hall qualifier on narrow phones. */
html[lang="ar"] #wedding-location h2 { font-size: 30px; line-height: 1.7; }
@media(max-width:360px) { html[lang="ar"] #wedding-location h2 { font-size: 26px; } }

/* The verse sits directly below the basmala; allow readable Arabic lines. */
html[lang="ar"] #rec2487446043 [data-elem-id="1780748008617000003"] { top: 866px !important; }
html[lang="ar"] #rec2487446043 [data-elem-id="1780748008617000003"] .tn-atom { font-size: 20px !important; line-height: 1.65 !important; }
html[lang="ar"] #rec2487446043 [data-elem-id="1780748008617000003"] small { display: block; font-size: 14px; margin-top: 6px; }
html[lang="ar"] #rec2487446043 [data-elem-id="1780748008617000005"] { top: 1080px !important; }
html[lang="ar"] #rec2487446043 [data-elem-id="1780748008617000005"] .tn-atom { font-size: 18px !important; line-height: 1.6 !important; }
#countdownContainer { direction: ltr; }

/* Decorative movement stays below the names, within the garden artwork. */
.wedding-garden { position: relative; }
.garden-motion { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ring-glow { position: absolute; left: 33%; top: 77%; width: 29%; height: 11%; border-radius: 50%; background: radial-gradient(ellipse, #fff2c969, transparent 70%); mix-blend-mode: screen; animation: ring-light 6s ease-in-out infinite; }
.ring-glint { position: absolute; width: 18px; height: 18px; opacity: 0; background: radial-gradient(circle, #fff 0 7%, #fff7ceaa 12%, transparent 65%); animation: ring-shimmer 5.5s ease-in-out infinite; }
.ring-glint::before, .ring-glint::after { content: ''; position: absolute; background: linear-gradient(transparent, #fff9df, transparent); left: 8px; top: 1px; width: 2px; height: 16px; border-radius: 50%; }
.ring-glint::after { transform: rotate(90deg); }
.glint-one { left: 41%; top: 80.3%; }
.glint-two { left: 53.5%; top: 81.4%; animation-delay: -2.8s; }
.garden-petal { position: absolute; top: 65%; left: var(--x); width: 8px; height: 12px; border-radius: 75% 15% 70% 25%; background: linear-gradient(135deg, #fffdf7, #f1dcc7); box-shadow: 0 1px 2px #896b3520; opacity: 0; animation: petal-drift var(--duration) linear infinite; animation-delay: var(--delay); }
.petal-1 { --x: 22%; --duration: 12s; --delay: -2s; --drift: 30px; }
.petal-2 { --x: 69%; --duration: 15s; --delay: -8s; --drift: -36px; }
.petal-3 { --x: 38%; --duration: 14s; --delay: -5s; --drift: 24px; }
.petal-4 { --x: 78%; --duration: 17s; --delay: -13s; --drift: -42px; }
.petal-5 { --x: 29%; --duration: 16s; --delay: -11s; --drift: 35px; }
.petal-6 { --x: 59%; --duration: 13s; --delay: -6s; --drift: -28px; }
@keyframes ring-light { 0%,100% { opacity: .25; transform: scale(.92); } 50% { opacity: .65; transform: scale(1.08); } }
@keyframes ring-shimmer { 0%,32%,66%,100% { opacity: 0; transform: scale(.35) rotate(0deg); } 48% { opacity: .9; transform: scale(1) rotate(18deg); } }
@keyframes petal-drift { 0% { opacity: 0; transform: translate(0, -12px) rotate(0deg); } 12% { opacity: .65; } 50% { transform: translate(calc(var(--drift) * -.3), 100px) rotate(100deg); } 85% { opacity: .5; } 100% { opacity: 0; transform: translate(var(--drift), 225px) rotate(210deg); } }
@media (prefers-reduced-motion: reduce) { .garden-motion { display: none; } .garden-motion span { animation: none !important; } }

/* Two independently moving watercolor figures meet and hold hands. */
.wedding-couple-motion { position: absolute; left: 12%; top: 68%; width: 76%; aspect-ratio: 3 / 2; pointer-events: none; direction: ltr; }
.couple-actor { position: absolute; top: 0; width: 50%; height: 100%; overflow: hidden; opacity: 0; animation-duration: 13s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-play-state: paused; }
.couple-actor img { position: absolute; top: 0; width: 200%; height: 100%; max-width: none; object-fit: contain; }
.groom { left: 0; animation-name: groom-approach; }
.bride { left: 50%; animation-name: bride-approach; }
.groom img { left: 0; }
.bride img { left: -100%; }
.invitation-open .couple-actor { animation-play-state: running; }
@keyframes groom-approach { 0% { opacity: 0; transform: translateX(-22%); } 12% { opacity: 1; } 42%,85% { opacity: 1; transform: translateX(7%); } 96%,100% { opacity: 0; transform: translateX(7%); } }
@keyframes bride-approach { 0% { opacity: 0; transform: translateX(22%); } 12% { opacity: 1; } 42%,85% { opacity: 1; transform: translateX(-7%); } 96%,100% { opacity: 0; transform: translateX(-7%); } }
@media (prefers-reduced-motion: reduce) {
 .couple-actor { animation: none !important; opacity: 1; }
 .groom { transform: translateX(7%); } .bride { transform: translateX(-7%); }
}
