/*
 * Template "Lavender Dream" (Pernikahan) — romantic, dreamy and vivid.
 * Deep violet + lavender, a soft-gold accent and a blush glow on a warm lavender-white ground.
 * Real public-domain botanical art (img/, see img/CREDITS.md): a wisteria branch and racemes
 * hang over the top corners, lupine spires rise from the bottom; they sway gently.
 * Deep "photo gradient" bands (quote, countdown, live streaming, closing) alternate with light,
 * lavender-washed sections. Large serif headings (the client's heading font) with one italic
 * colored word, script (the client's display font) only for names, Jost for reading.
 * Colors come from the variant: --inv-primary, --inv-accent, --inv-background, --inv-text,
 * --inv-petal (lavender), --inv-blush (blush glow), --inv-leaf (stems & leaves).
 * Motion: the cover photo fades in with a slight zoom, the text follows; flowers sway slowly;
 * six florets drift once on "Buka Undangan"; gentle fade-up on scroll. All off with "reduce motion".
 * Every class starts with "lv-".
 */

:root {
    --inv-primary: #4a2683;
    --inv-accent: #c9a25a;
    --inv-background: #fbf7fc;
    --inv-text: #2a1a40;
    --inv-petal: #9f7ad8;
    --inv-blush: #e8a9c6;
    --inv-leaf: #5f7d55;
    --inv-radius: 16px;

    --lv-col: 460px;
    /* deep tones for the dark bands */
    --lv-deep: color-mix(in srgb, var(--inv-primary) 78%, #0b0314);
    --lv-night: color-mix(in srgb, var(--inv-primary) 46%, #07020e);
    /* a plum-blush tone for the italic word of the headings */
    --lv-plum: color-mix(in srgb, var(--inv-primary) 62%, var(--inv-blush));
    --lv-gold: var(--inv-accent);
    --lv-gold-light: color-mix(in srgb, var(--inv-accent) 55%, #fff);
    --lv-gold-grad: linear-gradient(135deg, color-mix(in srgb, var(--inv-accent) 45%, #fff3d6) 0%, var(--inv-accent) 48%, color-mix(in srgb, var(--inv-accent) 78%, #5a3d10) 100%);
    --lv-line: color-mix(in srgb, var(--inv-accent) 75%, transparent);
    --lv-soft-line: color-mix(in srgb, var(--inv-accent) 40%, transparent);
    --lv-wash: color-mix(in srgb, var(--inv-petal) 15%, var(--inv-background));
    --lv-on-deep: #fff;
    --lv-on-deep-soft: color-mix(in srgb, #fff 86%, var(--inv-petal));
    --lv-card: #fff;
    --lv-shadow: 0 24px 46px -28px color-mix(in srgb, var(--inv-primary) 65%, transparent);
    --lv-script: var(--inv-font-display, "Great Vibes"), "Pinyon Script", cursive;
    --lv-serif: var(--inv-font-heading, "Cormorant Garamond"), "Cormorant", Georgia, serif;
    --lv-sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.lv-body {
    margin: 0;
    min-height: 100vh;
    background: var(--lv-night);
    color: var(--inv-text);
    font: 400 1rem/1.7 var(--lv-sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; }
p { margin: 0; }
a { color: var(--inv-primary); }

/* ------------------------------------------------------------------ type */

.lv-script {
    margin: 0;
    font-family: var(--lv-script);
    font-weight: 400;
    color: var(--inv-primary);
    line-height: 1.15;
}

.lv-kicker {
    margin: 0;
    font: 500 .72rem/1.4 var(--lv-sans);
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--inv-primary);
}

.lv-title {
    margin: .35rem 0 0;
    font: 500 2.55rem/1.08 var(--lv-serif);
    letter-spacing: .01em;
    color: var(--inv-primary);
}
.lv-title em { font-style: italic; font-weight: 500; color: var(--lv-plum); }

.lv-lead {
    max-width: 34ch;
    margin: 1rem auto 0;
    font-size: .95rem;
    line-height: 1.85;
}

/* ------------------------------------------------------------------ backdrop & column */

.lv-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--inv-petal) 40%, transparent), transparent 45%),
        radial-gradient(circle at 85% 80%, color-mix(in srgb, var(--inv-blush) 30%, transparent), transparent 45%),
        linear-gradient(160deg, var(--lv-deep), var(--lv-night));
    overflow: hidden;
}
.lv-backdrop::before {
    content: "";
    position: absolute;
    inset: -40px;
    background: var(--lv-photo, none) center / cover no-repeat;
    filter: blur(30px) saturate(.9);
    opacity: .35;
}

.lv-page {
    position: relative;
    z-index: 1;
    max-width: var(--lv-col);
    min-height: 100vh;
    margin: 0 auto;
    overflow: clip;
    background:
        radial-gradient(120% 22% at 50% 0%, color-mix(in srgb, var(--inv-petal) 22%, transparent), transparent 70%),
        var(--inv-background);
}
@media (min-width: 520px) {
    .lv-page { box-shadow: 0 0 0 1px color-mix(in srgb, #fff 18%, transparent), 0 30px 80px -20px rgb(0 0 0 / .55); }
}

.lv-page__top {
    position: absolute;
    inset: 0 0 auto;
    height: 300px;
    pointer-events: none;
    z-index: 2;
}

.lv-preview {
    position: fixed;
    inset: 0 0 auto;
    z-index: 60;
    max-width: var(--lv-col);
    margin: 0 auto;
    padding: .35rem .75rem;
    background: var(--lv-deep);
    color: #fff;
    font-size: .72rem;
    text-align: center;
}

/* ------------------------------------------------------------------ botanical art */

.lv-flora {
    position: absolute;
    display: block;
    height: auto;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 10px 14px color-mix(in srgb, var(--inv-primary) 28%, transparent));
}
/* tint the art to the color variant */
.lv-v-wisteria-blue .lv-flora { filter: hue-rotate(-14deg) drop-shadow(0 10px 14px color-mix(in srgb, var(--inv-primary) 28%, transparent)); }
.lv-v-lilac-blush .lv-flora { filter: hue-rotate(14deg) drop-shadow(0 10px 14px color-mix(in srgb, var(--inv-primary) 28%, transparent)); }

/* hanging art sways from its top edge, rising art from its base */
.lv-flora--wis-branch { transform-origin: 0 0; }
.lv-flora--wis-raceme { transform-origin: 30% 0; }
.lv-flora--lupine { transform-origin: 50% 100%; }

.lv-top-branch { top: -14px; left: -9%; width: 50%; }
.lv-top-raceme { top: -20px; right: -3%; width: 26%; scale: -1 1; }

/* divider: a gold line with a star and two lavender buds */
.lv-divider { display: block; width: 190px; max-width: 70%; height: auto; margin: .8rem auto 0; overflow: visible; }
.lv-divider--small { width: 140px; }
.lv-d-line { stroke: var(--lv-line); stroke-width: 1.1; }
.lv-d-dot, .lv-d-star { fill: var(--lv-gold); }
.lv-l1 { fill: var(--inv-primary); }
.lv-l2 { fill: var(--inv-petal); }
.lv-divider--light .lv-d-line { stroke: color-mix(in srgb, var(--lv-gold-light) 80%, transparent); }
.lv-divider--light .lv-d-dot, .lv-divider--light .lv-d-star { fill: var(--lv-gold-light); }
.lv-divider--light .lv-l1 { fill: color-mix(in srgb, var(--inv-petal) 70%, #fff); }
.lv-divider--light .lv-l2 { fill: color-mix(in srgb, var(--inv-blush) 70%, #fff); }

.lv-sparkles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.lv-sparkle {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 8px 2px color-mix(in srgb, var(--inv-petal) 80%, transparent);
    opacity: .7;
}
.lv-sparkle--star {
    width: 10px;
    height: 10px;
    border-radius: 0;
    background: var(--lv-gold-light);
    box-shadow: none;
    clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}

.lv-icon { width: 1.1rem; height: 1.1rem; flex: none; }

/* ------------------------------------------------------------------ motion (only when the visitor allows it) */

@keyframes lv-sway { from { rotate: -1.8deg; } to { rotate: 1.8deg; } }
@keyframes lv-rise-sway { from { rotate: -1.2deg; } to { rotate: 1.4deg; } }
@keyframes lv-twinkle { 0%, 100% { opacity: .2; transform: scale(.6); } 50% { opacity: .95; transform: scale(1); } }
@keyframes lv-hang-in { from { opacity: 0; translate: 0 -24px; } to { opacity: 1; translate: 0 0; } }
@keyframes lv-grow-in { from { opacity: 0; translate: 0 30px; } to { opacity: 1; translate: 0 0; } }
@keyframes lv-photo-in { from { opacity: 0; transform: scale(1.08); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes lv-halo { from { opacity: .7; transform: scale(.97); } to { opacity: 1; transform: scale(1.03); } }

html.inv-anim .lv-flora--wis-branch, html.inv-anim .lv-flora--wis-raceme { animation: lv-sway 7.5s ease-in-out infinite alternate; }
html.inv-anim .lv-flora--wis-raceme { animation-duration: 6.2s; animation-delay: -2.4s; }
html.inv-anim .lv-flora--lupine { animation: lv-rise-sway 6.8s ease-in-out infinite alternate; }
html.inv-anim .lv-cover__lupine--right, html.inv-anim .lv-closing__lupine--right { animation-delay: -3.1s; }
html.inv-anim .lv-sparkle { animation: lv-twinkle 4.2s ease-in-out var(--lv-delay, 0s) infinite; }

/* cover: one opening moment — the photo fades in with a slight zoom while the flowers settle */
html.inv-anim .lv-cover__oval { animation: lv-photo-in 1.6s cubic-bezier(.2, .7, .2, 1) .1s both; }
html.inv-anim .lv-cover__branch, html.inv-anim .lv-cover__raceme {
    animation: lv-hang-in 1.5s cubic-bezier(.2, .7, .2, 1) both, lv-sway 7.5s ease-in-out 1.5s infinite alternate;
}
html.inv-anim .lv-cover__raceme { animation-delay: .15s, 1.6s; }
html.inv-anim .lv-cover__lupine {
    animation: lv-grow-in 1.5s cubic-bezier(.2, .7, .2, 1) .2s both, lv-rise-sway 6.8s ease-in-out 1.7s infinite alternate;
}
html.inv-anim .lv-cover__lupine--right { animation-delay: .35s, 1.9s; }
html.inv-anim .lv-oval__halo { animation: lv-halo 5s ease-in-out infinite alternate; }

/* the heading divider draws out from its star once the heading turns into view */
html.inv-anim .lv-heading .lv-d-line { stroke-dasharray: 76; stroke-dashoffset: 76; transition: stroke-dashoffset 1.2s cubic-bezier(.2, .7, .2, 1) .45s; }
html.inv-anim .is-revealed .lv-heading .lv-d-line, html.inv-anim .lv-heading.is-revealed .lv-d-line { stroke-dashoffset: 0; }
/* the moment numbers pop in after their row */
html.inv-anim .lv-moment .lv-moment__num { transform: scale(.3); transition: transform .8s cubic-bezier(.34, 1.56, .64, 1) .55s; }
html.inv-anim .is-revealed .lv-moment__num { transform: none; }

/* six lavender florets drift down once after "Buka Undangan", then stop */
.lv-drift { display: none; position: fixed; top: 0; left: 50%; z-index: 35; width: min(100%, var(--lv-col)); height: 100vh; transform: translateX(-50%); overflow: hidden; pointer-events: none; }
html.inv-anim .lv-drift { display: block; }
.lv-drift i {
    position: absolute; top: -30px; left: var(--x); width: 9px; height: 13px; opacity: 0;
    border-radius: 60% 60% 50% 50% / 70% 70% 40% 40%;
    background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--lv-petal-c, var(--inv-petal)) 45%, #fff), var(--lv-petal-c, var(--inv-petal)));
}
.lv-drift.is-go i { animation: lv-floret var(--d) cubic-bezier(.3, .2, .5, 1) var(--delay) forwards; }
.lv-drift i:nth-child(1) { --x: 10%; --d: 4.8s; --delay: .1s; }
.lv-drift i:nth-child(2) { --x: 28%; --d: 5.6s; --delay: .55s; --lv-petal-c: var(--inv-blush); }
.lv-drift i:nth-child(3) { --x: 47%; --d: 4.4s; --delay: .3s; --lv-petal-c: var(--inv-primary); }
.lv-drift i:nth-child(4) { --x: 63%; --d: 5.2s; --delay: .75s; }
.lv-drift i:nth-child(5) { --x: 79%; --d: 5s; --delay: .4s; --lv-petal-c: var(--inv-blush); }
.lv-drift i:nth-child(6) { --x: 91%; --d: 5.8s; --delay: .95s; --lv-petal-c: var(--inv-primary); }
@keyframes lv-floret {
    0% { opacity: 0; transform: translate(0, 0) rotate(0deg); }
    10% { opacity: .9; }
    85% { opacity: .8; }
    100% { opacity: 0; transform: translate(40px, 105vh) rotate(320deg); }
}

@media (prefers-reduced-motion: reduce) {
    .lv-flora, .lv-sparkle, .lv-cover__oval, .lv-oval__halo { animation: none !important; }
    .lv-drift { display: none !important; }
    html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------------ oval frame (photos) */

.lv-oval {
    position: relative;
    width: 180px;
    aspect-ratio: 3 / 4;
    margin: 0 auto;
}
.lv-oval::before, .lv-oval::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.lv-oval::before { inset: -9px; border: 1.5px solid var(--lv-line); }
.lv-oval::after { inset: -17px; border: 1px solid var(--lv-soft-line); }
/* a soft lavender + blush glow behind the photo */
.lv-oval__halo {
    position: absolute;
    inset: -34px;
    border-radius: 50%;
    background:
        radial-gradient(closest-side, color-mix(in srgb, var(--inv-petal) 60%, transparent), transparent),
        radial-gradient(closest-side at 70% 80%, color-mix(in srgb, var(--inv-blush) 55%, transparent), transparent);
    filter: blur(14px);
    pointer-events: none;
}
.lv-oval__photo {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 22px 40px -20px color-mix(in srgb, var(--inv-primary) 80%, transparent);
}
.lv-oval__photo--empty {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 30% 25%, color-mix(in srgb, #fff 70%, transparent), transparent 45%),
        linear-gradient(160deg, color-mix(in srgb, var(--inv-petal) 55%, #fff), var(--inv-primary));
    color: #fff;
    font: 400 4rem/1 var(--lv-script);
}

/* ------------------------------------------------------------------ cover */

.lv-cover {
    position: fixed;
    inset: 0;
    z-index: 50;
    width: 100%;
    max-width: var(--lv-col);
    margin: 0 auto;
    display: flex;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--lv-night);
    color: var(--lv-on-deep);
    text-align: center;
}
/* a deep violet night sky: the cover photo blurred into it, lavender and blush glows */
.lv-cover__sky {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background:
        radial-gradient(60% 34% at 50% 34%, color-mix(in srgb, var(--inv-petal) 48%, transparent), transparent 72%),
        radial-gradient(55% 30% at 100% 100%, color-mix(in srgb, var(--inv-blush) 34%, transparent), transparent 70%),
        radial-gradient(50% 30% at 0% 70%, color-mix(in srgb, var(--inv-primary) 70%, transparent), transparent 70%),
        linear-gradient(180deg, var(--lv-deep) 0%, color-mix(in srgb, var(--lv-deep) 60%, var(--lv-night)) 55%, var(--lv-night) 100%);
}
.lv-cover__sky::before {
    content: "";
    position: absolute;
    inset: -30px;
    background: var(--lv-photo, none) center / cover no-repeat;
    filter: blur(22px) saturate(1.1);
    opacity: .3;
    mix-blend-mode: screen;
}
.lv-cover__flora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.lv-cover__flora .lv-flora { filter: drop-shadow(0 12px 18px rgb(0 0 0 / .4)); }
.lv-v-wisteria-blue .lv-cover__flora .lv-flora { filter: hue-rotate(-14deg) drop-shadow(0 12px 18px rgb(0 0 0 / .4)); }
.lv-v-lilac-blush .lv-cover__flora .lv-flora { filter: hue-rotate(14deg) drop-shadow(0 12px 18px rgb(0 0 0 / .4)); }
.lv-cover__branch { top: -4%; left: -15%; width: 46%; }
.lv-cover__raceme { top: -4%; right: -8%; width: 24%; scale: -1 1; }
.lv-cover__lupine { bottom: -6%; width: 40%; }
.lv-cover__lupine--left { left: -17%; }
.lv-cover__lupine--right { right: -17%; scale: -1 1; }

.lv-cover__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100svh;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: calc(clamp(3.6rem, 10svh, 7rem) + env(safe-area-inset-top)) 1.5rem calc(clamp(1.75rem, 4.5svh, 3.5rem) + env(safe-area-inset-bottom));
}
.lv-cover .lv-kicker { color: var(--lv-gold-light); }
.lv-cover__title { letter-spacing: .4em; text-shadow: 0 1px 10px rgb(0 0 0 / .45); }
.lv-cover__oval {
    width: auto;
    height: clamp(130px, 27svh, 250px);
    margin: clamp(1rem, 2.6svh, 1.8rem) auto clamp(1.3rem, 2.8svh, 1.6rem);
}
.lv-cover__oval::before { border-color: color-mix(in srgb, var(--lv-gold-light) 85%, transparent); box-shadow: 0 0 18px -2px color-mix(in srgb, var(--inv-accent) 60%, transparent); }
.lv-cover__oval::after { border-color: color-mix(in srgb, var(--lv-gold-light) 45%, transparent); }
.lv-cover__oval .lv-oval__photo--empty { font-size: clamp(2.2rem, 7svh, 3.4rem); white-space: nowrap; }
.lv-cover__oval .lv-oval__photo { border-color: color-mix(in srgb, #fff 90%, var(--inv-petal)); box-shadow: 0 24px 50px -16px rgb(0 0 0 / .6); }

.lv-monogram {
    position: absolute;
    left: 50%;
    bottom: -14px;
    translate: -50% 0;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .2rem .95rem;
    border: 1px solid var(--lv-line);
    border-radius: 999px;
    background: var(--lv-night);
    color: var(--lv-gold-light);
    font: 600 1rem/1.4 var(--lv-serif);
    letter-spacing: .14em;
    white-space: nowrap;
    z-index: 1;
    box-shadow: 0 6px 16px -6px rgb(0 0 0 / .5);
}
.lv-monogram i { font: 400 1.05rem/1 var(--lv-script); color: var(--lv-gold); letter-spacing: 0; }

.lv-cover__names {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0 .6rem;
    font-size: clamp(2.8rem, 12.5vw, 3.6rem);
    color: #fff;
    text-shadow: 0 2px 18px color-mix(in srgb, var(--inv-petal) 60%, transparent), 0 1px 2px rgb(0 0 0 / .35);
}
.lv-cover__amp { font-size: .7em; color: var(--lv-gold-light); }
.lv-cover__date {
    display: inline-block;
    margin-top: .6rem;
    padding: .28rem 1.1rem;
    border-block: 1px solid color-mix(in srgb, var(--lv-gold-light) 70%, transparent);
    font: 600 1.06rem/1.4 var(--lv-serif);
    letter-spacing: .08em;
    color: var(--lv-gold-light);
}
.lv-cover__quote {
    max-width: 32ch;
    margin: .9rem auto 0;
    font: italic 400 1rem/1.55 var(--lv-serif);
    color: var(--lv-on-deep-soft);
    text-shadow: 0 1px 8px rgb(0 0 0 / .5);
}
.lv-cover__guest {
    width: 100%;
    max-width: 280px;
    margin: 1.3rem auto 0;
    padding: .8rem 1rem .85rem;
    border: 1px solid color-mix(in srgb, var(--lv-gold-light) 60%, transparent);
    border-radius: 16px;
    outline: 1px solid color-mix(in srgb, var(--lv-gold-light) 22%, transparent);
    outline-offset: -6px;
    background: color-mix(in srgb, var(--lv-night) 55%, transparent);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.lv-cover__guest-label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--lv-gold-light); }
.lv-cover__guest-name { display: block; margin-top: .15rem; font: 600 1.3rem/1.3 var(--lv-serif); color: #fff; overflow-wrap: anywhere; }

.lv-open.inv-button, .lv-button--gold.inv-button {
    margin-top: 1.3rem;
    padding: .85rem 1.7rem;
    background: var(--lv-gold-grad);
    color: var(--lv-night);
    font: 600 .86rem/1 var(--lv-sans);
    letter-spacing: .08em;
    box-shadow: 0 14px 28px -12px color-mix(in srgb, var(--inv-accent) 70%, transparent), inset 0 1px 0 rgb(255 255 255 / .45);
}
.lv-open .lv-icon { width: 1.15rem; height: 1.15rem; }

.lv-cover--leave { transition: opacity 1s ease, transform 1.1s cubic-bezier(.6, 0, .3, 1), filter 1s ease; }
.lv-cover--gone { opacity: 0; transform: translateY(-5%) scale(1.04); filter: blur(6px); }

/* fit: the whole cover fits one phone screen */
.lv-cover__quote { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-height: 760px) {
    .lv-cover__branch { width: 41%; }
    .lv-cover__raceme { width: 22%; }
    .lv-cover__lupine { width: 35%; }
    .lv-cover__oval { height: clamp(130px, 25svh, 250px); }
    .lv-cover__names { font-size: clamp(2.5rem, 11vw, 3rem); }
    .lv-cover__date { margin-top: .3rem; font-size: .98rem; }
    .lv-cover__quote { margin-top: .6rem; font-size: .92rem; line-height: 1.5; }
    .lv-cover__guest { margin-top: .9rem; padding: .6rem 1rem .65rem; }
    .lv-cover__guest-name { font-size: 1.18rem; }
    .lv-open.inv-button { margin-top: .9rem; }
}
@media (max-height: 660px) {
    .lv-cover__branch { width: 37%; }
    .lv-cover__raceme { width: 19%; }
    .lv-cover__lupine { width: 31%; }
    .lv-cover__oval { height: clamp(116px, 22svh, 250px); }
    .lv-cover__names { font-size: clamp(2.2rem, 10vw, 2.6rem); }
    .lv-cover__quote { font-size: .86rem; line-height: 1.45; }
    .lv-open.inv-button { margin-top: .7rem; padding: .75rem 1.5rem; }
}
@media (max-height: 580px) {
    .lv-cover__inner { padding-top: calc(2.6rem + env(safe-area-inset-top)); padding-bottom: calc(1.4rem + env(safe-area-inset-bottom)); }
    .lv-cover__oval { height: clamp(100px, 19svh, 250px); margin: .7rem auto 1.1rem; }
    .lv-cover__names { font-size: 2.15rem; }
    .lv-cover__quote { margin-top: .4rem; font-size: .82rem; line-height: 1.4; }
    .lv-cover__guest { margin-top: .6rem; padding: .45rem 1rem .5rem; }
    .lv-cover__guest-label { font-size: .66rem; }
    .lv-cover__guest-name { font-size: 1.08rem; }
    .lv-open.inv-button { margin-top: .6rem; padding: .7rem 1.4rem; }
}

/* ------------------------------------------------------------------ sections & headings */

.lv-main { position: relative; z-index: 1; }
.lv-section {
    position: relative;
    padding: 4.25rem 1.4rem 1.25rem;
    text-align: center;
}
.lv-section > :where(:not(.lv-flora, .lv-bgphoto, .lv-sparkles, .lv-closing__photo)) { position: relative; z-index: 1; }
.lv-main > .lv-section:first-child { padding-top: 13rem; }

.lv-heading { position: relative; margin-bottom: 1.6rem; }
/* a soft lavender glow behind the heading */
.lv-heading__glow {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 260px;
    height: 120px;
    translate: -50% -50%;
    border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--inv-petal) 30%, transparent), transparent);
    filter: blur(6px);
    z-index: -1;
    pointer-events: none;
}
.lv-heading--light .lv-kicker { color: var(--lv-gold-light); }
.lv-heading--light .lv-title { color: #fff; }
.lv-heading--light .lv-title em { color: var(--lv-gold-light); }
.lv-heading--light .lv-heading__glow { background: radial-gradient(closest-side, color-mix(in srgb, var(--inv-petal) 38%, transparent), transparent); }

/* light sections with a lavender wash (full width of the column) */
.lv-wash {
    margin-top: 3rem;
    padding-bottom: 3.5rem;
    background:
        radial-gradient(70% 40% at 0% 0%, color-mix(in srgb, var(--inv-petal) 22%, transparent), transparent 70%),
        radial-gradient(70% 40% at 100% 100%, color-mix(in srgb, var(--inv-blush) 24%, transparent), transparent 70%),
        var(--lv-wash);
}

/* deep bands: a soft arch on top, white text */
.lv-band {
    margin-top: 3.5rem;
    padding: 5rem 1.4rem 4.25rem;
    border-radius: 50% 50% 0 0 / 44px 44px 0 0;
    color: var(--lv-on-deep);
    background:
        radial-gradient(80% 40% at 50% 0%, color-mix(in srgb, var(--inv-petal) 40%, transparent), transparent 70%),
        linear-gradient(180deg, var(--lv-deep), var(--lv-night));
    overflow: hidden;
}
.lv-band--glow {
    background:
        radial-gradient(70% 34% at 0% 20%, color-mix(in srgb, var(--inv-petal) 38%, transparent), transparent 70%),
        radial-gradient(70% 34% at 100% 85%, color-mix(in srgb, var(--inv-blush) 30%, transparent), transparent 70%),
        linear-gradient(180deg, var(--lv-deep), var(--lv-night));
}
.lv-band + .lv-section:not(.lv-band):not(.lv-wash) { padding-top: 4.5rem; }

/* photo gradient: a client photo behind a strong violet gradient (falls back to the band's own gradient) */
.lv-bgphoto { position: absolute !important; inset: 0; z-index: 0 !important; overflow: hidden; border-radius: inherit; }
.lv-bgphoto img { position: absolute; left: 0; top: -40px; width: 100%; height: calc(100% + 80px); object-fit: cover; opacity: .7; filter: saturate(.9); }
.lv-bgphoto::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(80% 50% at 50% 0%, color-mix(in srgb, var(--inv-petal) 28%, transparent), transparent 70%),
        linear-gradient(180deg, color-mix(in srgb, var(--lv-deep) 90%, transparent), color-mix(in srgb, var(--lv-deep) 78%, transparent) 45%, color-mix(in srgb, var(--lv-night) 94%, transparent));
}
.lv-band .lv-flora { z-index: 0; }

.lv-card {
    position: relative;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--inv-petal) 38%, transparent);
    border-radius: 22px;
    background: var(--lv-card);
    box-shadow: var(--lv-shadow);
}

/* buttons of the shared components */
.inv-button {
    background: linear-gradient(135deg, var(--inv-primary), var(--lv-deep));
    font: 500 .85rem/1.2 var(--lv-sans);
    letter-spacing: .04em;
}
.inv-button--outline {
    background: #fff;
    color: var(--inv-primary);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-primary) 60%, transparent);
}
.lv-band .inv-button--outline {
    background: color-mix(in srgb, #fff 8%, transparent);
    color: #fff;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lv-gold-light) 75%, transparent);
}

/* ------------------------------------------------------------------ opening */

.lv-arabic {
    font: 400 1.85rem/1.9 "Amiri", serif;
    color: var(--inv-primary);
}
.lv-opening__greeting {
    margin-top: .8rem;
    font: italic 600 1.3rem/1.45 var(--lv-serif);
    color: var(--inv-primary);
}
/* a faint client photo behind the opening text under a lavender glow (strongest behind the text column);
   without a photo only the glow gradient shows */
.lv-opening {
    background:
        radial-gradient(70% 30% at 100% 30%, color-mix(in srgb, var(--inv-petal) 22%, transparent), transparent 70%),
        radial-gradient(70% 30% at 0% 60%, color-mix(in srgb, var(--inv-blush) 22%, transparent), transparent 70%),
        linear-gradient(180deg, var(--inv-background), var(--lv-wash) 55%, var(--inv-background));
}
.lv-bgphoto--soft { border-radius: 0; }
.lv-bgphoto--soft img { opacity: .36; filter: saturate(.8) blur(1px); }
.lv-bgphoto--soft::after {
    background:
        radial-gradient(62% 22% at 50% 40%, color-mix(in srgb, var(--inv-background) 80%, transparent), transparent 100%),
        linear-gradient(180deg, var(--inv-background) 0%, color-mix(in srgb, var(--inv-background) 45%, transparent) 30%, color-mix(in srgb, var(--lv-wash) 25%, transparent) 60%, color-mix(in srgb, var(--inv-background) 70%, transparent) 100%);
}
/* the quote: a deep violet arch over a client photo, a lupine spire rising beside it */
.lv-quote {
    position: relative;
    margin: 2.6rem .2rem 0;
    border-radius: 170px 170px 26px 26px;
    color: var(--lv-on-deep);
    background:
        radial-gradient(80% 50% at 50% 0%, color-mix(in srgb, var(--inv-petal) 40%, transparent), transparent 70%),
        linear-gradient(180deg, var(--lv-deep), var(--lv-night));
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--inv-accent) 55%, transparent), 0 0 0 7px var(--inv-background), 0 0 0 8px var(--lv-soft-line), var(--lv-shadow);
}
.lv-quote__body { position: relative; z-index: 1; padding: 3rem 1.5rem 2rem; }
.lv-quote .lv-divider { margin: 0 auto 1rem; }
.lv-quote blockquote { margin: 0; font: italic 400 1.14rem/1.65 var(--lv-serif); }
.lv-quote figcaption { margin-top: .9rem; font: 500 .72rem/1.4 var(--lv-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--lv-gold-light); }
.lv-quote__lupine { left: -17%; bottom: -30px; width: 27%; z-index: 2 !important; }

/* ------------------------------------------------------------------ couple */

.lv-couple { padding-bottom: 1rem; }
.lv-person { margin: 1.6rem auto 0; }
.lv-person__oval { width: 176px; margin-bottom: 1.8rem; }
.lv-person__raceme { top: -30px; right: -56px; width: 74px; z-index: 2; }
.lv-person__raceme--flip { right: auto; left: -56px; scale: -1 1; }
.lv-person__initial { font-size: 4.5rem; }
/* the nickname on a soft blush glow */
.lv-person__nick {
    display: inline-block;
    padding: .1rem 1.4rem .25rem;
    font-size: 3rem;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--inv-blush) 45%, transparent), transparent);
}
.lv-person__name { margin: .1rem 0 0; font: 600 1.4rem/1.35 var(--lv-serif); color: var(--inv-text); }
.lv-person__parents { margin-top: .5rem; font-size: .92rem; line-height: 1.6; }
.lv-person__parents span { display: block; font-style: italic; color: color-mix(in srgb, var(--inv-text) 80%, var(--inv-primary)); }
.lv-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .9rem;
    padding: .45rem 1rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-primary) 45%, transparent);
    color: var(--inv-primary);
    font-size: .82rem;
    font-weight: 500;
    text-decoration: none;
}
.lv-couple__amp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 1.2rem;
}
.lv-couple__amp .lv-script { font-size: 3.4rem; color: var(--lv-gold); line-height: 1; }
.lv-couple__line { width: 64px; height: 1px; background: linear-gradient(90deg, transparent, var(--lv-line)); }
.lv-couple__line:last-child { background: linear-gradient(90deg, var(--lv-line), transparent); }

