/*
 * Template "Syukuran Islami" (Syukuran & Rumah Baru) — a grateful Islamic tasyakuran with Indonesian tradition.
 * Deep emerald (navy / maroon / sage in the variants) + metallic gold + warm ivory + a turmeric-yellow accent.
 * Gold text only on dark grounds; on light grounds the text is the deep primary and gold is used for lines.
 * Signature pieces: the tumpeng on its tampah (sections/_tumpeng), woven ketupat (sections/_ketupat), brass
 * lanterns (sections/_lantern), photos in mihrab arches with a gold band of 8-point stars (sections/_mihrab),
 * 8-point star seals (sections/_seal), a faint girih print and gold star bands on the deep sections.
 * Mobile-first, one column (~460px) on a deep backdrop on wide screens.
 *
 * Colours come from the chosen colour variant (template.json → <x-inv.head>):
 *   --inv-primary (emerald / navy / maroon / sage: titles, buttons, frames)
 *   --inv-accent (turmeric: tags, washes behind words, buttons on dark; text on it is always --inv-deep)
 *   --inv-background (ivory)   --inv-text   --inv-deep (dark bands)   --inv-shine (gold on dark grounds)
 *   --inv-gold (gold lines on light grounds)   --inv-soft (sand tint for panels and the sand tone)
 *
 * Section tones (set on each section in its partial): .si-tone--light (ivory), --sand, --deep.
 * 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 tones & photo backgrounds · 3 shared pieces (heading, rule, seal, mihrab, tumpeng,
 *           ketupat, lantern) · 4 cover · 5 sections in page order · 6 forms · 7 shared components ·
 *           8 screen sizes · 9 motion · 10 intro scene
 */

/* ---------- 1. base ---------- */
:root {
    /* defaults = the "Zamrud Emas" variant (the variant's colours override these) */
    --inv-primary: #0f5c45;
    --inv-accent: #e2a426;
    --inv-background: #fbf6e9;
    --inv-text: #1a2a22;
    --inv-deep: #0a3a2c;
    --inv-shine: #edc96e;
    --inv-gold: #a97c25;
    --inv-soft: #f2e4c2;
    --inv-radius: 14px;

    --si-serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
    --si-sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --si-col: 460px;
    --si-paper: color-mix(in srgb, #fff 70%, var(--inv-background));
    --si-title: color-mix(in srgb, var(--inv-primary) 78%, var(--inv-deep));
    --si-muted: color-mix(in srgb, var(--inv-text) 82%, var(--inv-background));
    --si-ivory-muted: color-mix(in srgb, var(--inv-background) 86%, transparent);
    --si-ring: color-mix(in srgb, var(--inv-primary) 20%, transparent);
    --si-metal: linear-gradient(135deg, color-mix(in srgb, var(--inv-shine) 55%, #fff) 0%, var(--inv-shine) 35%, color-mix(in srgb, var(--inv-shine) 62%, var(--inv-gold)) 62%, color-mix(in srgb, var(--inv-shine) 80%, #fff) 100%);
    --si-drop: 0 22px 40px -22px color-mix(in srgb, var(--inv-deep) 75%, transparent);

    /* the pointed mihrab arch (stretched to any box) */
    --si-arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V46C0 24 18 10 50 0 82 10 100 24 100 46V100Z'/%3E%3C/svg%3E");
    /* girih print: 8-point stars touching at their points (the gaps read as crosses), a small diamond inside */
    --si-girih: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%23000' stroke-width='1'%3E%3Cpath d='M20 .5L25.9 5.9H34.1V14.1L39.5 20L34.1 25.9V34.1H25.9L20 39.5L14.1 34.1H5.9V25.9L.5 20L5.9 14.1V5.9H14.1Z'/%3E%3Cpath d='M20 12L28 20L20 28L12 20Z'/%3E%3C/g%3E%3C/svg%3E");
    /* a band of small 8-point stars between two rules (repeats sideways) */
    --si-band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M0 .75H28M0 13.25H28' stroke='%23000' stroke-width='1.5'/%3E%3Cpath d='M14 2.3L15.4 3.6H17.4V5.6L18.7 7L17.4 8.4V10.4H15.4L14 11.7L12.6 10.4H10.6V8.4L9.3 7L10.6 5.6V3.6H12.6Z'/%3E%3Ccircle cx='0' cy='7' r='1.6'/%3E%3Ccircle cx='28' cy='7' r='1.6'/%3E%3C/svg%3E");
    /* star print for the arch band (dense) */
    --si-stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6L9.9 3.5H12.5V6.1L14.4 8L12.5 9.9V12.5H9.9L8 14.4L6.1 12.5H3.5V9.9L1.6 8L3.5 6.1V3.5H6.1Z' fill='none' stroke='%23000' stroke-width='1.1'/%3E%3C/svg%3E");
    /* the 8-point star (two overlapping squares) as a clip-path */
    --si-octagram: polygon(50% 0%, 64.64% 14.64%, 85.36% 14.64%, 85.36% 35.36%, 100% 50%, 85.36% 64.64%, 85.36% 85.36%, 64.64% 85.36%, 50% 100%, 35.36% 85.36%, 14.64% 85.36%, 14.64% 64.64%, 0% 50%, 14.64% 35.36%, 14.64% 14.64%, 35.36% 14.64%);

    /* 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(--si-sans);
    font-size: 15px;
    line-height: 1.65;
    font-variant-numeric: lining-nums;
    -webkit-font-smoothing: antialiased;
}

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

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

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

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

.si-arabic { font-family: 'Amiri', 'Traditional Arabic', serif; line-height: 1.95; color: var(--inv-primary); }
.si-amp { font-family: var(--si-serif); font-style: italic; font-weight: 600; color: var(--inv-gold); }

/* ---------- 2. section tones & photo backgrounds ---------- */

/* light: warm ivory with a turmeric glow in one corner, a sand glow in the other, and the faint girih print */
.si-tone--light {
    background:
        radial-gradient(70% 30% at 100% 0%, color-mix(in srgb, var(--inv-accent) 18%, transparent), transparent 75%),
        radial-gradient(70% 34% at 0% 100%, color-mix(in srgb, var(--inv-soft) 85%, transparent), transparent 75%),
        var(--inv-background);
}
/* sand: a warm wash of the sand colour */
.si-tone--sand {
    background:
        radial-gradient(80% 40% at 50% 0%, color-mix(in srgb, #fff 45%, transparent), transparent 75%),
        linear-gradient(180deg, var(--inv-soft), color-mix(in srgb, var(--inv-soft) 55%, var(--inv-background)));
}
.si-tone--light::before, .si-tone--sand::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--inv-primary); opacity: .06;
    -webkit-mask: var(--si-girih) center top / 40px 40px repeat; mask: var(--si-girih) center top / 40px 40px repeat;
}

/* deep: the band colour with a glow of the primary, a warm low light, the girih print in gold and a gold band of
   stars along the top edge */
.si-tone--deep {
    color: var(--inv-background);
    background:
        radial-gradient(90% 45% at 15% 0%, color-mix(in srgb, var(--inv-primary) 95%, transparent), transparent 75%),
        radial-gradient(70% 30% at 90% 100%, color-mix(in srgb, var(--inv-shine) 18%, transparent), transparent 75%),
        var(--inv-deep);
}
.si-tone--deep::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--inv-shine); opacity: .08;
    -webkit-mask: var(--si-girih) center top / 40px 40px repeat; mask: var(--si-girih) center top / 40px 40px repeat;
}
.si-tone--deep::after {
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 14px; z-index: 0; pointer-events: none;
    background: var(--inv-shine); opacity: .85;
    -webkit-mask: var(--si-band) center top / 28px 14px repeat-x; mask: var(--si-band) center top / 28px 14px repeat-x;
}
.si-tone--deep a:not(.inv-button) { color: var(--inv-shine); }
.si-tone--deep .si-arabic { color: var(--inv-shine); }

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

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

/* section heading: an eyebrow between two tiny stars, a big serif title, the italic word over a turmeric wash,
   an ornament rule (line · star · line) */
.si-heading { margin: 0 0 2.1rem; }
.si-heading--left { text-align: left; }
.si-heading__eyebrow {
    display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 .5rem;
    font-size: .7rem; font-weight: 600; line-height: 1.2; letter-spacing: .26em; text-transform: uppercase; color: var(--inv-primary);
}
.si-heading__eyebrow::before, .si-heading__eyebrow::after {
    content: ''; width: .6rem; height: .6rem; flex: none; background: var(--inv-gold); clip-path: var(--si-octagram);
}
.si-heading__title {
    margin: 0; font-family: var(--si-serif); font-size: 2.75rem; font-weight: 600; line-height: 1.02;
    letter-spacing: -.005em; color: var(--si-title); text-wrap: balance;
}
.si-heading__title em {
    position: relative; display: inline-block; font-style: italic; font-weight: 600; color: var(--inv-primary); padding: 0 .08em;
}
.si-heading__title em::after {
    content: ''; position: absolute; left: -.06em; right: -.06em; bottom: .06em; height: .36em; z-index: -1; border-radius: .2em .5em .3em .6em;
    background: color-mix(in srgb, var(--inv-accent) 45%, transparent);
}
.si-heading__rule, .si-rule { position: relative; display: block; width: 8.5rem; height: 12px; margin: .9rem auto 0; }
.si-heading--left .si-heading__rule { margin-left: 0; }
.si-heading__rule::before, .si-rule::before {
    content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; transform-origin: center;
    background: linear-gradient(90deg, transparent, var(--inv-gold) 20%, var(--inv-gold) 80%, transparent);
}
.si-heading--left .si-heading__rule::before { transform-origin: left; background: linear-gradient(90deg, var(--inv-gold), var(--inv-gold) 70%, transparent); }
.si-heading__rule i, .si-rule i {
    position: absolute; left: 50%; top: 0; width: 12px; height: 12px; margin-left: -6px; background: var(--inv-gold); clip-path: var(--si-octagram);
}
.si-heading--left .si-heading__rule i { left: 2.2rem; }
.si-heading__rule i::after, .si-rule i::after { content: ''; position: absolute; inset: 3.5px; border-radius: 50%; background: var(--inv-background); }
.si-tone--sand .si-heading__rule i::after, .si-tone--sand .si-rule i::after { background: var(--inv-soft); }

.si-tone--deep .si-heading__eyebrow { color: var(--inv-shine); }
.si-tone--deep .si-heading__eyebrow::before, .si-tone--deep .si-heading__eyebrow::after { background: var(--inv-shine); }
.si-tone--deep .si-heading__title { color: #fff; }
.si-tone--deep .si-heading__title em { color: var(--inv-shine); }
.si-tone--deep .si-heading__title em::after { height: .14em; bottom: .02em; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--inv-shine) 20%, var(--inv-shine) 80%, transparent); opacity: .5; }
.si-tone--deep :is(.si-heading__rule, .si-rule)::before { background: linear-gradient(90deg, transparent, var(--inv-shine) 20%, var(--inv-shine) 80%, transparent); }
.si-tone--deep .si-heading--left .si-heading__rule::before { background: linear-gradient(90deg, var(--inv-shine), var(--inv-shine) 70%, transparent); }
.si-tone--deep :is(.si-heading__rule, .si-rule) i { background: var(--inv-shine); }
.si-tone--deep :is(.si-heading__rule, .si-rule) i::after { background: var(--inv-deep); }

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

/* the 8-point star seal (sections/_seal): a metal star with a deep star inside and the text on it */
.si-seal {
    --seal: 3rem;
    position: relative; display: inline-grid; place-items: center; width: var(--seal); height: var(--seal); flex: none;
    background: var(--si-metal); clip-path: var(--si-octagram);
}
.si-seal__inner {
    display: grid; place-items: center; width: 82%; height: 82%; clip-path: var(--si-octagram);
    background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--inv-primary) 80%, #fff), var(--inv-deep) 75%);
}
.si-seal__text {
    font-family: var(--si-serif); font-weight: 700; font-size: calc(var(--seal) * .32); line-height: 1; white-space: nowrap; color: var(--inv-shine);
}
.si-seal--long .si-seal__text { font-size: calc(var(--seal) * .22); }
.si-seal__dot { width: 38%; height: 38%; background: var(--si-metal); clip-path: var(--si-octagram); }

