/*
 * Template "Lempar Toga" (Wisuda & Kelulusan) — a joyful modern university graduation under a bright sunny sky:
 * royal blue (by default) with sunshine yellow, coral and teal confetti, white stickers and a touch of gold.
 * Signature pieces: the photo on a white scalloped badge with a coral stitch, a tilted cap, a monogram seal and a
 * ticket tab (sections/_badge); a living sky of clouds and sailing caps (sections/_sky); SVG confetti (_confetti),
 * streamers, an award rosette (_rosette), washi tape, the "Lempar!" cap toss (sections/institution).
 * Mobile-first, one column (~460px) on a sky backdrop on wide screens.
 *
 * Colours come from the chosen colour variant (template.json → <x-inv.head>):
 *   --inv-primary (the sky)  --inv-deep (the night blue at the top of the sky, cap boards)  --inv-shine (sunshine)
 *   --inv-petal (coral)  --inv-leaf (teal confetti)  --inv-soft (light sky)  --inv-accent (gold)  --inv-background
 *   --inv-text
 *
 * Section tones (set on each section in its partial): .lgt-tone--sky (blue sky, white text), --sun (sunshine
 * yellow, navy text), --light (warm white with a confetti print), --coral (coral, white text). Each tone sets the
 * --tone-* variables its headings and text use. Motion only runs with html.inv-anim (set by <x-inv.head> unless the
 * guest prefers reduced motion); without it everything is shown finished.
 *
 * Revision standard (docs/template-guide.md section 10): the cover is sized in px steps per screen height,
 * never svh/vh; ornaments stay at the corners clear of faces; photos melt into sections with masks; the closing
 * is compact and its names end above the bottom menu.
 *
 * Contents: 1 base · 2 tones · 3 shared pieces (heading, divider, badge, cap, sky, confetti, tape, rosette, compare,
 *           tap marker) · 4 cover · 5 sections in page order · 6 forms · 7 shared components · 8 screen sizes
 *           · 9 motion · 10 intro scene
 */

