/* ==========================================================================
   Bujori - a lush, romantic wedding painted in watercolour: peonies in full bloom, eucalyptus and wax flowers. The
   photo sits inside a wreath of eucalyptus with a bouquet of peonies tucked at its foot; a touch sways the bouquet and
   shakes petals loose, and peony petals drift across the whole page on canvas, blown sideways when guests scroll.
   A bud opens above every title, the portraits sit in their own small wreaths, the moments of the day are strung
   along a green stem, the days left sit in rosettes of petals, and a great bouquet sheds petals at the end.
   Palette: --inv-primary (the peony), --inv-accent (the blush), --inv-bg, --inv-text.
   The flowers (assets/flowers, Pixabay, see LICENSES.md) are transparent; on the dark palette (.bj-dark, set by
   script.js) they sit on a soft glow. script.js draws the petals and sways the bouquet
   ========================================================================== */

.bujori {
    --bj-script: 'Meddon', 'Segoe Script', cursive;
    --bj-soft: color-mix(in srgb, var(--inv-text) 62%, var(--inv-bg));
    --bj-line: color-mix(in srgb, var(--inv-primary) 18%, transparent);
    --bj-blush: color-mix(in srgb, var(--inv-accent) 34%, var(--inv-bg));
    --bj-leaf: #6f8f78;
    --bj-shadow: 0 1px 2px color-mix(in srgb, var(--inv-text) 6%, transparent), 0 26px 50px -32px color-mix(in srgb, var(--inv-text) 46%, transparent);
    --kit-radius: 14px;
    --kit-field-bg: var(--inv-surface);
    --kit-field-border: var(--bj-line);
    font-family: var(--inv-font-body);
    font-size: 1.02rem;
    line-height: 1.75;
    background:
        radial-gradient(60% 40% at 12% 8%, color-mix(in srgb, var(--inv-accent) 22%, transparent), transparent 70%),
        radial-gradient(50% 36% at 92% 46%, color-mix(in srgb, var(--inv-accent) 16%, transparent), transparent 70%),
        radial-gradient(60% 40% at 10% 88%, color-mix(in srgb, var(--bj-leaf) 10%, transparent), transparent 70%),
        var(--inv-bg);
    overflow-x: clip;
}
.bujori h1, .bujori h2, .bujori h3 { font-family: var(--inv-font-heading); font-weight: 300; line-height: 1.15; }
:where(.bujori) :is(h1, h2, h3) { margin: 0; }
:where(.bujori) p { margin: 0 0 .9em; }
.bujori a { color: var(--inv-primary); }
.bj-kicker { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--inv-primary); margin: 0 0 10px; }
.bj-role { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bj-soft); margin: 0 0 4px; }
.bj-names-line { display: block; font-family: var(--inv-font-heading); font-size: 1.36rem; line-height: 1.3; margin: 0; }
.bj-hero, .bj-main, .bj-footer { position: relative; z-index: 1; }
.bj-card { position: relative; background: color-mix(in srgb, var(--inv-surface) 92%, transparent); border-radius: 16px; box-shadow: var(--bj-shadow), 0 0 0 1px var(--bj-line); }

