/*
 * Template "Latte Brown" (Pernikahan): warm latte & coffee browns on cream, sculptural arches and
 * pebbles, a soft serif (Fraunces) with a delicate script (Pinyon Script), thin line sprigs.
 * Colors come from the color variant: --inv-primary (coffee), --inv-accent (caramel),
 * --inv-background (cream), --inv-text, --inv-soft (latte foam sections), --inv-deep (espresso).
 * Every class of this template starts with "lt-".
 */

:root {
    --inv-primary: #7a5639;
    --inv-accent: #c26a3a;
    --inv-background: #f7f0e7;
    --inv-text: #3b2a1f;
    --inv-soft: #ecdfcd;
    --inv-deep: #4a3427;
    --inv-radius: 18px;

    --lt-serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
    --lt-script: 'Pinyon Script', 'Brush Script MT', cursive;
    --lt-sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --lt-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', monospace;

    /* derived tones: muted body text, caramel dark enough to read, hairlines, cards, latte pebbles */
    --lt-muted: color-mix(in srgb, var(--inv-text) 80%, var(--inv-background));
    --lt-ink: color-mix(in srgb, var(--inv-accent) 48%, var(--inv-text));
    --lt-line: color-mix(in srgb, var(--inv-accent) 62%, transparent);
    --lt-card: color-mix(in srgb, #ffffff 62%, var(--inv-background));
    --lt-latte: color-mix(in srgb, var(--inv-accent) 34%, var(--inv-background));
    --lt-shadow: 0 22px 44px -30px color-mix(in srgb, var(--inv-deep) 75%, transparent);
    --lt-column: 460px;
    /* the accent for key info (time, countdown numbers, dates, active menu), dark enough to read on cream */
    --lt-pop: color-mix(in srgb, var(--inv-accent) 82%, var(--inv-text));

    /* pebble shapes */
    --lt-stone-1: 57% 43% 52% 48% / 47% 53% 47% 53%;
    --lt-stone-2: 44% 56% 41% 59% / 56% 44% 56% 44%;
    --lt-stone-3: 61% 39% 56% 44% / 42% 58% 42% 58%;
    --lt-stone-4: 40% 60% 60% 40% / 52% 40% 60% 48%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.lt-body {
    margin: 0;
    background: var(--inv-background);
    color: var(--inv-text);
    font-family: var(--lt-serif);
    font-size: 1.04rem;
    font-weight: 350;
    line-height: 1.65;
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
}

.lt-body img { max-width: 100%; }
.lt-body h1, .lt-body h2, .lt-body h3, .lt-body p, .lt-body figure { margin: 0; }

.lt-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- wide screens: the column on a blurred, latte-tinted photo ---------- */

.lt-backdrop { display: none; }
@media (max-width: 559px) { :root { --lt-column: 100vw; } }

.lt-page {
    position: relative;
    max-width: var(--lt-column);
    min-height: 100vh;
    margin: 0 auto;
    padding-bottom: 6rem; /* room for the menu and the music button */
    background: var(--inv-background);
    overflow-x: clip;
}

@media (min-width: 560px) {
    .lt-backdrop {
        display: block; position: fixed; inset: 0; z-index: 0; overflow: hidden;
        background:
            radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--inv-accent) 40%, transparent), transparent 42%),
            radial-gradient(circle at 88% 84%, color-mix(in srgb, var(--inv-primary) 35%, transparent), transparent 45%),
            var(--inv-soft);
    }
    .lt-backdrop::before {
        content: ''; position: absolute; inset: -40px;
        background: var(--x-photo, none) center / cover no-repeat;
        filter: blur(24px) sepia(.35) saturate(.8);
        opacity: .5;
    }
    .lt-backdrop::after {
        content: ''; position: absolute; inset: 0;
        background: color-mix(in srgb, var(--inv-soft) 55%, transparent);
    }
    .lt-page { box-shadow: 0 0 0 1px color-mix(in srgb, var(--inv-accent) 22%, transparent), 0 30px 80px -30px rgb(40 24 12 / .45); }
}

.lt-preview {
    position: fixed; top: .5rem; left: 50%; z-index: 45; transform: translateX(-50%);
    padding: .35rem .85rem; border-radius: 999px; pointer-events: none;
    background: var(--inv-deep); color: var(--inv-background);
    font: 500 .68rem/1.3 var(--lt-sans); letter-spacing: .02em; white-space: nowrap; opacity: .92;
}

/* ---------- shared pieces ---------- */

.lt-label {
    font-family: var(--lt-sans);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--lt-ink);
}

.lt-rule { display: inline-block; width: 1.8rem; height: 1px; background: var(--lt-line); vertical-align: middle; }

.lt-head { margin-bottom: 2.1rem; }
.lt-title {
    margin: .45rem 0 .35rem !important;
    font-family: var(--lt-serif);
    font-size: 1.95rem;
    font-weight: 380;
    line-height: 1.2;
    letter-spacing: -.01em;
    color: var(--inv-primary);
}
.lt-title em {
    display: inline-block;
    font-family: var(--lt-script); font-style: normal; font-weight: 400;
    font-size: 1.32em; line-height: 1; letter-spacing: 0;
    color: var(--lt-ink);
}
.lt-divider { display: block; width: 10rem; height: auto; margin: 0 auto; color: var(--lt-ink); }

.lt-intro { max-width: 22rem; margin: -.7rem auto 1.6rem !important; color: var(--lt-muted); font-size: 1rem; line-height: 1.65; }

