/*
 * Template "Monokrom Elegan Luxe" — natural, quiet luxury. Mobile-first.
 * Colors from the chosen variant (--inv-primary dark tone, --inv-accent soft gold,
 * --inv-background natural cream, --inv-text). Fonts from the client's choice:
 * --inv-font-display (names) and --inv-font-heading (titles), set by <x-inv.head>.
 */

: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-paper: color-mix(in srgb, var(--inv-background) 55%, #fff);
    --lux-on-dark: color-mix(in srgb, var(--inv-background) 88%, #fff);
    --lux-line: color-mix(in srgb, var(--inv-accent) 50%, transparent);
    --lux-muted: color-mix(in srgb, var(--inv-text) 65%, var(--inv-background));
    --lux-gold: color-mix(in srgb, var(--inv-accent) 80%, var(--inv-text));
    --lux-column: 460px;
    --inv-radius: 16px;
}

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

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

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

.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 soft veil of the dark tone; without a photo the veil alone */
.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) 20%, transparent),
            color-mix(in srgb, var(--inv-primary) 45%, transparent) 50%,
            color-mix(in srgb, var(--inv-primary) 88%, 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;
}

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

.lux-eyebrow {
    margin: 0 0 .75rem;
    font-family: var(--lux-heading); font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
}

/* titles in small capitals with a faint echo of themselves just below */
.lux-title {
    position: relative; isolation: isolate; margin: 0 0 2.25rem;
    font-family: var(--lux-heading); font-weight: 400; font-size: 2rem; line-height: 1.15;
    font-variant-caps: small-caps; letter-spacing: .04em;
    color: var(--inv-primary);
}
.lux-title::after {
    content: attr(data-echo); position: absolute; inset: .42em 0 auto; z-index: -1;
    opacity: .1; transform: scale(1.06); pointer-events: none;
}
.lux-title--light { color: var(--lux-on-dark); }
.lux-lead { font-size: 1rem; }
.lux-muted { color: var(--lux-muted); font-size: .9rem; }

.lux-divider { display: block; margin: 1rem auto; color: currentColor; transform-origin: center; }

.lux-icon-link {
    display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; margin-top: .25rem;
    border: 1px solid var(--lux-line); border-radius: 999px; color: var(--inv-primary);
    transition: background-color .3s ease, color .3s ease;
}
.lux-icon-link:hover { background: var(--inv-primary); color: var(--lux-on-dark); }

/* buttons of the shared components */
.inv-button {
    padding: .75rem 1.4rem; border-radius: 8px;
    background: var(--inv-primary); color: var(--lux-on-dark);
    font-family: var(--lux-sans); font-weight: 500; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
    transition: transform .3s ease, box-shadow .3s ease;
}
.inv-button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px color-mix(in srgb, var(--inv-primary) 25%, transparent); }
.inv-button--outline { background: transparent; color: var(--inv-primary); box-shadow: inset 0 0 0 1px var(--inv-primary); }

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

.lux-aside { display: none; }

/* the love-story moments slide in from the sides: never let them widen the page on phones */
.lux-page { overflow-x: clip; }

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