/* ------------------------------------------------------------------ countdown (deep band) */

.lv-band__raceme { top: -8px; left: -3%; width: 21%; }
.lv-band__raceme--right { left: auto; right: -3%; scale: -1 1; }
.lv-countdown .lv-heading { margin-bottom: 1.4rem; }

/* the month on a white paper card with a lavender washi tape; the wedding day circled in gold */
.lv-cal {
    --inv-cal-bg: #fff;
    --inv-cal-text: var(--inv-text);
    --inv-cal-mark: var(--inv-primary);
    position: relative; max-width: 21rem; margin: .4rem auto 1.7rem; padding: 1.5rem 1.1rem 1rem; text-align: left;
    border-radius: 12px; rotate: -.7deg; color: var(--inv-text);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--inv-accent) 40%, transparent), 0 26px 46px -24px rgb(0 0 0 / .65);
}
.lv-cal::before {
    content: ""; position: absolute; top: -.7rem; left: 50%; width: 5.4rem; height: 1.45rem; translate: -50% 0; rotate: -3deg;
    background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--inv-petal) 70%, transparent) 0 5px, color-mix(in srgb, var(--inv-blush) 60%, transparent) 5px 10px);
}
.lv-cal .inv-cal__month { font: 400 2.4rem/1 var(--lv-script); color: var(--inv-primary); }
.lv-cal .inv-cal__year { font: 500 .78rem/1 var(--lv-sans); letter-spacing: .2em; color: var(--inv-text); }
.lv-cal .inv-cal__dow { font-family: var(--lv-sans); font-weight: 500; color: color-mix(in srgb, var(--inv-text) 80%, transparent); }
.lv-cal .inv-cal__grid > :nth-child(7n + 1) { color: var(--inv-primary); }
.lv-cal .inv-cal__day { font: 600 1.08rem/1 var(--lv-serif); }
.lv-cal .inv-cal__circle { color: var(--lv-gold); }
.lv-cal .inv-cal__note { font: italic 600 1.02rem/1.4 var(--lv-serif); color: var(--inv-primary); }

