/*
 * Template "Monokrom Elegan Luxe" — monochrome luxe: black, greige & champagne. Mobile-first.
 * Colors from the chosen variant: --inv-primary (deep charcoal/black), --inv-accent (champagne gold),
 * --inv-background (warm greige paper), --inv-text. Fonts from the client's choice: --inv-font-display (names)
 * and --inv-font-heading (titles), set by <x-inv.head>; Jost for text.
 * Textures (img/CREDITS.md): satin.webp (grey black satin) and paper.webp (a neutral grey paper grain), used as
 * transparent light-and-shade versions (satin-screen.webp, satin-card.webp, paper-soft.webp) laid over the variant's
 * colors without blend modes (iOS Safari draws blended grey textures as plain grey), so both follow every variant.
 */

:root {
    --lux-display: var(--inv-font-display, 'Pinyon Script', cursive);
    --lux-heading: var(--inv-font-heading, 'Playfair Display', Georgia, serif);
    --lux-sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --lux-ink: var(--inv-primary);
    --lux-ink-deep: color-mix(in srgb, var(--inv-primary) 78%, #000);
    --lux-greige: var(--inv-background);
    --lux-ivory: color-mix(in srgb, var(--inv-background) 42%, #fff);
    --lux-taupe: color-mix(in srgb, var(--inv-background) 70%, var(--inv-primary));
    --lux-champ-hi: color-mix(in srgb, var(--inv-accent) 48%, #fff);
    --lux-champ-lo: color-mix(in srgb, var(--inv-accent) 60%, #000);
    --lux-champ-grad: linear-gradient(120deg, var(--lux-champ-hi), var(--inv-accent) 45%, var(--lux-champ-lo) 75%, var(--lux-champ-hi));
    /* champagne dark enough for text on greige / ivory (≥ 4.5:1) */
    --lux-gold-ink: color-mix(in srgb, var(--inv-accent) 46%, var(--inv-text));
    --lux-on-dark: color-mix(in srgb, var(--inv-background) 55%, #fff);
    --lux-on-dark-soft: color-mix(in srgb, var(--lux-on-dark) 80%, var(--inv-primary));
    --lux-muted: color-mix(in srgb, var(--inv-text) 80%, var(--inv-background));
    --lux-line: color-mix(in srgb, var(--inv-accent) 70%, transparent);
    --lux-column: 460px;
    --inv-radius: 4px;
}

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

html, body { background: var(--inv-primary); }
body {
    margin: 0;
    color: var(--inv-text);
    font-family: var(--lux-sans);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
p { margin: 0 0 .75rem; }

.lux-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

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

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

/* the couple's photo under a charcoal fall; without a photo a charcoal-to-taupe gradient */
.lux-photo {
    position: relative; isolation: isolate; color: var(--lux-on-dark);
    background-color: var(--inv-primary);
    background-image:
        linear-gradient(to bottom,
            color-mix(in srgb, var(--inv-primary) 72%, transparent),
            color-mix(in srgb, var(--inv-primary) 58%, transparent) 40%,
            color-mix(in srgb, var(--inv-primary) 92%, transparent)),
        var(--lux-photo, linear-gradient(160deg, color-mix(in srgb, var(--inv-primary) 70%, var(--inv-accent)), var(--inv-primary)));
    background-size: cover; background-position: center;
}

/* real black satin: grey folds lit onto the charcoal */
.lux-satin {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: url('../img/satin-screen.webp') center / cover no-repeat;
    opacity: .3;
}

.lux-display { font-family: var(--lux-display); font-weight: 400; line-height: 1.1; }
.lux-display span { font-size: .55em; color: var(--inv-accent); vertical-align: .18em; }

/* small letter-spaced label between two champagne hairlines */
.lux-label {
    display: flex; align-items: center; justify-content: center; gap: .7rem; margin: 0 0 .7rem;
    font-family: var(--lux-sans); font-weight: 500; font-size: .7rem; line-height: 1.4; letter-spacing: .3em; text-transform: uppercase;
    color: var(--lux-gold-ink);
}
.lux-label::before, .lux-label::after { content: ''; flex: 0 0 1.5rem; height: 1px; background: currentColor; opacity: .7; }

/* section heading: a big high-contrast serif with one italic champagne word */
.lux-heading { margin: 0 0 2.25rem; text-align: center; }
.lux-heading__title {
    margin: 0; font-family: var(--lux-heading); font-weight: 500; font-size: clamp(2.2rem, 9.6vw, 2.75rem);
    line-height: 1.08; letter-spacing: -.005em; color: var(--inv-primary);
}
.lux-heading__title em { font-style: italic; font-weight: 400; color: var(--lux-gold-ink); }
.lux-heading .lux-divider { margin-top: 1rem; }
/* flush left: the label keeps one hairline, a champagne rule runs down the left edge */
.lux-heading--left { position: relative; padding-left: 1.1rem; text-align: left; }
.lux-heading--left::before { content: ''; position: absolute; left: 0; top: .2rem; bottom: .3rem; width: 1px; background: linear-gradient(var(--lux-gold-ink), transparent); }
.lux-heading--left .lux-label { justify-content: flex-start; }
.lux-heading--left .lux-label::before { display: none; }

.lux-divider { display: block; margin: 1rem auto; color: var(--lux-gold-ink); transform-origin: center; }
.lux-lead { font-size: 1rem; }
.lux-muted { color: var(--lux-muted); font-size: .92rem; }

/* light surfaces: greige paper and ivory paper (the real grain as transparent light and shade, no blend mode) */
.lux-section { position: relative; isolation: isolate; overflow: hidden; padding: 4.75rem 1.5rem; text-align: center; }
.lux-light { background: var(--lux-greige); }
.lux-ivory { background: var(--lux-ivory); }
.lux-light::before, .lux-ivory::before {
    content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
    background: url('../img/paper-soft.webp') 0 0 / 320px; opacity: .7;
}

/* dark surfaces: charcoal with a soft champagne glow and satin */
.lux-dark {
    color: var(--lux-on-dark);
    background:
        radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--inv-accent) 14%, transparent), transparent 70%),
        linear-gradient(180deg, var(--inv-primary), var(--lux-ink-deep));
}
.lux-dark .lux-label { color: var(--inv-accent); }
.lux-dark .lux-heading__title { color: var(--lux-on-dark); }
.lux-dark .lux-heading__title em { color: var(--inv-accent); }
.lux-dark .lux-divider { color: var(--inv-accent); }

.lux-icon-link {
    display: inline-flex; align-items: center; gap: .4rem; margin-top: .35rem; padding: .3rem .75rem;
    border-radius: 999px; box-shadow: inset 0 0 0 1px var(--lux-line); color: var(--inv-primary);
    font-size: .74rem; text-decoration: none; transition: background-color .3s ease, color .3s ease;
}
.lux-icon-link svg { color: var(--lux-gold-ink); }
.lux-icon-link:hover { background: var(--inv-primary); color: var(--lux-on-dark); }

/* buttons of the shared components: black with champagne letters and a hairline */
.inv-button {
    padding: .8rem 1.5rem; border-radius: 2px;
    background: var(--inv-primary); color: var(--lux-champ-hi);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-accent) 45%, transparent);
    font-family: var(--lux-sans); font-weight: 500; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
    transition: transform .3s ease, box-shadow .3s ease;
}
.inv-button:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px var(--inv-accent), 0 10px 20px -8px rgb(0 0 0 / .45); }
.inv-button--outline { background: transparent; color: var(--inv-primary); box-shadow: inset 0 0 0 1px var(--inv-primary); }
.lux-button--champ, .lux-open {
    background: var(--lux-champ-grad); background-size: 200% 100%; color: var(--lux-ink-deep);
    box-shadow: 0 10px 24px -10px rgb(0 0 0 / .6), inset 0 0 0 1px color-mix(in srgb, #fff 30%, transparent);
    font-weight: 600;
}

/* ---------- photo panel (wide screens) ---------- */

.lux-aside { display: none; }

/* never let anything widen the page on phones */
.lux-page { overflow-x: clip; }

/* ---------- crest ---------- */

.lux-crest { position: relative; display: inline-block; width: 120px; aspect-ratio: 148 / 172; container-type: inline-size; }
.lux-crest__art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 6px 12px rgb(0 0 0 / .35)); }
.lux-crest__face { fill: var(--lux-ink-deep); }
.lux-crest__letters {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .02em;
    font-family: var(--lux-heading); font-weight: 500; font-size: 22cqi; line-height: 1; letter-spacing: .02em;
    background: var(--lux-champ-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lux-crest__letters em { margin: 0 .08em; font-family: var(--lux-display); font-style: normal; font-size: .62em; }

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

.lux-cover {
    position: fixed; inset: 0; z-index: 30; isolation: isolate; overflow-y: auto;
    display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem;
    min-height: 100svh; padding: max(1.25rem, 3.5svh) 1.5rem max(2.25rem, 5.5svh); text-align: center;
    color: var(--lux-on-dark); background: var(--inv-primary);
    transition: transform 1s cubic-bezier(.7, 0, .3, 1), opacity 1s ease;
}
.lux-cover--leave { transition: transform 1s cubic-bezier(.7, 0, .3, 1), opacity 1s ease; }
.lux-cover--gone { transform: translateY(-100%); opacity: 0; }
.lux-cover__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.lux-cover__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
/* a dark veil at the top for the crest, the charcoal fall at the foot for the text */
.lux-cover__bg::after {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(to bottom, color-mix(in srgb, var(--inv-primary) 62%, transparent), transparent 24%),
        linear-gradient(to bottom, transparent 34%, color-mix(in srgb, var(--inv-primary) 78%, transparent) 58%, var(--inv-primary) 84%);
}
.lux-cover:not(.lux-cover--photo) .lux-cover__bg {
    background:
        radial-gradient(90% 55% at 50% 30%, color-mix(in srgb, var(--inv-accent) 24%, transparent), transparent 70%),
        linear-gradient(180deg, color-mix(in srgb, var(--inv-primary) 80%, var(--inv-accent)), var(--inv-primary) 60%);
}
.lux-cover__bg .lux-satin { z-index: 1; opacity: .22; -webkit-mask-image: linear-gradient(transparent 45%, #000 80%); mask-image: linear-gradient(transparent 45%, #000 80%); }
.lux-cover:not(.lux-cover--photo) .lux-cover__bg .lux-satin { opacity: .3; -webkit-mask-image: none; mask-image: none; }
.lux-cover__crest { width: min(21vw, 84px); }
.lux-cover__inner { width: 100%; max-width: 400px; }
.lux-cover .lux-label { color: var(--lux-champ-hi); }
.lux-cover__names { margin: 0 0 .5rem; font-size: clamp(2.5rem, 11.5vw, 3.1rem); color: var(--lux-on-dark); text-shadow: 0 2px 18px rgb(0 0 0 / .45); }
.lux-cover__date {
    display: flex; align-items: center; justify-content: center; gap: .7rem; margin: 0 0 .8rem;
    font-weight: 500; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--lux-on-dark);
}
.lux-cover__date::before, .lux-cover__date::after { content: ''; flex: 0 0 1.4rem; height: 1px; background: var(--inv-accent); }
.lux-cover__guest {
    max-width: 18rem; margin: 0 auto 1rem; padding: .5rem .5rem .55rem;
    border-block: 1px solid color-mix(in srgb, var(--inv-accent) 50%, transparent);
}
.lux-cover__guest p { margin: 0 0 .1rem; font-size: .7rem; letter-spacing: .04em; color: var(--lux-on-dark-soft); }
.lux-cover__guest-name { display: block; font-family: var(--lux-heading); font-weight: 500; font-size: 1.15rem; line-height: 1.3; color: var(--lux-on-dark); }
.lux-open { padding: .75rem 1.5rem; border-radius: 2px; letter-spacing: .18em; text-transform: uppercase; font-size: .74rem; }

/* the one opening moment: the photo fades in with a slight zoom out */
html.inv-anim .lux-cover--photo .lux-cover__bg img { animation: lux-photo-in 2s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes lux-photo-in { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }

/* ---------- intro: black satin, photo strip, crest ---------- */

.lux-intro { position: relative; isolation: isolate; overflow: hidden; padding: 3rem 0 3.5rem; text-align: center; }
.lux-intro .lux-satin { opacity: .4; }
.lux-strip { overflow: hidden; margin-bottom: 2.4rem; -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.lux-strip__track { display: flex; gap: .7rem; width: max-content; padding: 4px 0; animation: lux-strip 42s linear infinite; }
.lux-strip__track img {
    width: 122px; height: 164px; object-fit: cover; border-radius: 60px 60px 2px 2px;
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--inv-accent) 55%, transparent), 0 14px 24px -12px rgb(0 0 0 / .8);
}
@keyframes lux-strip { to { transform: translateX(-50%); } }
.lux-intro__photo { height: 220px; margin: 0 1.75rem 2.4rem; border-radius: 110px 110px 2px 2px; }
.lux-intro__crest .lux-crest { width: 150px; }
.lux-intro__names { margin: 1.1rem 0 .4rem; padding: 0 1rem; font-size: clamp(2.4rem, 11vw, 3rem); color: var(--lux-on-dark); }
.lux-intro__date { margin: 0; font-weight: 500; font-size: .78rem; letter-spacing: .42em; color: var(--inv-accent); }

/* ---------- opening (greige, faint photo) ---------- */

.lux-veilphoto {
    position: absolute; inset: 0; z-index: -1; overflow: hidden;
    background: linear-gradient(180deg, var(--lux-greige), color-mix(in srgb, var(--lux-greige) 78%, var(--lux-taupe)));
}
.lux-veilphoto img { width: 100%; height: calc(100% + 40px); object-fit: cover; object-position: center 30%; opacity: .5; filter: saturate(.55) sepia(.12); }
.lux-veilphoto::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--lux-greige) 90%, transparent),
        color-mix(in srgb, var(--lux-greige) 70%, transparent) 38%,
        color-mix(in srgb, var(--lux-greige) 80%, transparent) 70%,
        var(--lux-greige));
}
.lux-arabic { margin-bottom: 1.1rem; font-family: 'Amiri', 'Traditional Arabic', serif; font-size: 1.85rem; line-height: 1.6; color: var(--inv-primary); }
.lux-opening__greeting { margin: 0; font-family: var(--lux-heading); font-style: italic; font-size: 1.3rem; line-height: 1.4; color: var(--inv-primary); }
.lux-opening .lux-lead { color: var(--inv-text); }