.lux-cover {
    position: fixed; inset: 0; z-index: 30; overflow-y: auto;
    display: flex; align-items: safe flex-end; justify-content: center;
    padding: 3rem 1.75rem 4rem; text-align: center;
    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__inner { width: 100%; max-width: 400px; }
.lux-cover__names { margin: 0 0 .75rem; font-size: 3.6rem; }
.lux-cover__date { margin: 0 0 2.25rem; font-family: var(--lux-heading); font-size: .95rem; letter-spacing: .1em; }
.lux-cover__guest p { margin: 0 0 .3rem; font-size: .78rem; letter-spacing: .06em; opacity: .85; }
.lux-cover__guest-name { display: block; margin-bottom: 1.6rem; font-family: var(--lux-heading); font-size: 1.5rem; }
.lux-open { background: var(--lux-on-dark); color: var(--inv-primary); }

/* ---------- intro: photo strip + monogram ---------- */

.lux-intro { padding: 2.75rem 0 3.25rem; text-align: center; background: color-mix(in srgb, var(--inv-background) 80%, var(--inv-accent)); }
.lux-strip { overflow: hidden; margin-bottom: 2.25rem; mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.lux-strip__track { display: flex; gap: .6rem; width: max-content; animation: lux-strip 38s linear infinite; }
.lux-strip__track img { width: 128px; height: 168px; object-fit: cover; border-radius: 4px; }
@keyframes lux-strip { to { transform: translateX(-50%); } }
.lux-intro__photo { height: 220px; margin: 0 1.75rem 2.25rem; border-radius: 4px; }
.lux-monogram {
    display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 0;
    font-family: var(--lux-heading); font-size: 3.4rem; line-height: 1; color: var(--inv-primary);
}
.lux-monogram__bar { width: 1px; height: 3.6rem; background: var(--inv-primary); opacity: .55; }
.lux-intro__date { margin: 1.25rem 0 0; font-size: .75rem; font-weight: 400; letter-spacing: .4em; color: var(--lux-gold); }

/* ---------- sections ---------- */

.lux-section { padding: 4.75rem 1.75rem; text-align: center; }
.lux-band { position: relative; isolation: isolate; overflow: hidden; color: var(--lux-on-dark); background: var(--inv-primary); }
/* 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-band .lux-eyebrow, .lux-band .lux-title--light { text-shadow: 0 1px 12px rgb(0 0 0 / .45); }
/* a darker veil at the top of the countdown band, so the small heading reads on a light photo */
.lux-countdown::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(rgb(0 0 0 / .42), transparent 26%); }
.lux-band.lux-countdown .lux-eyebrow { color: var(--lux-on-dark); font-weight: 500; }
.lux-band .lux-eyebrow { color: var(--inv-accent); }

/* opening */
.lux-arabic { margin-bottom: 1.25rem; font-family: 'Amiri', 'Traditional Arabic', serif; font-size: 1.7rem; line-height: 1.6; color: var(--inv-primary); }
.lux-opening__greeting { font-family: var(--lux-heading); font-style: italic; font-size: 1.1rem; color: var(--inv-primary); }
.lux-quote { position: relative; margin: 2.5rem 0 0; padding: 2rem 1.25rem 1.5rem; border-top: 1px solid var(--lux-line); border-bottom: 1px solid var(--lux-line); }
.lux-quote__mark {
    position: absolute; top: -1.6rem; left: 50%; transform: translateX(-50%);
    padding: 0 .75rem; background: var(--inv-background);
    font-family: var(--lux-heading); font-size: 3.5rem; line-height: 1; color: var(--inv-accent);
}
.lux-quote blockquote { margin: 0; font-family: var(--lux-heading); font-style: italic; font-size: 1rem; line-height: 1.85; }
.lux-quote figcaption { margin-top: .9rem; font-size: .7rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--lux-gold); }

/* couple: tall capsule photos with the nickname over the lower edge */
.lux-couple { background: var(--lux-paper); }
.lux-person__frame { position: relative; width: 236px; margin: 0 auto 1.5rem; }
.lux-person__photo {
    width: 100%; aspect-ratio: 236 / 340; object-fit: cover; border-radius: 999px;
    box-shadow: 0 18px 40px color-mix(in srgb, var(--inv-primary) 22%, transparent);
}
.lux-person__photo--empty { display: block; background: linear-gradient(170deg, color-mix(in srgb, var(--inv-accent) 45%, var(--inv-background)), var(--inv-primary)); }
/* a soft shade at the bottom of the capsule, so the name reads on a light photo */
.lux-person__frame::after {
    content: ''; position: absolute; inset: auto 0 0; height: 42%; border-radius: 0 0 999px 999px;
    background: linear-gradient(to bottom, transparent, rgb(0 0 0 / .5)); pointer-events: none;
}
.lux-person__nickname {
    position: absolute; z-index: 1; inset: auto -1.5rem 1.1rem; margin: 0;
    font-size: 3.3rem; color: #fff; text-shadow: 0 2px 14px rgb(0 0 0 / .35);
}
.lux-person__name { margin: 0 0 .6rem; font-family: var(--lux-heading); font-weight: 400; font-size: 1.4rem; line-height: 1.3; color: var(--inv-primary); }
.lux-person__parents { font-size: .875rem; color: var(--lux-muted); }
.lux-person__parents strong { font-weight: 500; color: var(--inv-text); }
.lux-couple__amp { margin: 2.25rem 0; font-size: 4rem; color: var(--inv-accent); }

