/*
 * Template "Latte Brown" (Pernikahan): café au lait, warm modern minimal.
 * Espresso primary + caramel accent + one soft third tone (--inv-tint: blush / sage) on warm cream, a real linen-paper
 * texture (img/linen-paper-soft.webp, transparent light-and-shade laid over every variant without blend modes, which iOS Safari mishandles), a big Fraunces serif with one italic
 * word, Pinyon Script only for names, Figtree small caps. Photos in arches / soft rounded rectangles with a thin
 * caramel offset line and a color block behind; client photos warm-toned behind several sections.
 * Colors come from the color variant: --inv-primary (espresso), --inv-accent (caramel), --inv-background (cream),
 * --inv-text, --inv-soft (latte), --inv-deep (dark espresso), --inv-tint (third tone).
 * Every class of this template starts with "lt-".
 */

:root {
    --inv-primary: #3e2416;
    --inv-accent: #c58a52;
    --inv-background: #f7efe4;
    --inv-text: #2a190f;
    --inv-soft: #ecdcc6;
    --inv-deep: #21130b;
    --inv-tint: #cf9a86;
    --inv-radius: 18px;

    --lt-texture: none; /* set in index.blade.php (asset URL) */
    --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 */
    --lt-muted: color-mix(in srgb, var(--inv-text) 84%, var(--inv-background));          /* body text on cream */
    --lt-ink: color-mix(in srgb, var(--inv-accent) 46%, var(--inv-text));                 /* caramel text on cream (≥ 4.5:1) */
    --lt-on-deep: color-mix(in srgb, var(--inv-background) 92%, #fff);                   /* text on espresso */
    --lt-on-deep-muted: color-mix(in srgb, var(--inv-background) 82%, var(--inv-deep));
    --lt-caramel: color-mix(in srgb, var(--inv-accent) 82%, #fff);                       /* caramel text on espresso */
    --lt-line: color-mix(in srgb, var(--inv-accent) 70%, transparent);
    --lt-hair: color-mix(in srgb, var(--inv-accent) 32%, transparent);
    --lt-paper: color-mix(in srgb, #fff 55%, var(--inv-background));
    --lt-shadow: 0 26px 46px -30px color-mix(in srgb, var(--inv-deep) 85%, transparent);
    --lt-deep-grad: radial-gradient(90% 55% at 50% 0%, color-mix(in srgb, var(--inv-primary) 85%, var(--inv-accent)), transparent 75%),
        linear-gradient(180deg, var(--inv-primary), var(--inv-deep));
    --lt-column: 460px;
}

* { 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: 380;
    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; }

/* surfaces: the transparent linen-paper texture over the color (no blend mode: iOS Safari draws blended grey textures as plain grey) */
.lt-hero, .lt-section, .lt-card, .lt-event, .lt-cover__guest {
    background-size: 420px 420px;
}

/* ---------- wide screens: the column on the blurred cover photo washed in espresso ---------- */

.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;
    background-color: var(--inv-background);
    overflow-x: clip;
}

@media (min-width: 560px) {
    .lt-backdrop {
        display: block; position: fixed; inset: 0; z-index: 0; overflow: hidden;
        background: var(--lt-deep-grad);
    }
    .lt-backdrop::before {
        content: ''; position: absolute; inset: -40px;
        background: var(--x-photo, none) center / cover no-repeat;
        filter: blur(26px) sepia(.55) saturate(1.1);
        opacity: .45;
    }
    .lt-backdrop::after { content: ''; position: absolute; inset: 0; background: color-mix(in srgb, var(--inv-deep) 55%, transparent); }
    .lt-page { box-shadow: 0 0 0 1px var(--lt-hair), 0 30px 80px -30px rgb(0 0 0 / .6); }
}

.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(--lt-on-deep);
    font: 500 .68rem/1.3 var(--lt-sans); letter-spacing: .02em; white-space: nowrap; opacity: .94;
}

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

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

.lt-script { font-family: var(--lt-script); font-weight: 400; }

.lt-head { margin-bottom: 2.2rem; }
.lt-title {
    margin: .5rem 0 .55rem !important;
    font-family: var(--lt-serif);
    font-size: 2.35rem;
    font-weight: 360;
    line-height: 1.08;
    letter-spacing: -.015em;
    color: var(--inv-primary);
}
.lt-title em { font-style: italic; font-weight: 300; color: var(--lt-ink); }
.lt-divider { display: block; width: 9.5rem; height: auto; margin: 0 auto; color: var(--lt-ink); --lt-bean-seam: var(--inv-background); }

.lt-lead { color: var(--lt-muted); line-height: 1.75; }
.lt-intro { max-width: 22rem; margin: -.8rem auto 1.7rem !important; font-size: 1rem; }

.lt-card {
    position: relative;
    padding: 1.6rem 1.25rem;
    border-radius: 24px;
    background-image: var(--lt-texture);
    background-color: var(--lt-paper);
    box-shadow: var(--lt-shadow), 0 0 0 1px var(--lt-hair);
    color: var(--inv-text);
}

.lt-pill {
    display: inline-flex; align-items: center; gap: .45rem; margin-top: .9rem;
    padding: .48rem .95rem; border-radius: 999px;
    color: var(--inv-primary); text-decoration: none;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-primary) 45%, transparent);
    font: 500 .78rem/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); }