/* ---------- 1. base ---------- */
:root {
    /* defaults = the "Langit Cerah" variant (the variant's colours override these) */
    --inv-primary: #1f5ad8;
    --inv-accent: #e4a524;
    --inv-background: #fff8ec;
    --inv-text: #14213d;
    --inv-deep: #0b2a7c;
    --inv-shine: #ffd23f;
    --inv-soft: #86d0ff;
    --inv-petal: #ff5f4f;
    --inv-leaf: #14c2a3;
    --inv-radius: 18px;

    --lgt-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --lgt-script: var(--inv-font-display, 'Parisienne'), 'Brush Script MT', cursive;
    --lgt-serif: var(--inv-font-heading, 'Fraunces'), Georgia, serif;
    --lgt-sans: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --lgt-col: 460px;

    /* gold, sunshine, cap boards, coral, cloud shade */
    --lgt-gold-1: color-mix(in srgb, var(--inv-accent) 62%, #4a2600);
    --lgt-gold-2: var(--inv-accent);
    --lgt-gold-3: color-mix(in srgb, var(--inv-accent) 40%, #fff6cf);
    --lgt-gold-ink: color-mix(in srgb, var(--inv-accent) 55%, #3a1e00);
    --lgt-sun-edge: color-mix(in srgb, var(--inv-shine) 62%, #d2550a);
    --lgt-board-1: color-mix(in srgb, var(--inv-deep) 78%, #000);
    --lgt-board-2: color-mix(in srgb, var(--inv-deep) 50%, var(--inv-primary));
    --lgt-board-edge: color-mix(in srgb, var(--inv-deep) 55%, #000);
    --lgt-coral-1: color-mix(in srgb, var(--inv-petal) 74%, #5a0012);
    --lgt-coral-2: color-mix(in srgb, var(--inv-petal) 85%, #fff);
    --lgt-cloud-shade: color-mix(in srgb, var(--inv-soft) 50%, #fff);

    /* the confetti colours */
    --lgt-c1: var(--inv-shine);
    --lgt-c2: var(--inv-petal);
    --lgt-c3: var(--inv-leaf);
    --lgt-c4: var(--inv-soft);
    --lgt-c5: #fff;

    --lgt-ink: color-mix(in srgb, var(--inv-deep) 82%, var(--inv-text));
    --lgt-title: color-mix(in srgb, var(--inv-primary) 62%, var(--inv-deep));
    --lgt-muted: color-mix(in srgb, var(--inv-text) 74%, #fff);
    --lgt-coral-ink: color-mix(in srgb, var(--inv-petal) 72%, #3a0008);
    --lgt-line: color-mix(in srgb, var(--inv-primary) 22%, transparent);
    --lgt-drop: 0 22px 36px -22px color-mix(in srgb, var(--inv-deep) 60%, transparent);
    --lgt-sky: linear-gradient(180deg, var(--inv-deep) 0%, var(--inv-primary) 46%, color-mix(in srgb, var(--inv-primary) 72%, var(--inv-soft)) 100%);

    /* a confetti print: little ribbons, dots, triangles and squiggles on a 64px tile (a mask, so it takes any colour) */
    --lgt-print: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Crect x='7' y='6' width='4' height='10' rx='1.2' transform='rotate(-25 9 11)'/%3E%3Ccircle cx='44' cy='12' r='2.4'/%3E%3Cpath d='M22 40l5 8h-10z'/%3E%3Cpath d='M38 50c2-3 4-3 6 0s4 3 6 0' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='56' cy='34' r='1.6'/%3E%3Crect x='30' y='24' width='3.6' height='9' rx='1' transform='rotate(35 31.8 28.5)'/%3E%3C/svg%3E");

    /* colours of the shared components */
    --inv-ambient-1: var(--inv-shine);
    --inv-ambient-2: var(--inv-petal);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--inv-background);
    color: var(--inv-text);
    font-family: var(--lgt-sans);
    font-size: 15px;
    line-height: 1.6;
    font-variant-numeric: lining-nums;
    -webkit-font-smoothing: antialiased;
}

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

/* the SVG definitions: present for the gradients and symbols, never seen */
.lgt-defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }

.lgt-preview {
    position: sticky; top: 0; z-index: 60; padding: .5rem 1rem; text-align: center;
    background: #fff4d6; color: #6b4e00; font-size: .8125rem;
}

/* the one column of the page; every section paints its own full-width background */
.lgt-main { max-width: var(--lgt-col); margin: 0 auto; overflow-x: clip; }
.lgt-branding { max-width: var(--lgt-col); margin: 0 auto; }

.lgt-section { position: relative; isolation: isolate; overflow: hidden; padding: 4.2rem 1.3rem; text-align: center; color: var(--tone-text); }
.lgt-section > p { margin: 0 auto 1rem; max-width: 34ch; }

.lgt-arabic { font-family: 'Amiri', 'Traditional Arabic', serif; line-height: 1.9; color: var(--lgt-title); }
.lgt-icon { width: 1.15rem; height: 1.15rem; flex: none; }
.lgt-quote-mark { display: block; width: 2.3rem; height: 1.75rem; margin: 0 auto .6rem; fill: var(--inv-petal); }

/* ---------- 2. section tones ---------- */
.lgt-tone--light {
    --tone-text: var(--inv-text); --tone-title: var(--lgt-title); --tone-muted: var(--lgt-muted); --tone-em: var(--lgt-coral-ink);
    --tone-eyebrow-bg: var(--inv-primary); --tone-eyebrow-ink: #fff; --tone-swoosh: var(--inv-shine);
    background:
        radial-gradient(60% 26% at 100% 0%, color-mix(in srgb, var(--inv-soft) 55%, transparent), transparent 75%),
        radial-gradient(60% 26% at 0% 100%, color-mix(in srgb, var(--inv-shine) 34%, transparent), transparent 75%),
        var(--inv-background);
}
.lgt-tone--sun {
    --tone-text: var(--lgt-ink); --tone-title: var(--lgt-ink); --tone-muted: color-mix(in srgb, var(--lgt-ink) 80%, var(--inv-shine)); --tone-em: var(--inv-primary);
    --tone-eyebrow-bg: var(--lgt-ink); --tone-eyebrow-ink: var(--inv-shine); --tone-swoosh: var(--inv-petal);
    background:
        radial-gradient(70% 34% at 50% 0%, color-mix(in srgb, #fff 45%, transparent), transparent 72%),
        linear-gradient(180deg, var(--inv-shine), color-mix(in srgb, var(--inv-shine) 78%, var(--inv-petal)));
}
.lgt-tone--sky {
    --tone-text: #fff; --tone-title: #fff; --tone-muted: color-mix(in srgb, #fff 86%, transparent); --tone-em: var(--inv-shine);
    --tone-eyebrow-bg: var(--inv-shine); --tone-eyebrow-ink: var(--lgt-ink); --tone-swoosh: var(--inv-petal);
    background: radial-gradient(70% 30% at 90% 0%, color-mix(in srgb, var(--inv-shine) 30%, transparent), transparent 70%), var(--lgt-sky);
}
.lgt-tone--coral {
    --tone-text: #fff; --tone-title: #fff; --tone-muted: color-mix(in srgb, #fff 88%, transparent); --tone-em: var(--inv-shine);
    --tone-eyebrow-bg: #fff; --tone-eyebrow-ink: var(--lgt-coral-ink); --tone-swoosh: var(--inv-shine);
    background:
        radial-gradient(70% 34% at 0% 0%, color-mix(in srgb, var(--inv-shine) 30%, transparent), transparent 72%),
        linear-gradient(170deg, var(--inv-petal), var(--lgt-coral-1));
}
/* the confetti print on light, sunshine and coral sections */
.lgt-tone--light::before, .lgt-tone--sun::before, .lgt-tone--coral::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--inv-primary); opacity: .09;
    -webkit-mask: var(--lgt-print) center top / 64px 64px repeat; mask: var(--lgt-print) center top / 64px 64px repeat;
}
.lgt-tone--sun::before { background: var(--lgt-ink); opacity: .08; }
.lgt-tone--coral::before { background: #fff; opacity: .12; }
.lgt-tone--sky a:not(.inv-button), .lgt-tone--coral a:not(.inv-button) { color: var(--inv-shine); }
.lgt-tone--sky .lgt-arabic { color: #fff; }

/* SVG confetti scattered behind a section's content */
.lgt-section__confetti { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

/* a client photo behind a section, under a strong gradient of the section's own tone */
.lgt-bgphoto { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.lgt-bgphoto img { display: block; width: 100%; height: calc(100% + 80px); margin-top: -40px; object-fit: cover; object-position: center 30%; --inv-parallax: 40px; }
.lgt-bgphoto::after { content: ''; position: absolute; inset: 0; }
.lgt-tone--sky .lgt-bgphoto::after {
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--inv-deep) 88%, transparent),
        color-mix(in srgb, var(--inv-primary) 82%, transparent) 50%,
        color-mix(in srgb, var(--inv-primary) 90%, var(--inv-soft)));
}

/* ---------- 3. shared pieces ---------- */

/* heading: a pill eyebrow with a tiny cap, the bold display title, the script word with a swoosh, the divider */
.lgt-heading { margin: 0 0 2rem; }
.lgt-heading__eyebrow {
    display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 .75rem; padding: .3rem .85rem .3rem .45rem; border-radius: 999px;
    font-size: .68rem; font-weight: 600; line-height: 1.2; letter-spacing: .18em; text-transform: uppercase;
    color: var(--tone-eyebrow-ink); background: var(--tone-eyebrow-bg); transform: rotate(-2deg);
    box-shadow: 0 6px 12px -8px rgb(0 0 0 / .5);
}
.lgt-heading__eyebrow svg { width: 1.35rem; height: auto; flex: none; overflow: visible; }
.lgt-heading__title {
    margin: 0; font-family: var(--lgt-display); font-size: 2.15rem; font-weight: 800; line-height: 1.08;
    letter-spacing: -.015em; color: var(--tone-title); text-wrap: balance;
}
.lgt-heading__title em {
    position: relative; display: inline-block; padding: 0 .08em .12em; font-family: var(--lgt-script); font-style: normal; font-weight: 400;
    font-size: 1.32em; line-height: .9; letter-spacing: 0; word-spacing: .12em; color: var(--tone-em);
}
.lgt-heading__swoosh { position: absolute; left: 4%; bottom: -.12em; width: 94%; height: .3em; overflow: visible; }
.lgt-heading__swoosh path { fill: none; stroke: var(--tone-swoosh); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.lgt-heading__divider { margin: .9rem auto 0; }

/* the confetti divider */
.lgt-divider { display: block; width: min(13rem, 72%); height: auto; overflow: visible; }
.lgt-divider__wave { fill: none; stroke-width: 2.2; stroke-linecap: round; }
.lgt-divider__wave--a { stroke: var(--inv-petal); }
.lgt-divider__wave--b { stroke: var(--inv-leaf); }
.lgt-tone--sun .lgt-divider__wave--b { stroke: var(--inv-primary); }
.lgt-tone--coral .lgt-divider__wave--a { stroke: var(--inv-shine); }
.lgt-tone--coral .lgt-divider__wave--b { stroke: #fff; }

/* confetti colours */
.lgt-cf { stroke-width: 0; }
.lgt-cf--1 { fill: var(--lgt-c1); stroke: var(--lgt-c1); }
.lgt-cf--2 { fill: var(--lgt-c2); stroke: var(--lgt-c2); }
.lgt-cf--3 { fill: var(--lgt-c3); stroke: var(--lgt-c3); }
.lgt-cf--4 { fill: var(--lgt-c4); stroke: var(--lgt-c4); }
.lgt-cf--5 { fill: var(--lgt-c5); stroke: var(--lgt-c5); }
.lgt-cf .lgt-cf__line { fill: none; stroke-width: 2.6; stroke-linecap: round; }
.lgt-tone--light .lgt-cf--4, .lgt-tone--sun .lgt-cf--4 { fill: var(--inv-primary); stroke: var(--inv-primary); }
.lgt-tone--light .lgt-cf--5 { fill: var(--inv-shine); stroke: var(--inv-shine); }

/* the graduation cap */
.lgt-cap { display: block; overflow: visible; }

/* the photo badge (sections/_badge): figure 200:250 */
.lgt-badge { --badge-w: 15rem; --badge-pos: center 25%; position: relative; width: var(--badge-w); aspect-ratio: 200 / 250; margin: 0 auto; flex: none; }
.lgt-badge__back { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 16px 18px color-mix(in srgb, var(--inv-deep) 45%, transparent)); }
.lgt-badge__sticker { fill: #fff; }
.lgt-badge__stitch { stroke: var(--inv-petal); stroke-width: 2.2; stroke-dasharray: 6 5; stroke-linecap: round; }
.lgt-badge__window {
    position: absolute; left: 11%; right: 11%; top: 8.8%; bottom: 8.8%; overflow: hidden; border-radius: 15.4% / 11.65%;
    background: radial-gradient(70% 40% at 70% 10%, color-mix(in srgb, var(--inv-shine) 50%, transparent), transparent 70%), var(--lgt-sky);
}
.lgt-badge__photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--badge-pos); }
.lgt-badge__photo--bg { background: var(--badge-pos) / cover no-repeat; }
.lgt-badge__empty { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: .2rem; }
.lgt-badge__empty-cap { width: 46%; filter: drop-shadow(0 8px 10px rgb(0 0 0 / .3)); }
.lgt-badge__initials { font-family: var(--lgt-display); font-weight: 800; font-size: calc(var(--badge-w) * .17); line-height: 1; color: #fff; text-shadow: .05em .06em 0 var(--inv-petal); }
.lgt-badge__cap { position: absolute; top: -9%; right: -16%; width: 46%; transform: rotate(16deg); pointer-events: none; filter: drop-shadow(0 8px 8px rgb(0 0 0 / .32)); }
.lgt-badge__seal { position: absolute; left: -10%; bottom: 7%; width: 31%; aspect-ratio: 1; display: grid; place-items: center; transform: rotate(-12deg); filter: drop-shadow(0 6px 8px rgb(0 0 0 / .3)); }
.lgt-badge__seal svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lgt-badge__seal-edge { fill: var(--inv-shine); }
.lgt-badge__seal-ring { stroke: var(--lgt-sun-edge); stroke-width: 2; stroke-dasharray: 3 3; }
.lgt-badge__seal-text { position: relative; padding: 0 .2em; font-family: var(--lgt-display); font-size: calc(var(--badge-w) * .068); font-weight: 800; line-height: 1; letter-spacing: .02em; color: var(--lgt-ink); text-align: center; }
.lgt-badge__tab { position: absolute; left: 50%; bottom: -4.6%; transform: translateX(-50%) rotate(-3deg); width: max-content; max-width: 124%; filter: drop-shadow(0 6px 8px rgb(0 0 0 / .3)); }
.lgt-badge__tab span {
    display: block; padding: .38rem 1.3rem .4rem; font-size: .66rem; font-weight: 700; line-height: 1.2; letter-spacing: .2em; text-transform: uppercase; text-align: center;
    color: #fff; background: linear-gradient(180deg, var(--lgt-coral-2), var(--lgt-coral-1)); border-radius: 6px;
    -webkit-mask: radial-gradient(circle at 0 50%, #0000 .36rem, #000 .38rem) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, #0000 .36rem, #000 .38rem) right / 51% 100% no-repeat;
    mask: radial-gradient(circle at 0 50%, #0000 .36rem, #000 .38rem) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, #0000 .36rem, #000 .38rem) right / 51% 100% no-repeat;
}

/* the living sky (sections/_sky) */
.lgt-sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.lgt-sky__cloud { position: absolute; height: auto; overflow: visible; filter: drop-shadow(0 10px 14px color-mix(in srgb, var(--inv-deep) 22%, transparent)); }
.lgt-sky__cloud--a { top: 5%; left: -14%; width: 50%; opacity: .92; }
.lgt-sky__cloud--b { top: 40%; right: -18%; width: 46%; opacity: .5; }
.lgt-sky__cloud--c { bottom: 3%; left: 14%; width: 66%; opacity: .32; }
.lgt-sky__cap { position: absolute; width: 2.8rem; height: auto; opacity: .85; filter: drop-shadow(0 6px 6px rgb(0 0 0 / .25)); }
.lgt-sky__cap--1 { left: 5%; top: 30%; transform: rotate(-14deg); }
.lgt-sky__cap--2 { right: 6%; top: 15%; width: 2.2rem; transform: rotate(18deg); }
.lgt-sky__cap--3 { left: 3%; top: 50%; width: 2.2rem; transform: rotate(10deg); }
.lgt-sky__cap--4 { right: 3%; top: 64%; transform: rotate(-20deg); }
.lgt-sky__sun { position: absolute; top: -5.5rem; right: -5.5rem; width: 12rem; aspect-ratio: 1; color: var(--inv-shine); filter: drop-shadow(0 0 24px color-mix(in srgb, var(--inv-shine) 70%, transparent)); }
.lgt-sky__sun svg { width: 100%; height: 100%; overflow: visible; }
.lgt-sun-rays { position: absolute; z-index: -1; left: 50%; top: -9rem; width: 34rem; aspect-ratio: 1; margin-left: -17rem; color: #fff; opacity: .26; pointer-events: none; }
.lgt-sun-rays svg { width: 100%; height: 100%; overflow: visible; }

/* washi tape */
.lgt-tape {
    position: absolute; z-index: 2; width: 5.4rem; height: 1.45rem; pointer-events: none; opacity: .9;
    background: repeating-linear-gradient(90deg, color-mix(in srgb, #fff 26%, transparent) 0 6px, transparent 6px 12px), color-mix(in srgb, var(--inv-petal) 82%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent 0, #000 3px calc(100% - 3px), transparent 100%); mask: linear-gradient(90deg, transparent 0, #000 3px calc(100% - 3px), transparent 100%);
}
.lgt-tape--left { left: -1.1rem; top: .9rem; transform: rotate(-38deg); }
.lgt-tape--right { right: -1.1rem; top: .9rem; transform: rotate(38deg); background-color: color-mix(in srgb, var(--inv-leaf) 82%, transparent); }
.lgt-tape--top { left: 50%; top: -.75rem; margin-left: -2.7rem; transform: rotate(-4deg); }

/* the award rosette */
.lgt-rosette { display: block; overflow: visible; flex: none; filter: drop-shadow(0 4px 5px rgb(0 0 0 / .2)); }

/* "Dulu & Sekarang" (sections/_compare): two photos in one white sticker frame, the handle drags */
.lgt-compare {
    position: relative; width: min(100%, 18.5rem); aspect-ratio: 4 / 5; margin: 0 auto; overflow: hidden; border-radius: 28px; touch-action: pan-y;
    border: 7px solid #fff; background: #fff; filter: drop-shadow(0 18px 20px color-mix(in srgb, var(--inv-deep) 40%, transparent)); transform: rotate(-1.5deg);
}
.lgt-compare__img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.lgt-compare__then { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.lgt-compare__then .lgt-compare__img { filter: sepia(.35) saturate(1.1) contrast(1.04); }
.lgt-compare__tag {
    position: absolute; top: .8rem; padding: .22rem .7rem; border-radius: 999px; font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    pointer-events: none; box-shadow: 0 4px 10px -4px rgb(0 0 0 / .4);
}
.lgt-compare__tag--then { left: .7rem; color: var(--lgt-ink); background: var(--inv-shine); }
.lgt-compare__tag--now { right: .7rem; color: #fff; background: var(--inv-petal); }
.lgt-compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 8px rgb(0 0 0 / .4); pointer-events: none; }
.lgt-compare__knob {
    position: absolute; left: 50%; top: 55%; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; margin: -1.45rem 0 0 -1.45rem; border-radius: 50%;
    color: var(--lgt-ink); background: var(--inv-shine); box-shadow: 0 0 0 3px #fff, 0 8px 18px -6px rgb(0 0 0 / .6);
}
.lgt-compare__knob svg { width: 1.3rem; height: 1.3rem; }
.lgt-compare .lgt-tap { inset: auto; left: 50%; top: 55%; width: 5.5rem; height: 5.5rem; margin: -2.75rem 0 0 -2.75rem; }
.lgt-compare .lgt-tap__ring { left: 50%; top: 50%; width: 100%; margin: -50% 0 0 -50%; }
.lgt-compare .lgt-tap__hand { left: 46%; top: 58%; }
.lgt-compare__hint {
    position: absolute; left: 50%; bottom: .8rem; transform: translateX(-50%); width: max-content; max-width: 92%; text-align: center; pointer-events: none;
    padding: .38rem .95rem; border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .02em; line-height: 1.25;
    color: var(--lgt-ink); background: var(--inv-shine); box-shadow: 0 8px 16px -8px rgb(0 0 0 / .6);
}
.lgt-compare__range { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.lgt-compare__range:focus-visible { opacity: .01; }
.lgt-compare:has(.lgt-compare__range:focus-visible) .lgt-compare__knob { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--inv-petal); }

/* the tap marker: two pulsing rings, a tapping hand and a label */
.lgt-tap { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; pointer-events: none; }
.lgt-tap__ring {
    position: absolute; left: 50%; top: 50%; width: 7rem; aspect-ratio: 1; margin: -3.5rem 0 0 -3.5rem; border-radius: 50%;
    border: 3px solid #fff; opacity: 0;
}
.lgt-tap__hand {
    position: absolute; left: 58%; top: 56%; width: 2.7rem; height: 2.7rem;
    fill: #fff; stroke: var(--lgt-ink); stroke-width: 1.4; stroke-linejoin: round;
    filter: drop-shadow(0 4px 6px rgb(0 0 0 / .35));
}
.lgt-tap__label {
    position: absolute; left: 50%; bottom: -.4rem; transform: translateX(-50%); width: max-content; max-width: 18rem;
    padding: .42rem 1rem; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .02em; line-height: 1.25;
    color: var(--lgt-ink); background: var(--inv-shine);
    box-shadow: 0 4px 0 var(--lgt-sun-edge), 0 12px 18px -8px rgb(0 0 0 / .5);
}

/* ---------- 4. cover ---------- */
.lgt-cover {
    --badge-cover: 15.4rem;
    position: fixed; inset: 0; z-index: 30; overflow-x: hidden; overflow-y: auto;
    display: flex; flex-direction: column; align-items: center; justify-content: safe center;
    padding: 2.8rem 1.4rem 1.8rem; isolation: isolate; color: #fff;
    background: radial-gradient(60% 28% at 88% 2%, color-mix(in srgb, var(--inv-shine) 50%, transparent), transparent 70%), var(--lgt-sky);
    transition: opacity .9s ease;
}
.lgt-cover__confetti { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.lgt-cover__streamer { position: absolute; z-index: -1; bottom: -1.2rem; width: 2.6rem; height: auto; overflow: visible; }
.lgt-cover__streamer--l { left: .4rem; color: var(--inv-petal); transform: rotate(14deg); }
.lgt-cover__streamer--r { right: .4rem; color: var(--inv-shine); transform: scaleX(-1) rotate(14deg); }
.lgt-cover__inner { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 400px; text-align: center; transition: transform .9s cubic-bezier(.5, 0, .3, 1); }

.lgt-cover__title { margin: 0 0 1.25rem; }
.lgt-cover__title span {
    display: inline-block; padding: .36rem 1rem; border-radius: 999px; transform: rotate(-2.5deg);
    font-size: .72rem; font-weight: 700; line-height: 1.25; letter-spacing: .2em; text-transform: uppercase;
    color: #fff; background: var(--inv-petal); box-shadow: 0 4px 0 var(--lgt-coral-1), 0 10px 18px -8px rgb(0 0 0 / .45);
}

.lgt-cover__art { position: relative; width: var(--badge-cover); margin-bottom: 1.1rem; }
.lgt-cover__rays { position: absolute; z-index: -1; left: 50%; top: 46%; width: 190%; aspect-ratio: 1; margin: -95% 0 0 -95%; color: #fff; opacity: .16; pointer-events: none; }
.lgt-cover__rays svg { width: 100%; height: 100%; overflow: visible; }
.lgt-badge--cover { --badge-w: var(--badge-cover); }

.lgt-cover__names {
    margin: .45rem 0 0; max-width: 100%; font-family: var(--lgt-display); font-size: 3.3rem; font-weight: 800; line-height: 1.02;
    letter-spacing: -.02em; color: #fff; text-wrap: balance; text-shadow: .045em .06em 0 var(--lgt-sun-edge), 0 10px 24px rgb(0 0 0 / .25);
}
.lgt-cover__degree { margin: .3rem 0 0; font-size: .98rem; font-weight: 600; letter-spacing: .03em; color: var(--inv-shine); text-wrap: balance; }
.lgt-cover__date { margin: .6rem 0 0; }
.lgt-cover__date span {
    display: inline-block; padding: .34rem 1.4rem .36rem; font-family: var(--lgt-display); font-size: 1.02rem; font-weight: 700; letter-spacing: .01em;
    color: var(--lgt-ink); background: #fff; border-radius: 6px;
    -webkit-mask: radial-gradient(circle at 0 50%, #0000 .4rem, #000 .42rem) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, #0000 .4rem, #000 .42rem) right / 51% 100% no-repeat;
    mask: radial-gradient(circle at 0 50%, #0000 .4rem, #000 .42rem) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, #0000 .4rem, #000 .42rem) right / 51% 100% no-repeat;
}
.lgt-cover__quote {
    max-width: 30ch; margin: .55rem 0 0; font-family: var(--lgt-serif); font-style: italic; font-weight: 500;
    font-size: 1.04rem; line-height: 1.32; color: color-mix(in srgb, #fff 90%, transparent); text-wrap: balance;
}
.lgt-cover__guest {
    width: min(100%, 18.5rem); margin: .75rem 0 0; padding: .45rem 1rem .5rem; border-radius: 16px;
    background: color-mix(in srgb, var(--inv-deep) 42%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, #fff 40%, transparent);
}
.lgt-cover__guest p { margin: 0; font-size: .6rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--inv-shine); }
.lgt-cover__guest-name { display: block; font-family: var(--lgt-display); font-size: 1.22rem; font-weight: 700; line-height: 1.22; color: #fff; overflow-wrap: anywhere; }
.lgt-cover__open {
    margin-top: .85rem; min-height: 2.95rem; padding: .65rem 2rem; border-radius: 999px; font-weight: 700; letter-spacing: .04em;
    color: var(--lgt-ink); background: var(--inv-shine);
    box-shadow: 0 5px 0 var(--lgt-sun-edge), 0 16px 24px -10px rgb(0 0 0 / .5);
}

/* leaving: the cover fades and floats up (never blocks: .9s) */
.lgt-cover--leave { transition: opacity .9s ease .1s; }
.lgt-cover--gone { opacity: 0; }
.lgt-cover--gone .lgt-cover__inner { transform: translateY(-3rem) scale(.98); }

/* ---------- 5. sections ---------- */

/* opening: the taped letter with two ticket notches */
.lgt-opening { padding: 4.6rem 1.3rem 4.2rem; }
.lgt-letter { position: relative; max-width: 22.5rem; margin: 0 auto; padding: 3.2rem 1.45rem 2.2rem; border-radius: 26px; background: #fff; box-shadow: var(--lgt-drop), 0 0 0 1px var(--lgt-line); }
.lgt-letter::before, .lgt-letter::after {
    content: ''; position: absolute; top: 58%; width: 1.4rem; height: 1.4rem; margin-top: -.7rem; border-radius: 50%; background: var(--inv-background);
    box-shadow: inset 0 0 0 1px var(--lgt-line);
}
.lgt-letter::before { left: -.7rem; }
.lgt-letter::after { right: -.7rem; }
.lgt-letter__cap { position: absolute; z-index: 3; left: 50%; top: -2.3rem; width: 5.2rem; margin-left: -2.6rem; transform: rotate(-8deg); filter: drop-shadow(0 8px 8px rgb(0 0 0 / .25)); }
.lgt-letter__body { position: relative; }
.lgt-opening__basmalah { margin: 0 0 .6rem; font-size: 1.75rem; }
.lgt-opening__greeting { margin: 0 auto; max-width: 22ch; font-family: var(--lgt-display); font-size: 1.36rem; font-weight: 700; line-height: 1.3; color: var(--lgt-title); text-wrap: balance; }
.lgt-opening__divider { margin: .9rem auto; }
.lgt-opening__message { margin: 0 auto; max-width: 30ch; color: var(--lgt-muted); }
.lgt-opening__quote { margin: 1.4rem 0 0; padding: 1.2rem .9rem 1rem; border-radius: 18px; background: color-mix(in srgb, var(--inv-shine) 24%, #fff); }
.lgt-opening__quote p { margin: 0; font-family: var(--lgt-serif); font-style: italic; font-size: 1.1rem; font-weight: 500; line-height: 1.5; color: var(--inv-text); }
.lgt-opening__quote cite,
.lgt-prayer__text cite {
    display: inline-block; margin-top: .9rem; padding: .28rem .9rem; border-radius: 999px; font-style: normal; font-size: .68rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--inv-primary);
}

/* graduate: the slider or the badge, then a white card with name, degree, major, predicate, thesis, parents */
.lgt-graduate__list { display: grid; gap: 3rem; }
.lgt-graduate__card { max-width: 24rem; margin: 0 auto; }
.lgt-badge--graduate { --badge-w: min(14rem, 64vw); margin-top: 1.2rem; z-index: 1; }
.lgt-graduate__card > .lgt-compare { z-index: 1; }
.lgt-graduate__info { position: relative; margin: -1.2rem auto 0; padding: 2.3rem 1.2rem 1.4rem; border-radius: 24px; background: #fff; color: var(--inv-text); box-shadow: var(--lgt-drop); }
.lgt-graduate__name { margin: 0 auto; max-width: 20ch; font-family: var(--lgt-display); font-size: 1.75rem; font-weight: 800; line-height: 1.12; letter-spacing: -.01em; color: var(--lgt-title); text-wrap: balance; }
.lgt-graduate__degree { font-weight: 700; color: var(--lgt-coral-ink); }
.lgt-graduate__major {
    display: inline-block; margin: .65rem auto 0 !important; padding: .3rem .9rem; border-radius: 999px; max-width: 100%;
    font-size: .74rem; font-weight: 700; letter-spacing: .1em; line-height: 1.35; text-transform: uppercase; color: #fff; background: var(--inv-primary); text-wrap: balance;
}
.lgt-graduate__predicate {
    display: flex; align-items: center; justify-content: center; gap: .5rem; margin: 1rem auto 0 !important; text-align: left;
    font-family: var(--lgt-display); font-size: 1.18rem; font-weight: 700; line-height: 1.2; color: var(--lgt-ink);
}
.lgt-graduate__predicate small { display: block; font-family: var(--lgt-sans); font-size: .6rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--lgt-coral-ink); }
.lgt-graduate__rosette { width: 2.7rem; height: auto; }
.lgt-graduate__thesis {
    margin: 1.1rem auto 0; padding: .8rem 1rem .9rem 1.2rem; border-radius: 16px; text-align: left;
    background: color-mix(in srgb, var(--inv-soft) 18%, #fff);
    box-shadow: inset 4px 0 0 var(--inv-petal);
}
.lgt-graduate__thesis span { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--lgt-coral-ink); }
.lgt-graduate__thesis p { margin: .2rem 0 0; font-family: var(--lgt-serif); font-size: 1.06rem; font-style: italic; line-height: 1.55; color: var(--inv-text); }
.lgt-graduate__parents { margin: 1rem auto 0 !important; font-size: .88rem; color: var(--lgt-muted); }
.lgt-graduate__parents span { display: block; font-size: .8rem; }
.lgt-graduate__parents strong { display: block; text-wrap: balance; font-family: var(--lgt-display); font-size: 1.1rem; font-weight: 700; line-height: 1.3; color: var(--inv-text); }

/* institution: "Lempar!" — the school, the cap cluster that flies, the "Selamat" card */
.lgt-institution { padding-bottom: 4.4rem; }
.lgt-institution__eyebrow {
    display: inline-block; margin: 0 0 .7rem !important; padding: .3rem .9rem; border-radius: 999px; font-size: .68rem; font-weight: 700;
    letter-spacing: .2em; text-transform: uppercase; color: var(--lgt-ink); background: var(--inv-shine); transform: rotate(-2deg);
}
.lgt-institution__logo { display: block; width: 4.6rem; height: 4.6rem; margin: 0 auto .7rem; object-fit: contain; padding: .5rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--inv-shine), 0 10px 18px -8px rgb(0 0 0 / .5); }
.lgt-institution__name { margin: 0 auto; max-width: 17ch; font-family: var(--lgt-display); font-size: 2.05rem; font-weight: 800; line-height: 1.08; letter-spacing: -.015em; color: #fff; text-wrap: balance; text-shadow: .04em .05em 0 color-mix(in srgb, var(--inv-deep) 70%, transparent); }
.lgt-institution__faculty { margin: .5rem auto 0 !important; font-family: var(--lgt-serif); font-size: 1.1rem; font-style: italic; color: var(--tone-muted); }
.lgt-institution__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin: .9rem auto 0 !important; }
.lgt-institution__facts span { padding: .28rem .85rem; border-radius: 999px; font-size: .76rem; font-weight: 600; color: var(--lgt-title); background: #fff; }

.lgt-toss { position: relative; z-index: 3; width: 16rem; height: 13rem; margin: 1.6rem auto 0; }
.lgt-toss__glow { position: absolute; left: 50%; top: 50%; width: 18rem; aspect-ratio: 1; margin: -9rem 0 0 -9rem; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--inv-shine) 55%, transparent), transparent); pointer-events: none; }
.lgt-toss__burst { position: absolute; left: 50%; top: 46%; width: 17rem; aspect-ratio: 1; margin: -8.5rem 0 0 -8.5rem; color: var(--inv-shine); opacity: 0; pointer-events: none; }
.lgt-toss__burst svg { width: 100%; height: 100%; overflow: visible; }
.lgt-toss__flyers { position: absolute; left: 50%; top: 42%; width: 0; height: 0; pointer-events: none; }
.lgt-toss__flyer { position: absolute; left: -2.6rem; top: -2.2rem; width: 5.2rem; height: auto; opacity: 0; overflow: visible; filter: drop-shadow(0 6px 6px rgb(0 0 0 / .3)); }
.lgt-toss__cluster {
    position: absolute; inset: 0; z-index: 2; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer;
    background: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.lgt-toss__cluster:focus-visible { outline: 3px solid var(--inv-shine); outline-offset: 4px; border-radius: 1.2rem; }
.lgt-toss__cap { position: absolute; height: auto; filter: drop-shadow(0 12px 14px rgb(0 0 0 / .38)); }
.lgt-toss__cap--left { left: 4%; top: 22%; width: 42%; transform: rotate(-22deg); --lx: -40px; --lr: -380deg; }
.lgt-toss__cap--right { right: 4%; top: 18%; width: 42%; transform: rotate(20deg); --lx: 46px; --lr: 420deg; }
.lgt-toss__cap--front { left: 50%; top: 28%; width: 64%; margin-left: -32%; transform: rotate(-4deg); --lx: 6px; --lr: 340deg; }
.lgt-toss .lgt-tap__ring { top: 52%; }
.lgt-toss .lgt-tap__hand { left: 62%; top: 60%; }
.lgt-toss .lgt-tap__label { bottom: -.6rem; }
.lgt-toss__again {
    position: absolute; left: 50%; bottom: -.4rem; transform: translateX(-50%) rotate(-2deg); padding: .32rem .9rem; border-radius: 999px; white-space: nowrap;
    font-size: .74rem; font-weight: 700; color: var(--lgt-ink); background: #fff; box-shadow: 0 8px 14px -8px rgb(0 0 0 / .5);
}

.lgt-congrats {
    position: relative; max-width: 21rem; margin: 2.4rem auto 0; padding: 1.5rem 1.2rem 1.4rem; border-radius: 26px; overflow: hidden;
    color: var(--lgt-ink); background: radial-gradient(90% 70% at 50% 0%, #fff8d6, transparent 70%), var(--inv-shine);
    box-shadow: 0 0 0 5px #fff, 0 26px 40px -18px rgb(0 0 0 / .55);
    transition: opacity .7s ease .9s, transform .8s cubic-bezier(.34, 1.56, .64, 1) .9s, filter .7s ease .9s;
}
.lgt-congrats__confetti { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.lgt-congrats > :not(svg) { position: relative; z-index: 1; }
.lgt-institution.is-armed .lgt-congrats { opacity: .22; transform: scale(.9) translateY(10px); filter: blur(3px) saturate(.6); transition-delay: 0s; }
.lgt-congrats__title { margin: 0; font-family: var(--lgt-display); font-size: 1.6rem; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
.lgt-congrats__title em { display: inline-block; padding: 0 .06em .08em; font-family: var(--lgt-script); font-style: normal; font-weight: 400; font-size: 1.45em; line-height: 1.12; word-spacing: .12em; color: var(--inv-primary); }
.lgt-congrats__title--many em { display: block; font-size: 1.2em; text-wrap: balance; }
.lgt-congrats__grad + .lgt-congrats__grad { margin-top: .9rem; padding-top: .9rem; border-top: 2px dashed color-mix(in srgb, var(--lgt-ink) 25%, transparent); }
.lgt-congrats__who { margin: .3rem 0 0; font-family: var(--lgt-display); font-size: 1.15rem; font-weight: 800; }
.lgt-congrats__degree { margin: .45rem 0 0; font-size: .92rem; font-weight: 600; line-height: 1.4; text-wrap: balance; }
.lgt-congrats__predicate {
    display: inline-flex; align-items: center; gap: .4rem; margin: .7rem 0 0; padding: .3rem .95rem .3rem .4rem; border-radius: 999px;
    font-family: var(--lgt-display); font-size: 1.02rem; font-weight: 700; line-height: 1.2; color: #fff; background: var(--inv-primary); text-align: left;
}
.lgt-congrats__rosette { width: 1.9rem; height: auto; margin: -.5rem 0 -.6rem; }
.lgt-congrats__ceremony { margin: .8rem 0 0; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: color-mix(in srgb, var(--lgt-ink) 80%, transparent); }

/* thanks: a taped note with a coral double margin */
.lgt-thanks__card {
    position: relative; max-width: 23rem; margin: 0 auto; padding: 2.2rem 1.3rem 1.6rem 2.1rem; border-radius: 20px; text-align: center;
    background: linear-gradient(90deg, transparent 1.05rem, color-mix(in srgb, var(--inv-petal) 55%, transparent) 1.05rem 1.15rem, transparent 1.15rem 1.3rem, color-mix(in srgb, var(--inv-petal) 55%, transparent) 1.3rem 1.4rem, transparent 1.4rem), #fff;
    box-shadow: var(--lgt-drop);
    transform: rotate(-.8deg);
}
.lgt-thanks__words { margin: 0; font-family: var(--lgt-serif); font-size: 1.16rem; font-style: italic; font-weight: 500; line-height: 1.6; color: var(--inv-text); }
.lgt-thanks__names { display: grid; gap: .35rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.lgt-thanks__names li { display: block; font-size: .9rem; font-weight: 600; line-height: 1.35; color: var(--lgt-title); text-wrap: balance; }
.lgt-thanks__names li::before { content: ''; display: inline-block; width: 10px; height: 10px; margin: 0 .4rem .08rem 0; background: var(--inv-petal); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.lgt-thanks__signature { display: block; margin-top: .9rem; font-family: var(--lgt-script); font-style: normal; font-size: 2.4rem; line-height: 1.1; word-spacing: .12em; color: var(--inv-primary); }

/* next step: a paper plane on a looping trail, a white card */
.lgt-next { padding-top: 2.6rem; }
.lgt-next__trail { display: block; width: min(100%, 20rem); height: auto; margin: 0 auto -.6rem; overflow: visible; }
.lgt-next__path { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: .012 .02; opacity: .85; }
.lgt-next__plane { filter: drop-shadow(0 6px 6px rgb(0 0 0 / .25)); }
.lgt-next__card { position: relative; max-width: 22rem; margin: 0 auto; padding: 1.7rem 1.3rem 1.5rem; border-radius: 24px; background: #fff; color: var(--inv-text); box-shadow: var(--lgt-drop); }
.lgt-next__label { display: inline-block; margin: 0; padding: .26rem .85rem; border-radius: 999px; font-size: .64rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--lgt-ink); background: var(--inv-shine); }
.lgt-next__title { margin: .6rem auto 0; max-width: 18ch; font-family: var(--lgt-display); font-size: 1.55rem; font-weight: 800; line-height: 1.18; color: var(--lgt-coral-ink); text-wrap: balance; }
.lgt-next__text { margin: .5rem auto 0; max-width: 30ch; font-size: .9rem; color: var(--lgt-muted); }

/* events: white tickets with a sunshine date stub and a tear line */
.lgt-event { position: relative; margin: 0 auto; max-width: 25rem; padding: .65rem .65rem 1.4rem; border-radius: 24px; background: #fff; text-align: left; box-shadow: var(--lgt-drop), 0 0 0 1px var(--lgt-line); }
.lgt-event + .lgt-event { margin-top: 2.6rem; }
.lgt-event__cap { position: absolute; z-index: 2; right: -.6rem; top: -1.6rem; width: 4.4rem; transform: rotate(14deg); filter: drop-shadow(0 6px 6px rgb(0 0 0 / .25)); }
.lgt-event--flip .lgt-event__cap { right: auto; left: -.6rem; transform: scaleX(-1) rotate(14deg); }
.lgt-event__media { position: relative; overflow: hidden; border-radius: 18px 18px 6px 6px; }
.lgt-event__photo {
    display: block; width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; object-position: center 30%;
    -webkit-mask: linear-gradient(180deg, #000 70%, transparent); mask: linear-gradient(180deg, #000 70%, transparent);
}
.lgt-event__top { display: flex; align-items: center; gap: .9rem; padding: 1rem .7rem 0; }
.lgt-event__media + .lgt-event__top { position: relative; margin-top: -2.2rem; }
.lgt-event__date {
    display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; width: 4.7rem; padding: .55rem 0 .5rem; margin: 0;
    border-radius: 16px; color: var(--lgt-ink); background: var(--inv-shine); transform: rotate(-3deg);
    box-shadow: 0 4px 0 var(--lgt-sun-edge), 0 12px 18px -10px rgb(0 0 0 / .5);
    font-size: .58rem; font-weight: 700; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase;
}
.lgt-event__date strong { font-family: var(--lgt-display); font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: 0; }
.lgt-event__head { min-width: 0; }
.lgt-event__media + .lgt-event__top .lgt-event__head { padding-top: 2.2rem; }
.lgt-event__name { margin: 0; font-family: var(--lgt-display); font-size: 1.5rem; font-weight: 800; line-height: 1.12; color: var(--lgt-title); text-wrap: balance; }
.lgt-event__full { margin: .15rem 0 0; font-size: .82rem; color: var(--lgt-muted); }
.lgt-event__tear {
    position: relative; height: 1.4rem; margin: 1rem -.65rem 0;
    background: radial-gradient(circle at 0 50%, var(--inv-background) .7rem, transparent .72rem), radial-gradient(circle at 100% 50%, var(--inv-background) .7rem, transparent .72rem);
}
.lgt-event__tear::after { content: ''; position: absolute; left: 1.1rem; right: 1.1rem; top: 50%; border-top: 2px dashed color-mix(in srgb, var(--inv-primary) 30%, transparent); }
.lgt-event__rows { display: grid; gap: .7rem; margin: .4rem .7rem 0; padding: 0; list-style: none; font-size: .9rem; }
.lgt-event__rows li { display: flex; align-items: flex-start; gap: .65rem; }
.lgt-event__rows .lgt-icon { width: 2rem; height: 2rem; padding: .42rem; border-radius: 50%; color: #fff; background: var(--inv-primary); }
.lgt-event__rows li:nth-child(2) .lgt-icon { background: var(--inv-petal); }
.lgt-event__rows li:nth-child(3) .lgt-icon { background: var(--inv-leaf); }
.lgt-event__rows li > span { padding-top: .28rem; }
.lgt-event__venue { display: block; font-weight: 700; }
.lgt-event__address { display: block; font-size: .85rem; color: var(--lgt-muted); }
.lgt-event .inv-maps { margin: 1.1rem .7rem 0; text-align: center; }
.lgt-event .inv-maps .inv-button { width: 100%; min-height: 2.8rem; border-radius: 999px; font-weight: 700; color: #fff; background: var(--inv-primary); box-shadow: 0 4px 0 var(--inv-deep); }
.lgt-event .inv-maps__frame { height: 180px; border-radius: 16px; }

/* countdown: white tilted stickers with a confetti underline */
.lgt-countdown .inv-countdown { gap: clamp(.45rem, 2.4vw, .75rem); }
.lgt-countdown .inv-countdown__item {
    --under: var(--lgt-c1);
    display: grid; place-content: center; width: clamp(4rem, 18.5vw, 4.6rem); min-width: 0; aspect-ratio: 1 / 1.1; padding: 0; border-radius: 18px;
    color: var(--lgt-ink); background: #fff; box-shadow: inset 0 -5px 0 var(--under), 0 14px 22px -12px rgb(0 0 0 / .55); transform: rotate(-3deg);
}
.lgt-countdown .inv-countdown__item:nth-child(2) { --under: var(--lgt-c2); transform: rotate(2.5deg); }
.lgt-countdown .inv-countdown__item:nth-child(3) { --under: var(--lgt-c3); transform: rotate(-2deg); }
.lgt-countdown .inv-countdown__item:nth-child(4) { --under: var(--inv-primary); transform: rotate(3deg); }
.lgt-countdown .inv-countdown__value { font-variant-numeric: lining-nums tabular-nums; font-family: var(--lgt-display); font-size: 1.9rem; font-weight: 800; line-height: 1; color: var(--lgt-title); }
.lgt-countdown .inv-countdown__label { margin-top: .15rem; font-size: .54rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lgt-muted); opacity: 1; }
.lgt-countdown .inv-countdown__done { font-family: var(--lgt-display); font-size: 1.3rem; font-weight: 700; color: var(--inv-shine); }
.lgt-countdown .inv-countdown__actions { flex-direction: column; align-items: center; gap: .65rem; margin-top: 2rem; }
.lgt-countdown .inv-countdown__actions .inv-button {
    width: min(100%, 17rem); min-height: 2.8rem; padding: .6rem 1rem; border-radius: 999px; font-size: .86rem; font-weight: 700;
    color: #fff; background: color-mix(in srgb, #fff 14%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, #fff 60%, transparent);
}
.lgt-countdown .inv-countdown__actions .inv-button:first-child { color: var(--lgt-ink); background: var(--inv-shine); box-shadow: 0 4px 0 var(--lgt-sun-edge); }
.lgt-countdown .inv-cal {
    --inv-cal-bg: #fff; --inv-cal-mark: var(--inv-petal);
    max-width: 19rem; margin: 2.6rem auto 0; border-radius: 24px; transform: rotate(-1deg);
    box-shadow: 0 22px 40px -22px rgb(0 0 0 / .6);
}
.lgt-countdown .inv-cal__month { font-family: var(--lgt-display); font-size: 1.45rem; font-weight: 800; color: var(--lgt-title); }

/* prayer: a white card, a cap on its top edge, the sun's rays behind */
.lgt-prayer { padding-top: 5.4rem; }
.lgt-prayer__panel {
    position: relative; max-width: 22rem; margin: 0 auto; padding: 3rem 1.4rem 2.2rem; border-radius: 28px;
    color: var(--inv-text); background: #fff; box-shadow: 0 0 0 5px color-mix(in srgb, #fff 45%, transparent), var(--lgt-drop);
}
.lgt-prayer__cap { position: absolute; left: 50%; top: -2.6rem; width: 5.6rem; margin-left: -2.8rem; transform: rotate(-6deg); filter: drop-shadow(0 8px 10px rgb(0 0 0 / .25)); }
.lgt-prayer__eyebrow { margin: 0 0 .9rem; font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--lgt-coral-ink); }
.lgt-prayer__arabic { margin: 0 0 1rem; font-size: 1.55rem; text-wrap: balance; }
.lgt-prayer__text { margin: 0; }
.lgt-prayer__text p { margin: 0; font-family: var(--lgt-serif); font-size: 1.12rem; font-style: italic; font-weight: 500; line-height: 1.5; }

/* rundown: a dotted trail with confetti dots; times on blue pills */
.lgt-rundown__list { position: relative; max-width: 24rem; margin: 0 auto; padding: 0; list-style: none; text-align: left; }
.lgt-rundown__list::before {
    content: ''; position: absolute; left: 2.4rem; top: .6rem; bottom: .6rem; width: 0; transform-origin: top;
    border-left: 3px dotted color-mix(in srgb, var(--inv-primary) 55%, transparent);
}
.lgt-rundown__item { position: relative; display: grid; grid-template-columns: 4.8rem minmax(0, 1fr); align-items: start; column-gap: .8rem; padding: 0 0 1rem; }
.lgt-rundown__item:last-child { padding-bottom: 0; }
.lgt-rundown__time {
    position: relative; justify-self: center; margin-top: .45rem; padding: .24rem .66rem; border-radius: 999px; font-size: .84rem; font-weight: 700;
    font-variant-numeric: tabular-nums; color: #fff; background: var(--inv-primary); box-shadow: 0 0 0 3px var(--inv-background), 0 3px 0 4px var(--dot);
}
.lgt-rundown__body { padding: .7rem .95rem .75rem 1.1rem; border-radius: 16px; background: #fff; box-shadow: 0 10px 18px -14px color-mix(in srgb, var(--inv-deep) 60%, transparent), inset 4px 0 0 var(--dot); }
.lgt-rundown__body h3 { margin: 0; font-family: var(--lgt-display); font-size: 1.1rem; font-weight: 700; line-height: 1.3; color: var(--lgt-title); }
.lgt-rundown__body p { margin: .1rem 0 0; font-size: .85rem; color: var(--lgt-muted); }

/* party: the theme sticker with streamers, the outfit and its swatches, the note and the hashtag */
.lgt-party__label { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--lgt-coral-ink); }
.lgt-party__theme-card { position: relative; max-width: 19rem; margin: 0 auto; padding: 1.4rem 2.6rem 1.5rem; border-radius: 28px; background: #fff; box-shadow: var(--lgt-drop); transform: rotate(-1.5deg); }
.lgt-party__theme { margin: .3rem 0 0; font-family: var(--lgt-display); font-size: 1.6rem; font-weight: 800; line-height: 1.15; color: var(--lgt-title); text-wrap: balance; }
.lgt-party__streamer { position: absolute; top: 50%; width: 1.9rem; height: auto; margin-top: -2.9rem; overflow: visible; }
.lgt-party__streamer--left { left: -.9rem; color: var(--inv-petal); transform: rotate(-12deg); }
.lgt-party__streamer--right { right: -.9rem; color: var(--inv-leaf); transform: scaleX(-1) rotate(-12deg); }
.lgt-party__dress {
    display: grid; grid-template-columns: 5rem minmax(0, 1fr); align-items: center; gap: 1rem; max-width: 22rem; margin: 1.6rem auto 0;
    padding: 1.1rem 1.2rem; border-radius: 22px; text-align: left; background: #fff; color: var(--inv-text); box-shadow: var(--lgt-drop);
}
.lgt-party__gown { width: 5rem; height: auto; overflow: visible; }
.lgt-party__hanger { fill: none; stroke: var(--lgt-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lgt-party__gown-body { fill: var(--lgt-pick, var(--inv-primary)); stroke: var(--lgt-ink); stroke-width: 1.4; transition: fill .4s ease; }
.lgt-party__gown-line { fill: none; stroke: color-mix(in srgb, #fff 60%, transparent); stroke-width: 1.2; }
.lgt-party__dress-name { margin: .15rem 0 .55rem; font-family: var(--lgt-display); font-size: 1.2rem; font-weight: 700; line-height: 1.2; color: var(--lgt-title); }
.lgt-swatches { display: flex; flex-wrap: wrap; gap: .5rem; }
.lgt-swatch {
    width: 2.2rem; height: 2.2rem; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: var(--lgt-swatch);
    box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px color-mix(in srgb, var(--lgt-ink) 30%, transparent); transition: transform .2s ease;
}
.lgt-swatch[aria-pressed=true] { transform: scale(1.12); box-shadow: 0 0 0 2px #fff, 0 0 0 4.5px var(--inv-petal); }
.lgt-party__hint { margin: .5rem 0 0 !important; font-size: .76rem; color: var(--lgt-muted); }
.lgt-party__hint--center { margin: .6rem auto 0 !important; text-align: center; color: var(--tone-muted); }
.lgt-party__note { margin-top: 1.4rem !important; font-family: var(--lgt-serif); font-size: 1.1rem; font-style: italic; font-weight: 500; line-height: 1.5; color: var(--tone-text); }
.lgt-party__hashtag {
    display: inline-flex; align-items: center; gap: .5rem; max-width: 100%; margin-top: .4rem; padding: .35rem .4rem .35rem .9rem; border-radius: 999px;
    background: #fff; box-shadow: 0 10px 18px -12px rgb(0 0 0 / .5);
}
.lgt-party__hashtag .lgt-icon { color: var(--inv-petal); }
.lgt-party__hashtag-text { font-weight: 700; color: var(--lgt-title); overflow-wrap: anywhere; }
.lgt-party__copy { min-height: 2.2rem; padding: .3rem .95rem; border: 0; border-radius: 999px; cursor: pointer; font: 700 .78rem/1 var(--lgt-sans); color: #fff; background: var(--inv-primary); }

/* wishlist: white row cards with a sunshine number */
.lgt-wishlist__intro { color: var(--tone-muted); font-size: .92rem; }
.lgt-wishlist__list { display: grid; gap: .65rem; max-width: 24rem; margin: 1.3rem auto 0; padding: 0; list-style: none; text-align: left; }
.lgt-wishlist__item { display: grid; grid-template-columns: 2.8rem minmax(0, 1fr); align-items: start; gap: .9rem; padding: .85rem 1rem; border-radius: 18px; background: #fff; box-shadow: 0 10px 18px -14px color-mix(in srgb, var(--inv-deep) 60%, transparent), 0 0 0 1px var(--lgt-line); }
.lgt-wishlist__item:nth-child(3n + 2) .lgt-wishlist__number { background: var(--inv-petal); color: #fff; box-shadow: 0 3px 0 var(--lgt-coral-1); }
.lgt-wishlist__item:nth-child(3n) .lgt-wishlist__number { background: var(--inv-leaf); color: #fff; box-shadow: 0 3px 0 color-mix(in srgb, var(--inv-leaf) 70%, #000); }
.lgt-wishlist__number {
    display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; font-family: var(--lgt-display); font-size: 1.15rem; font-weight: 800;
    color: var(--lgt-ink); background: var(--inv-shine); box-shadow: 0 3px 0 var(--lgt-sun-edge);
}
.lgt-wishlist__photo { display: block; width: 2.8rem; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--inv-shine); }
.lgt-wishlist__text p { margin: 0; }
.lgt-wishlist__name { padding-top: .1rem; font-family: var(--lgt-display); font-size: 1.12rem; font-weight: 700; line-height: 1.3; color: var(--lgt-title); overflow-wrap: anywhere; }
.lgt-wishlist__note { margin-top: .1rem !important; font-size: .86rem; color: var(--lgt-muted); }
.lgt-wishlist__shop { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.2rem; margin-top: .25rem; font-size: .82rem; font-weight: 700; text-decoration: none; }
.lgt-wishlist__shop .lgt-icon { width: 1rem; height: 1rem; }

/* story: taped polaroids beside the text, alternating; text-only chapters as white cards */
.lgt-story__list { display: grid; gap: 2.2rem; margin: 0; padding: 0; list-style: none; text-align: left; }
.lgt-story__item { display: grid; grid-template-columns: 44% minmax(0, 1fr); align-items: center; gap: 1.1rem; }
.lgt-story__item--flip { grid-template-columns: minmax(0, 1fr) 44%; }
.lgt-story__item--flip .lgt-story__media { order: 2; transform: rotate(3deg); }
.lgt-story__media { position: relative; padding: .45rem .45rem 1.6rem; border-radius: 6px; background: #fff; transform: rotate(-3deg); box-shadow: 0 16px 22px -14px color-mix(in srgb, var(--inv-deep) 55%, transparent); }
.lgt-story__media .lgt-tape--top { width: 3.6rem; height: 1.1rem; margin-left: -1.8rem; top: -.55rem; }
.lgt-story__item--flip .lgt-tape--top { background-color: color-mix(in srgb, var(--inv-leaf) 82%, transparent); }
.lgt-story__photo { display: block; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center 28%; border-radius: 3px; }
.lgt-story__when { display: inline-block; padding: .22rem .75rem; border-radius: 999px; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--inv-primary); }
.lgt-story__body h3 { margin: .5rem 0 0; font-family: var(--lgt-display); font-size: 1.32rem; font-weight: 800; line-height: 1.15; color: var(--lgt-title); text-wrap: balance; }
.lgt-story__body p { margin: .35rem 0 0; font-size: .88rem; line-height: 1.55; color: var(--lgt-muted); }
.lgt-story__item--text { grid-template-columns: 2.6rem minmax(0, 1fr); align-items: start; gap: .9rem; padding: 1.15rem 1.2rem; border-radius: 20px; background: #fff; box-shadow: var(--lgt-drop); }
.lgt-story__dot {
    display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; font-family: var(--lgt-display); font-size: 1.2rem; font-weight: 800;
    color: var(--lgt-ink); background: var(--inv-shine); box-shadow: 0 3px 0 var(--lgt-sun-edge);
}

/* gallery: white sticker borders, tilted a touch */
.lgt-gallery .inv-gallery { gap: .7rem; }
.lgt-gallery .inv-gallery__item { border-radius: 16px; border: 5px solid #fff; background: #fff; box-shadow: 0 16px 24px -16px rgb(0 0 0 / .6); }
.lgt-gallery .inv-gallery__item:nth-child(odd) { transform: rotate(-1.4deg); }
.lgt-gallery .inv-gallery__item:nth-child(even) { transform: rotate(1.4deg); }
.lgt-gallery .inv-gallery__item img { border-radius: 11px; }
.lgt-gallery .inv-gallery__item:first-child { grid-row: span 2; aspect-ratio: auto; }

/* live streaming: a sky card */
.lgt-stream__card {
    position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .9rem 1rem; max-width: 24rem; margin: 0 auto; padding: 1.35rem;
    border-radius: 26px; color: #fff; text-align: left; background: radial-gradient(60% 60% at 100% 0%, color-mix(in srgb, var(--inv-shine) 35%, transparent), transparent 70%), var(--lgt-sky);
    box-shadow: var(--lgt-drop);
}
.lgt-stream__icon { display: grid; place-items: center; width: 3.3rem; height: 3.3rem; border-radius: 50%; color: var(--lgt-ink); background: var(--inv-shine); box-shadow: 0 4px 0 var(--lgt-sun-edge); }
.lgt-stream__icon .lgt-icon { width: 1.65rem; height: 1.65rem; }
.lgt-stream__title { margin: 0 0 .1rem; font-family: var(--lgt-display); font-size: 1.55rem; font-weight: 800; line-height: 1.1; color: #fff; }
.lgt-stream__text p { margin: 0; font-size: .86rem; color: color-mix(in srgb, #fff 88%, transparent); }
.lgt-stream__text .lgt-stream__note { margin-top: .3rem; font-weight: 700; color: var(--inv-shine); }
.lgt-stream__button { grid-column: 1 / -1; min-height: 2.8rem; border-radius: 999px !important; color: var(--lgt-ink) !important; background: var(--inv-shine) !important; font-weight: 700; box-shadow: 0 4px 0 var(--lgt-sun-edge); }

/* RSVP card: white with a confetti strip along the top */
.lgt-rsvp__card { position: relative; overflow: hidden; max-width: 25rem; margin: 0 auto; padding: 2.2rem 1.15rem 1.4rem; border-radius: 26px; color: var(--inv-text); background: #fff; box-shadow: 0 22px 40px -22px rgb(0 0 0 / .6); }
.lgt-rsvp__card::before {
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 10px;
    background: repeating-linear-gradient(90deg, var(--lgt-c1) 0 22px, var(--lgt-c2) 22px 44px, var(--lgt-c3) 44px 66px, var(--inv-primary) 66px 88px);
}
.lgt-rsvp__intro { margin: 0 auto 1.1rem; max-width: 30ch; font-size: .9rem; color: var(--lgt-muted); }
.lgt-rsvp__sent { margin-bottom: 1rem; }
.lgt-rsvp__check { display: block; width: 4.25rem; height: 4.25rem; margin: 0 auto .5rem; }
.lgt-rsvp__check circle { fill: var(--inv-leaf); }
.lgt-rsvp__check path { fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
html.inv-anim .lgt-rsvp__sent .lgt-rsvp__check { animation: lgt-bounce .8s cubic-bezier(.34, 1.56, .64, 1) both; }
html.inv-anim .lgt-rsvp__sent .lgt-rsvp__check path { animation: lgt-draw .45s ease-out .35s both; }
.lgt-rsvp__thanks { margin: 0; font-family: var(--lgt-display); font-size: 1.8rem; font-weight: 800; line-height: 1.1; color: var(--lgt-title); }
.lgt-rsvp__line { margin: .1rem 0 0; font-size: .9rem; color: var(--lgt-muted); }
.lgt-rsvp .inv-rsvp__deadline { margin: 0 0 1rem; font-size: .84rem; font-weight: 700; color: var(--lgt-coral-ink); }

/* gift: white cards with a sunshine band and ticket notches, two per row (odd last across) */
.lgt-gift__intro { color: var(--tone-muted) !important; }
.lgt-gift .inv-gift__accounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 1.3rem; }
.lgt-gift .inv-gift__account:last-child:nth-child(odd) { grid-column: 1 / -1; }
.lgt-gift .inv-gift__account,
.lgt-gift .inv-gift__address {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: .3rem; min-width: 0; margin: 0; overflow: hidden;
    padding: 1.9rem .75rem 1rem; border-radius: 18px; color: var(--inv-text); background: #fff; box-shadow: 0 18px 30px -20px rgb(0 0 0 / .6);
}
.lgt-gift .inv-gift__account::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: .85rem; background: var(--inv-shine); }
.lgt-gift .inv-gift__account p, .lgt-gift .inv-gift__address p { margin: 0; }
.lgt-gift .inv-gift__bank { font-weight: 700; font-size: .86rem; color: var(--lgt-title); }
.lgt-gift .inv-gift__logo { height: 1.6rem; padding: .2rem .5rem; border-radius: .4rem; background: #fff; }
.lgt-gift .inv-gift__logo img { max-width: 5rem; }
.lgt-gift .inv-gift__number { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: .98rem; font-weight: 700; letter-spacing: .03em; line-height: 1.3; overflow-wrap: anywhere; color: var(--inv-text); }
.lgt-gift .inv-gift__holder { font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--lgt-muted); overflow-wrap: anywhere; }
.lgt-gift .inv-button { margin-top: .35rem; min-height: 2.3rem; padding: .35rem .95rem; border-radius: 999px; font-size: .76rem; font-weight: 700; color: #fff; background: var(--inv-petal); }
.lgt-gift .inv-gift__address { margin-top: .75rem; padding-top: 1.1rem; font-size: .875rem; }
.lgt-gift .inv-gift__address .inv-gift__holder { font-size: .72rem; }

/* co-hosts: names in Fraunces split by sunshine sparkles, on the sky */
.lgt-cohosts__list { display: flex; flex-direction: column; align-items: center; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.lgt-cohosts__list li { max-width: 26ch; font-family: var(--lgt-display); font-size: 1.18rem; font-weight: 700; line-height: 1.3; color: #fff; text-wrap: balance; }
.lgt-cohosts__list li + li::before {
    content: ''; display: block; width: 12px; height: 12px; margin: 0 auto .55rem; background: var(--inv-shine);
    clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

/* contacts */
.lgt-contacts__list { display: grid; gap: .7rem; max-width: 24rem; margin: 0 auto; }
.lgt-contact {
    display: grid; grid-template-columns: 2.9rem minmax(0, 1fr) auto; align-items: center; gap: .8rem; padding: .55rem .55rem .55rem .6rem; border-radius: 999px;
    background: #fff; text-align: left; box-shadow: 0 10px 18px -14px color-mix(in srgb, var(--inv-deep) 60%, transparent), 0 0 0 1px var(--lgt-line);
}
.lgt-contact__avatar { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; font-family: var(--lgt-display); font-size: 1.35rem; font-weight: 800; color: #fff; background: var(--inv-primary); box-shadow: 0 0 0 3px var(--inv-shine); }
.lgt-contact p { margin: 0; }
.lgt-contact__name { font-weight: 700; font-size: .95rem; line-height: 1.3; overflow-wrap: anywhere; }
.lgt-contact__role { font-size: .78rem; color: var(--lgt-muted); }
.lgt-contact__phone { font-size: .85rem; }
.lgt-contact__button { min-height: 2.5rem; padding: .45rem .95rem; border-radius: 999px; font-size: .8rem; font-weight: 700; color: #fff; background: var(--inv-leaf); }
.lgt-contact__button .lgt-icon { width: 1.05rem; height: 1.05rem; }

/* health protocol */
.lgt-protocol__list { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.lgt-protocol__list li { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .85rem; border-radius: 999px; font-size: .84rem; font-weight: 600; color: var(--inv-text); background: #fff; }
.lgt-protocol__list .lgt-icon { width: 1rem; height: 1rem; color: var(--inv-leaf); }
.lgt-protocol__note { font-size: .88rem; color: var(--tone-muted); }

/* vendors */
.lgt-vendors__list { max-width: 24rem; margin: 0 auto; padding: .3rem 1.15rem; list-style: none; border-radius: 22px; background: #fff; box-shadow: var(--lgt-drop); }
.lgt-vendor { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .85rem 0; text-align: left; border-bottom: 2px dotted color-mix(in srgb, var(--inv-primary) 22%, transparent); }
.lgt-vendor:last-child { border-bottom: 0; }
.lgt-vendor__text { display: flex; flex-direction: column; min-width: 0; }
.lgt-vendor__role { font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lgt-coral-ink); }
.lgt-vendor__name { font-family: var(--lgt-display); font-size: 1.12rem; font-weight: 700; line-height: 1.25; color: var(--inv-text); overflow-wrap: anywhere; }
.lgt-vendor__link {
    display: inline-flex; align-items: center; gap: .3rem; flex: none; min-height: 2.2rem; padding: .3rem .75rem; border-radius: 999px;
    font-size: .74rem; font-weight: 700; text-decoration: none; color: var(--lgt-title); box-shadow: inset 0 0 0 1.5px var(--lgt-line);
}
.lgt-vendor__link .lgt-icon { width: .95rem; height: .95rem; }

/* closing: compact — the photo melting into the sky, a crest, thanks and the name (above the menu) */
.lgt-closing { padding: 2.6rem 1.6rem 5.8rem; }
.lgt-closing--photo { padding-top: 0; }
.lgt-closing__photo {
    position: relative; z-index: -1; height: min(22rem, calc(var(--inv-screen, 100svh) * .48)); margin: 0 -1.6rem; overflow: hidden;
    -webkit-mask: linear-gradient(180deg, #000 55%, transparent); mask: linear-gradient(180deg, #000 55%, transparent);
}
.lgt-closing__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.lgt-closing__body { position: relative; }
.lgt-closing--photo .lgt-closing__body { margin-top: -4.6rem; }
.lgt-closing__crest { display: flex; justify-content: center; align-items: flex-end; gap: .5rem; margin: 0 auto .5rem; }
.lgt-closing__badge { position: relative; display: grid; place-items: center; width: 5.4rem; height: 5.4rem; }
.lgt-closing__burst { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; color: var(--inv-shine); filter: drop-shadow(0 6px 8px rgb(0 0 0 / .25)); }
.lgt-closing__cap { position: relative; width: 3.6rem; transform: rotate(-8deg); }
.lgt-closing__streamer { width: 1.4rem; height: auto; overflow: visible; color: var(--inv-petal); transform: rotate(-18deg); }
.lgt-closing__streamer--right { color: var(--inv-leaf); transform: scaleX(-1) rotate(-18deg); }
.lgt-closing__title { margin: 0 0 .6rem; font-family: var(--lgt-display); font-size: 2.1rem; font-weight: 800; line-height: 1.05; color: #fff; }
.lgt-closing__title em { font-family: var(--lgt-script); font-style: normal; font-weight: 400; font-size: 1.3em; word-spacing: .12em; color: var(--inv-shine); }
.lgt-closing__message { margin: 0 auto; max-width: 32ch; font-size: .9rem; line-height: 1.55; color: var(--tone-muted); }
.lgt-closing__salam { margin: .7rem auto 0; max-width: 28ch; font-family: var(--lgt-serif); font-size: 1.02rem; font-style: italic; font-weight: 500; line-height: 1.35; color: var(--inv-shine); }
.lgt-closing__signature { margin: .45rem auto 0; max-width: 30ch; font-size: .84rem; color: var(--tone-muted); }
.lgt-closing__names {
    margin: .55rem auto 0; max-width: 16ch; font-family: var(--lgt-display); font-size: 2.4rem; font-weight: 800; line-height: 1.05; letter-spacing: -.02em;
    color: #fff; text-wrap: balance; text-shadow: .045em .06em 0 var(--lgt-sun-edge);
}

/* ---------- 6. forms (shared RSVP + wishes, restyled) ---------- */
.lgt-main .inv-form { gap: 1rem; text-align: left; }
.lgt-main .inv-form label, .lgt-main .inv-form__choices legend { font-size: .82rem; font-weight: 600; color: var(--inv-text); }
.lgt-main .inv-form input:not([type=radio]):not([type=checkbox]),
.lgt-main .inv-form select,
.lgt-main .inv-form textarea {
    width: 100%; min-height: 2.9rem; padding: .7rem .9rem; border: 0; border-radius: 14px;
    font: 400 .95rem/1.4 var(--lgt-sans); color: var(--inv-text); background: #fff;
    box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--inv-primary) 30%, transparent);
    transition: box-shadow .2s ease;
}
.lgt-main .inv-form select {
    appearance: none; padding-right: 2.4rem;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .8rem center / 1.1rem no-repeat;
}
.lgt-main .inv-form input:not([type=radio]):focus-visible,
.lgt-main .inv-form select:focus-visible,
.lgt-main .inv-form textarea:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--inv-primary), 0 0 0 4px color-mix(in srgb, var(--inv-shine) 55%, transparent); }
.lgt-main .inv-form button[type=submit] { width: 100%; min-height: 3rem; border-radius: 999px; font-weight: 700; color: #fff; background: var(--inv-primary); box-shadow: 0 4px 0 var(--inv-deep); }
.lgt-main .inv-form .inv-button--outline { width: 100%; min-height: 2.75rem; border-radius: 999px; }
.lgt-main .inv-form__notice { text-align: center; }

/* the three answers as cards with icons (the radio dot is hidden but still focusable) */
.lgt-rsvp .inv-form__choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.lgt-rsvp .inv-form__choices legend { margin-bottom: .5rem; padding: 0; }
.lgt-rsvp .inv-form__choices label {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: .45rem;
    min-height: 5.4rem; padding: .85rem .3rem .75rem; border-radius: 18px; cursor: pointer; text-align: center;
    font-size: .84rem; font-weight: 600; line-height: 1.2; color: var(--inv-text); background: #fff;
    box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--inv-primary) 28%, transparent);
    transition: background-color .25s ease, color .25s ease, transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s ease;
}
.lgt-rsvp .inv-form__choices input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.lgt-rsvp .inv-form__choices label::before { content: ''; width: 2.1rem; height: 2.1rem; border-radius: 50%; flex: none; background: color-mix(in srgb, var(--inv-shine) 55%, #fff); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background-color .25s ease; }
.lgt-rsvp .inv-form__choices label::after {
    content: ''; position: absolute; left: 50%; top: 1.3rem; width: 1.2rem; height: 1.2rem; margin-left: -.6rem;
    background: currentColor; color: var(--inv-primary); pointer-events: none;
    -webkit-mask: var(--lgt-choice-icon) center / contain no-repeat; mask: var(--lgt-choice-icon) center / contain no-repeat;
}
.lgt-rsvp .inv-form__choices label:nth-of-type(1) { --lgt-choice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.lgt-rsvp .inv-form__choices label:nth-of-type(2) { --lgt-choice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6.5 6.5l11 11M17.5 6.5l-11 11'/%3E%3C/svg%3E"); }
.lgt-rsvp .inv-form__choices label:nth-of-type(3) { --lgt-choice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M8.5 8.8a3.5 3.5 0 1 1 4.9 3.2c-.9.4-1.4 1.1-1.4 2v.5M12 19h.01'/%3E%3C/svg%3E"); }
.lgt-rsvp .inv-form__choices label:has(input:checked) { color: #fff; background: var(--inv-primary); transform: translateY(-3px); box-shadow: 0 4px 0 var(--inv-deep), 0 12px 24px -12px color-mix(in srgb, var(--inv-primary) 80%, transparent); }
.lgt-rsvp .inv-form__choices label:has(input:checked)::before { background-color: var(--inv-shine); transform: scale(1.1); }
.lgt-rsvp .inv-form__choices label:has(input:checked)::after { color: var(--lgt-ink); }
.lgt-rsvp .inv-form__choices label:has(input:focus-visible) { outline: 2px solid var(--inv-petal); outline-offset: 3px; }

/* wishes */
.lgt-wishes .inv-wishes { --inv-wishes-height: 20rem; }
.lgt-wishes .inv-form { padding: 1.3rem 1.1rem; border-radius: 24px; background: #fff; box-shadow: var(--lgt-drop); }
.lgt-wishes .inv-wishes__list { margin-top: 1.4rem; }
.lgt-wishes .inv-wishes:not(.inv-wishes--paged) .inv-wishes__list { padding: .55rem; border-radius: 20px; background: color-mix(in srgb, #fff 40%, transparent); }
.lgt-wishes .inv-wish { padding: .75rem .9rem; border-radius: 14px; background: #fff; text-align: left; color: var(--inv-text); box-shadow: 0 4px 12px rgb(0 0 0 / .06); border-left: 4px solid var(--inv-petal); }
.lgt-wishes .inv-wish:nth-child(3n + 2) { border-left-color: var(--inv-primary); }
.lgt-wishes .inv-wish:nth-child(3n) { border-left-color: var(--inv-leaf); }
.lgt-wishes .inv-wish__name { font-weight: 700; color: var(--lgt-title); }
.lgt-wishes .inv-wish__message { font-size: .88rem; line-height: 1.5; }
.lgt-wishes .inv-wish__time { font-size: .72rem; color: var(--lgt-muted); }

/* ---------- 7. shared components ---------- */
.lgt-main .inv-button { font-weight: 700; }
body .inv-nav {
    --inv-nav-bg: color-mix(in srgb, var(--inv-deep) 94%, transparent);
    --inv-nav-text: color-mix(in srgb, #fff 72%, transparent);
    --inv-nav-active: var(--inv-shine);
    font-family: var(--lgt-sans);
}

/* ---------- 8. screen sizes ---------- */
/* the cover in px steps per screen height (never svh: Chrome on iPhone sizes it to the whole screen) */
@media (max-height: 800px) {
    .lgt-cover { --badge-cover: 14rem; }
    .lgt-cover__names { font-size: 3rem; }
}
@media (max-height: 740px) {
    .lgt-cover { --badge-cover: 12.4rem; padding-top: 2.6rem; padding-bottom: 1.3rem; }
    .lgt-cover__title { margin-bottom: 1rem; }
    .lgt-cover__art { margin-bottom: .9rem; }
    .lgt-cover__names { font-size: 2.7rem; margin-top: .35rem; }
    .lgt-cover__quote { font-size: .98rem; margin-top: .45rem; }
    .lgt-cover__guest { margin-top: .6rem; }
    .lgt-cover__open { margin-top: .75rem; }
}
@media (max-height: 680px) {
    .lgt-cover { --badge-cover: 10.8rem; padding-top: 2.4rem; padding-bottom: 1.1rem; }
    .lgt-cover__title { margin-bottom: .8rem; }
    .lgt-cover__title span { font-size: .64rem; padding: .3rem .85rem; }
    .lgt-cover__names { font-size: 2.4rem; }
    .lgt-cover__degree { font-size: .9rem; }
    .lgt-cover__date { margin-top: .45rem; }
    .lgt-cover__date span { font-size: .94rem; }
    .lgt-cover__quote { font-size: .92rem; line-height: 1.28; }
    .lgt-cover__guest { padding: .35rem .85rem .4rem; }
    .lgt-cover__guest-name { font-size: 1.1rem; }
    .lgt-cover__open { min-height: 2.75rem; padding: .55rem 1.7rem; }
    .lgt-cover__streamer { width: 2.1rem; }
}
@media (max-height: 620px) {
    .lgt-cover { --badge-cover: 9.6rem; }
    .lgt-cover__names { font-size: 2.2rem; }
    .lgt-cover__quote { font-size: .86rem; }
}
@media (max-width: 360px) {
    .lgt-cover__names { font-size: 2.6rem; }
}

/* wide screens: the phone-width column on the sky with confetti */
@media (min-width: 560px) {
    body.lgt-body { background: var(--lgt-sky); background-attachment: fixed; }
    body.lgt-body::before {
        content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .14; background: #fff;
        -webkit-mask: var(--lgt-print) center / 64px 64px repeat; mask: var(--lgt-print) center / 64px 64px repeat;
    }
    .lgt-main { box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); }
}

/* ---------- 9. motion ---------- */
@keyframes lgt-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes lgt-bounce { 0% { transform: scale(0); } 55% { transform: scale(1.15); } 75% { transform: scale(.94); } 100% { transform: scale(1); } }
@keyframes lgt-pop { 0% { opacity: 0; transform: translateY(26px) scale(.8); } 60% { opacity: 1; transform: translateY(-4px) scale(1.03); } 100% { opacity: 1; transform: none; } }
@keyframes lgt-zoom-out { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes lgt-spin { to { transform: rotate(360deg); } }
@keyframes lgt-drift { from { translate: -14px 0; } to { translate: 16px 0; } }
@keyframes lgt-sail { 0% { translate: 0 18px; rotate: -8deg; } 100% { translate: 14px -26px; rotate: 16deg; } }
@keyframes lgt-cap-drop { 0% { opacity: 0; transform: translate(30%, -90%) rotate(-50deg); } 70% { opacity: 1; transform: translate(0, 4%) rotate(22deg); } 100% { opacity: 1; transform: rotate(16deg); } }
@keyframes lgt-stamp { 0% { opacity: 0; transform: scale(1.8) rotate(-30deg); } 60% { opacity: 1; transform: scale(.92) rotate(-8deg); } 100% { opacity: 1; transform: rotate(-12deg); } }
@keyframes lgt-tab { 0% { opacity: 0; transform: translateX(-50%) scaleX(.2) rotate(-3deg); } 100% { opacity: 1; transform: translateX(-50%) rotate(-3deg); } }
@keyframes lgt-rays-in { from { opacity: 0; } to { opacity: .16; } }
@keyframes lgt-ping { 0% { opacity: .95; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes lgt-tap { 0%, 100% { transform: translate(0, 0) scale(1); } 45% { transform: translate(-3px, -5px) scale(.92); } }
@keyframes lgt-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes lgt-sway-x { 0%, 100% { left: 50%; } 30% { left: 38%; } 70% { left: 62%; } }
@keyframes lgt-sway-clip { 0%, 100% { clip-path: inset(0 50% 0 0); } 30% { clip-path: inset(0 62% 0 0); } 70% { clip-path: inset(0 38% 0 0); } }
@keyframes lgt-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes lgt-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes lgt-wiggle { 0%, 100% { rotate: 0deg; } 50% { rotate: 6deg; } }
@keyframes lgt-trail { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
/* the toss: the cluster caps leap up and come back; the extra caps fly out, turn and fade; the burst flashes */
@keyframes lgt-leap {
    0% { translate: 0 0; rotate: 0deg; }
    40% { translate: var(--lx, 0) -230px; rotate: var(--lr, 360deg); }
    75% { translate: calc(var(--lx, 0px) * .5) -60px; rotate: calc(var(--lr, 360deg) * 1.3); }
    100% { translate: 0 0; rotate: calc(var(--lr, 360deg) * 1.5); }
}
@keyframes lgt-fly {
    0% { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(calc(var(--s) * .6)); }
    12% { opacity: 1; }
    62% { opacity: 1; transform: translate(var(--tx), var(--ty)) rotate(var(--turn)) scale(var(--s)); }
    100% { opacity: 0; transform: translate(calc(var(--tx) * 1.15), calc(var(--ty) * .55)) rotate(calc(var(--turn) * 1.5)) scale(var(--s)); }
}
@keyframes lgt-flash { 0% { opacity: 0; transform: scale(.3) rotate(0deg); } 30% { opacity: .95; transform: scale(1.05) rotate(25deg); } 100% { opacity: 0; transform: scale(1.4) rotate(60deg); } }

/* cover (≤ 2.5 s, once): the badge pops up, the photo settles, the cap drops on its corner, the seal stamps on, the
   tab unfurls; then a living sky: clouds drift, small caps sail, the rays turn slowly, confetti twinkles */
html.inv-anim .lgt-badge--cover { animation: lgt-pop .9s cubic-bezier(.2, .8, .3, 1) .1s both; }
html.inv-anim .lgt-badge--cover .lgt-badge__photo { animation: lgt-zoom-out 1.4s cubic-bezier(.2, .7, .2, 1) .1s both; }
html.inv-anim .lgt-badge--cover .lgt-badge__cap { animation: lgt-cap-drop 1s cubic-bezier(.3, 1.2, .5, 1) .65s both; }
html.inv-anim .lgt-badge--cover .lgt-badge__seal { animation: lgt-stamp .6s cubic-bezier(.3, 1.3, .5, 1) .9s both; }
html.inv-anim .lgt-badge--cover .lgt-badge__tab { animation: lgt-tab .6s cubic-bezier(.25, 1.2, .4, 1) 1s both; }
html.inv-anim .lgt-cover__rays { animation: lgt-rays-in 1.2s ease .3s both; }
html.inv-anim .lgt-cover__rays svg, html.inv-anim .lgt-sky__sun svg, html.inv-anim .lgt-sun-rays svg { animation: lgt-spin 70s linear infinite; }
html.inv-anim .lgt-sky__cloud--a { animation: lgt-drift 16s ease-in-out infinite alternate; }
html.inv-anim .lgt-sky__cloud--b { animation: lgt-drift 22s ease-in-out -6s infinite alternate-reverse; }
html.inv-anim .lgt-sky__cloud--c { animation: lgt-drift 28s ease-in-out -3s infinite alternate; }
html.inv-anim .lgt-sky__cap { animation: lgt-sail 7s ease-in-out infinite alternate; }
html.inv-anim .lgt-sky__cap--2 { animation-duration: 9s; animation-delay: -3s; }
html.inv-anim .lgt-sky__cap--3 { animation-duration: 8s; animation-delay: -5s; }
html.inv-anim .lgt-sky__cap--4 { animation-duration: 10s; animation-delay: -2s; }
html.inv-anim .lgt-cover__confetti .lgt-cf { animation: lgt-twinkle 3.4s ease-in-out var(--d) infinite; }
html.inv-anim .lgt-cover__streamer { animation: lgt-wiggle 4s ease-in-out infinite; }
html.inv-anim .lgt-cover__open { animation: lgt-bob 2.6s ease-in-out 2.2s infinite; }

/* Lempar!: the cluster bobs while it waits; tapped, everything flies (restarted by .is-flying) */
html.inv-anim .lgt-institution.is-armed .lgt-toss__cap--front { animation: lgt-bob 2.8s ease-in-out infinite; }
html.inv-anim .lgt-institution.is-armed .lgt-toss__cap--left { animation: lgt-bob 3.2s ease-in-out -.8s infinite; }
html.inv-anim .lgt-institution.is-armed .lgt-toss__cap--right { animation: lgt-bob 3s ease-in-out -1.6s infinite; }
html.inv-anim .lgt-institution.is-flying .lgt-toss__cap { animation: lgt-leap 2.4s cubic-bezier(.25, .7, .35, 1) both; }
html.inv-anim .lgt-institution.is-flying .lgt-toss__cap--left { animation-delay: .06s; }
html.inv-anim .lgt-institution.is-flying .lgt-toss__cap--right { animation-delay: .12s; }
html.inv-anim .lgt-institution.is-flying .lgt-toss__flyer { animation: lgt-fly 2.2s cubic-bezier(.2, .7, .3, 1) var(--delay) both; }
html.inv-anim .lgt-institution.is-flying .lgt-toss__burst { animation: lgt-flash 1.4s ease-out both; }

/* the compare handle sways until touched */
html.inv-anim .lgt-compare:not(.is-touched) .lgt-compare__handle { animation: lgt-sway-x 3.6s ease-in-out 1s infinite; }
html.inv-anim .lgt-compare:not(.is-touched) .lgt-compare__then { animation: lgt-sway-clip 3.6s ease-in-out 1s infinite; }

/* the tap marker: rings ping outward, the hand taps */
html.inv-anim .lgt-tap__ring { animation: lgt-ping 1.8s ease-out infinite; }
html.inv-anim .lgt-tap__ring--late { animation-delay: .9s; }
html.inv-anim .lgt-tap__hand { animation: lgt-tap 1.2s ease-in-out infinite; }
html:not(.inv-anim) .lgt-tap__ring { opacity: .6; }

/* scroll-drawn details (the default, without support, is the finished drawing) */
@supports (animation-timeline: view()) {
    html.inv-anim .lgt-rundown__list::before { animation: lgt-grow linear both; animation-timeline: view(); animation-range: entry 20% cover 55%; }
    html.inv-anim .lgt-next__trail { animation: lgt-trail linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
}

@media (prefers-reduced-motion: reduce) {
    .lgt-cover, .lgt-cover--leave, .lgt-cover__inner, .lgt-congrats { transition: none; }
}

/* ---------- 10. intro scene "Lempar Toga" (scene.json + sections/_scene) ----------
   The intro is teleported to <body>: everything here stands on its own classes. */
.lgt-scene-sun, .lgt-scene-burst { position: absolute; inset: 0; display: grid; place-items: center; }
.lgt-scene-sun svg, .lgt-scene-burst svg { height: 100%; aspect-ratio: 1; overflow: visible; }
.lgt-scene-sun { color: var(--inv-shine); filter: drop-shadow(0 0 30px color-mix(in srgb, var(--inv-shine) 70%, transparent)); }
.lgt-scene-burst { color: var(--inv-shine); filter: drop-shadow(0 12px 24px rgb(0 0 0 / .25)); }
html.inv-anim .lgt-scene-sun svg, html.inv-anim .lgt-scene-burst svg { animation: lgt-spin 40s linear infinite; }
.lgt-scene-clouds { position: absolute; inset: 0; }
.lgt-scene-cloud { position: absolute; height: auto; overflow: visible; filter: drop-shadow(0 10px 14px rgb(0 0 0 / .14)); }
.lgt-scene-cloud--1 { top: 7%; left: -10%; width: 54%; }
.lgt-scene-cloud--2 { top: 38%; right: -18%; width: 48%; opacity: .6; }
.lgt-scene-cloud--3 { top: 60%; left: 2%; width: 58%; opacity: .45; }
.lgt-scene-clouds--near .lgt-scene-cloud--1 { top: auto; bottom: -5%; left: -22%; width: 84%; opacity: 1; }
.lgt-scene-clouds--near .lgt-scene-cloud--2 { top: auto; bottom: -7%; right: -26%; width: 80%; opacity: .95; }
.lgt-scene-clouds--near .lgt-scene-cloud--3 { top: 1%; left: auto; right: -14%; width: 40%; opacity: .55; }
.lgt-scene-cap { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 8px rgb(0 0 0 / .3)); }
.lgt-scene-confetti { position: absolute; inset: 0; width: 100%; height: 100%; }
/* the name card: a white cloud (the scene card's own cloud mask) with the name in bold Fraunces */
body.lgt-body .inv-intro--scene .inv-scene__card { top: 50%; aspect-ratio: 1; padding: 2rem 2.4rem; background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.lgt-body .inv-scene__card .inv-intro__label {
    justify-self: center; padding: .3rem .8rem; border-radius: 999px; font-family: var(--lgt-sans); font-size: .62rem; font-weight: 700;
    letter-spacing: .2em; text-transform: uppercase; color: #fff; background: var(--inv-petal);
}
/* (the engine writes the client's script font inline: the name here stays in the bold display serif) */
body.lgt-body .inv-scene__card .inv-intro__names { font-family: var(--lgt-display) !important; font-weight: 800; letter-spacing: -.02em; color: var(--lgt-title); line-height: 1.05; overflow-wrap: anywhere; text-wrap: balance; }
body.lgt-body .inv-scene__card .inv-intro__rule { height: 4px; width: 3.4rem; border-radius: 4px; background: var(--inv-shine); }
body.lgt-body .inv-scene__card .inv-intro__date { font-family: var(--lgt-sans); font-weight: 600; font-size: .92rem; color: var(--lgt-muted); }
