/* Gentle foreground motion; all moving layers use transform and opacity. */
.eyebrow.arabic{font-family:Amiri,serif;font-size:21px;font-weight:400;letter-spacing:0;line-height:1.8}
.cover-copy>.cover-bismillah{font-size:24px;letter-spacing:0;margin-top:22px}
.blessing .greeting-arabic{font-size:24px;line-height:1.9;margin:0 auto 20px}
.arch-image{position:relative}
.scene-life{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1;contain:paint}
.scene-branch{position:absolute;bottom:-8%;width:32%;height:39%;overflow:visible;stroke:none;opacity:.52;transform-box:fill-box;transform-origin:50% 100%;animation:branch-breeze 9s cubic-bezier(.45,0,.55,1) infinite alternate;animation-play-state:paused}
.olive-stem{fill:none;stroke:#727458;stroke-width:1.5}
.olive-leaves{fill:#7c8768;stroke:#b7ba97;stroke-width:.5}
.branch-left{left:-9%;--branch-angle:-14deg;--branch-end:-6deg}
.branch-right{right:-10%;--branch-angle:17deg;--branch-end:8deg;animation-duration:11s;animation-delay:-4s;scale:-1 1;transform-origin:50% 100%}
.person-image .scene-branch{width:28%;height:32%;bottom:2%;opacity:.4}
.person-image>span{z-index:2}
.bird-flight{position:absolute;top:var(--bird-top,14%);left:-30%;width:160%;height:50px;opacity:0;animation:pigeon-flight var(--flight-time,28s) linear var(--flight-delay,0s) infinite;animation-play-state:paused;will-change:transform}
.pigeon{display:block;width:var(--bird-size,34px);height:auto;overflow:visible;fill:#77796f;stroke:none}
.pigeon-wing{transform-box:fill-box;transform-origin:80% 90%;animation:wing-stroke 1.25s cubic-bezier(.45,0,.55,1) infinite;animation-play-state:paused}
.wing-far{opacity:.58;animation-delay:-.35s;transform-origin:90% 85%}
.pigeon-body{fill:#77796f}
.bird-1{--bird-top:14%;--bird-size:35px;--flight-time:29s;--flight-delay:-9s;--flight-rise:-24px}
.bird-2{--bird-top:23%;--bird-size:24px;--flight-time:35s;--flight-delay:-21s;--flight-rise:18px}
.bird-3{--bird-top:10%;--bird-size:20px;--flight-time:33s;--flight-delay:-16s;--flight-rise:-12px}
.bird-4{--bird-top:30%;--bird-size:29px;--flight-time:38s;--flight-delay:-3s;--flight-rise:-36px}
.motion-active .scene-life .scene-branch,.motion-active .scene-life .bird-flight,.motion-active .scene-life .pigeon-wing{animation-play-state:running}
.sealed #invitation .scene-life *,.cover.is-open .scene-life *,.page-hidden .scene-life *{animation-play-state:paused!important}
.etiquette-intro{text-align:center;max-width:580px;margin:-12px auto 32px;font-size:11px;color:var(--muted)}
.etiquette-grid{grid-template-columns:repeat(3,1fr);gap:26px 0;max-width:1000px}
.etiquette-grid>div{padding:12px 22px;border-right:1px solid var(--line)}
.etiquette-grid>div:nth-child(3n){border-right:0}
.etiquette-grid p{font-size:11px;line-height:1.9}
.venue-location{max-width:940px;margin:28px auto 0;display:flex;justify-content:center;align-items:center;gap:12px}
.venue-location svg{color:var(--gold);width:21px;height:21px}
.venue-location address{font-size:12px;line-height:1.8;font-style:normal}
.closing .closing-thanks{font-family:Amiri,serif;font-size:26px;margin:0 auto 8px;color:var(--paper)}
.closing p.closing-salam{font-size:11px;margin:0 auto 36px;color:#d5d3be}
.closing p.copyright{margin:20px auto 0;font-size:10px;letter-spacing:1px;color:#d4d8c9}
.copyright a{display:inline-block;padding:8px 12px;min-height:38px;transition:color .2s}
.copyright a:hover{color:#fff}
@keyframes branch-breeze{from{transform:rotate(var(--branch-angle,-10deg)) translate3d(0,2px,0)}to{transform:rotate(var(--branch-end,-3deg)) translate3d(2px,-2px,0)}}
@keyframes pigeon-flight{0%{transform:translate3d(-8%,14px,0);opacity:0}12%{opacity:.56}47%{transform:translate3d(50%,var(--flight-rise,-20px),0);opacity:.56}86%{opacity:.56}100%{transform:translate3d(106%,-7px,0);opacity:0}}
@keyframes wing-stroke{0%,100%{transform:scaleY(1) rotate(-4deg)}50%{transform:scaleY(.24) rotate(8deg)}}
@media(max-width:700px){
  .eyebrow.arabic{font-size:19px;letter-spacing:0}
  .cover-copy>.cover-bismillah{font-size:20px;letter-spacing:0;margin-top:0}
  .cover-intro{margin:4px 0 10px}
  .blessing .greeting-arabic{font-size:23px}
  .etiquette-grid{grid-template-columns:repeat(2,1fr);gap:18px 0}
  .etiquette-grid>div,.etiquette-grid>div:nth-child(3n){border-right:1px solid var(--line);padding:10px 9px}
  .etiquette-grid>div:nth-child(2n){border-right:0}
  .etiquette-grid p{font-size:10px;line-height:1.9}
  .etiquette-intro{font-size:10px;max-width:300px;line-height:1.9;margin-top:-8px}
  .venue-location address{font-size:11px}
  .bird-flight{height:35px}
  .pigeon{width:calc(var(--bird-size,34px)*.72)}
  .scene-branch{opacity:.4}
  .closing .closing-thanks{font-size:25px}
  .closing p.closing-salam{font-size:10px;margin-bottom:28px}
  .closing p.copyright{font-size:9px;margin-top:14px}
}
@media(prefers-reduced-motion:reduce){
  .scene-life .bird-flight{display:none}
  .scene-life .scene-branch{animation:none!important;transform:rotate(var(--branch-angle,-10deg));opacity:.3}
}