/* photo frames: a soft rounded rectangle, or an arch (semicircle top) with --lt-frame-w as its width */
.lt-frame { position: relative; overflow: hidden; border-radius: 22px; background: var(--inv-soft); }
.lt-frame > img, .lt-frame > .lt-frame__mono { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.lt-frame--arch { aspect-ratio: 3 / 4; border-radius: 50% 50% 16px 16px / 37.5% 37.5% 16px 16px; }
.lt-frame__mono {
    display: flex !important; align-items: center; justify-content: center;
    background: var(--lt-texture), linear-gradient(160deg, var(--inv-accent), var(--inv-primary) 75%);
    font: 300 italic 3.6rem/1 var(--lt-serif); color: var(--lt-on-deep);
}
.lt-frame__mono span + span::before { content: '&'; margin: 0 .12em; font-size: .55em; color: var(--lt-caramel); }
/* warm photo treatment: black-and-white photos read sepia, color photos a touch warmer */
.lt-frame > img, .lt-reel img, .lt-gallery .inv-gallery__item img, .lt-moment__photo { filter: sepia(.32) saturate(1.12) contrast(1.02); }

/* the monogram seal: a cream disc with a caramel ring */
.lt-seal {
    display: inline-flex; align-items: center; justify-content: center; gap: .08em;
    width: 3.6rem; height: 3.6rem; border-radius: 50%;
    background: var(--inv-background); color: var(--inv-primary);
    box-shadow: 0 0 0 1px var(--inv-accent), 0 0 0 4px var(--inv-background), 0 0 0 5px var(--lt-line), 0 14px 26px -12px rgb(0 0 0 / .55);
    font: 400 1.15rem/1 var(--lt-serif);
}
.lt-seal i { font-style: italic; font-weight: 300; font-size: .72em; color: var(--lt-ink); }

/* ---------- photo gradient backgrounds ---------- */

.lt-bgphoto { position: absolute !important; inset: 0; z-index: 0 !important; overflow: hidden; background: var(--lt-deep-grad); }
.lt-bgphoto img {
    /* aimed at the upper part of the photo, where the faces are */
    position: absolute; left: 0; top: -40px; width: 100%; height: calc(100% + 80px); max-width: none; object-fit: cover; object-position: 50% 18%;
    opacity: .55; filter: sepia(.55) saturate(1.15) contrast(1.02);
}
.lt-bgphoto::after {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--inv-deep) 62%, transparent), color-mix(in srgb, var(--inv-deep) 84%, transparent) 55%, color-mix(in srgb, var(--inv-deep) 94%, transparent)),
        radial-gradient(70% 45% at 50% 0%, color-mix(in srgb, var(--inv-accent) 28%, transparent), transparent 70%);
}
.lt-bgphoto--cream { background: var(--inv-background); }
.lt-bgphoto--cream img { opacity: .42; filter: sepia(.5) saturate(.9) blur(1px); }
.lt-bgphoto--cream::after {
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--inv-background) 55%, transparent), color-mix(in srgb, var(--inv-background) 86%, transparent) 38%, var(--inv-background) 72%),
        var(--lt-texture);
    background-size: auto, 420px 420px;
}

/* ---------- 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-color: var(--inv-deep);
    color: var(--lt-on-deep);
}
/* the grain over the whole cover (transparent light-and-shade over the photo and gradients behind it) */
.lt-cover::after {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: var(--lt-texture) 0 0 / 420px 420px; opacity: .75;
}
.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__bg { position: absolute; inset: 0; overflow: hidden; background: var(--lt-deep-grad); }
.lt-cover__bg img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .5; filter: sepia(.6) saturate(1.1) blur(2px); transform: scale(1.06); }
.lt-cover__bg::after {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(80% 50% at 50% 30%, color-mix(in srgb, var(--inv-accent) 20%, transparent), transparent 70%),
        linear-gradient(180deg, color-mix(in srgb, var(--inv-deep) 40%, transparent), color-mix(in srgb, var(--inv-deep) 78%, transparent) 45%, color-mix(in srgb, var(--inv-deep) 96%, transparent));
}

.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.2rem 1.7rem 2.4rem; text-align: center;
}

.lt-cover .lt-label { color: var(--lt-caramel); }
.lt-cover__title { margin-bottom: 1.5rem !important; }

.lt-cover__art { position: relative; width: clamp(150px, 29svh, 225px); margin-bottom: .4rem; }
.lt-cover__photo { width: 100%; box-shadow: 0 30px 50px -26px rgb(0 0 0 / .75); z-index: 1; }
.lt-cover__block {
    position: absolute; left: -22%; bottom: -7%; width: 72%; height: 52%; border-radius: 16px;
    background: linear-gradient(150deg, var(--inv-tint), color-mix(in srgb, var(--inv-tint) 55%, var(--inv-accent)));
    opacity: .9;
}
.lt-cover__line {
    position: absolute; inset: 0; z-index: 2; transform: translate(11px, -11px); pointer-events: none;
    border: 1px solid var(--lt-caramel); border-radius: 50% 50% 16px 16px / 37.5% 37.5% 16px 16px;
}
.lt-cover__seal { position: absolute; z-index: 3; right: -1.3rem; bottom: 1.4rem; }

.lt-cover__names {
    margin: 1.1rem 0 .35rem !important;
    font-size: clamp(2.6rem, 12vw, 3.3rem); line-height: 1.1; color: var(--lt-on-deep);
    text-shadow: 0 2px 18px rgb(0 0 0 / .35);
}
.lt-amp { font-family: var(--lt-serif); font-style: italic; font-weight: 300; font-size: .58em; color: var(--lt-caramel); }

.lt-cover__date, .lt-hero__date {
    display: flex; align-items: center; justify-content: center; gap: .75rem;
    font: 600 .72rem/1.4 var(--lt-sans); letter-spacing: .24em; text-transform: uppercase;
}
.lt-cover__date { color: var(--lt-caramel); }
.lt-cover__date::before, .lt-cover__date::after, .lt-hero__date::before, .lt-hero__date::after {
    content: ''; width: 1.8rem; height: 1px; background: currentColor; opacity: .7;
}