.inv-countdown { gap: .5rem; }
.inv-countdown__item {
    flex: 1;
    min-width: 0;
    max-width: 4.6rem;
    padding: .8rem .25rem .65rem;
    border-radius: 40px 40px 14px 14px;
    background: color-mix(in srgb, #fff 9%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lv-gold-light) 55%, transparent), 0 14px 24px -16px rgb(0 0 0 / .6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.inv-countdown__value { font: 600 1.85rem/1 var(--lv-serif); color: var(--lv-gold-light); }
.inv-countdown__label { margin-top: .3rem; font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.inv-countdown__done { font: italic 1.1rem/1.6 var(--lv-serif); color: #fff; }
.inv-countdown__actions { margin-top: 1.4rem; }
.inv-countdown__actions .inv-button { padding: .6rem 1rem; font-size: .76rem; }

/* ------------------------------------------------------------------ events */

.lv-events__lupine { top: -1.6rem; left: -19%; width: 30%; z-index: 0 !important; }
.lv-event {
    margin-top: 1.7rem; overflow: hidden; border-radius: 34px;
    background: var(--lv-card);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--inv-petal) 40%, transparent), var(--lv-shadow);
}
.lv-event__band {
    position: relative;
    padding: 1rem 1rem 1.15rem; border-radius: 34px 34px 0 0;
    background:
        radial-gradient(70% 90% at 50% 0%, color-mix(in srgb, var(--inv-petal) 45%, transparent), transparent 70%),
        linear-gradient(160deg, var(--inv-primary), var(--lv-night));
}
.lv-divider--light { margin: 0 auto .1rem; }
.lv-event__name { font-size: 2.6rem; color: #fff; }
.lv-event__body { padding: 1.3rem 1.3rem 1.6rem; font-size: .92rem; line-height: 1.55; }
.lv-event__body .lv-icon { vertical-align: -.18em; }
.lv-event__time { font: 600 .88rem/1.5 var(--lv-sans); letter-spacing: .06em; color: var(--inv-primary); }
.lv-event__date { margin-top: .15rem; font: 600 1.3rem/1.35 var(--lv-serif); color: var(--inv-text); }
.lv-event__photo {
    width: 72%; aspect-ratio: 4 / 3; margin: 1.1rem auto 0; border-radius: 999px 999px 16px 16px;
    background: var(--lv-photo) center / cover no-repeat;
    box-shadow: 0 0 0 4px #fff, 0 0 0 5.5px var(--lv-line), 0 18px 30px -18px color-mix(in srgb, var(--inv-primary) 70%, transparent);
}
.lv-event__place {
    max-width: 20rem; margin: 1.2rem auto 0; padding: .9rem .9rem 1rem; border-radius: 20px;
    background: color-mix(in srgb, var(--inv-petal) 10%, #fff);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-petal) 40%, transparent);
}
.lv-event__place .lv-icon { display: block; width: 1.4rem; height: 1.4rem; margin: 0 auto .3rem; color: var(--lv-gold); }
.lv-event__venue { display: block; font: 600 1.2rem/1.35 var(--lv-serif); color: var(--inv-text); }
.lv-event__address { display: block; margin-top: .15rem; font-size: .87rem; }
.lv-event__dress { margin-top: .85rem; font-size: .88rem; }
.lv-event__dress em { font-style: normal; font-weight: 500; }
.lv-event .inv-maps { margin-top: 1.1rem; }
.inv-maps { text-align: center; }

/* ------------------------------------------------------------------ love story: compact zig-zag */

.lv-timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.lv-timeline::before {
    content: ""; position: absolute; left: 50%; top: .4rem; bottom: .4rem; width: 1.5px; translate: -50% 0;
    background: linear-gradient(180deg, var(--lv-gold), var(--inv-petal) 70%, transparent);
}
.lv-moment { position: relative; display: grid; grid-template-columns: 1fr 2.4rem 1fr; column-gap: .7rem; align-items: start; }
.lv-moment + .lv-moment { margin-top: 1.8rem; }
.lv-moment__num {
    grid-column: 2; grid-row: 1; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
    background: linear-gradient(160deg, var(--inv-primary), var(--lv-night));
    box-shadow: 0 0 0 3px var(--inv-background), 0 0 0 4px var(--lv-line);
    font: 600 .8rem/1 var(--lv-sans); letter-spacing: .04em; color: var(--lv-gold-light);
}
.lv-moment__text { grid-column: 1; grid-row: 1; text-align: right; }
.lv-moment__side { grid-column: 3; grid-row: 1; text-align: left; }
.lv-moment--flip .lv-moment__text { grid-column: 3; text-align: left; }
.lv-moment--flip .lv-moment__side { grid-column: 1; text-align: right; }
.lv-moment__title { margin: 0; padding-bottom: .3rem; font: 600 1.25rem/1.25 var(--lv-serif); color: var(--inv-primary); border-bottom: 1.5px dotted var(--lv-line); }
.lv-moment__story { margin-top: .45rem; font-size: .88rem; line-height: 1.55; }
.lv-moment__date { font-size: 1.6rem; line-height: 1.15; color: var(--lv-plum); }
.lv-moment__photo {
    display: inline-block; width: min(100%, 8rem); aspect-ratio: 1; margin-top: .5rem; object-fit: cover; border-radius: 50%;
    border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--lv-line), var(--lv-shadow);
}

/* ------------------------------------------------------------------ gallery: slider on a deep band */

.lv-gallery__branch { top: -12px; left: -14%; width: 42%; }
.lv-gallery .inv-gallery-slider { grid-template-columns: minmax(0, 1fr); }
.lv-gallery .inv-gallery-slider__thumb { width: 4rem; aspect-ratio: 3 / 4; border-radius: 40px 40px 8px 8px; }
.lv-gallery .inv-gallery-slider__thumb.is-active { border-color: var(--lv-gold-light); }
.lv-gallery .inv-gallery-slider__arrow { background: color-mix(in srgb, #fff 12%, transparent); color: #fff; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lv-gold-light) 70%, transparent); }
.lv-gallery .inv-gallery-slider__stage {
    border-radius: 999px 999px 22px 22px / 150px 150px 22px 22px;
    box-shadow: 0 0 0 5px color-mix(in srgb, #fff 92%, var(--inv-petal)), 0 0 0 6.5px var(--lv-line), 0 30px 50px -24px rgb(0 0 0 / .7);
    margin: 0 .3rem;
}
.lv-gallery .inv-gallery-slider__count { background: color-mix(in srgb, var(--lv-night) 80%, transparent); font-family: var(--lv-sans); }

/* ------------------------------------------------------------------ live streaming: a deep photo-gradient card */

.lv-live__card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    color: var(--lv-on-deep);
    background: linear-gradient(160deg, var(--lv-deep), var(--lv-night));
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--inv-accent) 50%, transparent), var(--lv-shadow);
}
.lv-live__body { position: relative; z-index: 1; padding: 2rem 1.4rem 1.9rem; }
.lv-live__icon {
    display: inline-grid;
    place-items: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: var(--lv-gold-grad);
    color: var(--lv-night);
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--inv-accent) 22%, transparent);
}
.lv-live__icon .lv-icon { width: 1.5rem; height: 1.5rem; }
.lv-live__text { margin: 1rem 0 0; font-size: .95rem; }
.lv-live__text strong { color: var(--lv-gold-light); }
.lv-live__note { margin-top: .4rem; font: italic 1.05rem/1.5 var(--lv-serif); color: var(--lv-on-deep-soft); }
.lv-live__card .inv-button { margin-top: 1.2rem; }

/* ------------------------------------------------------------------ gift: bank cards */

.lv-gift__raceme { top: -.5rem; right: -7%; width: 58px; scale: -1 1; z-index: 0 !important; }
.inv-gift { display: grid; gap: .9rem; margin-top: 1.6rem; }
/* compact cards, two per row; an odd last card spans the row */
.inv-gift__accounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.inv-gift__account + .inv-gift__account { margin-top: 0; }
.inv-gift__accounts > .inv-gift__account:last-child:nth-child(odd) { grid-column: 1 / -1; }
.inv-gift__account:not(.inv-gift__address) {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: .8rem;
    border-radius: 14px;
    text-align: left;
    color: #fff;
    background:
        radial-gradient(circle at 88% 12%, rgb(255 255 255 / .2), transparent 38%),
        radial-gradient(circle at 0% 110%, color-mix(in srgb, var(--inv-petal) 60%, transparent), transparent 55%),
        linear-gradient(135deg, var(--inv-primary) 0%, var(--lv-night) 100%);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--inv-accent) 35%, transparent), 0 16px 28px -18px color-mix(in srgb, var(--inv-primary) 90%, transparent);
}
/* the EMV chip, in the flow under the logo */
.inv-gift__account:not(.inv-gift__address)::before {
    content: "";
    order: 1;
    flex: none;
    width: 2.25rem;
    height: 1.7rem;
    margin-top: .6rem;
    border-radius: .35rem;
    background:
        linear-gradient(90deg, transparent 31%, rgb(90 70 20 / .3) 32% 34%, transparent 35% 65%, rgb(90 70 20 / .3) 66% 68%, transparent 69%),
        linear-gradient(0deg, transparent 46%, rgb(90 70 20 / .3) 47% 53%, transparent 54%),
        linear-gradient(135deg, #f6e3ad, #c9a457 50%, #f1d996);
    box-shadow: inset 0 0 0 1px rgb(90 70 20 / .25);
}
/* soft rings, like a watermark */
.inv-gift__account:not(.inv-gift__address)::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -40px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 1px solid rgb(255 255 255 / .25);
    box-shadow: 0 0 0 14px rgb(255 255 255 / .06), 0 0 0 28px rgb(255 255 255 / .04);
    pointer-events: none;
}
.inv-gift__bank {
    display: flex;
    align-items: center;
    max-width: 100%;
    min-height: 1.5rem;
    margin: 0;
    font: 600 1rem/1.2 var(--lv-serif);
    letter-spacing: .04em;
    overflow-wrap: anywhere;
}
.inv-gift__account:not(.inv-gift__address) .inv-gift__logo { height: 1.5rem; padding: .2rem .45rem; border-radius: .4rem; }
.inv-gift__account:not(.inv-gift__address) .inv-gift__logo img { max-width: 5rem; }
.inv-gift__number {
    order: 2;
    max-width: 100%;
    margin: .55rem 0 .2rem;
    font: 500 1rem/1.3 var(--lv-sans);
    letter-spacing: .1em;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 1px 2px rgb(0 0 0 / .2);
    overflow-wrap: anywhere;
}
.inv-gift__holder {
    order: 3;
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin: 0;
    font-size: .6rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: .12em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}
