/* Shared minimal footer with an opaque, untextured paper background. */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > .site-header, body > .site-footer, body > .preview-note { flex-shrink: 0; }
body > main { flex: 1 0 auto; width: 100%; }
footer.site-footer { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 22px 5% 16px; position: relative; border-top: 0; background-color: #F6F4ED; background-image:
    linear-gradient(to left, #F6F4ED47 0%, #F6F4ED1a 15%, #F6F4ED00 32%),
    linear-gradient(64deg, transparent 5%, #F6F4ED47 16%, transparent 27%, #DEECEE33 39%, transparent 51%, #F6F4ED3d 63%, transparent 78%, #DEECEE2e 91%, transparent 100%),
    linear-gradient(107deg, #DEECEE2b 0%, transparent 19%, #F6F4ED33 32%, transparent 48%, #DEECEE29 62%, transparent 77%, #F6F4ED2e 89%, transparent 100%),
    linear-gradient(22deg, transparent 9%, #F6F4ED24 24%, transparent 41%, #DEECEE26 57%, transparent 74%, #F6F4ED20 88%, transparent 100%),
    linear-gradient(to bottom, #F6F4ED 0%, #E6F0F2 100%); text-align: center; font-family: var(--reading); color: #292C2C; }
.site-footer .footer-invitation { margin: 0 0 15px; font-size: var(--body-size); line-height: 1.6; }
.site-footer .footer-invitation a { color: var(--heading-sub); }
.site-footer a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.site-footer a:hover { color: var(--accent); }
.site-footer a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.site-footer .footer-legal { width: min(440px, 100%); display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .5em; margin: 0; padding-top: 12px; position: relative; font-size: 16px; line-height: 1.8; color: #51514C; }
.site-footer .footer-legal::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(360px, 100%); border-top: 1px solid rgba(41, 44, 44, .10); }
.site-footer .footer-legal > span:last-child { white-space: nowrap; }
body[data-page="privacy"] .page-heading h1 { font-family: var(--serif); }
@media (max-width: 820px) { .site-footer .footer-legal { font-size: 15px; } }
@media print { footer.site-footer { display: none; } }

/* Mirror the header's torn-paper edge above the footer without changing layout. */
footer.site-footer::before { content: ''; position: absolute; inset-inline: 0; bottom: calc(100% - 1px); height: 19px; background: url('/footer-paper-edge.svg?v=e01c809b939f093c') center top / 100% 100% no-repeat; transform: scaleY(-1); pointer-events: none; }
@media (max-width: 820px) { footer.site-footer::before { height: 14px; } }