.lt-card {
    position: relative;
    padding: 1.6rem 1.25rem;
    border-radius: 26px;
    background: var(--lt-card);
    border: 1px solid color-mix(in srgb, var(--inv-accent) 26%, transparent);
    box-shadow: var(--lt-shadow);
}

.lt-pill {
    display: inline-flex; align-items: center; gap: .45rem; margin-top: 1rem;
    padding: .5rem 1.05rem; border-radius: 999px;
    color: var(--inv-primary); text-decoration: none;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-primary) 50%, transparent);
    font: 500 .8rem/1 var(--lt-sans); letter-spacing: .03em;
    transition: background .25s ease, color .25s ease;
}
.lt-pill:hover { background: var(--inv-primary); color: var(--inv-background); }

/* arch: a semicircle top (radius = half the width) with a thin offset outline */
.lt-arch {
    --arch-w: 12rem;
    position: relative; width: var(--arch-w); aspect-ratio: 3 / 4;
    border-radius: calc(var(--arch-w) / 2) calc(var(--arch-w) / 2) 1.1rem 1.1rem;
}
.lt-arch img, .lt-arch > .lt-arch__mono {
    position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit;
}
.lt-arch::before {
    content: ''; position: absolute; inset: -9px -9px -9px -9px; z-index: 1;
    border-radius: calc(var(--arch-w) / 2 + 9px) calc(var(--arch-w) / 2 + 9px) 1.6rem 1.6rem;
    border: 1px solid var(--lt-line); pointer-events: none;
}
.lt-arch__mono {
    display: grid !important; place-items: center;
    background: linear-gradient(165deg, var(--lt-latte), var(--inv-primary));
    font: 400 4rem/1 var(--lt-script); color: var(--inv-background);
}
.lt-arch__mono span + span::before { content: '&'; margin: 0 .15em; font-size: .6em; opacity: .8; }

/* pebble photo with an offset outline in another pebble shape */
.lt-stone { position: relative; border-radius: var(--lt-stone-1); }
.lt-stone img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.lt-stone::before {
    content: ''; position: absolute; inset: -10px; border-radius: var(--lt-stone-2);
    border: 1px solid var(--lt-line); transform: rotate(-6deg); pointer-events: none;
}

/* soft latte pebbles floating in the background */
.lt-pebble {
    position: absolute; z-index: 0; pointer-events: none;
    background: var(--inv-soft); border-radius: var(--lt-stone-1);
}
html.inv-anim .lt-pebble { will-change: transform; animation: lt-drift 14s ease-in-out infinite alternate; }
@keyframes lt-drift {
    from { transform: translate(0, 0) rotate(0deg); }
    to { transform: translate(10px, -12px) rotate(8deg); }
}
.lt-pebble--a { top: 3.5rem; left: -4.5rem; width: 12rem; height: 10.5rem; }
.lt-pebble--b { right: -3.5rem; bottom: 9rem; width: 9.5rem; height: 8.5rem; background: color-mix(in srgb, var(--inv-accent) 22%, var(--inv-background)); border-radius: var(--lt-stone-3); animation-delay: -6s !important; }
.lt-pebble--c { top: -3rem; left: -4.5rem; width: 15rem; height: 13rem; }
.lt-pebble--d { right: -4rem; bottom: -3.5rem; width: 14rem; height: 12rem; background: color-mix(in srgb, var(--inv-accent) 22%, var(--inv-background)); border-radius: var(--lt-stone-3); animation-delay: -7s !important; }

/* ---------- line branches in the corners ---------- */

