/* Restrained botanical accents; the ceremony remains gold-only. */
.invitation { padding-top: calc(var(--space-2xl) + 48px); }
.toran { position: absolute; inset: 0 0 auto; height: 112px; overflow: hidden; pointer-events: none; }
/* One continuous generated garland (js/toran.js); the whole drape sways a hair around its top edge */
.toran__svg { display: block; transform-origin: 50% 0; animation: toranSway 7s ease-in-out infinite alternate; }
@keyframes toranSway { from { transform: skewX(-0.7deg); } to { transform: skewX(0.7deg); } }
.decor-floral { pointer-events: none; }
.invite-sprig { position: absolute; width: 64px; height: 38px; z-index: 2; }
.invite-sprig--tl { top: -12px; left: -8px; }
.invite-sprig--br { bottom: -12px; right: -8px; transform: rotate(180deg); }
/* Anchored to the map frame's bottom-right corner: it overlaps only the frame's own border band (never the map area or its controls) */
.map-sprig { position: absolute; z-index: 2; width: 100px; height: 58px; right: -14px; bottom: -52px; transform: rotate(180deg); }
.footer-spray { width: 220px; margin: 0 auto 18px; }
.footer-spray svg { display: block; width: 100%; height: auto; aspect-ratio: 440 / 130; }
.site-footer__monogram { font-family: var(--font-script); color: var(--color-gold-light); font-size: 2.2rem; margin-bottom: 12px; }
/* The heart is scaled to about the x-height of the script letters and centred on it */
.site-footer__heart { font-family: var(--font-body); font-size: 0.4em; color: var(--color-gold-light); margin-inline: 0.5em; vertical-align: middle; }
.petals { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 40; pointer-events: none; }
.petals-toggle { position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 80; width: 44px; height: 44px; border: 1px solid var(--color-gold-deep); border-radius: 50%; padding: 10px; color: var(--color-gold-deep); background: var(--color-ivory); box-shadow: var(--shadow-soft); }
.petals-toggle svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; }
/* Slides away (transform + opacity) while scrolling DOWN; petals.js removes .is-away on scroll up, idle, page bottom or focus */
.petals-toggle { transition: transform var(--dur-base) var(--ease-elegant), opacity var(--dur-base) var(--ease-elegant); }
.petals-toggle.is-away { transform: translateY(calc(100% + 28px)); opacity: 0; pointer-events: none; }
.petals-toggle.is-away:focus, .petals-toggle.is-away:focus-visible { transform: none; opacity: 1; pointer-events: auto; }
body:has(dialog[open]) .petals-toggle { visibility: hidden; }
body:has(dialog[open]) .petals { visibility: hidden; }
/* Button overlays animate only transforms; text stays above the fill. */
.btn-primary, .btn-outline { position: relative; isolation: isolate; overflow: hidden; transition: transform var(--dur-base) var(--ease-elegant); }
.btn-primary::after { content: ''; position: absolute; z-index: -1; inset: -20%; background: linear-gradient(110deg, transparent 30%, rgba(232,213,163,.08) 50%, transparent 70%); transform: translateX(-130%); transition: transform var(--dur-slow) var(--ease-elegant); pointer-events: none; }
.btn-primary:hover::after, .btn-primary:focus-visible::after { transform: translateX(130%); }
.btn-outline::before { content: ''; position: absolute; z-index: -1; inset: 0; background: var(--color-blush); transform: translateY(102%); transition: transform var(--dur-base) var(--ease-elegant); pointer-events: none; }
.btn-outline:hover::before, .btn-outline:focus-visible::before { transform: translateY(0); }
.btn-outline:hover { background: transparent; }
.js .section-header .divider { transform: scaleX(0); transform-origin: center; transition: transform var(--dur-slow) var(--ease-elegant) 200ms; }
.js .section-header.is-revealed .divider { transform: scaleX(1); }
@media (max-width: 767.98px) { .toran { height: 100px; } .invite-sprig { width: 52px; height: 32px; } .map-sprig { width: 72px; height: 42px; right: -10px; bottom: -38px; } .footer-spray { width: 160px; } }
@media (prefers-reduced-motion: reduce) { .toran__svg { animation: none; } .petals-toggle { transition: none; } .petals-toggle.is-away { transform: none; } .petals, .petals-toggle { display: none; } .js .section-header .divider { transform: none; transition: none; } .btn-primary::after, .btn-outline::before { transition: none; } .btn-primary::after { display: none; } }
.petals-toggle:focus-visible { outline-color: var(--color-gold-deep); }
