/* ==========================================================================
   Bebe - a baby shower painted in watercolour: a soft sky with clouds drifting by and little stars twinkling, the photo
   resting on a cloud, and the baby asleep on a crescent moon beside it, rocking like a cradle (a touch rocks it harder).
   The baby follows the palette: a girl on the pink one, a boy on the blue one, a hatching chick on the neutral one for
   a surprise. A row of stars and a heart lights up above every title, the plush bunny says hello, the parents-to-be
   rest on a cloud beside the mother elephant hugging her baby, the theme is stitched on a little quilt, every moment
   has a plush toy, the days left sit on clouds, and at the end the baby sleeps under the stars.
   Palette: --inv-primary (the ink), --inv-accent (the soft colour), --inv-bg, --inv-text.
   The watercolours (assets/art, Pixabay, see LICENSES.md) come with their own transparency; on the dark palette
   (.be-dark, set by script.js) they get a soft halo of light
   ========================================================================== */

.bebe {
    --be-script: 'Dancing Script', 'Segoe Script', cursive;
    --be-soft: color-mix(in srgb, var(--inv-text) 64%, var(--inv-bg));
    --be-line: color-mix(in srgb, var(--inv-primary) 18%, transparent);
    --be-cloud: color-mix(in srgb, #ffffff 86%, var(--inv-accent));
    --be-sky: color-mix(in srgb, var(--inv-accent) 40%, var(--inv-bg));
    --be-star: color-mix(in srgb, #f6d77c 80%, var(--inv-accent));
    --be-shadow: 0 1px 2px color-mix(in srgb, var(--inv-text) 8%, transparent), 0 24px 48px -30px color-mix(in srgb, var(--inv-text) 50%, transparent);
    --kit-radius: 20px;
    --kit-field-bg: var(--inv-surface);
    --kit-field-border: var(--be-line);
    font-family: var(--inv-font-body);
    font-weight: 400;
    font-size: 1.04rem;
    line-height: 1.7;
    background: var(--inv-bg);
    overflow-x: clip;
}
.bebe h1, .bebe h2, .bebe h3 { font-family: var(--inv-font-heading); font-weight: 600; line-height: 1.15; }
:where(.bebe) :is(h1, h2, h3) { margin: 0; }
:where(.bebe) p { margin: 0 0 .9em; }
.bebe strong { font-weight: 600; }
.bebe a { color: var(--inv-primary); }
.be-kicker { font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--inv-primary); margin: 0 0 10px; }
.be-role { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--be-soft); margin: 0 0 4px; }
.be-names { font-family: var(--inv-font-heading); font-size: 1.24rem; font-weight: 600; margin: 0; }
.be-hero, .be-main, .be-footer { position: relative; }
.be-card { position: relative; background: var(--inv-surface); border-radius: 28px; box-shadow: var(--be-shadow), 0 0 0 1px var(--be-line); }

/* ---------- The watercolours ---------- */
.be-art { position: relative; display: block; }
.be-art img { display: block; width: 100%; height: auto; transition: opacity .3s ease; }
.be-dark .be-art img { filter: drop-shadow(0 0 22px color-mix(in srgb, var(--inv-accent) 35%, transparent)); }

/* ---------- Navigation ---------- */
.be-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 6; display: flex; justify-content: center; padding: 18px; }
.be-nav .kit-nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.be-nav .kit-nav-links a { font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--inv-text); padding: 6px 0; border-bottom: 1px solid transparent; }
.be-nav .kit-nav-links a:hover, .be-nav .kit-nav-links a.is-current { border-color: var(--inv-primary); color: var(--inv-primary); }
.be-nav .kit-nav-brand { font-family: var(--be-script); font-size: 1.8rem; font-weight: 600; line-height: 1; color: var(--inv-primary); text-decoration: none; }
.be-nav.is-stuck { justify-content: space-between; align-items: center; padding: 6px 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(--be-line); }
.bebe .kit-to-top { background: var(--inv-surface); color: var(--inv-primary); border: 1px solid var(--be-line); }
@media (max-width: 899px) {
    .be-nav { justify-content: flex-end; padding: 12px; }
    .be-nav .kit-nav-toggle { width: 46px; height: 46px; border-radius: 50%; background: var(--inv-surface); color: var(--inv-primary); border: 1px solid var(--be-line); font-size: 1.2rem; }
    .be-nav .kit-nav-links { display: none; }
    .be-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: 20px; background: var(--inv-surface); box-shadow: var(--be-shadow);
    }
    .be-nav.is-stuck { padding: 6px 12px; }
}

