/* ==========================================================================
   Junglă - a christening in the jungle, painted in watercolour, about mothers and their little ones: the photo in a
   wreath of tropical leaves, the parrot perched on top and the toucan on its branch below (a touch makes the parrot
   hop and the leaves rustle). Green leaves fall down the page, two little leaves sprout above every title, the tiger
   cubs say hello, the child's portrait sits in a small wreath beside the mother elephant and her calf, the parents
   have the mother orangutan and the godparents the koalas, every moment has its animal, the days left sit on big
   leaves, the photos have soft river-stone shapes and at the end the panda cub sleeps on its bamboo.
   Palette: --inv-primary (the ink), --inv-accent (the soft colour), --inv-bg, --inv-text.
   The watercolours (assets/art, Pixabay, see LICENSES.md) came transparent; on the dark palette (.ju-dark, set by
   script.js) they get back a sheet of watercolour paper. script.js draws the falling leaves (canvas.ju-air)
   ========================================================================== */

.jungla {
    --ju-soft: color-mix(in srgb, var(--inv-text) 64%, var(--inv-bg));
    --ju-line: color-mix(in srgb, var(--inv-primary) 18%, transparent);
    --ju-paper: color-mix(in srgb, #fffbef 90%, var(--inv-accent));
    --ju-leaf-a: #4f8f4a;
    --ju-leaf-b: #2f6b3c;
    --ju-leaf-c: #7fb15a;
    --ju-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: 14px;
    --kit-field-bg: var(--inv-surface);
    --kit-field-border: var(--ju-line);
    font-family: var(--inv-font-body);
    font-weight: 400;
    font-size: 1.03rem;
    line-height: 1.72;
    background: var(--inv-bg);
    overflow-x: clip;
}
.jungla h1, .jungla h2, .jungla h3 { font-family: var(--inv-font-heading); font-weight: 500; line-height: 1.12; }
:where(.jungla) :is(h1, h2, h3) { margin: 0; }
:where(.jungla) p { margin: 0 0 .9em; }
.jungla strong { font-weight: 700; }
.jungla a { color: var(--inv-primary); }
.ju-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--inv-primary); margin: 0 0 10px; }
.ju-role { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ju-soft); margin: 0 0 4px; }
.ju-names { font-family: var(--inv-font-heading); font-size: 1.3rem; margin: 0; }
.ju-hero, .ju-main, .ju-footer { position: relative; z-index: 1; }
.ju-card { position: relative; background: var(--inv-surface); border-radius: 22px; box-shadow: var(--ju-shadow), 0 0 0 1px var(--ju-line); }
.ju-air { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* ---------- The watercolours ---------- */
.ju-art { position: relative; display: block; }
.ju-art img { display: block; width: 100%; height: auto; }
.ju-dark .ju-art img { background: radial-gradient(closest-side, var(--ju-paper) 54%, color-mix(in srgb, var(--ju-paper) 40%, transparent) 78%, transparent 100%); }

/* ---------- The wreath of tropical leaves round a round photo ---------- */
.ju-wreath { position: relative; margin: 0; aspect-ratio: 1; }
.ju-leaves { position: absolute; inset: -14%; }
.ju-leaves i { position: absolute; left: 50%; top: 50%; width: 30%; height: 15%; margin: -7.5% 0 0 -15%; border-radius: 0 100% 0 100%;
    background: linear-gradient(135deg, var(--ju-leaf-c), var(--ju-leaf-a) 55%, var(--ju-leaf-b));
    box-shadow: inset 2px 2px 0 rgba(255, 255, 255, .25);
    transform: rotate(calc(var(--l) * 30deg)) translateX(118%) rotate(calc(-20deg + var(--l) * 7deg)); }
.ju-leaves i:nth-child(3n+2) { background: linear-gradient(135deg, #a6c96a, var(--ju-leaf-c) 50%, var(--ju-leaf-a)); width: 26%; }
.ju-leaves i:nth-child(3n) { background: linear-gradient(135deg, var(--ju-leaf-a), var(--ju-leaf-b) 60%, #1f4a2c); width: 33%; }
.ju-leaves i::after { content: ""; position: absolute; left: 8%; right: 8%; top: 50%; height: 1.5px; margin-top: -.75px; background: rgba(255, 255, 255, .35); rotate: 26deg; }
.ju-wreath-photo { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: var(--ju-paper); box-shadow: 0 0 0 5px var(--inv-surface), 0 22px 40px -22px color-mix(in srgb, var(--inv-text) 70%, transparent); }
.ju-wreath-photo img, .ju-initial { display: block; width: 100%; height: 100%; object-fit: cover; }
.ju-initial { display: grid; place-items: center; font-family: var(--inv-font-heading); font-weight: 600; font-size: 5rem; color: var(--inv-primary); }
.ju-canopy.is-rustling .ju-leaves i { animation: ju-rustle .7s ease-in-out 1; animation-delay: calc(var(--l) * .025s); }
@keyframes ju-rustle { 0%, 100% { translate: 0 0; } 30% { translate: 3px -3px; } 60% { translate: -3px 2px; } }

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

/* ---------- Hero: the wreath, the parrot on top and the toucan below ---------- */
.ju-hero { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 120px 16px 70px; overflow: hidden; overflow: clip; }
.ju-glow { position: absolute; right: -16%; top: -16%; width: min(1000px, 160vw); aspect-ratio: 1; border-radius: 50%; pointer-events: none;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--inv-accent) 80%, transparent), transparent 72%); }
.ju-dark .ju-glow { background: radial-gradient(closest-side, color-mix(in srgb, var(--inv-accent) 18%, transparent), transparent 72%); }
.ju-hero-inner { position: relative; z-index: 1; width: min(1060px, 100%); display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 44px; text-align: center; }
.ju-canopy { position: relative; width: min(230px, 50vw); margin: 22% 6% 16% 14%; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.kit-js .ju-wreath--hero .ju-wreath-photo { animation: ju-rise 1.2s cubic-bezier(.3, 1.2, .5, 1) .1s both; }
.kit-js .ju-wreath--hero .ju-leaves i { animation: ju-unfold .9s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(.4s + var(--l) * .06s); }
@keyframes ju-rise { from { opacity: 0; scale: .9; } to { opacity: 1; scale: 1; } }
@keyframes ju-unfold { from { opacity: 0; scale: .2; } to { opacity: 1; scale: 1; } }
.ju-parrot { position: absolute; right: -18%; top: -62%; width: 50%; z-index: 3; transform-origin: 50% 90%; }
.kit-js .ju-parrot img { animation: ju-land 1.2s cubic-bezier(.3, 1.3, .5, 1) 1.1s both; }
@keyframes ju-land { from { opacity: 0; translate: 40px -40px; } to { opacity: 1; translate: 0 0; } }
.ju-canopy.is-rustling .ju-parrot { animation: ju-hop .8s cubic-bezier(.3, 1.4, .5, 1) 1; }
@keyframes ju-hop { 0%, 100% { translate: 0 0; rotate: 0deg; } 35% { translate: 0 -18px; rotate: -6deg; } 60% { translate: 0 0; rotate: 3deg; } 80% { translate: 0 -5px; } }
.ju-toucan { position: absolute; left: -54%; bottom: -30%; width: 72%; z-index: 3; }
.kit-js .ju-toucan img { animation: ju-in-l 1.2s cubic-bezier(.3, 1.2, .5, 1) 1.3s both; }
@keyframes ju-in-l { from { opacity: 0; translate: -30px 10px; } to { opacity: 1; translate: 0 0; } }

.ju-hero-text { display: grid; justify-items: center; width: 100%; min-width: 0; }
.jungla .ju-name { font-family: var(--inv-font-heading); font-weight: 600; font-size: clamp(3.2rem, 14vw, 6rem); line-height: 1; color: var(--inv-primary); overflow-wrap: anywhere; text-wrap: balance; margin: 0 0 16px; letter-spacing: -.01em; }
.ju-hero-date { font-family: var(--inv-font-heading); font-weight: 500; font-size: 1.35rem; margin: 0 0 4px; }
.ju-hero-place { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ju-soft); margin: 0; }
.jungla .ju-subtitle { max-width: 44ch; margin: 16px auto 0; color: var(--ju-soft); }
@keyframes ju-up { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
.kit-js .ju-hero-text > * { animation: ju-up 1s ease .9s both; }
.kit-js .ju-hero-text > :nth-child(n+3) { animation-delay: 1.2s; }
@media (min-width: 900px) {
    .ju-hero { padding-top: 150px; }
    .ju-hero-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 60px; text-align: left; align-items: center; }
    .ju-hero-text { justify-items: start; order: -1; }
    .jungla .ju-subtitle { margin-left: 0; }
    .ju-canopy { width: min(270px, 23vw); margin: 150px clamp(80px, 8vw, 110px) 80px clamp(140px, 14vw, 180px); }
}

/* ---------- Sections ---------- */
.ju-main { width: min(1080px, 100%); margin: 0 auto; padding: 0 16px; }
.ju-section { padding-top: clamp(84px, 11vw, 128px); }
.ju-title { margin: 0 auto clamp(26px, 4vw, 42px); text-align: center; }
.ju-title h2 { font-size: clamp(2rem, 5.6vw, 2.8rem); color: var(--inv-primary); text-wrap: balance; }
/* two little leaves sprouting from a stem */
.ju-sprout { position: relative; display: block; width: 40px; height: 34px; margin: 0 auto 10px; }
.ju-sprout b { position: absolute; left: 50%; bottom: 0; width: 2px; height: 16px; margin-left: -1px; background: var(--ju-leaf-b); border-radius: 2px; transform-origin: 50% 100%; }
.ju-sprout i { position: absolute; bottom: 12px; width: 18px; height: 10px; background: linear-gradient(135deg, var(--ju-leaf-c), var(--ju-leaf-a)); }
.ju-sprout i:nth-child(1) { right: 50%; border-radius: 100% 0 100% 0; transform-origin: 100% 100%; rotate: -24deg; }
.ju-sprout i:nth-child(2) { left: 50%; border-radius: 0 100% 0 100%; transform-origin: 0 100%; rotate: 24deg; bottom: 16px; }
.kit-js .ju-title .ju-sprout b { scale: 1 0; }
.kit-js .ju-title .ju-sprout i { scale: 0; }
.kit-js .ju-title.is-visible .ju-sprout b { scale: 1 1; transition: scale .5s ease .1s; }
.kit-js .ju-title.is-visible .ju-sprout i { scale: 1; transition: scale .7s cubic-bezier(.3, 1.6, .5, 1) .45s; }
.kit-js .ju-title.is-visible .ju-sprout i:nth-child(2) { transition-delay: .65s; }

/* Welcome, from the tiger cubs */
.ju-welcome { display: grid; gap: 14px; justify-items: center; text-align: center; max-width: 820px; margin: 0 auto; }
.ju-welcome p { font-size: 1.05rem; }
.ju-hello { width: min(260px, 66vw); }
.kit-js .ju-welcome .ju-hello img { opacity: 0; translate: -30px -10px; rotate: -6deg; transition: opacity .9s ease, translate 1.2s cubic-bezier(.3, 1.2, .5, 1), rotate 1.2s ease; }
.kit-js .ju-welcome.is-visible .ju-hello img { opacity: 1; translate: 0 0; rotate: 0deg; }
.jungla .ju-welcome-title { font-family: var(--inv-font-heading); font-weight: 600; font-size: clamp(2.2rem, 7.4vw, 3.2rem); line-height: 1.05; color: var(--inv-primary); margin-bottom: 12px; }
.ju-quote-author { font-family: var(--inv-font-heading); font-style: italic; color: var(--inv-primary); }
@media (min-width: 760px) {
    .ju-welcome { grid-template-columns: auto minmax(0, 1fr); gap: 50px; text-align: left; align-items: center; }
    .ju-hello { width: 290px; }
}

/* The little one (the elephants sit past the wreath, so the section clips what a phone cannot show) */
.ju-child { overflow-x: clip; padding-bottom: 30px; }
.ju-child-grid { display: grid; gap: 70px; justify-items: center; text-align: center; max-width: 900px; margin: 0 auto; }
.ju-portrait { position: relative; width: min(200px, 50vw); margin: 10% 0; }
.ju-mama { position: absolute; right: -62%; bottom: -34%; width: 86%; z-index: 3; }
.kit-js .ju-child-grid .ju-mama img { opacity: 0; translate: 20px 10px; transition: opacity .8s ease .5s, translate 1.1s cubic-bezier(.3, 1.3, .5, 1) .5s; }
.kit-js .ju-child-grid.is-visible .ju-mama img { opacity: 1; translate: 0 0; }
.ju-child-name { font-family: var(--inv-font-heading); font-size: 1.8rem; color: var(--inv-primary); margin-bottom: 6px; }
.ju-child-born { color: var(--ju-soft); }
.ju-child-born strong { color: var(--inv-text); font-family: var(--inv-font-heading); font-weight: 500; }
.ju-child-message { font-family: var(--inv-font-heading); font-style: italic; font-size: 1.1rem; max-width: 36ch; margin-left: auto; margin-right: auto; }
@media (min-width: 760px) {
    .ju-child-grid { grid-template-columns: auto minmax(0, 1fr); gap: 120px; text-align: left; align-items: center; }
    .ju-portrait { width: 220px; }
    .ju-child-message { margin-left: 0; }
}

/* Family */
.ju-lead { text-align: center; font-family: var(--inv-font-heading); font-style: italic; font-size: 1.2rem; color: var(--ju-soft); max-width: 40ch; margin: 0 auto 10px; }
.ju-cards { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); max-width: 720px; margin: 0 auto; }
.ju-namecard { position: relative; padding: 0 22px 26px; text-align: center; border-radius: 26px; background: var(--inv-surface); box-shadow: var(--ju-shadow), 0 0 0 1px var(--ju-line); margin-top: 96px; }
.ju-namecard-art { width: 150px; height: 150px; margin: -96px auto 10px; }
.ju-namecard-art img { height: 100%; object-fit: contain; object-position: center bottom; }
.kit-js .ju-family .ju-namecard { opacity: 0; translate: 0 20px; transition: opacity .6s ease, translate .8s ease; }
.kit-js .ju-family .ju-namecard:nth-child(2) { transition-delay: .15s; }
.kit-js .ju-family .ju-namecard:nth-child(3) { transition-delay: .3s; }
.kit-js .ju-family.is-visible .ju-namecard { opacity: 1; translate: 0 0; }

/* Programme */
.ju-trail { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: grid; gap: 30px; }
.ju-stop { display: grid; justify-items: center; }
.ju-stop-art { width: min(150px, 40vw); margin-bottom: -14px; z-index: 2; }
.ju-stop-card { width: 100%; display: grid; justify-items: center; gap: 2px; padding: 28px clamp(20px, 5vw, 36px) 22px; text-align: center; }
.kit-js .ju-stop .ju-stop-card { opacity: 0; translate: 0 26px; transition: opacity .7s ease, translate .9s ease; }
.kit-js .ju-stop .ju-stop-art img { opacity: 0; scale: .8; transition: opacity .6s ease .3s, scale .9s cubic-bezier(.3, 1.5, .5, 1) .3s; }
.kit-js .ju-stop.is-visible .ju-stop-card { opacity: 1; translate: 0 0; }
.kit-js .ju-stop.is-visible .ju-stop-art img { opacity: 1; scale: 1; }
.ju-stop-time { font-family: var(--inv-font-heading); font-weight: 600; font-size: 1.8rem; line-height: 1; color: var(--inv-primary); margin: 0 0 4px; font-variant-numeric: tabular-nums; }
.ju-stop-card h3 { font-size: clamp(1.4rem, 4vw, 1.65rem); margin-bottom: 4px; }
.ju-stop-place { font-weight: 700; margin: 0; }
.ju-stop-address, .ju-stop-notes { color: var(--ju-soft); margin: 0; }
.ju-stop-notes { font-style: italic; margin-top: 6px; }
.ju-stop .kit-event-actions { margin-top: 14px; justify-content: center; }
@media (min-width: 760px) {
    .ju-stop { grid-template-columns: 170px minmax(0, 1fr); align-items: center; gap: 0; }
    .ju-stop-art { width: 170px; margin: 0 -26px 0 0; }
    .ju-stop:nth-child(even) { grid-template-columns: minmax(0, 1fr) 170px; }
    .ju-stop:nth-child(even) .ju-stop-art { order: 2; margin: 0 0 0 -26px; }
    .ju-stop-card { justify-items: start; text-align: left; padding-left: 48px; }
    .ju-stop:nth-child(even) .ju-stop-card { padding-left: 36px; padding-right: 48px; }
    .ju-stop .kit-event-actions { justify-content: flex-start; }
}
.jungla .kit-button { border-radius: 999px; border: 1px solid var(--inv-primary); color: var(--inv-primary); background: transparent; font-size: .78rem; font-weight: 700; padding: 8px 18px; text-decoration: none; }
.jungla .kit-button:hover { background: var(--inv-primary); color: var(--inv-bg); }

/* Countdown: each number on a big tropical leaf */
.ju-countdown { text-align: center; overflow-x: clip; padding-bottom: 14px; }
.ju-countdown .kit-countdown { display: flex; justify-content: center; flex-wrap: wrap; gap: 34px clamp(18px, 4.6vw, 36px); margin-top: 46px; }
.ju-countdown .kit-countdown-unit { --c: var(--ju-leaf-a); position: relative; width: clamp(64px, 17vw, 92px); min-width: 0; aspect-ratio: 1; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: none; isolation: isolate; }
.ju-countdown .kit-countdown-unit::before { content: ""; position: absolute; inset: -10%; z-index: -1; border-radius: 0 100% 0 100%; rotate: 45deg;
    background: linear-gradient(135deg, color-mix(in srgb, var(--c) 60%, #d8f0a8), var(--c) 55%, color-mix(in srgb, var(--c) 70%, #0d2a15)); box-shadow: 0 10px 16px -10px rgba(20, 50, 25, .6); }
.ju-countdown .kit-countdown-unit::after { content: ""; position: absolute; left: 6%; right: 6%; top: 50%; height: 2px; margin-top: -1px; z-index: -1; background: rgba(255, 255, 255, .28); rotate: 90deg; }
.ju-countdown .kit-countdown-unit:nth-child(2) { --c: var(--ju-leaf-b); }
.ju-countdown .kit-countdown-unit:nth-child(3) { --c: var(--ju-leaf-c); }
.ju-countdown .kit-countdown-unit:nth-child(4) { --c: #3d7f62; }
.ju-countdown .kit-countdown-value { font-family: var(--inv-font-heading); font-weight: 600; font-size: clamp(1.3rem, 5vw, 1.8rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 1px 3px rgba(0, 30, 10, .5); }
.ju-countdown .kit-countdown-label { opacity: 1; color: #f2ffe9; font-size: .5rem; font-weight: 700; letter-spacing: .1em; margin-top: 2px; text-shadow: 0 1px 2px rgba(0, 30, 10, .5); }
.kit-js .ju-countdown .kit-countdown-unit { opacity: 0; translate: 0 -30px; rotate: -20deg; transition: opacity .6s ease, translate 1.1s cubic-bezier(.3, 1.3, .5, 1), rotate 1.1s cubic-bezier(.3, 1.4, .5, 1); }
.kit-js .ju-countdown .kit-countdown-unit:nth-child(2) { transition-delay: .15s; }
.kit-js .ju-countdown .kit-countdown-unit:nth-child(3) { transition-delay: .3s; }
.kit-js .ju-countdown .kit-countdown-unit:nth-child(4) { transition-delay: .45s; }
.kit-js .ju-countdown.is-visible .kit-countdown-unit { opacity: 1; translate: 0 0; rotate: 0deg; }

/* Gallery: soft rounded shapes, like river stones, each a little different */
.ju-gallery-grid.kit-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 28px); }
.ju-gallery-grid.kit-gallery a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%; box-shadow: 0 18px 30px -18px rgba(20, 50, 25, .5); transition: border-radius .8s ease, translate .5s ease; }
.ju-gallery-grid.kit-gallery a:nth-child(3n+2) { border-radius: 44% 56% 40% 60% / 58% 42% 58% 42%; }
.ju-gallery-grid.kit-gallery a:nth-child(3n) { border-radius: 52% 48% 62% 38% / 40% 60% 40% 60%; }
.ju-gallery-grid.kit-gallery a:hover { border-radius: 50%; translate: 0 -4px; }
.ju-gallery-grid.kit-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 760px) { .ju-gallery-grid.kit-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 860px; margin: 0 auto; } }

/* RSVP, info, contact */
.ju-reply { max-width: 700px; margin: 0 auto; padding: clamp(40px, 6vw, 56px) clamp(24px, 6vw, 56px) clamp(32px, 5vw, 48px); }
.jungla .inv-rsvp__intro { font-family: var(--inv-font-heading); font-size: 1.1rem; }
.jungla .inv-rsvp__deadline { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--inv-primary); }
.ju-info-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.ju-info-item { padding: 30px 24px 20px; text-align: center; }
.ju-info-item h3 { font-size: 1.35rem; color: var(--inv-primary); margin-bottom: 8px; }
.ju-faq { max-width: 720px; margin: 46px auto 0; text-align: center; display: grid; gap: 12px; }
.ju-faq details { text-align: left; }
.ju-faq summary { cursor: pointer; list-style: none; padding: 17px 56px 17px 22px; position: relative; font-weight: 700; font-size: 1.02rem; }
.ju-faq summary::-webkit-details-marker { display: none; }
.ju-faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 18px; height: 21px; margin-top: -10px; border-radius: 0 100% 0 100%; background: linear-gradient(135deg, var(--ju-leaf-c), var(--ju-leaf-a)); transition: rotate .6s ease; }
.ju-faq details[open] summary::after { rotate: 90deg; }
.ju-faq summary:focus-visible { outline: 2px solid var(--inv-primary); outline-offset: 2px; border-radius: 22px; }
.ju-faq details p { padding: 0 22px; color: var(--ju-soft); }
.ju-faq details p:last-child { padding-bottom: 16px; }
.ju-contact { text-align: center; }
.ju-contact-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 60px; }
.ju-contact-person a { text-decoration: none; }

