/*
 * Template "Pantai Senja" (Lamaran & Tunangan) — an engagement by the sea at sunset. Tropical-elegant,
 * modern: a layered sunset sky, a deep ocean, warm sand. Signature pieces: the cover arch on the horizon
 * with the sun setting behind it (sections/cover), the couple as two shell cards (sections/couple), the
 * two families as a message in a bottle (sections/families), "Insya Allah" written in the sand
 * (sections/wedding_plan), footprints along the shore (sections/love_story), the closing at dusk.
 * All drawings are inline SVG (sections/_art). Mobile-first, one column (~460px) on an ocean backdrop
 * on wide screens.
 *
 * Colours come from the chosen colour variant (template.json → <x-inv.head>):
 *   --inv-primary (deep ocean teal / navy / plum / lagoon: titles, buttons on light sections)
 *   --inv-accent (sunset coral)   --inv-shine (sunset gold)   --inv-soft (peach)   --inv-dusk (lilac sky)
 *   --inv-background (sand cream)   --inv-text   --inv-deep (the dark ocean sections)
 * Everything else is mixed from those, so a new variant only needs these eight colours.
 *
 * Section tones (set on each section in its partial): .ps-tone--light (sand cream), --sand (warm sand
 * with grain), --blush (peach wash), --paper (deeper cream), --deep (the ocean), --sunset (a lilac →
 * peach → coral band). Light and deep alternate; every section after the first meets the one above with
 * a soft wave edge in its own top colour (--ps-edge).
 *
 * Motion only runs with html.inv-anim (set by <x-inv.head> unless the guest prefers reduced motion);
 * without it everything is shown finished.
 *
 * Contents: 1 base · 2 section tones, wave edges, photo backgrounds · 3 shared pieces (heading, arch,
 *           drawings, pill) · 4 cover · 5 sections in page order · 6 forms (RSVP, wishes) ·
 *           7 shared components · 8 screen sizes · 9 motion
 */