/* the quote on a charcoal satin block, a champagne hairline frame shifted off it */
.lux-quote {
    position: relative; isolation: isolate; margin: 2.9rem .5rem 0; padding: 2.6rem 1.5rem 1.9rem;
    background: linear-gradient(160deg, var(--inv-primary), var(--lux-ink-deep)); color: var(--lux-on-dark);
    box-shadow: 0 28px 44px -26px rgb(0 0 0 / .65);
}
.lux-quote::after { content: ''; position: absolute; inset: -10px 10px 10px -10px; border: 1px solid var(--lux-gold-ink); pointer-events: none; }
.lux-quote .lux-satin { opacity: .4; }
.lux-quote__mark {
    position: absolute; top: .2rem; left: 50%; transform: translateX(-50%);
    font-family: var(--lux-heading); font-size: 4rem; line-height: 1; color: var(--inv-accent);
}
.lux-quote blockquote { margin: 0; font-family: var(--lux-heading); font-style: italic; font-size: 1.02rem; line-height: 1.8; }
.lux-quote figcaption { margin-top: 1rem; font-size: .7rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--inv-accent); }

/* ---------- couple: editorial, arched photos on offset blocks ---------- */

.lux-person { display: grid; grid-template-columns: 47% minmax(0, 1fr); gap: 1.4rem; align-items: center; text-align: left; }
.lux-person--bride { grid-template-columns: minmax(0, 1fr) 47%; text-align: right; }
.lux-person--bride .lux-person__frame { order: 2; }
.lux-person__frame { position: relative; margin: 0; aspect-ratio: 3 / 4.3; }
.lux-person__block {
    position: absolute; inset: 16% -12% -7% 22%; overflow: hidden; isolation: isolate;
    background: linear-gradient(160deg, var(--inv-primary), var(--lux-ink-deep));
}
.lux-person--bride .lux-person__block { inset: 16% 22% -7% -12%; }
.lux-person__block .lux-satin { opacity: .45; }
.lux-person__photo {
    position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 2px 2px;
    box-shadow: 0 20px 34px -18px rgb(0 0 0 / .6);
}
.lux-person__photo--empty {
    display: grid; place-items: center;
    background: radial-gradient(80% 60% at 50% 30%, color-mix(in srgb, var(--inv-accent) 35%, var(--lux-taupe)), var(--inv-primary));
    font-family: var(--lux-heading); font-size: 4.2rem; color: var(--lux-champ-hi);
}
.lux-person__line {
    position: absolute; z-index: 2; inset: -9px 9px 9px -9px; pointer-events: none;
    border: 1px solid var(--lux-gold-ink); border-radius: 999px 999px 2px 2px;
}
.lux-person--bride .lux-person__line { inset: -9px -9px 9px 9px; }
.lux-person__text .lux-label { justify-content: flex-start; margin-bottom: .35rem; font-size: .62rem; letter-spacing: .22em; white-space: nowrap; }
.lux-person__text .lux-label::before, .lux-person__text .lux-label::after { display: none; }
.lux-person--bride .lux-person__text .lux-label { justify-content: flex-end; }
.lux-person__nickname { margin: 0 0 .45rem; font-size: clamp(2.3rem, 10.5vw, 2.9rem); line-height: 1; color: var(--inv-primary); overflow-wrap: anywhere; }
.lux-person__name { margin: 0 0 .55rem; font-family: var(--lux-heading); font-weight: 600; font-size: 1.05rem; line-height: 1.3; color: var(--inv-primary); overflow-wrap: anywhere; }
.lux-person__parents { margin: 0 0 .3rem; font-size: .82rem; line-height: 1.55; color: var(--lux-muted); }
.lux-person__parents strong { font-weight: 500; color: var(--inv-text); }
.lux-couple__amp {
    display: grid; place-items: center; width: 4.2rem; height: 4.2rem; margin: 2.8rem auto 2.6rem; border-radius: 50%;
    background: var(--inv-primary);
    box-shadow: 0 0 0 1px var(--inv-accent), 0 0 0 6px var(--lux-ivory), 0 0 0 7px color-mix(in srgb, var(--inv-accent) 55%, transparent), 0 14px 26px -10px rgb(0 0 0 / .5);
}
.lux-couple__amp span { font-size: 3.2rem; line-height: 1; color: var(--inv-accent); vertical-align: 0; transform: translateY(.08em); }