/* countdown (photo band): a paper calendar of the month, then four compact dark boxes with gold numbers */
.lux-countdown { padding-top: 5rem; padding-bottom: 5rem; }
.lux-countdown .lux-title { margin-bottom: 1.75rem; }
.lux-cal.inv-cal {
    --inv-cal-bg: var(--lux-paper);
    --inv-cal-text: var(--inv-text);
    --inv-cal-mark: var(--lux-gold);
    position: relative; max-width: 330px; margin: 0 auto 1.75rem; padding: 1.4rem 1.2rem 1rem; border-radius: 4px;
    transform: rotate(-1.2deg); box-shadow: 0 24px 40px -18px rgb(0 0 0 / .6);
    text-align: center;
}
/* a strip of washi tape holding the card */
.lux-cal.inv-cal::before {
    content: ''; position: absolute; top: -.7rem; left: 1.2rem; width: 5.5rem; height: 1.5rem; transform: rotate(-4deg);
    background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--inv-accent) 45%, #fff) 0 6px, color-mix(in srgb, var(--inv-accent) 30%, #fff) 6px 12px);
    opacity: .85; box-shadow: 0 1px 2px rgb(0 0 0 / .12);
}
.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); }
.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.6rem; padding: .7rem 0 .55rem; border-radius: 6px;
    background: color-mix(in srgb, var(--inv-primary) 82%, #000);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-accent) 35%, transparent), 0 12px 22px -14px rgb(0 0 0 / .8);
}
.lux-countdown .inv-countdown__value { font-family: var(--lux-heading); font-weight: 500; font-size: 1.75rem; line-height: 1.1; color: var(--inv-accent); }
.lux-countdown .inv-countdown__label { margin-top: .3rem; font-size: .58rem; 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) 45%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 55%, transparent); }

/* events: big photo with a rounded corner, details beside the name written vertically */
.lux-event { text-align: center; }
.lux-event + .lux-event { margin-top: 2.5rem; }
.lux-event__photo { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: 120px 0 0 0; }
.lux-event__body {
    display: grid; grid-template-columns: minmax(0, 1fr) 3.5rem;
    background: var(--lux-paper); box-shadow: 0 14px 34px color-mix(in srgb, var(--inv-primary) 10%, transparent);
}
.lux-event__info { padding: 1.75rem 1.1rem 1.6rem; }
.lux-event__name {
    margin: 0; padding: 1.5rem 0; writing-mode: vertical-rl; align-self: stretch; justify-self: stretch;
    display: flex; align-items: center; justify-content: center;
    border-left: 1px solid var(--lux-line); background: #fff;
    font-family: var(--lux-heading); font-weight: 400; font-size: 1.3rem; letter-spacing: .28em; text-transform: uppercase; color: var(--inv-primary);
}
.lux-event__date { margin-bottom: .2rem; font-family: var(--lux-heading); font-size: 1.05rem; color: var(--inv-primary); }
.lux-event__time { font-size: .9rem; }
.lux-event__pin { margin: 1.1rem auto .4rem; color: var(--inv-accent); }
.lux-event__venue { margin-bottom: .2rem; font-weight: 500; }
.lux-event__address, .lux-event__dress { font-size: .85rem; color: var(--lux-muted); }
.lux-event .inv-maps { margin-top: 1rem; }