/* ---------- 1. base ---------- */
:root {
    /* defaults = the "Senja Koral" variant (the variant's colours override these) */
    --inv-primary: #0f4c5c;
    --inv-accent: #e8714c;
    --inv-background: #fbf1e2;
    --inv-text: #1a2a30;
    --inv-deep: #0a2b38;
    --inv-shine: #f3b453;
    --inv-soft: #f7c9a6;
    --inv-dusk: #a58bc2;
    --inv-radius: 14px;

    --ps-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --ps-sans: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ps-col: 460px;
    --ps-paper: color-mix(in srgb, #fff 70%, var(--inv-background));
    --ps-sand: color-mix(in srgb, var(--inv-background) 72%, #d9b27c);
    --ps-muted: color-mix(in srgb, var(--inv-text) 78%, var(--inv-background));
    --ps-cream-muted: color-mix(in srgb, var(--inv-background) 86%, transparent);
    --ps-coral-ink: color-mix(in srgb, var(--inv-accent) 62%, var(--inv-deep));
    --ps-line: color-mix(in srgb, var(--inv-accent) 42%, transparent);
    --ps-drop: 0 24px 44px -24px color-mix(in srgb, var(--inv-deep) 75%, transparent);
    --ps-sunset: linear-gradient(135deg, var(--inv-shine), var(--inv-accent));
    /* the sky of the cover: lilac at the top, peach in the middle, a coral-gold glow at the horizon */
    --ps-sky: linear-gradient(180deg,
        color-mix(in srgb, var(--inv-dusk) 52%, var(--inv-deep)) 0%,
        color-mix(in srgb, var(--inv-dusk) 88%, var(--inv-deep)) 18%,
        color-mix(in srgb, var(--inv-dusk) 55%, var(--inv-soft)) 40%,
        var(--inv-soft) 62%,
        color-mix(in srgb, var(--inv-shine) 55%, var(--inv-soft)) 82%,
        color-mix(in srgb, var(--inv-accent) 45%, var(--inv-shine)) 100%);
    /* the deep ocean */
    --ps-ocean:
        linear-gradient(180deg, var(--inv-deep) 0, color-mix(in srgb, var(--inv-deep) 0%, transparent) 5rem),
        radial-gradient(110% 50% at 50% 35%, color-mix(in srgb, var(--inv-primary) 70%, transparent), transparent 75%),
        radial-gradient(80% 40% at 100% 100%, color-mix(in srgb, var(--inv-primary) 45%, transparent), transparent 75%),
        var(--inv-deep);

    /* masks (colour-free shapes) */
    --ps-wave-edge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='16' viewBox='0 0 120 16'%3E%3Cpath d='M0 16V9C20 3 40 3 60 9S100 15 120 9V16Z'/%3E%3C/svg%3E");
    --ps-wave-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='26' viewBox='0 0 96 26'%3E%3Cpath d='M0 7c12-5 24-5 36 0s24 5 36 0 18-4 24-2M20 20c10-4 20-4 30 0s20 4 30 0' fill='none' stroke='%23000' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E");
    --ps-trail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='76' viewBox='0 0 30 76'%3E%3Cg fill='%23000'%3E%3Cg transform='translate(12 4) scale(-.42 .42) rotate(-6 11 23)'%3E%3Cpath d='M11 15c5 0 7.4 6 6.4 13-.9 6.6-2.2 15-7.6 15-5.2 0-5.6-6-4.6-11 .9-4.8-2-9-1-13.4C5 15.8 7.6 15 11 15Z'/%3E%3Ccircle cx='5.6' cy='10.4' r='2.6'/%3E%3Ccircle cx='10' cy='7.6' r='2.25'/%3E%3Ccircle cx='13.8' cy='7.9' r='1.95'/%3E%3Ccircle cx='16.8' cy='9.8' r='1.65'/%3E%3Ccircle cx='18.9' cy='12.8' r='1.35'/%3E%3C/g%3E%3Cg transform='translate(16 40) scale(.42) rotate(6 11 23)'%3E%3Cpath d='M11 15c5 0 7.4 6 6.4 13-.9 6.6-2.2 15-7.6 15-5.2 0-5.6-6-4.6-11 .9-4.8-2-9-1-13.4C5 15.8 7.6 15 11 15Z'/%3E%3Ccircle cx='5.6' cy='10.4' r='2.6'/%3E%3Ccircle cx='10' cy='7.6' r='2.25'/%3E%3Ccircle cx='13.8' cy='7.9' r='1.95'/%3E%3Ccircle cx='16.8' cy='9.8' r='1.65'/%3E%3Ccircle cx='18.9' cy='12.8' r='1.35'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    /* sand grain (a brown noise with its own alpha) */
    --ps-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .29 0 0 0 0 .15 0 0 0 .9 -.2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");

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

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

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

img { max-width: 100%; }
a { color: var(--inv-primary); }
.ps-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

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

.ps-section {
    --ps-edge: var(--inv-background);
    position: relative; isolation: isolate; padding: 4.4rem 1.4rem; text-align: center;
    /* clip sideways only, so the wave edge can reach up over the section above */
    overflow: hidden; overflow: clip visible;
}
.ps-section > p { margin: 0 auto 1rem; max-width: 34ch; }

.ps-arabic { font-family: 'Amiri', 'Traditional Arabic', serif; line-height: 1.9; color: var(--inv-primary); }
.ps-amp { font-family: var(--ps-serif); font-style: italic; font-weight: 500; color: var(--ps-coral-ink); }

/* ---------- 2. section tones, wave edges, photo backgrounds ---------- */

/* the soft wave edge: every section after the first rises over the one above in its own top colour */
.ps-main > .ps-section ~ .ps-section::after {
    content: ''; position: absolute; left: 0; right: 0; top: -15px; height: 16px; z-index: 1; pointer-events: none;
    background: var(--ps-edge);
    -webkit-mask: var(--ps-wave-edge) left bottom / 120px 16px repeat-x; mask: var(--ps-wave-edge) left bottom / 120px 16px repeat-x;
}

/* light: sand cream with a peach glow and a faint shimmer of wave lines */
.ps-tone--light {
    background:
        radial-gradient(70% 30% at 100% 8%, color-mix(in srgb, var(--inv-soft) 45%, transparent), transparent 75%),
        radial-gradient(70% 30% at 0% 100%, color-mix(in srgb, var(--inv-shine) 18%, transparent), transparent 75%),
        var(--inv-background);
}
.ps-tone--light::before, .ps-tone--paper::before, .ps-tone--blush::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--inv-primary); opacity: .06;
    -webkit-mask: var(--ps-wave-lines) center top / 96px 26px repeat; mask: var(--ps-wave-lines) center top / 96px 26px repeat;
}
/* paper: a slightly deeper cream, used where two light sections could meet */
.ps-tone--paper {
    --ps-edge: color-mix(in srgb, var(--inv-shine) 12%, var(--inv-background));
    background:
        radial-gradient(80% 40% at 50% 30%, color-mix(in srgb, #fff 45%, transparent), transparent 75%),
        color-mix(in srgb, var(--inv-shine) 12%, var(--inv-background));
}
/* blush: a peach wash */
.ps-tone--blush {
    --ps-edge: color-mix(in srgb, var(--inv-soft) 70%, var(--inv-background));
    background:
        radial-gradient(80% 40% at 50% 20%, color-mix(in srgb, #fff 40%, transparent), transparent 75%),
        linear-gradient(180deg, color-mix(in srgb, var(--inv-soft) 70%, var(--inv-background)), color-mix(in srgb, var(--inv-soft) 35%, var(--inv-background)));
}
/* sand: warm beach sand with a fine grain */
.ps-tone--sand {
    --ps-edge: var(--ps-sand);
    background:
        radial-gradient(70% 35% at 50% 0%, color-mix(in srgb, #fff 35%, transparent), transparent 75%),
        linear-gradient(180deg, var(--ps-sand), color-mix(in srgb, var(--ps-sand) 70%, var(--inv-background)));
}
.ps-tone--sand::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .32;
    background: var(--ps-grain) 0 0 / 160px 160px;
}

/* deep: the evening ocean, with faint wave lines in gold */
.ps-tone--deep { --ps-edge: var(--inv-deep); color: var(--inv-background); background: var(--ps-ocean); }
.ps-tone--deep::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--inv-shine); opacity: .09;
    -webkit-mask: var(--ps-wave-lines) center top / 96px 26px repeat; mask: var(--ps-wave-lines) center top / 96px 26px repeat;
}
.ps-tone--deep a:not(.inv-button) { color: var(--inv-shine); }
.ps-tone--deep .ps-arabic { color: var(--inv-shine); }

/* sunset: a band of the sky (lilac → peach → coral), dark text */
.ps-tone--sunset {
    --ps-edge: color-mix(in srgb, var(--inv-dusk) 70%, var(--inv-soft));
    color: var(--inv-deep);
    background:
        radial-gradient(70% 45% at 50% 100%, color-mix(in srgb, var(--inv-shine) 70%, transparent), transparent 75%),
        linear-gradient(180deg, color-mix(in srgb, var(--inv-dusk) 70%, var(--inv-soft)), var(--inv-soft) 55%, color-mix(in srgb, var(--inv-accent) 55%, var(--inv-shine)));
}

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

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

/* section heading: a letter-spaced eyebrow after a tiny sun, a serif title (last word italic), a double wave */
.ps-heading { margin: 0 0 2.1rem; }
.ps-heading--left { text-align: left; }
.ps-heading__eyebrow {
    display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 .5rem;
    font-size: .7rem; font-weight: 600; line-height: 1.25; letter-spacing: .26em; text-transform: uppercase; color: var(--ps-coral-ink);
}
/* the tiny sun: a half disc on a short horizon line */
.ps-heading__eyebrow::before {
    content: ''; flex: none; width: 1.1rem; height: .6rem; border-radius: 1.1rem 1.1rem 0 0;
    background: var(--ps-sunset); box-shadow: 0 1.5px 0 -0.5px currentColor;
}
.ps-heading__title {
    margin: 0; font-family: var(--ps-serif); font-size: 2.5rem; font-weight: 600; line-height: 1.06;
    letter-spacing: -.015em; color: var(--inv-primary); font-variation-settings: 'opsz' 96;
}
.ps-heading__title em { font-style: italic; font-weight: 500; color: var(--ps-coral-ink); }
.ps-heading__wave { display: block; width: 4.4rem; height: .75rem; margin: .75rem auto 0; color: var(--inv-accent); overflow: visible; }
.ps-heading--left .ps-heading__wave { margin-left: 0; }

.ps-tone--deep .ps-heading__eyebrow { color: var(--inv-shine); }
.ps-tone--deep .ps-heading__title { color: #fff; }
.ps-tone--deep .ps-heading__title em { color: var(--inv-shine); }
.ps-tone--deep .ps-heading__wave { color: var(--inv-shine); }
.ps-tone--sunset .ps-heading__eyebrow, .ps-tone--sunset .ps-heading__title, .ps-tone--sunset .ps-heading__title em { color: var(--inv-deep); }
.ps-tone--sunset .ps-heading__wave { color: var(--inv-deep); }

/* icons */
.ps-icon { width: 1.15rem; height: 1.15rem; flex: none; }

/* the arch window (cover, couple): a round top, slightly rounded foot; the photo is never covered */
.ps-arch { position: relative; margin: 0; overflow: hidden; border-radius: 999px 999px 14px 14px; background: var(--ps-sunset); }
.ps-arch__photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
/* without a photo: the initials over a small sunset (sun + sea lines) */
.ps-arch__empty {
    position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 12%;
    font-family: var(--ps-serif); font-style: italic; font-weight: 500; line-height: 1; white-space: nowrap; color: #fff;
    font-size: 2.6rem; text-shadow: 0 2px 12px color-mix(in srgb, var(--inv-deep) 40%, transparent);
    background:
        repeating-linear-gradient(180deg, transparent 0 6px, color-mix(in srgb, var(--inv-shine) 40%, transparent) 6px 7px) center 73% / 40% 12% no-repeat,
        linear-gradient(180deg, transparent 72%, var(--inv-primary) 72%, var(--inv-deep)),
        radial-gradient(circle at 50% 72%, color-mix(in srgb, #fff 60%, var(--inv-shine)) 0 14%, color-mix(in srgb, var(--inv-shine) 50%, transparent) 15%, transparent 30%),
        linear-gradient(180deg, var(--inv-dusk), var(--inv-soft) 45%, var(--inv-accent) 72%);
}
.ps-arch__empty--one { font-size: 3.4rem; }

/* drawings (sections/_art) */
.ps-palm, .ps-fronds { display: block; overflow: visible; }
.ps-palm__rings { stroke: color-mix(in srgb, #fff 18%, transparent); }
.ps-shell { display: block; overflow: visible; filter: drop-shadow(0 3px 4px color-mix(in srgb, var(--inv-deep) 30%, transparent)); }
.ps-shell__fan { fill: url(#ps-g-shell); stroke: var(--ps-coral-ink); stroke-width: 1.3; stroke-linejoin: round; }
.ps-shell__ears { fill: color-mix(in srgb, var(--inv-accent) 70%, var(--inv-soft)); stroke: var(--ps-coral-ink); stroke-width: 1.3; stroke-linejoin: round; }
.ps-shell__ribs { fill: none; stroke: var(--ps-coral-ink); stroke-width: .9; stroke-linecap: round; opacity: .55; }
.ps-shell__shine { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; opacity: .7; }
.ps-starfish { display: block; overflow: visible; filter: drop-shadow(0 4px 5px color-mix(in srgb, var(--inv-deep) 30%, transparent)); }
.ps-starfish__body { fill: url(#ps-g-star); stroke: var(--ps-coral-ink); stroke-width: 1.4; stroke-linejoin: round; }
.ps-starfish__dots { fill: color-mix(in srgb, #fff 70%, var(--inv-shine)); opacity: .85; }
.ps-bottle { display: block; overflow: visible; }
.ps-bottle__shadow { fill: color-mix(in srgb, #000 30%, transparent); }
.ps-bottle__glass { fill: url(#ps-g-glass); }
.ps-bottle__edge { stroke: color-mix(in srgb, #fff 55%, var(--inv-shine)); stroke-width: 1.5; stroke-linejoin: round; opacity: .9; }
.ps-bottle__lip { fill: color-mix(in srgb, #fff 30%, transparent); stroke: color-mix(in srgb, #fff 60%, var(--inv-shine)); stroke-width: 1.2; }
.ps-bottle__string { stroke: var(--inv-accent); }
.ps-bottle__shine { stroke: #fff; opacity: .75; }
.ps-bottle__shine--soft { opacity: .4; }
.ps-footprints { display: block; }
.ps-lighthouse { display: block; overflow: visible; }
.ps-lighthouse__rock { fill: color-mix(in srgb, var(--inv-deep) 82%, #000); }
.ps-lighthouse__band { fill: var(--inv-accent); }
.ps-lighthouse__deck, .ps-lighthouse__roof { fill: color-mix(in srgb, var(--inv-deep) 70%, var(--inv-accent)); }
.ps-lighthouse__lamp { fill: color-mix(in srgb, #fff 45%, var(--inv-shine)); }
.ps-lighthouse__frame { stroke: color-mix(in srgb, var(--inv-deep) 70%, var(--inv-accent)); stroke-width: 1; }
.ps-gulls { display: block; }

/* a small pill link (Instagram) */
.ps-pill {
    display: inline-flex; align-items: center; gap: .35rem; min-height: 2.1rem; padding: .25rem .75rem; border-radius: 999px; max-width: 100%;
    font-size: .74rem; font-weight: 500; text-decoration: none; color: var(--inv-primary); background: #fff;
    box-shadow: inset 0 0 0 1px var(--ps-line);
}
.ps-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-pill .ps-icon { width: .95rem; height: .95rem; color: var(--ps-coral-ink); }

/* ---------- 4. cover ---------- */
.ps-cover {
    --arch-w: min(72vw, 18rem, calc(var(--inv-screen, 100svh) * .49 / 1.4));
    --arch-h: calc(var(--arch-w) * 1.4);
    position: fixed; inset: 0; z-index: 30; overflow-x: hidden; overflow-y: auto;
    color: #fff; background: var(--inv-deep);
    transition: opacity .9s ease;
}
.ps-cover__inner { display: flex; flex-direction: column; min-height: 100%; transition: transform .9s cubic-bezier(.5, 0, .3, 1); }

/* the sky band: grows with the screen; the title at the top, the arch standing on the horizon */
.ps-cover__sky {
    position: relative; flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
    padding: 1.7rem 1.4rem 0; background: var(--ps-sky);
}
.ps-cover__clouds {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(34% 1.6% at 18% 26%, color-mix(in srgb, #fff 45%, transparent), transparent),
        radial-gradient(26% 1.2% at 30% 29%, color-mix(in srgb, #fff 30%, transparent), transparent),
        radial-gradient(30% 1.5% at 82% 44%, color-mix(in srgb, #fff 38%, transparent), transparent),
        radial-gradient(22% 1.1% at 72% 47%, color-mix(in srgb, #fff 28%, transparent), transparent),
        radial-gradient(40% 1.8% at 24% 64%, color-mix(in srgb, var(--inv-accent) 30%, transparent), transparent),
        radial-gradient(30% 1.3% at 86% 71%, color-mix(in srgb, var(--inv-accent) 26%, transparent), transparent);
}
.ps-cover__gulls { position: absolute; left: 13%; top: 17%; width: 2.8rem; color: color-mix(in srgb, var(--inv-deep) 55%, transparent); }
.ps-cover__palm {
    position: absolute; z-index: 1; left: -13%; bottom: -2px; width: min(52vw, 14rem);
    color: color-mix(in srgb, var(--inv-deep) 86%, var(--inv-dusk));
}
.ps-cover__fronds {
    position: absolute; z-index: 1; right: -4%; top: -3%; width: min(36vw, 9.5rem); transform-origin: 100% 0;
    color: color-mix(in srgb, var(--inv-deep) 86%, var(--inv-dusk));
}
.ps-cover__lighthouse { position: absolute; z-index: 1; right: 6%; bottom: 0; width: 1.35rem; }
/* the sun on the horizon, behind the arch; the sea (painted later) hides its lower half */
.ps-cover__sun {
    position: absolute; left: 50%; bottom: 0; width: calc(var(--arch-w) * 1.9); aspect-ratio: 1; border-radius: 50%;
    transform: translate(-50%, 50%); pointer-events: none;
    background: radial-gradient(circle, color-mix(in srgb, #fff 55%, var(--inv-shine)) 0, var(--inv-shine) 34%, color-mix(in srgb, var(--inv-shine) 45%, var(--inv-accent)) 56%, var(--inv-accent) 68%, color-mix(in srgb, var(--inv-accent) 0%, transparent) 71%);
    box-shadow: 0 0 90px 30px color-mix(in srgb, var(--inv-shine) 40%, transparent);
}

.ps-cover__title {
    position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .75rem; margin: 0 0 auto;
    font-size: .74rem; font-weight: 600; line-height: 1.2; letter-spacing: .34em; text-transform: uppercase; color: #fff;
    text-shadow: 0 1px 8px color-mix(in srgb, var(--inv-deep) 50%, transparent);
}
.ps-cover__title::before, .ps-cover__title::after { content: ''; width: 1.6rem; height: 1px; background: color-mix(in srgb, #fff 70%, transparent); }

.ps-cover__art {
    position: relative; z-index: 2; width: var(--arch-w); height: var(--arch-h); flex: none;
    margin: 1.3rem 0 calc(var(--arch-h) * -.1);
}
.ps-arch--cover {
    width: 100%; height: 100%;
    box-shadow: 0 0 0 3px color-mix(in srgb, #fff 55%, transparent), 0 26px 40px -18px color-mix(in srgb, var(--inv-deep) 85%, transparent);
}
.ps-arch--cover .ps-arch__photo { object-position: center 30%; }
.ps-cover__outline {
    position: absolute; inset: -.6rem; width: calc(100% + 1.2rem); height: calc(100% + 1.2rem); overflow: visible; pointer-events: none;
    fill: none; stroke: var(--inv-shine); stroke-width: 1.5; vector-effect: non-scaling-stroke;
}
.ps-cover__outline path { vector-effect: non-scaling-stroke; }

/* the sea band: the names and the rest over the evening ocean, the sand strip at the foot */
.ps-cover__sea {
    position: relative; z-index: 1; flex: none; display: flex; flex-direction: column; align-items: center;
    padding: calc(var(--arch-h) * .1 + 1.15rem) 1.4rem 2.6rem; text-align: center;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='24' viewBox='0 0 120 24'%3E%3Cpath d='M0 24V11C20 5 40 5 60 11S100 17 120 11V24Z' fill='%23ecd5b0'/%3E%3Cpath d='M0 11C20 5 40 5 60 11S100 17 120 11' fill='none' stroke='%23fff' stroke-width='2' opacity='.85'/%3E%3C/svg%3E") left bottom / 120px 24px repeat-x,
        radial-gradient(46% 16% at 50% 0%, color-mix(in srgb, var(--inv-shine) 55%, transparent), transparent),
        linear-gradient(180deg, color-mix(in srgb, var(--inv-primary) 70%, var(--inv-accent)) 0, var(--inv-primary) 18%, var(--inv-deep) 58%);
}
/* the sun's reflection: short bright streaks under the sun, fading out */
.ps-cover__sea::before {
    content: ''; position: absolute; left: 50%; top: 0; z-index: -1; width: calc(var(--arch-w) * 1.6); height: 45%; transform: translateX(-50%); pointer-events: none;
    background: repeating-linear-gradient(180deg, transparent 0 7px, color-mix(in srgb, var(--inv-shine) 55%, transparent) 7px 9px);
    -webkit-mask: radial-gradient(50% 100% at 50% 0, #000, transparent); mask: radial-gradient(50% 100% at 50% 0, #000, transparent);
}
/* fine wave lines over the sea */
.ps-cover__sea::after {
    content: ''; position: absolute; inset: 0 0 24px; z-index: -1; pointer-events: none; background: #fff; opacity: .07;
    -webkit-mask: var(--ps-wave-lines) center top / 96px 26px repeat; mask: var(--ps-wave-lines) center top / 96px 26px repeat;
}

.ps-cover__names {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; column-gap: .28em; margin: 0;
    font-family: var(--ps-serif); font-style: italic; font-weight: 500; font-size: 2.9rem; line-height: 1.04; letter-spacing: -.015em;
    color: #fff; overflow-wrap: anywhere; text-shadow: 0 2px 18px color-mix(in srgb, var(--inv-deep) 60%, transparent);
}
.ps-cover__amp { font-size: .78em; color: var(--inv-shine); }
.ps-cover__date {
    display: inline-flex; align-items: center; gap: .55rem; margin: .8rem 0 0; padding: .32rem 1rem; border-radius: 999px;
    font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--inv-deep); background: var(--ps-sunset);
    box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--inv-accent) 90%, transparent);
}
.ps-cover__date i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }
.ps-cover__quote {
    max-width: 30ch; margin: .75rem 0 0; font-family: var(--ps-serif); font-style: italic; font-weight: 400;
    font-size: 1.04rem; line-height: 1.38; color: var(--ps-cream-muted);
}
.ps-cover__guest {
    width: min(100%, 19rem); margin: .95rem 0 0; padding: .45rem 1rem .55rem; border-radius: 14px;
    background: color-mix(in srgb, #fff 9%, transparent); backdrop-filter: blur(4px);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-shine) 45%, transparent);
}
.ps-cover__guest p { margin: 0; font-size: .6rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--inv-shine); }
.ps-cover__guest-name { display: block; font-family: var(--ps-serif); font-size: 1.28rem; font-weight: 600; line-height: 1.22; color: #fff; overflow-wrap: anywhere; }
.ps-cover__open {
    margin-top: .95rem; min-height: 3rem; padding: .7rem 2rem; font-weight: 600; letter-spacing: .05em;
    color: var(--inv-deep); background: var(--ps-sunset);
    box-shadow: 0 0 0 3px color-mix(in srgb, #fff 18%, transparent), 0 14px 26px -12px color-mix(in srgb, var(--inv-accent) 90%, transparent);
}

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

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

/* opening: a small sun half sunk in the sea at the top, then basmalah, greeting, message; the verse on glass */
.ps-opening { padding: 4.2rem 1.6rem 4.8rem; }
.ps-opening .ps-bgphoto::after {
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--inv-accent) 40%, var(--inv-deep)) 0, color-mix(in srgb, var(--inv-dusk) 30%, transparent) 2.5rem, transparent 10rem),
        linear-gradient(180deg, color-mix(in srgb, var(--inv-deep) 72%, transparent), color-mix(in srgb, var(--inv-deep) 80%, transparent) 50%, color-mix(in srgb, var(--inv-deep) 94%, transparent));
}
.ps-opening.ps-tone--deep {
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--inv-accent) 40%, var(--inv-deep)) 0, color-mix(in srgb, var(--inv-dusk) 22%, var(--inv-deep)) 6rem, transparent 14rem),
        var(--ps-ocean);
}
.ps-horizon-sun { position: relative; display: block; width: 4.6rem; height: 2.4rem; margin: 0 auto 1.3rem; }
.ps-horizon-sun::before {
    content: ''; position: absolute; left: 50%; bottom: 0; width: 3.6rem; height: 1.8rem; transform: translateX(-50%); border-radius: 3.6rem 3.6rem 0 0;
    background: linear-gradient(180deg, var(--inv-shine), var(--inv-accent));
    box-shadow: 0 0 26px 6px color-mix(in srgb, var(--inv-shine) 45%, transparent);
}
.ps-horizon-sun::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: color-mix(in srgb, var(--inv-shine) 80%, transparent);
}
.ps-horizon-sun i {
    position: absolute; left: 50%; top: 100%; width: 2.8rem; height: .7rem; transform: translateX(-50%); margin-top: 4px;
    background: repeating-linear-gradient(180deg, color-mix(in srgb, var(--inv-shine) 70%, transparent) 0 1.5px, transparent 1.5px 4px);
    -webkit-mask: radial-gradient(50% 100% at 50% 0, #000, transparent); mask: radial-gradient(50% 100% at 50% 0, #000, transparent);
}
.ps-opening__basmalah { margin: 0 auto .6rem !important; font-size: 1.85rem; }
.ps-opening__greeting { max-width: 22ch !important; font-family: var(--ps-serif); font-size: 1.6rem; font-weight: 400; font-style: italic; line-height: 1.25; color: #fff; }
.ps-opening__message { max-width: 30ch !important; color: var(--ps-cream-muted); }
.ps-opening__quote {
    position: relative; max-width: 23rem; margin: 2.2rem auto 0; padding: 1.7rem 1.4rem 1.5rem; border-radius: 18px;
    background: color-mix(in srgb, var(--inv-deep) 42%, transparent); backdrop-filter: blur(4px);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-background) 16%, transparent);
    overflow: hidden;
}
/* a thin sunset edge across the top of the glass */
.ps-opening__quote::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--inv-dusk), var(--inv-soft), var(--inv-accent), var(--inv-shine)); }
.ps-opening__quote p { margin: 0; font-family: var(--ps-serif); font-style: italic; font-size: 1.12rem; font-weight: 400; line-height: 1.55; color: #fff; }
.ps-opening__quote cite {
    display: inline-block; margin-top: 1rem; padding: .25rem .85rem; border-radius: 999px; font-style: normal; font-size: .68rem; font-weight: 600;
    letter-spacing: .18em; text-transform: uppercase; color: var(--inv-deep); background: var(--ps-sunset);
}

/* couple: two shell cards side by side (the bride's a little lower), a starfish between them */
.ps-couple__pair {
    position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: .8rem;
    margin: 0 -.35rem; padding-top: 1.2rem;
    filter: drop-shadow(0 18px 22px color-mix(in srgb, var(--inv-deep) 22%, transparent));
}
.ps-person {
    position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0;
    padding: 1.5rem .55rem 1.1rem; border-radius: 6px 6px 16px 16px; background: var(--ps-paper);
}
/* the scalloped top edge of the shell card */
.ps-person::before {
    content: ''; position: absolute; left: 0; right: 0; top: -8px; height: 9px;
    background: radial-gradient(circle at 9px 9px, var(--ps-paper) 8.4px, transparent 9px) center top / 18px 18px repeat-x;
}
.ps-person--bride { margin-top: 2.4rem; }
.ps-person__shell { position: absolute; left: 50%; top: -1.55rem; z-index: 2; width: 2.7rem; transform: translateX(-50%); }
.ps-arch--person { width: 100%; aspect-ratio: 3 / 4; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--ps-line); }
.ps-arch--person .ps-arch__photo { object-position: center 25%; }
.ps-person__label {
    margin: .95rem 0 0; padding: .14rem .6rem; border-radius: 999px; font-size: .58rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
    color: var(--inv-deep); background: color-mix(in srgb, var(--inv-soft) 75%, #fff);
}
.ps-person__nickname {
    margin: .3rem 0 0; font-family: var(--ps-serif); font-style: italic; font-weight: 500; font-size: 2.15rem; line-height: 1;
    letter-spacing: -.015em; color: var(--inv-primary); overflow-wrap: anywhere;
}
.ps-person__name { margin: .4rem 0 0; font-family: var(--ps-serif); font-size: .98rem; font-weight: 600; line-height: 1.25; color: var(--inv-text); overflow-wrap: anywhere; text-wrap: balance; }
.ps-person__parents { margin: .5rem 0 .7rem; font-size: .76rem; line-height: 1.45; color: var(--ps-muted); text-wrap: balance; }
.ps-person__parents span:first-child { display: block; }
.ps-person__parents strong { font-weight: 500; color: var(--inv-text); }
.ps-person__parents .ps-amp { padding: 0 .2em; }
.ps-couple__starfish { position: absolute; left: 50%; top: -.35rem; z-index: 3; width: 3.1rem; transform: translateX(-50%) rotate(16deg); }

/* families: the bottle floating on wave lines, then the unrolled letter */
.ps-families { padding-bottom: 4.8rem; }
.ps-families__bottle { position: relative; width: min(16rem, 78%); margin: -.6rem auto 0; padding-bottom: .9rem; }
.ps-families__glass { width: 100%; transform: rotate(-7deg); }
.ps-families__water {
    position: absolute; left: -12%; right: -12%; bottom: 0; height: 1.6rem; background: var(--inv-shine); opacity: .38;
    -webkit-mask: var(--ps-wave-lines) center / 96px 26px repeat-x; mask: var(--ps-wave-lines) center / 96px 26px repeat-x;
}
.ps-letter {
    position: relative; max-width: 24rem; margin: 1.5rem auto 0; padding: 2.3rem 1.35rem 2.3rem; text-align: left;
    color: var(--inv-text);
    background:
        linear-gradient(90deg, color-mix(in srgb, #8a6236 10%, transparent), transparent 12%, transparent 88%, color-mix(in srgb, #8a6236 10%, transparent)),
        linear-gradient(180deg, color-mix(in srgb, var(--inv-background) 72%, #fff), color-mix(in srgb, var(--inv-background) 84%, #d9b27c));
    box-shadow: 0 26px 44px -22px rgb(0 0 0 / .7);
}
/* the rolled edges at the top and the bottom of the letter */
.ps-letter::before, .ps-letter::after {
    content: ''; position: absolute; left: -.55rem; right: -.55rem; height: 1.15rem; border-radius: 999px;
    background: linear-gradient(180deg, #f6e6c6, #fff7e8 30%, #dcc092 70%, #b8935f);
    box-shadow: 0 4px 8px -3px rgb(0 0 0 / .45);
}
.ps-letter::before { top: -.55rem; }
.ps-letter::after { bottom: -.55rem; }
.ps-letter__side { position: relative; }
.ps-letter__side--from { text-align: right; padding-left: 3.2rem; }
.ps-letter__to { display: flex; align-items: center; gap: .45rem; margin: 0; font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ps-muted); }
.ps-letter__side--from .ps-letter__to { justify-content: flex-end; }
.ps-letter__to span { padding: .14rem .55rem; border-radius: 999px; color: #fff; background: var(--inv-primary); letter-spacing: .14em; }
.ps-letter__who { margin: .55rem 0 0; font-family: var(--ps-serif); font-style: italic; font-size: 1rem; font-weight: 500; color: var(--ps-coral-ink); }
.ps-letter__name { margin: .05rem 0 0; font-family: var(--ps-serif); font-size: 1.32rem; font-weight: 600; line-height: 1.18; color: var(--inv-primary); text-wrap: balance; }
.ps-letter__detail { display: flex; align-items: flex-start; gap: .45rem; margin: .5rem 0 0; font-size: .82rem; line-height: 1.5; color: var(--ps-muted); }
.ps-letter__side--from .ps-letter__detail { justify-content: flex-end; }
.ps-letter__detail .ps-icon { width: 1rem; height: 1rem; margin-top: .15rem; color: var(--ps-coral-ink); }
.ps-letter__intent {
    margin: 1.3rem 0; padding: 1.15rem 0; text-align: center;
    font-family: var(--ps-serif); font-style: italic; font-size: 1.14rem; font-weight: 400; line-height: 1.55; color: var(--inv-deep);
    border-top: 1px dashed color-mix(in srgb, #8a6236 45%, transparent); border-bottom: 1px dashed color-mix(in srgb, #8a6236 45%, transparent);
}
.ps-letter__intent:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.ps-letter__intent:nth-last-child(2) { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; }
.ps-letter__seal { position: absolute; left: 1.3rem; bottom: 1.6rem; width: 2.5rem; transform: rotate(-14deg); }

/* events: a white card, an arched photo, the date as a sun on the horizon */
.ps-event + .ps-event { margin-top: 2.4rem; }
.ps-event {
    position: relative; padding: .55rem .55rem 1.3rem; border-radius: 22px; background: #fff; text-align: left; overflow: hidden;
    box-shadow: inset 0 0 0 1px var(--ps-line), 0 22px 40px -26px color-mix(in srgb, var(--inv-deep) 70%, transparent);
}
.ps-event::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--inv-dusk), var(--inv-soft), var(--inv-accent), var(--inv-shine)); }
.ps-event__photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; border-radius: 160px 160px 14px 14px; }
.ps-event__top { display: flex; align-items: center; gap: .95rem; padding: 1rem .7rem 0; }
.ps-event--flip .ps-event__top { flex-direction: row-reverse; text-align: right; }
.ps-event__date {
    display: flex; flex-direction: column; flex: none; width: 4.7rem; margin: 0; overflow: hidden; border-radius: 14px;
    box-shadow: 0 12px 20px -12px color-mix(in srgb, var(--inv-deep) 80%, transparent);
}
.ps-event__sun {
    position: relative; display: flex; flex-direction: column; align-items: center; padding: .45rem 0 0; isolation: isolate;
    background: linear-gradient(180deg, color-mix(in srgb, var(--inv-dusk) 55%, var(--inv-soft)), var(--inv-soft));
}
/* the half sun the day numeral sits on */
.ps-event__sun::before {
    content: ''; position: absolute; left: 50%; bottom: 0; z-index: -1; width: 3.7rem; height: 1.95rem; transform: translateX(-50%);
    border-radius: 3.7rem 3.7rem 0 0; background: linear-gradient(180deg, var(--inv-shine), var(--inv-accent));
}
.ps-event__weekday { font-size: .58rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--inv-deep); }
.ps-event__day { font-family: var(--ps-serif); font-size: 2.1rem; font-weight: 600; line-height: 1.05; color: var(--inv-deep); }
.ps-event__month {
    padding: .3rem .2rem .35rem; text-align: center; font-size: .58rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    color: var(--inv-shine); background: linear-gradient(180deg, var(--inv-primary), var(--inv-deep));
}
.ps-event__head { min-width: 0; }
.ps-event__name { margin: 0; font-family: var(--ps-serif); font-size: 1.6rem; font-weight: 600; line-height: 1.1; color: var(--inv-primary); }
.ps-event__full { margin: .25rem 0 0; font-size: .82rem; color: var(--ps-muted); }
.ps-event__rows { display: grid; gap: .75rem; margin: 1.1rem .7rem 0; padding: 1rem 0 0; list-style: none; font-size: .9rem; border-top: 1px dashed var(--ps-line); }
.ps-event__rows li { display: flex; align-items: flex-start; gap: .7rem; }
.ps-event__rows .ps-icon { width: 2.1rem; height: 2.1rem; padding: .45rem; border-radius: 50%; color: var(--inv-primary); background: color-mix(in srgb, var(--inv-soft) 50%, #fff); }
.ps-event__rows li > span { padding-top: .3rem; }
.ps-event__venue { display: block; font-weight: 600; }
.ps-event__address { display: block; font-size: .85rem; color: var(--ps-muted); }
.ps-event .inv-maps { margin: 1.15rem .7rem 0; text-align: center; }
.ps-event .inv-maps .inv-button { width: 100%; font-weight: 500; }
.ps-event .inv-maps__frame { height: 190px; border-radius: 14px; }

/* countdown: little suns with big numerals; the calendar card well below the buttons */
.ps-countdown .inv-countdown { gap: clamp(.45rem, 2.4vw, .8rem); }
.ps-countdown .inv-countdown__item {
    display: grid; place-content: center; width: clamp(4rem, 18.5vw, 4.7rem); min-width: 0; aspect-ratio: 1; padding: 0;
    border-radius: 50%; color: var(--inv-deep);
    background: radial-gradient(circle at 50% 30%, color-mix(in srgb, #fff 45%, var(--inv-shine)), var(--inv-shine) 45%, color-mix(in srgb, var(--inv-shine) 40%, var(--inv-accent)));
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--inv-shine) 22%, transparent), 0 0 28px 2px color-mix(in srgb, var(--inv-accent) 45%, transparent);
}
.ps-countdown .inv-countdown__value { font-variant-numeric: lining-nums tabular-nums; font-family: var(--ps-serif); font-size: 1.85rem; font-weight: 600; line-height: 1; color: var(--inv-deep); }
.ps-countdown .inv-countdown__label { margin-top: .1rem; font-size: .54rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--inv-deep) 82%, transparent); }
.ps-countdown .inv-countdown__done { font-family: var(--ps-serif); font-size: 1.4rem; font-style: italic; color: var(--inv-shine); }
.ps-countdown .inv-countdown__actions { flex-direction: column; align-items: center; gap: .6rem; margin-top: 2.1rem; }
.ps-countdown .inv-countdown__actions .inv-button {
    width: min(100%, 17rem); min-height: 2.75rem; padding: .6rem 1rem; font-size: .84rem; font-weight: 500;
    color: var(--inv-background); background: color-mix(in srgb, var(--inv-background) 8%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-shine) 70%, transparent);
}
.ps-countdown .inv-countdown__actions .inv-button:first-child { color: var(--inv-deep); background: var(--ps-sunset); box-shadow: none; font-weight: 600; }
.ps-countdown .inv-cal {
    --inv-cal-bg: var(--ps-paper); --inv-cal-mark: var(--inv-accent);
    max-width: 19rem; margin: 2.8rem auto 0; border-radius: 16px; overflow: hidden;
    box-shadow: 0 22px 40px -24px rgb(0 0 0 / .6);
}
.ps-countdown .inv-cal::before { content: ''; display: block; height: 5px; margin: -1px -1px .4rem; background: linear-gradient(90deg, var(--inv-dusk), var(--inv-soft), var(--inv-accent), var(--inv-shine)); }
.ps-countdown .inv-cal__month { font-family: var(--ps-serif); font-size: 1.5rem; font-weight: 500; font-style: italic; color: var(--inv-primary); }

/* wedding plan: written in the sand, a wave washing up under it */
.ps-plan { padding-top: 3.8rem; }
.ps-plan__sand {
    position: relative; isolation: isolate; overflow: hidden; max-width: 25rem; margin: 0 auto; padding: 2.2rem 1.2rem 5.2rem; border-radius: 26px;
    background:
        radial-gradient(80% 50% at 50% 20%, color-mix(in srgb, #fff 32%, transparent), transparent 75%),
        linear-gradient(180deg, color-mix(in srgb, #d9b27c 52%, var(--inv-background)), color-mix(in srgb, #c99c64 62%, var(--inv-background)));
    box-shadow: inset 0 2px 0 color-mix(in srgb, #fff 45%, transparent), inset 0 -30px 40px -30px color-mix(in srgb, #7a5530 45%, transparent), var(--ps-drop);
}
.ps-plan__sand::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
    background: var(--ps-grain) 0 0 / 160px 160px;
}
/* letters pressed into the sand: light on the lower edge, shade on the upper edge */
.ps-plan__label {
    margin: 0; font-family: var(--ps-serif); font-style: italic; font-weight: 500; font-size: 1.75rem; line-height: 1.15;
    color: color-mix(in srgb, var(--inv-accent) 55%, #5a3418);
    text-shadow: 0 1.5px 0 color-mix(in srgb, #fff 55%, transparent), 0 -1px 0 color-mix(in srgb, #4a2c10 30%, transparent);
}
.ps-plan__date {
    margin: .35rem 0 0; font-family: var(--ps-serif); font-weight: 600; font-size: 3.1rem; line-height: 1.02; letter-spacing: -.02em;
    color: var(--inv-primary); text-wrap: balance; overflow-wrap: anywhere; font-variation-settings: 'opsz' 120;
    text-shadow: 0 2px 0 color-mix(in srgb, #fff 50%, transparent), 0 -1px 0 color-mix(in srgb, #3c240c 35%, transparent);
}
.ps-plan__path { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: .3rem; max-width: 20rem; margin: 1.5rem auto 0; padding: 0; list-style: none; }
.ps-plan__step { display: flex; flex-direction: column; align-items: center; width: 5.4rem; }
.ps-plan__dot { width: 1.2rem; height: 1.2rem; border-radius: 50%; box-shadow: inset 0 0 0 2.5px color-mix(in srgb, #5a3418 70%, transparent), inset 0 2px 3px color-mix(in srgb, #3c240c 40%, transparent); }
.ps-plan__step--done .ps-plan__dot { background: var(--ps-sunset); box-shadow: 0 1px 0 color-mix(in srgb, #fff 50%, transparent); }
.ps-plan__step-name { margin-top: .35rem; font-family: var(--ps-serif); font-size: 1.05rem; font-weight: 600; line-height: 1.1; color: var(--inv-deep); }
.ps-plan__step-when { font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: color-mix(in srgb, #4a2c10 80%, transparent); }
/* a line drawn in the sand between the steps, footprints walking along it */
.ps-plan__line { position: relative; display: grid; place-items: center; height: 1.2rem; }
.ps-plan__line::before {
    content: ''; position: absolute; left: -1.4rem; right: -1.4rem; top: 50%; height: 2px; margin-top: -1px;
    background: radial-gradient(circle, color-mix(in srgb, #5a3418 65%, transparent) 1.1px, transparent 1.4px) left center / 7px 2px repeat-x;
}
.ps-plan__feet { position: relative; width: 1.8rem; margin-top: -.3rem; transform: rotate(90deg); color: color-mix(in srgb, #5a3418 55%, transparent); }
.ps-plan__wave { position: absolute; left: 0; bottom: 0; width: 100%; height: 3.8rem; overflow: visible; }
.ps-plan__wave-water { fill: color-mix(in srgb, var(--inv-primary) 55%, #7fcfc4); opacity: .9; }
.ps-plan__wave-foam { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; opacity: .9; }
.ps-plan__after { margin-top: 1.4rem; }
.ps-plan__city { display: inline-flex; align-items: center; gap: .4rem; margin: 0; padding: .3rem .95rem; border-radius: 999px; font-size: .86rem; font-weight: 500; color: #fff; background: var(--inv-primary); }
.ps-plan__city .ps-icon { width: 1rem; height: 1rem; color: var(--inv-shine); }
.ps-plan__note { max-width: 28ch; margin: .9rem auto 0; font-family: var(--ps-serif); font-style: italic; font-size: 1.12rem; line-height: 1.45; color: var(--inv-deep); }

/* rundown: the lighthouse with its beam, buoys on a fine line, the times in serif numerals */
.ps-rundown { padding-top: 4.6rem; }
.ps-rundown__light { position: absolute; right: 1.3rem; top: 2.3rem; width: 2.5rem; z-index: 0; pointer-events: none; }
.ps-rundown__lighthouse { width: 100%; }
.ps-rundown__beam {
    position: absolute; right: 50%; top: .55rem; width: 15rem; height: 3.4rem; transform-origin: 100% 50%;
    background: linear-gradient(270deg, color-mix(in srgb, var(--inv-shine) 55%, transparent), transparent 85%);
    clip-path: polygon(100% 44%, 0 0, 0 100%, 100% 56%); opacity: .55;
}
.ps-rundown .ps-heading { position: relative; z-index: 1; padding-right: 3rem; }
.ps-rundown__list { position: relative; margin: 0; padding: 0; list-style: none; text-align: left; }
.ps-rundown__list::before {
    content: ''; position: absolute; left: 4.95rem; top: .9rem; bottom: .9rem; width: 1px; transform-origin: top;
    background: linear-gradient(180deg, transparent, var(--inv-shine) 6%, var(--inv-shine) 94%, transparent);
}
.ps-rundown__item { position: relative; display: grid; grid-template-columns: 4rem 1.9rem minmax(0, 1fr); align-items: start; padding: 0 0 1.25rem; }
.ps-rundown__item:last-child { padding-bottom: 0; }
.ps-rundown__time { padding-top: .1rem; font-family: var(--ps-serif); font-size: 1.3rem; font-weight: 600; line-height: 1.1; text-align: right; font-variant-numeric: lining-nums tabular-nums; color: var(--inv-shine); }
.ps-rundown__buoy {
    justify-self: center; width: .95rem; height: .95rem; margin-top: .45rem; border-radius: 50%;
    background: linear-gradient(180deg, var(--inv-accent) 0 50%, #fff 50% 62%, var(--inv-accent) 62%);
    box-shadow: 0 0 0 3px var(--inv-deep), 0 0 0 4px color-mix(in srgb, var(--inv-shine) 60%, transparent);
}
.ps-rundown__body h3 { margin: .2rem 0 0; font-size: .98rem; font-weight: 500; line-height: 1.4; color: #fff; }
.ps-rundown__body p { margin: .15rem 0 0; font-size: .85rem; color: var(--ps-cream-muted); }

/* love story: a strip of sea down the left edge, a trail of footprints beside it, the chapters to the right */
.ps-story { padding-left: 1.4rem; }
.ps-story__list { position: relative; display: grid; gap: 1.8rem; margin: 0; padding: 0 0 0 2.7rem; list-style: none; text-align: left; }
.ps-story__list::before {
    content: ''; position: absolute; left: .55rem; top: 1.6rem; bottom: -1rem; width: 1.6rem; pointer-events: none;
    background: color-mix(in srgb, #8a6236 70%, transparent); opacity: .45;
    -webkit-mask: var(--ps-trail) center top / 1.6rem auto repeat-y; mask: var(--ps-trail) center top / 1.6rem auto repeat-y;
}
.ps-story__list::after {
    content: ''; position: absolute; left: -1.4rem; top: -1.4rem; bottom: -2rem; width: 1.05rem; pointer-events: none;
    background: linear-gradient(180deg, color-mix(in srgb, var(--inv-primary) 55%, #7fcfc4), var(--inv-primary));
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='120' viewBox='0 0 16 120'%3E%3Cpath d='M0 0H8C14 20 14 40 8 60S2 100 8 120H0Z'/%3E%3C/svg%3E") left top / 16px 120px repeat-y;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='120' viewBox='0 0 16 120'%3E%3Cpath d='M0 0H8C14 20 14 40 8 60S2 100 8 120H0Z'/%3E%3C/svg%3E") left top / 16px 120px repeat-y;
    opacity: .85;
}
.ps-story__item { position: relative; }
.ps-story__feet {
    position: absolute; left: -2.85rem; top: -.2rem; width: 2rem; padding: .3rem; border-radius: 50%;
    color: var(--ps-coral-ink); background: var(--inv-background); box-shadow: 0 0 0 1.5px var(--ps-line);
}
.ps-story__card { display: grid; gap: .9rem; align-items: center; }
.ps-story__item--photo .ps-story__card { grid-template-columns: 7.2rem minmax(0, 1fr); }
.ps-story__item--photo.ps-story__item--flip .ps-story__card { grid-template-columns: minmax(0, 1fr) 7.2rem; }
.ps-story__item--flip .ps-story__photo { order: 2; }
.ps-story__photo {
    display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; transform: rotate(-2deg);
    box-shadow: 0 0 0 4px #fff, 0 14px 24px -14px color-mix(in srgb, var(--inv-deep) 70%, transparent);
}
.ps-story__item--flip .ps-story__photo { transform: rotate(2deg); }
.ps-story__item:not(.ps-story__item--photo) .ps-story__card {
    padding: 1rem 1.1rem; border-radius: 16px; background: color-mix(in srgb, var(--inv-soft) 40%, #fff); box-shadow: inset 0 0 0 1px var(--ps-line);
}
.ps-story__when {
    display: inline-block; padding: .18rem .7rem; border-radius: 999px; font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--inv-deep); background: var(--ps-sunset);
}
.ps-story__body h3 { margin: .45rem 0 0; font-family: var(--ps-serif); font-style: italic; font-size: 1.5rem; font-weight: 500; line-height: 1.1; color: var(--inv-primary); }
.ps-story__body p { margin: .35rem 0 0; font-size: .88rem; line-height: 1.55; color: var(--ps-muted); }
.ps-story__heart { display: block; width: 2.6rem; margin: 1.8rem auto 0; color: var(--ps-coral-ink); overflow: visible; }

/* gallery: the first photo wide with an arched top, the others rounded with a thin gold ring */
.ps-gallery .inv-gallery { gap: .6rem; }
.ps-gallery .inv-gallery__item { border-radius: 14px; box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--inv-shine) 60%, transparent), 0 16px 28px -18px rgb(0 0 0 / .7); }
.ps-gallery .inv-gallery__item:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3.4; border-radius: 200px 200px 14px 14px; }

/* live streaming: an ocean card with a sunset edge */
.ps-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.6rem 1.4rem 1.4rem; border-radius: 20px; color: var(--inv-background); text-align: left;
    background: var(--ps-ocean); box-shadow: var(--ps-drop);
}
.ps-stream__card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--inv-dusk), var(--inv-soft), var(--inv-accent), var(--inv-shine)); }
.ps-stream__icon { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; color: var(--inv-deep); background: var(--ps-sunset); }
.ps-stream__icon .ps-icon { width: 1.7rem; height: 1.7rem; }
.ps-stream__title { margin: 0 0 .15rem; font-family: var(--ps-serif); font-size: 1.7rem; font-weight: 600; line-height: 1.05; color: #fff; }
.ps-stream__title em { font-weight: 500; color: var(--inv-shine); }
.ps-stream__text p { margin: 0; font-size: .86rem; color: var(--ps-cream-muted); }
.ps-stream__text .ps-stream__note { margin-top: .3rem; font-weight: 500; color: var(--inv-shine); }
.ps-stream__button { grid-column: 1 / -1; min-height: 2.75rem; color: var(--inv-deep) !important; background: var(--ps-sunset) !important; font-weight: 600; }

/* RSVP card: sand paper with a sunset edge */
.ps-rsvp__card {
    position: relative; overflow: hidden; padding: 2rem 1.15rem 1.4rem; border-radius: 20px; color: var(--inv-text); background: var(--ps-paper);
    box-shadow: 0 22px 40px -24px rgb(0 0 0 / .6);
}
.ps-rsvp__card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--inv-dusk), var(--inv-soft), var(--inv-accent), var(--inv-shine)); }
.ps-rsvp__intro { margin: 0 auto 1.1rem; max-width: 30ch; font-size: .9rem; color: var(--ps-muted); }
.ps-rsvp__sent { margin-bottom: 1rem; }
.ps-rsvp__check { display: block; width: 4.4rem; height: 4.4rem; margin: 0 auto .5rem; overflow: visible; }
.ps-rsvp__check-ring { fill: none; stroke: var(--inv-accent); stroke-width: 3; }
.ps-rsvp__check-disc { fill: var(--inv-primary); }
.ps-rsvp__check path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
html.inv-anim .ps-rsvp__sent .ps-rsvp__check { animation: ps-pop .8s cubic-bezier(.34, 1.56, .64, 1) both; }
html.inv-anim .ps-rsvp__sent .ps-rsvp__check path { animation: ps-draw .45s ease-out .35s both; }
.ps-rsvp__thanks { margin: 0; font-family: var(--ps-serif); font-style: italic; font-size: 1.9rem; font-weight: 500; color: var(--inv-primary); }
.ps-rsvp__line { margin: .1rem 0 0; font-size: .9rem; color: var(--ps-muted); }
.ps-rsvp .inv-rsvp__deadline { margin: 0 0 1rem; font-size: .84rem; font-weight: 500; color: var(--inv-primary); }

/* gift: the accounts as postcards with a sunset stamp in the corner, two per row */
.ps-gift__intro { color: var(--ps-cream-muted); }
.ps-gift .inv-gift__accounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 1.3rem; }
.ps-gift .inv-gift__account:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ps-gift .inv-gift__account,
.ps-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.6rem .75rem 1rem; border-radius: 10px; color: var(--inv-text); background: var(--ps-paper);
    box-shadow: inset 0 0 0 5px var(--ps-paper), inset 0 0 0 6px var(--ps-line), 0 18px 30px -20px rgb(0 0 0 / .6);
}
/* the stamp: a small sunset over the sea in a perforated frame */
.ps-gift .inv-gift__account::after {
    content: ''; position: absolute; right: .7rem; top: .7rem; width: 1.7rem; height: 2rem; border-radius: 2px;
    background:
        radial-gradient(circle at 50% 68%, color-mix(in srgb, #fff 50%, var(--inv-shine)) 0 26%, transparent 27%),
        linear-gradient(180deg, transparent 68%, var(--inv-primary) 68%),
        linear-gradient(180deg, var(--inv-dusk), var(--inv-soft) 40%, var(--inv-accent) 68%);
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px color-mix(in srgb, var(--inv-text) 22%, transparent);
}
/* the postmark: two wavy lines beside the stamp */
.ps-gift .inv-gift__account::before {
    content: ''; position: absolute; right: 2.6rem; top: 1.05rem; width: 2.6rem; height: 1rem; background: var(--ps-coral-ink); opacity: .35;
    -webkit-mask: var(--ps-wave-lines) left center / 48px 13px repeat-x; mask: var(--ps-wave-lines) left center / 48px 13px repeat-x;
}
.ps-gift .inv-gift__account p, .ps-gift .inv-gift__address p { margin: 0; }
.ps-gift .inv-gift__bank { font-weight: 600; font-size: .85rem; color: var(--inv-primary); }
.ps-gift .inv-gift__logo { height: 1.6rem; padding: .2rem .5rem; border-radius: .4rem; background: #fff; }
.ps-gift .inv-gift__logo img { max-width: 5rem; }
.ps-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);
}
.ps-gift .inv-gift__holder { font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ps-muted); overflow-wrap: anywhere; }
.ps-gift .inv-button { margin-top: .35rem; min-height: 2.25rem; padding: .35rem .9rem; font-size: .74rem; font-weight: 500; }
.ps-gift .inv-gift__address { margin-top: .75rem; padding-top: 1.2rem; font-size: .875rem; }
.ps-gift .inv-gift__address .inv-gift__holder { font-size: .72rem; }

/* co-hosts: the names in the serif, one per line, split by tiny shells of light, on the sunset band */
.ps-cohosts__list { display: flex; flex-direction: column; align-items: center; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.ps-cohosts__list li { max-width: 26ch; text-wrap: balance; font-family: var(--ps-serif); font-size: 1.3rem; font-weight: 600; line-height: 1.25; color: var(--inv-deep); }
.ps-cohosts__list li + li::before { content: ''; display: block; width: 1.4rem; height: .7rem; margin: 0 auto .55rem; border-radius: 1.4rem 1.4rem 0 0; background: var(--inv-deep); opacity: .55; }

/* contacts: rows with the initial on a sunset disc, and a WhatsApp button */
.ps-contacts__list { display: grid; gap: .75rem; max-width: 24rem; margin: 0 auto; }
.ps-contact {
    display: grid; grid-template-columns: 2.9rem minmax(0, 1fr) auto; align-items: center; gap: .8rem; padding: .65rem .7rem; border-radius: 16px;
    background: #fff; text-align: left; box-shadow: inset 0 0 0 1px var(--ps-line), 0 14px 26px -22px color-mix(in srgb, var(--inv-deep) 70%, transparent);
}
.ps-contact__avatar {
    display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%;
    font-family: var(--ps-serif); font-style: italic; font-size: 1.45rem; font-weight: 600; color: var(--inv-deep); background: var(--ps-sunset);
}
.ps-contact p { margin: 0; }
.ps-contact__name { font-weight: 600; font-size: .95rem; line-height: 1.3; overflow-wrap: anywhere; }
.ps-contact__role { font-size: .78rem; color: var(--ps-muted); }
.ps-contact__phone { font-size: .85rem; }
.ps-contact__button { min-height: 2.5rem; padding: .45rem .95rem; font-size: .8rem; font-weight: 500; }
.ps-contact__button .ps-icon { width: 1.05rem; height: 1.05rem; }

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

/* vendors: a white card of rows split by fine lines */
.ps-vendors__list { max-width: 24rem; margin: 0 auto; padding: .3rem 1.15rem; list-style: none; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--ps-line), var(--ps-drop); }
.ps-vendor { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .85rem 0; text-align: left; border-bottom: 1px dashed var(--ps-line); }
.ps-vendor:last-child { border-bottom: 0; }
.ps-vendor__text { display: flex; flex-direction: column; min-width: 0; }
.ps-vendor__role { font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ps-coral-ink); }
.ps-vendor__name { font-family: var(--ps-serif); font-size: 1.18rem; font-weight: 600; line-height: 1.2; color: var(--inv-primary); overflow-wrap: anywhere; }
.ps-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: 500; text-decoration: none; color: var(--inv-primary); box-shadow: inset 0 0 0 1px var(--ps-line);
}
.ps-vendor__link .ps-icon { width: .95rem; height: .95rem; }

/* closing at dusk: the full photo warmed at the top and fading into the evening sea, palms, the moon */
.ps-closing { padding: 3.1rem 1.6rem 1.1rem; }
.ps-closing--photo { padding-top: 0; }
.ps-closing__photo {
    position: relative; z-index: -1; height: min(92vw, 52svh, 23rem); margin: 0 -1.6rem; overflow: hidden;
    /* the foot of the photo melts into the evening sea, without an edge */
    -webkit-mask: linear-gradient(180deg, #000 0, #000 52%, rgb(0 0 0 / .55) 74%, rgb(0 0 0 / .18) 90%, transparent 100%);
    mask: linear-gradient(180deg, #000 0, #000 52%, rgb(0 0 0 / .55) 74%, rgb(0 0 0 / .18) 90%, transparent 100%);
}
.ps-closing__photo img { display: block; width: 100%; height: calc(100% + 60px); margin-top: -30px; object-fit: cover; object-position: center 30%; --inv-parallax: 30px; }
.ps-closing__photo::after {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(180deg, var(--inv-deep) 0, color-mix(in srgb, var(--inv-accent) 30%, transparent) 9%, transparent 28%),
        linear-gradient(180deg, transparent 42%, color-mix(in srgb, var(--inv-deep) 55%, transparent) 68%, var(--inv-deep) 97%);
    mix-blend-mode: normal;
}
.ps-closing__dusk {
    position: absolute; left: 0; right: 0; top: 0; z-index: -1; height: 17rem; pointer-events: none;
    background: linear-gradient(180deg, var(--inv-deep) 0, color-mix(in srgb, var(--inv-dusk) 45%, var(--inv-deep)) 25%, color-mix(in srgb, var(--inv-accent) 40%, var(--inv-deep)) 55%, var(--inv-deep));
}
.ps-closing__palm { position: absolute; z-index: 0; width: 9rem; pointer-events: none; color: color-mix(in srgb, var(--inv-deep) 70%, #000); }
.ps-closing--photo .ps-closing__palm { top: calc(min(92vw, 52svh, 23rem) - 8.3rem); }
.ps-closing:not(.ps-closing--photo) .ps-closing__palm { top: 3.6rem; }
.ps-closing__palm--left { left: -4rem; }
.ps-closing__palm--right { right: -4rem; transform: scaleX(-1); }
.ps-closing__body { position: relative; z-index: 1; }
.ps-closing--photo .ps-closing__body { margin-top: -4.5rem; }
/* a thin crescent moon with one star */
.ps-closing__moon { position: relative; display: block; width: 1.7rem; height: 1.7rem; margin: 0 auto .7rem; border-radius: 50%; box-shadow: inset -.46rem .2rem 0 0 var(--inv-shine); transform: rotate(-12deg); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--inv-shine) 60%, transparent)); }
.ps-closing__moon i { position: absolute; left: 1.95rem; top: -.2rem; width: .4rem; height: .4rem; background: #fff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.ps-closing__eyebrow { margin: 0 0 .3rem; font-size: .7rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--inv-shine); }
.ps-closing__title { margin: 0 0 .7rem; font-family: var(--ps-serif); font-size: clamp(1.9rem, 8.5vw, 2.4rem); font-weight: 600; line-height: 1; color: #fff; }
.ps-closing__title em { font-style: italic; font-weight: 500; color: var(--inv-shine); }
.ps-closing__message { margin: 0 auto; max-width: 32ch; font-size: .92rem; line-height: 1.6; color: var(--ps-cream-muted); }
.ps-closing__salam { margin: .75rem auto 0; max-width: 24ch; font-family: var(--ps-serif); font-size: 1.06rem; font-style: italic; font-weight: 400; line-height: 1.3; color: var(--inv-shine); }
.ps-closing__signature { margin: .75rem auto 0; max-width: 30ch; font-size: .86rem; color: var(--ps-cream-muted); }
.ps-closing__names { margin: 1.1rem 0 0; font-family: var(--ps-serif); font-style: italic; font-size: clamp(2.1rem, 9.5vw, 2.45rem); font-weight: 500; line-height: 1.05; color: #fff; }
.ps-closing__names .ps-amp { font-size: .8em; color: var(--inv-shine); }
.ps-closing__monogram {
    display: inline-flex; align-items: center; gap: .4rem; margin: .65rem 0 0; padding: .26rem .85rem; border-radius: 999px;
    font-family: var(--ps-serif); font-size: .9rem; font-weight: 600; letter-spacing: .14em; color: var(--inv-deep); background: var(--ps-sunset);
}
.ps-closing__monogram i { font-style: normal; opacity: .6; }
.ps-closing__waves {
    display: block; height: 1.2rem; margin: .8rem -1.6rem 0; background: var(--inv-shine); opacity: .22;
    -webkit-mask: var(--ps-wave-lines) center / 96px 26px repeat-x; mask: var(--ps-wave-lines) center / 96px 26px repeat-x;
}

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

/* the three answers as cards with icons (the radio dot is hidden but still focusable) */
.ps-rsvp .inv-form__choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.ps-rsvp .inv-form__choices legend { margin-bottom: .5rem; padding: 0; }
.ps-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: 14px; cursor: pointer; text-align: center;
    font-size: .84rem; font-weight: 500; line-height: 1.2; color: var(--inv-text); background: #fff;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-primary) 22%, transparent);
    transition: background-color .25s ease, color .25s ease, transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s ease;
}
.ps-rsvp .inv-form__choices input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
/* icon: a sunset disc (::before) with a check, a cross or a question mark in it (::after, a mask in the text colour) */
.ps-rsvp .inv-form__choices label::before {
    content: ''; width: 2.1rem; height: 2.1rem; border-radius: 50%; flex: none; background: color-mix(in srgb, var(--inv-soft) 60%, #fff);
    box-shadow: inset 0 0 0 2px var(--inv-accent);
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background-color .25s ease;
}
.ps-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(--ps-choice-icon) center / contain no-repeat; mask: var(--ps-choice-icon) center / contain no-repeat;
}
.ps-rsvp .inv-form__choices label:nth-of-type(1) {
    --ps-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");
}
.ps-rsvp .inv-form__choices label:nth-of-type(2) {
    --ps-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");
}
.ps-rsvp .inv-form__choices label:nth-of-type(3) {
    --ps-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");
}
.ps-rsvp .inv-form__choices label:has(input:checked) {
    color: #fff; background: linear-gradient(180deg, var(--inv-primary), var(--inv-deep)); 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);
}
.ps-rsvp .inv-form__choices label:has(input:checked)::before { background: var(--ps-sunset); box-shadow: none; transform: scale(1.1); }
.ps-rsvp .inv-form__choices label:has(input:checked)::after { color: var(--inv-deep); }
.ps-rsvp .inv-form__choices label:has(input:focus-visible) { outline: 2px solid var(--inv-accent); outline-offset: 3px; }

/* wishes: the form on a white card with a coral offset block, the wishes in a scroll box of about three */
.ps-wishes .inv-wishes { --inv-wishes-height: 20rem; }
.ps-wishes .inv-form {
    margin-right: 8px; padding: 1.3rem 1.1rem; border-radius: 16px; background: #fff;
    box-shadow: inset 0 0 0 1px var(--ps-line), 8px 8px 0 0 var(--inv-accent);
}
.ps-wishes .inv-wishes__list { margin-top: 1.4rem; }
.ps-wishes .inv-wishes:not(.inv-wishes--paged) .inv-wishes__list {
    padding: .55rem; border-radius: 16px; background: color-mix(in srgb, #fff 45%, transparent); box-shadow: inset 0 0 0 1px var(--ps-line);
}
.ps-wishes .inv-wish { padding: .75rem .9rem; border-radius: 12px; background: #fff; text-align: left; box-shadow: 0 2px 10px rgb(0 0 0 / .05); border-left: 3px solid var(--inv-accent); }
.ps-wishes .inv-wish__name { font-weight: 600; color: var(--inv-primary); }
.ps-wishes .inv-wish__message { font-size: .88rem; line-height: 1.5; }
.ps-wishes .inv-wish__time { font-size: .72rem; color: var(--ps-muted); }

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

/* ---------- 8. screen sizes ---------- */

/* short phones: the cover arch and type step down so everything fits without scrolling */
@media (max-height: 760px) {
    .ps-cover { --arch-w: min(68vw, 17rem, calc(var(--inv-screen, 100svh) * .45 / 1.4)); }
    .ps-cover__sky { padding-top: 1.4rem; }
    .ps-cover__art { margin-top: 1rem; }
    .ps-cover__names { font-size: 2.6rem; }
    .ps-cover__date { margin-top: .7rem; }
    .ps-cover__quote { margin-top: .6rem; font-size: .98rem; }
    .ps-cover__guest { margin-top: .75rem; }
    .ps-cover__open { margin-top: .8rem; }
    .ps-cover__sea { padding-bottom: 2.3rem; }
}
@media (max-height: 660px) {
    .ps-cover { --arch-w: min(62vw, calc(var(--inv-screen, 100svh) * .4 / 1.4)); }
    .ps-cover__sky { padding-top: 1.1rem; }
    .ps-cover__title { font-size: .66rem; }
    .ps-cover__art { margin-top: .8rem; }
    .ps-cover__sea { padding-top: calc(var(--arch-h) * .1 + .8rem); padding-bottom: 2.1rem; }
    .ps-cover__names { font-size: 2.3rem; }
    .ps-cover__date { margin-top: .6rem; padding: .26rem .85rem; font-size: .64rem; }
    .ps-cover__quote { font-size: .92rem; line-height: 1.3; }
    .ps-cover__guest { margin-top: .65rem; padding: .38rem .85rem .45rem; }
    .ps-cover__guest-name { font-size: 1.14rem; }
    .ps-cover__open { min-height: 2.75rem; margin-top: .7rem; padding: .6rem 1.7rem; }
}
/* very short screens (in-app browsers): a smaller arch and quote, so everything fits */
@media (max-height: 600px) {
    .ps-cover { --arch-w: min(54vw, calc(var(--inv-screen, 100svh) * .35 / 1.4)); }
    .ps-cover__names { font-size: 2.1rem; }
    .ps-cover__quote { font-size: .86rem; }
}

/* wide screens: the phone-width column on the ocean */
@media (min-width: 560px) {
    body.ps-body { background: var(--ps-ocean); background-attachment: fixed; }
    .ps-main { box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); }
}

/* ---------- 9. motion ---------- */
@keyframes ps-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ps-pop { 0% { transform: scale(0); } 55% { transform: scale(1.12); } 75% { transform: scale(.95); } 100% { transform: scale(1); } }
@keyframes ps-arch-in { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes ps-zoom-out { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes ps-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ps-sun-set { from { transform: translate(-50%, 30%); opacity: .55; } to { transform: translate(-50%, 50%); opacity: 1; } }
@keyframes ps-sway { from { transform: rotate(4deg); } to { transform: none; } }
@keyframes ps-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ps-wash { from { transform: translateY(70%); opacity: 0; } 60% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes ps-bob { 0% { transform: translateY(-10px) rotate(-11deg); } 55% { transform: translateY(3px) rotate(-5deg); } 100% { transform: rotate(-7deg); } }

/* cover (≤ 2.5 s, once): the sun sinks to the horizon and glows up (0–2 s), the arch fades up and its photo
   settles from a slight zoom (0.2–1.4 s), the gold outline draws itself (0.5–2 s), the fronds settle; the
   text follows through its inv-enter delays (1–2.3 s) */
html.inv-anim .ps-cover__sun { animation: ps-sun-set 2s cubic-bezier(.3, .6, .3, 1) both; }
html.inv-anim .ps-arch--cover { animation: ps-arch-in 1s cubic-bezier(.2, .7, .2, 1) .2s both; }
html.inv-anim .ps-arch--cover .ps-arch__photo { animation: ps-zoom-out 1.3s cubic-bezier(.2, .7, .2, 1) .2s both; }
html.inv-anim .ps-cover__outline path { stroke-dasharray: 1; animation: ps-draw 1.5s cubic-bezier(.45, .1, .3, 1) .5s both; }
html.inv-anim .ps-cover__fronds { animation: ps-sway 2s cubic-bezier(.3, .6, .3, 1) both; }
html.inv-anim .ps-cover__palm, html.inv-anim .ps-cover__lighthouse, html.inv-anim .ps-cover__gulls { animation: ps-fade 1.2s ease .3s both; }

/* section details that move once when their part is revealed */
html.inv-anim .ps-heading__wave path { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.inv-anim .ps-heading.is-revealed .ps-heading__wave path { animation: ps-draw 1.1s ease-out .35s both; }
html.inv-anim .ps-families__bottle.is-revealed .ps-families__glass { animation: ps-bob 1.6s cubic-bezier(.3, .6, .3, 1) .2s both; }
html.inv-anim .ps-plan__wave { transform: translateY(70%); opacity: 0; }
html.inv-anim .ps-plan__sand.is-revealed .ps-plan__wave { animation: ps-wash 1.4s cubic-bezier(.2, .7, .2, 1) .5s both; }
html.inv-anim .ps-story__heart path { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.inv-anim .ps-story__heart.is-revealed path { animation: ps-draw 1.4s ease-out .2s both; }

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

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

/* ---------- 10. intro scene "Pesan Botol di Ujung Senja" (scene.json + sections/_scene) ----------
   Just after sunset: twilight sky, the lighthouse beam, two trails of footprints and the bottle washing up;
   the names on the unrolled letter. The intro is teleported to <body>: everything here stands on its own classes. */
.ps-scene-sky {
    position: absolute; inset: 0;
    background:
        radial-gradient(70% 22% at 50% 50%, color-mix(in srgb, var(--inv-accent) 70%, var(--inv-shine)), transparent 70%),
        linear-gradient(180deg,
            color-mix(in srgb, var(--inv-deep) 82%, var(--inv-dusk)) 0%,
            color-mix(in srgb, var(--inv-dusk) 62%, var(--inv-deep)) 20%,
            color-mix(in srgb, var(--inv-dusk) 72%, var(--inv-soft)) 36%,
            color-mix(in srgb, var(--inv-soft) 70%, var(--inv-accent)) 45%,
            color-mix(in srgb, var(--inv-accent) 70%, var(--inv-shine)) 50%,
            color-mix(in srgb, var(--inv-primary) 60%, var(--inv-accent)) 50.5%, var(--inv-primary) 58%, var(--inv-deep) 80%);
}
.ps-scene-sky__moon {
    position: absolute; left: 17%; top: 9%; width: 2.6rem; height: 2.6rem; border-radius: 50%;
    box-shadow: inset -.7rem .3rem 0 0 color-mix(in srgb, #fff 45%, var(--inv-shine)); transform: rotate(-14deg);
    filter: drop-shadow(0 0 10px color-mix(in srgb, var(--inv-shine) 65%, transparent));
}
.ps-scene-sky__moon i {
    position: absolute; left: 3rem; top: -.3rem; width: .5rem; height: .5rem; background: #fff;
    clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.ps-scene-sky b { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: #fff; opacity: .75; box-shadow: 0 0 6px #fff; }
html.inv-anim .inv-intro--scene.is-playing .ps-scene-sky b { animation: ps-scene-twinkle 2.4s ease-in-out var(--d) infinite alternate; }
@keyframes ps-scene-twinkle { from { opacity: .2; } to { opacity: .9; } }
.ps-scene-sky__gulls { position: absolute; right: 30%; top: 33%; width: 2.6rem; color: color-mix(in srgb, var(--inv-deep) 60%, transparent); }
/* the calm evening sea: the afterglow on the horizon, drifting wave lines */
.ps-scene-sea {
    position: absolute; inset: 0; overflow: hidden;
    background:
        radial-gradient(60% 14% at 50% 0%, color-mix(in srgb, var(--inv-shine) 60%, transparent), transparent),
        linear-gradient(180deg, color-mix(in srgb, var(--inv-primary) 60%, var(--inv-accent)) 0, var(--inv-primary) 16%, var(--inv-deep) 60%);
}
.ps-scene-sea::before {
    content: ''; position: absolute; left: 25%; right: 25%; top: 0; height: 40%;
    background: repeating-linear-gradient(180deg, transparent 0 8px, color-mix(in srgb, var(--inv-shine) 50%, transparent) 8px 10px);
    -webkit-mask: radial-gradient(50% 100% at 50% 0, #000, transparent); mask: radial-gradient(50% 100% at 50% 0, #000, transparent);
}
.ps-scene-sea span {
    position: absolute; inset: 0 -96px 0 0; background: #fff; opacity: .1;
    -webkit-mask: var(--ps-wave-lines) 0 6px / 96px 26px repeat; mask: var(--ps-wave-lines) 0 6px / 96px 26px repeat;
}
html.inv-anim .inv-intro--scene.is-playing .ps-scene-sea span { animation: ps-scene-drift 5s linear infinite; }
@keyframes ps-scene-drift { to { transform: translateX(-96px); } }
/* the lighthouse on its rock, its beam sweeping over the sea */
.ps-scene-lighthouse { position: relative; }
.ps-scene-lighthouse__art { width: 100%; height: auto; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--inv-shine) 40%, transparent)); }
.ps-scene-lighthouse__art .ps-lighthouse__lamp { fill: #fff; }
.ps-scene-lighthouse__beam {
    position: absolute; right: 50%; top: 19%; width: 115vw; height: 4.5rem; transform: translateY(-50%); transform-origin: 100% 50%;
    background: linear-gradient(270deg, color-mix(in srgb, #fff 70%, var(--inv-shine)), color-mix(in srgb, var(--inv-shine) 30%, transparent) 45%, transparent);
    clip-path: polygon(0 0, 100% 46%, 100% 54%, 0 100%); opacity: .7; pointer-events: none;
}
html.inv-anim .inv-intro--scene.is-playing .ps-scene-lighthouse__beam { animation: ps-scene-beam 4.2s ease-in-out infinite alternate; }
@keyframes ps-scene-beam {
    from { transform: translateY(-50%) rotate(-9deg) scaleX(1); opacity: .75; }
    50% { transform: translateY(-50%) rotate(0deg) scaleX(.35); opacity: .2; }
    to { transform: translateY(-50%) rotate(8deg) scaleX(1); opacity: .75; }
}
/* the sand: wet edge, dry sand, the foam line breathing up and down */
.ps-scene-sand { display: block; width: 100%; height: 100%; overflow: visible; }
.ps-scene-sand__wet { fill: color-mix(in srgb, var(--ps-sand) 70%, #8a6236); }
.ps-scene-sand__dry { fill: var(--ps-sand); }
.ps-scene-sand__foam { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: .9; }
html.inv-anim .inv-intro--scene.is-playing .ps-scene-sand__foam { animation: ps-scene-foam 3.2s ease-in-out infinite alternate; }
@keyframes ps-scene-foam { from { transform: translateY(0); opacity: .9; } to { transform: translateY(2px); opacity: .45; } }
/* footprints pressed into the sand one by one */
.ps-scene-trails { position: absolute; inset: 0; }
.ps-scene-trails__step {
    position: absolute; width: clamp(.85rem, 4vw, 1.15rem); height: auto; transform: rotate(var(--r));
    fill: color-mix(in srgb, #8a6236 70%, var(--ps-sand)); opacity: .8;
}
html.inv-anim .inv-intro--scene.is-playing .ps-scene-trails__step { opacity: 0; animation: ps-scene-step .5s ease-out var(--d) forwards; }
@keyframes ps-scene-step { from { opacity: 0; transform: rotate(var(--r)) scale(1.4); } to { opacity: .8; transform: rotate(var(--r)) scale(1); } }
/* the bottle, the palm silhouettes, the shell and the starfish */
.ps-scene-bottle__art { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 12px color-mix(in srgb, var(--inv-shine) 45%, transparent)); }
.ps-scene-silhouette { color: color-mix(in srgb, var(--inv-deep) 45%, #05080c); filter: drop-shadow(0 0 1px color-mix(in srgb, var(--inv-shine) 35%, transparent)); }
.ps-scene-silhouette > svg { display: block; width: 100%; height: auto; }
.ps-scene-silhouette .ps-palm__rings { stroke: color-mix(in srgb, #fff 12%, transparent); }
.ps-scene-piece > svg { display: block; width: 100%; height: auto; }
/* the name card = the letter out of the bottle, unrolled between its two rolled edges */
body.ps-body .inv-intro--scene .inv-scene__card {
    -webkit-mask: none; mask: none; -webkit-backdrop-filter: none; backdrop-filter: none;
    aspect-ratio: 5 / 5.6; padding: 2.4rem 1.4rem; border-radius: 2px;
    background:
        linear-gradient(90deg, color-mix(in srgb, #8a6236 12%, transparent), transparent 12%, transparent 88%, color-mix(in srgb, #8a6236 12%, transparent)),
        linear-gradient(180deg, color-mix(in srgb, var(--inv-background) 72%, #fff), color-mix(in srgb, var(--inv-background) 84%, #d9b27c));
    box-shadow: 0 30px 50px -22px rgb(0 0 0 / .75);
}
body.ps-body .inv-intro--scene .inv-scene__card::before, body.ps-body .inv-intro--scene .inv-scene__card::after {
    content: ''; position: absolute; left: -.6rem; right: -.6rem; height: 1.2rem; border-radius: 999px;
    background: linear-gradient(180deg, #f6e6c6, #fff7e8 30%, #dcc092 70%, #b8935f); box-shadow: 0 4px 8px -3px rgb(0 0 0 / .45);
}
body.ps-body .inv-intro--scene .inv-scene__card::before { top: -.6rem; }
body.ps-body .inv-intro--scene .inv-scene__card::after { bottom: -.6rem; }
@media (prefers-reduced-motion: no-preference) {
    body.ps-body .inv-intro--scene.is-playing .inv-scene__card { animation-name: ps-scene-unroll; }
    body.ps-body .inv-intro--scene.is-playing .inv-scene__card::before { animation: ps-scene-roll-top 1.4s cubic-bezier(.2, .7, .2, 1) var(--scene-card-at, 3.5s) both; }
    body.ps-body .inv-intro--scene.is-playing .inv-scene__card::after { animation: ps-scene-roll-bottom 1.4s cubic-bezier(.2, .7, .2, 1) var(--scene-card-at, 3.5s) both; }
}
@keyframes ps-scene-unroll {
    from { opacity: 0; transform: translate(-50%, -46%) scale(.94); clip-path: inset(calc(50% - .6rem) -1rem); }
    20% { opacity: 1; }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); clip-path: inset(-1rem -1rem); }
}
@keyframes ps-scene-roll-top { from { top: calc(50% - .6rem); } to { top: -.6rem; } }
@keyframes ps-scene-roll-bottom { from { bottom: calc(50% - .6rem); } to { bottom: -.6rem; } }
body.ps-body .inv-scene__card .inv-intro__label { font-family: var(--ps-sans); font-size: .68rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--ps-coral-ink); }
body.ps-body .inv-scene__card .inv-intro__names { font-family: var(--ps-serif) !important; font-style: italic; font-weight: 500; line-height: 1.05; color: var(--inv-primary); overflow-wrap: anywhere; }
body.ps-body .inv-scene__card .inv-intro__rule { height: 1px; width: 5rem; background: repeating-linear-gradient(90deg, color-mix(in srgb, #8a6236 55%, transparent) 0 5px, transparent 5px 9px); }
body.ps-body .inv-scene__card .inv-intro__date { font-family: var(--ps-sans); font-size: .82rem; font-weight: 500; letter-spacing: .06em; color: var(--ps-muted); white-space: nowrap; }
@media (max-height: 700px) {
    body.ps-body .inv-intro--scene .inv-scene__card { aspect-ratio: 1 / 1; padding: 1.8rem 1.2rem; }
}