/* ---------- countdown (photo band) ---------- */

.lux-band { color: var(--lux-on-dark); }
/* the band photo is its own layer (taller than the band), so it can drift with data-parallax */
.lux-band__photo { position: absolute; inset: -48px 0; z-index: -1; --inv-parallax: 36px; }
.lux-countdown { padding-top: 5rem; padding-bottom: 5rem; }
.lux-countdown .lux-heading { margin-bottom: 1.9rem; text-shadow: 0 2px 16px rgb(0 0 0 / .5); }
.lux-band .lux-label { color: var(--lux-champ-hi); text-shadow: 0 1px 10px rgb(0 0 0 / .7); }
.lux-cal.inv-cal {
    --inv-cal-bg: var(--lux-ivory);
    --inv-cal-text: var(--inv-text);
    --inv-cal-mark: var(--lux-gold-ink);
    position: relative; max-width: 330px; margin: 0 auto 1.75rem; padding: 1.5rem 1.3rem 1.1rem; border-radius: 2px;
    box-shadow: 0 26px 44px -18px rgb(0 0 0 / .7);
    text-align: center;
}
/* a champagne hairline frame inside the card */
.lux-cal.inv-cal::before { content: ''; position: absolute; inset: 7px; border: 1px solid var(--lux-line); pointer-events: none; }
.lux-cal .inv-cal__month { font-size: 2.1rem; color: var(--inv-primary); }
.lux-cal .inv-cal__year { font-family: var(--lux-heading); letter-spacing: .2em; color: var(--lux-gold-ink); }
.lux-cal .inv-cal__dow { font-family: var(--lux-sans); font-weight: 500; }
.lux-cal .inv-cal__day { font-family: var(--lux-heading); font-size: 1rem; }
.lux-cal .inv-cal__note { font-family: var(--lux-heading); font-size: .95rem; color: var(--inv-primary); }
.lux-countdown .inv-countdown { gap: .55rem; }
.lux-countdown .inv-countdown__item {
    flex: 1; max-width: 4.7rem; padding: .75rem 0 .6rem; border-radius: 2px;
    background: linear-gradient(170deg, color-mix(in srgb, var(--inv-primary) 88%, #fff), var(--lux-ink-deep));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-accent) 50%, transparent), 0 14px 24px -14px rgb(0 0 0 / .9);
}
.lux-countdown .inv-countdown__value {
    font-family: var(--lux-heading); font-weight: 500; font-size: 1.8rem; line-height: 1.1;
    background: var(--lux-champ-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lux-countdown .inv-countdown__label { margin-top: .3rem; font-size: .58rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--lux-on-dark); }
.lux-countdown .inv-countdown__actions { margin-top: 1.75rem; }
.lux-countdown .inv-button--outline { color: var(--lux-on-dark); background: color-mix(in srgb, var(--inv-primary) 55%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-accent) 65%, transparent); }

/* ---------- events: photo under charcoal melting into greige, ivory cards ---------- */

.lux-events { padding-top: 4.5rem; }
.lux-events__band {
    position: absolute; inset: 0 0 auto; height: 540px; z-index: -1; overflow: hidden;
    background:
        radial-gradient(70% 40% at 50% 22%, color-mix(in srgb, var(--inv-accent) 26%, transparent), transparent 70%),
        linear-gradient(180deg, var(--inv-primary) 0%, var(--inv-primary) 38%, color-mix(in srgb, var(--inv-primary) 55%, var(--lux-greige)) 70%, var(--lux-greige) 100%);
}
/* black satin in the dark part, fading out where the greige begins */
.lux-events__band::before {
    content: ''; position: absolute; inset: 0; background: url('../img/satin-screen.webp') center top / cover no-repeat; opacity: .28;
    -webkit-mask-image: linear-gradient(#000 30%, transparent 70%); mask-image: linear-gradient(#000 30%, transparent 70%);
}
/* thin champagne arches rising behind the heading, like the crest's frame */
.lux-events__band::after {
    content: ''; position: absolute; left: 50%; top: 2.2rem; width: 19rem; height: 19rem; translate: -50% 0; border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--inv-accent) 40%, transparent);
    box-shadow: 0 0 0 10px transparent, 0 0 0 11px color-mix(in srgb, var(--inv-accent) 18%, transparent);
    -webkit-mask-image: linear-gradient(#000 30%, transparent 62%); mask-image: linear-gradient(#000 30%, transparent 62%);
}
.lux-events .lux-heading { text-shadow: 0 2px 16px rgb(0 0 0 / .45); }
.lux-events .lux-label { color: var(--inv-accent); }
.lux-events .lux-heading__title { color: var(--lux-on-dark); }
.lux-events .lux-heading__title em { color: var(--inv-accent); }
.lux-events .lux-heading .lux-divider { color: var(--inv-accent); }

.lux-event { text-align: center; background: var(--lux-ivory); box-shadow: 0 30px 50px -30px rgb(0 0 0 / .55); }
.lux-event + .lux-event { margin-top: 2.5rem; }
.lux-event__photo { width: 100%; aspect-ratio: 4 / 3.5; object-fit: cover; border-radius: 140px 0 0 0; }
.lux-event--flip .lux-event__photo { border-radius: 0 140px 0 0; }
.lux-event__body { display: grid; grid-template-columns: minmax(0, 1fr) 3.4rem; }
.lux-event--flip .lux-event__body { grid-template-columns: 3.4rem minmax(0, 1fr); }
.lux-event--flip .lux-event__name { order: -1; }
.lux-event__info { padding: 1.7rem 1.1rem 1.6rem; }
.lux-event__name {
    position: relative; isolation: isolate; overflow: hidden; margin: 0; padding: 1.5rem 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, var(--inv-primary), var(--lux-ink-deep));
}
.lux-event__name > span:last-child {
    writing-mode: vertical-rl; font-family: var(--lux-heading); font-weight: 500; font-size: 1.15rem; letter-spacing: .3em; text-transform: uppercase;
    color: var(--lux-champ-hi);
}
.lux-event__name .lux-satin { opacity: .45; }
.lux-event__date { margin-bottom: .55rem; font-family: var(--lux-heading); font-weight: 600; font-size: 1.15rem; line-height: 1.35; color: var(--inv-primary); }
.lux-event__time {
    display: inline-block; margin: 0; padding: .35rem .95rem; border-radius: 999px;
    background: var(--inv-primary); color: var(--lux-champ-hi); font-weight: 500; font-size: .8rem; letter-spacing: .04em;
}
.lux-event__pin { display: block; margin: 1.2rem auto .45rem; }
.lux-event__venue { margin-bottom: .2rem; font-weight: 600; color: var(--inv-text); }
.lux-event__address, .lux-event__dress { font-size: .86rem; color: var(--lux-muted); }
.lux-event .inv-maps { margin-top: 1rem; }

/* ---------- love story (ivory): zig-zag timeline ---------- */

.lux-chapters { position: relative; margin: 0; padding: .4rem 0; list-style: none; }
.lux-chapters::before {
    content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%);
    background: linear-gradient(180deg, transparent, var(--lux-gold-ink) 6%, var(--lux-gold-ink) 94%, transparent);
}
.lux-chapter {
    position: relative; display: grid; align-items: start;
    grid-template-columns: minmax(0, 1fr) 2.1rem minmax(0, 1fr); grid-template-areas: "text dot meta";
    column-gap: .6rem;
}
.lux-chapter--flip { grid-template-areas: "meta dot text"; }
.lux-chapter + .lux-chapter { margin-top: 2.5rem; }
.lux-chapter__number {
    grid-area: dot; position: relative; z-index: 1; display: grid; place-items: center;
    width: 2.1rem; height: 2.1rem; border-radius: 50%;
    background: var(--inv-primary); color: var(--inv-accent);
    box-shadow: 0 0 0 3px var(--lux-ivory), 0 0 0 4px var(--lux-line);
    font-family: var(--lux-heading); font-size: .74rem; line-height: 1; letter-spacing: .04em;
}
.lux-chapter__text { grid-area: text; min-width: 0; text-align: right; }
.lux-chapter--flip .lux-chapter__text { text-align: left; }
.lux-chapter__title {
    margin: .2rem 0 0; font-family: var(--lux-heading); font-weight: 600; font-size: 1.12rem; line-height: 1.25;
    color: var(--inv-primary); overflow-wrap: anywhere;
}
.lux-chapter__rule { display: block; width: 70%; height: 0; margin: .45rem 0 .5rem auto; border-top: 1px dotted var(--lux-gold-ink); }
.lux-chapter--flip .lux-chapter__rule { margin-inline: 0 auto; }
.lux-chapter__story { margin: 0; font-size: .86rem; line-height: 1.55; color: var(--lux-muted); overflow-wrap: anywhere; }
.lux-chapter__meta { grid-area: meta; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; text-align: left; }
.lux-chapter--flip .lux-chapter__meta { align-items: flex-end; text-align: right; }
.lux-chapter__date {
    margin: 0; padding-top: .15rem; font-family: var(--lux-heading); font-style: italic; font-size: 1.3rem; line-height: 1.15;
    color: var(--lux-gold-ink); overflow-wrap: anywhere;
}
.lux-chapter__photo {
    width: min(5.6rem, 100%); aspect-ratio: 1; object-fit: cover; padding: 3px; border-radius: 50%;
    background: var(--lux-ivory); box-shadow: 0 0 0 1px var(--inv-accent), 0 12px 22px -10px rgb(0 0 0 / .5);
}
.lux-chapter__ornament { display: block; width: 8px; height: 8px; margin: .7rem .4rem 0; background: var(--inv-accent); transform: rotate(45deg); }