/* love story: a zig-zag timeline, hairline in the center, moments alternate sides */
.lux-story { background: var(--lux-paper); }
.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-line) 6%, var(--lux-line) 94%, transparent);
}
.lux-chapter {
    position: relative; display: grid; align-items: start;
    grid-template-columns: minmax(0, 1fr) 1.9rem minmax(0, 1fr); grid-template-areas: "text dot meta";
    column-gap: .55rem;
}
.lux-chapter--flip { grid-template-areas: "meta dot text"; }
.lux-chapter + .lux-chapter { margin-top: 2.4rem; }

/* the chapter number in a small outlined circle on the line */
.lux-chapter__number {
    grid-area: dot; position: relative; z-index: 1; display: grid; place-items: center;
    width: 1.9rem; height: 1.9rem; border-radius: 50%;
    background: var(--lux-paper); border: 1px solid var(--inv-accent);
    box-shadow: 0 0 0 3px var(--lux-paper);
    font-family: var(--lux-heading); font-size: .72rem; line-height: 1; letter-spacing: .04em; color: var(--lux-gold);
}

/* the text side: aligned toward the line */
.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.1rem; 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(--inv-accent); }
.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; }

/* the other side: date and a small round photo */
.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); overflow-wrap: anywhere;
}
.lux-chapter__photo {
    width: min(5.5rem, 100%); aspect-ratio: 1; object-fit: cover; padding: 3px; border-radius: 50%;
    border: 1px solid var(--lux-line); box-shadow: 0 10px 20px -10px color-mix(in srgb, var(--inv-primary) 60%, transparent);
}
.lux-chapter__ornament { display: block; width: 8px; height: 8px; margin: .7rem .4rem 0; background: var(--inv-accent); transform: rotate(45deg); }

/* gallery: the shared slider, square-cornered like the rest of the page, thumbs outlined in the dark tone */
.lux-gallery .inv-gallery-slider { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
.lux-gallery .inv-gallery-slider__thumb { width: 3.6rem; aspect-ratio: 3 / 4; border-radius: 3px; border-width: 1px; }
.lux-gallery .inv-gallery-slider__thumb.is-active { border-color: var(--inv-primary); box-shadow: 0 0 0 2px var(--inv-background), 0 0 0 3px var(--inv-primary); }
.lux-gallery .inv-gallery-slider__arrow { border-radius: 2px; background: var(--inv-primary); color: var(--lux-on-dark); }
.lux-gallery .inv-gallery-slider__stage { border-radius: 120px 0 0 0; box-shadow: 0 24px 44px -26px rgb(0 0 0 / .6); }
.lux-gallery .inv-gallery-slider__count { border-radius: 2px; background: color-mix(in srgb, var(--inv-primary) 85%, transparent); font-family: var(--lux-sans); letter-spacing: .2em; }

/* gift: each account as a small bank card, two per row (the last one full width when the count is odd) */
.lux-gift .inv-gift { margin-top: 1.75rem; }
.lux-gift .inv-gift__accounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.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: .8rem; text-align: left; overflow: hidden;
    border-radius: 12px; color: var(--lux-on-dark);
    background:
        radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--inv-accent) 35%, transparent), transparent 60%),
        linear-gradient(135deg, color-mix(in srgb, var(--inv-primary) 85%, #fff), var(--inv-primary) 55%, color-mix(in srgb, var(--inv-primary) 80%, #000));
    box-shadow: 0 10px 22px color-mix(in srgb, var(--inv-primary) 26%, transparent);
}
/* the chip */
.lux-gift .inv-gift__accounts .inv-gift__account::before {
    content: ''; width: 1.7rem; height: 1.25rem; border-radius: 4px;
    background: linear-gradient(135deg, #e9d7a8, #b8975a 60%, #e6cf98);
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15);
}
.lux-gift .inv-gift__account p { margin: 0; }
.lux-gift .inv-gift__accounts .inv-gift__bank {
    position: absolute; top: .8rem; right: .8rem; 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;
}
.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: .6rem; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; opacity: .85; 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-on-dark); box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 50%, transparent);
}
.lux-gift .inv-gift__address { margin-top: .9rem; padding: 1.5rem 1.25rem; border: 1px solid var(--lux-line); border-radius: var(--inv-radius); background: var(--lux-paper); }
.lux-gift .inv-gift__address .inv-gift__bank { font-size: .72rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--lux-gold); }
.lux-gift .inv-gift__address .inv-gift__holder { text-transform: none; font-size: .85rem; }
.lux-gift .inv-gift__address .inv-button { margin-top: .75rem; }