/* petals on canvas, over the background and behind the content */
.bj-petals { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* ---------- The flowers ---------- */
.bj-art { position: relative; display: block; }
.bj-art img { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 14px color-mix(in srgb, var(--inv-text) 12%, transparent)); }
.bj-dark .bj-art img { position: relative; filter: drop-shadow(0 0 18px color-mix(in srgb, #ffe3ea 22%, transparent)); }
/* on the dark palette the watercolours sit on a soft patch of paper light, so their pale washes read as painted */
.bj-dark .bj-art::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, #fff6f2 62%, transparent), color-mix(in srgb, #fff6f2 22%, transparent) 70%, transparent); filter: blur(8px); pointer-events: none; }
.bj-dark .bj-wreath::before { content: none; }
.bj-dark .bj-finale::before { inset: 4% 2% 10%; background: radial-gradient(closest-side, color-mix(in srgb, #fff6f2 86%, transparent) 55%, color-mix(in srgb, #fff6f2 30%, transparent) 80%, transparent); filter: blur(14px); }

/* ---------- Navigation ---------- */
.bj-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 6; display: flex; justify-content: center; padding: 18px; }
.bj-nav .kit-nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; list-style: none; margin: 0; padding: 0; }
.bj-nav .kit-nav-links a { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--inv-text); padding: 6px 0; border-bottom: 1px solid transparent; }
.bj-nav .kit-nav-links a:hover, .bj-nav .kit-nav-links a.is-current { border-color: var(--inv-primary); color: var(--inv-primary); }
.bj-nav .kit-nav-brand { font-family: var(--bj-script); font-size: 1.5rem; line-height: 1; color: var(--inv-primary); text-decoration: none; }
.bj-nav.is-stuck { justify-content: space-between; align-items: center; padding: 8px clamp(16px, 4vw, 40px); background: color-mix(in srgb, var(--inv-bg) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--bj-line); }
.bujori .kit-to-top { background: var(--inv-surface); color: var(--inv-primary); border: 1px solid var(--bj-line); }
@media (max-width: 899px) {
    .bj-nav { justify-content: flex-end; padding: 12px; }
    .bj-nav .kit-nav-toggle { width: 46px; height: 46px; border-radius: 50%; background: var(--inv-surface); color: var(--inv-primary); border: 1px solid var(--bj-line); font-size: 1.2rem; }
    .bj-nav .kit-nav-links { display: none; }
    .bj-nav.is-open .kit-nav-links {
        display: flex; flex-direction: column; gap: 12px; position: absolute; top: 66px; left: 12px; right: 12px;
        padding: 24px; border-radius: 16px; background: var(--inv-surface); box-shadow: var(--bj-shadow);
    }
    .bj-nav.is-stuck { padding: 6px 12px; }
}

/* ---------- Hero: the wreath, the photo and the bouquet ---------- */
.bj-hero { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 92px 16px 60px; overflow-x: hidden; overflow-x: clip; }
.bj-hero-inner { width: min(1080px, 100%); display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 26px; text-align: center; }
.bj-scene { position: relative; width: min(440px, 88vw); }
/* the wreath is round, so clipping its turned square hides nothing and keeps phone pages from widening */
.bj-wreath-wrap { position: relative; aspect-ratio: 1; overflow: clip; overflow-clip-margin: 2px; }
/* the photo fills the clearing inside the wreath; the wreath itself turns a touch as guests scroll (--spin, script.js) */
.bj-round { position: absolute; left: 50%; top: 51.5%; width: 52%; aspect-ratio: 1; margin: 0; translate: -50% -50%; border-radius: 50%; overflow: hidden; background: var(--bj-blush); box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--inv-surface) 70%, transparent), 0 10px 30px -14px color-mix(in srgb, var(--inv-text) 50%, transparent); }
.bj-round img, .bj-initial { display: block; width: 100%; height: 100%; object-fit: cover; }
.bj-initial { display: grid; place-items: center; font-family: var(--bj-script); font-size: 3.4rem; color: var(--inv-primary); }
.bj-wreath { position: absolute; inset: 0; pointer-events: none; rotate: calc(var(--turn, 0deg) + var(--spin, 0) * 1deg); }
.bj-posy { position: absolute; left: -20%; bottom: -17%; width: 56%; transform-origin: 50% 96%; cursor: pointer; touch-action: manipulation; animation: bj-sway 7s ease-in-out infinite; }
.bj-posy.is-shaken { animation: bj-shake 1.4s cubic-bezier(.3, 1.5, .5, 1); }
.bj-hero-bud { position: absolute; right: -2%; top: 2%; width: 22%; transform-origin: 80% 80%; animation: bj-sway 6s ease-in-out -2s infinite; }
@keyframes bj-sway { 0%, 100% { rotate: -2deg; } 50% { rotate: 2.5deg; } }
@keyframes bj-shake { 0% { rotate: 0deg; } 18% { rotate: -9deg; } 40% { rotate: 6deg; } 62% { rotate: -3deg; } 82% { rotate: 1.5deg; } 100% { rotate: 0deg; } }
.bj-hero-bud img { rotate: 24deg; }
.kit-js .bj-wreath-wrap img, .kit-js .bj-round { animation: bj-in 1.6s cubic-bezier(.25, 1, .4, 1) .1s both; }
.kit-js .bj-posy img { animation: bj-bloom 1.5s cubic-bezier(.3, 1.4, .5, 1) .7s both; transform-origin: 50% 96%; }
.kit-js .bj-hero-bud img { animation: bj-bloom-bud 1.3s cubic-bezier(.3, 1.4, .5, 1) 1.1s both; }
@keyframes bj-in { from { opacity: 0; scale: .9; } to { opacity: 1; scale: 1; } }
@keyframes bj-bloom { 0% { opacity: 0; scale: .5; rotate: -14deg; } 100% { opacity: 1; scale: 1; rotate: 0deg; } }
@keyframes bj-bloom-bud { 0% { opacity: 0; scale: .3; rotate: -30deg; } 100% { opacity: 1; scale: 1; rotate: 24deg; } }
.bj-hero-text { display: grid; justify-items: center; width: 100%; min-width: 0; }
.bujori .bj-names { font-family: var(--bj-script); font-weight: 400; font-size: clamp(2.9rem, 11vw, 5.2rem); line-height: 1.2; color: var(--inv-primary); overflow-wrap: anywhere; margin: 0 0 10px; }
.bj-names span { display: block; }
.bj-names .bj-and { font-family: var(--inv-font-heading); font-style: italic; font-weight: 300; font-size: .44em; line-height: 1.3; color: var(--bj-soft); }
.bj-hero-date { font-family: var(--inv-font-heading); font-size: 1.4rem; margin: 6px 0 2px; }
.bj-hero-place { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--bj-soft); margin: 0; }
.bujori .bj-subtitle { max-width: 44ch; margin: 18px auto 0; color: var(--bj-soft); }
@keyframes bj-up { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
.kit-js .bj-hero-text > * { animation: bj-up 1.1s ease .8s both; }
.kit-js .bj-hero-text > :nth-child(n+3) { animation-delay: 1.1s; }
@media (min-width: 900px) {
    .bj-hero { padding-top: 110px; }
    .bj-hero-inner { grid-template-columns: auto minmax(0, 1fr); gap: 80px; text-align: left; align-items: center; }
    .bj-hero-text { justify-items: start; }
    .bujori .bj-subtitle { margin-left: 0; }
    .bj-scene { width: min(470px, 42vw); }
}

/* ---------- Titles: a bud opens above every title ---------- */
.bj-title { margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }
.bj-title-bud { width: 74px; margin: 0 auto 6px; }
.bj-title-bud img { rotate: -14deg; }
.bj-title-bud.is-flipped img { scale: -1 1; rotate: 14deg; }
.kit-js .bj-title .bj-title-bud img { opacity: 0; scale: .35; rotate: -60deg; transition: opacity .6s ease, scale 1.1s cubic-bezier(.3, 1.5, .5, 1), rotate 1.1s cubic-bezier(.3, 1.4, .5, 1); }
.kit-js .bj-title .bj-title-bud.is-flipped img { scale: -.35 .35; rotate: 60deg; }
.kit-js .bj-title.is-visible .bj-title-bud img { opacity: 1; scale: 1; rotate: -14deg; }
.kit-js .bj-title.is-visible .bj-title-bud.is-flipped img { scale: -1 1; rotate: 14deg; }
.bj-title h2 { font-size: clamp(2rem, 5.6vw, 2.8rem); color: var(--inv-primary); text-wrap: balance; }

/* ---------- Sections ---------- */
.bj-main { width: min(1080px, 100%); margin: 0 auto; padding: 0 16px; overflow-x: clip; }
.bj-section { padding-top: clamp(84px, 11vw, 132px); }
.bj-welcome { text-align: center; max-width: 680px; margin: 0 auto; }
.bj-corsage { position: relative; display: block; width: 170px; height: 104px; margin: 0 auto 10px; }
.bj-corsage .bj-art { position: absolute; top: 0; width: 82px; }
.bj-corsage-a { left: 0; }
.bj-corsage-a img { rotate: 38deg; }
.bj-corsage-b { right: 0; }
.bj-corsage-b img { scale: -1 1; rotate: -38deg; }
.kit-js .bj-welcome .bj-corsage .bj-art { opacity: 0; translate: 0 18px; transition: opacity .8s ease, translate 1s cubic-bezier(.3, 1.4, .5, 1); }
.kit-js .bj-welcome.is-visible .bj-corsage .bj-art { opacity: 1; translate: 0 0; }
.kit-js .bj-welcome.is-visible .bj-corsage-b { transition-delay: .18s; }
.bujori .bj-welcome-title { font-family: var(--bj-script); font-weight: 400; font-size: clamp(2.4rem, 8vw, 3.6rem); line-height: 1.3; color: var(--inv-primary); margin-bottom: 14px; }
.bj-welcome p { font-size: 1.06rem; }
.bj-quote-author { font-family: var(--inv-font-heading); font-style: italic; font-size: 1.1rem; color: var(--inv-primary); }
.bj-lead { text-align: center; font-family: var(--inv-font-heading); font-style: italic; font-size: 1.28rem; line-height: 1.5; color: var(--bj-soft); max-width: 34ch; margin: 0 auto 30px; }

/* Couple: each portrait in its own small wreath */
.bj-couple-grid { display: grid; gap: 64px; grid-template-columns: minmax(0, 1fr); max-width: 940px; margin: 0 auto; }
.bj-person { text-align: center; }
.bj-wreath-wrap--small { width: min(290px, 74vw); margin: 0 auto 14px; }
.bj-person h3 { font-size: 1.7rem; color: var(--inv-primary); margin-bottom: 10px; }
.bj-person p { max-width: 38ch; margin-left: auto; margin-right: auto; }
.kit-js .bj-person .bj-wreath { opacity: 0; scale: .9; transition: opacity 1s ease, scale 1.2s cubic-bezier(.25, 1, .4, 1); }
.kit-js .bj-person.is-visible .bj-wreath { opacity: 1; scale: 1; }
@media (min-width: 760px) { .bj-couple-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; } }

