/* ==========================================================================
   Logodnă - a tender engagement, painted in watercolour in the style of crocheted toys: the photo in a heart with a
   mother-of-pearl rim, heart balloons tied with wedding rings floating above it and the crocheted proposal beside
   it (a touch sends little hearts flying out of it). Hearts and sparkles rise up the page like champagne bubbles,
   a pair of entwined hearts draws itself above every title and follows the palette (bronze, pearls, red roses,
   silver), the pearls in their shell say hello, the couple stand either side of the crocheted bride and groom, the
   parents beside the gnomes with their heart, the story in chapters with pinned photos, the days left in hearts and
   at the end the teddy bears under their arch of flowers.
   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 (.lo-dark, set by
   script.js) they get a soft glow. script.js draws the rising hearts (canvas.lo-air)
   ========================================================================== */

.logodna {
    --lo-hand: 'Great Vibes', 'Segoe Script', cursive;
    --lo-soft: color-mix(in srgb, var(--inv-text) 64%, var(--inv-bg));
    --lo-line: color-mix(in srgb, var(--inv-primary) 18%, transparent);
    --lo-pearl: linear-gradient(145deg, #fffaf6, #f1e2dc 30%, #fff 48%, #e6d5cf 70%, #fbf3ef);
    --lo-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 92'%3E%3Cpath d='M50 92C20 70 0 52 0 28 0 12 12 0 27 0c11 0 19 6 23 14C54 6 62 0 73 0c15 0 27 12 27 28 0 24-20 42-50 64z'/%3E%3C/svg%3E");
    --lo-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: 12px;
    --kit-field-bg: var(--inv-surface);
    --kit-field-border: var(--lo-line);
    font-family: var(--inv-font-body);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.75;
    background: var(--inv-bg);
    overflow-x: clip;
}
.logodna h1, .logodna h2, .logodna h3 { font-family: var(--inv-font-heading); font-weight: 500; line-height: 1.12; }
:where(.logodna) :is(h1, h2, h3) { margin: 0; }
:where(.logodna) p { margin: 0 0 .9em; }
.logodna strong { font-weight: 600; }
.logodna a { color: var(--inv-primary); }
.lo-kicker { font-size: .7rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--inv-primary); margin: 0 0 10px; }
.lo-role { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--lo-soft); margin: 0 0 4px; }
.lo-names-line { display: block; font-family: var(--inv-font-heading); font-size: 1.35rem; margin: 0; }
.lo-hero, .lo-main, .lo-footer { position: relative; z-index: 1; }
.lo-card { position: relative; background: var(--inv-surface); border-radius: 20px; box-shadow: var(--lo-shadow), 0 0 0 1px var(--lo-line); }
.lo-air { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* ---------- The watercolours ---------- */
.lo-art { position: relative; display: block; }
.lo-art img { display: block; width: 100%; height: auto; }
.lo-dark .lo-art img { filter: drop-shadow(0 0 20px rgba(255, 235, 220, .16)); }

/* ---------- The heart: a mother-of-pearl rim and the photo, both cut by the same heart ---------- */
.lo-heart { position: relative; margin: 0; aspect-ratio: 100 / 92; filter: drop-shadow(0 22px 26px color-mix(in srgb, var(--inv-primary) 28%, transparent)); }
.lo-heart::before, .lo-heart-photo { -webkit-mask: var(--lo-heart) center / 100% 100% no-repeat; mask: var(--lo-heart) center / 100% 100% no-repeat; }
.lo-heart::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .9), transparent 30%), var(--lo-pearl); }
.lo-heart-photo { position: absolute; inset: 6.5% 7% 8.5%; background: color-mix(in srgb, var(--inv-accent) 60%, #fff); }
.lo-heart-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

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

/* ---------- Hero: the heart, the balloons, the proposal ---------- */
.lo-hero { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 120px 16px 70px; overflow: hidden; overflow: clip; }
.lo-glow { position: absolute; left: 50%; top: -18%; width: min(1000px, 160vw); aspect-ratio: 1; margin-left: max(-500px, -80vw); border-radius: 50%; pointer-events: none;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--inv-accent) 80%, transparent), transparent 72%); }
.lo-dark .lo-glow { background: radial-gradient(closest-side, color-mix(in srgb, var(--inv-primary) 16%, transparent), transparent 72%); }
.lo-hero-inner { position: relative; z-index: 1; width: min(1060px, 100%); display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 40px; text-align: center; }
.lo-scene { position: relative; width: min(280px, 60vw); margin: 18% 4% 12% 22%; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.kit-js .lo-heart--hero { animation: lo-beat-in 1.4s cubic-bezier(.3, 1.4, .5, 1) .1s both; }
@keyframes lo-beat-in { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }
.lo-balloons { position: absolute; right: -22%; top: -40%; width: 48%; z-index: 3; transform-origin: 50% 100%; }
.kit-js .lo-balloons img { animation: lo-float-in 1.4s cubic-bezier(.3, 1.2, .5, 1) .7s both, lo-sway 5s ease-in-out 2.2s infinite; transform-origin: 50% 100%; }
@keyframes lo-float-in { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
@keyframes lo-sway { 0%, 100% { rotate: -3deg; } 50% { rotate: 3deg; } }
.lo-scene.is-burst .lo-balloons { animation: lo-lift 1.6s cubic-bezier(.3, .8, .4, 1) 1; }
@keyframes lo-lift { 0%, 100% { translate: 0 0; } 40% { translate: 6px -34px; } }
.lo-proposal { position: absolute; left: -38%; bottom: -18%; width: 62%; z-index: 3; }
.kit-js .lo-proposal img { animation: lo-in-l 1.2s cubic-bezier(.3, 1.2, .5, 1) .9s both; }
@keyframes lo-in-l { from { opacity: 0; translate: -30px 10px; } to { opacity: 1; translate: 0 0; } }
/* the little hearts a touch sends flying out of the big one */
.lo-burst { position: absolute; left: 50%; top: 46%; width: 0; height: 0; z-index: 2; pointer-events: none; }
.lo-burst i { position: absolute; left: -9px; top: -8px; width: 18px; height: 16px; background: var(--inv-primary); opacity: 0;
    -webkit-mask: var(--lo-heart) center / 100% 100% no-repeat; mask: var(--lo-heart) center / 100% 100% no-repeat; }
.lo-scene.is-burst .lo-burst i { animation: lo-fly 1.3s cubic-bezier(.2, .7, .3, 1) 1 both; animation-delay: calc(var(--h) * .04s); }
@keyframes lo-fly { 0% { opacity: 0; transform: rotate(calc(var(--h) * 51deg - 150deg)) translateY(0) scale(.4); } 20% { opacity: 1; } 100% { opacity: 0; transform: rotate(calc(var(--h) * 51deg - 150deg)) translateY(-150px) scale(1.2); } }

.lo-hero-text { display: grid; justify-items: center; width: 100%; min-width: 0; }
.logodna .lo-names { font-family: var(--inv-font-heading); font-weight: 500; font-size: clamp(3rem, 12vw, 5.6rem); line-height: 1; color: var(--inv-primary); overflow-wrap: anywhere; margin: 0 0 18px; display: grid; justify-items: inherit; }
.lo-and { font-family: var(--lo-hand); font-size: .6em; line-height: 1; margin: -.05em 0; color: var(--lo-soft); }
.lo-hero-date { font-family: var(--inv-font-heading); font-style: italic; font-size: 1.45rem; margin: 0 0 4px; }
.lo-hero-place { font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--lo-soft); margin: 0; }
.logodna .lo-subtitle { max-width: 44ch; margin: 16px auto 0; color: var(--lo-soft); }
@keyframes lo-up { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
.kit-js .lo-hero-text > * { animation: lo-up 1s ease .9s both; }
.kit-js .lo-hero-text > :nth-child(n+3) { animation-delay: 1.2s; }
@media (min-width: 900px) {
    .lo-hero { padding-top: 150px; }
    .lo-hero-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 60px; text-align: left; align-items: center; }
    .lo-hero-text { justify-items: start; order: -1; }
    .logodna .lo-subtitle { margin-left: 0; }
    .lo-scene { width: min(320px, 27vw); margin: 120px clamp(80px, 8vw, 110px) 60px clamp(120px, 12vw, 160px); }
}

/* ---------- Sections ---------- */
.lo-main { width: min(1080px, 100%); margin: 0 auto; padding: 0 16px; }
.lo-section { padding-top: clamp(84px, 11vw, 128px); }
.lo-title { margin: 0 auto clamp(26px, 4vw, 42px); text-align: center; }
.lo-title h2 { font-size: clamp(2.1rem, 6vw, 3rem); color: var(--inv-primary); text-wrap: balance; }
.lo-twin { width: min(240px, 66vw); margin: 0 auto 12px; }
.kit-js .lo-title .lo-twin img { clip-path: inset(0 50% 0 50%); }
.kit-js .lo-title.is-visible .lo-twin img { clip-path: inset(0 0 0 0); transition: clip-path 1.6s cubic-bezier(.4, 0, .2, 1) .1s; }

/* Welcome, from the pearls in their shell */
.lo-welcome { display: grid; gap: 14px; justify-items: center; text-align: center; max-width: 820px; margin: 0 auto; }
.lo-welcome p { font-size: 1.03rem; }
.lo-hello { width: min(240px, 60vw); }
.kit-js .lo-welcome .lo-hello img { opacity: 0; scale: .8; transition: opacity .9s ease, scale 1.2s cubic-bezier(.3, 1.4, .5, 1); }
.kit-js .lo-welcome.is-visible .lo-hello img { opacity: 1; scale: 1; }
.logodna .lo-welcome-title { font-family: var(--lo-hand); font-weight: 400; font-size: clamp(2.8rem, 10vw, 4rem); line-height: 1.1; color: var(--inv-primary); margin-bottom: 10px; }
.lo-quote-author { font-family: var(--inv-font-heading); font-style: italic; color: var(--inv-primary); }
@media (min-width: 760px) {
    .lo-welcome { grid-template-columns: auto minmax(0, 1fr); gap: 50px; text-align: left; align-items: center; }
    .lo-hello { width: 270px; }
}

/* The couple either side of the crocheted bride and groom */
.lo-couple-grid { display: grid; gap: 22px; justify-items: center; max-width: 980px; margin: 0 auto; }
.lo-person { width: 100%; max-width: 420px; padding: 30px 26px 24px; text-align: center; }
.lo-person-photo { width: 110px; height: 110px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px var(--inv-surface), 0 0 0 5px var(--lo-line); }
.lo-person-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lo-person h3 { font-size: 1.7rem; color: var(--inv-primary); margin-bottom: 8px; }
.lo-person p { color: var(--lo-soft); }
.lo-person p:last-child { margin-bottom: 0; }
.lo-pair { width: min(220px, 56vw); }
.kit-js .lo-couple-grid .lo-person { opacity: 0; translate: 0 20px; transition: opacity .7s ease, translate .9s ease; }
.kit-js .lo-couple-grid .lo-person--2 { transition-delay: .3s; }
.kit-js .lo-couple-grid .lo-pair img { opacity: 0; scale: .85; transition: opacity .8s ease .15s, scale 1.1s cubic-bezier(.3, 1.4, .5, 1) .15s; }
.kit-js .lo-couple-grid.is-visible .lo-person { opacity: 1; translate: 0 0; }
.kit-js .lo-couple-grid.is-visible .lo-pair img { opacity: 1; scale: 1; }
@media (min-width: 900px) {
    .lo-couple-grid { grid-template-columns: minmax(0, 1fr) 240px minmax(0, 1fr); align-items: center; gap: 26px; }
    .lo-pair { width: 240px; }
}

/* Family, beside the gnomes sharing a heart */
.lo-lead { text-align: center; font-family: var(--inv-font-heading); font-style: italic; font-size: 1.25rem; color: var(--lo-soft); max-width: 40ch; margin: 0 auto 22px; }
.lo-family-row { display: grid; gap: 20px; justify-items: center; max-width: 760px; margin: 0 auto; }
.lo-gnomes { width: min(190px, 50vw); }
.lo-family-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; width: 100%; max-width: 440px; }
.lo-family-list .lo-card { padding: 20px 22px; text-align: center; }
.kit-js .lo-family .lo-gnomes img { opacity: 0; translate: 0 20px; transition: opacity .8s ease, translate 1.1s cubic-bezier(.3, 1.3, .5, 1); }
.kit-js .lo-family.is-visible .lo-gnomes img { opacity: 1; translate: 0 0; }
@media (min-width: 760px) {
    .lo-family-row { grid-template-columns: 220px minmax(0, 1fr); align-items: center; gap: 46px; }
    .lo-gnomes { width: 220px; }
    .lo-family-list .lo-card { text-align: left; }
}