/* ---------- gallery (black satin) ---------- */

.lux-gallery .lux-satin { opacity: .17; }
.lux-gallery .inv-gallery-slider { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.lux-gallery .inv-gallery-slider__thumb { width: 3.6rem; aspect-ratio: 3 / 4; border-radius: 2px; border: 1px solid color-mix(in srgb, var(--inv-accent) 30%, transparent); opacity: .75; }
.lux-gallery .inv-gallery-slider__thumb.is-active { opacity: 1; border-color: var(--inv-accent); box-shadow: 0 0 0 2px var(--inv-primary), 0 0 0 3px var(--inv-accent); }
.lux-gallery .inv-gallery-slider__arrow { border-radius: 2px; background: var(--lux-champ-grad); color: var(--lux-ink-deep); }
.lux-gallery .inv-gallery-slider__stage {
    border-radius: 140px 0 0 0; box-shadow: 0 30px 50px -24px rgb(0 0 0 / .9);
    outline: 1px solid color-mix(in srgb, var(--inv-accent) 70%, transparent); outline-offset: 7px;
}
.lux-gallery .inv-gallery-slider__count { border-radius: 2px; background: color-mix(in srgb, var(--inv-primary) 85%, transparent); color: var(--lux-champ-hi); font-family: var(--lux-sans); letter-spacing: .2em; }

/* ---------- live streaming (greige): flush-left heading, black satin card ---------- */

.lux-stream { text-align: left; }
.lux-stream__card {
    position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 3.6rem minmax(0, 1fr); gap: 1.1rem; align-items: start;
    padding: 1.6rem 1.3rem; color: var(--lux-on-dark);
    background: linear-gradient(150deg, var(--inv-primary), var(--lux-ink-deep));
    box-shadow: 0 26px 44px -26px rgb(0 0 0 / .7), inset 0 0 0 1px color-mix(in srgb, var(--inv-accent) 35%, transparent);
}
.lux-stream__card .lux-satin { opacity: .4; }
.lux-stream__play svg { width: 3.6rem; height: 3.6rem; }
.lux-stream__text p { margin-bottom: .6rem; }
.lux-stream__note { font-size: .86rem; color: var(--lux-on-dark-soft); }
.lux-stream__text .inv-button { margin-top: .4rem; }

/* ---------- gift (ivory): black satin bank cards ---------- */

.lux-gift .inv-gift { margin-top: 1.75rem; }
.lux-gift .inv-gift__accounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.lux-gift .inv-gift__account:last-child:nth-child(odd) { grid-column: 1 / -1; }
.lux-gift .inv-gift__accounts .inv-gift__account {
    position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .1rem;
    min-width: 0; margin: 0; padding: .85rem; text-align: left; overflow: hidden;
    border-radius: 10px; color: var(--lux-on-dark);
    background:
        radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--inv-accent) 26%, transparent), transparent 60%),
        url('../img/satin-card.webp') center / cover,
        linear-gradient(135deg, color-mix(in srgb, var(--inv-primary) 85%, #fff), var(--inv-primary) 55%, var(--lux-ink-deep));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-accent) 50%, transparent), 0 14px 26px -12px rgb(0 0 0 / .55);
}
/* the chip */
.lux-gift .inv-gift__accounts .inv-gift__account::before {
    content: ''; width: 1.7rem; height: 1.25rem; border-radius: 4px;
    background: var(--lux-champ-grad);
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / .18);
}
.lux-gift .inv-gift__account p { margin: 0; }
.lux-gift .inv-gift__accounts .inv-gift__bank {
    position: absolute; top: .85rem; right: .85rem; max-width: calc(100% - 3.4rem);
    font-family: var(--lux-heading); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; text-align: right; overflow-wrap: anywhere;
    color: var(--lux-champ-hi);
}
.lux-gift .inv-gift__accounts .inv-gift__logo { height: 1.5rem; padding: .2rem .4rem; border-radius: .35rem; }
.lux-gift .inv-gift__accounts .inv-gift__logo img { max-width: 4rem; }
.lux-gift .inv-gift__number {
    margin-top: .8rem !important; font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
    font-weight: 500; font-size: 1rem; line-height: 1.3; letter-spacing: .04em; overflow-wrap: anywhere;
}
.lux-gift .inv-gift__holder { font-size: .62rem; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; color: var(--lux-on-dark-soft); overflow-wrap: anywhere; }
.lux-gift .inv-gift__accounts .inv-button--outline {
    margin-top: .55rem; padding: .35rem .7rem; font-size: .65rem; letter-spacing: .08em;
    color: var(--lux-champ-hi); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-accent) 60%, transparent);
}
.lux-gift .inv-gift__address { margin-top: 1rem; padding: 1.5rem 1.25rem; border: 1px solid var(--lux-line); border-radius: 2px; background: var(--lux-greige); }
.lux-gift .inv-gift__address .inv-gift__bank { font-size: .72rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--lux-gold-ink); }
.lux-gift .inv-gift__address .inv-gift__holder { text-transform: none; font-size: .86rem; color: var(--lux-muted); }
.lux-gift .inv-gift__address .inv-button { margin-top: .75rem; }