.lt-cover__quote { max-width: 19.5rem; margin-top: .75rem !important; font-style: italic; font-weight: 300; font-size: .97rem; line-height: 1.5; color: var(--lt-on-deep-muted); }

.lt-cover__guest {
    position: relative; min-width: 15rem; max-width: 100%; margin: 1.2rem 0 1.15rem;
    padding: .85rem 1.5rem .8rem; border-radius: 16px;
    background-image: var(--lt-texture); background-color: var(--inv-background); color: var(--inv-text);
    box-shadow: 0 18px 36px -20px rgb(0 0 0 / .7);
}
.lt-cover__guest::after { content: ''; position: absolute; inset: 5px; border: 1px solid var(--lt-hair); border-radius: 12px; pointer-events: none; }
.lt-cover__to { font: 600 .68rem/1.4 var(--lt-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--lt-ink); }
.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: .76rem; color: var(--lt-muted); }

.lt-body .lt-open { gap: .6rem; }
/* appear once, no endless pulse */
html.inv-anim .lt-body .lt-open.inv-enter, html.inv-anim .lt-open.inv-enter { animation: inv-enter 1.1s cubic-bezier(.2, .7, .2, 1) var(--enter-delay, 0s) both; }

/* the opening moment: the photo fades in with a slight zoom, the offset line draws upward once (≤ 2.3 s) */
@keyframes lt-photo-in { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
@keyframes lt-line-draw { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(-2px); } }
@keyframes lt-block-in { from { opacity: 0; transform: translate(-14px, 10px); } to { opacity: .9; transform: none; } }
html.inv-anim .lt-cover__photo img { animation: lt-photo-in 1.6s cubic-bezier(.2, .7, .2, 1) .3s both; }
html.inv-anim .lt-cover__line { animation: lt-line-draw 1.3s ease-out .8s both; }
html.inv-anim .lt-cover__block { animation: lt-block-in 1.2s cubic-bezier(.2, .7, .2, 1) .45s both; }

/* short screens: the photo shrinks first, the guest card and "Buka Undangan" stay above the fold */
@media (max-height: 800px) {
    .lt-cover__inner { padding: 1.7rem 1.6rem 1.9rem; }
    .lt-cover__title { margin-bottom: 1.1rem !important; }
    .lt-cover__art { width: clamp(130px, 26svh, 200px); }
    .lt-cover__names { margin-top: .9rem !important; font-size: clamp(2.4rem, 11vw, 3rem); }
    .lt-cover__guest { margin: .95rem 0 .95rem; padding-block: .7rem .65rem; }
}
@media (max-height: 700px) {
    .lt-cover__inner { padding: 1.3rem 1.5rem 1.5rem; }
    .lt-cover__title { margin-bottom: .85rem !important; }
    .lt-cover__art { width: clamp(110px, 23svh, 170px); }
    .lt-cover__seal { width: 3rem; height: 3rem; font-size: 1rem; right: -1rem; }
    .lt-cover__names { margin: .7rem 0 .2rem !important; font-size: clamp(2.2rem, 10vw, 2.6rem); }
    .lt-cover__quote { margin-top: .45rem !important; font-size: .88rem; line-height: 1.42; }
    .lt-cover__guest { margin: .7rem 0 .75rem; padding: .55rem 1.3rem .5rem; }
    .lt-cover__guestname { font-size: 1.15rem; }
    .lt-cover__sorry { font-size: .7rem; }
}
@media (max-height: 600px) {
    .lt-cover__inner { padding: 1rem 1.4rem 1.2rem; }
    .lt-cover__title { margin-bottom: .6rem !important; }
    .lt-cover__art { width: clamp(96px, 21svh, 130px); }
    .lt-cover__names { font-size: 2.1rem; }
    .lt-cover__quote { font-size: .84rem; }
    .lt-cover__sorry { display: none; }
    .lt-cover__seal { width: 2.5rem; height: 2.5rem; font-size: .85rem; right: -.8rem; bottom: 1rem; }
}

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

.lt-body .inv-button {
    padding: .82rem 1.5rem;
    font: 600 .74rem/1.2 var(--lt-sans); letter-spacing: .14em; text-transform: uppercase;
    background: var(--inv-primary); color: var(--inv-background);
    box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--inv-accent) 75%, transparent), 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--outline {
    background: 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); }

/* caramel buttons on espresso (cover, deep sections, closing) */
.lt-body .lt-open, .lt-section--deep .inv-button:not(.inv-button--outline), .lt-live__card .inv-button {
    background: linear-gradient(180deg, color-mix(in srgb, var(--inv-accent) 82%, #fff), var(--inv-accent));
    color: var(--inv-deep);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 14px 26px -14px rgb(0 0 0 / .8);
}
.lt-body .lt-open:hover, .lt-section--deep .inv-button:not(.inv-button--outline):hover { background: var(--inv-accent); }
.lt-section--deep .inv-button--outline { color: var(--lt-on-deep); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lt-on-deep) 60%, transparent); }
.lt-section--deep .inv-button--outline:hover { background: var(--lt-on-deep); color: var(--inv-deep); }

/* ---------- hero (first screen after opening): an editorial spread on cream ---------- */