/* ---------- Hero: the soft sky ---------- */
.be-hero { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 120px 16px 56px; overflow: hidden; overflow: clip;
    background: linear-gradient(180deg, var(--be-sky), var(--inv-bg) 85%); }
.be-sky { position: absolute; inset: 0; pointer-events: none; }
.be-cloudlet { position: absolute; top: 18%; left: 0; width: 180px; height: 56px; border-radius: 40px; background: var(--be-cloud); opacity: .85; animation: be-drift 46s linear infinite;
    filter: drop-shadow(0 8px 10px color-mix(in srgb, var(--inv-primary) 10%, transparent)); }
.be-cloudlet::before, .be-cloudlet::after { content: ""; position: absolute; border-radius: 50%; background: inherit; }
.be-cloudlet::before { left: 26px; top: -30px; width: 74px; height: 74px; }
.be-cloudlet::after { left: 82px; top: -44px; width: 90px; height: 90px; }
.be-cloudlet:nth-child(2) { top: 56%; scale: .7; animation-duration: 60s; animation-delay: -22s; opacity: .7; }
.be-cloudlet:nth-child(3) { top: 34%; scale: .5; animation-duration: 72s; animation-delay: -48s; opacity: .6; }
@keyframes be-drift { from { translate: -260px 0; } to { translate: calc(100vw + 60px) 0; } }
.be-star { position: absolute; left: var(--x); top: var(--y); width: 12px; height: 12px; background: var(--be-star);
    clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: be-twinkle 3s ease-in-out infinite; animation-delay: calc(var(--s) * -.41s); }
.be-star:nth-of-type(odd) { width: 8px; height: 8px; }
@keyframes be-twinkle { 0%, 100% { opacity: .25; scale: .7; } 50% { opacity: 1; scale: 1.1; } }

.be-hero-inner { position: relative; z-index: 1; width: min(1060px, 100%); display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 22px; text-align: center; }
.be-dream { position: relative; width: min(460px, 94vw); display: grid; grid-template-columns: 62% minmax(0, 1fr); align-items: end; }
.be-cloud--hero { grid-column: 1; grid-row: 1; z-index: 1; }
.be-cradle { grid-column: 2; grid-row: 1; margin-left: -18%; margin-bottom: 12%; z-index: 2; transform-origin: 50% 80%; animation: be-rock 4.5s ease-in-out infinite; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.be-cradle.is-rocked { animation: be-rock-big 2.2s cubic-bezier(.3, .6, .4, 1) 1; }
@keyframes be-rock { 0%, 100% { rotate: -5deg; } 50% { rotate: 5deg; } }
@keyframes be-rock-big { 0% { rotate: 0deg; } 15% { rotate: 16deg; } 35% { rotate: -12deg; } 55% { rotate: 7deg; } 75% { rotate: -4deg; } 100% { rotate: 0deg; } }
.kit-js .be-cradle .be-art img { animation: be-in 1.3s cubic-bezier(.3, 1.2, .5, 1) .4s both; }
@keyframes be-in { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }

/* the photo resting on a cloud */
.be-cloud { position: relative; margin: 0; padding-bottom: 14%; animation: be-float 6s ease-in-out infinite; }
@keyframes be-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.be-cloud-photo { position: relative; z-index: 1; display: block; width: 84%; margin: 0 auto; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--be-cloud);
    box-shadow: 0 0 0 7px var(--be-cloud), 0 0 0 8px var(--be-line), var(--be-shadow); }