/* the mihrab arch photo frame (sections/_mihrab): a gold band of stars in the arch shape, the photo window
   inside it, a fine gold line outside; --arch-w size, --arch-ratio shape, --arch-pos crop, --arch-band width */
.si-mihrab {
    --arch-w: 12rem; --arch-ratio: 5 / 7; --arch-pos: center 35%; --arch-band: 9px;
    position: relative; width: var(--arch-w); margin: 0; flex: none;
    filter: drop-shadow(0 22px 24px color-mix(in srgb, var(--inv-deep) 45%, transparent));
}
.si-mihrab__line {
    position: absolute; inset: -9px -9px 0; width: calc(100% + 18px); height: calc(100% + 9px); overflow: visible; pointer-events: none;
    fill: none; stroke: var(--inv-gold); stroke-width: 1.4;
}
.si-mihrab__band {
    position: relative; aspect-ratio: var(--arch-ratio);
    background: var(--si-metal);
    -webkit-mask: var(--si-arch) 0 0 / 100% 100% no-repeat; mask: var(--si-arch) 0 0 / 100% 100% no-repeat;
}
.si-mihrab__band::before {
    content: ''; position: absolute; inset: 0; background: var(--inv-deep); opacity: .55;
    -webkit-mask: var(--si-stars) center / 12px 12px repeat; mask: var(--si-stars) center / 12px 12px repeat;
}
.si-mihrab__window {
    position: absolute; inset: var(--arch-band); overflow: hidden; background: var(--inv-primary);
    -webkit-mask: var(--si-arch) 0 0 / 100% 100% no-repeat; mask: var(--si-arch) 0 0 / 100% 100% no-repeat;
}
.si-mihrab__window::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--inv-deep) 50%, transparent), inset 0 -40px 40px -30px color-mix(in srgb, var(--inv-deep) 40%, transparent);
}
.si-mihrab__photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--arch-pos); }
.si-mihrab__empty {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .5rem; padding: 0 8% 10%;
    background:
        radial-gradient(70% 38% at 50% 70%, color-mix(in srgb, var(--inv-shine) 55%, transparent), transparent 72%),
        linear-gradient(180deg, var(--inv-deep), var(--inv-primary) 60%, color-mix(in srgb, var(--inv-primary) 70%, var(--inv-accent)));
}
.si-mihrab__empty::before {
    content: ''; position: absolute; inset: 0; background: var(--inv-shine); opacity: .14;
    -webkit-mask: var(--si-girih) center / 30px 30px repeat; mask: var(--si-girih) center / 30px 30px repeat;
}
.si-mihrab__tumpeng { position: relative; width: 92%; }
.si-mihrab__monogram {
    position: relative; font-family: var(--si-serif); font-style: italic; font-weight: 600; line-height: 1; white-space: nowrap;
    font-size: calc(var(--arch-w) * .15); color: var(--inv-shine);
}

/* the tumpeng, ketupat and lantern artwork */
.si-tumpeng, .si-ketupat, .si-lantern { display: block; overflow: visible; }
.si-ketupat__cord { stroke: var(--inv-gold); }
.si-tone--deep .si-ketupat__cord, .si-cover .si-ketupat__cord { stroke: var(--inv-shine); }
.si-lantern__chain { stroke: var(--inv-gold); }
.si-tone--deep .si-lantern__chain, .si-cover .si-lantern__chain { stroke: var(--inv-shine); }
.si-hang { transform-origin: 50% 0; }

/* a stretched arch outline (opening panel, closing): two gold lines */
.si-archline { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; fill: none; stroke: var(--inv-gold); stroke-width: 1.5; }

/* ---------- 4. cover ---------- */
.si-cover {
    --arch-cover: min(58vw, 14.5rem, calc(40svh * .714));
    position: fixed; inset: 0; z-index: 30; overflow-x: hidden; overflow-y: auto;
    display: flex; flex-direction: column; align-items: center; justify-content: safe center;
    min-height: 100svh; padding: 1.7rem 1.4rem 2.2rem;
    isolation: isolate; color: var(--inv-background);
    background:
        radial-gradient(80% 40% at 50% 30%, color-mix(in srgb, var(--inv-shine) 26%, transparent), transparent 72%),
        radial-gradient(90% 45% at 0% 0%, color-mix(in srgb, var(--inv-primary) 95%, transparent), transparent 75%),
        radial-gradient(70% 35% at 100% 100%, color-mix(in srgb, var(--inv-primary) 80%, transparent), transparent 75%),
        var(--inv-deep);
    transition: opacity .9s ease;
}
.si-cover::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .09; background: var(--inv-shine);
    -webkit-mask: var(--si-girih) center top / 40px 40px repeat; mask: var(--si-girih) center top / 40px 40px repeat;
}
.si-cover__band {
    position: absolute; left: 0; right: 0; bottom: 0; height: 14px; pointer-events: none; background: var(--inv-shine); opacity: .85;
    -webkit-mask: var(--si-band) center / 28px 14px repeat-x; mask: var(--si-band) center / 28px 14px repeat-x;
}
.si-cover__inner { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 400px; text-align: center; transition: transform .9s cubic-bezier(.5, 0, .3, 1); }

/* the lanterns hang from the top edge, in the empty corners beside the arch */
.si-cover__lamp { position: absolute; top: 0; width: clamp(2rem, 9vw, 2.6rem); z-index: -1; }
.si-cover__lamp--left { left: max(4vw, calc(50% - 12.5rem)); height: auto; }
.si-cover__lamp--right { right: max(4vw, calc(50% - 12.5rem)); top: -1.3rem; width: clamp(1.8rem, 8vw, 2.3rem); }

.si-cover__title {
    display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 .9rem;
    font-size: .72rem; font-weight: 600; line-height: 1.2; letter-spacing: .28em; text-transform: uppercase; color: var(--inv-shine);
}
.si-cover__title::before, .si-cover__title::after { content: ''; width: 1.5rem; height: 1px; background: linear-gradient(90deg, transparent, var(--inv-shine)); }
.si-cover__title::after { transform: scaleX(-1); }