.lt-hero {
    /* starts near the top (a centred 100svh could leave a big gap above on iOS, where svh can exceed the screen) */
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    padding: clamp(2.4rem, 7svh, 4rem) 1.6rem 5rem; text-align: center; overflow: hidden;
    background-image: var(--lt-texture);
    background-color: var(--inv-background);
}
.lt-hero__label { margin-bottom: 1.5rem !important; }
.lt-hero__art { position: relative; width: min(76vw, 20rem); }
.lt-hero__photo { width: 100%; aspect-ratio: 4 / 5.2; border-radius: 11rem 11rem 20px 20px; box-shadow: var(--lt-shadow); z-index: 1; }
.lt-hero__photo img { top: -24px; height: calc(100% + 48px); object-position: center 30%; --inv-parallax: 22px; }
.lt-hero__block {
    position: absolute; right: -16%; top: 9%; width: 62%; height: 50%; border-radius: 18px;
    background: linear-gradient(160deg, var(--inv-tint), color-mix(in srgb, var(--inv-tint) 60%, var(--inv-accent)));
}
.lt-hero__art::after {
    content: ''; position: absolute; inset: 0; z-index: 2; transform: translate(-12px, 12px); pointer-events: none;
    border: 1px solid var(--lt-line); border-radius: 11rem 11rem 20px 20px;
}
.lt-hero__side {
    position: absolute; z-index: 3; right: -2.3rem; bottom: 1.2rem; writing-mode: vertical-rl;
    font: 600 .7rem/1 var(--lt-sans); letter-spacing: .34em; color: var(--lt-ink);
}
.lt-hero__names { margin: 1.9rem 0 .5rem !important; font-size: clamp(2.9rem, 13vw, 3.7rem); line-height: 1.1; color: var(--inv-primary); }
.lt-hero__names span, .lt-closing__names span, .lt-reel__mono i { font-family: var(--lt-serif); font-style: italic; font-weight: 300; font-size: .56em; color: var(--lt-ink); }
.lt-hero__date { color: var(--lt-ink); }

/* reel: an espresso band with running photos, the big initials, the bean line and the date */
.lt-reel {
    position: relative; z-index: 1; margin-top: -2.4rem; padding: .4rem 0 4.6rem; text-align: center; overflow: hidden;
    border-radius: 2.6rem 2.6rem 0 0;
}
.lt-reel__marquee { --inv-marquee-height: 10.5rem; padding-top: 1.8rem; }
.lt-reel__marquee img { border-radius: 1.1rem; box-shadow: 0 14px 26px -16px rgb(0 0 0 / .8); }
.lt-reel__marquee img:nth-child(odd) { border-radius: 5rem 5rem 1.1rem 1.1rem; }
.lt-reel__mono {
    display: flex; justify-content: center; align-items: baseline; gap: .35em; margin: 2.3rem 0 .9rem !important;
    font: 300 4.4rem/1 var(--lt-serif); letter-spacing: -.02em; color: var(--lt-on-deep);
}
.lt-reel__mono i { font-size: .5em; color: var(--lt-caramel); }
.lt-reel .lt-divider { color: var(--lt-caramel); --lt-bean-seam: var(--inv-deep); }
.lt-reel__date { margin-top: .9rem !important; font: 600 .78rem/1 var(--lt-sans); letter-spacing: .36em; text-transform: uppercase; color: var(--lt-caramel); }

/* ---------- sections: rounded layers over the previous one; cream, latte, espresso ---------- */

.lt-section {
    position: relative; margin-top: -2.4rem; padding: 4.8rem 1.5rem 5rem; text-align: center; overflow: hidden;
    border-radius: 2.6rem 2.6rem 0 0;
    background-image: var(--lt-texture);
    background-color: var(--inv-background);
    box-shadow: 0 -18px 34px -26px color-mix(in srgb, var(--inv-deep) 70%, transparent);
}
.lt-section > :where(:not(.lt-bgphoto, .lt-closing__photo)) { position: relative; z-index: 1; }
.lt-section--latte { background-color: var(--inv-soft); }
.lt-section--deep, .lt-reel {
    background-image: var(--lt-texture), var(--lt-deep-grad);
    background-color: var(--inv-deep);
    background-size: 420px 420px, auto, auto;
    color: var(--lt-on-deep);
}

/* text on espresso */
.lt-section--deep .lt-label, .lt-closing .lt-label { color: var(--lt-caramel); }
.lt-section--deep .lt-title, .lt-closing .lt-title { color: var(--lt-on-deep); }
.lt-section--deep .lt-title em, .lt-closing .lt-title em { color: var(--lt-caramel); }
.lt-section--deep .lt-divider, .lt-closing .lt-divider { color: var(--lt-caramel); --lt-bean-seam: var(--inv-deep); }
.lt-section--deep .lt-lead, .lt-closing .lt-lead { color: var(--lt-on-deep-muted); }

/* opening (cream over a faint photo) */
.lt-opening { padding-top: 4.4rem; }
.lt-opening__divider { margin-bottom: 1.4rem; }
.lt-arabic { margin-bottom: 1rem !important; font-family: 'Amiri', serif; font-size: 1.6rem; line-height: 2; color: var(--inv-primary); }
.lt-opening__greeting { margin-bottom: .9rem !important; font-style: italic; font-size: 1.25rem; font-weight: 400; line-height: 1.45; color: var(--inv-primary); }
.lt-opening__message { max-width: 24rem; margin: 0 auto !important; }