.inv-gift__account:not(.inv-gift__address) .inv-button {
    order: 4;
    position: relative;
    z-index: 1;
    margin-top: .65rem;
    padding: .35rem .7rem;
    background: rgb(255 255 255 / .14);
    color: #fff;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lv-gold-light) 80%, transparent);
    font-size: .65rem;
}
.inv-gift__address {
    padding: 1.5rem 1.3rem;
    border-radius: 18px;
    background: var(--lv-card);
    box-shadow: inset 0 0 0 1px var(--lv-line), inset 0 0 0 6px #fff, inset 0 0 0 7px var(--lv-soft-line), var(--lv-shadow);
    font-size: .92rem;
}
.inv-gift__address .inv-gift__bank {
    justify-content: center;
    min-height: 0;
    font: 500 .72rem/1.4 var(--lv-sans);
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--inv-primary);
}
.inv-gift__address .inv-gift__holder { padding: 0; margin-top: .6rem; font: 600 1.2rem/1.4 var(--lv-serif); letter-spacing: .02em; text-transform: none; }
.inv-gift__address .inv-button { margin-top: .9rem; }

/* ------------------------------------------------------------------ rsvp & wishes */

.lv-rsvp::before {
    content: ""; position: absolute; left: 50%; top: 48%; width: 120%; height: 60%; translate: -50% -50%; z-index: 0;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--inv-blush) 26%, transparent), transparent);
    pointer-events: none;
}
.lv-formcard { margin-top: 1.4rem; padding: 1.5rem 1.2rem; text-align: left; }
.inv-form label, .inv-form__choices legend { font-size: .85rem; font-weight: 500; }
.inv-form input:not([type=radio]):not([type=checkbox]), .inv-form select, .inv-form textarea {
    padding: .7rem .85rem;
    border: 1px solid color-mix(in srgb, var(--inv-petal) 60%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--inv-petal) 7%, #fff);
    color: var(--inv-text);
}
.inv-form input:focus, .inv-form select:focus, .inv-form textarea:focus {
    outline: 2px solid color-mix(in srgb, var(--inv-primary) 45%, transparent);
    outline-offset: 1px;
    border-color: var(--inv-primary);
}
.inv-form > .inv-button, .inv-form button[type=submit] { width: 100%; padding: .85rem 1rem; }
.inv-form__notice { background: color-mix(in srgb, var(--inv-petal) 14%, #fff); }
/* wishes as pages of three: compact cards, a lavender pager below */
.inv-wishes { --inv-wishes-height: 20rem; }
.inv-wishes__list { margin-top: 1.4rem; }
.inv-wishes:not(.inv-wishes--paged) .inv-wishes__list { scrollbar-color: color-mix(in srgb, var(--inv-petal) 70%, transparent) transparent; }
.inv-wish {
    padding: .65rem .8rem;
    border: 1px solid color-mix(in srgb, var(--inv-petal) 35%, transparent);
    border-left: 3px solid var(--inv-primary);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 18px -14px color-mix(in srgb, var(--inv-primary) 60%, transparent);
}
.inv-wish__name { font: 600 1.05rem/1.3 var(--lv-serif); color: var(--inv-primary); }
.inv-wish__message { margin-top: .15rem; font-size: .88rem; line-height: 1.45; overflow-wrap: anywhere; }
.inv-wish__time { margin-top: .25rem; font-size: .7rem; color: color-mix(in srgb, var(--inv-text) 72%, transparent); }
.inv-wishes__pager { gap: .9rem; margin-top: 1rem; }
.inv-wishes__page-button {
    width: 2.2rem;
    height: 2.2rem;
    border: 1px solid color-mix(in srgb, var(--inv-petal) 70%, transparent);
    background: color-mix(in srgb, var(--inv-petal) 10%, #fff);
    color: var(--inv-primary);
    font: 500 1.2rem/1 var(--lv-serif);
    box-shadow: 0 6px 14px -10px color-mix(in srgb, var(--inv-primary) 70%, transparent);
    transition: background .2s, color .2s;
}
.inv-wishes__page-button:not(:disabled):hover { background: var(--inv-primary); color: #fff; }
.inv-wishes__page { min-width: 4rem; font: 500 .72rem/1.4 var(--lv-sans); letter-spacing: .2em; color: var(--inv-primary); opacity: 1; }

/* ------------------------------------------------------------------ closing: photo fading into deep violet */

.lv-closing {
    margin-top: 3rem;
    padding: 0 0 3.6rem;
    overflow: hidden;
    color: var(--lv-on-deep);
    background: var(--lv-night);
    border-radius: 50% 50% 0 0 / 44px 44px 0 0;
}
.lv-closing__photo {
    position: relative;
    z-index: 0 !important;
    height: clamp(340px, 62svh, 540px);
    overflow: hidden;
    background:
        radial-gradient(70% 50% at 50% 40%, color-mix(in srgb, var(--inv-petal) 55%, transparent), transparent 70%),
        radial-gradient(60% 40% at 90% 90%, color-mix(in srgb, var(--inv-blush) 35%, transparent), transparent 70%),
        linear-gradient(180deg, var(--inv-primary), var(--lv-night));
}
.lv-closing__photo--empty { height: clamp(230px, 34svh, 300px); }
.lv-closing__photo img { position: absolute; left: 0; top: -30px; width: 100%; height: calc(100% + 60px); object-fit: cover; }
.lv-closing__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--lv-deep) 40%, transparent) 0%, transparent 22%, transparent 38%, color-mix(in srgb, var(--lv-night) 70%, transparent) 66%, var(--lv-night) 100%);
}
.lv-closing__branch { top: -10px; left: -12%; width: 46%; z-index: 2 !important; }
.lv-closing__raceme { top: -14px; right: -4%; width: 25%; scale: -1 1; z-index: 2 !important; }
.lv-closing .lv-sparkles { z-index: 1; }
.lv-closing__body { margin-top: -8.5rem; padding: 0 1.6rem; z-index: 3 !important; }
.lv-closing .lv-kicker { color: var(--lv-gold-light); text-shadow: 0 1px 8px rgb(0 0 0 / .5); }
.lv-closing__title { font-size: 2.9rem; color: #fff; text-shadow: 0 2px 16px rgb(0 0 0 / .45); }
.lv-closing__title em { color: var(--lv-gold-light); }
.lv-closing .lv-lead { margin-top: 1rem; color: var(--lv-on-deep-soft); }
.lv-closing__sign { margin-top: 1.5rem; font: italic 500 1.1rem/1.4 var(--lv-serif); color: var(--lv-gold-light); }
.lv-closing__names { margin-top: .2rem; font-size: 3.2rem; color: #fff; text-shadow: 0 2px 18px color-mix(in srgb, var(--inv-petal) 60%, transparent); }
.lv-closing__names span { font-size: .7em; color: var(--lv-gold-light); }
.lv-closing__monogram { position: relative; left: auto; bottom: auto; translate: none; margin-top: 1rem; }
/* lupine spires rising at the bottom corners, beside the names */
.lv-closing__lupine { bottom: -14px; left: -13%; width: 36%; z-index: 1 !important; }
.lv-closing__lupine--right { left: auto; right: -13%; scale: -1 1; }
/* with the platform credit below, the closing ends sooner (the footer keeps the page-end space) */
.lv-page:has(.lv-foot .inv-branding) .lv-closing { padding-bottom: 2rem; }

/* the footer continues the closing's deep color */
.inv-checkin { position: relative; z-index: 1; background: var(--lv-night); color: #fff; }
.lv-foot { position: relative; z-index: 1; padding: 0 1.4rem; text-align: center; background: var(--lv-night); }
.lv-foot:has(.inv-branding) { padding-bottom: 3.6rem; }
.lv-branding { color: var(--lv-on-deep-soft); }
.lv-branding a { color: var(--lv-gold-light); }

/* ------------------------------------------------------------------ shared fixed UI */

.inv-nav {
    --inv-nav-bg: color-mix(in srgb, #fff 88%, transparent);
    --inv-nav-text: color-mix(in srgb, var(--inv-text) 80%, transparent);
    --inv-nav-active: var(--inv-primary);
    max-width: min(calc(100vw - 1.5rem), calc(var(--lv-col) - 1.5rem));
    border-color: color-mix(in srgb, var(--inv-petal) 45%, transparent);
    font-family: var(--lv-sans);
}

/* keep the music buttons inside the column on wide screens */
.inv-music { right: max(1rem, calc(50vw - var(--lv-col) / 2 + 1rem)); }
.inv-music__button {
    background: linear-gradient(135deg, var(--inv-primary), var(--lv-night));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--lv-gold-light) 70%, transparent), 0 8px 18px -6px color-mix(in srgb, var(--inv-primary) 70%, transparent);
}

@media (max-width: 380px) {
    .lv-section { padding-inline: 1rem; }
    .lv-title { font-size: 2.3rem; }
    .inv-countdown__value { font-size: 1.6rem; }
}