/* Family: names on soft cards */
.bj-family-list { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); max-width: 820px; }
.bj-family-list li { padding: 24px 20px; text-align: center; }

/* Story: photos under painted arches */
.bj-chapters { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: clamp(56px, 8vw, 90px); max-width: 960px; }
.bj-chapter { display: grid; gap: 28px; justify-items: center; text-align: center; }
.bj-arch { position: relative; width: min(400px, 86vw); margin: 0; padding: 10px; border-radius: 999px 999px 18px 18px; background: var(--inv-surface); box-shadow: var(--bj-shadow), 0 0 0 1px var(--bj-line); }
.bj-arch img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 12px 12px; }
.bj-arch-bud { position: absolute; right: -12px; bottom: -22px; width: 88px; }
.bj-arch-bud img { scale: -1 1; rotate: 30deg; }
.bj-chapter-text h3 { font-size: 1.7rem; color: var(--inv-primary); margin-bottom: 10px; }
.bj-chapter-text { max-width: 44ch; }
@media (min-width: 900px) {
    .bj-chapter { grid-template-columns: auto minmax(0, 1fr); gap: 64px; text-align: left; justify-items: start; align-items: center; }
    .bj-chapter:nth-child(even) .bj-arch { order: 2; }
    .bj-arch { width: 380px; }
}