.lt-quote { position: relative; margin: 2.8rem .3rem 0 !important; }
.lt-quote__block {
    position: absolute; z-index: 0; right: -1.2rem; bottom: -1.2rem; width: 58%; height: 62%; border-radius: 22px;
    background: linear-gradient(160deg, var(--inv-tint), color-mix(in srgb, var(--inv-tint) 55%, var(--inv-accent)));
}
.lt-quote__panel {
    position: relative; z-index: 1; overflow: hidden; padding: 2.3rem 1.5rem 1.8rem;
    border-radius: 5rem 22px 22px 22px; color: var(--lt-on-deep);
    box-shadow: var(--lt-shadow);
}
.lt-quote__panel > :not(.lt-bgphoto) { position: relative; z-index: 1; }
.lt-quote__corner { position: absolute !important; width: 1.6rem; height: 1.6rem; color: var(--lt-caramel); opacity: .9; }
.lt-quote__corner--tr { top: .9rem; right: .9rem; transform: rotate(90deg); }
.lt-quote__corner--bl { left: .9rem; bottom: .9rem; transform: rotate(-90deg); }
.lt-quote__mark { display: block; height: 2rem; margin-bottom: .3rem; font: 300 italic 4rem/1 var(--lt-serif); color: var(--lt-caramel); }
.lt-quote blockquote { margin: 0; font-style: italic; font-weight: 300; font-size: 1.06rem; line-height: 1.75; }
.lt-quote figcaption { margin-top: 1rem; font: 600 .7rem/1.4 var(--lt-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--lt-caramel); }

/* couple (cream): asymmetric — photo left / text right, then text left / photo right */
.lt-person { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); align-items: center; gap: 1.4rem; text-align: left; }
.lt-person--bride { grid-template-columns: minmax(0, 1fr) minmax(0, 46%); text-align: right; }
.lt-person--bride .lt-person__art { order: 2; }
.lt-person__art { position: relative; }
.lt-person__photo { width: 100%; box-shadow: var(--lt-shadow); z-index: 1; }
.lt-person__block {
    position: absolute; left: -1.5rem; bottom: -1rem; width: 80%; height: 62%; border-radius: 16px;
    background: linear-gradient(160deg, color-mix(in srgb, var(--inv-accent) 70%, var(--inv-background)), var(--inv-accent));
}
.lt-person--bride .lt-person__block { left: auto; right: -1.5rem; background: linear-gradient(160deg, var(--inv-tint), color-mix(in srgb, var(--inv-tint) 60%, var(--inv-accent))); }
.lt-person__art::after {
    content: ''; position: absolute; inset: 0; z-index: 2; transform: translate(9px, -9px); pointer-events: none;
    border: 1px solid var(--lt-line); border-radius: 50% 50% 16px 16px / 37.5% 37.5% 16px 16px;
}
.lt-person--bride .lt-person__art::after { transform: translate(-9px, -9px); }
.lt-person__role { font: 600 .64rem/1.4 var(--lt-sans); letter-spacing: .28em; text-transform: uppercase; color: var(--lt-ink); }
.lt-person__nick { margin: .15rem 0 .1rem !important; font-size: 2.7rem; line-height: 1.15; color: var(--inv-primary); }
.lt-person__name { font-size: 1.12rem; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
.lt-person__parents { margin-top: .5rem !important; color: var(--lt-muted); font-size: .93rem; line-height: 1.5; }
.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.3rem 0 2.3rem; }
.lt-couple__and span { width: 4.5rem; height: 1px; background: var(--lt-line); }
.lt-couple__and i { font: 300 italic 3.4rem/1 var(--lt-serif); color: var(--lt-ink); }

/* countdown (espresso over a photo): a big editorial date and four arch tiles */
.lt-bigdate { display: inline-flex; align-items: center; gap: 1rem; margin: -.6rem 0 1.9rem; text-align: left; }
.lt-bigdate__day { font: 300 5.2rem/.9 var(--lt-serif); letter-spacing: -.03em; color: var(--lt-caramel); }
.lt-bigdate__rest { display: grid; gap: .3rem; padding-left: 1rem; border-left: 1px solid var(--lt-line); }
.lt-bigdate__month { font: 300 italic 1.55rem/1.1 var(--lt-serif); color: var(--lt-on-deep); }
.lt-bigdate__weekday { font: 600 .7rem/1 var(--lt-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--lt-caramel); }
.lt-countdown .inv-countdown { gap: .55rem; }
.lt-countdown .inv-countdown__item {
    display: grid; place-content: center; width: 4.55rem; height: 5.6rem; min-width: 0; padding: .5rem 0 0;
    border-radius: 2.3rem 2.3rem 12px 12px;
    background: color-mix(in srgb, var(--inv-deep) 55%, transparent);
    box-shadow: inset 0 0 0 1px var(--lt-line), 0 16px 30px -18px rgb(0 0 0 / .8);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    color: var(--lt-on-deep);
}
.lt-countdown .inv-countdown__value { font: 400 1.9rem/1 var(--lt-serif); color: var(--lt-on-deep); }
.lt-countdown .inv-countdown__label { margin-top: .4rem; font: 600 .56rem/1 var(--lt-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--lt-caramel); opacity: 1; }
.lt-countdown .inv-countdown__done { font-style: italic; color: var(--lt-on-deep); }
.lt-countdown .inv-countdown__actions { margin-top: 1.8rem; gap: .55rem; }
.lt-countdown .inv-countdown__actions .inv-button { padding: .66rem 1rem; font-size: .64rem; letter-spacing: .08em; }
.lt-countdown .inv-countdown__actions .inv-button:first-child {
    background: linear-gradient(180deg, color-mix(in srgb, var(--inv-accent) 82%, #fff), var(--inv-accent)); color: var(--inv-deep); box-shadow: 0 12px 24px -14px rgb(0 0 0 / .8);
}

/* events (cream): paper cards with a big arch corner, a caramel date medallion and an espresso name strip */
.lt-events__list { display: grid; gap: 1.9rem; }
.lt-event {
    position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 3.3rem; overflow: hidden;
    border-radius: 9rem 1.4rem 1.4rem 1.4rem;
    background-image: var(--lt-texture); background-color: var(--lt-paper);
    box-shadow: var(--lt-shadow), 0 0 0 1px var(--lt-hair);
}
.lt-event--nophoto { border-radius: 1.4rem; }
.lt-event__photo { grid-column: 1 / -1; aspect-ratio: 5 / 4.1; margin: 0 !important; overflow: hidden; }
.lt-event__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; filter: sepia(.22) saturate(1.05); }
.lt-event__medal {
    position: absolute; z-index: 2; top: 1rem; right: 1rem; display: grid; place-content: center; justify-items: center;
    width: 3.9rem; height: 3.9rem; border-radius: 50%;
    background: var(--inv-accent); color: var(--inv-deep);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--inv-background) 85%, transparent), 0 12px 22px -10px rgb(0 0 0 / .6);
    font: 700 .58rem/1 var(--lt-sans); letter-spacing: .16em; text-transform: uppercase;
}
.lt-event--nophoto .lt-event__medal { position: static; grid-column: 1 / -1; margin: 1.4rem auto 0; }
.lt-event__medal span { display: block; margin-bottom: .15rem; font: 400 1.45rem/1 var(--lt-serif); letter-spacing: 0; }
.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.24rem; font-weight: 450; line-height: 1.3; color: var(--inv-primary); }
.lt-event__time {
    display: inline-flex; align-items: center; gap: .4rem; margin-top: .4rem !important;
    font: 600 .84rem/1.4 var(--lt-sans); letter-spacing: .04em; color: var(--lt-ink);
}
.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-ink); }
.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: .74rem .6rem; font-size: .66rem; letter-spacing: .1em; white-space: nowrap; }
.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(--lt-caramel);
}
.lt-event__name span {
    display: block; writing-mode: vertical-rl; text-align: center;
    font: 600 .9rem/1.2 var(--lt-sans); letter-spacing: .34em; text-transform: uppercase;
}

