/*
 * Template "Pesta Balon" (Tujuh Bulanan & Baby Shower) — a luxe modern baby shower party: vivid fuchsia,
 * cornflower blue, butter yellow and champagne-gold foil on a warm cream or a deep plum night. Signature pieces:
 * the balloon arch around the photo (sections/_arch), balloon bunches (sections/_cluster), scalloped bunting
 * (sections/_bunting), a tiered cake (sections/_cake), satin bows and gift boxes (symbols in sections/_defs),
 * scalloped cards, confetti grounds, and the giant "?" balloon of the gender reveal (sections/reveal).
 * Mobile-first, one column (~460px) on a plum backdrop on wide screens.
 *
 * Colours come from the chosen colour variant (template.json → <x-inv.head>):
 *   --inv-primary (fuchsia / blue / berry / plum: titles, buttons, ribbons)   --inv-accent (gold: the foil)
 *   --inv-background (cream)   --inv-text   --inv-deep (the night: cover, dark bands)   --inv-shine (light gold)
 *   --inv-soft (the candy tone)   --inv-pink, --inv-blue, --inv-yellow (the balloons, bunting, confetti)
 *
 * Section tones (set on each section in its partial): .pb-tone--cream (confetti ground), --candy (soft wash with
 * polka dots), --night (plum with glows and gold sparkles). 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; balloons stay on the shoulders of the photo, clear of faces; photos melt into sections with
 * masks; round photo frames use borders/padding (no stacked box-shadows); the closing is compact.
 *
 * Contents: 1 base · 2 tones · 3 shared pieces · 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 "Fuchsia Pesta" variant (the variant's colours override these) */
    --inv-primary: #d81b78;
    --inv-accent: #c9952d;
    --inv-background: #fff6e8;
    --inv-text: #3a0f33;
    --inv-deep: #3a0b4d;
    --inv-shine: #ffd56e;
    --inv-soft: #ffd7ea;
    --inv-pink: #f0328c;
    --inv-blue: #4a8ff2;
    --inv-yellow: #ffd23f;
    --inv-radius: 18px;

    --pb-serif: var(--inv-font-heading, 'Bodoni Moda'), Georgia, 'Times New Roman', serif;
    --pb-script: var(--inv-font-display, 'Imperial Script'), 'Brush Script MT', cursive;
    --pb-sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --pb-col: 460px;

    --pb-pink: var(--inv-pink);
    --pb-blue: var(--inv-blue);
    --pb-yellow: var(--inv-yellow);
    --pb-pearl: color-mix(in srgb, var(--inv-background) 70%, #fff);

    /* gold foil, mixed from the accent: dark bronze → gold → pale light */
    --pb-gold-1: color-mix(in srgb, var(--inv-accent) 60%, #3a2203);
    --pb-gold-2: var(--inv-accent);
    --pb-gold-3: color-mix(in srgb, var(--inv-accent) 38%, #fff6d6);
    --pb-gold-ink: color-mix(in srgb, var(--inv-accent) 68%, #3a2203);
    --pb-foil: linear-gradient(100deg, var(--pb-gold-1), var(--pb-gold-2) 30%, var(--pb-gold-3) 48%, var(--pb-gold-2) 62%, var(--pb-gold-1));

    --pb-paper: color-mix(in srgb, #fff 70%, var(--inv-background));
    --pb-title: color-mix(in srgb, var(--inv-primary) 78%, var(--inv-deep));
    --pb-muted: color-mix(in srgb, var(--inv-text) 76%, var(--inv-background));
    --pb-cream-muted: color-mix(in srgb, var(--inv-background) 84%, transparent);
    --pb-line: color-mix(in srgb, var(--inv-accent) 55%, transparent);
    --pb-drop: 0 22px 36px -22px color-mix(in srgb, var(--inv-deep) 70%, transparent);
    /* the party colours in one band: masked by the confetti pattern, every bit gets its own colour */
    --pb-party: repeating-linear-gradient(115deg, var(--pb-pink) 0 34px, var(--pb-yellow) 34px 60px, var(--pb-blue) 60px 96px, var(--inv-accent) 96px 118px);

    /* confetti: strips, dots and a squiggle on a 90px tile (a mask, so it takes any colour) */
    --pb-confetti: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg%3E%3Crect x='8' y='10' width='3' height='8' rx='1' transform='rotate(30 9 14)'/%3E%3Ccircle cx='34' cy='8' r='2'/%3E%3Crect x='58' y='16' width='3' height='9' rx='1' transform='rotate(-40 59 20)'/%3E%3Ccircle cx='80' cy='30' r='1.6'/%3E%3Crect x='20' y='44' width='3' height='8' rx='1' transform='rotate(70 21 48)'/%3E%3Ccircle cx='50' cy='50' r='2.2'/%3E%3Crect x='72' y='60' width='3' height='9' rx='1' transform='rotate(15 73 64)'/%3E%3Ccircle cx='10' cy='76' r='1.8'/%3E%3Crect x='38' y='72' width='3' height='8' rx='1' transform='rotate(-60 39 76)'/%3E%3Cpath d='M62 82q3-4 6 0t6 0' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/g%3E%3C/svg%3E");
    /* a curly gold string with a knot (countdown balloons) */
    --pb-string: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 44'%3E%3Cpath d='M5 0h6l2 5H3Z' fill='%23b8862a'/%3E%3Cpath d='M8 5c5 6-5 10 0 16s-5 10 0 16 2 5 0 7' fill='none' stroke='%23c9952d' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* the ambient balloons and the tap confetti in the party colours */
body .inv-ambient { --inv-ambient-1: var(--pb-pink); --inv-ambient-2: var(--pb-yellow); }

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

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

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

.pb-defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }

.pb-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 */
.pb-main { max-width: var(--pb-col); margin: 0 auto; overflow-x: clip; }
.pb-branding { max-width: var(--pb-col); margin: 0 auto; }

.pb-section { position: relative; isolation: isolate; overflow: hidden; padding: 4.2rem 1.4rem; text-align: center; }
.pb-section > p { margin: 0 auto 1rem; max-width: 34ch; }

.pb-arabic { font-family: 'Amiri', 'Traditional Arabic', serif; line-height: 1.9; color: var(--pb-title); }
.pb-icon { width: 1.15rem; height: 1.15rem; flex: none; }

/* colours of the drawn pieces (balloons are painted in currentColor) */
.pb-ink--pink { color: var(--pb-pink); }
.pb-ink--blue { color: var(--pb-blue); }
.pb-ink--yellow { color: var(--pb-yellow); }
.pb-ink--pearl { color: var(--pb-pearl); }
.pb-ink--gold { color: var(--inv-accent); }
.pb-ink--primary { color: var(--inv-primary); }
.pb-fill--pink { fill: var(--pb-pink); }
.pb-fill--blue { fill: var(--pb-blue); }
.pb-fill--yellow { fill: var(--pb-yellow); }
.pb-fill--pearl { fill: var(--pb-pearl); }
.pb-fill--gold { fill: var(--inv-accent); }
.pb-stroke--pink { stroke: var(--pb-pink); fill: none; }

/* gold foil text: the gradient clipped to the letters with a slow moving shine */
.pb-heading__title em, .pb-cover__names, .pb-occasion__type, .pb-closing__names, .pb-parents__amp {
    background: var(--pb-foil); background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 2. section tones ---------- */
/* cream: warm cream with a pink and a yellow glow and a confetti ground in the party colours */
.pb-tone--cream {
    background:
        radial-gradient(60% 26% at 100% 0%, color-mix(in srgb, var(--inv-soft) 90%, transparent), transparent 75%),
        radial-gradient(60% 26% at 0% 100%, color-mix(in srgb, var(--pb-yellow) 22%, transparent), transparent 75%),
        var(--inv-background);
}
.pb-tone--cream::before, .pb-tone--night::before, .pb-cover::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--pb-party); opacity: .22;
    -webkit-mask: var(--pb-confetti) center top / 90px 90px repeat; mask: var(--pb-confetti) center top / 90px 90px repeat;
}
/* candy: a wash of the soft colour with white polka dots */
.pb-tone--candy {
    background:
        radial-gradient(circle, rgb(255 255 255 / .55) 2.2px, transparent 2.8px) 0 0 / 24px 24px,
        radial-gradient(circle, rgb(255 255 255 / .35) 1.4px, transparent 2px) 12px 12px / 24px 24px,
        linear-gradient(180deg, var(--inv-soft), color-mix(in srgb, var(--inv-soft) 55%, var(--inv-background)));
}
/* night: the plum band with fuchsia and blue glows and gold-and-party confetti */
.pb-tone--night {
    color: var(--inv-background);
    background:
        radial-gradient(90% 40% at 12% 0%, color-mix(in srgb, var(--inv-primary) 78%, transparent), transparent 75%),
        radial-gradient(70% 34% at 100% 100%, color-mix(in srgb, var(--pb-blue) 38%, transparent), transparent 75%),
        var(--inv-deep);
}
.pb-tone--night::before { opacity: .3; }
.pb-tone--night a:not(.inv-button) { color: var(--inv-shine); }
.pb-tone--night .pb-arabic { color: var(--inv-shine); }

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

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

/* heading: eyebrow between two tiny balloons, serif title, the last word in the script font in gold foil, divider */
.pb-heading { margin: 0 0 2rem; }
.pb-heading__eyebrow {
    display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 .55rem;
    font-size: .68rem; font-weight: 600; line-height: 1.2; letter-spacing: .26em; text-transform: uppercase; color: var(--pb-gold-ink);
}
.pb-heading__eyebrow::before, .pb-heading__eyebrow::after {
    content: ''; width: 8px; height: 10px; flex: none; border-radius: 50% 50% 50% 50% / 44% 44% 56% 56%;
    background: radial-gradient(circle at 35% 30%, #fff 0 12%, transparent 30%), var(--pb-pink);
}
.pb-heading__eyebrow::after { background: radial-gradient(circle at 35% 30%, #fff 0 12%, transparent 30%), var(--pb-blue); }
.pb-heading__title {
    margin: 0; font-family: var(--pb-serif); font-size: 2.05rem; font-weight: 700; line-height: 1.12;
    letter-spacing: -.01em; color: var(--pb-title); text-wrap: balance;
}
.pb-heading__title em {
    display: inline-block; padding: 0 .1em .12em; font-family: var(--pb-script); font-style: normal; font-weight: 400;
    font-size: 1.3em; line-height: .9;
}
.pb-heading__divider { margin: .7rem auto 0; }
.pb-tone--night .pb-heading__eyebrow { color: var(--inv-shine); }
.pb-tone--night .pb-heading__title { color: #fff; }

.pb-divider { display: block; width: min(13.5rem, 72%); height: auto; overflow: visible; filter: drop-shadow(0 2px 2px rgb(0 0 0 / .15)); }

/* a scalloped card: paper in a double gold rule, round bumps along its top and bottom edges */
.pb-card {
    position: relative; border-radius: 20px; background: var(--pb-paper); color: var(--inv-text);
    box-shadow: inset 0 0 0 1px var(--pb-line), inset 0 0 0 5px var(--pb-paper), inset 0 0 0 6.2px var(--pb-line), var(--pb-drop);
}
.pb-card::before, .pb-card::after {
    content: ''; position: absolute; left: 14px; right: 14px; height: 9px; pointer-events: none;
    background: radial-gradient(circle at 50% 100%, var(--pb-paper) 8.5px, transparent 9px) center bottom / 17px 9px repeat-x;
}
.pb-card::before { top: -8.5px; }
.pb-card::after { bottom: -8.5px; transform: scaleY(-1); }
.pb-card__bow { position: absolute; z-index: 3; left: 50%; top: -1.75rem; width: 5.4rem; margin-left: -2.7rem; overflow: visible; filter: drop-shadow(0 5px 5px rgb(0 0 0 / .25)); pointer-events: none; }

/* bunting along the top of a section */
.pb-bunting { display: block; width: 100%; height: auto; overflow: visible; pointer-events: none; filter: drop-shadow(0 4px 4px rgb(0 0 0 / .2)); }
.pb-section__bunting { position: absolute; left: -2%; top: 0; width: 104%; z-index: 0; }
.pb-countdown, .pb-gallery { padding-top: 5.6rem; }

/* balloon bunches and the cake */
.pb-cluster, .pb-cake { display: block; overflow: visible; pointer-events: none; }
.pb-cluster { filter: drop-shadow(0 8px 8px color-mix(in srgb, var(--inv-deep) 35%, transparent)); }
.pb-cluster__strings { stroke: color-mix(in srgb, var(--inv-accent) 80%, #fff); }

/* the balloon arch (sections/_arch): figure 290:310, the window x 61–229, apex y 40 */
.pb-arch { --arch-w: 15rem; --arch-pos: center 25%; position: relative; container-type: inline-size; width: var(--arch-w); aspect-ratio: 290 / 310; margin: 0 auto; flex: none; }
.pb-arch__window {
    position: absolute; left: 21.03%; right: 21.03%; top: 12.9%; bottom: 1.94%; overflow: hidden;
    border-radius: 999px 999px 14px 14px;
    background:
        radial-gradient(80% 50% at 50% 30%, color-mix(in srgb, var(--pb-pink) 55%, transparent), transparent 70%),
        linear-gradient(170deg, color-mix(in srgb, var(--inv-primary) 80%, #fff), var(--inv-deep));
}
.pb-arch__photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--arch-pos); }
.pb-arch__photo--bg { background: var(--arch-pos) / cover no-repeat; }
.pb-arch__empty { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: .3rem; }
.pb-arch__mini { width: 22%; overflow: visible; }
.pb-arch__initials { font-family: var(--pb-script); font-size: 14cqw; line-height: 1; color: #fff; white-space: nowrap; text-shadow: 0 6px 18px rgb(0 0 0 / .25); }
.pb-arch__art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.pb-arch__rule--broad { stroke-width: 3.4; filter: drop-shadow(0 1px 1px rgb(0 0 0 / .3)); }
.pb-arch__rule--pearl { stroke-width: 2.6; stroke-dasharray: .1 6.2; stroke-linecap: round; }
.pb-arch__ribbons { stroke-width: 1.5; }
.pb-arch__garland { filter: drop-shadow(0 3px 3px rgb(0 0 0 / .28)); }
.pb-arch__confetti { opacity: .9; }
.pb-arch__star, .pb-arch__heart { filter: drop-shadow(0 3px 4px rgb(0 0 0 / .3)); }

/* the tap marker: two pulsing gold rings, a tapping hand and a label */
.pb-tap { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; pointer-events: none; }
.pb-tap__ring {
    position: absolute; left: 50%; top: 50%; width: 44%; aspect-ratio: 1; margin: -22% 0 0 -22%; border-radius: 50%;
    border: 2.5px solid var(--inv-shine); opacity: 0;
}
.pb-tap__hand {
    position: absolute; left: 52%; top: 50%; width: 2.6rem; height: 2.6rem;
    fill: #fff; stroke: var(--pb-gold-1); stroke-width: 1.4; stroke-linejoin: round;
    filter: drop-shadow(0 4px 6px rgb(0 0 0 / .35));
}
.pb-tap__label {
    position: absolute; left: 50%; bottom: -1.1rem; transform: translateX(-50%); white-space: nowrap;
    padding: .38rem .95rem; border-radius: 999px; font-size: .76rem; font-weight: 600; letter-spacing: .05em;
    color: var(--inv-deep); background: var(--pb-foil); background-size: 220% 100%;
    box-shadow: 0 8px 16px -8px rgb(0 0 0 / .5);
}

/* ---------- 4. cover ---------- */
.pb-cover {
    --pb-art: 22.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: 4.2rem 1.2rem 1.7rem; isolation: isolate; color: var(--inv-background);
    background:
        radial-gradient(70% 34% at 50% 36%, color-mix(in srgb, var(--inv-primary) 80%, transparent), transparent 75%),
        radial-gradient(60% 30% at 0% 100%, color-mix(in srgb, var(--pb-blue) 42%, transparent), transparent 75%),
        radial-gradient(55% 28% at 100% 92%, color-mix(in srgb, var(--pb-pink) 40%, transparent), transparent 75%),
        var(--inv-deep);
    transition: opacity .9s ease;
}
.pb-cover::before { opacity: .3; }
/* gold motes drifting up slowly */
.pb-cover::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .8;
    background:
        radial-gradient(1.6px 1.6px at 12% 82%, var(--inv-shine), transparent),
        radial-gradient(1.2px 1.2px at 28% 64%, var(--inv-shine), transparent),
        radial-gradient(2px 2px at 76% 74%, var(--inv-shine), transparent),
        radial-gradient(1.3px 1.3px at 88% 40%, var(--inv-shine), transparent),
        radial-gradient(1.8px 1.8px at 8% 30%, var(--inv-shine), transparent),
        radial-gradient(1.2px 1.2px at 62% 18%, var(--inv-shine), transparent),
        radial-gradient(1.5px 1.5px at 42% 92%, var(--inv-shine), transparent);
    background-size: 100% 420px;
}
/* small balloons rising slowly far behind everything */
.pb-cover__sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.pb-cover__float { position: absolute; bottom: -7rem; width: 1.8rem; opacity: .32; color: color-mix(in srgb, var(--inv-shine) 70%, transparent); }
.pb-cover__float svg { display: block; width: 100%; overflow: visible; }
.pb-cover__float--1 { left: 6%; }
.pb-cover__float--2 { left: 80%; width: 1.8rem; }
.pb-cover__float--3 { left: 22%; width: 1.5rem; }
.pb-cover__float--4 { left: 64%; width: 1.9rem; }
.pb-cover__bunting { position: absolute; left: -2%; top: 0; width: 104%; max-width: 560px; z-index: 1; }
@media (min-width: 560px) { .pb-cover__bunting { left: 50%; transform: translateX(-50%); } }
.pb-cover__cluster { position: absolute; bottom: -1.2rem; width: 6.4rem; z-index: -1; }
.pb-cover__cluster--left { left: -2.4rem; transform: rotate(-8deg); }
.pb-cover__cluster--right { right: -2.4rem; transform: rotate(8deg); }
.pb-cover__inner { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 420px; text-align: center; transition: transform .9s cubic-bezier(.5, 0, .3, 1); }

.pb-cover__title {
    display: inline-flex; align-items: center; gap: .55rem; margin: 0; padding: .3rem 1rem; border-radius: 999px;
    font-size: .7rem; font-weight: 600; line-height: 1.25; letter-spacing: .28em; text-transform: uppercase; color: var(--inv-shine);
    background: color-mix(in srgb, var(--inv-deep) 55%, transparent); box-shadow: inset 0 0 0 1px var(--pb-line);
}

.pb-cover__art { position: relative; width: min(var(--pb-art), calc(100vw - .4rem)); margin-top: .1rem; }
/* a warm light breathing behind the arch */
.pb-cover__art::before {
    content: ''; position: absolute; z-index: -1; left: -6%; right: -6%; top: 6%; bottom: 0; border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--inv-shine) 30%, transparent), transparent);
}
.pb-arch--cover { --arch-w: 100%; --arch-pos: center 24%; }

.pb-cover__names {
    margin: .25rem 0 0; max-width: 100%; font-family: var(--pb-script); font-size: 3.15rem; font-weight: 400; line-height: 1.12;
    padding: 0 .2em .06em; white-space: nowrap; overflow-wrap: normal;
    filter: drop-shadow(0 2px 6px rgb(0 0 0 / .35));
}
.pb-cover__date { margin: .3rem 0 0; }
.pb-cover__date span {
    display: inline-block; padding: .34rem 1.7rem .36rem; font-family: var(--pb-sans); font-size: .9rem; font-weight: 600; letter-spacing: .08em;
    color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / .25);
    background: linear-gradient(180deg, color-mix(in srgb, var(--inv-primary) 70%, #fff), var(--inv-primary) 45%, color-mix(in srgb, var(--inv-primary) 78%, #000));
    clip-path: polygon(0 0, 100% 0, calc(100% - .75rem) 50%, 100% 100%, 0 100%, .75rem 50%);
}
.pb-cover__quote {
    max-width: 30ch; margin: .5rem 0 0; font-family: var(--pb-serif); font-style: italic; font-weight: 500;
    font-size: .98rem; line-height: 1.35; color: var(--pb-cream-muted);
}
.pb-cover__guest {
    width: min(100%, 18.5rem); margin: .7rem 0 0; padding: .42rem 1rem .48rem; border-radius: 16px;
    background: color-mix(in srgb, var(--inv-deep) 50%, transparent);
    box-shadow: inset 0 0 0 1px var(--pb-line);
}
.pb-cover__guest p { margin: 0; font-size: .6rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--inv-shine); }
.pb-cover__guest-name { display: block; font-family: var(--pb-serif); font-size: 1.16rem; font-weight: 700; line-height: 1.25; color: #fff; overflow-wrap: anywhere; }
.pb-cover__open {
    margin-top: .8rem; min-height: 2.9rem; padding: .65rem 1.9rem; font-weight: 600; letter-spacing: .06em;
    color: var(--inv-deep); background: var(--pb-foil); background-size: 220% 100%;
    box-shadow: 0 0 0 3px var(--inv-deep), 0 0 0 4.2px var(--pb-line), 0 14px 26px -12px rgb(0 0 0 / .6);
}

/* leaving: the cover fades and lifts away (never blocks: .9s) */
.pb-cover--leave { transition: opacity .9s ease .1s; }
.pb-cover--gone { opacity: 0; }
.pb-cover--gone .pb-cover__inner { transform: translateY(-2.5rem); }

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

/* opening: the scalloped party card with a bow and two balloon bunches */
.pb-opening { padding: 5rem 1.4rem 4.4rem; }
.pb-letter { max-width: 22.5rem; margin: 0 auto; padding: 3rem 1.5rem 2.6rem; }
.pb-letter__cluster { position: absolute; z-index: 2; top: -3.2rem; width: 5.4rem; }
.pb-letter__cluster--left { left: -1.7rem; transform: rotate(-14deg); }
.pb-letter__cluster--right { right: -1.7rem; transform: rotate(14deg); }
.pb-letter__body { position: relative; }
.pb-opening__basmalah { margin: 0 0 .6rem; font-size: 1.75rem; }
.pb-opening__greeting { margin: 0 auto; max-width: 20ch; font-family: var(--pb-serif); font-size: 1.5rem; font-weight: 700; line-height: 1.25; color: var(--pb-title); }
.pb-opening__divider { margin: .9rem auto; }
.pb-opening__message { margin: 0 auto; max-width: 30ch; color: var(--pb-muted); }

/* parents */
.pb-arch--parents { --arch-w: min(18rem, 80vw); --arch-pos: center 25%; margin-top: .4rem; }
.pb-parents__names { display: flex; flex-direction: column; align-items: center; gap: .1rem; margin: 1.3rem 0 0; }
.pb-parents__role { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--pb-gold-ink); }
.pb-parents__name { margin: .1rem 0 0; font-family: var(--pb-serif); font-size: 1.55rem; font-weight: 700; line-height: 1.15; color: var(--pb-title); overflow-wrap: anywhere; }
.pb-parents__amp { display: block; margin: .1rem 0; font-family: var(--pb-script); font-size: 2.7rem; line-height: 1; padding: 0 .15em; }
/* the facts as balloons on strings */
.pb-parents__facts { display: flex; justify-content: center; align-items: flex-start; gap: .35rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.pb-fact { display: flex; flex-direction: column; align-items: center; width: min(6.9rem, calc((100vw - 3.8rem) / 3)); }
.pb-fact__balloon {
    --c: var(--pb-pink);
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; aspect-ratio: .84; padding: .4rem .45rem .7rem;
    border-radius: 50% 50% 50% 50% / 46% 46% 54% 54%; color: #fff;
    background:
        radial-gradient(18% 14% at 30% 22%, rgb(255 255 255 / .85), transparent 70%),
        radial-gradient(circle at 36% 30%, color-mix(in srgb, var(--c) 55%, #fff), var(--c) 52%, color-mix(in srgb, var(--c) 70%, #000));
    filter: drop-shadow(0 10px 10px color-mix(in srgb, var(--inv-deep) 30%, transparent));
}
.pb-fact__balloon::after {
    content: ''; position: absolute; left: 50%; bottom: -5px; width: 12px; height: 8px; margin-left: -6px;
    background: color-mix(in srgb, var(--c) 80%, #000); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
}
.pb-fact--yellow .pb-fact__balloon { --c: var(--pb-yellow); color: var(--inv-text); }
.pb-fact--blue .pb-fact__balloon { --c: var(--pb-blue); }
.pb-fact__label { font-size: .5rem; font-weight: 600; letter-spacing: .12em; line-height: 1.25; text-transform: uppercase; opacity: .92; }
.pb-fact__value { margin-top: .15rem; font-family: var(--pb-serif); font-size: .86rem; font-weight: 700; line-height: 1.15; text-wrap: balance; }
.pb-fact__string { width: 1rem; height: 2.6rem; margin-top: 2px; overflow: visible; }
.pb-fact__string path { stroke: var(--pb-gold-1); stroke-width: 1.2; }
.pb-parents__address { display: flex; justify-content: center; align-items: flex-start; gap: .45rem; margin: 1.2rem auto 0 !important; font-size: .86rem; color: var(--pb-muted); }
.pb-parents__address .pb-icon { margin-top: .2rem; color: var(--pb-gold-ink); }

/* occasion: the cake between two balloon bunches, the kind of celebration in gold foil */
.pb-occasion { padding-top: 3.4rem; }
.pb-occasion__stage { position: relative; display: flex; justify-content: center; align-items: flex-end; height: 9.6rem; margin: 0 auto .8rem; max-width: 20rem; }
.pb-occasion__cake { width: 8.6rem; filter: drop-shadow(0 10px 14px rgb(0 0 0 / .4)); }
.pb-occasion__cluster { position: absolute; bottom: .6rem; width: 5.6rem; }
.pb-occasion__cluster--left { left: 0; transform: rotate(-10deg); }
.pb-occasion__cluster--right { right: 0; transform: rotate(10deg); }
.pb-occasion__eyebrow { margin: 0 0 .4rem !important; font-size: .66rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--inv-shine); }
.pb-occasion__type { margin: 0; font-family: var(--pb-script); font-size: 2.9rem; font-weight: 400; line-height: 1.1; padding: 0 .1em .1em; text-wrap: balance; filter: drop-shadow(0 2px 6px rgb(0 0 0 / .35)); }
.pb-occasion__divider { margin: .6rem auto 1rem; }
.pb-occasion__intent { margin: 0 auto; max-width: 30ch; font-family: var(--pb-serif); font-size: 1.08rem; font-style: italic; line-height: 1.55; color: var(--pb-cream-muted); }

/* message: a scalloped card with a bow, a gold quotation mark, large italic words, the signature */
.pb-message { padding-bottom: 4.8rem; }
.pb-message__quote { max-width: 23rem; margin: 2.2rem auto 0; padding: 2.6rem 1.5rem 2rem; }
.pb-message__mark { display: block; width: 2.5rem; height: 1.9rem; margin: 0 auto .8rem; }
.pb-message__quote p { margin: 0; font-family: var(--pb-serif); font-style: italic; font-size: 1.22rem; font-weight: 500; line-height: 1.55; color: var(--inv-text); }
.pb-message__quote cite { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1rem; font-family: var(--pb-script); font-style: normal; font-size: 2rem; line-height: 1.1; color: var(--pb-title); }
.pb-message__quote cite svg { width: 1.5rem; height: 1.5rem; overflow: visible; }

/* events: scalloped party tickets with a wide round-topped photo and a balloon date */
.pb-event { --c: var(--pb-pink); max-width: 25rem; margin: 2.4rem auto 0; padding: .9rem .8rem 1.6rem; text-align: left; }
.pb-event + .pb-event { margin-top: 3.4rem; }
.pb-event--blue { --c: var(--pb-blue); }
.pb-event--yellow { --c: var(--pb-yellow); }
.pb-event__media { position: relative; margin: .5rem .3rem 0; }
.pb-event__photo { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: center 30%; border-radius: 999px 999px 12px 12px / 64% 64% 12px 12px; }
.pb-event__top { display: flex; align-items: center; gap: .9rem; padding: 1.1rem .9rem 0; }
.pb-event__media + .pb-event__top { margin-top: -2.6rem; align-items: flex-end; }
.pb-event__date {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; width: 4.7rem; height: 5.5rem; margin: 0 0 .35rem;
    border-radius: 50% 50% 50% 50% / 46% 46% 54% 54%; color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / .2);
    background:
        radial-gradient(16% 12% at 30% 20%, rgb(255 255 255 / .85), transparent 70%),
        radial-gradient(circle at 36% 30%, color-mix(in srgb, var(--c) 55%, #fff), var(--c) 52%, color-mix(in srgb, var(--c) 70%, #000));
    font-size: .54rem; font-weight: 600; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase;
    filter: drop-shadow(0 0 0 var(--pb-paper)) drop-shadow(0 8px 8px color-mix(in srgb, var(--inv-deep) 35%, transparent));
}
.pb-event__date::after {
    content: ''; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 8px; margin-left: -6px;
    background: color-mix(in srgb, var(--c) 78%, #000); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
}
.pb-event--yellow .pb-event__date { color: var(--inv-text); text-shadow: none; }
.pb-event__date strong { font-family: var(--pb-serif); font-size: 1.9rem; font-weight: 700; line-height: 1; letter-spacing: 0; }
.pb-event__head { min-width: 0; padding-bottom: .3rem; }
.pb-event__media + .pb-event__top .pb-event__head { padding-top: 2.8rem; }
.pb-event__name { margin: 0; font-family: var(--pb-serif); font-size: 1.5rem; font-weight: 700; line-height: 1.12; color: var(--pb-title); }
.pb-event__full { margin: .15rem 0 0; font-size: .8rem; color: var(--pb-muted); }
.pb-event__rows { display: grid; gap: .7rem; margin: 1.1rem .9rem 0; padding: .95rem 0 0; list-style: none; font-size: .9rem; border-top: 1.5px dashed var(--pb-line); }
.pb-event__rows li { display: flex; align-items: flex-start; gap: .65rem; }
.pb-event__rows .pb-icon { width: 2rem; height: 2rem; padding: .42rem; border-radius: 50%; color: #fff; background: var(--inv-primary); }
.pb-event__rows li:nth-child(2) .pb-icon { background: var(--pb-blue); }
.pb-event__rows li:nth-child(3) .pb-icon { color: var(--inv-text); background: var(--pb-yellow); }
.pb-event__rows li > span { padding-top: .28rem; }
.pb-event__venue { display: block; font-weight: 600; }
.pb-event__address { display: block; font-size: .85rem; color: var(--pb-muted); }
.pb-event .inv-maps { margin: 1.1rem .9rem 0; text-align: center; }
.pb-event .inv-maps .inv-button { width: 100%; font-weight: 600; }
.pb-event .inv-maps__frame { height: 180px; border-radius: 14px; }

/* countdown: every number a glossy balloon on a curly string */
.pb-countdown .inv-countdown { gap: clamp(.4rem, 2.6vw, .8rem); }
.pb-countdown .inv-countdown__item {
    --c: var(--pb-pink);
    position: relative; display: grid; place-content: center; width: clamp(4rem, 19vw, 4.8rem); min-width: 0; aspect-ratio: .84; padding: 0 0 .3rem; overflow: visible;
    border-radius: 50% 50% 50% 50% / 46% 46% 54% 54%; color: #fff;
    background:
        radial-gradient(16% 12% at 30% 20%, rgb(255 255 255 / .85), transparent 70%),
        radial-gradient(circle at 36% 30%, color-mix(in srgb, var(--c) 55%, #fff), var(--c) 52%, color-mix(in srgb, var(--c) 70%, #000));
    filter: drop-shadow(0 10px 10px rgb(0 0 0 / .35));
}
.pb-countdown .inv-countdown__item::after {
    content: ''; position: absolute; left: 50%; top: calc(100% - 2px); width: 16px; height: 44px; margin-left: -8px;
    background: var(--pb-string) center top / 100% 100% no-repeat;
}
.pb-countdown .inv-countdown__item:nth-child(2) { --c: var(--pb-yellow); color: var(--inv-text); }
.pb-countdown .inv-countdown__item:nth-child(3) { --c: var(--pb-blue); }
.pb-countdown .inv-countdown__item:nth-child(4) { --c: color-mix(in srgb, var(--inv-accent) 85%, #fff); color: var(--inv-text); }
.pb-countdown .inv-countdown__value { font-variant-numeric: lining-nums tabular-nums; font-family: var(--pb-serif); font-size: 1.75rem; font-weight: 700; line-height: 1; }
.pb-countdown .inv-countdown__label { margin-top: .1rem; font-size: .52rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.pb-countdown .inv-countdown__done { font-family: var(--pb-serif); font-size: 1.3rem; font-style: italic; color: var(--inv-shine); }
.pb-countdown .inv-countdown__actions { flex-direction: column; align-items: center; gap: .6rem; margin-top: 3.6rem; }
.pb-countdown .inv-countdown__actions .inv-button {
    width: min(100%, 17rem); min-height: 2.75rem; padding: .6rem 1rem; font-size: .84rem; font-weight: 600;
    color: var(--inv-background); background: color-mix(in srgb, var(--inv-background) 10%, transparent);
    box-shadow: inset 0 0 0 1px var(--pb-line);
}
.pb-countdown .inv-countdown__actions .inv-button:first-child { color: var(--inv-deep); background: var(--pb-foil); background-size: 220% 100%; box-shadow: none; }
.pb-countdown .inv-cal {
    --inv-cal-bg: var(--pb-paper); --inv-cal-mark: var(--inv-primary);
    max-width: 19rem; margin: 2.8rem auto 0; border-radius: 22px;
    box-shadow: inset 0 0 0 1px var(--pb-line), 0 22px 40px -24px rgb(0 0 0 / .6);
}
.pb-countdown .inv-cal__month { font-family: var(--pb-serif); font-size: 1.4rem; font-weight: 700; font-style: italic; color: var(--pb-title); }

/* prayer: a round-topped scalloped card, a foil star with two balloons on its apex */
.pb-prayer { padding-top: 6rem; }
.pb-prayer__panel { max-width: 22rem; margin: 0 auto; padding: 3rem 1.4rem 2.6rem; border-radius: 11rem 11rem 20px 20px; }
.pb-prayer__panel::before { display: none; }
.pb-prayer__crown { position: absolute; left: 50%; top: -2.8rem; width: 7.5rem; margin-left: -3.75rem; overflow: visible; filter: drop-shadow(0 4px 5px rgb(0 0 0 / .25)); }
.pb-prayer__eyebrow { margin: 0 0 .9rem; font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--pb-gold-ink); }
.pb-prayer__arabic { margin: 0 0 1rem; font-size: 1.42rem; text-wrap: balance; }
.pb-prayer__text { margin: 0; }
.pb-prayer__text p { margin: 0; font-family: var(--pb-serif); font-size: 1.08rem; font-style: italic; font-weight: 500; line-height: 1.55; }
.pb-prayer__text cite {
    display: inline-block; margin-top: 1rem; padding: .26rem .9rem; border-radius: 999px; font-style: normal; font-size: .7rem; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--inv-primary);
}

/* rituals: numbered balloons along a gold ribbon */
.pb-rituals__intro { font-family: var(--pb-serif); font-size: 1.08rem; font-style: italic; line-height: 1.55; color: var(--pb-cream-muted) !important; }
.pb-rituals__list { position: relative; display: grid; gap: 1.1rem; max-width: 24rem; margin: 1.8rem auto 0; padding: 0; list-style: none; text-align: left; }
.pb-rituals__list::before {
    content: ''; position: absolute; left: 1.55rem; top: 1rem; bottom: 1rem; width: 1px;
    background: linear-gradient(180deg, transparent, var(--inv-shine) 10%, var(--inv-shine) 90%, transparent);
}
.pb-rite { position: relative; display: grid; grid-template-columns: 3.1rem 4.2rem minmax(0, 1fr); align-items: center; gap: .75rem; }
.pb-rite__num { position: relative; display: grid; place-items: center; width: 3.1rem; height: 4rem; }
.pb-rite__num svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 6px 6px rgb(0 0 0 / .35)); }
.pb-rite__num b { position: relative; margin-top: -.5rem; font-family: var(--pb-serif); font-size: 1.3rem; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / .3); }
.pb-rite__num.pb-ink--yellow b { color: var(--inv-text); text-shadow: none; }
.pb-rite__art, .pb-rite__photo {
    display: grid; place-items: center; width: 4.2rem; height: 5.2rem; border-radius: 999px 999px 12px 12px;
    color: var(--inv-shine); background: color-mix(in srgb, var(--inv-background) 9%, transparent); border: 1px solid var(--pb-line);
}
.pb-rite__photo { object-fit: cover; object-position: center 30%; }
.pb-rite__art .pb-icon { width: 2.3rem; height: 2.3rem; stroke-width: 1.3; }
.pb-rite__text h3 { margin: 0; font-family: var(--pb-serif); font-size: 1.24rem; font-weight: 700; line-height: 1.15; color: #fff; }
.pb-rite__text p { margin: .2rem 0 0; font-size: .86rem; line-height: 1.5; color: var(--pb-cream-muted); }

/* rundown: a curly gold ribbon, each time on a balloon, the step on a card */
.pb-rundown__list { position: relative; max-width: 24rem; margin: 0 auto; padding: 0; list-style: none; text-align: left; }
.pb-rundown__list::before {
    content: ''; position: absolute; left: 2.15rem; top: 1.4rem; bottom: 1rem; width: 2px; transform-origin: top;
    background: repeating-linear-gradient(180deg, var(--inv-accent) 0 6px, transparent 6px 11px);
}
.pb-rundown__item { position: relative; display: grid; grid-template-columns: 4.3rem minmax(0, 1fr); align-items: start; column-gap: .75rem; padding: 0 0 1rem; }
.pb-rundown__item:last-child { padding-bottom: 0; }
.pb-rundown__time { position: relative; display: grid; place-items: center; width: 4.3rem; height: 5rem; }
.pb-rundown__time svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 6px 6px color-mix(in srgb, var(--inv-deep) 30%, transparent)); }
.pb-rundown__time b { position: relative; margin-top: -.7rem; font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / .3); }
.pb-rundown__time.pb-ink--yellow b, .pb-rundown__time.pb-ink--pearl b { color: var(--inv-text); text-shadow: none; }
.pb-rundown__body { margin-top: .5rem; padding: .7rem .95rem .75rem; border-radius: 16px; background: var(--pb-paper); box-shadow: inset 0 0 0 1px var(--pb-line), 0 10px 18px -14px color-mix(in srgb, var(--inv-deep) 60%, transparent); }
.pb-rundown__body h3 { margin: 0; font-family: var(--pb-serif); font-size: 1.06rem; font-weight: 700; line-height: 1.3; color: var(--pb-title); }
.pb-rundown__body p { margin: .1rem 0 0; font-size: .85rem; color: var(--pb-muted); }

/* reveal: the giant black-and-gold "?" balloon that pops */
.pb-reveal--girl { --rv-1: var(--pb-pink); --rv-2: color-mix(in srgb, var(--pb-pink) 50%, #fff); --rv-3: color-mix(in srgb, var(--pb-pink) 72%, #4a0024); --rv-ink: color-mix(in srgb, var(--pb-pink) 70%, #3a001c); --rv-soft: color-mix(in srgb, var(--pb-pink) 20%, #fff); }
.pb-reveal--boy { --rv-1: var(--pb-blue); --rv-2: color-mix(in srgb, var(--pb-blue) 50%, #fff); --rv-3: color-mix(in srgb, var(--pb-blue) 72%, #001a4a); --rv-ink: color-mix(in srgb, var(--pb-blue) 70%, #001233); --rv-soft: color-mix(in srgb, var(--pb-blue) 20%, #fff); }
.pb-reveal--secret { --rv-1: var(--inv-accent); --rv-2: var(--pb-pink); --rv-3: var(--pb-blue); --rv-ink: var(--inv-deep); --rv-soft: var(--pb-gold-3); }
.pb-reveal { padding-bottom: 3.6rem; }
/* a spotlight on the stage */
.pb-reveal::after {
    content: ''; position: absolute; z-index: -1; left: 50%; top: 9rem; width: 34rem; height: 34rem; margin-left: -17rem; border-radius: 50%; pointer-events: none;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--inv-shine) 22%, transparent), transparent);
}
.pb-reveal__lead { color: var(--pb-cream-muted) !important; }
.pb-reveal__guesses { display: flex; justify-content: center; gap: .7rem; margin: 0 0 1.6rem; }
.pb-reveal__guess {
    display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; padding: .5rem 1.15rem .5rem .9rem; border: 0; border-radius: 999px; cursor: pointer;
    font: 600 .88rem/1 var(--pb-sans); color: #fff; transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s ease;
}
.pb-reveal__guess svg { width: 1.05rem; height: 1.35rem; color: #fff; overflow: visible; }
.pb-reveal__guess--boy { background: linear-gradient(180deg, color-mix(in srgb, var(--pb-blue) 75%, #fff), color-mix(in srgb, var(--pb-blue) 85%, #000)); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .35); }
.pb-reveal__guess--girl { background: linear-gradient(180deg, color-mix(in srgb, var(--pb-pink) 75%, #fff), color-mix(in srgb, var(--pb-pink) 85%, #000)); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .35); }
.pb-reveal__guess.is-picked { transform: translateY(-3px) scale(1.05); box-shadow: 0 0 0 3px var(--inv-deep), 0 0 0 4.5px var(--inv-shine); }

.pb-reveal__stage { --stage: min(15.5rem, 66vw); position: relative; width: var(--stage); aspect-ratio: 200 / 300; margin: 0 auto 1.4rem; }
.pb-reveal__stage.is-open { aspect-ratio: 200 / 238; }
.pb-reveal__balloon {
    position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer;
    -webkit-tap-highlight-color: transparent; transition: opacity .2s ease, transform .2s ease;
}
.pb-reveal__art { display: block; width: 100%; height: 100%; overflow: visible; transform-origin: 50% 74%; filter: drop-shadow(0 22px 24px rgb(0 0 0 / .5)) drop-shadow(0 0 22px color-mix(in srgb, var(--inv-shine) 30%, transparent)); }
.pb-reveal__q { font-family: 'Bodoni Moda', var(--pb-serif); font-size: 128px; font-weight: 700; fill: url(#pb-gold); stroke: #2a1a05; stroke-width: 1; paint-order: stroke; }
.pb-reveal__tap { position: absolute; left: 0; right: 0; top: 4%; height: 62%; }
.pb-reveal__tap .pb-tap__ring { width: 74%; margin: -37% 0 0 -37%; }
.pb-reveal__tap .pb-tap__hand { left: 60%; top: 58%; }
.pb-reveal__tap .pb-tap__label { bottom: -.6rem; }
.pb-reveal__stage:is(.is-pop, .is-open) .pb-reveal__balloon { opacity: 0; transform: scale(1.3); pointer-events: none; }
/* the burst and the confetti start from the middle of the balloon */
.pb-reveal__burst { position: absolute; left: 50%; top: 33%; width: 140%; margin-left: -70%; aspect-ratio: 1; translate: 0 -50%; opacity: 0; transform: scale(0); overflow: visible; pointer-events: none; }
.pb-reveal__burst-out { fill: var(--rv-1); }
.pb-reveal__confetti { position: absolute; left: 50%; top: 33%; width: 0; height: 0; pointer-events: none; }
.pb-reveal__bit { position: absolute; width: 7px; height: 13px; margin: -6px 0 0 -3.5px; border-radius: 1.5px; background: var(--rv-1); opacity: 0; }
.pb-reveal__bit--c1 { background: var(--rv-2); }
.pb-reveal__bit--c2 { background: var(--rv-3); }
.pb-reveal__bit--c3 { background: var(--pb-foil); }
.pb-reveal__bit--round { width: 9px; height: 9px; border-radius: 50%; }
/* the answer: a scalloped disc in the baby's colour with balloons rising behind it */
.pb-reveal__answer {
    position: absolute; left: -6%; right: -6%; top: 2%; display: flex; flex-direction: column; align-items: center;
    opacity: 0; transform: translateY(24px) scale(.6); transition: opacity .5s ease, transform .8s cubic-bezier(.3, 1.45, .5, 1); pointer-events: none;
}
.pb-reveal__stage.is-open .pb-reveal__answer { opacity: 1; transform: none; pointer-events: auto; }
.pb-reveal__rise { position: absolute; left: -8%; top: -14%; width: 116%; overflow: visible; }
.pb-reveal__rise-1 { color: var(--rv-1); }
.pb-reveal__rise-2 { color: var(--rv-2); }
.pb-reveal__rise-3 { color: var(--rv-3); }
.pb-reveal__disc {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem;
    width: 88%; aspect-ratio: 1; margin-top: 9%; border-radius: 50%; color: var(--rv-ink);
    border: 8px dotted rgb(255 255 255 / .9);
    background:
        radial-gradient(circle at 40% 34%, #fff, var(--rv-soft) 62%, color-mix(in srgb, var(--rv-soft) 70%, var(--rv-1))) padding-box,
        var(--rv-1) border-box;
    outline: 2px solid var(--inv-accent); outline-offset: 3px;
    filter: drop-shadow(0 16px 22px rgb(0 0 0 / .45));
}
.pb-reveal__answer-label { font-size: .62rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.pb-reveal__answer-word { font-family: var(--pb-script); font-size: calc(var(--stage) * .2); line-height: 1.1; padding: 0 .1em; }
.pb-reveal__answer .pb-icon { width: 1.6rem; height: 1.6rem; }
.pb-reveal__disc-bow { position: absolute; left: 50%; top: 5%; width: 32%; margin-left: -16%; overflow: visible; color: var(--rv-1); filter: drop-shadow(0 4px 4px rgb(0 0 0 / .3)); }
.pb-reveal__after { max-width: 26rem; margin: 0 auto; }
.pb-reveal__message { margin: 0 auto; font-family: var(--pb-serif); font-size: 1.16rem; font-style: italic; line-height: 1.5; color: #fff; }
.pb-reveal__verdict { margin: .7rem 0 0; font-size: .92rem; font-weight: 600; color: var(--inv-shine); }

/* party: the theme banner, the dress with balloon swatches, the note and the hashtag */
.pb-party__label { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--pb-gold-ink); }
.pb-party__banner { position: relative; max-width: 19rem; margin: 0 auto 1rem; padding-top: 2.2rem; }
.pb-party__cords { position: absolute; left: 0; top: 0; width: 100%; height: 2.4rem; overflow: visible; }
.pb-party__star { position: absolute; top: -.9rem; width: 2.5rem; overflow: visible; filter: drop-shadow(0 3px 4px rgb(0 0 0 / .25)); }
.pb-party__star--left { left: 1.4rem; transform: rotate(-12deg); }
.pb-party__star--right { right: 1.4rem; transform: rotate(12deg); }
.pb-party__flag {
    --flag: var(--inv-primary);
    position: relative; padding: 1.1rem 1.4rem 1.2rem; border-radius: 16px 16px 4px 4px; color: #fff;
    background: radial-gradient(90% 70% at 30% 0%, rgb(255 255 255 / .28), transparent 70%), var(--flag);
    box-shadow: inset 0 0 0 1.5px var(--inv-shine), inset 0 0 0 5px var(--flag), inset 0 0 0 6px color-mix(in srgb, var(--inv-shine) 70%, transparent);
}
.pb-party__flag::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -10px; height: 11px;
    background: radial-gradient(circle at 50% 0, var(--flag) 10.5px, transparent 11px) center top / 21px 11px repeat-x;
}
.pb-party__flag .pb-party__label { color: var(--inv-shine); }
.pb-party__theme { margin: .1rem 0 0; font-family: var(--pb-script); font-size: 2.3rem; line-height: 1.1; color: #fff; text-shadow: 0 2px 6px rgb(0 0 0 / .2); }
.pb-party__dress { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); align-items: center; gap: 1rem; max-width: 22.5rem; margin: 2.2rem auto 0; padding: 1.3rem 1.2rem 1.2rem; text-align: left; }
.pb-party__gown { width: 5.2rem; height: auto; overflow: visible; filter: drop-shadow(0 8px 8px color-mix(in srgb, var(--inv-deep) 30%, transparent)); }
.pb-party__gown-body { fill: var(--pb-pick, var(--inv-primary)); stroke: var(--pb-gold-1); stroke-width: 1.2; transition: fill .4s ease; }
.pb-party__gown-sash { fill: rgb(255 255 255 / .55); }
.pb-party__gown-line { fill: none; stroke: color-mix(in srgb, #fff 55%, transparent); stroke-width: 1; }
.pb-party__gown-dots { fill: rgb(255 255 255 / .7); }
.pb-party__gown-bow { color: var(--inv-accent); }
.pb-party__dress-name { margin: .15rem 0 .4rem; font-family: var(--pb-serif); font-size: 1.12rem; font-weight: 700; line-height: 1.25; color: var(--pb-title); }
.pb-swatches { position: relative; display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .9rem; }
.pb-swatch {
    width: 2.4rem; height: 4.4rem; padding: 0; border: 0; background: none; cursor: pointer; color: var(--pb-swatch);
    transform-origin: 50% 90%; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), filter .25s ease; -webkit-tap-highlight-color: transparent;
}
.pb-swatch svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 4px 4px color-mix(in srgb, var(--inv-deep) 30%, transparent)); }
.pb-swatch[aria-pressed=true] { transform: translateY(-5px) scale(1.14); }
.pb-swatch[aria-pressed=true] svg { filter: drop-shadow(0 0 1.5px var(--inv-accent)) drop-shadow(0 0 1.5px var(--inv-accent)) drop-shadow(0 6px 6px color-mix(in srgb, var(--inv-deep) 30%, transparent)); }
.pb-swatches__tap { position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.9rem; pointer-events: none; }
.pb-tap--small .pb-tap__ring { width: 120%; margin: -60% 0 0 -60%; border-width: 2px; border-color: var(--inv-primary); }
.pb-tap--small .pb-tap__hand { width: 2rem; height: 2rem; left: 58%; top: 52%; }
.pb-tap--small .pb-tap__label { left: 0; bottom: -3.1rem; transform: none; padding: .26rem .7rem; font-size: .66rem; }
.pb-party__hint { margin: .5rem 0 0 !important; font-size: .76rem; color: var(--pb-muted); }
.pb-swatches + .pb-party__hint { margin-top: 1.9rem !important; }
.pb-party__hint--center { margin: .5rem auto 0 !important; text-align: center; }
.pb-party__note { margin-top: 1.8rem !important; font-family: var(--pb-serif); font-size: 1.06rem; font-style: italic; line-height: 1.55; color: var(--inv-text); }
.pb-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: var(--pb-paper); box-shadow: inset 0 0 0 1px var(--pb-line), var(--pb-drop);
}
.pb-party__hashtag .pb-icon { color: var(--inv-primary); }
.pb-party__hashtag-text { font-weight: 600; color: var(--pb-title); overflow-wrap: anywhere; }
.pb-party__copy {
    min-height: 2.2rem; padding: .3rem .9rem; border: 0; border-radius: 999px; cursor: pointer; font: 600 .78rem/1 var(--pb-sans);
    color: var(--inv-deep); background: var(--pb-foil); background-size: 220% 100%;
}

/* story: tilted instant photos pinned with a gold clip, text-only chapters as candy cards */
.pb-story__list { display: grid; gap: 2.4rem; margin: 0; padding: 0; list-style: none; text-align: left; }
.pb-story__item { --c: var(--pb-pink); display: grid; grid-template-columns: 44% minmax(0, 1fr); align-items: center; gap: 1.2rem; }
.pb-story__item--blue { --c: var(--pb-blue); }
.pb-story__item--yellow { --c: var(--pb-yellow); }
.pb-story__item--flip { grid-template-columns: minmax(0, 1fr) 44%; }
.pb-story__item--flip .pb-story__snap { order: 2; transform: rotate(3.5deg); }
.pb-story__snap { position: relative; margin: 0; padding: 7px 7px 26px; border-radius: 4px; background: #fff; transform: rotate(-3.5deg); box-shadow: 0 16px 24px -14px color-mix(in srgb, var(--inv-deep) 70%, transparent), 0 0 0 1px rgb(0 0 0 / .04); }
.pb-story__pin { position: absolute; left: 50%; top: -10px; width: 12px; height: 26px; margin-left: -6px; border-radius: 3px; background: var(--pb-foil); box-shadow: 0 2px 3px rgb(0 0 0 / .3); }
.pb-story__photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 28%; border-radius: 2px; }
.pb-story__sticker { position: absolute; right: 6px; bottom: 2px; width: 1rem; height: 1.3rem; overflow: visible; }
.pb-story__when {
    display: inline-block; padding: .2rem .75rem; border-radius: 999px; font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: #fff; background: var(--c);
}
.pb-story__item--yellow .pb-story__when { color: var(--inv-text); }
.pb-story__body h3 { margin: .5rem 0 0; font-family: var(--pb-serif); font-size: 1.3rem; font-weight: 700; line-height: 1.18; color: var(--pb-title); }
.pb-story__body p { margin: .35rem 0 0; font-size: .88rem; line-height: 1.55; color: var(--pb-muted); }
.pb-story__item--text { grid-template-columns: 3rem minmax(0, 1fr); align-items: start; gap: .9rem; padding: 1.25rem 1.2rem; background: color-mix(in srgb, var(--inv-soft) 45%, var(--pb-paper)); }
.pb-story__item--text::before, .pb-story__item--text::after { background-image: radial-gradient(circle at 50% 100%, color-mix(in srgb, var(--inv-soft) 45%, var(--pb-paper)) 8.5px, transparent 9px); }
.pb-story__dot { position: relative; display: grid; place-items: center; width: 3rem; height: 3.8rem; }
.pb-story__dot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pb-story__dot b { position: relative; margin-top: -.5rem; font-family: var(--pb-serif); font-size: 1.2rem; color: #fff; }
.pb-story__dot.pb-ink--yellow b { color: var(--inv-text); }

/* gallery: white instant-photo frames, tilted this way and that; the first one tall with a round top */
.pb-gallery .inv-gallery { gap: .8rem .7rem; }
.pb-gallery .inv-gallery__item { padding: 5px 5px 16px; border-radius: 4px; background: #fff; overflow: hidden; box-shadow: 0 16px 26px -16px rgb(0 0 0 / .8); transform: rotate(-1.6deg); }
.pb-gallery .inv-gallery__item:nth-child(even) { transform: rotate(1.8deg); }
.pb-gallery .inv-gallery__item:nth-child(3n) { transform: rotate(-.8deg); }
.pb-gallery .inv-gallery__item img, .pb-gallery .inv-gallery__item video { border-radius: 2px; }
.pb-gallery .inv-gallery__item:first-child { grid-row: span 2; aspect-ratio: auto; padding: 5px 5px 16px; border-radius: 999px 999px 6px 6px; transform: rotate(-1deg); }
.pb-gallery .inv-gallery__item:first-child img { border-radius: 999px 999px 2px 2px; }

/* live streaming */
.pb-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: 22px; color: var(--inv-background); text-align: left; isolation: isolate;
    background: radial-gradient(70% 90% at 0% 0%, color-mix(in srgb, #fff 18%, transparent), transparent 70%), linear-gradient(140deg, var(--inv-primary), color-mix(in srgb, var(--inv-primary) 40%, var(--inv-deep)));
    box-shadow: inset 0 0 0 1px var(--pb-line), var(--pb-drop);
}
.pb-stream__card::before {
    content: ''; position: absolute; inset: 0; z-index: -1; background: #fff; opacity: .16;
    -webkit-mask: var(--pb-confetti) center / 90px 90px repeat; mask: var(--pb-confetti) center / 90px 90px repeat;
}
.pb-stream__icon { position: relative; display: grid; place-items: center; width: 3.3rem; height: 3.3rem; border-radius: 50%; color: var(--inv-deep); background: var(--pb-foil); background-size: 220% 100%; }
.pb-stream__icon::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--inv-shine); opacity: 0; }
.pb-stream__icon .pb-icon { width: 1.65rem; height: 1.65rem; }
.pb-stream__title { margin: 0 0 .1rem; font-family: var(--pb-serif); font-size: 1.5rem; font-weight: 700; line-height: 1.1; color: #fff; }
.pb-stream__text p { margin: 0; font-size: .86rem; color: var(--pb-cream-muted); }
.pb-stream__text .pb-stream__note { margin-top: .3rem; font-weight: 600; color: var(--inv-shine); }
.pb-stream__button { grid-column: 1 / -1; min-height: 2.75rem; color: var(--inv-deep) !important; background: var(--pb-foil) !important; background-size: 220% 100% !important; font-weight: 600; }

/* RSVP card */
.pb-rsvp__card { max-width: 25rem; margin: 2.4rem auto 0; padding: 2.6rem 1.15rem 1.5rem; }
.pb-rsvp__intro { margin: 0 auto 1.1rem; max-width: 30ch; font-size: .9rem; color: var(--pb-muted); }
.pb-rsvp__sent { margin-bottom: 1rem; }
.pb-rsvp__check { display: block; width: 3.6rem; height: 4.6rem; margin: 0 auto .4rem; overflow: visible; }
.pb-rsvp__check path { fill: none; stroke: #fff; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
html.inv-anim .pb-rsvp__sent .pb-rsvp__check { animation: pb-bounce .8s cubic-bezier(.34, 1.56, .64, 1) both; }
html.inv-anim .pb-rsvp__sent .pb-rsvp__check path { animation: pb-draw .45s ease-out .35s both; }
.pb-rsvp__thanks { margin: 0; font-family: var(--pb-script); font-size: 2.2rem; line-height: 1.1; color: var(--pb-title); }
.pb-rsvp__line { margin: .1rem 0 0; font-size: .9rem; color: var(--pb-muted); }
.pb-rsvp .inv-rsvp__deadline { margin: 0 0 1rem; font-size: .84rem; font-weight: 600; color: var(--pb-title); }

/* gift: three wrapped boxes; the accounts as gift tags with a satin band and a punched hole, two per row */
.pb-gift__boxes { display: block; width: 8.4rem; margin: -1rem auto .6rem; overflow: visible; filter: drop-shadow(0 10px 10px rgb(0 0 0 / .4)); }
.pb-gift__intro { color: var(--pb-cream-muted) !important; }
.pb-gift .inv-gift__accounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 1.3rem; }
.pb-gift .inv-gift__account:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pb-gift .inv-gift__account,
.pb-gift .inv-gift__address {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: .3rem; min-width: 0; margin: 0; overflow: hidden;
    padding: 2.1rem .75rem 1rem; border-radius: 16px 16px 16px 16px; color: var(--inv-text); background: var(--pb-paper);
    box-shadow: inset 0 0 0 1px var(--pb-line), 0 18px 30px -20px rgb(0 0 0 / .6);
}
.pb-gift .inv-gift__account::before {
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1.05rem;
    background: linear-gradient(180deg, color-mix(in srgb, var(--inv-primary) 70%, #fff), var(--inv-primary) 55%, color-mix(in srgb, var(--inv-primary) 80%, #000));
    box-shadow: 0 2px 0 var(--inv-accent);
}
.pb-gift .inv-gift__account:nth-child(2)::before { background: linear-gradient(180deg, color-mix(in srgb, var(--pb-blue) 70%, #fff), var(--pb-blue) 55%, color-mix(in srgb, var(--pb-blue) 80%, #000)); }
.pb-gift .inv-gift__account::after {
    content: ''; position: absolute; left: .7rem; top: 1.5rem; width: 9px; height: 9px; border-radius: 50%;
    background: var(--inv-deep); box-shadow: 0 0 0 2px var(--inv-accent);
}
.pb-gift .inv-gift__account p, .pb-gift .inv-gift__address p { margin: 0; }
.pb-gift .inv-gift__bank { font-weight: 600; font-size: .85rem; color: var(--pb-title); }
.pb-gift .inv-gift__logo { height: 1.6rem; padding: .2rem .5rem; border-radius: .4rem; background: #fff; }
.pb-gift .inv-gift__logo img { max-width: 5rem; }
.pb-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); }
.pb-gift .inv-gift__holder { font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--pb-muted); overflow-wrap: anywhere; }
.pb-gift .inv-button { margin-top: .35rem; min-height: 2.25rem; padding: .35rem .9rem; font-size: .74rem; font-weight: 600; }
.pb-gift .inv-gift__address { margin-top: .75rem; padding-top: 1.1rem; font-size: .875rem; }
.pb-gift .inv-gift__address .inv-gift__holder { font-size: .72rem; }

/* wishlist */
.pb-wishlist__intro { color: var(--pb-muted); font-size: .92rem; }
.pb-wishlist__list { display: grid; gap: .7rem; max-width: 24rem; margin: 1.3rem auto 0; padding: 0; list-style: none; text-align: left; }
.pb-wishlist__item { display: grid; grid-template-columns: 3rem minmax(0, 1fr); align-items: center; gap: .9rem; padding: .8rem 1rem; border-radius: 18px; background: var(--pb-paper); box-shadow: inset 0 0 0 1px var(--pb-line), 0 10px 18px -14px color-mix(in srgb, var(--inv-deep) 60%, transparent); }
.pb-wishlist__box { position: relative; display: grid; place-items: center; width: 3rem; height: 3rem; }
.pb-wishlist__box svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 4px 4px color-mix(in srgb, var(--inv-deep) 30%, transparent)); }
.pb-wishlist__box b { position: absolute; right: -5px; bottom: -4px; display: grid; place-items: center; width: 1.3rem; height: 1.3rem; border-radius: 50%; font-family: var(--pb-serif); font-size: .74rem; line-height: 1; color: var(--pb-title); background: #fff; box-shadow: 0 0 0 1.5px var(--inv-accent), 0 2px 4px rgb(0 0 0 / .2); }
.pb-wishlist__photo { display: block; width: 3rem; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 6px 6px; border: 2px solid var(--inv-accent); }
.pb-wishlist__text p { margin: 0; }
.pb-wishlist__name { font-family: var(--pb-serif); font-size: 1.08rem; font-weight: 700; line-height: 1.3; color: var(--pb-title); overflow-wrap: anywhere; }
.pb-wishlist__note { margin-top: .1rem !important; font-size: .86rem; color: var(--pb-muted); }
.pb-wishlist__shop { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.2rem; margin-top: .25rem; font-size: .82rem; font-weight: 600; text-decoration: none; }
.pb-wishlist__shop .pb-icon { width: 1rem; height: 1rem; }

/* co-hosts: names split by small glossy balloons */
.pb-cohosts__list { display: flex; flex-direction: column; align-items: center; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.pb-cohosts__list li { max-width: 26ch; font-family: var(--pb-serif); font-size: 1.14rem; font-weight: 700; line-height: 1.3; color: #fff; }
.pb-cohosts__list li + li::before {
    content: ''; display: block; width: 10px; height: 12px; margin: 0 auto .55rem; border-radius: 50% 50% 50% 50% / 44% 44% 56% 56%;
    background: radial-gradient(circle at 35% 30%, #fff 0 12%, transparent 30%), var(--pb-pink);
}
.pb-cohosts__list li:nth-child(3n) ::before, .pb-cohosts__list li:nth-child(3n)::before { background-color: var(--pb-yellow); }
.pb-cohosts__list li:nth-child(3n+1)::before { background-color: var(--pb-blue); }

/* contacts */
.pb-contacts__list { display: grid; gap: .7rem; max-width: 24rem; margin: 0 auto; }
.pb-contact {
    display: grid; grid-template-columns: 2.9rem minmax(0, 1fr) auto; align-items: center; gap: .8rem; padding: .55rem .55rem .55rem .7rem; border-radius: 999px;
    background: var(--pb-paper); text-align: left; box-shadow: inset 0 0 0 1px var(--pb-line), 0 10px 18px -14px color-mix(in srgb, var(--inv-deep) 60%, transparent);
}
.pb-contact__avatar {
    --c: var(--pb-pink);
    display: grid; place-items: center; width: 2.7rem; height: 3.2rem; border-radius: 50% 50% 50% 50% / 46% 46% 54% 54%; font-family: var(--pb-serif); font-size: 1.25rem; font-weight: 700;
    color: #fff; background: radial-gradient(16% 12% at 30% 22%, rgb(255 255 255 / .8), transparent 70%), radial-gradient(circle at 36% 30%, color-mix(in srgb, var(--c) 55%, #fff), var(--c) 52%, color-mix(in srgb, var(--c) 70%, #000));
}
.pb-contact:nth-child(2) .pb-contact__avatar { --c: var(--pb-blue); }
.pb-contact:nth-child(3) .pb-contact__avatar { --c: var(--pb-yellow); color: var(--inv-text); }
.pb-contact p { margin: 0; }
.pb-contact__name { font-weight: 600; font-size: .95rem; line-height: 1.3; overflow-wrap: anywhere; }
.pb-contact__role { font-size: .78rem; color: var(--pb-muted); }
.pb-contact__phone { font-size: .85rem; }
.pb-contact__button { min-height: 2.5rem; padding: .45rem .95rem; font-size: .8rem; font-weight: 600; }
.pb-contact__button .pb-icon { width: 1.05rem; height: 1.05rem; }

/* health protocol */
.pb-protocol__list { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.pb-protocol__list li { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .85rem; border-radius: 999px; font-size: .84rem; font-weight: 500; background: var(--pb-paper); box-shadow: inset 0 0 0 1px var(--pb-line); }
.pb-protocol__list .pb-icon { width: 1rem; height: 1rem; color: var(--inv-primary); }
.pb-protocol__note { font-size: .88rem; color: var(--pb-muted); }

/* vendors */
.pb-vendors__list { max-width: 24rem; margin: 0 auto; padding: .3rem 1.15rem; list-style: none; border-radius: 18px; background: var(--pb-paper); box-shadow: inset 0 0 0 1px var(--pb-line), var(--pb-drop); }
.pb-vendor { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .85rem 0; text-align: left; border-bottom: 1.5px dashed var(--pb-line); }
.pb-vendor:last-child { border-bottom: 0; }
.pb-vendor__text { display: flex; flex-direction: column; min-width: 0; }
.pb-vendor__role { font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--pb-gold-ink); }
.pb-vendor__name { font-family: var(--pb-serif); font-size: 1.08rem; font-weight: 700; line-height: 1.25; color: var(--inv-text); overflow-wrap: anywhere; }
.pb-vendor__link {
    display: inline-flex; align-items: center; gap: .3rem; flex: none; min-height: 2.2rem; padding: .3rem .7rem; border-radius: 999px;
    font-size: .74rem; font-weight: 600; text-decoration: none; color: var(--pb-title); box-shadow: inset 0 0 0 1px var(--pb-line);
}
.pb-vendor__link .pb-icon { width: .95rem; height: .95rem; }

/* closing: compact — the photo melting into the night, balloon bunches, thanks and the names (above the menu) */
.pb-closing { padding: 5.4rem 1.6rem 5.8rem; }
.pb-closing--photo { padding-top: 0; }
.pb-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);
}
.pb-closing__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.pb-closing__body { position: relative; }
.pb-closing--photo .pb-closing__body { margin-top: -3.6rem; }
.pb-closing__cluster { position: absolute; top: -5.4rem; width: 5.2rem; z-index: -1; }
.pb-closing__cluster--left { left: -2.4rem; transform: rotate(-10deg); }
.pb-closing__cluster--right { right: -2.4rem; transform: rotate(10deg); }
.pb-closing__title { margin: 0 0 .6rem; font-family: var(--pb-serif); font-size: 2.1rem; font-weight: 700; line-height: 1.05; color: #fff; }
.pb-closing__title em { font-family: var(--pb-script); font-style: normal; font-weight: 400; font-size: 1.35em; color: var(--inv-shine); }
.pb-closing__message { margin: 0 auto; max-width: 32ch; font-size: .9rem; line-height: 1.55; color: var(--pb-cream-muted); }
.pb-closing__salam { margin: .7rem auto 0; max-width: 28ch; font-family: var(--pb-serif); font-size: 1rem; font-style: italic; font-weight: 500; line-height: 1.35; color: var(--inv-shine); }
.pb-closing__signature { margin: .4rem auto 0; max-width: 30ch; font-size: .84rem; color: var(--pb-cream-muted); }
.pb-closing__names { margin: .5rem 0 0; font-family: var(--pb-script); font-size: 2.5rem; line-height: 1.1; padding: 0 .15em .08em; }

/* ---------- 6. forms (shared RSVP + wishes, restyled) ---------- */
.pb-main .inv-form { gap: 1rem; text-align: left; }
.pb-main .inv-form label, .pb-main .inv-form__choices legend { font-size: .82rem; font-weight: 600; color: var(--inv-text); }
.pb-main .inv-form input:not([type=radio]):not([type=checkbox]),
.pb-main .inv-form select,
.pb-main .inv-form textarea {
    width: 100%; min-height: 2.9rem; padding: .7rem .9rem; border: 0; border-radius: 14px;
    font: 400 .95rem/1.4 var(--pb-sans); color: var(--inv-text); background: #fff;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-accent) 60%, transparent);
    transition: box-shadow .2s ease;
}
.pb-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;
}
.pb-main .inv-form input:not([type=radio]):focus-visible,
.pb-main .inv-form select:focus-visible,
.pb-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-accent) 35%, transparent); }
.pb-main .inv-form button[type=submit] { width: 100%; min-height: 3rem; font-weight: 600; box-shadow: 0 12px 22px -12px color-mix(in srgb, var(--inv-primary) 80%, transparent); }
.pb-main .inv-form .inv-button--outline { width: 100%; min-height: 2.75rem; }
.pb-main .inv-form__notice { text-align: center; }

/* the three answers as cards with icons (the radio dot is hidden but still focusable) */
.pb-rsvp .inv-form__choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.pb-rsvp .inv-form__choices legend { margin-bottom: .5rem; padding: 0; }
.pb-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 1px color-mix(in srgb, var(--inv-accent) 60%, transparent);
    transition: background-color .25s ease, color .25s ease, transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s ease;
}
.pb-rsvp .inv-form__choices input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pb-rsvp .inv-form__choices label::before { content: ''; width: 2.1rem; height: 2.1rem; border-radius: 50%; flex: none; background: var(--inv-soft); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background-color .25s ease; }
.pb-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(--pb-choice-icon) center / contain no-repeat; mask: var(--pb-choice-icon) center / contain no-repeat;
}
.pb-rsvp .inv-form__choices label:nth-of-type(1) { --pb-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"); }
.pb-rsvp .inv-form__choices label:nth-of-type(2) { --pb-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"); }
.pb-rsvp .inv-form__choices label:nth-of-type(3) { --pb-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"); }
.pb-rsvp .inv-form__choices label:has(input:checked) { color: #fff; background: var(--inv-primary); transform: translateY(-3px); box-shadow: 0 0 0 2px var(--inv-accent), 0 12px 24px -12px color-mix(in srgb, var(--inv-primary) 80%, transparent); }
.pb-rsvp .inv-form__choices label:has(input:checked)::before { background-color: rgb(255 255 255 / .2); transform: scale(1.1); }
.pb-rsvp .inv-form__choices label:has(input:checked)::after { color: #fff; }
.pb-rsvp .inv-form__choices label:has(input:focus-visible) { outline: 2px solid var(--inv-accent); outline-offset: 3px; }

/* wishes */
.pb-wishes .inv-wishes { --inv-wishes-height: 20rem; }
.pb-wishes .inv-form { padding: 1.3rem 1.1rem; border-radius: 20px; background: var(--pb-paper); box-shadow: inset 0 0 0 1px var(--pb-line), var(--pb-drop); }
.pb-wishes .inv-wishes__list { margin-top: 1.4rem; }
.pb-wishes .inv-wishes:not(.inv-wishes--paged) .inv-wishes__list { padding: .55rem; border-radius: 18px; background: color-mix(in srgb, #fff 45%, transparent); box-shadow: inset 0 0 0 1px var(--pb-line); }
.pb-wishes .inv-wish { padding: .75rem .9rem; border-radius: 14px; background: #fff; text-align: left; box-shadow: 0 2px 10px rgb(0 0 0 / .05); border-left: 4px solid var(--pb-pink); }
.pb-wishes .inv-wish:nth-child(3n+2) { border-left-color: var(--pb-yellow); }
.pb-wishes .inv-wish:nth-child(3n) { border-left-color: var(--pb-blue); }
.pb-wishes .inv-wish__name { font-weight: 600; color: var(--pb-title); }
.pb-wishes .inv-wish__message { font-size: .88rem; line-height: 1.5; }
.pb-wishes .inv-wish__time { font-size: .72rem; color: var(--pb-muted); }

/* ---------- 7. shared components ---------- */
.pb-main .inv-button { font-weight: 600; }
body .inv-nav {
    --inv-nav-bg: color-mix(in srgb, var(--inv-deep) 94%, transparent);
    --inv-nav-text: color-mix(in srgb, var(--inv-background) 72%, transparent);
    --inv-nav-active: var(--inv-shine);
    font-family: var(--pb-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) {
    .pb-cover { --pb-art: 21rem; padding-top: 4rem; }
    .pb-cover__names { font-size: 2.95rem; }
}
@media (max-height: 760px) {
    .pb-cover { --pb-art: 18.9rem; padding-top: 3.8rem; padding-bottom: 1.4rem; }
    .pb-cover__names { font-size: 2.75rem; }
    .pb-cover__quote { font-size: .94rem; margin-top: .4rem; }
    .pb-cover__guest { margin-top: .55rem; }
    .pb-cover__open { margin-top: .7rem; }
}
@media (max-height: 700px) {
    .pb-cover { --pb-art: 17rem; padding-top: 3.5rem; padding-bottom: 1.2rem; }
    .pb-cover__title { font-size: .64rem; padding: .22rem .85rem; }
    .pb-cover__names { font-size: 2.55rem; margin-top: .15rem; }
    .pb-cover__date span { font-size: .84rem; }
    .pb-cover__quote { font-size: .9rem; line-height: 1.3; }
    .pb-cover__guest { padding: .32rem .85rem .38rem; }
    .pb-cover__guest-name { font-size: 1.08rem; }
    .pb-cover__open { min-height: 2.7rem; padding: .55rem 1.6rem; }
    .pb-cover__cluster { width: 5.4rem; }
}
@media (max-height: 660px) {
    .pb-cover { --pb-art: 15.9rem; padding-top: 3.3rem; }
    .pb-cover__names { font-size: 2.4rem; }
    .pb-cover__quote { font-size: .86rem; margin-top: .3rem; }
    .pb-cover__guest { margin-top: .45rem; }
    .pb-cover__open { margin-top: .6rem; }
}
@media (max-height: 600px) {
    .pb-cover { --pb-art: 13.2rem; padding-top: 3rem; }
    .pb-cover__names { font-size: 2.2rem; }
    .pb-cover__quote { font-size: .82rem; }
}
@media (max-width: 360px) {
    .pb-cover__names { font-size: 2.5rem; }
}

/* wide screens: the phone-width column on a plum backdrop with the confetti print */
@media (min-width: 560px) {
    body.pb-body {
        background: radial-gradient(70vw 60vh at 50% 0%, color-mix(in srgb, var(--inv-primary) 55%, transparent), transparent 70%), var(--inv-deep);
        background-attachment: fixed;
    }
    body.pb-body::before {
        content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .3; background: var(--pb-party);
        -webkit-mask: var(--pb-confetti) center / 90px 90px repeat; mask: var(--pb-confetti) center / 90px 90px repeat;
    }
    .pb-main { box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); }
}

/* ---------- 9. motion ---------- */
@keyframes pb-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pb-bounce { 0% { transform: scale(0); } 55% { transform: scale(1.15); } 75% { transform: scale(.94); } 100% { transform: scale(1); } }
@keyframes pb-rise { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes pb-zoom-out { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes pb-pop { 0% { opacity: 0; transform: scale(0); } 70% { opacity: 1; transform: scale(1.12); } 100% { opacity: 1; transform: scale(1); } }
@keyframes pb-drop { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: none; } }
@keyframes pb-float-in-left { from { opacity: 0; transform: translateY(60px) rotate(-8deg); } to { opacity: 1; transform: rotate(-8deg); } }
@keyframes pb-float-in-right { from { opacity: 0; transform: translateY(60px) rotate(8deg); } to { opacity: 1; transform: rotate(8deg); } }
@keyframes pb-shine { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
@keyframes pb-breathe { 0%, 100% { opacity: .65; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes pb-motes { from { background-position: 0 0; } to { background-position: 0 -420px; } }
@keyframes pb-float-up { from { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-60vh) rotate(4deg); } to { transform: translateY(-125vh) rotate(-4deg); } }
@keyframes pb-sway { 0%, 100% { transform: rotate(-.9deg); } 50% { transform: rotate(.9deg); } }
@keyframes pb-bob { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-7px) rotate(1.5deg); } }
@keyframes pb-twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.1) rotate(6deg); } }
@keyframes pb-ping { 0% { opacity: .9; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.9); } }
@keyframes pb-tap { 0%, 100% { transform: translate(0, 0) scale(1); } 45% { transform: translate(-3px, -5px) scale(.92); } }
@keyframes pb-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pb-flame { 0%, 100% { transform: scale(1, 1) rotate(-2deg); } 50% { transform: scale(.92, 1.08) rotate(3deg); } }
@keyframes pb-shake {
    0%, 100% { transform: rotate(0) scale(1); }
    15% { transform: rotate(-7deg) scale(1.02); } 30% { transform: rotate(6deg) scale(1.04); } 45% { transform: rotate(-6deg) scale(1.06); }
    60% { transform: rotate(5deg) scale(1.08); } 75% { transform: rotate(-3deg) scale(1.12); } 90% { transform: rotate(2deg) scale(1.16); }
}
@keyframes pb-burst { 0% { opacity: 1; transform: scale(0) rotate(0); } 45% { opacity: 1; transform: scale(1.05) rotate(12deg); } 100% { opacity: 0; transform: scale(1.35) rotate(20deg); } }
@keyframes pb-bit {
    0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(.5); }
    70% { opacity: 1; transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1); }
    100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 60px)) rotate(calc(var(--r) * 1.3)) scale(1); }
}
@keyframes pb-rise-up { from { translate: 0 90px; opacity: 0; } to { translate: 0 0; opacity: 1; } }

/* gold foil: a slow moving shine */
html.inv-anim :is(.pb-heading__title em, .pb-cover__names, .pb-occasion__type, .pb-closing__names, .pb-cover__open, .pb-tap__label, .pb-parents__amp) { animation: pb-shine 7s ease-in-out infinite; }

/* cover (≤ 2.5 s, once): the bunting drops, the arch rises, its photo settles, the garland pops in from the feet up,
   the bunches float up; then a living ground: the light breathes, motes drift, balloons rise, the garland sways */
html.inv-anim .pb-cover__bunting { animation: pb-drop .9s cubic-bezier(.3, 1.3, .5, 1) .1s both; }
html.inv-anim .pb-arch--cover { animation: pb-rise .9s cubic-bezier(.2, .7, .2, 1) .1s both; }
html.inv-anim .pb-arch--cover .pb-arch__photo { animation: pb-zoom-out 1.4s cubic-bezier(.2, .7, .2, 1) .1s both; }
html.inv-anim .pb-arch--cover .pb-arch__garland > g { transform-box: fill-box; transform-origin: 50% 80%; animation: pb-pop .5s cubic-bezier(.3, 1.4, .5, 1) calc(.3s + var(--i) * .06s) both; }
html.inv-anim .pb-arch--cover .pb-arch__garland { transform-origin: 50% 85%; animation: pb-sway 6s ease-in-out 2.4s infinite; }
html.inv-anim .pb-arch--cover .pb-arch__star { transform-box: fill-box; transform-origin: center; animation: pb-pop .6s cubic-bezier(.3, 1.5, .5, 1) 1.5s both, pb-twinkle 3.5s ease-in-out 2.2s infinite; }
html.inv-anim .pb-cover__cluster--left { animation: pb-float-in-left 1.2s cubic-bezier(.2, .8, .3, 1) .4s both; }
html.inv-anim .pb-cover__cluster--right { animation: pb-float-in-right 1.2s cubic-bezier(.2, .8, .3, 1) .55s both; }
html.inv-anim .pb-cover__art::before { animation: pb-breathe 5s ease-in-out infinite; }
html.inv-anim .pb-cover::after { animation: pb-motes 22s linear infinite; }
html.inv-anim .pb-cover__float { animation: pb-float-up 19s linear infinite; }
html.inv-anim .pb-cover__float--2 { animation-duration: 23s; animation-delay: -9s; }
html.inv-anim .pb-cover__float--3 { animation-duration: 26s; animation-delay: -15s; }
html.inv-anim .pb-cover__float--4 { animation-duration: 21s; animation-delay: -4s; }
html:not(.inv-anim) .pb-cover__float { display: none; }

/* small living details on the page */
html.inv-anim .pb-fact { animation: pb-bob 3.4s ease-in-out calc(var(--i) * -1.1s) infinite; }
html.inv-anim .pb-countdown .inv-countdown__item { animation: pb-bob 3.2s ease-in-out infinite; }
html.inv-anim .pb-countdown .inv-countdown__item:nth-child(2) { animation-delay: -.8s; }
html.inv-anim .pb-countdown .inv-countdown__item:nth-child(3) { animation-delay: -1.6s; }
html.inv-anim .pb-countdown .inv-countdown__item:nth-child(4) { animation-delay: -2.4s; }
html.inv-anim .pb-swatch { animation: pb-bob 3s ease-in-out calc(var(--i) * -.7s) infinite; }
html.inv-anim .pb-swatch[aria-pressed=true] { animation: none; }
html.inv-anim .pb-cake__flame { transform-box: fill-box; transform-origin: 50% 100%; animation: pb-flame 1.1s ease-in-out infinite; }
html.inv-anim .pb-stream__icon::after { animation: pb-ping 2s ease-out infinite; }
html.inv-anim .pb-party__star { animation: pb-twinkle 3.5s ease-in-out infinite; }
html.inv-anim .pb-party__star--right { animation-delay: -1.7s; }

/* the reveal: the balloon bobs, shakes, pops in a burst with confetti, the answer rises with its balloons */
html.inv-anim .pb-reveal__stage.is-idle .pb-reveal__art { animation: pb-bob 3.2s ease-in-out infinite; }
html.inv-anim .pb-reveal__stage.is-shake .pb-reveal__art { animation: pb-shake .76s ease-in-out both; }
.pb-reveal__stage:is(.is-pop, .is-open) .pb-reveal__burst { animation: pb-burst .75s cubic-bezier(.2, .8, .3, 1) both; }
.pb-reveal__stage:is(.is-pop, .is-open) .pb-reveal__bit { animation: pb-bit 1.5s cubic-bezier(.15, .7, .3, 1) var(--d) both; }
html.inv-anim .pb-reveal__stage.is-open .pb-reveal__rise use { animation: pb-rise-up 1.1s cubic-bezier(.2, .8, .3, 1) both; }
html.inv-anim .pb-reveal__stage.is-open .pb-reveal__rise-2 { animation-delay: .12s !important; }
html.inv-anim .pb-reveal__stage.is-open .pb-reveal__rise-3 { animation-delay: .24s !important; }
html:not(.inv-anim) .pb-reveal__burst, html:not(.inv-anim) .pb-reveal__bit { animation: none !important; }

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

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

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

/* ---------- 10. intro scene "Balon Terbang" (scene.json + sections/_scene) ----------
   The intro is teleported to <body>: everything here stands on its own classes. */
.pb-scene-sky {
    position: absolute; inset: 0; background: var(--pb-party); opacity: .32;
    -webkit-mask: var(--pb-confetti) center / 90px 90px repeat; mask: var(--pb-confetti) center / 90px 90px repeat;
}
.pb-scene-bunting { position: absolute; inset: 0; }
.pb-scene-bunting .pb-bunting { width: 100%; height: 100%; }
.pb-scene-cluster { position: absolute; inset: 0; }
.pb-scene-cluster .pb-cluster { width: 100%; height: 100%; }
.pb-scene-float { position: absolute; inset: 0; container-type: size; display: flex; flex-direction: column; align-items: center; }
.pb-scene-float__bunch { display: block; width: min(92cqw, 36cqh * 200 / 130); height: auto; overflow: visible; filter: drop-shadow(0 6px 6px rgb(0 0 0 / .3)); flex: none; }
.pb-scene-float__frame { position: relative; width: min(74cqw, 62cqh * .76); aspect-ratio: .76; margin-top: -1px; padding: 6px; border-radius: 999px 999px 20px 20px; background: var(--pb-foil); filter: drop-shadow(0 18px 22px rgb(0 0 0 / .45)); }
.pb-scene-float__window {
    position: relative; width: 100%; height: 100%; overflow: hidden; display: grid; place-items: center; border-radius: 999px 999px 15px 15px; border: 5px solid var(--pb-paper);
    background: radial-gradient(80% 50% at 50% 30%, color-mix(in srgb, var(--pb-pink) 55%, transparent), transparent 70%), linear-gradient(170deg, color-mix(in srgb, var(--inv-primary) 80%, #fff), var(--inv-deep));
}
.pb-scene-float__initials { font-family: var(--pb-script); font-size: 13cqw; color: #fff; white-space: nowrap; }
.pb-scene-float__photo { position: absolute; inset: 0; background: center 25% / cover no-repeat; }
.pb-scene-float__bow { position: absolute; left: 50%; top: -5%; width: 36%; margin-left: -18%; overflow: visible; filter: drop-shadow(0 4px 4px rgb(0 0 0 / .3)); }
/* the name card: a scalloped cream party card in a double gold rule (round bumps along its top and bottom) */
body.pb-body .inv-intro--scene .inv-scene__card {
    top: 76%; aspect-ratio: auto; padding: 1.7rem 1.2rem 1.6rem; overflow: visible; border-radius: 22px;
    -webkit-mask: none; mask: none; -webkit-backdrop-filter: none; backdrop-filter: none;
    background: radial-gradient(90% 70% at 50% 0%, #fff, var(--pb-paper) 70%);
    box-shadow: inset 0 0 0 1px var(--pb-line), inset 0 0 0 5px var(--pb-paper), inset 0 0 0 6.2px var(--pb-line), 0 24px 40px -14px rgb(0 0 0 / .6);
}
body.pb-body .inv-intro--scene .inv-scene__card::before, body.pb-body .inv-intro--scene .inv-scene__card::after {
    content: ''; position: absolute; left: 14px; right: 14px; height: 9px; pointer-events: none;
    background: radial-gradient(circle at 50% 100%, #fffdf8 8.5px, transparent 9px) center bottom / 17px 9px repeat-x;
}
body.pb-body .inv-intro--scene .inv-scene__card::before { top: -8.5px; }
body.pb-body .inv-intro--scene .inv-scene__card::after { bottom: -8.5px; transform: scaleY(-1); background-image: radial-gradient(circle at 50% 100%, var(--pb-paper) 8.5px, transparent 9px); }
body.pb-body .inv-scene__card .inv-intro__label { font-family: var(--pb-sans); font-size: .62rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--inv-primary); }
body.pb-body .inv-scene__card .inv-intro__names { font-size: clamp(1.8rem, 8vw, 2.5rem); color: var(--pb-title); line-height: 1.1; overflow-wrap: anywhere; }
body.pb-body .inv-scene__card .inv-intro__rule { height: 2px; width: 3rem; background: var(--pb-foil); }
body.pb-body .inv-scene__card .inv-intro__date { font-family: var(--pb-sans); font-weight: 600; font-size: .9rem; color: var(--pb-muted); white-space: nowrap; }