/* The story in chapters: each photo tilted a little, pinned with a heart */
.lo-chapters { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; display: grid; gap: clamp(40px, 7vw, 70px); }
.lo-chapter { display: grid; gap: 24px; justify-items: center; text-align: center; }
.lo-snap { position: relative; margin: 0; width: min(380px, 100%); padding: 10px; background: #fff; border-radius: 6px; box-shadow: 0 2px 4px rgba(0, 0, 0, .1), 0 22px 34px -20px rgba(60, 20, 30, .5); rotate: -2deg; }
.lo-chapter:nth-child(even) .lo-snap { rotate: 2deg; }
.lo-snap img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.lo-pin { position: absolute; left: 50%; top: -12px; width: 30px; height: 28px; margin-left: -15px; background: var(--inv-primary); filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .25));
    -webkit-mask: var(--lo-heart) center / 100% 100% no-repeat; mask: var(--lo-heart) center / 100% 100% no-repeat; }
.lo-chapter-text { max-width: 46ch; }
.lo-chapter-text h3 { font-size: clamp(1.6rem, 4.6vw, 2rem); color: var(--inv-primary); margin-bottom: 8px; }
.lo-chapter-text p { color: var(--lo-soft); }
.kit-js .lo-chapter .lo-snap { opacity: 0; translate: 0 26px; transition: opacity .7s ease, translate 1s cubic-bezier(.3, 1.2, .5, 1); }
.kit-js .lo-chapter.is-visible .lo-snap { opacity: 1; translate: 0 0; }
@media (min-width: 760px) {
    .lo-chapter { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; text-align: left; }
    .lo-chapter:nth-child(even) .lo-snap { order: 2; }
}