/* love story (latte): a compact zig-zag along a caramel centre line; moments swap sides */
.lt-moments { position: relative; display: grid; gap: 1.9rem; 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.2rem minmax(0, 1fr); column-gap: .65rem;
}
.lt-moment__step {
    grid-column: 2; grid-row: 1; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%;
    background: var(--inv-primary); color: var(--lt-caramel);
    box-shadow: 0 0 0 3px var(--inv-soft), 0 0 0 4px var(--lt-line);
    font: 600 .66rem/1 var(--lt-sans); letter-spacing: .04em;
}
.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.12rem; font-weight: 500; line-height: 1.3; color: var(--inv-primary); overflow-wrap: anywhere; }
.lt-moment__rule { display: block; width: 2.6rem; max-width: 100%; height: 2px; margin: .5rem 0 .55rem; background: var(--inv-accent); }
.lt-moment__story { color: var(--lt-muted); font-size: .9rem; line-height: 1.55; overflow-wrap: anywhere; }
.lt-moment__date { font: 300 italic 1.15rem/1.25 var(--lt-serif); color: var(--lt-ink); overflow-wrap: anywhere; }
.lt-moment__photo {
    display: block; width: min(6rem, 100%); height: auto; aspect-ratio: 3 / 4; margin-top: .55rem; object-fit: cover;
    border-radius: 3rem 3rem 10px 10px; background: var(--inv-background);
    box-shadow: 0 0 0 3px var(--inv-soft), 0 0 0 4px var(--lt-line), var(--lt-shadow);
}
.lt-moment__media > :first-child { margin-top: 0; }

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

/* live streaming (latte): an espresso card over a photo */
.lt-live__card {
    position: relative; overflow: hidden; padding: 2.2rem 1.4rem 1.9rem; border-radius: 22px 22px 5rem 22px;
    color: var(--lt-on-deep); box-shadow: var(--lt-shadow);
}
.lt-live__card > :not(.lt-bgphoto) { position: relative; z-index: 1; }
.lt-live__icon {
    display: grid; place-items: center; width: 3.6rem; height: 3.6rem; margin: 0 auto .9rem; border-radius: 50%;
    background: var(--inv-accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--inv-accent) 25%, transparent);
}
.lt-live__icon svg { width: 1.5rem; height: 1.5rem; fill: var(--inv-deep); margin-left: .15rem; }
.lt-live__platform { font: 300 italic 2rem/1.2 var(--lt-serif); color: var(--lt-on-deep); }
.lt-live__text { margin: .45rem 0 .7rem !important; color: var(--lt-on-deep-muted); line-height: 1.6; }
.lt-live__note { margin-bottom: 1.1rem !important; font-style: italic; font-size: .96rem; color: var(--lt-caramel); }
.lt-live__card .inv-button { margin-top: .4rem; }