.si-cover__art { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 1.1rem; }
.si-mihrab--cover { --arch-w: var(--arch-cover); --arch-ratio: 5 / 7; --arch-pos: 46% 34%; --arch-band: 8px; }
.si-cover .si-mihrab__line { stroke: var(--inv-shine); }
/* the monogram seal crowns the arch (it stands on the apex, above the photo) */
.si-cover__seal { --seal: 3.1rem; position: absolute; z-index: 2; top: -.45rem; left: 50%; margin-left: calc(var(--seal) / -2); }
/* the tumpeng stands at the right foot of the arch, only over the band edge */
.si-cover__tumpeng { position: absolute; z-index: 2; bottom: -.7rem; right: calc(var(--arch-cover) * -.42); width: calc(var(--arch-cover) * .62); filter: drop-shadow(0 10px 10px rgb(0 0 0 / .35)); }
.si-cover__art:has(.si-mihrab__empty) .si-cover__tumpeng { display: none; }

.si-cover__name {
    margin: 1.1rem 0 0; max-width: 16ch; font-family: var(--si-serif); font-size: 2.35rem; font-weight: 600; line-height: 1.02;
    color: #fff; text-wrap: balance; overflow-wrap: anywhere;
}
.si-cover__date {
    display: inline-flex; align-items: center; gap: .55rem; margin: .55rem 0 0;
    font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--inv-shine);
}
.si-cover__quote {
    max-width: 32ch; margin: .4rem 0 0; font-family: var(--si-serif); font-style: italic; font-weight: 500;
    font-size: 1.08rem; line-height: 1.32; color: var(--si-ivory-muted);
}
.si-cover__guest {
    position: relative; width: min(100%, 19rem); margin: .9rem 0 0; padding: .5rem 1rem .6rem; border-radius: 14px;
    background: color-mix(in srgb, var(--inv-background) 8%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-shine) 55%, transparent);
}
.si-cover__guest p { margin: 0; font-size: .62rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--inv-shine); }
.si-cover__guest-name { display: block; font-family: var(--si-serif); font-size: 1.32rem; font-weight: 600; line-height: 1.2; color: #fff; overflow-wrap: anywhere; }
.si-cover__open {
    margin-top: 1rem; min-height: 3rem; padding: .7rem 2rem; font-weight: 600; letter-spacing: .04em;
    color: var(--inv-deep); background: linear-gradient(180deg, color-mix(in srgb, var(--inv-accent) 70%, #fff), var(--inv-accent));
    box-shadow: 0 0 0 3px var(--inv-deep), 0 0 0 4.5px color-mix(in srgb, var(--inv-shine) 80%, transparent), 0 16px 26px -12px rgb(0 0 0 / .6);
}

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

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

/* opening: two lanterns, a tall mihrab panel with a double gold line, the quote on a white panel */
.si-opening { padding: 3.6rem 1.5rem 4.4rem; }
.si-opening__lamp { position: absolute; top: 0; width: 2.4rem; }
.si-opening__lamp--left { left: 1rem; }
.si-opening__lamp--right { right: 1.1rem; top: -1rem; width: 2rem; }
.si-opening__panel {
    position: relative; max-width: 20.5rem; margin: 1.4rem auto 0; padding: 4.6rem 1.5rem 2.2rem;
}
.si-opening__panel::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, color-mix(in srgb, #fff 80%, transparent), color-mix(in srgb, var(--inv-background) 70%, transparent));
    -webkit-mask: var(--si-arch) 0 0 / 100% 100% no-repeat; mask: var(--si-arch) 0 0 / 100% 100% no-repeat;
}
.si-opening__panel .si-archline { inset: -8px -8px 0; width: calc(100% + 16px); height: calc(100% + 8px); stroke-width: 1; }
.si-opening__panel > .si-archline + .si-seal + * { margin-top: 0; }
.si-opening__panel::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: var(--inv-gold);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M.5 100V46C.5 24 18 10.5 50 .6 82 10.5 99.5 24 99.5 46V100' fill='none' stroke='%23000' stroke-width='2.4' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M.5 100V46C.5 24 18 10.5 50 .6 82 10.5 99.5 24 99.5 46V100' fill='none' stroke='%23000' stroke-width='2.4' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.si-opening__seal { --seal: 2.4rem; position: absolute; left: 50%; top: 1.6rem; margin-left: -1.2rem; }
.si-opening__basmalah { margin: 0 0 .5rem; font-size: 1.9rem; }
.si-opening__greeting { margin: 0 auto .8rem; max-width: 20ch; font-family: var(--si-serif); font-size: 1.6rem; font-weight: 600; font-style: italic; line-height: 1.2; color: var(--si-title); }
.si-opening__message { margin: 0 auto; max-width: 30ch; color: var(--si-muted); }
.si-opening__quote {
    position: relative; max-width: 22rem; margin: 1.6rem auto 0; padding: 1.4rem 1.3rem 1.3rem 1.5rem; text-align: left;
    border-radius: 4px 22px 22px 4px; color: var(--inv-text); background: #fff;
    box-shadow: inset 5px 0 0 var(--inv-accent), 0 0 0 1px var(--si-ring), var(--si-drop);
}
.si-opening__quote::before {
    content: '“'; position: absolute; right: .8rem; top: -.6rem; font-family: var(--si-serif); font-size: 4.6rem; line-height: 1; color: var(--inv-accent);
}
.si-opening__quote blockquote { margin: 0; font-family: var(--si-serif); font-style: italic; font-weight: 500; font-size: 1.22rem; line-height: 1.4; color: var(--si-title); }
.si-opening__quote figcaption {
    display: inline-block; margin-top: .8rem; padding: .22rem .75rem; border-radius: 999px; font-size: .68rem; font-weight: 600;
    letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--inv-primary);
}

/* host: the family photo big in a mihrab arch over a faint gold rosette; the text below */
.si-host__art { position: relative; display: flex; justify-content: center; padding: .4rem 0 0; }
.si-host__rosette {
    position: absolute; z-index: -1; left: 50%; top: 47%; width: min(24rem, 118%); transform: translate(-50%, -50%); overflow: visible;
    fill: none; stroke: var(--inv-shine); stroke-width: .7; opacity: .45;
}
.si-mihrab--host { --arch-w: min(15rem, 66vw); --arch-ratio: 4 / 5.3; --arch-pos: center 32%; }
.si-host__text { margin-top: 1.7rem; }
.si-host__short {
    display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 .25rem;
    font-family: var(--si-serif); font-style: italic; font-weight: 600; font-size: 1.35rem; line-height: 1.2; color: var(--inv-shine);
}
.si-host__short::before, .si-host__short::after { content: ''; width: 1.3rem; height: 1px; background: var(--inv-shine); }
.si-host__family { margin: 0 auto; max-width: 14ch; font-family: var(--si-serif); font-weight: 600; font-size: 2.6rem; line-height: 1.02; color: #fff; overflow-wrap: anywhere; text-wrap: balance; }
.si-host .si-rule { margin: 1rem auto .8rem; }
.si-host__couple { display: flex; flex-direction: column; align-items: center; gap: .05rem; margin: 0 0 1.4rem; font-size: 1.06rem; font-weight: 500; line-height: 1.35; color: var(--inv-background); }
.si-host__couple .si-amp { font-size: 1.5rem; line-height: 1.05; color: var(--inv-shine); }
.si-host__members {
    display: flex; align-items: flex-start; gap: .8rem; max-width: 22rem; margin: 0 auto; padding: 1rem 1.15rem; text-align: left; border-radius: 16px;
    background: color-mix(in srgb, var(--inv-background) 9%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-shine) 40%, transparent);
}
.si-host__members-icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; flex: none; color: var(--inv-deep); background: var(--si-metal); clip-path: var(--si-octagram); }
.si-host__members-icon .si-icon { width: 1.05rem; height: 1.05rem; }
.si-host__members p { margin: 0; font-size: .95rem; line-height: 1.45; }
.si-host__members small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--inv-shine); }

/* occasion: the big tumpeng inside an illuminated rosette, ketupat at the sides, the type, the intent */
.si-occasion { padding: 3.6rem 1.4rem 4.4rem; background:
    radial-gradient(70% 34% at 50% 26%, color-mix(in srgb, var(--inv-accent) 30%, transparent), transparent 72%),
    radial-gradient(70% 30% at 0% 100%, color-mix(in srgb, var(--inv-soft) 85%, transparent), transparent 75%),
    var(--inv-background); }