/* ---------- rsvp (dark, photo) + wishes (greige) ---------- */

.lux-bgphoto { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.lux-bgphoto img { width: 100%; height: calc(100% + 40px); object-fit: cover; object-position: center 35%; }
.lux-bgphoto::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--inv-primary) 78%, transparent),
        color-mix(in srgb, var(--inv-primary) 68%, transparent) 40%,
        color-mix(in srgb, var(--inv-primary) 92%, transparent));
}
.lux-rsvp .lux-heading { text-shadow: 0 2px 16px rgb(0 0 0 / .45); }
.lux-rsvp__lead { color: var(--lux-on-dark-soft); }
.lux-panel {
    position: relative; padding: 1.6rem 1.3rem; border-radius: 2px; text-align: left; color: var(--inv-text);
    background: var(--lux-ivory); border: 1px solid var(--lux-line);
}
.lux-panel--framed { margin: 1.4rem 8px 0; border: 0; box-shadow: 0 30px 50px -24px rgb(0 0 0 / .7); outline: 1px solid color-mix(in srgb, var(--inv-accent) 75%, transparent); outline-offset: 7px; }
.lux-panel .inv-form input:not([type=radio]):not([type=checkbox]),
.lux-panel .inv-form select,
.lux-panel .inv-form textarea {
    border: 0; border-bottom: 1px solid color-mix(in srgb, var(--inv-text) 30%, transparent); border-radius: 0;
    background: transparent; padding-inline: 0;
}
.lux-panel .inv-form input:focus, .lux-panel .inv-form select:focus, .lux-panel .inv-form textarea:focus { outline: none; border-bottom-color: var(--inv-primary); }
.lux-panel .inv-form input[type=radio], .lux-panel .inv-form input[type=checkbox] { accent-color: var(--inv-primary); }
.lux-panel .inv-form .inv-button { justify-self: stretch; margin-top: .5rem; }
.lux-wishes__lead { text-align: left; }
.lux-panel .inv-wishes { --inv-wishes-height: 20rem; }
.lux-panel .inv-wishes__list { scrollbar-color: var(--lux-line) transparent; }
.lux-panel .inv-wish { padding: .65rem .85rem; background: color-mix(in srgb, var(--lux-greige) 55%, #fff); border-left: 2px solid var(--inv-accent); border-radius: 0 6px 6px 0; }
.lux-panel .inv-wish__name { font-family: var(--lux-heading); font-weight: 600; font-size: .95rem; color: var(--inv-primary); }
.lux-panel .inv-wish__message { font-size: .88rem; line-height: 1.45; }
.lux-panel .inv-wish__time { font-size: .7rem; color: var(--lux-muted); }

/* ---------- closing: full photo melting into charcoal ---------- */

.lux-closing { display: flex; align-items: flex-end; justify-content: center; padding-top: min(42svh, 330px); padding-bottom: 3.25rem; }
.lux-closing .lux-satin { opacity: .12; -webkit-mask-image: linear-gradient(transparent 42%, #000 90%); mask-image: linear-gradient(transparent 42%, #000 90%); }
.lux-closing__photo { position: absolute; inset: 0 0 auto; height: min(70%, 520px); z-index: -1; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent 100%); mask-image: linear-gradient(#000 55%, transparent 100%); }
.lux-closing__photo img { width: 100%; height: calc(100% + 40px); object-fit: cover; object-position: center 22%; }
.lux-closing__photo::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, color-mix(in srgb, var(--inv-primary) 30%, transparent), transparent 22%, color-mix(in srgb, var(--inv-primary) 45%, transparent) 55%, color-mix(in srgb, var(--inv-primary) 80%, transparent) 80%, var(--inv-primary));
}
.lux-closing:not(.lux-closing--photo) {
    background:
        radial-gradient(90% 45% at 50% 30%, color-mix(in srgb, var(--inv-accent) 22%, transparent), transparent 70%),
        linear-gradient(180deg, color-mix(in srgb, var(--inv-primary) 85%, var(--inv-accent)), var(--lux-ink-deep));
}
.lux-closing:not(.lux-closing--photo)::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, transparent 25%, color-mix(in srgb, var(--inv-primary) 85%, transparent) 62%, var(--lux-ink-deep)); }
.lux-closing__inner { position: relative; max-width: 360px; }
.lux-closing__crest { width: 70px; margin-bottom: .55rem; }
.lux-closing .lux-label { color: var(--inv-accent); }
.lux-closing__title { margin: 0 0 .7rem; font-family: var(--lux-heading); font-weight: 500; font-size: clamp(1.9rem, 8.5vw, 2.4rem); line-height: 1.05; color: var(--lux-on-dark); text-shadow: 0 2px 18px rgb(0 0 0 / .5); }
.lux-closing__title em { font-style: italic; font-weight: 400; color: var(--inv-accent); }
.lux-closing__message { font-size: .92rem; line-height: 1.6; color: var(--lux-on-dark-soft); }
.lux-closing .lux-divider { color: var(--inv-accent); }
.lux-closing__signature { margin: 0 0 .3rem; font-size: .72rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--lux-on-dark-soft); }
.lux-closing__names { margin: 0; font-size: clamp(2.1rem, 9.5vw, 2.6rem); color: var(--lux-champ-hi); }