/* gift (cream): 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: var(--lt-on-deep);
    background:
        radial-gradient(ellipse 60% 70% at 108% -10%, color-mix(in srgb, var(--inv-accent) 50%, transparent), 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 / .1);
}
/* 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, color-mix(in srgb, var(--inv-accent) 40%, #fff), var(--inv-accent) 55%, color-mix(in srgb, var(--inv-accent) 60%, #000));
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15);
}
/* a thin caramel arch as a watermark */
.lt-gift .inv-gift__account:not(.inv-gift__address)::after {
    content: ''; position: absolute; right: -1rem; bottom: -2.6rem; width: 5.6rem; height: 7rem; pointer-events: none;
    border: 1px solid color-mix(in srgb, var(--inv-accent) 55%, transparent); border-radius: 3rem 3rem 0 0;
    box-shadow: inset 0 0 0 7px rgb(255 255 255 / .03);
}
.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; color: var(--lt-caramel);
    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 / .1); color: var(--lt-on-deep); box-shadow: inset 0 0 0 1px var(--lt-line);
}
/* the gift address: a paper card */
.lt-gift .inv-gift__address {
    padding: 1.5rem 1.3rem; border-radius: 22px; text-align: center;
    background-image: var(--lt-texture); background-color: var(--lt-paper); background-size: 420px 420px;
    box-shadow: var(--lt-shadow), 0 0 0 1px var(--lt-hair);
}
.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 on espresso, wishes on latte) */
.lt-form { text-align: left; }
.lt-rsvp .lt-card { border-radius: 9rem 9rem 24px 24px; padding-top: 4rem; }
.lt-rsvp .inv-rsvp__deadline { padding: 0 1.4rem; font-size: .95rem; }
.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: 12px; background: #fff; color: var(--inv-text);
    border: 1px solid color-mix(in srgb, var(--inv-primary) 26%, 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-accent) 30%, 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-section--deep .lt-form .inv-form > .inv-button { background: var(--inv-primary); color: var(--inv-background); box-shadow: inset 0 -2px 0 var(--inv-accent); }
.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); }

.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: 14px 14px 14px 4px; background: color-mix(in srgb, var(--inv-soft) 70%, #fff); border-left: 2px solid var(--inv-accent); }
.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.3rem; padding: 0 0 .12rem; border-radius: 50%;
    font: 400 1.3rem/1 var(--lt-serif); color: var(--inv-primary);
    background: #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: the photo full-bleed, warm-toned, fading into espresso; a caramel arch line frames the words */
.lt-closing {
    display: grid; align-items: end; min-height: 40rem; padding: 17rem 1.6rem 5rem;
    background-image: none; background-color: var(--inv-deep); color: var(--lt-on-deep);
}
.lt-closing__photo { position: absolute; inset: 0 0 auto; height: 72%; overflow: hidden; background: var(--lt-deep-grad); }
.lt-closing__photo img {
    position: absolute; left: 0; top: -30px; width: 100%; height: calc(100% + 60px); max-width: none;
    object-fit: cover; object-position: center 30%; filter: sepia(.5) saturate(1.2) contrast(1.04);
}
.lt-closing__photo::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: color-mix(in srgb, var(--inv-accent) 60%, var(--inv-primary)); mix-blend-mode: soft-light; opacity: .55;
}
.lt-closing__photo::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, color-mix(in srgb, var(--inv-deep) 10%, transparent) 0%, transparent 22%, color-mix(in srgb, var(--inv-deep) 55%, transparent) 55%, var(--inv-deep) 96%);
}
.lt-closing__photo--empty { height: 100%; background: radial-gradient(70% 40% at 50% 20%, color-mix(in srgb, var(--inv-accent) 32%, transparent), transparent 70%), var(--lt-deep-grad); }
.lt-closing__photo--empty::before, .lt-closing__photo--empty::after { display: none; }
.lt-closing > .lt-closing__body { position: relative; z-index: 2; display: grid; justify-items: center; padding: 2.4rem 1.2rem 1.3rem; }
.lt-closing__arch {
    position: absolute !important; inset: 0; z-index: -1; pointer-events: none;
    border: 1px solid var(--lt-line); border-bottom: 0; border-radius: 10rem 10rem 0 0;
    background: linear-gradient(180deg, color-mix(in srgb, var(--inv-deep) 30%, transparent), color-mix(in srgb, var(--inv-deep) 70%, transparent) 40%, transparent);
}
.lt-closing__title { font-size: clamp(2.1rem, 9.5vw, 2.45rem); text-shadow: 0 2px 18px rgb(0 0 0 / .4); }
.lt-closing .lt-divider { margin: .1rem auto .7rem; }
.lt-closing__message { max-width: 22rem; margin-bottom: .8rem !important; font-size: .92rem; line-height: 1.6; }
.lt-closing__sign { font: 600 .74rem/1.4 var(--lt-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--lt-caramel); }
.lt-closing__names { margin: .3rem 0 .8rem !important; font-size: clamp(2.2rem, 10vw, 2.6rem); line-height: 1.2; color: var(--lt-on-deep); }
.lt-closing__names span { color: var(--lt-caramel); }

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

.lt-page .inv-branding { position: relative; padding: .4rem 1rem 7.4rem; background: var(--inv-deep); font: 400 .72rem/1.4 var(--lt-sans); letter-spacing: .04em; color: var(--lt-on-deep-muted); opacity: 1; }
.lt-page .inv-branding a { color: var(--lt-caramel); }

.lt-body .inv-nav {
    --inv-nav-bg: color-mix(in srgb, var(--inv-background) 90%, transparent);
    --inv-nav-text: color-mix(in srgb, var(--inv-text) 75%, transparent);
    --inv-nav-active: var(--inv-primary);
    max-width: min(calc(100vw - 1.5rem), calc(var(--lt-column) - 1.5rem));
    border-color: var(--lt-hair);
    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: 50%; color: var(--lt-caramel); 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: 24px; color: var(--inv-text); }