/* The evening: cards with a little heart at the top */
.lo-moments { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; display: grid; gap: 36px 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.lo-moment { display: grid; justify-items: center; gap: 2px; padding: 40px clamp(20px, 5vw, 32px) 24px; text-align: center; }
.lo-moment-heart { position: absolute; left: 50%; top: -16px; width: 34px; height: 31px; margin-left: -17px; background: var(--inv-primary); -webkit-mask: var(--lo-heart) center / 100% 100% no-repeat; mask: var(--lo-heart) center / 100% 100% no-repeat; }
.kit-js .lo-moment.is-visible .lo-moment-heart { animation: lo-beat 1.4s ease-in-out .3s 2; }
@keyframes lo-beat { 0%, 100% { scale: 1; } 15% { scale: 1.25; } 30% { scale: 1; } 45% { scale: 1.15; } }
.lo-moment-time { font-family: var(--inv-font-heading); font-style: italic; font-size: 2.1rem; line-height: 1; color: var(--inv-primary); margin: 0 0 6px; font-variant-numeric: tabular-nums; }
.lo-moment h3 { font-size: clamp(1.4rem, 4vw, 1.65rem); margin-bottom: 4px; }
.lo-moment-place { font-weight: 600; margin: 0; }
.lo-moment-address, .lo-moment-notes { color: var(--lo-soft); margin: 0; }
.lo-moment-notes { font-style: italic; margin-top: 6px; }
.lo-moment .kit-event-actions { margin-top: 14px; justify-content: center; }
.kit-js .lo-moment { opacity: 0; translate: 0 26px; transition: opacity .7s ease, translate .9s ease; }
.kit-js .lo-moment.is-visible { opacity: 1; translate: 0 0; }
.logodna .kit-button { border-radius: 999px; border: 1px solid var(--inv-primary); color: var(--inv-primary); background: transparent; font-size: .74rem; font-weight: 600; letter-spacing: .08em; padding: 8px 18px; text-decoration: none; }
.logodna .kit-button:hover { background: var(--inv-primary); color: var(--inv-bg); }

/* Countdown: each number in a heart */
.lo-countdown { text-align: center; }
.lo-countdown .kit-countdown { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px clamp(12px, 3.6vw, 28px); margin-top: 36px; }
.lo-countdown .kit-countdown-unit { --lo-cdw: clamp(78px, 20vw, 112px); position: relative; width: var(--lo-cdw); min-width: 0; aspect-ratio: 100 / 92; padding: 0 0 calc(var(--lo-cdw) * .14); display: flex; flex-direction: column; align-items: center; justify-content: center; background: none; isolation: isolate; }
.lo-countdown .kit-countdown-unit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--inv-primary) 40%, #fff), var(--inv-primary) 70%);
    -webkit-mask: var(--lo-heart) center / 100% 100% no-repeat; mask: var(--lo-heart) center / 100% 100% no-repeat; }