/* Programme: moments along a green stem, a bud at each one */
.bj-moments { position: relative; list-style: none; margin: 0 auto; padding: 0 0 0 64px; max-width: 700px; display: grid; gap: 30px; }
.bj-moments::before { content: ""; position: absolute; left: 30px; top: 30px; bottom: 30px; width: 4px; border-radius: 4px; background: linear-gradient(color-mix(in srgb, var(--bj-leaf) 30%, transparent), var(--bj-leaf) 12%, color-mix(in srgb, var(--bj-leaf) 85%, #3c5a44) 88%, color-mix(in srgb, var(--bj-leaf) 30%, transparent)); opacity: .7; }
.bj-moment { position: relative; }
.bj-node { position: absolute; left: -66px; top: 4px; width: 62px; }
.bj-node img { rotate: -18deg; }
.bj-node.is-flipped img { scale: -1 1; rotate: 18deg; }
.kit-js .bj-moment .bj-node img { opacity: 0; scale: .3; transition: opacity .6s ease, scale 1s cubic-bezier(.3, 1.5, .5, 1) .15s; }
.kit-js .bj-moment.is-visible .bj-node img { opacity: 1; scale: 1; }
.kit-js .bj-moment .bj-node.is-flipped img { scale: -.3 .3; }
.kit-js .bj-moment.is-visible .bj-node.is-flipped img { scale: -1 1; }
.bj-moment-card { padding: 26px clamp(20px, 4.4vw, 34px) 22px; }
.bj-moment-time { font-family: var(--bj-script); font-size: 1.7rem; line-height: 1.2; color: var(--inv-primary); margin: 0 0 4px; font-variant-numeric: tabular-nums; }
.bj-moment-card h3 { font-size: clamp(1.4rem, 4.2vw, 1.7rem); margin-bottom: 4px; }
.bj-moment-date { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bj-soft); margin: 0 0 8px; }
.bj-moment-place { font-family: var(--inv-font-heading); font-size: 1.12rem; margin: 0; }
.bj-moment-address, .bj-moment-notes { color: var(--bj-soft); margin: 0; }
.bj-moment-notes { font-style: italic; margin-top: 6px; }
.bj-moment .kit-event-actions { margin-top: 14px; }
.bujori .kit-button { border-radius: 999px; border: 1px solid var(--inv-primary); color: var(--inv-primary); background: transparent; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: 8px 18px; text-decoration: none; }
.bujori .kit-button:hover { background: var(--inv-primary); color: var(--inv-bg); }

/* Countdown: rosettes of petals */
.bj-countdown { text-align: center; }
.bj-countdown .kit-countdown { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px clamp(8px, 3vw, 30px); margin-top: 18px; }
.bj-countdown .kit-countdown-unit { position: relative; width: clamp(72px, 19vw, 112px); min-width: 0; aspect-ratio: 1; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; isolation: isolate; }
/* five soft petals around the number */
.bj-countdown .kit-countdown-unit::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%;
    background:
        radial-gradient(circle at 50% 14%, var(--bj-petal-c) 0 22%, transparent 23%),
        radial-gradient(circle at 87% 40%, var(--bj-petal-c) 0 22%, transparent 23%),
        radial-gradient(circle at 73% 84%, var(--bj-petal-c) 0 22%, transparent 23%),
        radial-gradient(circle at 27% 84%, var(--bj-petal-c) 0 22%, transparent 23%),
        radial-gradient(circle at 13% 40%, var(--bj-petal-c) 0 22%, transparent 23%),
        radial-gradient(circle, color-mix(in srgb, var(--bj-petal-c) 70%, var(--inv-surface)) 0 38%, transparent 39%);
    --bj-petal-c: color-mix(in srgb, var(--inv-accent) 55%, var(--inv-surface));
    filter: drop-shadow(0 8px 10px color-mix(in srgb, var(--inv-text) 14%, transparent)); }
.kit-js .bj-countdown .kit-countdown-unit::before { scale: .3; rotate: -72deg; opacity: 0; transition: scale 1s cubic-bezier(.3, 1.5, .5, 1), rotate 1.2s ease, opacity .5s ease; }
.kit-js .bj-countdown.is-visible .kit-countdown-unit::before { scale: 1; rotate: 0deg; opacity: 1; }
.kit-js .bj-countdown.is-visible .kit-countdown-unit:nth-child(2)::before { transition-delay: .12s; }
.kit-js .bj-countdown.is-visible .kit-countdown-unit:nth-child(3)::before { transition-delay: .24s; }
.kit-js .bj-countdown.is-visible .kit-countdown-unit:nth-child(4)::before { transition-delay: .36s; }
.bj-countdown .kit-countdown-value { font-family: var(--inv-font-heading); font-size: clamp(1.4rem, 5vw, 2.1rem); line-height: 1; color: var(--inv-primary); font-variant-numeric: tabular-nums; }
.bj-countdown .kit-countdown-label { margin-top: 2px; opacity: 1; color: var(--inv-text); font-size: .54rem; letter-spacing: .14em; }

/* Gallery: arched frames */
.bj-gallery-grid.kit-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 22px); }
.bj-gallery-grid.kit-gallery a { aspect-ratio: 4 / 5; padding: 6px; border-radius: 999px 999px 14px 14px; background: var(--inv-surface); box-shadow: var(--bj-shadow), 0 0 0 1px var(--bj-line); overflow: hidden; }
.bj-gallery-grid.kit-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 10px 10px; transition: scale .9s ease; }
.bj-gallery-grid.kit-gallery a:hover img { scale: 1.04; }
@media (min-width: 760px) { .bj-gallery-grid.kit-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* RSVP, info, contact */
.bj-reply { max-width: 700px; margin: 0 auto; padding: clamp(36px, 6vw, 56px) clamp(22px, 6vw, 56px) clamp(30px, 5vw, 46px); }
.bujori .inv-rsvp__intro { font-family: var(--inv-font-heading); font-style: italic; font-size: 1.16rem; line-height: 1.5; }
.bujori .inv-rsvp__deadline { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--inv-primary); }
.bj-info-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.bj-info-item { padding: 28px 24px 18px; text-align: center; }
.bj-info-item h3 { font-size: 1.4rem; color: var(--inv-primary); margin-bottom: 8px; }
.bj-faq { max-width: 720px; margin: 46px auto 0; text-align: center; display: grid; gap: 12px; }
.bj-faq details { text-align: left; }
.bj-faq summary { cursor: pointer; list-style: none; padding: 17px 54px 17px 22px; position: relative; font-family: var(--inv-font-heading); font-size: 1.16rem; }
.bj-faq summary::-webkit-details-marker { display: none; }
.bj-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; font-family: var(--inv-font-heading); font-size: 1.6rem; line-height: 1; color: var(--inv-primary); transition: rotate .4s ease; }
.bj-faq details[open] summary::after { rotate: 45deg; }
.bj-faq summary:focus-visible { outline: 2px solid var(--inv-primary); outline-offset: 2px; border-radius: 16px; }
.bj-faq details p { padding: 0 22px; color: var(--bj-soft); }
.bj-faq details p:last-child { padding-bottom: 16px; }
.bj-contact { text-align: center; }
.bj-contact-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 64px; }
.bj-contact-person a { text-decoration: none; }