/* ---------- shared components outside the sections ---------- */

.lux-branding { margin: 0; background: var(--inv-primary); color: var(--lux-on-dark-soft); opacity: 1; }
body .lux-nav {
    --inv-nav-bg: color-mix(in srgb, var(--inv-primary) 90%, transparent);
    --inv-nav-text: var(--lux-on-dark-soft);
    --inv-nav-active: var(--lux-champ-grad);
    border-color: color-mix(in srgb, var(--inv-accent) 40%, transparent);
}
body .lux-nav .inv-nav__item.is-active { color: var(--lux-ink-deep); }
.inv-music__button { background: var(--inv-primary); color: var(--inv-accent); box-shadow: 0 0 0 1px var(--lux-line), 0 6px 16px rgb(0 0 0 / .3); }
.inv-to-top { background: var(--inv-primary); color: var(--inv-accent); box-shadow: 0 0 0 1px var(--lux-line), 0 6px 16px rgb(0 0 0 / .3); }

/* ---------- wide screens: photo panel left, invitation right ---------- */

@media (min-width: 1024px) {
    .lux-aside {
        position: fixed; inset: 0 var(--lux-column) 0 0; z-index: 0;
        display: flex; align-items: flex-end; padding: 4.5rem 5rem;
        background-position: center 30%;
        background-image:
            linear-gradient(to top, color-mix(in srgb, var(--inv-primary) 94%, transparent), color-mix(in srgb, var(--inv-primary) 45%, transparent) 50%, color-mix(in srgb, var(--inv-primary) 12%, transparent)),
            linear-gradient(to right, color-mix(in srgb, var(--inv-primary) 55%, transparent), transparent 65%),
            var(--lux-photo, linear-gradient(160deg, color-mix(in srgb, var(--inv-primary) 70%, var(--inv-accent)), var(--inv-primary)));
    }
    .lux-aside__inner { max-width: 620px; text-align: left; }
    .lux-aside__crest { width: 112px; margin-bottom: 1rem; }
    .lux-aside .lux-label { justify-content: flex-start; color: var(--inv-accent); }
    .lux-aside .lux-label::before { display: none; }
    .lux-aside__names { margin: 0 0 1.75rem; font-size: 6rem; }
    .lux-aside__quote { max-width: 520px; margin-bottom: 2.25rem; font-family: var(--lux-heading); font-style: italic; font-size: 1rem; line-height: 1.7; color: var(--lux-on-dark-soft); }
    .lux-aside__guest p { margin: 0 0 .35rem; font-size: .85rem; color: var(--lux-on-dark-soft); }
    .lux-aside__guest-name { display: block; font-family: var(--lux-heading); font-size: 1.75rem; }

    .lux-page {
        position: relative; z-index: 1; width: var(--lux-column); margin-left: auto;
        min-height: 100vh; background: var(--inv-background);
        box-shadow: -20px 0 44px rgb(0 0 0 / .3);
    }
    /* the cover only covers the invitation column; the panel shows names and guest */
    .lux-cover { left: auto; width: var(--lux-column); }
    .lux-cover__guest { display: none; }
    body .lux-nav { left: calc(100% - var(--lux-column) / 2); }
}