.lt-body .inv-to-top {
    left: max(1rem, calc(50vw - var(--lt-column) / 2 + 1rem));
    background: var(--inv-background); color: var(--inv-primary);
    box-shadow: inset 0 0 0 1px var(--lt-line), 0 8px 18px -8px rgb(0 0 0 / .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(--lt-caramel); 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-divider[data-reveal="draw"] { transition-duration: .9s; transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .lt-cover__photo img, .lt-cover__line, .lt-cover__block { animation: none !important; }
    .lt-cover--leave { transition: opacity .3s ease; }
    .lt-cover--gone { transform: translateX(-50%); }
}

/* ---------- intro scene "Secangkir Latte" (scene.json + sections/_scene; the intro lives in <body>, outside the page) ---------- */
.inv-scene__art > .lt-scene-bean, .inv-scene__art > .lt-scene-cup, .inv-scene__art > .lt-scene-divider, .inv-scene__art > .lt-scene-seal { height: auto; }
/* espresso with the linen grain, a warm caramel glow where the arch stands */
.lt-scene-bg {
    height: 100%;
    background: var(--lt-texture) 0 0 / 420px 420px, radial-gradient(70% 45% at 50% 42%, color-mix(in srgb, var(--inv-accent) 42%, transparent), transparent 75%), var(--lt-deep-grad);
}
/* the cover's arch, now a cream linen panel the names are printed on */
.lt-scene-arch, .lt-scene-line { height: 100%; border-radius: 36vw 36vw 18px 18px / 36vw 36vw 18px 18px; }
.lt-scene-arch {
    position: relative;
    background: var(--lt-texture) 0 0 / 420px 420px, var(--inv-background);
    box-shadow: 0 34px 60px -26px rgb(0 0 0 / .75);
}
.lt-scene-arch::after { content: ''; position: absolute; inset: 7px; border: 1px solid var(--lt-hair); border-radius: inherit; }
.lt-scene-line { border: 1px solid var(--lt-caramel); }
.inv-intro.is-playing .lt-scene-line { animation: lt-line-draw 1.6s ease-out 1.7s both; }
.lt-scene-block {
    height: 100%; border-radius: 18px; opacity: .92;
    background: linear-gradient(150deg, var(--inv-tint), color-mix(in srgb, var(--inv-tint) 55%, var(--inv-accent)));
}
.lt-scene-bean { display: block; width: 100%; aspect-ratio: 24 / 32; filter: drop-shadow(0 6px 8px rgb(0 0 0 / .35)); }
.lt-scene-bean--caramel { color: var(--inv-accent); --lt-bean-seam: var(--inv-deep); }
.lt-scene-bean--cream { color: var(--inv-soft); --lt-bean-seam: var(--inv-primary); }
.lt-scene-bean--deep { color: color-mix(in srgb, var(--inv-primary) 70%, var(--inv-deep)); --lt-bean-seam: var(--lt-caramel); }
.lt-scene-seal { display: flex; width: 100%; height: auto; aspect-ratio: 1; font-size: min(5.4vw, 2.6vh, 1.4rem); }
/* the latte: a cream cup on a caramel saucer, a foam heart, steam curling up once it has landed */
.lt-scene-cup { display: block; width: 100%; aspect-ratio: 1; overflow: visible; filter: drop-shadow(0 10px 12px rgb(0 0 0 / .4)); }
.lt-scene-cup__saucer { fill: var(--inv-accent); }
.lt-scene-cup__body { fill: var(--inv-background); }
.lt-scene-cup__handle { stroke: var(--inv-background); }
.lt-scene-cup__latte { fill: color-mix(in srgb, var(--inv-accent) 70%, var(--inv-primary)); }
.lt-scene-cup__heart { fill: var(--inv-background); }
.lt-scene-steam { stroke: color-mix(in srgb, var(--inv-background) 80%, transparent); }
.lt-scene-divider { width: 100%; height: auto; }
.inv-intro.is-playing .lt-scene-divider { animation: lt-scene-draw 1.2s cubic-bezier(.45, 0, .2, 1) 2.5s both; }
@keyframes lt-scene-draw { from { clip-path: inset(0 50%); } to { clip-path: inset(0 0); } }
.lt-scene-steam path { stroke-dasharray: 60; stroke-dashoffset: 60; opacity: 0; }
.inv-intro.is-playing .lt-scene-steam path { animation: lt-scene-steam 3s ease-in-out 4s infinite; }
.inv-intro.is-playing .lt-scene-steam path:nth-child(2) { animation-delay: 4.6s; }
.inv-intro.is-playing .lt-scene-steam path:nth-child(3) { animation-delay: 5.2s; }
@keyframes lt-scene-steam {
    0% { stroke-dashoffset: 60; opacity: 0; transform: translateY(4px); }
    35% { opacity: .9; }
    100% { stroke-dashoffset: -60; opacity: 0; transform: translateY(-8px); }
}
/* the card: the names printed on the arch, no frosted cloud */
.lt-body .inv-scene__card {
    top: 49%; aspect-ratio: auto; padding: 1.4rem .6rem; -webkit-mask: none; mask: none;
    -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent;
}
.lt-body .inv-scene__card .inv-intro__label { font: 600 .68rem/1.4 var(--lt-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--lt-ink); }
.lt-body .inv-scene__card .inv-intro__names { font-family: var(--lt-script); font-weight: 400; font-size: clamp(2.2rem, 10.5vw, 3rem); line-height: 1.15; color: var(--inv-primary); }
.lt-body .inv-scene__card .inv-intro__rule { background: linear-gradient(90deg, transparent, var(--inv-accent), transparent); }
.lt-body .inv-scene__card .inv-intro__date { font: 600 .7rem/1.4 var(--lt-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--lt-ink); }
@media (prefers-reduced-motion: reduce) {
    .inv-intro.is-playing .lt-scene-line, .inv-intro.is-playing .lt-scene-divider, .inv-intro.is-playing .lt-scene-steam path { animation: none; }
    .lt-scene-steam path { stroke-dashoffset: 0; opacity: .6; }
}