.be-cloud-photo img, .be-initial { display: block; width: 100%; height: 100%; object-fit: cover; }
.be-initial { display: grid; place-items: center; font-family: var(--be-script); font-size: 5rem; color: var(--inv-primary); }
.be-cloud-puffs { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: 2; pointer-events: none; }
.be-cloud-puffs i { position: absolute; bottom: 0; border-radius: 50%; background: var(--be-cloud); filter: drop-shadow(0 6px 8px color-mix(in srgb, var(--inv-primary) 12%, transparent)); }
.be-cloud-puffs i:nth-child(1) { left: 0; width: 34%; aspect-ratio: 1.3; }
.be-cloud-puffs i:nth-child(2) { left: 20%; width: 34%; aspect-ratio: 1; bottom: 10%; }
.be-cloud-puffs i:nth-child(3) { left: 40%; width: 30%; aspect-ratio: 1.1; }
.be-cloud-puffs i:nth-child(4) { left: 58%; width: 32%; aspect-ratio: 1; bottom: 8%; }
.be-cloud-puffs i:nth-child(5) { right: 0; width: 30%; aspect-ratio: 1.4; }

.be-hero-text { display: grid; justify-items: center; width: 100%; min-width: 0; }
.bebe .be-name { font-family: var(--be-script); font-weight: 600; font-size: clamp(3rem, 12vw, 5.2rem); line-height: 1.1; color: var(--inv-primary); overflow-wrap: anywhere; margin: 0 0 10px; }
.be-hero-date { font-family: var(--inv-font-heading); font-weight: 600; font-size: 1.36rem; margin: 0 0 2px; }
.be-hero-place { font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--be-soft); margin: 0; }
.bebe .be-subtitle { max-width: 44ch; margin: 16px auto 0; color: var(--be-soft); }
@keyframes be-up { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
.kit-js .be-hero-text > * { animation: be-up 1s ease .8s both; }
.kit-js .be-hero-text > :nth-child(n+3) { animation-delay: 1.1s; }
@media (min-width: 900px) {
    .be-hero { padding-top: 140px; }
    .be-hero-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 56px; text-align: left; align-items: center; }
    .be-hero-text { justify-items: start; order: -1; }
    .bebe .be-subtitle { margin-left: 0; }
    .be-dream { width: min(520px, 44vw); }
}