/* ---------- short screens: the cover keeps everything above the fold ---------- */

@media (max-height: 760px) {
    .lux-cover__crest { width: min(19vw, 74px); }
    .lux-cover__names { font-size: clamp(2.3rem, 10.5vw, 2.8rem); }
    .lux-cover__guest { margin-bottom: .85rem; padding-block: .45rem; }
}
@media (max-height: 660px) {
    .lux-cover { gap: .6rem; padding-top: 1rem; padding-bottom: 2.1rem; }
    .lux-cover__crest { width: min(17vw, 64px); }
    .lux-cover__names { margin-bottom: .4rem; font-size: clamp(2.1rem, 9.6vw, 2.5rem); }
    .lux-cover__date { margin-bottom: .65rem; }
    .lux-cover__guest { margin-bottom: .75rem; }
    .lux-cover__guest-name { font-size: 1.05rem; }
}
@media (max-height: 580px) {
    .lux-cover__crest { width: 56px; }
    .lux-cover__names { font-size: 2.05rem; }
    .lux-cover .lux-label { margin-bottom: .4rem; }
    .lux-open { padding: .7rem 1.4rem; }
}

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

@media (prefers-reduced-motion: reduce) {
    .lux-cover, .lux-cover--leave { transition: none; }
    .lux-cover__bg img { animation: none !important; }
    .lux-strip__track { animation: none; }
    .inv-button, .lux-icon-link { transition: none; }
}