/* rsvp + wishes */
.lux-rsvp { background: var(--lux-paper); }
.lux-panel {
    padding: 1.5rem 1.25rem; border-radius: var(--inv-radius); text-align: left;
    background: var(--inv-background); border: 1px solid var(--lux-line);
}
.lux-rsvp .lux-panel { background: #fff; }
.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) 25%, 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 .inv-button { justify-self: stretch; margin-top: .5rem; }
.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 .8rem; background: color-mix(in srgb, var(--inv-accent) 10%, #fff); border-radius: 10px; }
.lux-panel .inv-wish__name { font-family: var(--lux-heading); font-weight: 400; font-size: .92rem; color: var(--inv-primary); }
.lux-panel .inv-wish__message { font-size: .88rem; line-height: 1.45; }
.lux-panel .inv-wish__time { font-size: .7rem; }

/* closing: full photo */
.lux-closing { min-height: 640px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 4rem; }
.lux-closing__inner { max-width: 360px; }
.lux-closing__title { margin: 0; font-family: var(--lux-heading); font-weight: 400; font-size: 1.6rem; letter-spacing: .12em; }
.lux-closing__names { margin: 0 0 1.5rem; font-size: 3.6rem; }
.lux-closing__message { font-size: .9rem; opacity: .9; }
.lux-closing__signature { margin: 0; font-size: .78rem; letter-spacing: .14em; opacity: .8; }

/* shared components outside the sections */
.inv-music__button { background: var(--inv-primary); color: var(--lux-on-dark); box-shadow: 0 0 0 1px var(--lux-line), 0 6px 16px rgb(0 0 0 / .25); }
.inv-checkin { margin: 0 1.75rem 2rem; }

/* ---------- 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%;
    }
    .lux-aside__inner { max-width: 620px; text-align: left; }
    .lux-aside__names { margin: 0 0 1.75rem; font-size: 6rem; }
    .lux-aside__quote { max-width: 520px; margin-bottom: 2.25rem; font-size: .9rem; line-height: 1.7; opacity: .9; }
    .lux-aside__guest p { margin: 0 0 .35rem; font-size: .85rem; opacity: .85; }
    .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 / .22);
    }
    /* 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; }
}

@media (max-height: 620px) {
    .lux-cover__names { font-size: 2.8rem; }
    .lux-cover__date { margin-bottom: 1.25rem; }
}

/* motion touches: the monogram bars grow, and each title's faint echo settles under it */
html.inv-anim .lux-monogram__bar { transform: scaleY(0); transition: transform .9s .45s cubic-bezier(.2, .8, .2, 1); }
html.inv-anim .lux-monogram.is-revealed .lux-monogram__bar { transform: none; }
html.inv-anim .lux-title::after { opacity: 0; transform: translateY(.5em) scale(1.25); transition: opacity 1.1s .35s ease, transform 1.3s .35s cubic-bezier(.2, .8, .2, 1); }
html.inv-anim .lux-title.is-revealed::after { opacity: .1; transform: scale(1.06); }

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