/* ---------- Sections ---------- */
.be-main { width: min(1080px, 100%); margin: 0 auto; padding: 0 16px; }
.be-section { padding-top: clamp(84px, 11vw, 128px); }
.be-title { margin: 0 auto clamp(26px, 4vw, 42px); text-align: center; }
.be-title h2 { font-size: clamp(1.9rem, 5.4vw, 2.6rem); color: var(--inv-primary); text-wrap: balance; }
.be-twinkles { display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 10px; }
.be-twinkles i { width: 10px; height: 10px; background: var(--be-star); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.be-twinkles b { width: 16px; height: 14px; background: var(--inv-primary); clip-path: path('M8 14C3 10 0 7 0 4A4 4 0 0 1 8 2A4 4 0 0 1 16 4C16 7 13 10 8 14Z'); }
.kit-js .be-title .be-twinkles > * { opacity: 0; scale: .3; transition: opacity .3s ease, scale .5s cubic-bezier(.3, 1.8, .5, 1); }
.kit-js .be-title .be-twinkles > :nth-child(1) { transition-delay: .1s; }
.kit-js .be-title .be-twinkles > :nth-child(2) { transition-delay: .25s; }
.kit-js .be-title .be-twinkles > :nth-child(3) { transition-delay: .45s; }
.kit-js .be-title .be-twinkles > :nth-child(4) { transition-delay: .25s; }
.kit-js .be-title .be-twinkles > :nth-child(5) { transition-delay: .1s; }
.kit-js .be-title.is-visible .be-twinkles > * { opacity: 1; scale: 1; }

/* Welcome, from the plush bunny */
.be-welcome { display: grid; gap: 14px; justify-items: center; text-align: center; max-width: 820px; margin: 0 auto; }
.be-welcome p { font-size: 1.05rem; }
.be-bunny { width: min(170px, 44vw); transform-origin: 50% 100%; }
.kit-js .be-welcome .be-bunny img { opacity: 0; translate: 0 22px; transition: opacity .9s ease, translate 1s cubic-bezier(.3, 1.4, .5, 1); }
.kit-js .be-welcome.is-visible .be-bunny img { opacity: 1; translate: 0 0; }
.kit-js .be-welcome.is-visible .be-bunny { animation: be-hop 5s ease-in-out 1.6s infinite; }
@keyframes be-hop { 0%, 80%, 100% { translate: 0 0; } 85% { translate: 0 -12px; } 90% { translate: 0 0; } 94% { translate: 0 -5px; } }
.bebe .be-welcome-title { font-family: var(--be-script); font-weight: 600; font-size: clamp(2.6rem, 8vw, 3.6rem); line-height: 1.15; color: var(--inv-primary); margin-bottom: 12px; }
.be-quote-author { font-family: var(--be-script); font-size: 1.3rem; color: var(--inv-primary); }
@media (min-width: 760px) {
    .be-welcome { grid-template-columns: auto minmax(0, 1fr); gap: 50px; text-align: left; align-items: center; }
    .be-bunny { width: 190px; }
}

/* The parents-to-be */
.be-host-grid { display: grid; gap: 56px; justify-items: center; text-align: center; max-width: 900px; margin: 0 auto; }
.be-portrait { position: relative; width: min(250px, 60vw); }
.be-cloud--portrait { animation-delay: -3s; }
.be-family { position: absolute; right: -36%; bottom: -10%; width: 62%; z-index: 3; }
.kit-js .be-host-grid .be-family img { opacity: 0; translate: 20px 10px; transition: opacity .8s ease .5s, translate 1s cubic-bezier(.3, 1.3, .5, 1) .5s; }
.kit-js .be-host-grid.is-visible .be-family img { opacity: 1; translate: 0 0; }
.be-host-name { font-family: var(--inv-font-heading); font-size: 1.7rem; color: var(--inv-primary); margin-bottom: 4px; }
.be-host-age { font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--be-soft); }
.be-host-message { font-size: 1.06rem; max-width: 38ch; margin-left: auto; margin-right: auto; }
@media (min-width: 760px) {
    .be-host-grid { grid-template-columns: auto minmax(0, 1fr); gap: 130px; text-align: left; align-items: center; }
    .be-portrait { width: 260px; }
    .be-host-message { margin-left: 0; }
}
@media (max-width: 759px) { .be-family { right: -22%; width: 52%; } }

/* The theme on a little quilt */
.be-quilt { position: relative; max-width: 600px; margin: 0 auto; padding: 46px clamp(26px, 6vw, 50px) 34px; text-align: center; border-radius: 26px;
    background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--inv-accent) 18%, transparent) 0 14px, transparent 14px 28px), var(--inv-surface);
    box-shadow: var(--be-shadow), 0 0 0 1px var(--be-line); }
.be-quilt::after { content: ""; position: absolute; inset: 10px; border: 2px dashed color-mix(in srgb, var(--inv-primary) 35%, transparent); border-radius: 18px; pointer-events: none; }
.be-quilt::before { content: ""; position: absolute; left: 50%; top: -16px; width: 64px; height: 34px; margin-left: -32px;
    background: radial-gradient(circle at 50% 50%, var(--inv-primary) 0 6px, transparent 6.5px), radial-gradient(ellipse 16px 12px at 28% 50%, color-mix(in srgb, var(--inv-accent) 80%, var(--inv-primary)) 0 92%, transparent 100%), radial-gradient(ellipse 16px 12px at 72% 50%, color-mix(in srgb, var(--inv-accent) 80%, var(--inv-primary)) 0 92%, transparent 100%);
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .15)); }
.be-quilt h3 { font-family: var(--be-script); font-size: clamp(2rem, 6vw, 2.6rem); color: var(--inv-primary); margin-bottom: 10px; }