.si-occasion__stage { position: relative; width: min(20rem, 92%); aspect-ratio: 1 / .92; margin: 0 auto .6rem; }
.si-occasion__rosette {
    position: absolute; left: 50%; top: 46%; width: 92%; transform: translate(-50%, -50%); overflow: visible;
    fill: none; stroke: var(--inv-gold); stroke-width: 1.1;
}
.si-occasion__rosette circle:first-child { stroke-dasharray: .006 .012; stroke-width: 2.4; stroke-linecap: round; }
.si-occasion__tumpeng { position: absolute; left: 6%; right: 6%; bottom: 0; width: 88%; filter: drop-shadow(0 16px 18px color-mix(in srgb, var(--inv-deep) 30%, transparent)); }
.si-occasion__ketupat { position: absolute; top: -3.6rem; width: 2.6rem; }
.si-occasion__ketupat--left { left: -.6rem; }
.si-occasion__ketupat--right { right: -.6rem; width: 2.2rem; top: -3.6rem; }
.si-occasion__eyebrow {
    display: inline-block; margin: .6rem 0 .5rem !important; padding: .28rem .9rem; border-radius: 999px;
    font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--inv-deep); background: var(--inv-accent);
}
.si-occasion__type { margin: 0 auto 1.3rem; max-width: 13ch; font-family: var(--si-serif); font-weight: 600; font-size: 2.85rem; line-height: 1; color: var(--si-title); text-wrap: balance; }
.si-occasion__intent {
    position: relative; max-width: 22rem !important; margin: 0 auto !important; padding: 1.3rem 1.3rem 1.25rem;
    font-family: var(--si-serif); font-style: italic; font-weight: 500; font-size: 1.24rem; line-height: 1.42; color: var(--si-title);
    background: #fff; border-radius: 6px;
    box-shadow: 0 0 0 1px var(--si-ring), var(--si-drop);
}
.si-occasion__intent::before, .si-occasion__intent::after {
    content: ''; position: absolute; width: 1.6rem; height: 1.6rem; border: 3px solid var(--inv-accent);
}
.si-occasion__intent::before { left: -5px; top: -5px; border-right: 0; border-bottom: 0; }
.si-occasion__intent::after { right: -5px; bottom: -5px; border-left: 0; border-top: 0; }

/* home: the house photo in a wide mihrab arch on a gold sill, the moving-in pill, the story, the address */
.si-home__art { position: relative; display: flex; flex-direction: column; align-items: center; }
.si-mihrab--home { --arch-w: min(19rem, 84vw); --arch-ratio: 1 / 1.08; --arch-pos: center 60%; }
.si-home .si-mihrab__line { stroke: var(--inv-shine); }
.si-home__sill {
    display: block; width: calc(min(19rem, 84vw) + 2.4rem); height: 9px; margin-top: -1px; border-radius: 2px;
    background: var(--si-metal); box-shadow: 0 10px 18px -8px rgb(0 0 0 / .5);
}
.si-home .si-home__moved {
    display: inline-flex; align-items: center; gap: .6rem; max-width: 100%; margin: 1.2rem auto 0; padding: .35rem 1rem .35rem .4rem; text-align: left;
    border-radius: 999px; color: var(--inv-background); background: color-mix(in srgb, var(--inv-background) 9%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-shine) 55%, transparent);
}
.si-home__seal { --seal: 2.1rem; }
.si-home__moved > span:last-child { font-family: var(--si-serif); font-size: 1.2rem; font-weight: 600; line-height: 1.1; color: #fff; }
.si-home__moved small { display: block; font-family: var(--si-sans); font-size: .58rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--inv-shine); }
.si-home__story {
    max-width: 30ch !important; margin: 1.6rem auto 1.6rem !important; font-family: var(--si-serif); font-style: italic; font-weight: 500;
    font-size: 1.26rem; line-height: 1.42; color: var(--inv-background);
}
.si-home__address {
    display: flex; align-items: flex-start; gap: .85rem; max-width: 22rem; margin: 0 auto; padding: 1rem 1.15rem; text-align: left; border-radius: 16px;
    color: var(--inv-text); background: var(--si-paper); box-shadow: 8px 8px 0 0 color-mix(in srgb, var(--inv-accent) 80%, transparent), var(--si-drop);
}
.si-home__address-icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; flex: none; color: #fff; background: var(--inv-primary); clip-path: var(--si-octagram); }
.si-home__address-icon .si-icon { width: 1.1rem; height: 1.1rem; }
.si-home__address p { margin: 0; font-size: .93rem; line-height: 1.5; }
.si-home__address small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--inv-primary); }

/* events: a white card, the photo under a pointed top, an 8-point star date badge rising over the photo's edge */
.si-event + .si-event { margin-top: 2.6rem; }
.si-event__card {
    margin: 0 12px 0 0; padding: 0 0 1.3rem; border-radius: 22px; background: #fff; text-align: left;
    box-shadow: 0 0 0 1px var(--si-ring), 12px 12px 0 0 var(--inv-soft);
}
.si-event--flip .si-event__card { margin: 0 0 0 12px; box-shadow: 0 0 0 1px var(--si-ring), -12px 12px 0 0 color-mix(in srgb, var(--inv-accent) 45%, transparent); }
.si-event__media { padding: .55rem .55rem 0; }
.si-event__photo {
    display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: center 55%; border-radius: 0 0 16px 16px;
    -webkit-mask: var(--si-arch) 0 0 / 100% 100% no-repeat; mask: var(--si-arch) 0 0 / 100% 100% no-repeat;
}
.si-event__top { display: flex; align-items: flex-end; gap: .9rem; padding: 1.1rem 1.15rem 0; }
.si-event__media + .si-event__top { margin-top: -3.2rem; }
.si-event__media + .si-event__top .si-event__head { padding-top: 3.4rem; }
.si-event--flip .si-event__top { flex-direction: row-reverse; text-align: right; }
.si-event__date {
    position: relative; display: grid; place-items: center; flex: none; width: 5.6rem; height: 5.6rem; margin: 0;
    background: var(--si-metal); clip-path: var(--si-octagram);
}
.si-event__date::before { content: ''; position: absolute; inset: 0; background: #fff; clip-path: var(--si-octagram); transform: scale(.93); }
.si-event__date-inner {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 86%; height: 86%;
    clip-path: var(--si-octagram); color: #fff; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--inv-primary) 85%, #fff), var(--inv-primary) 45%, var(--inv-deep));
}
.si-event__weekday { font-size: .56rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--inv-shine); }
.si-event__day { font-family: var(--si-serif); font-size: 2.1rem; font-weight: 700; line-height: .95; }
.si-event__month { font-size: .5rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.si-event--flip .si-event__date-inner { color: var(--inv-deep); background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--inv-accent) 55%, #fff), var(--inv-accent) 60%); }
.si-event--flip .si-event__weekday { color: var(--inv-deep); }
.si-event__head { min-width: 0; padding-bottom: .35rem; }
.si-event__name { margin: 0; font-family: var(--si-serif); font-weight: 700; font-size: 1.8rem; line-height: 1.02; color: var(--si-title); }
.si-event__full { margin: .25rem 0 0; font-size: .82rem; font-weight: 500; color: var(--si-muted); }
.si-event__rows { display: grid; gap: .75rem; margin: 1.1rem 1.15rem 0; padding: 1rem 0 0; list-style: none; font-size: .92rem; border-top: 1px solid var(--si-ring); }
.si-event__rows li { display: flex; align-items: flex-start; gap: .75rem; }
.si-event__rows .si-icon { width: 2.1rem; height: 2.1rem; padding: .45rem; border-radius: 50%; color: var(--inv-primary); background: var(--inv-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-gold) 55%, transparent); }
.si-event__rows li > span { padding-top: .3rem; }
.si-event__venue { display: block; font-weight: 600; }
.si-event__address { display: block; font-size: .86rem; color: var(--si-muted); }
.si-event .inv-maps { margin: 1.15rem 1.15rem 0; text-align: center; }
.si-event .inv-maps .inv-button { width: 100%; font-weight: 600; }
.si-event .inv-maps__frame { height: 190px; border-radius: 16px; }

