/* Original engraved artwork; live text stays stationary and above decoration. */
body,body.entered{background:var(--ivory);isolation:isolate}
.background-world{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;background:var(--ivory);--far-offset:0px;--near-offset:0px}
.background-engraving{position:absolute;inset:-100px -24px;background:url('assets/engraved-background-v1.png') center 56%/cover no-repeat;opacity:.38;transform:translateY(var(--far-offset))}
.background-flora{position:absolute;left:0;right:0;bottom:-42px;height:min(75vh,700px);opacity:.22;transform:translateY(var(--near-offset));mask-image:linear-gradient(0deg,transparent,#000 18%,#000 64%,transparent),linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);mask-composite:intersect}
.background-reading-veil{position:absolute;inset:0;background:linear-gradient(90deg,#f8f1df55,#f8f1dfe8 22%,#f8f1dff5 50%,#f8f1dfe8 78%,#f8f1df55)}
.entrance{background:transparent}
.entrance-landscape{display:none}
.invitation-paper{isolation:isolate;background:transparent;box-shadow:none;width:min(100%,980px)}
.invitation-paper:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,transparent,#f8f1df80 18%,#f8f1dfb0 50%,#f8f1df80 82%,transparent);pointer-events:none}
.section-navigation{background:transparent;border:0;padding-top:24px;padding-bottom:24px}
.wedding-section{position:relative;isolation:isolate}
.formal-invitation,.programme-section,.venue-section,.gifts-section,.album-section,.invitation-finale{background:transparent}
.album-caption{background:transparent;padding:10px 0;margin:16px 0}
.formal-invitation:before,.programme-section:before,.venue-section:before,.gifts-section:before,.invitation-finale:before,.countdown-section:before{content:none}
.invitation-finale{border-top:0;padding-top:80px}
.countdown-section{background:transparent;color:var(--forest);border:0;outline:0;margin:24px;padding-top:70px;padding-bottom:70px}
.countdown-section .section-heading{color:var(--forest)}
.countdown-section .section-kicker,.countdown-section .countdown [data-i18n]{color:var(--brown)}
.countdown-section .countdown [data-count]{color:var(--forest)}
.countdown-date{color:var(--brown)}
.motion-control{justify-content:center;width:44px;min-width:44px;padding:6px}
.motion-control svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.motion-control[aria-pressed=true]{color:var(--ivory);background:var(--forest)}
.motion-control[aria-pressed=true] .motion-slash{display:none}
.motion-control:disabled{cursor:default;opacity:.65}
@media(max-width:600px){
  .background-engraving{inset:-70px -10px;background-size:auto 125%;opacity:.3}
  .background-flora{bottom:-20px;height:320px;opacity:.16}
  .background-reading-veil{background:linear-gradient(90deg,#f8f1df88,#f8f1dfe8 13%,#f8f1dff2 50%,#f8f1dfe8 87%,#f8f1df88)}
  .countdown-section{margin:12px 16px;padding-top:48px;padding-bottom:48px}
  .invitation-finale{padding-top:54px}
  .toolbar{gap:4px;max-width:calc(100% - 20px);right:10px}
  .toolbar .quiet-button:not(.motion-control){padding:6px 9px;font-size:11px}
  .toolbar .motion-control{width:44px;min-width:44px;min-height:44px}
  .language-control button{padding:4px 8px;min-width:34px}
}
@media(prefers-reduced-motion:reduce){.background-engraving,.background-flora{transform:none!important}}
body.reduce-motion .background-engraving,body.reduce-motion .background-flora{transform:none!important}