/* Programme: a plush toy for every moment */
.be-moments { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: grid; gap: 30px; }
.be-moment-card { display: grid; gap: 4px 26px; justify-items: center; text-align: center; padding: 26px clamp(20px, 5vw, 36px) 24px; }
.be-moment-art { width: min(140px, 40vw); }
.kit-js .be-moment .be-moment-card { opacity: 0; translate: 0 24px; transition: opacity .6s ease, translate .9s cubic-bezier(.3, 1.2, .5, 1); }
.kit-js .be-moment.is-visible .be-moment-card { opacity: 1; translate: 0 0; }
.be-moment-time { font-family: var(--inv-font-heading); font-size: 1.6rem; font-weight: 700; line-height: 1.1; color: var(--inv-primary); margin: 0 0 4px; font-variant-numeric: tabular-nums; }
.be-moment-text h3 { font-size: clamp(1.3rem, 4vw, 1.5rem); margin-bottom: 4px; }
.be-moment-place { font-weight: 600; margin: 0; }
.be-moment-address, .be-moment-notes { color: var(--be-soft); margin: 0; }
.be-moment-notes { font-style: italic; margin-top: 6px; }
.be-moment .kit-event-actions { margin-top: 14px; justify-content: center; }
@media (min-width: 760px) {
    .be-moment-card { grid-template-columns: 150px minmax(0, 1fr); text-align: left; align-items: center; justify-items: start; padding: 30px 36px 26px; }
    .be-moment:nth-child(even) .be-moment-card { grid-template-columns: minmax(0, 1fr) 150px; }
    .be-moment:nth-child(even) .be-moment-art { order: 2; }
    .be-moment-art { width: 150px; }
    .be-moment .kit-event-actions { justify-content: flex-start; }
}
.bebe .kit-button { border-radius: 999px; border: 1px solid var(--inv-primary); color: var(--inv-primary); background: transparent; font-size: .8rem; font-weight: 600; padding: 8px 18px; text-decoration: none; }
.bebe .kit-button:hover { background: var(--inv-primary); color: var(--inv-bg); }

/* Countdown: on little clouds */
.be-countdown { text-align: center; }
.be-countdown .kit-countdown { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px clamp(8px, 2.6vw, 22px); margin-top: 40px; }
.be-countdown .kit-countdown-unit { position: relative; width: clamp(80px, 21vw, 118px); min-width: 0; aspect-ratio: 1.5; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; isolation: isolate; animation: be-float 5s ease-in-out infinite; }
.be-countdown .kit-countdown-unit:nth-child(2) { animation-delay: -1.2s; }
.be-countdown .kit-countdown-unit:nth-child(3) { animation-delay: -2.4s; }
.be-countdown .kit-countdown-unit:nth-child(4) { animation-delay: -3.6s; }
.be-countdown .kit-countdown-unit::before { content: ""; position: absolute; inset: 20% 0 0; z-index: -1; border-radius: 999px; background: var(--be-cloud); box-shadow: 0 10px 16px -10px color-mix(in srgb, var(--inv-primary) 40%, transparent); }
.be-countdown .kit-countdown-unit::after { content: ""; position: absolute; left: 22%; top: -2%; width: 56%; aspect-ratio: 1; z-index: -1; border-radius: 50%; background: var(--be-cloud); }
.be-countdown .kit-countdown-value { margin-top: 14%; font-family: var(--inv-font-heading); font-weight: 700; font-size: clamp(1.3rem, 5vw, 2rem); line-height: 1; color: var(--inv-primary); font-variant-numeric: tabular-nums; }
.be-countdown .kit-countdown-label { opacity: 1; color: color-mix(in srgb, var(--inv-primary) 70%, #333); font-size: .52rem; font-weight: 600; letter-spacing: .1em; }

/* Gallery: soft rounded photos with stitched edges */
.be-gallery-grid.kit-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 26px); }
.be-gallery-grid.kit-gallery a { position: relative; aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden; box-shadow: var(--be-shadow); }
.be-gallery-grid.kit-gallery a:nth-child(3n+2) { aspect-ratio: 1; align-self: center; border-radius: 50%; }
.be-gallery-grid.kit-gallery a::after { content: ""; position: absolute; inset: 8px; border: 2px dashed rgba(255, 255, 255, .8); border-radius: inherit; pointer-events: none; }
.be-gallery-grid.kit-gallery img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s ease; }
.be-gallery-grid.kit-gallery a:hover img { scale: 1.04; }
@media (min-width: 760px) { .be-gallery-grid.kit-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* RSVP, info, contact */
.be-reply { max-width: 700px; margin: 0 auto; padding: clamp(40px, 6vw, 56px) clamp(24px, 6vw, 56px) clamp(32px, 5vw, 48px); }
.bebe .inv-rsvp__intro { font-size: 1.06rem; }
.bebe .inv-rsvp__deadline { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--inv-primary); }
.be-info-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.be-info-item { padding: 30px 24px 20px; text-align: center; }
.be-info-item h3 { font-size: 1.3rem; color: var(--inv-primary); margin-bottom: 8px; }
.be-faq { max-width: 720px; margin: 46px auto 0; text-align: center; display: grid; gap: 12px; }
.be-faq details { text-align: left; }
.be-faq summary { cursor: pointer; list-style: none; padding: 17px 52px 17px 22px; position: relative; font-weight: 600; font-size: 1.02rem; }
.be-faq summary::-webkit-details-marker { display: none; }
.be-faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 18px; height: 16px; margin-top: -8px; background: color-mix(in srgb, var(--inv-primary) 70%, transparent); clip-path: path('M9 16C3.5 11.5 0 8 0 4.5A4.5 4.5 0 0 1 9 2.3A4.5 4.5 0 0 1 18 4.5C18 8 14.5 11.5 9 16Z'); transition: scale .4s cubic-bezier(.3, 1.8, .5, 1); }
.be-faq details[open] summary::after { scale: 1.25; background: var(--inv-primary); }
.be-faq summary:focus-visible { outline: 2px solid var(--inv-primary); outline-offset: 2px; border-radius: 28px; }
.be-faq details p { padding: 0 22px; color: var(--be-soft); }
.be-faq details p:last-child { padding-bottom: 16px; }
.be-contact { text-align: center; }
.be-contact-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 60px; }
.be-contact-person a { text-decoration: none; }