/* countdown: ivory 8-point star tiles over a gold star; the calendar under a pointed top, well below the buttons */
.si-countdown .inv-countdown { gap: clamp(.35rem, 2vw, .7rem); }
.si-countdown .inv-countdown__item {
    position: relative; isolation: isolate; display: grid; place-content: center; width: clamp(4.3rem, 19.5vw, 5rem); min-width: 0; aspect-ratio: 1; padding: 0;
    color: var(--inv-text); background: none; box-shadow: none;
    filter: drop-shadow(0 14px 14px rgb(0 0 0 / .35));
}
.si-countdown .inv-countdown__item::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--si-metal); clip-path: var(--si-octagram); }
.si-countdown .inv-countdown__item::after { content: ''; position: absolute; inset: 5%; z-index: -1; background: var(--si-paper); clip-path: var(--si-octagram); }
.si-countdown .inv-countdown__value { font-variant-numeric: lining-nums tabular-nums; font-family: var(--si-serif); font-size: 1.85rem; font-weight: 700; line-height: .95; color: var(--si-title); }
.si-countdown .inv-countdown__label { margin-top: .05rem; font-size: .5rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--inv-primary); }
.si-countdown .inv-countdown__done { font-family: var(--si-serif); font-size: 1.5rem; font-style: italic; color: var(--inv-shine); }
.si-countdown .inv-countdown__actions { flex-direction: column; align-items: center; gap: .6rem; margin-top: 2rem; }
.si-countdown .inv-countdown__actions .inv-button {
    width: min(100%, 17rem); min-height: 2.75rem; padding: .6rem 1rem; font-size: .85rem; font-weight: 600;
    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) 60%, transparent);
}
.si-countdown .inv-countdown__actions .inv-button:first-child { color: var(--inv-deep); background: var(--inv-accent); box-shadow: none; }
.si-countdown .inv-cal {
    --inv-cal-bg: var(--si-paper); --inv-cal-mark: var(--inv-primary);
    max-width: 19rem; margin: 2.8rem auto 0; border-radius: 6px 6px 18px 18px; padding-top: 2.6rem;
    -webkit-mask: var(--si-arch) 0 0 / 100% 2.6rem no-repeat, linear-gradient(#000 0 0) 0 2.5rem / 100% 100% no-repeat;
    mask: var(--si-arch) 0 0 / 100% 2.6rem no-repeat, linear-gradient(#000 0 0) 0 2.5rem / 100% 100% no-repeat;
}
.si-countdown .inv-cal__month { font-family: var(--si-serif); font-size: 1.6rem; font-weight: 600; font-style: italic; color: var(--si-title); }

/* prayer: an illuminated panel with a deep frame, a double gold rule, star rosettes in the corners and a cartouche */
.si-prayer { padding: 4.8rem 1.9rem 4.8rem; }
.si-prayer__panel {
    position: relative; isolation: isolate; max-width: 22rem; margin: 0 auto; padding: 3.3rem 1.6rem 2.4rem;
    color: var(--inv-text); background: var(--si-paper);
    box-shadow: 0 0 0 4px var(--inv-primary), 0 0 0 7px var(--inv-soft), 0 0 0 8px var(--inv-gold), var(--si-drop);
}
/* the double gold rule inside the frame */
.si-prayer__panel::before {
    content: ''; position: absolute; inset: 9px; z-index: -1; pointer-events: none;
    border: 1px solid var(--inv-gold); box-shadow: inset 0 0 0 3px var(--si-paper), inset 0 0 0 4px color-mix(in srgb, var(--inv-gold) 70%, transparent);
}
/* faint girih inside */
.si-prayer__panel::after {
    content: ''; position: absolute; inset: 14px; z-index: -2; pointer-events: none; background: var(--inv-primary); opacity: .05;
    -webkit-mask: var(--si-girih) center / 34px 34px repeat; mask: var(--si-girih) center / 34px 34px repeat;
}
.si-prayer__corner { position: absolute; width: 1.7rem; height: 1.7rem; background: var(--si-metal); clip-path: var(--si-octagram); }
.si-prayer__corner::after { content: ''; position: absolute; inset: 30%; border-radius: 50%; background: var(--inv-primary); }
.si-prayer__corner--tl { left: -.85rem; top: -.85rem; }
.si-prayer__corner--tr { right: -.85rem; top: -.85rem; }
.si-prayer__corner--bl { left: -.85rem; bottom: -.85rem; }
.si-prayer__corner--br { right: -.85rem; bottom: -.85rem; }
.si-prayer .si-prayer__cartouche {
    position: absolute; left: 50%; top: -1.05rem; transform: translateX(-50%); margin: 0; padding: .35rem 1.7rem; white-space: nowrap;
    font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--inv-shine);
    background: linear-gradient(180deg, var(--inv-primary), var(--inv-deep));
    clip-path: polygon(0 50%, .9rem 0, calc(100% - .9rem) 0, 100% 50%, calc(100% - .9rem) 100%, .9rem 100%);
}
.si-prayer__arabic { margin: 0 0 .4rem; font-size: 1.75rem; line-height: 2.05; }
.si-prayer__rule { margin: .4rem auto 1.1rem; }
.si-prayer__rule i::after { background: var(--si-paper) !important; }
.si-prayer__text { margin: 0; }
.si-prayer__text p { margin: 0; font-family: var(--si-serif); font-size: 1.24rem; font-weight: 500; font-style: italic; line-height: 1.42; color: var(--si-title); }
.si-prayer__text cite {
    display: inline-block; margin-top: 1rem; padding: .25rem .8rem; border-radius: 999px; font-style: normal; font-size: .68rem; font-weight: 600;
    letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--inv-primary);
}