/* ---------- Footer: a great bouquet shedding petals ---------- */
.bj-footer { text-align: center; padding: clamp(90px, 13vw, 140px) 16px 70px; overflow: hidden; overflow: clip; }
.bj-finale { width: min(320px, 76vw); margin: 0 auto 18px; transform-origin: 50% 96%; animation: bj-sway 8s ease-in-out infinite; }
.kit-js .bj-footer .bj-finale img { opacity: 0; scale: .6; transform-origin: 50% 96%; transition: opacity 1s ease, scale 1.4s cubic-bezier(.3, 1.3, .5, 1); }
.kit-js .bj-footer.is-visible .bj-finale img { opacity: 1; scale: 1; }
.bj-footer-message { font-family: var(--inv-font-heading); font-style: italic; font-size: 1.28rem; line-height: 1.5; color: var(--bj-soft); max-width: 32ch; margin: 0 auto 8px; }
.bujori .bj-footer-names { font-family: var(--bj-script); font-size: clamp(2.4rem, 9vw, 3.8rem); line-height: 1.3; color: var(--inv-primary); margin: 6px 0 10px; overflow-wrap: anywhere; }
.bj-hashtag { letter-spacing: .1em; color: var(--inv-primary); }

@media (prefers-reduced-motion: reduce) {
    .bj-posy, .bj-hero-bud, .bj-finale, .kit-js .bj-wreath-wrap img, .kit-js .bj-round, .kit-js .bj-posy img, .kit-js .bj-hero-bud img, .kit-js .bj-hero-text > * { animation: none; }
    .kit-js .bj-title .bj-title-bud img, .kit-js .bj-moment .bj-node img, .kit-js .bj-welcome .bj-corsage .bj-art, .kit-js .bj-person .bj-wreath, .kit-js .bj-footer .bj-finale img { opacity: 1; translate: 0 0; transition: none; }
    .kit-js .bj-title .bj-title-bud img { scale: 1; rotate: -14deg; }
    .kit-js .bj-title .bj-title-bud.is-flipped img { scale: -1 1; rotate: 14deg; }
    .kit-js .bj-moment .bj-node img { scale: 1; }
    .kit-js .bj-moment .bj-node.is-flipped img { scale: -1 1; }
    .kit-js .bj-person .bj-wreath, .kit-js .bj-footer .bj-finale img { scale: 1; }
    .kit-js .bj-countdown .kit-countdown-unit::before { scale: 1; rotate: 0deg; opacity: 1; transition: none; }
}