/* ---------- intro scene "Lengkung Satin" (scene.json + sections/_scene; the intro lives in <body>, outside the page) ---------- */
.inv-scene__art > .lux-scene-crest, .inv-scene__art > .lux-scene-divider, .inv-scene__art > .lux-scene-branch { height: auto; }
.lux-scene-satin { height: 100%; background: url('../img/satin-screen.webp') center / cover no-repeat; opacity: .42; }
.inv-scene__layer:has(> .inv-scene__art > .lux-scene-sheen) { mix-blend-mode: screen; }
.lux-scene-sheen { height: 100%; background: linear-gradient(105deg, transparent 35%, color-mix(in srgb, var(--inv-accent) 30%, transparent) 50%, transparent 65%); }
/* the satin curtain halves that part on the couple: satin with deep vertical folds, a champagne hem on the inner edge */
.lux-scene-curtain { position: relative; height: 100%; overflow: hidden; background: var(--lux-ink-deep); box-shadow: 0 0 40px rgb(0 0 0 / .6); }
.lux-scene-curtain::before { content: ''; position: absolute; inset: 0; background: url('../img/satin-screen.webp') center / cover; opacity: .55; }
.lux-scene-curtain::after {
    content: ''; position: absolute; inset: 0;
    background: repeating-linear-gradient(90deg, rgb(0 0 0 / .4) 0, rgb(255 255 255 / .07) 9%, rgb(0 0 0 / .35) 18%);
}
.lux-scene-curtain span { position: absolute; z-index: 1; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--lux-champ-hi), var(--inv-accent), var(--lux-champ-hi)); box-shadow: 0 0 10px color-mix(in srgb, var(--inv-accent) 60%, transparent); }
.lux-scene-curtain--left span { right: 0; }
.lux-scene-curtain--right span { left: 0; }
/* the couple's cover photo in a greige paper arch */
.lux-scene-portrait {
    position: relative; height: 100%; overflow: hidden; border-radius: 999px 999px 3px 3px; padding: 8px;
    background: radial-gradient(80% 50% at 50% 45%, var(--lux-ivory), var(--lux-greige) 75%);
    box-shadow: 0 34px 60px -24px rgb(0 0 0 / .8), 0 0 0 1px color-mix(in srgb, var(--inv-accent) 45%, transparent);
}
.lux-scene-portrait::after { content: ''; position: absolute; inset: 8px; border-radius: 999px 999px 2px 2px; box-shadow: inset 0 14px 22px -12px rgb(0 0 0 / .55); }
.lux-scene-portrait__photo { display: block; width: 100%; height: 100%; border-radius: 999px 999px 2px 2px; background: center 28% / cover no-repeat; }
.lux-scene-glow { height: 100%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--inv-accent) 40%, transparent), transparent); }
.lux-scene-sparkles { position: relative; height: 100%; }
.lux-scene-sparkles span {
    position: absolute; left: var(--x); top: var(--y); width: 4px; height: 4px; border-radius: 50%;
    background: var(--lux-champ-hi); box-shadow: 0 0 8px 2px color-mix(in srgb, var(--inv-accent) 70%, transparent);
    animation: lux-twinkle 2.6s ease-in-out var(--d) infinite;
}
.lux-scene-sparkles span:nth-child(3n)::before, .lux-scene-sparkles span:nth-child(3n)::after {
    content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 1px; translate: -50% -50%;
    background: linear-gradient(90deg, transparent, var(--lux-champ-hi), transparent);
}
.lux-scene-sparkles span:nth-child(3n)::after { rotate: 90deg; }
@keyframes lux-twinkle { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1.1); } }
.lux-scene-line { height: 100%; border: 1px solid var(--lux-champ-hi); border-radius: 999px 999px 3px 3px; opacity: .85; }
.lux-scene-crest { display: block; width: 100%; }
.lux-scene-branch { display: block; width: 100%; filter: drop-shadow(0 4px 6px rgb(0 0 0 / .45)); }
.lux-scene-branch--right { transform: scaleX(-1); }
.lux-scene-divider { display: block; width: 100%; color: var(--lux-gold-ink); }
/* the card: no frosted cloud, the names printed on the greige arch */
/* the card: a greige paper plaque with a champagne hairline under the arch */
.inv-intro--scene .inv-scene__card {
    top: 79%; aspect-ratio: auto; padding: 1rem 1rem .95rem; -webkit-mask: none; mask: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: url('../img/paper-soft.webp') 0 0 / 320px, linear-gradient(180deg, var(--lux-ivory), var(--lux-greige));
    box-shadow: 0 24px 40px -18px rgb(0 0 0 / .8), inset 0 0 0 1px color-mix(in srgb, var(--inv-accent) 55%, transparent), inset 0 0 0 5px var(--lux-ivory), inset 0 0 0 6px color-mix(in srgb, var(--lux-gold-ink) 40%, transparent);
}
.inv-intro--scene .inv-scene__card .inv-intro__label { font-family: var(--lux-sans); font-weight: 500; font-size: .66rem; letter-spacing: .3em; color: var(--lux-gold-ink); }
.inv-intro--scene .inv-scene__card .inv-intro__names { font-family: var(--lux-display); font-weight: 400; font-size: clamp(1.9rem, 9vw, 2.5rem); line-height: 1.12; color: var(--inv-primary); }
.inv-intro--scene .inv-scene__card .inv-intro__rule { width: 4.5rem; background: linear-gradient(90deg, transparent, var(--lux-gold-ink), transparent); }
.inv-intro--scene .inv-scene__card .inv-intro__date { font-family: var(--lux-sans); font-weight: 500; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: var(--inv-primary); }