/* ---------- Footer: the panda cub asleep on its bamboo ---------- */
.ju-footer { text-align: center; padding: clamp(90px, 13vw, 140px) 16px 40px; overflow: hidden; overflow: clip; }
.ju-footer-message { font-family: var(--inv-font-heading); font-size: 1.2rem; color: var(--ju-soft); max-width: 36ch; margin: 0 auto 6px; }
.jungla .ju-footer-name { font-family: var(--inv-font-heading); font-weight: 600; font-size: clamp(3.2rem, 11vw, 4.6rem); line-height: 1.05; color: var(--inv-primary); margin: 4px 0 10px; }
.ju-hashtag { letter-spacing: .1em; color: var(--inv-primary); }
.ju-goodbye { width: min(320px, 76vw); margin: 26px auto 0; transform-origin: 50% 100%; }
.kit-js .ju-footer .ju-goodbye img { opacity: 0; translate: 0 30px; transition: opacity .8s ease .2s, translate 1.1s cubic-bezier(.3, 1.3, .5, 1) .2s; }
.kit-js .ju-footer.is-visible .ju-goodbye img { opacity: 1; translate: 0 0; }
.kit-js .ju-footer.is-visible .ju-goodbye { animation: ju-breathe 5s ease-in-out 1.5s infinite; }
@keyframes ju-breathe { 0%, 100% { scale: 1; } 50% { scale: 1.015 1.03; } }

@media (prefers-reduced-motion: reduce) {
    .kit-js .ju-wreath--hero .ju-wreath-photo, .kit-js .ju-wreath--hero .ju-leaves i, .kit-js .ju-parrot img, .kit-js .ju-toucan img, .kit-js .ju-hero-text > *, .kit-js .ju-footer.is-visible .ju-goodbye { animation: none; }
    .kit-js .ju-title .ju-sprout b, .kit-js .ju-title .ju-sprout i { scale: 1; transition: none; }
    .kit-js .ju-welcome .ju-hello img, .kit-js .ju-child-grid .ju-mama img, .kit-js .ju-family .ju-namecard, .kit-js .ju-stop .ju-stop-card,
    .kit-js .ju-stop .ju-stop-art img, .kit-js .ju-countdown .kit-countdown-unit, .kit-js .ju-footer .ju-goodbye img { opacity: 1; translate: 0 0; rotate: 0deg; scale: 1; transition: none; }
}