.lt-corners { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.lt-corner { position: absolute; width: clamp(110px, 34%, 160px); aspect-ratio: 160 / 200; color: var(--lt-ink); opacity: .75; }
.lt-corner svg { display: block; width: 100%; height: 100%; overflow: visible; }
.lt-corner[class*="--tl"] { top: -10px; left: -14px; transform: scaleY(-1); }
.lt-corner[class*="--tr"] { top: -10px; right: -14px; transform: scale(-1, -1); }
.lt-corner[class*="--bl"] { bottom: -10px; left: -14px; }
.lt-corner[class*="--br"] { bottom: -10px; right: -14px; transform: scaleX(-1); }
.lt-corner[class$="-sm"] { width: clamp(70px, 22%, 100px); opacity: .5; }

.lt-sway { transform-origin: 3% 99%; }
html.inv-anim .lt-sway { will-change: transform; animation: lt-sway 7.5s ease-in-out infinite alternate; }
html.inv-anim .lt-corner:nth-child(2) .lt-sway { animation-duration: 9s; animation-delay: -3s; }
@keyframes lt-sway {
    from { transform: rotate(-2.2deg); }
    to { transform: rotate(2.6deg); }
}

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

.lt-cover {
    position: fixed; top: 0; bottom: 0; left: 50%; z-index: 30;
    width: min(100%, var(--lt-column));
    transform: translateX(-50%);
    overflow-x: hidden; overflow-y: auto;
    background:
        radial-gradient(ellipse at 50% 40%, color-mix(in srgb, #fff 45%, transparent), transparent 60%),
        var(--inv-background);
}
.lt-cover--leave { transition: opacity .8s ease, transform .9s cubic-bezier(.6, 0, .3, 1); }
.lt-cover--gone { opacity: 0; transform: translate(-50%, -4%); }

.lt-cover__inner {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 100%; min-height: 100svh; padding: 2.4rem 1.8rem 2.2rem; text-align: center;
}

.lt-mono {
    display: inline-flex; align-items: center; justify-content: center;
    width: 3.6rem; height: 3.3rem; margin-bottom: .9rem !important;
    border: 1px solid var(--lt-line); border-radius: var(--lt-stone-2);
    font: 400 1.15rem/1 var(--lt-serif); color: var(--inv-primary);
}
.lt-mono span + span::before {
    content: ''; display: inline-block; width: 1px; height: 1.05em; margin: 0 .3rem;
    background: var(--inv-accent); transform: rotate(22deg); vertical-align: -.12em;
}

.lt-cover__title { margin-bottom: 1.4rem !important; }

.lt-cover__photo { width: clamp(150px, 25vh, 205px); aspect-ratio: 1 / 1.2; margin-bottom: .6rem !important; box-shadow: var(--lt-shadow); }

.lt-cover__names {
    margin: .9rem 0 .3rem !important;
    font-family: var(--lt-script); font-weight: 400;
    font-size: clamp(2.6rem, 12vw, 3.4rem); line-height: 1.1;
    color: var(--inv-primary);
}
.lt-amp { color: var(--lt-ink); font-size: .72em; }

.lt-cover__date {
    display: flex; align-items: center; gap: .7rem;
    font: 500 .72rem/1.4 var(--lt-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--lt-muted);
}

.lt-cover__quote { max-width: 19rem; margin-top: .8rem !important; font-style: italic; font-size: .95rem; line-height: 1.5; color: var(--lt-muted); }

.lt-cover__guest {
    min-width: 14.5rem; max-width: 100%; margin: 1.2rem 0;
    padding: .85rem 1.5rem .8rem; border-radius: 22px;
    background: color-mix(in srgb, #ffffff 55%, transparent);
    border: 1px solid var(--lt-line);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--inv-soft) 55%, transparent);
}
.lt-cover__to { font: 500 .68rem/1.4 var(--lt-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--lt-muted); }
.lt-cover__guestname { display: block; margin: .2rem 0 .1rem; font-size: 1.3rem; font-weight: 500; line-height: 1.3; color: var(--inv-text); overflow-wrap: anywhere; }
.lt-cover__sorry { font-style: italic; font-size: .74rem; color: var(--lt-muted); }

.lt-open { gap: .6rem; }

/* short screens: the blocks share the height and the guest box + "Buka Undangan" stay above the fold */
@media (max-height: 760px) {
    .lt-cover__inner { justify-content: space-evenly; padding: 1.1rem 1.6rem 1.4rem; }
    .lt-cover .lt-corner { width: clamp(80px, 24%, 110px); }
    .lt-mono { width: 3.1rem; height: 2.85rem; margin-bottom: 0 !important; font-size: 1rem; }
    .lt-cover__title { margin-bottom: 0 !important; }
    .lt-cover__photo { width: clamp(120px, 24svh, 190px); margin-bottom: 0 !important; }
    .lt-cover__names { margin: 0 !important; font-size: clamp(2.4rem, 11vw, 3rem); }
    .lt-cover__quote { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; margin-top: 0 !important; font-size: .9rem; }
    .lt-cover__guest { margin: 0; padding: .6rem 1.3rem .55rem; background: color-mix(in srgb, #ffffff 72%, transparent); }
    .lt-cover__guestname { font-size: 1.15rem; }
}
@media (max-height: 660px) {
    .lt-cover__inner { padding: .9rem 1.4rem 1.1rem; }
    .lt-cover__photo { width: clamp(110px, 21svh, 160px); }
    .lt-cover__names { font-size: clamp(2.2rem, 10vw, 2.6rem); }
    .lt-cover__quote { font-size: .84rem; }
    .lt-cover__sorry { font-size: .7rem; }
}

/* ---------- buttons of the shared components ---------- */

.lt-body .inv-button {
    padding: .8rem 1.45rem;
    font: 600 .74rem/1.2 var(--lt-sans); letter-spacing: .12em; text-transform: uppercase;
    background: var(--inv-primary); color: var(--inv-background);
    box-shadow: 0 12px 24px -14px color-mix(in srgb, var(--inv-deep) 90%, transparent);
    transition: background .25s ease, transform .25s ease;
}
.lt-body .inv-button:hover { background: var(--inv-deep); }
.lt-body .inv-button:not(.inv-button--outline) { box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--inv-accent) 70%, transparent), 0 12px 24px -14px color-mix(in srgb, var(--inv-deep) 90%, transparent); }
.lt-body .inv-button--outline {
    background: color-mix(in srgb, #ffffff 45%, transparent); color: var(--inv-primary);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-primary) 55%, transparent);
}
.lt-body .inv-button--outline:hover { background: var(--inv-primary); color: var(--inv-background); }

/* ---------- hero (first screen after opening) ---------- */

.lt-hero {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: clamp(600px, 100vh, 880px); min-height: clamp(600px, 100svh, 880px);
    padding: 3.5rem 1.6rem 4.5rem; text-align: center; overflow: hidden;
}
.lt-hero > :not(.lt-pebble):not(.lt-corners) { position: relative; z-index: 1; }
.lt-hero .lt-label { margin-bottom: 1.6rem !important; }
.lt-hero__photo { --arch-w: min(68vw, 16.5rem); box-shadow: var(--lt-shadow); }
.lt-hero__photo img { object-position: center 30%; }
.lt-hero__names {
    margin: 1.6rem 0 .5rem !important;
    font-family: var(--lt-script); font-size: clamp(2.8rem, 13vw, 3.6rem); line-height: 1.1; color: var(--inv-primary);
}
.lt-hero__names span { color: var(--lt-ink); font-size: .72em; }
.lt-hero__date {
    display: flex; align-items: center; justify-content: center; gap: .7rem;
    font: 500 .74rem/1.4 var(--lt-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--lt-muted);
}
.lt-hero__scroll {
    position: absolute !important; bottom: 5.4rem; left: 50%; display: grid; place-items: center;
    width: 2.2rem; height: 2.2rem; margin-left: -1.1rem; border-radius: var(--lt-stone-2);
    border: 1px solid var(--lt-line); color: var(--lt-ink);
}
.lt-hero__scroll svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
html.inv-anim .lt-hero__scroll svg { animation: lt-nudge 2.2s ease-in-out infinite; }
@keyframes lt-nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

/* ---------- sections: stacked layers with rounded tops ---------- */

.lt-section {
    position: relative; margin-top: -2.2rem; padding: 4.6rem 1.5rem 4.8rem; text-align: center; overflow: hidden;
    border-radius: 2.6rem 2.6rem 0 0; background: var(--inv-background);
    box-shadow: 0 -16px 30px -26px color-mix(in srgb, var(--inv-deep) 60%, transparent);
}
.lt-section > :not(.lt-corners) { position: relative; z-index: 1; }
.lt-section--soft { background: var(--inv-soft); }
/* the dark espresso band (countdown, live streaming) */
.lt-section--dark {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in srgb, var(--inv-accent) 22%, transparent), transparent 70%),
        var(--inv-deep);
    color: var(--inv-background);
}
.lt-section--dark .lt-label, .lt-section--dark .lt-title em, .lt-section--dark .lt-divider { color: color-mix(in srgb, var(--inv-accent) 55%, #fff); }
.lt-section--dark .lt-title { color: var(--inv-background); }
.lt-section--dark .lt-corner { color: color-mix(in srgb, var(--inv-accent) 60%, #fff); opacity: .35; }
.lt-section--dark .lt-live__card { color: var(--inv-text); }

/* reel: running gallery photos, then the big initials and the date */
.lt-reel { position: relative; z-index: 1; margin-top: -2.2rem; padding: .6rem 0 4.6rem; text-align: center; background: var(--inv-soft); border-radius: 2.6rem 2.6rem 0 0; overflow: hidden; box-shadow: 0 -16px 30px -26px color-mix(in srgb, var(--inv-deep) 60%, transparent); }
.lt-reel__marquee { --inv-marquee-height: 10.5rem; padding-top: 1.6rem; }
.lt-reel__marquee img { border-radius: 1.1rem; box-shadow: 0 10px 22px -16px rgb(40 24 12 / .6); }
.lt-reel__marquee img:nth-child(odd) { border-radius: 4rem 1.1rem 1.1rem 1.1rem; }
.lt-reel__mono {
    display: flex; justify-content: center; align-items: center; gap: 0; margin-top: 2.2rem !important;
    font: 300 4.4rem/1 var(--lt-serif); color: var(--inv-primary);
}
.lt-reel__mono span { display: inline-block; }
.lt-reel__mono span + span { margin-left: 1.1rem; padding-left: 1.1rem; border-left: 1px solid var(--lt-pop); }
.lt-reel__date { margin-top: 1.1rem !important; font: 600 .82rem/1 var(--lt-sans); letter-spacing: .42em; color: var(--lt-pop); }
.lt-hero { padding-bottom: 6rem; }

/* opening */
.lt-sprig { display: block; width: 6.5rem; height: auto; margin: 0 auto 1.3rem; color: var(--lt-ink); }
.lt-arabic { margin-bottom: 1rem !important; font-family: 'Amiri', serif; font-size: 1.55rem; line-height: 2; color: var(--inv-primary); }
.lt-opening__greeting { margin-bottom: .9rem !important; font-style: italic; font-size: 1.2rem; font-weight: 400; color: var(--inv-primary); }
.lt-opening__message { max-width: 24rem; margin: 0 auto !important; color: var(--lt-muted); line-height: 1.8; }

.lt-quote {
    margin: 2.6rem 0 0 !important; padding: 2.1rem 1.4rem 1.5rem;
    border-radius: 3.2rem 1.2rem 3.2rem 1.2rem; background: var(--inv-soft);
}
.lt-quote__mark { display: block; height: 1.6rem; margin-bottom: .5rem; font: 400 3.4rem/1 var(--lt-serif); color: var(--inv-accent); }
.lt-quote blockquote { margin: 0; font-style: italic; font-size: 1.04rem; line-height: 1.75; }
.lt-quote figcaption { margin-top: 1rem; font: 600 .68rem/1.4 var(--lt-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--lt-ink); }

/* couple */
.lt-person { display: grid; justify-items: center; }
.lt-person__frame { position: relative; margin-bottom: 1.6rem; }
.lt-person__photo { --arch-w: 11.5rem; box-shadow: var(--lt-shadow); }
.lt-person__pebble {
    position: absolute; z-index: 0; left: -2.2rem; bottom: -1.1rem; width: 7rem; height: 6rem;
    border-radius: var(--lt-stone-3); background: var(--lt-latte); opacity: .7;
}
.lt-person--bride .lt-person__pebble { left: auto; right: -2.2rem; border-radius: var(--lt-stone-4); }
.lt-person__photo, .lt-closing__photo { z-index: 1; }
.lt-person__role { font: 600 .66rem/1.4 var(--lt-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--lt-ink); }
.lt-person__nick { margin: .2rem 0 .1rem !important; font: 400 2.8rem/1.2 var(--lt-script); color: var(--inv-primary); }
.lt-person__name { font-size: 1.22rem; font-weight: 500; line-height: 1.35; }
.lt-person__parents { margin-top: .55rem !important; color: var(--lt-muted); font-size: .98rem; line-height: 1.55; }
.lt-person__parents strong { color: var(--inv-text); font-weight: 500; }

.lt-couple__and { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 2.4rem 0 2.2rem; }
.lt-couple__amp {
    display: grid; place-items: center; width: 3.6rem; height: 3.4rem; padding-top: .25rem;
    border-radius: var(--lt-stone-1); background: var(--inv-background); border: 1px solid var(--lt-line);
    font: 400 2.3rem/1 var(--lt-script); color: var(--lt-ink);
}
.lt-couple__and .lt-rule { width: 3.2rem; }

/* countdown: four coffee pebbles */
.lt-countdown__date {
    display: inline-flex; align-items: center; gap: .5rem; margin: -.7rem 0 1.6rem !important;
    font-size: 1.12rem; font-weight: 450;
}
.lt-countdown__date svg, .lt-event svg {
    width: 1.05rem; height: 1.05rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6;
    stroke-linecap: round; stroke-linejoin: round;
}
.lt-countdown__date svg { color: color-mix(in srgb, var(--inv-accent) 60%, #fff); }
.lt-countdown .inv-countdown { gap: .6rem; }
.lt-countdown .inv-countdown__item {
    display: grid; place-content: center; width: 4.6rem; height: 4.9rem; min-width: 0; padding: 0;
    border-radius: var(--lt-stone-1);
    background: var(--inv-background);
    color: var(--inv-text);
    box-shadow: 0 16px 30px -18px rgb(0 0 0 / .7);
}
.lt-countdown .inv-countdown__item:nth-child(2) { border-radius: var(--lt-stone-2); }
.lt-countdown .inv-countdown__item:nth-child(3) { border-radius: var(--lt-stone-3); }
.lt-countdown .inv-countdown__item:nth-child(4) { border-radius: var(--lt-stone-4); }
.lt-countdown .inv-countdown__value { font: 500 1.8rem/1 var(--lt-serif); color: var(--lt-pop); }
.lt-countdown .inv-countdown__label { margin-top: .3rem; font: 600 .56rem/1 var(--lt-sans); letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.lt-countdown .inv-countdown__done { font-style: italic; color: var(--inv-background); }
.lt-countdown .inv-countdown__actions .inv-button { background: var(--inv-accent); color: #fff; }
.lt-countdown .inv-countdown__actions .inv-button--outline { background: transparent; color: var(--inv-background); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-background) 60%, transparent); }
.lt-countdown .inv-countdown__actions { margin-top: 1.7rem; gap: .55rem; }
.lt-countdown .inv-countdown__actions .inv-button { padding: .65rem 1rem; font-size: .64rem; letter-spacing: .08em; }

/* events: photo on top with a rounded arch corner, a cream detail panel, a coffee strip with the name written vertically */
.lt-events__list { display: grid; gap: 1.8rem; }
.lt-event {
    display: grid; grid-template-columns: minmax(0, 1fr) 3.3rem; overflow: hidden;
    border-radius: 9rem 1.4rem 1.4rem 1.4rem; background: var(--lt-card);
    border: 1px solid color-mix(in srgb, var(--inv-accent) 26%, transparent); box-shadow: var(--lt-shadow);
}
.lt-event--nophoto { border-radius: 1.4rem; }
.lt-event__photo { grid-column: 1 / -1; aspect-ratio: 5 / 4.3; margin: 0 !important; }
.lt-event__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.lt-event__panel { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 1.6rem 1rem 1.5rem; }
.lt-event__date { font-size: 1.22rem; font-weight: 450; line-height: 1.3; color: var(--inv-text); }
.lt-event__time {
    display: inline-flex; align-items: center; gap: .4rem; margin-top: .35rem !important;
    font: 600 .84rem/1.4 var(--lt-sans); letter-spacing: .04em; color: var(--lt-pop);
}
.lt-event__place { display: grid; justify-items: center; gap: .15rem; max-width: 20rem; margin-top: 1.1rem; }
.lt-event__pin { width: 1.4rem !important; height: 1.4rem !important; margin-bottom: .25rem; color: var(--lt-pop); }
.lt-event__venue { font-size: 1.1rem; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.lt-event__address { color: var(--lt-muted); font-size: .92rem; line-height: 1.55; overflow-wrap: anywhere; }
.lt-event__dress {
    display: inline-flex; align-items: center; gap: .45rem; margin-top: .9rem !important;
    padding: .35rem .85rem; border-radius: 999px; background: var(--inv-soft);
    font: 500 .76rem/1.35 var(--lt-sans); color: var(--inv-text);
}
.lt-event__actions { display: grid; gap: .5rem; width: 100%; max-width: 15rem; margin-top: 1.3rem; }
.lt-body .lt-event__button { gap: .4rem; padding: .72rem .6rem; font-size: .66rem; letter-spacing: .1em; white-space: nowrap; }
.lt-event__button svg { width: .95rem; height: .95rem; }
.lt-event svg { width: 1.05rem; height: 1.05rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lt-event__name {
    display: flex; align-items: center; justify-content: center; margin: 0; padding: 1.2rem 0;
    background: linear-gradient(180deg, var(--inv-primary), var(--inv-deep)); color: var(--inv-background);
}
.lt-event__name span {
    display: block; writing-mode: vertical-rl; text-align: center;
    font: 600 .92rem/1.2 var(--lt-sans); letter-spacing: .36em; text-transform: uppercase;
}

/* love story: a compact zig-zag along a thin centre line; moments swap sides */
.lt-moments { position: relative; display: grid; gap: 1.8rem; margin: 0; padding: .3rem 0; list-style: none; }
.lt-moments::before {
    content: ''; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1px solid var(--lt-line);
}
.lt-moment {
    position: relative; display: grid; align-items: start;
    grid-template-columns: minmax(0, 1fr) 2.1rem minmax(0, 1fr); column-gap: .65rem;
}
.lt-moment__step {
    grid-column: 2; grid-row: 1; display: grid; place-items: center; width: 2.1rem; height: 2rem;
    border-radius: var(--lt-stone-2); background: var(--inv-background); border: 1px solid var(--lt-line);
    font: 600 .66rem/1 var(--lt-sans); letter-spacing: .04em; color: var(--lt-pop);
}
.lt-moment__body, .lt-moment__media { grid-row: 1; min-width: 0; display: flex; flex-direction: column; }
.lt-moment--text-left .lt-moment__body { grid-column: 1; align-items: flex-end; text-align: right; }
.lt-moment--text-left .lt-moment__media { grid-column: 3; align-items: flex-start; text-align: left; }
.lt-moment--text-right .lt-moment__body { grid-column: 3; align-items: flex-start; text-align: left; }
.lt-moment--text-right .lt-moment__media { grid-column: 1; align-items: flex-end; text-align: right; }
.lt-moment__title { margin: .1rem 0 0 !important; font-size: 1.08rem; font-weight: 500; line-height: 1.3; color: var(--inv-primary); overflow-wrap: anywhere; }
.lt-moment__rule { display: block; width: 3.2rem; max-width: 100%; margin: .45rem 0 .5rem; border-top: 1.5px dotted var(--lt-line); }
.lt-moment__story { color: var(--lt-muted); font-size: .88rem; line-height: 1.55; overflow-wrap: anywhere; }
.lt-moment__date { font: 400 1.6rem/1.15 var(--lt-script); color: var(--lt-pop); overflow-wrap: anywhere; }
.lt-moment__photo {
    display: block; width: min(5.6rem, 100%); height: auto; aspect-ratio: 1 / 1.08; margin-top: .55rem; object-fit: cover;
    border-radius: var(--lt-stone-1); background: var(--lt-latte);
    box-shadow: 0 0 0 3px var(--inv-background), 0 0 0 4px var(--lt-line), var(--lt-shadow);
}
.lt-moment:nth-child(2n) .lt-moment__photo { border-radius: var(--lt-stone-2); }
.lt-moment__media > :first-child { margin-top: 0; }

/* gallery: a wide arch first, then soft rounded tiles */
.lt-gallery .inv-gallery { gap: .55rem; }
.lt-gallery .inv-gallery__item { border-radius: 18px; box-shadow: 0 12px 24px -18px rgb(40 24 12 / .55); }
.lt-gallery .inv-gallery__item:first-child {
    grid-column: span 2; aspect-ratio: 4 / 3.4;
    border-radius: 50% 50% 18px 18px / 44% 44% 18px 18px;
}
.lt-gallery .inv-gallery__item:nth-child(6n + 2) { border-radius: 18px 18px 18px 46px; }
.lt-gallery .inv-gallery__item:nth-child(6n + 3) { border-radius: 18px 18px 46px 18px; }
.lt-gallery .inv-gallery__item:nth-child(n + 2):last-child:nth-child(even) { grid-column: span 2; aspect-ratio: 16 / 10; }

/* live streaming */
.lt-live__icon {
    display: grid; place-items: center; width: 3.6rem; height: 3.3rem; margin: 0 auto .8rem;
    border-radius: var(--lt-stone-2); background: var(--inv-soft);
}
.lt-live__icon svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: var(--inv-primary); stroke-width: 1.5; stroke-linejoin: round; }
.lt-live__platform { font: 400 2.2rem/1.2 var(--lt-script); color: var(--inv-primary); }
.lt-live__text { margin: .4rem 0 .6rem !important; color: var(--lt-muted); line-height: 1.6; }
.lt-live__note { margin-bottom: 1.1rem !important; font-style: italic; font-size: .96rem; }
.lt-live__card .inv-button { margin-top: .4rem; }

/* gift: compact espresso bank cards, two per row (an odd last card spans both) */
.lt-gift .inv-gift { display: grid; gap: 1.1rem; }
.lt-gift .inv-gift__accounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.lt-gift .inv-gift__accounts > .inv-gift__account:last-child:nth-child(odd) { grid-column: 1 / -1; }
.lt-gift .inv-gift__account + .inv-gift__account { margin-top: 0; }
.lt-gift .inv-gift__account:not(.inv-gift__address) {
    position: relative; overflow: hidden; min-width: 0; min-height: 9.6rem;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 3rem .8rem .8rem; border-radius: 16px; text-align: left; color: #fff;
    background:
        radial-gradient(ellipse 60% 70% at 108% -10%, color-mix(in srgb, var(--inv-accent) 55%, transparent), transparent 70%),
        radial-gradient(ellipse 50% 60% at -12% 118%, rgb(255 255 255 / .12), transparent 70%),
        linear-gradient(140deg, var(--inv-primary), var(--inv-deep) 85%);
    box-shadow: 0 18px 30px -18px color-mix(in srgb, var(--inv-deep) 90%, #000), inset 0 0 0 1px rgb(255 255 255 / .12);
}
/* the chip */
.lt-gift .inv-gift__account:not(.inv-gift__address)::before {
    content: ''; position: absolute; top: .85rem; left: .8rem; width: 2.2rem; height: 1.65rem; border-radius: .34rem;
    background:
        linear-gradient(90deg, transparent 31%, rgb(0 0 0 / .2) 31% 34%, transparent 34% 66%, rgb(0 0 0 / .2) 66% 69%, transparent 69%),
        linear-gradient(0deg, transparent 46%, rgb(0 0 0 / .2) 46% 54%, transparent 54%),
        linear-gradient(135deg, #f5e2bd, #cfa874 55%, #94703f);
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15);
}
/* a pale line pebble as a watermark */
.lt-gift .inv-gift__account:not(.inv-gift__address)::after {
    content: ''; position: absolute; right: -1.6rem; bottom: -1.8rem; width: 6.5rem; height: 5.8rem; pointer-events: none;
    border: 1px solid rgb(255 255 255 / .22); border-radius: var(--lt-stone-1);
    box-shadow: 0 0 0 9px rgb(255 255 255 / .04), 0 0 0 10px rgb(255 255 255 / .14);
}
.lt-gift .inv-gift__account > * { position: relative; z-index: 1; }
.lt-gift .inv-gift__account:not(.inv-gift__address) .inv-gift__bank {
    position: absolute; top: .95rem; right: .7rem; left: 3.3rem; margin: 0; text-align: right;
    font: 600 .66rem/1.5rem var(--lt-sans); letter-spacing: .08em; text-transform: uppercase;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lt-gift .inv-gift__logo { height: 1.5rem; padding: .18rem .45rem; border-radius: .35rem; }
.lt-gift .inv-gift__logo img { max-width: 4.6rem; }
.lt-gift .inv-gift__number {
    margin: 0 0 .25rem; font: 500 .98rem/1.3 var(--lt-mono); letter-spacing: .06em;
    text-shadow: 0 1px 2px rgb(0 0 0 / .25); overflow-wrap: anywhere;
}
.lt-gift .inv-gift__account:not(.inv-gift__address) .inv-gift__holder {
    margin: 0 0 .65rem; font: 600 .58rem/1.4 var(--lt-sans); letter-spacing: .12em; text-transform: uppercase; opacity: .95;
    overflow-wrap: anywhere;
}
.lt-gift .inv-gift__account:not(.inv-gift__address) .inv-button--outline {
    align-self: flex-start; padding: .38rem .72rem; font-size: .62rem; letter-spacing: .08em;
    background: rgb(255 255 255 / .14); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .7);
}
/* the gift address: a plain card */
.lt-gift .inv-gift__address {
    padding: 1.5rem 1.3rem; border-radius: 24px; text-align: center;
    background: var(--lt-card); border: 1px dashed var(--lt-line); box-shadow: var(--lt-shadow);
}
.lt-gift .inv-gift__address .inv-gift__bank { font: 600 .68rem/1.4 var(--lt-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--lt-ink); }
.lt-gift .inv-gift__address .inv-gift__holder { margin: .5rem 0 .2rem; font-weight: 500; font-size: 1.12rem; }
.lt-gift .inv-gift__address p:not([class]) { margin-bottom: 1rem; color: var(--lt-muted); line-height: 1.6; }

/* forms (rsvp, wishes) */
.lt-form { text-align: left; }
.lt-rsvp .lt-card { border-radius: 9rem 9rem 26px 26px; padding-top: 3rem; }
.lt-form .inv-form { gap: .95rem; }
.lt-form .inv-form label, .lt-form .inv-form__choices legend { font: 500 .8rem/1.4 var(--lt-sans); letter-spacing: .03em; color: var(--lt-muted); }
.lt-form .inv-form input:not([type=radio]):not([type=checkbox]), .lt-form .inv-form select, .lt-form .inv-form textarea {
    padding: .75rem .95rem; border-radius: 14px; background: #fff; color: #2d2119;
    border: 1px solid color-mix(in srgb, var(--inv-primary) 28%, transparent);
    font: 400 1rem/1.4 var(--lt-sans); transition: border-color .2s ease, box-shadow .2s ease;
}
.lt-form .inv-form input:focus, .lt-form .inv-form select:focus, .lt-form .inv-form textarea:focus {
    outline: none; border-color: var(--inv-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--inv-primary) 18%, transparent);
}
.lt-form .inv-form__choices label {
    padding: .45rem .85rem; border-radius: 999px; background: #fff; color: var(--inv-text);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-primary) 25%, transparent);
}
.lt-form .inv-form > .inv-button { width: 100%; margin-top: .2rem; }
.lt-form .inv-rsvp__deadline { margin-bottom: .9rem !important; font-style: italic; color: var(--lt-muted); text-align: center; }
.lt-form .inv-form__notice { font-family: var(--lt-sans); font-size: .85rem; color: var(--inv-text); }

/* wishes: three compact cards per page with a pebble pager */
.lt-form .inv-wishes__list { margin-top: 1.3rem; gap: .55rem; }
.lt-form .inv-wishes:not(.inv-wishes--paged) { --inv-wishes-height: 20rem; }
.lt-form .inv-wish {
    padding: .7rem .85rem; border-radius: 16px 16px 16px 4px; background: color-mix(in srgb, var(--inv-soft) 80%, #fff);
}
.lt-form .inv-wish__name { font-size: .92rem; font-weight: 600; color: var(--inv-primary); }
.lt-form .inv-wish__message { font-size: .88rem; line-height: 1.5; }
.lt-form .inv-wish__time { font: 400 .7rem/1.3 var(--lt-sans); color: var(--lt-muted); opacity: 1; }
.lt-form .inv-wish__reply { border-color: var(--lt-line); }
.lt-form .inv-wishes__empty { font-style: italic; text-align: center; }
.lt-form .inv-wishes__pager { gap: .9rem; margin-top: 1rem; }
.lt-form .inv-wishes__page-button {
    display: grid; place-items: center; width: 2.3rem; height: 2.15rem; padding: 0 0 .12rem;
    border-radius: var(--lt-stone-2);
    font: 400 1.3rem/1 var(--lt-serif); color: var(--inv-primary);
    background: color-mix(in srgb, var(--inv-soft) 70%, #fff); border: 1px solid var(--lt-line);
    transition: background .2s ease, color .2s ease;
}
.lt-form .inv-wishes__page-button:not(:disabled):hover { background: var(--inv-primary); color: var(--inv-background); }
.lt-form .inv-wishes__page { font: 600 .72rem/1 var(--lt-sans); letter-spacing: .18em; color: var(--lt-muted); opacity: 1; }

/* closing */
.lt-closing { padding-top: 5rem; padding-bottom: 1rem; }
.lt-closing .lt-corner[class*="--br"] { width: clamp(64px, 18%, 84px); opacity: .5; }
.lt-closing__frame { position: relative; display: inline-block; margin-bottom: 2rem; }
.lt-closing__photo { --arch-w: 12rem; box-shadow: var(--lt-shadow); }
.lt-closing__message { max-width: 23rem; margin: .8rem auto 1.1rem !important; color: var(--lt-muted); line-height: 1.8; }
.lt-closing__sign { font-style: italic; font-size: 1rem; }
.lt-closing__names { margin: .2rem 0 .5rem !important; font: 400 3rem/1.2 var(--lt-script); color: var(--inv-primary); }
.lt-closing__names span { color: var(--lt-ink); font-size: .72em; }

/* ---------- floating UI: branding, menu, QR tab, back to top, music ---------- */

.lt-page .inv-branding { position: relative; padding: 1.4rem 1rem 1rem; background: var(--inv-soft); font: 400 .72rem/1.4 var(--lt-sans); letter-spacing: .04em; color: var(--lt-muted); opacity: 1; }
.lt-body:has(.inv-nav) .lt-page .inv-branding { padding-bottom: 1rem; }

.lt-body .inv-nav {
    --inv-nav-bg: color-mix(in srgb, var(--lt-card) 88%, transparent);
    --inv-nav-text: color-mix(in srgb, var(--inv-text) 72%, transparent);
    --inv-nav-active: var(--lt-pop);
    max-width: min(calc(100vw - 1.5rem), calc(var(--lt-column) - 1.5rem));
    border-color: color-mix(in srgb, var(--inv-accent) 40%, transparent);
    border-radius: 1.4rem;
}
.lt-body .inv-nav--icons .inv-nav__item { border-radius: 1rem; }
.lt-body .inv-nav--icons .inv-nav__item.is-active { border-radius: var(--lt-stone-2); color: var(--inv-background); box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--inv-deep) 80%, transparent); }

.lt-body .inv-qr-tab {
    right: max(0px, calc(50vw - var(--lt-column) / 2));
    background: var(--inv-primary); color: var(--inv-background); border-color: transparent;
    font-family: var(--lt-sans);
}
.lt-body .inv-qr-sheet__card { border-radius: 26px; color: #2d2119; }

.lt-body .inv-to-top {
    left: max(1rem, calc(50vw - var(--lt-column) / 2 + 1rem));
    border-radius: var(--lt-stone-2);
    background: var(--lt-card); color: var(--inv-primary);
    box-shadow: inset 0 0 0 1px var(--lt-line), 0 8px 18px -8px rgb(40 24 12 / .45);
}

.lt-body .inv-music__space { display: none; }
.lt-body .inv-music { right: max(1rem, calc(50vw - var(--lt-column) / 2 + 1rem)); }
.lt-body .inv-music__button { background: var(--inv-primary); color: var(--inv-background); box-shadow: 0 0 0 2px var(--inv-background), 0 0 0 3px var(--lt-line), 0 8px 18px -8px rgb(0 0 0 / .4); }
.lt-body .inv-autoscroll { font-family: var(--lt-sans); }

/* ---------- motion ---------- */

.lt-hero__photo { --inv-parallax: 28px; }
.lt-divider[data-reveal="draw"] { transition-duration: .9s; transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .lt-sway, html.inv-anim .lt-sway, .lt-pebble, html.inv-anim .lt-pebble, html.inv-anim .lt-hero__scroll svg { animation: none !important; }
    .lt-cover--leave { transition: opacity .3s ease; }
    .lt-cover--gone { transform: translateX(-50%); }
}