/* ---------- Footer: asleep under the stars ---------- */
.be-footer { text-align: center; padding: clamp(90px, 13vw, 140px) 16px 70px; overflow: hidden; overflow: clip; }
.be-finale { position: relative; width: min(300px, 74vw); margin: 0 auto 20px; padding-top: 36px; }
.be-finale .be-star { opacity: 0; animation: none; }
.kit-js .be-footer.is-visible .be-finale .be-star { animation: be-twinkle 2.8s ease-in-out infinite; animation-delay: calc(.6s + var(--s) * .37s); }
.kit-js .be-footer .be-asleep img { opacity: 0; translate: 0 20px; }
.kit-js .be-footer.is-visible .be-asleep img { animation: be-in 1.4s ease .1s both; }
.be-asleep { width: 80%; margin: 0 auto; }
.be-footer-message { font-size: 1.14rem; color: var(--be-soft); max-width: 36ch; margin: 0 auto 6px; }
.bebe .be-footer-name { font-family: var(--be-script); font-weight: 600; font-size: clamp(3rem, 11vw, 4.4rem); line-height: 1.1; color: var(--inv-primary); margin: 4px 0 10px; }
.be-hashtag { letter-spacing: .1em; color: var(--inv-primary); }

@media (prefers-reduced-motion: reduce) {
    .be-cloudlet, .be-star, .be-cradle, .be-cloud, .kit-js .be-cradle .be-art img, .kit-js .be-hero-text > *, .be-countdown .kit-countdown-unit, .kit-js .be-welcome.is-visible .be-bunny { animation: none; }
    .be-cloudlet { display: none; }
    .kit-js .be-title .be-twinkles > *, .kit-js .be-welcome .be-bunny img, .kit-js .be-host-grid .be-family img, .kit-js .be-moment .be-moment-card { opacity: 1; translate: 0 0; scale: 1; transition: none; }
    .kit-js .be-footer .be-asleep img { opacity: 1; translate: 0 0; animation: none; }
    .kit-js .be-footer.is-visible .be-finale .be-star { animation: none; opacity: .8; }
}