.lo-countdown .kit-countdown-value { font-family: var(--inv-font-heading); font-weight: 600; font-size: clamp(1.3rem, 5vw, 1.9rem); line-height: 1; color: var(--inv-bg); font-variant-numeric: tabular-nums; }
.lo-countdown .kit-countdown-label { opacity: .9; color: var(--inv-bg); font-size: .46rem; font-weight: 600; letter-spacing: .05em; margin-top: 3px; }
.kit-js .lo-countdown .kit-countdown-unit { opacity: 0; scale: .6; transition: opacity .5s ease, scale 1s cubic-bezier(.3, 1.6, .5, 1); }
.kit-js .lo-countdown .kit-countdown-unit:nth-child(2) { transition-delay: .12s; }
.kit-js .lo-countdown .kit-countdown-unit:nth-child(3) { transition-delay: .24s; }
.kit-js .lo-countdown .kit-countdown-unit:nth-child(4) { transition-delay: .36s; }
.kit-js .lo-countdown.is-visible .kit-countdown-unit { opacity: 1; scale: 1; }

/* Gallery: soft rounded photos, a little heart sticker on each */
.lo-gallery-grid.kit-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 3vw, 26px); }
.lo-gallery-grid.kit-gallery a { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 22px; overflow: visible; transition: translate .5s ease; }
.lo-gallery-grid.kit-gallery a::after { content: ""; position: absolute; right: -6px; top: -8px; width: 26px; height: 24px; background: var(--inv-primary); rotate: 14deg; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .2));
    -webkit-mask: var(--lo-heart) center / 100% 100% no-repeat; mask: var(--lo-heart) center / 100% 100% no-repeat; }