/* rundown: a long banana leaf with woven tampah discs for the times, the steps on translucent cards */
.si-rundown__ketupat { position: absolute; top: 0; right: 1.4rem; width: 2.4rem; }
.si-rundown .si-heading { padding-right: 3rem; }
.si-rundown__list { position: relative; margin: 0; padding: .4rem 0; list-style: none; text-align: left; }
.si-rundown__list::before {
    content: ''; position: absolute; left: calc(2.4rem - 1.3rem); top: -1.4rem; bottom: -1.4rem; width: 2.6rem; transform-origin: top;
    border-radius: 50% / 2.6rem; clip-path: polygon(50% 0, 100% 2.4rem, 100% calc(100% - 2.4rem), 50% 100%, 0 calc(100% - 2.4rem), 0 2.4rem);
    background:
        linear-gradient(90deg, transparent 46%, #e9f5c9 47%, #cfe59a 53%, transparent 54%),
        repeating-linear-gradient(-35deg, transparent 0 7px, rgb(255 255 255 / .16) 7px 8px) left / 50% 100% no-repeat,
        repeating-linear-gradient(35deg, transparent 0 7px, rgb(255 255 255 / .16) 7px 8px) right / 50% 100% no-repeat,
        linear-gradient(90deg, #3f8a2e, #6db04a 40%, #5aa03c 60%, #2f6e24);
    box-shadow: 0 0 0 1px rgb(0 0 0 / .15), 0 10px 24px -10px rgb(0 0 0 / .5);
}
.si-rundown__item { position: relative; display: grid; grid-template-columns: 4.8rem minmax(0, 1fr); align-items: start; column-gap: .55rem; padding: 0 0 .85rem; }
.si-rundown__item:last-child { padding-bottom: 0; }
.si-rundown__time {
    position: relative; justify-self: center; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin-top: .1rem; border-radius: 50%;
    font-size: .86rem; font-weight: 700; font-variant-numeric: tabular-nums; color: #4a2f10;
    background:
        radial-gradient(circle, #f6e2b4 0 52%, transparent 53%),
        repeating-radial-gradient(circle, #d4a463 0 2px, #b98549 2px 4px),
        #c99556;
    box-shadow: 0 0 0 2px #7e5326, 0 0 0 3.5px color-mix(in srgb, var(--inv-shine) 70%, transparent), 0 8px 14px -6px rgb(0 0 0 / .55);
}
.si-rundown__body {
    padding: .8rem 1rem .85rem; border-radius: 4px 16px 16px 4px; background: color-mix(in srgb, var(--inv-background) 9%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-background) 13%, transparent), inset 3px 0 0 var(--inv-shine);
}
.si-rundown__body h3 { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.35; color: #fff; }
.si-rundown__body p { margin: .15rem 0 0; font-size: .87rem; color: var(--si-ivory-muted); }

/* story: small mihrab photos beside the text, alternating; text-only chapters as sand cards with a seal */
.si-story__list { position: relative; display: grid; gap: 2.4rem; margin: 0; padding: 0; list-style: none; text-align: left; }
.si-story__item { display: grid; grid-template-columns: 40% minmax(0, 1fr); align-items: center; gap: 1.4rem; }
.si-story__item--flip { grid-template-columns: minmax(0, 1fr) 40%; }
.si-story__item--flip .si-mihrab { order: 2; }
.si-mihrab--story { --arch-w: calc(100% - 10px); --arch-ratio: 5 / 7; --arch-band: 6px; margin: 9px auto 0; }
.si-story__when {
    display: inline-block; padding: .2rem .7rem; border-radius: 999px; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--inv-deep); background: var(--inv-accent);
}
.si-story__body h3 { margin: .45rem 0 0; font-family: var(--si-serif); font-weight: 700; font-size: 1.6rem; line-height: 1.05; color: var(--si-title); }
.si-story__body p { margin: .4rem 0 0; font-size: .9rem; line-height: 1.55; color: var(--si-muted); }
.si-story__item--text {
    grid-template-columns: 3rem minmax(0, 1fr); align-items: start; gap: .9rem; padding: 1.2rem 1.2rem; border-radius: 6px 22px 6px 22px;
    background: var(--inv-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-gold) 45%, transparent);
}
.si-story__seal { --seal: 3rem; }

/* gallery: the first photo a tall pointed arch over two rows, the others with a thin ivory ring */
.si-gallery .inv-gallery { gap: .65rem; }
.si-gallery .inv-gallery__item { border-radius: 12px; box-shadow: 0 0 0 2px color-mix(in srgb, var(--inv-shine) 55%, transparent), 0 16px 28px -18px rgb(0 0 0 / .7); }
.si-gallery .inv-gallery__item:first-child {
    grid-row: span 2; aspect-ratio: auto; border-radius: 0 0 12px 12px; box-shadow: none;
    -webkit-mask: var(--si-arch) 0 0 / 100% 100% no-repeat; mask: var(--si-arch) 0 0 / 100% 100% no-repeat;
}

/* live streaming: a deep card with a fine gold inner line and a faint girih print */
.si-stream__card {
    position: relative; isolation: isolate; 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.45rem; overflow: hidden;
    border-radius: 20px; color: var(--inv-background); text-align: left;
    background: radial-gradient(70% 90% at 0% 0%, color-mix(in srgb, #fff 14%, transparent), transparent 70%), linear-gradient(140deg, var(--inv-primary), var(--inv-deep));
    box-shadow: 10px 10px 0 0 color-mix(in srgb, var(--inv-accent) 60%, transparent), var(--si-drop);
}
.si-stream__card::before { content: ''; position: absolute; inset: 7px; z-index: -1; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--inv-shine) 55%, transparent); }
.si-stream__card::after {
    content: ''; position: absolute; inset: 0; z-index: -2; background: var(--inv-shine); opacity: .08;
    -webkit-mask: var(--si-girih) center / 30px 30px repeat; mask: var(--si-girih) center / 30px 30px repeat;
}
.si-stream__icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; color: var(--inv-deep); background: var(--inv-accent); clip-path: var(--si-octagram); }
.si-stream__icon .si-icon { width: 1.6rem; height: 1.6rem; }
.si-stream__title { margin: 0 0 .15rem; font-family: var(--si-serif); font-weight: 700; font-size: 1.85rem; line-height: 1.05; color: #fff; }
.si-stream__text p { margin: 0; font-size: .87rem; color: var(--si-ivory-muted); }
.si-stream__text .si-stream__note { margin-top: .3rem; font-weight: 600; color: var(--inv-shine); }
.si-stream__button { grid-column: 1 / -1; min-height: 2.75rem; color: var(--inv-deep) !important; background: var(--inv-shine) !important; font-weight: 600; }

/* RSVP: an ivory card with a pointed-arch top, a gold seal at the apex, a turmeric block offset behind */
.si-rsvp__wrap { position: relative; margin-right: 10px; padding-top: 1.6rem; }
.si-rsvp__wrap::before {
    content: ''; position: absolute; z-index: -1; inset: calc(1.6rem + 10px) -10px -10px 10px; background: var(--inv-accent); opacity: .85;
    -webkit-mask: var(--si-arch) 0 0 / 100% 7rem no-repeat, linear-gradient(#000 0 0) 0 6.9rem / 100% 100% no-repeat;
    mask: var(--si-arch) 0 0 / 100% 7rem no-repeat, linear-gradient(#000 0 0) 0 6.9rem / 100% 100% no-repeat;
}
.si-rsvp__seal { --seal: 3.2rem; position: absolute; z-index: 2; left: 50%; top: 0; margin-left: -1.6rem; }
.si-rsvp__card {
    position: relative; padding: 4.4rem 1.15rem 1.4rem; border-radius: 0 0 22px 22px; color: var(--inv-text); background: var(--si-paper);
    -webkit-mask: var(--si-arch) 0 0 / 100% 7rem no-repeat, linear-gradient(#000 0 0) 0 6.9rem / 100% 100% no-repeat;
    mask: var(--si-arch) 0 0 / 100% 7rem no-repeat, linear-gradient(#000 0 0) 0 6.9rem / 100% 100% no-repeat;
}
.si-rsvp__intro { margin: 0 auto 1.1rem; max-width: 30ch; font-size: .92rem; color: var(--si-muted); }
.si-rsvp__sent { margin-bottom: 1rem; }
.si-rsvp__check { display: block; width: 4.4rem; height: 4.4rem; margin: 0 auto .5rem; }
.si-rsvp__check-star { fill: var(--inv-primary); }
.si-rsvp__check-mark { fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
html.inv-anim .si-rsvp__sent .si-rsvp__check { animation: si-bounce .8s cubic-bezier(.34, 1.56, .64, 1) both; }
html.inv-anim .si-rsvp__sent .si-rsvp__check-mark { animation: si-draw .45s ease-out .35s both; }
.si-rsvp__thanks { margin: 0; font-family: var(--si-serif); font-size: 1.75rem; font-weight: 700; font-style: italic; color: var(--si-title); }
.si-rsvp__line { margin: .1rem 0 0; font-size: .92rem; color: var(--si-muted); }
.si-rsvp .inv-rsvp__deadline { margin: 0 0 1rem; font-size: .85rem; font-weight: 600; color: var(--inv-primary); }

/* gift: deep envelopes with a lighter flap, a fine gold edge and a gold star seal; two per row */
.si-gift__intro { color: var(--si-muted); }
.si-gift .inv-gift__accounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: 1.4rem; }
.si-gift .inv-gift__account:last-child:nth-child(odd) { grid-column: 1 / -1; }
.si-gift .inv-gift__account {
    position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; gap: .25rem; min-width: 0; margin: 0; overflow: hidden;
    padding: 4.2rem .75rem 1.05rem; border-radius: 10px; color: var(--inv-background);
    background: linear-gradient(170deg, var(--inv-primary), var(--inv-deep));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-shine) 45%, transparent), 0 18px 30px -18px color-mix(in srgb, var(--inv-deep) 85%, transparent);
}
/* the flap folded down from the top edge, with a gold edge */
.si-gift .inv-gift__account::before {
    content: ''; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 2.9rem;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--inv-primary) 70%, #fff) , var(--inv-primary)) padding-box;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    filter: drop-shadow(0 2px 0 var(--inv-shine));
}
/* the gold seal with a star where the flap closes */
.si-gift .inv-gift__account::after {
    content: ''; position: absolute; left: 50%; top: 1.75rem; width: 2.1rem; height: 2.1rem; margin-left: -1.05rem; border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 3.2L12 5.2H14.8V8L16.8 10L14.8 12V14.8H12L10 16.8L8 14.8H5.2V12L3.2 10L5.2 8V5.2H8Z' fill='none' stroke='%237a5418' stroke-width='1.3'/%3E%3C/svg%3E") center / 70% no-repeat,
        radial-gradient(circle at 35% 30%, #fff3c4, #e1b552 45%, #a77824 100%);
    box-shadow: 0 0 0 2px color-mix(in srgb, #a77824 60%, transparent), 0 4px 8px rgb(0 0 0 / .35);
}
.si-gift .inv-gift__account p { margin: 0; }
.si-gift .inv-gift__bank { font-weight: 600; font-size: .86rem; color: var(--inv-shine); }
.si-gift .inv-gift__logo { height: 1.6rem; padding: .2rem .5rem; border-radius: .4rem; background: #fff; }
.si-gift .inv-gift__logo img { max-width: 5rem; }
.si-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: #fff;
}
.si-gift .inv-gift__holder { font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--si-ivory-muted); overflow-wrap: anywhere; }
.si-gift .inv-button { margin-top: .4rem; min-height: 2.25rem; padding: .35rem .9rem; font-size: .75rem; font-weight: 600; color: var(--inv-deep); background: var(--inv-shine); border-color: transparent; }
/* the gift address: an ivory envelope with a deep flap */
.si-gift .inv-gift__address {
    margin-top: .8rem; padding-top: 4.1rem; font-size: .9rem; color: var(--inv-text); background: #fff;
    box-shadow: inset 0 0 0 1px var(--si-ring), 8px 8px 0 0 color-mix(in srgb, var(--inv-accent) 55%, transparent);
}
.si-gift .inv-gift__address::before { background: linear-gradient(180deg, var(--inv-primary), var(--inv-deep)); filter: drop-shadow(0 2px 0 var(--inv-gold)); }
.si-gift .inv-gift__address .inv-gift__bank { color: var(--inv-primary); letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; }
.si-gift .inv-gift__address .inv-gift__holder { font-size: .74rem; color: var(--si-muted); }
.si-gift .inv-gift__address .inv-button { color: #fff; background: var(--inv-primary); }

/* co-hosts: a pair of ketupat, the names in the serif, one per line, split by tiny gold stars */
.si-cohosts { padding-top: 5rem; }
.si-cohosts__ketupat { position: absolute; top: 0; width: 2.3rem; }
.si-cohosts__ketupat--left { left: 1.3rem; }
.si-cohosts__ketupat--right { right: 1.3rem; width: 2rem; }
.si-cohosts__list { display: flex; flex-direction: column; align-items: center; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.si-cohosts__list li { max-width: 24ch; font-family: var(--si-serif); font-size: 1.45rem; font-weight: 600; line-height: 1.25; color: #fff; }
.si-cohosts__list li + li::before { content: ''; display: block; width: 9px; height: 9px; margin: 0 auto .6rem; background: var(--inv-shine); clip-path: var(--si-octagram); }

/* contacts: rows with the initial on a star badge and a WhatsApp button */
.si-contacts__list { display: grid; gap: .75rem; max-width: 24rem; margin: 0 auto; }
.si-contact {
    display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; align-items: center; gap: .8rem; padding: .6rem .6rem .6rem .65rem; border-radius: 18px;
    background: #fff; text-align: left; box-shadow: 0 0 0 1px var(--si-ring), 6px 6px 0 0 var(--inv-soft);
}
.si-contact__avatar {
    display: grid; place-items: center; width: 3rem; height: 3rem; clip-path: var(--si-octagram);
    font-family: var(--si-serif); font-size: 1.45rem; font-weight: 700; color: var(--inv-shine); background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--inv-primary) 80%, #fff), var(--inv-deep) 80%);
}
.si-contact p { margin: 0; }
.si-contact__name { font-weight: 600; font-size: .96rem; line-height: 1.3; overflow-wrap: anywhere; }
.si-contact__role { font-size: .8rem; color: var(--si-muted); }
.si-contact__phone { font-size: .86rem; }
.si-contact__button { min-height: 2.5rem; padding: .45rem .95rem; font-size: .8rem; font-weight: 600; }
.si-contact__button .si-icon { width: 1.05rem; height: 1.05rem; }

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

/* vendors: a white card of rows split by fine lines */
.si-vendors__list { max-width: 24rem; margin: 0 auto; padding: .3rem 1.15rem; list-style: none; border-radius: 6px 22px 6px 22px; background: #fff; box-shadow: 0 0 0 1px var(--si-ring), var(--si-drop); }
.si-vendor { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .85rem 0; text-align: left; border-bottom: 1px solid var(--si-ring); }
.si-vendor:last-child { border-bottom: 0; }
.si-vendor__text { display: flex; flex-direction: column; min-width: 0; }
.si-vendor__role { font-size: .64rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--inv-primary); }
.si-vendor__name { font-family: var(--si-serif); font-size: 1.32rem; font-weight: 700; line-height: 1.15; color: var(--inv-text); overflow-wrap: anywhere; }
.si-vendor__link {
    display: inline-flex; align-items: center; gap: .3rem; flex: none; min-height: 2.2rem; padding: .3rem .7rem; border-radius: 999px;
    font-size: .75rem; font-weight: 600; text-decoration: none; background: var(--inv-soft); color: var(--inv-deep);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-gold) 45%, transparent);
}
.si-vendor__link .si-icon { width: .95rem; height: .95rem; }

/* closing: the full photo fading into the deep colour, lanterns, a gold mihrab line round the thanks */
.si-closing { padding: 3.1rem 1.4rem 1.9rem; }
.si-closing--photo::after { display: none; }
.si-closing--photo { padding-top: 0; }
.si-closing__photo { position: relative; z-index: -1; height: min(92vw, 52svh, 23rem); margin: 0 -1.4rem; overflow: hidden; }
.si-closing__photo img { display: block; width: 100%; height: calc(100% + 60px); margin-top: -30px; object-fit: cover; object-position: center 22%; --inv-parallax: 30px; }
.si-closing__photo::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--inv-deep) 55%, transparent) 66%, var(--inv-deep) 97%);
}
.si-closing__lamp { position: absolute; top: 0; width: 1.8rem; z-index: 1; }
.si-closing__lamp--left { left: 1rem; }
.si-closing__lamp--right { right: 1.1rem; top: -1rem; width: 1.55rem; }
.si-closing__body { position: relative; max-width: 21rem; margin: 0 auto; padding: 2.9rem 1.2rem 1.2rem; }
.si-closing--photo .si-closing__body { margin-top: -6.6rem; }
.si-closing__arch { stroke: var(--inv-shine); stroke-width: 1; opacity: .8; }
.si-closing__tumpeng { width: 5.2rem; margin: 0 auto .3rem; filter: drop-shadow(0 10px 10px rgb(0 0 0 / .35)); }
.si-closing__eyebrow { margin: 0 0 .3rem; font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--inv-shine); }
.si-closing__title { margin: 0 0 .7rem; font-family: var(--si-serif); font-weight: 600; font-size: clamp(1.9rem, 8.5vw, 2.4rem); line-height: 1; color: #fff; }
.si-closing__title em { font-style: italic; color: var(--inv-shine); }
.si-closing__message { margin: 0 auto; max-width: 32ch; font-size: .92rem; line-height: 1.6; color: var(--si-ivory-muted); }
.si-closing__salam { margin: .75rem auto 0; max-width: 24ch; font-family: var(--si-serif); font-size: 1.1rem; font-weight: 600; font-style: italic; line-height: 1.3; color: var(--inv-shine); }
.si-closing__signature { margin: .7rem auto 0; max-width: 30ch; font-size: .88rem; color: var(--si-ivory-muted); }
.si-closing__family { display: flex; align-items: center; justify-content: center; gap: .65rem; margin-top: 1.15rem; text-align: left; }
.si-closing__seal { --seal: 2.6rem; }
.si-closing__name { margin: 0; font-family: var(--si-serif); font-size: 1.38rem; font-weight: 700; line-height: 1.1; color: #fff; overflow-wrap: anywhere; }
.si-closing__name small { display: block; font-family: var(--si-sans); font-size: .58rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--inv-shine); }
.si-closing__band {
    position: absolute; left: 0; right: 0; bottom: 0; height: 14px; pointer-events: none; background: var(--inv-shine); opacity: .85;
    -webkit-mask: var(--si-band) center / 28px 14px repeat-x; mask: var(--si-band) center / 28px 14px repeat-x;
}

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

/* the three answers as big cards with icons (the radio dot is hidden but still focusable) */
.si-rsvp .inv-form__choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.si-rsvp .inv-form__choices legend { margin-bottom: .5rem; padding: 0; }
.si-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: .85rem; font-weight: 600; line-height: 1.2; color: var(--inv-text); background: #fff;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-primary) 24%, transparent);
    transition: background-color .25s ease, color .25s ease, transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s ease;
}
.si-rsvp .inv-form__choices input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
/* icon: a tinted star (::before) with a check, a cross or a question mark on it (::after, a mask in the text colour) */
.si-rsvp .inv-form__choices label::before {
    content: ''; width: 2.3rem; height: 2.3rem; flex: none; background: var(--inv-soft); clip-path: var(--si-octagram);
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background-color .25s ease;
}
.si-rsvp .inv-form__choices label::after {
    content: ''; position: absolute; left: 50%; top: 1.4rem; width: 1.15rem; height: 1.15rem; margin-left: -.575rem;
    background: currentColor; color: var(--inv-primary); pointer-events: none;
    -webkit-mask: var(--si-choice-icon) center / contain no-repeat; mask: var(--si-choice-icon) center / contain no-repeat;
}
.si-rsvp .inv-form__choices label:nth-of-type(1) {
    --si-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");
}
.si-rsvp .inv-form__choices label:nth-of-type(2) {
    --si-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");
}
.si-rsvp .inv-form__choices label:nth-of-type(3) {
    --si-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");
}
.si-rsvp .inv-form__choices label:has(input:checked) {
    color: #fff; background: var(--inv-primary); transform: translateY(-3px);
    box-shadow: 0 0 0 2px var(--inv-shine), 0 12px 24px -12px color-mix(in srgb, var(--inv-primary) 80%, transparent);
}
.si-rsvp .inv-form__choices label:has(input:checked)::before { background-color: rgb(255 255 255 / .2); transform: scale(1.1); }
.si-rsvp .inv-form__choices label:has(input:checked)::after { color: #fff; }
.si-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, the wishes in a scroll box of about three */
.si-wishes .inv-wishes { --inv-wishes-height: 20rem; }
.si-wishes .inv-form {
    margin-right: 8px; padding: 1.3rem 1.1rem; border-radius: 18px; background: #fff;
    box-shadow: 0 0 0 1px var(--si-ring), 8px 8px 0 0 var(--inv-primary);
}
.si-wishes .inv-wishes__list { margin-top: 1.4rem; }
.si-wishes .inv-wishes:not(.inv-wishes--paged) .inv-wishes__list {
    padding: .55rem; border-radius: 18px; background: color-mix(in srgb, #fff 45%, transparent); box-shadow: inset 0 0 0 1px var(--si-ring);
}
.si-wishes .inv-wish { padding: .75rem .9rem; border-radius: 4px 14px 14px 4px; background: #fff; text-align: left; box-shadow: 0 2px 10px rgb(0 0 0 / .05); border-left: 4px solid var(--inv-gold); }
.si-wishes .inv-wish__name { font-weight: 600; color: var(--si-title); }
.si-wishes .inv-wish__message { font-size: .9rem; line-height: 1.5; }
.si-wishes .inv-wish__time { font-size: .72rem; color: var(--si-muted); }

/* ---------- 7. shared components ---------- */
.si-main .inv-button { font-weight: 600; }
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(--si-sans);
}

/* the room under the page (for the fixed menu and music button) continues the closing's deep colour; with the
   platform credit present, the credit's own measured colour wins */
.si-main ~ .inv-music__space { background: var(--inv-deep); }
.si-main ~ .si-branding ~ .inv-music__space { background: var(--inv-end-bg, var(--inv-deep)); }

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

/* short phones: the cover art and type step down so everything fits without scrolling */
@media (max-height: 760px) {
    .si-cover { --arch-cover: min(54vw, 13.5rem, calc(36svh * .714)); padding-top: 1.4rem; padding-bottom: 1.8rem; }
    .si-cover__title { margin-bottom: .6rem; }
    .si-cover__name { margin-top: .9rem; font-size: 2.1rem; }
    .si-cover__quote { font-size: 1rem; }
    .si-cover__guest { margin-top: .75rem; }
    .si-cover__open { margin-top: .85rem; }
}
@media (max-height: 660px) {
    .si-cover { --arch-cover: min(50vw, calc(32svh * .714)); padding-top: 1.1rem; padding-bottom: 1.5rem; }
    .si-cover__title { margin-bottom: .45rem; font-size: .66rem; }
    .si-cover__seal { --seal: 2.6rem; }
    .si-cover__art { padding-top: .9rem; }
    .si-cover__name { margin-top: .75rem; font-size: 1.9rem; }
    .si-cover__date { margin-top: .4rem; font-size: .74rem; }
    .si-cover__quote { font-size: .94rem; line-height: 1.26; }
    .si-cover__guest { padding: .4rem .85rem .5rem; }
    .si-cover__guest-name { font-size: 1.18rem; }
    .si-cover__open { min-height: 2.75rem; padding: .6rem 1.7rem; }
}
/* very short screens (in-app browsers): a smaller arch and quote, so everything fits */
@media (max-height: 600px) {
    .si-cover { --arch-cover: min(42vw, calc(27svh * .714)); padding-top: .9rem; padding-bottom: 1.3rem; }
    .si-cover__name { font-size: 1.75rem; }
    .si-cover__quote { font-size: .88rem; line-height: 1.22; }
    .si-cover__guest { margin-top: .6rem; }
    .si-cover__open { margin-top: .7rem; }
}

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

/* ---------- 9. motion ---------- */
@keyframes si-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes si-bounce { 0% { transform: scale(0); } 55% { transform: scale(1.15); } 75% { transform: scale(.94); } 100% { transform: scale(1); } }
@keyframes si-rise { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes si-zoom-out { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes si-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes si-pop { from { opacity: 0; transform: scale(.4) rotate(-45deg); } to { opacity: 1; transform: none; } }
@keyframes si-tumpeng-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes si-drop { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: none; } }
@keyframes si-widen { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes si-sway { 0%, 100% { transform: rotate(2.2deg); } 50% { transform: rotate(-2.2deg); } }
@keyframes si-glow { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }

/* cover (≤ 2.5 s, once): the arch rises and its photo settles from a slight zoom (0–1.1 s), the gold line fades
   in (.5–1.2 s), the seal pops (.9 s), the tumpeng rises (.8–1.5 s), the lanterns drop in (.2–1.2 s); the text
   follows through its inv-enter delays */
html.inv-anim .si-mihrab--cover .si-mihrab__band { animation: si-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
html.inv-anim .si-mihrab--cover .si-mihrab__photo { animation: si-zoom-out 1.2s cubic-bezier(.2, .7, .2, 1) both; }
html.inv-anim .si-mihrab--cover .si-mihrab__line { animation: si-fade .7s ease .5s both; }
html.inv-anim .si-cover__seal { animation: si-pop .6s cubic-bezier(.34, 1.56, .64, 1) .9s both; }
html.inv-anim .si-cover__tumpeng { animation: si-tumpeng-in .7s cubic-bezier(.3, .8, .3, 1) .8s both; }
html.inv-anim .si-cover__lamp { animation: si-drop 1s cubic-bezier(.3, .8, .3, 1) .2s both; }
html.inv-anim .si-cover__lamp--right { animation-delay: .35s; }

/* hanging ornaments sway very gently once their section is revealed (a calm pendulum, a few seconds each) */
html.inv-anim .is-revealed .si-hang,
html.inv-anim .si-hang.is-revealed { animation: si-sway 6s ease-in-out infinite; }
html.inv-anim .is-revealed .si-hang:nth-of-type(even) { animation-duration: 7s; animation-delay: -2s; }
html.inv-anim .si-lantern__halo { animation: si-glow 4s ease-in-out infinite; }

/* rosettes draw themselves once when revealed; heading rules widen */
html.inv-anim .si-draw :is(circle, path) { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.inv-anim :is(.is-revealed .si-draw, .si-draw.is-revealed) :is(circle, path) { animation: si-draw 1.6s ease-out .2s both; }
html.inv-anim .si-occasion__rosette circle:first-child { stroke-dasharray: .006 .012; stroke-dashoffset: 0; animation: none !important; }
html.inv-anim :is(.is-revealed .si-heading__rule, .si-heading__rule.is-revealed)::before { animation: si-widen .9s ease-out .25s both; }

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

@media (prefers-reduced-motion: reduce) {
    .si-cover, .si-cover--leave, .si-cover__inner { transition: none; }
    .si-hang, .si-lantern__halo { animation: none !important; }
}

/* ---------- 10. intro scene "Tumpeng di Bawah Ketupat" (scene.json + sections/_scene) ---------- */
.si-scene-ground {
    position: absolute; inset: 0;
    background:
        radial-gradient(75% 34% at 50% 92%, color-mix(in srgb, var(--inv-accent) 42%, transparent), transparent 72%),
        radial-gradient(90% 45% at 0% 0%, color-mix(in srgb, var(--inv-primary) 95%, transparent), transparent 75%),
        radial-gradient(70% 35% at 100% 60%, color-mix(in srgb, var(--inv-primary) 70%, transparent), transparent 75%),
        var(--inv-deep);
}
.si-scene-ground::before {
    content: ''; position: absolute; inset: 0; opacity: .1; background: var(--inv-shine);
    -webkit-mask: var(--si-girih) center top / 40px 40px repeat; mask: var(--si-girih) center top / 40px 40px repeat;
}
.si-scene-band { position: absolute; left: 0; right: 0; height: 14px; background: var(--inv-shine); opacity: .9; -webkit-mask: var(--si-band) center / 28px 14px repeat-x; mask: var(--si-band) center / 28px 14px repeat-x; }
.si-scene-band--top { top: 0; }
.si-scene-band--bottom { bottom: 0; }
/* a pair of ketupat: the near one on a short cord, the far one lower on a longer cord */
.si-scene-ketupat { position: relative; height: 100%; }
.si-scene-ketupat .si-ketupat { position: absolute; top: 0; transform-origin: 50% 0; }
.si-scene-ketupat .si-ketupat__cord { stroke: var(--inv-shine); }
.si-scene-ketupat .si-scene-ketupat__one { left: 0; width: 56%; margin-top: 22%; filter: drop-shadow(0 8px 10px rgb(0 0 0 / .3)); }
.si-scene-ketupat .si-scene-ketupat__two { right: 0; width: 40%; margin-top: 64%; opacity: .92; }
.si-scene-ketupat::before { content: ''; position: absolute; top: 0; left: 28%; width: 1.4px; height: 0; padding-top: 23%; background: var(--inv-shine); }
.si-scene-ketupat__cord { position: absolute; top: 0; right: 20%; width: 1.4px; height: 0; padding-top: 65%; background: var(--inv-shine); }
.si-scene-ketupat--right { transform: scaleX(-1); }
html.inv-anim .inv-intro--scene.is-playing .si-scene-ketupat__two { animation: si-sway 5s ease-in-out -1.5s infinite; }
/* a large gold 8-point star turning behind the table, with a warm glow */
.si-scene-star { position: relative; width: min(100%, 35vh); aspect-ratio: 1; margin: 0 auto; }
.si-scene-star::before { content: ''; position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--inv-shine) 34%, transparent), transparent); }
.si-scene-star span { position: absolute; inset: 0; clip-path: var(--si-octagram); background: var(--si-metal); }
.si-scene-star span + span { inset: 3.2%; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--inv-primary) 85%, var(--inv-shine) 15%), var(--inv-deep) 72%); }
.si-scene-star span + span::before { content: ''; position: absolute; inset: 9%; clip-path: var(--si-octagram); background: var(--si-metal); opacity: .5; }
.si-scene-star span + span::after { content: ''; position: absolute; inset: 10.2%; clip-path: var(--si-octagram); background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--inv-primary) 80%, var(--inv-shine) 20%), var(--inv-deep) 75%); }
.si-scene-tumpeng { width: 100%; height: 100%; filter: drop-shadow(0 18px 24px rgb(0 0 0 / .35)); }
/* the name card = a mihrab: an ivory arch inside a gold arch */
body.si-body .inv-intro--scene .inv-scene__card {
    top: 39%; aspect-ratio: auto; padding: 3.6rem 1.6rem 1.9rem; -webkit-backdrop-filter: none; backdrop-filter: none;
    background: var(--si-metal); -webkit-mask: var(--si-arch) center / 100% 100% no-repeat; mask: var(--si-arch) center / 100% 100% no-repeat;
}
body.si-body .inv-intro--scene .inv-scene__card::before {
    content: ''; position: absolute; inset: 5px; z-index: -1; pointer-events: none;
    background: radial-gradient(80% 50% at 50% 0%, color-mix(in srgb, var(--inv-soft) 80%, transparent), transparent 75%), var(--inv-background);
    -webkit-mask: var(--si-arch) center / 100% 100% no-repeat; mask: var(--si-arch) center / 100% 100% no-repeat;
}
body.si-body .inv-intro--scene .inv-scene__card { isolation: isolate; }
body.si-body .inv-scene__card .inv-intro__label { font-family: var(--si-sans); font-size: .64rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--inv-gold); }
body.si-body .inv-scene__card .inv-intro__names { font-family: var(--si-serif) !important; font-weight: 600; line-height: 1.05; color: var(--si-title); overflow-wrap: anywhere; text-wrap: balance; }
body.si-body .inv-scene__card .inv-intro__rule { width: 3rem; height: 2px; background: linear-gradient(90deg, transparent, var(--inv-gold), transparent); }
body.si-body .inv-scene__card .inv-intro__date { font-family: var(--si-sans); font-size: .8rem; font-weight: 500; letter-spacing: .03em; color: var(--si-muted); white-space: nowrap; }