.lo-gallery-grid.kit-gallery a:hover { translate: 0 -4px; }
.lo-gallery-grid.kit-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 22px; box-shadow: 0 16px 28px -18px rgba(60, 20, 30, .5); }
@media (min-width: 760px) { .lo-gallery-grid.kit-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

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

/* ---------- Footer: the teddy bears under their arch of flowers ---------- */
.lo-footer { text-align: center; padding: clamp(90px, 13vw, 140px) 16px 40px; overflow: hidden; overflow: clip; }
.lo-footer-message { font-family: var(--inv-font-heading); font-style: italic; font-size: 1.25rem; color: var(--lo-soft); max-width: 36ch; margin: 0 auto 6px; }
.logodna .lo-footer-names { font-family: var(--lo-hand); font-size: clamp(3rem, 11vw, 4.6rem); line-height: 1.1; color: var(--inv-primary); margin: 4px 0 10px; }
.lo-hashtag { letter-spacing: .08em; color: var(--inv-primary); overflow-wrap: anywhere; }
.lo-arch { width: min(380px, 86vw); margin: 26px auto 0; }
.kit-js .lo-footer .lo-arch img { opacity: 0; translate: 0 30px; transition: opacity .8s ease .2s, translate 1.1s cubic-bezier(.3, 1.3, .5, 1) .2s; }
.kit-js .lo-footer.is-visible .lo-arch img { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
    .kit-js .lo-heart--hero, .kit-js .lo-balloons img, .kit-js .lo-proposal img, .kit-js .lo-hero-text > *, .kit-js .lo-moment.is-visible .lo-moment-heart { animation: none; }
    .kit-js .lo-title .lo-twin img { clip-path: none; }
    .kit-js .lo-welcome .lo-hello img, .kit-js .lo-couple-grid .lo-person, .kit-js .lo-couple-grid .lo-pair img, .kit-js .lo-family .lo-gnomes img, .kit-js .lo-chapter .lo-snap,
    .kit-js .lo-moment, .kit-js .lo-countdown .kit-countdown-unit, .kit-js .lo-footer .lo-arch img { opacity: 1; translate: 0 0; scale: 1; transition: none; }
}
