/*
 * Template "Rumah Baru" (Syukuran & Rumah Baru) — a cheerful, modern "welcome to our new home" in flat
 * illustration: a deep primary (cobalt) and its dark band colour, a warm white page, sunny yellow and coral
 * accents, a leaf green for the plants and kraft brown for moving boxes (fixed, it reads in every variant).
 * Signature pieces: the cover house whose yellow front doors swing open on the family photo, bunting
 * garlands (sections/_bunting), a potted monstera (sections/_monstera), moving boxes (sections/_boxes), a
 * house-shaped key tag (sections/_keytag), "Selamat datang" doormats, a street-number plate, a blueprint
 * sheet for the house, moving-day boxes for the story and a house-tour path for the rundown.
 * 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 (cobalt / forest / terracotta / charcoal: titles, buttons, walls)
 *   --inv-accent (coral or teal: roofs trims, doormats, stickers; small text on it uses --rb-accent-ink)
 *   --inv-background (warm white)   --inv-text   --inv-deep (dark bands)   --inv-sun (sunny yellow)
 *   --inv-soft (butter tint)   --inv-leaf (plants)
 * Everything else is mixed from those, so a new variant only needs these eight colours.
 *
 * Section tones (set on each section in its partial): .rumah-baru-tone--light (warm white with dots),
 * --soft (butter), --sun (a sunny yellow band), --deep (the dark band colour), --plan (a blueprint band).
 *
 * Motion only runs with html.inv-anim (set by <x-inv.head> unless the guest prefers reduced motion);
 * without it everything is shown finished (the cover doors are simply open).
 *
 * Contents: 1 base · 2 section tones & photo backgrounds · 3 shared pieces (heading, house, bunting,
 *           monstera, boxes, key tag) · 4 cover · 5 sections in page order · 6 forms (RSVP, wishes) ·
 *           7 shared components · 8 screen sizes · 9 motion
 */

/* ---------- 1. base ---------- */
:root {
    /* defaults = the "Kobalt Mentari" variant (the variant's colours override these) */
    --inv-primary: #2348c4;
    --inv-accent: #f2603f;
    --inv-background: #fffaf0;
    --inv-text: #141d3b;
    --inv-deep: #11245f;
    --inv-sun: #ffc533;
    --inv-soft: #ffeccb;
    --inv-leaf: #1e8a5a;
    --inv-radius: 18px;

    --rb-display: 'Bricolage Grotesque', 'Plus Jakarta Sans', system-ui, sans-serif;
    --rb-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --rb-col: 460px;
    --rb-paper: color-mix(in srgb, #fff 80%, var(--inv-background));
    --rb-ink: color-mix(in srgb, var(--inv-primary) 62%, var(--inv-deep));
    --rb-muted: color-mix(in srgb, var(--inv-text) 80%, var(--inv-background));
    --rb-cream-muted: color-mix(in srgb, var(--inv-background) 88%, transparent);
    --rb-ring: color-mix(in srgb, var(--inv-primary) 18%, transparent);
    --rb-accent-ink: color-mix(in srgb, var(--inv-accent) 72%, var(--inv-deep));
    --rb-sun-ink: color-mix(in srgb, var(--inv-deep) 88%, #000);
    --rb-drop: 0 22px 40px -22px color-mix(in srgb, var(--inv-deep) 70%, transparent);
    /* kraft brown of the moving boxes (fixed: it reads with every variant) */
    --rb-kraft: #d9a66c;
    --rb-kraft-dark: #b8823f;
    --rb-kraft-ink: #3b250f;
    --rb-tape: #f6dfae;

    /* a faint polka print (a mask, so it takes any colour) and a blueprint grid */
    --rb-dots: radial-gradient(circle, #000 1.2px, transparent 1.6px);
    --rb-marker: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9.5C20 5 52 3.5 98 6.5L97 13C60 10.5 30 11 3 13.5Z' fill='%23000'/%3E%3C/svg%3E");

    /* colours of the shared components */
    --inv-ambient-1: var(--inv-sun);
    --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(--rb-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); }

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

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

.rumah-baru-arabic { font-family: 'Amiri', 'Traditional Arabic', serif; line-height: 1.9; color: var(--rb-ink); }

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

/* light: warm white, a sunny glow in one corner, a butter glow in the other, a faint polka print */
.rumah-baru-tone--light {
    background:
        radial-gradient(60% 28% at 100% 0%, color-mix(in srgb, var(--inv-sun) 24%, transparent), transparent 75%),
        radial-gradient(70% 30% at 0% 100%, color-mix(in srgb, var(--inv-soft) 85%, transparent), transparent 75%),
        var(--inv-background);
}
/* soft: a warm butter wash */
.rumah-baru-tone--soft {
    background:
        radial-gradient(80% 40% at 50% 0%, color-mix(in srgb, #fff 50%, transparent), transparent 75%),
        linear-gradient(180deg, var(--inv-soft), color-mix(in srgb, var(--inv-soft) 55%, var(--inv-background)));
}
.rumah-baru-tone--light::before, .rumah-baru-tone--soft::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--inv-primary); opacity: .07;
    -webkit-mask: var(--rb-dots) 0 0 / 22px 22px; mask: var(--rb-dots) 0 0 / 22px 22px;
}

/* sun: a sunny yellow band with white dots; deep text */
.rumah-baru-tone--sun {
    color: var(--rb-sun-ink);
    background:
        radial-gradient(80% 45% at 50% 0%, color-mix(in srgb, #fff 32%, transparent), transparent 75%),
        radial-gradient(60% 30% at 100% 100%, color-mix(in srgb, var(--inv-accent) 22%, transparent), transparent 75%),
        var(--inv-sun);
}
.rumah-baru-tone--sun::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: #fff; opacity: .35;
    -webkit-mask: var(--rb-dots) 0 0 / 22px 22px; mask: var(--rb-dots) 0 0 / 22px 22px;
}

/* deep: the band colour with a glow of the primary and a low sunny glow */
.rumah-baru-tone--deep {
    color: var(--inv-background);
    background:
        radial-gradient(90% 45% at 10% 0%, color-mix(in srgb, var(--inv-primary) 85%, transparent), transparent 75%),
        radial-gradient(70% 30% at 90% 100%, color-mix(in srgb, var(--inv-accent) 26%, transparent), transparent 75%),
        var(--inv-deep);
}
.rumah-baru-tone--deep::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: #fff; opacity: .07;
    -webkit-mask: var(--rb-dots) 0 0 / 22px 22px; mask: var(--rb-dots) 0 0 / 22px 22px;
}
.rumah-baru-tone--deep a:not(.inv-button) { color: var(--inv-sun); }
.rumah-baru-tone--deep .rumah-baru-arabic { color: var(--inv-sun); }

/* plan: a blueprint band — the primary colour with a fine white grid (a major line every fifth cell) */
.rumah-baru-tone--plan {
    color: #fff;
    background:
        linear-gradient(color-mix(in srgb, #fff 16%, transparent) 1px, transparent 1px) 0 0 / 100px 100px,
        linear-gradient(90deg, color-mix(in srgb, #fff 16%, transparent) 1px, transparent 1px) 0 0 / 100px 100px,
        linear-gradient(color-mix(in srgb, #fff 7%, transparent) 1px, transparent 1px) 0 0 / 20px 20px,
        linear-gradient(90deg, color-mix(in srgb, #fff 7%, transparent) 1px, transparent 1px) 0 0 / 20px 20px,
        radial-gradient(90% 50% at 50% 0%, color-mix(in srgb, #fff 10%, transparent), transparent 70%),
        linear-gradient(180deg, var(--inv-primary), color-mix(in srgb, var(--inv-primary) 70%, var(--inv-deep)));
}

/* a client photo behind a section, under a strong gradient of the section's own tone */
.rumah-baru-bgphoto { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.rumah-baru-bgphoto img { display: block; width: 100%; height: calc(100% + 80px); margin-top: -40px; object-fit: cover; object-position: center 45%; --inv-parallax: 40px; }
.rumah-baru-bgphoto::after { content: ''; position: absolute; inset: 0; }
.rumah-baru-tone--deep .rumah-baru-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) 84%, transparent),
            color-mix(in srgb, var(--inv-deep) 68%, transparent) 45%,
            color-mix(in srgb, var(--inv-deep) 93%, transparent));
}
.rumah-baru-tone--sun .rumah-baru-bgphoto img { filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; }
.rumah-baru-tone--sun .rumah-baru-bgphoto::after {
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--inv-sun) 86%, transparent),
        color-mix(in srgb, var(--inv-sun) 74%, transparent) 50%,
        color-mix(in srgb, var(--inv-sun) 96%, transparent));
}

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

/* section heading: an eyebrow chip with a tiny house, a bold grotesque title, the last word over a marker */
.rumah-baru-heading { margin: 0 0 2.1rem; }
.rumah-baru-heading--left { text-align: left; }
.rumah-baru-heading__eyebrow {
    display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .75rem; padding: .32rem .8rem .32rem .6rem; border-radius: 999px;
    font-size: .68rem; font-weight: 800; line-height: 1.2; letter-spacing: .16em; text-transform: uppercase;
    color: var(--rb-ink); background: #fff; box-shadow: inset 0 0 0 1.5px var(--rb-ring);
}
.rumah-baru-heading__mark { width: 1rem; height: 1rem; flex: none; fill: var(--inv-accent); }
.rumah-baru-heading__door { fill: var(--inv-sun); }
.rumah-baru-heading__title {
    margin: 0; font-family: var(--rb-display); font-size: 2.45rem; font-weight: 800; line-height: 1.02;
    letter-spacing: -.025em; color: var(--rb-ink); text-wrap: balance;
}
.rumah-baru-heading__title em { position: relative; display: inline-block; font-style: normal; color: var(--inv-accent); }
.rumah-baru-heading__title em::after {
    content: ''; position: absolute; left: -.06em; right: -.08em; bottom: .02em; height: .36em; z-index: -1;
    background: var(--inv-sun); opacity: .75;
    -webkit-mask: var(--rb-marker) center / 100% 100% no-repeat; mask: var(--rb-marker) center / 100% 100% no-repeat;
}
.rumah-baru-tone--soft .rumah-baru-heading__title em { color: var(--rb-accent-ink); }
.rumah-baru-tone--soft .rumah-baru-heading__title em::after { background: #fff; opacity: 1; }
:is(.rumah-baru-tone--deep, .rumah-baru-tone--plan) .rumah-baru-heading__eyebrow { color: var(--inv-sun); background: color-mix(in srgb, #fff 10%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, #fff 22%, transparent); }
:is(.rumah-baru-tone--deep, .rumah-baru-tone--plan) .rumah-baru-heading__title { color: #fff; }
:is(.rumah-baru-tone--deep, .rumah-baru-tone--plan) .rumah-baru-heading__title em { color: var(--inv-sun); }
:is(.rumah-baru-tone--deep, .rumah-baru-tone--plan) .rumah-baru-heading__title em::after { background: var(--inv-accent); opacity: .8; }
.rumah-baru-tone--sun .rumah-baru-heading__eyebrow { color: #fff; background: var(--inv-deep); box-shadow: none; }
.rumah-baru-tone--sun .rumah-baru-heading__title { color: var(--rb-sun-ink); }
.rumah-baru-tone--sun .rumah-baru-heading__title em { color: var(--inv-primary); }
.rumah-baru-tone--sun .rumah-baru-heading__title em::after { background: #fff; opacity: .9; }

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

/* the small flat house (sections/_house) */
.rumah-baru-house { display: block; overflow: visible; }
.rumah-baru-house__chimney { fill: var(--inv-accent); }
.rumah-baru-house__wall { fill: var(--inv-primary); }
.rumah-baru-house__roof { fill: var(--inv-deep); stroke: var(--inv-accent); stroke-width: 3; stroke-linejoin: round; paint-order: stroke; }
.rumah-baru-house__door { fill: var(--inv-accent); }
.rumah-baru-house__knob { fill: var(--inv-sun); }
.rumah-baru-house__glow { fill: var(--inv-sun); }
.rumah-baru-house__pane { fill: none; stroke: var(--inv-primary); stroke-width: 2; }
.rumah-baru-house__step { fill: var(--inv-sun); }

/* the bunting garland (sections/_bunting) */
.rumah-baru-bunting { display: block; width: 100%; height: auto; overflow: visible; pointer-events: none; }
.rumah-baru-bunting__string { stroke: color-mix(in srgb, var(--inv-text) 55%, transparent); stroke-width: 1.4; }
.rumah-baru-bunting__flag { transform-box: fill-box; transform-origin: 50% 0; stroke: color-mix(in srgb, #000 10%, transparent); stroke-width: .6; }
.rumah-baru-bunting__flag--0 { fill: var(--inv-primary); }
.rumah-baru-bunting__flag--1 { fill: var(--inv-sun); }
.rumah-baru-bunting__flag--2 { fill: var(--inv-accent); }
.rumah-baru-bunting__flag--3 { fill: var(--inv-leaf); }
:is(.rumah-baru-tone--deep, .rumah-baru-tone--plan) .rumah-baru-bunting__string { stroke: color-mix(in srgb, #fff 55%, transparent); }
:is(.rumah-baru-tone--deep, .rumah-baru-tone--plan) .rumah-baru-bunting__flag--0 { fill: #fff; }

/* the potted monstera (sections/_monstera) */
.rumah-baru-monstera { display: block; overflow: visible; }
.rumah-baru-monstera__plant { transform-origin: 50% 72%; }
.rumah-baru-monstera__stem { fill: none; stroke: color-mix(in srgb, var(--inv-leaf) 75%, #000); stroke-width: 2.2; stroke-linecap: round; }
.rumah-baru-monstera__leaf { fill: var(--inv-leaf); }
.rumah-baru-monstera__leaf--light { fill: color-mix(in srgb, var(--inv-leaf) 78%, #fff); }
.rumah-baru-monstera__rib { fill: none; stroke: color-mix(in srgb, var(--inv-leaf) 45%, #fff); stroke-width: 1.4; stroke-linecap: round; }
.rumah-baru-monstera__pot { fill: var(--inv-accent); }
.rumah-baru-monstera__shade { fill: color-mix(in srgb, var(--inv-accent) 70%, #000); opacity: .35; }
.rumah-baru-monstera__rim { fill: color-mix(in srgb, var(--inv-accent) 82%, #000); }

/* the moving boxes (sections/_boxes) */
.rumah-baru-boxes { display: block; overflow: visible; }
.rumah-baru-boxes__kraft { fill: var(--rb-kraft); }
.rumah-baru-boxes__side { fill: var(--rb-kraft-dark); }
.rumah-baru-boxes__flap { fill: color-mix(in srgb, var(--rb-kraft) 80%, #fff); }
.rumah-baru-boxes__tape { fill: var(--rb-tape); opacity: .9; }
.rumah-baru-boxes__label { fill: #fff; }
.rumah-baru-boxes__mark { fill: none; stroke: var(--rb-kraft-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .6; }

/* the house-shaped key tag (sections/_keytag): a pentagon tag with a punched hole, on a key ring */
.rumah-baru-keytag { --tag: var(--inv-sun); --tag-ink: var(--rb-sun-ink); position: relative; display: inline-flex; flex-direction: column; align-items: center; margin: 0; padding-top: 1.1rem; flex: none; }
.rumah-baru-keytag--coral { --tag: var(--inv-accent); --tag-ink: #fff; }
.rumah-baru-keytag--blue { --tag: var(--inv-primary); --tag-ink: #fff; }
.rumah-baru-keytag__ring {
    position: absolute; top: 0; left: 50%; width: 1.5rem; height: 1.5rem; margin-left: -.75rem; border-radius: 50%;
    border: 2.5px solid color-mix(in srgb, var(--inv-text) 45%, #b9b9b9); border-bottom-color: transparent; transform: rotate(-20deg);
}
.rumah-baru-keytag__body {
    position: relative; display: flex; flex-direction: column; align-items: center; min-width: 4.6rem; padding: 1.55rem .55rem .7rem;
    color: var(--tag-ink); background: var(--tag);
    clip-path: polygon(50% 0, 100% 28%, 100% 100%, 0 100%, 0 28%);
    border-radius: 0 0 10px 10px;
    filter: drop-shadow(0 10px 12px color-mix(in srgb, var(--inv-deep) 30%, transparent));
}
/* the punched hole in the gable */
.rumah-baru-keytag__body::before {
    content: ''; position: absolute; top: .55rem; left: 50%; width: .55rem; height: .55rem; margin-left: -.275rem; border-radius: 50%;
    background: var(--inv-background); box-shadow: inset 0 1px 2px rgb(0 0 0 / .35);
}
.rumah-baru-keytag__label { font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; }
.rumah-baru-keytag__big { font-family: var(--rb-display); font-size: 2.3rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.rumah-baru-keytag__small { margin-top: .15rem; font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; }

/* ---------- 4. cover ---------- */
.rumah-baru-cover {
    /* --hw = the width of the house wall; everything in the scene is measured from it */
    --hw: min(58vw, 14rem, 26svh);
    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: 3.3rem 1.3rem 1.7rem;
    isolation: isolate; color: var(--inv-text);
    background:
        radial-gradient(70% 30% at 100% 100%, color-mix(in srgb, var(--inv-accent) 14%, transparent), transparent 72%),
        radial-gradient(80% 32% at 0% 100%, color-mix(in srgb, var(--inv-soft) 95%, transparent), transparent 75%),
        var(--inv-background);
    transition: opacity .8s ease;
}
.rumah-baru-cover::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07; background: var(--inv-primary);
    -webkit-mask: var(--rb-dots) 0 0 / 22px 22px; mask: var(--rb-dots) 0 0 / 22px 22px;
}
.rumah-baru-cover__bunting { position: absolute; top: -2px; left: 0; width: 100%; max-width: 560px; left: 50%; transform: translateX(-50%); }
.rumah-baru-cover__inner { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 400px; text-align: center; transition: transform .8s cubic-bezier(.5, 0, .3, 1); }

.rumah-baru-cover__title {
    display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 1.05rem; padding: .3rem .85rem .3rem .65rem; border-radius: 999px;
    font-size: .66rem; font-weight: 800; line-height: 1.2; letter-spacing: .16em; text-transform: uppercase; color: var(--rb-ink);
    background: #fff; box-shadow: inset 0 0 0 1.5px var(--rb-ring), 0 6px 14px -10px color-mix(in srgb, var(--inv-deep) 60%, transparent);
}
.rumah-baru-cover__title .rumah-baru-icon { width: .95rem; height: .95rem; color: var(--inv-accent); stroke-width: 2.2; }

/* the scene: plant + house + boxes, standing on a ground line; a big sun behind the roof */
.rumah-baru-cover__scene { position: relative; width: var(--hw); }
.rumah-baru-cover__scene::before {
    content: ''; position: absolute; z-index: -1; left: 50%; top: calc(var(--hw) * -.12); width: calc(var(--hw) * 1.32); aspect-ratio: 1; border-radius: 50%;
    margin-left: calc(var(--hw) * -.66); background: radial-gradient(circle, var(--inv-sun) 0 64%, color-mix(in srgb, var(--inv-sun) 40%, transparent) 64.5% 66%, transparent 66.5% 72%, color-mix(in srgb, var(--inv-sun) 30%, transparent) 72.5% 73.5%, transparent 74%);
}
.rumah-baru-cover__scene::after {
    content: ''; position: absolute; z-index: 1; left: calc(var(--hw) * -.5); right: calc(var(--hw) * -.5); bottom: -2px; height: 3px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--inv-deep) 70%, transparent) 15%, color-mix(in srgb, var(--inv-deep) 70%, transparent) 85%, transparent);
}
.rumah-baru-cover__house { position: relative; }
.rumah-baru-cover__roof { display: block; width: calc(var(--hw) * 1.25); height: calc(var(--hw) * .479); margin: 0 0 -1px calc(var(--hw) * -.125); overflow: visible; }
.rumah-baru-cover__chimney { fill: var(--inv-accent); }
.rumah-baru-cover__chimney-cap { fill: color-mix(in srgb, var(--inv-accent) 70%, #000); }
.rumah-baru-cover__gable { fill: var(--inv-primary); }
.rumah-baru-cover__eave { fill: var(--inv-deep); stroke: var(--inv-accent); stroke-width: 3; stroke-linejoin: round; paint-order: stroke; }
/* the monogram on a street-number plate in the gable */
.rumah-baru-cover__number {
    position: absolute; z-index: 2; top: calc(var(--hw) * .2); left: 50%; margin: 0; padding: .14rem .5rem .18rem; transform: translateX(-50%);
    border-radius: 6px; font-family: var(--rb-display); font-size: max(.78rem, calc(var(--hw) * .08)); font-weight: 800; line-height: 1.15; white-space: nowrap;
    color: var(--inv-deep); background: #fff;
    box-shadow: inset 0 0 0 2px var(--inv-sun), 0 4px 8px -4px rgb(0 0 0 / .5);
}
.rumah-baru-cover__number--long { font-size: max(.66rem, calc(var(--hw) * .06)); }
.rumah-baru-cover__wall {
    padding: calc(var(--hw) * .065) calc(var(--hw) * .065) 0;
    background:
        repeating-linear-gradient(180deg, transparent 0 9px, color-mix(in srgb, #000 9%, transparent) 9px 10px),
        var(--inv-primary);
}
/* the doorway: the photo in a white casing; the two doors swing open over it once (perspective) */
.rumah-baru-cover__doorway {
    position: relative; overflow: hidden; aspect-ratio: 4 / 4.65; perspective: 700px;
    background: var(--inv-deep); border-radius: 4px 4px 0 0;
    box-shadow: 0 0 0 4px #fff, 0 0 0 5.5px color-mix(in srgb, var(--inv-deep) 30%, transparent);
}
.rumah-baru-cover__photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.rumah-baru-cover__empty {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; color: #fff;
    background:
        radial-gradient(70% 50% at 50% 30%, color-mix(in srgb, #fff 40%, transparent), transparent 70%),
        linear-gradient(180deg, var(--inv-sun), color-mix(in srgb, var(--inv-accent) 85%, var(--inv-sun)));
}
.rumah-baru-cover__empty-house { width: 52%; }
.rumah-baru-cover__empty span { font-family: var(--rb-display); font-weight: 800; font-size: calc(var(--hw) * .14); line-height: 1; color: var(--inv-deep); }
.rumah-baru-cover__leaf {
    display: none; position: absolute; top: 0; bottom: 0; width: 50%; backface-visibility: hidden;
    background:
        linear-gradient(color-mix(in srgb, #000 10%, transparent), color-mix(in srgb, #000 10%, transparent)) 50% 9% / 64% 36% no-repeat,
        linear-gradient(color-mix(in srgb, #000 10%, transparent), color-mix(in srgb, #000 10%, transparent)) 50% 88% / 64% 36% no-repeat,
        var(--inv-sun);
}
.rumah-baru-cover__leaf::after { content: ''; position: absolute; top: 52%; width: 7px; height: 7px; border-radius: 50%; background: var(--inv-deep); }
.rumah-baru-cover__leaf--left { left: 0; transform-origin: 0 50%; box-shadow: inset -1px 0 0 color-mix(in srgb, #000 25%, transparent); }
.rumah-baru-cover__leaf--left::after { right: 9%; }
.rumah-baru-cover__leaf--right { right: 0; transform-origin: 100% 50%; box-shadow: inset 1px 0 0 color-mix(in srgb, #000 25%, transparent); }
.rumah-baru-cover__leaf--right::after { left: 9%; }

/* plant on the left, boxes on the right: beside the wall, never over the photo */
.rumah-baru-cover__plant { position: absolute; z-index: 2; bottom: -2px; left: calc(var(--hw) * -.37); width: calc(var(--hw) * .36); }
.rumah-baru-cover__boxes { position: absolute; z-index: 2; bottom: -2px; right: calc(var(--hw) * -.38); width: calc(var(--hw) * .36); }

/* the doormat under the door */
.rumah-baru-cover__mat {
    position: relative; display: grid; place-items: center; width: max(7.4rem, calc(var(--hw) * .8)); height: calc(var(--hw) * .1 + .7rem); margin: .05rem 0 0;
    border-radius: 4px; color: #fff;
    background: repeating-linear-gradient(90deg, transparent 0 3px, color-mix(in srgb, #000 8%, transparent) 3px 4px), var(--inv-accent);
    box-shadow: inset 0 0 0 2px color-mix(in srgb, #000 12%, transparent), 0 6px 10px -6px color-mix(in srgb, var(--inv-deep) 70%, transparent);
}
.rumah-baru-cover__mat::before, .rumah-baru-cover__mat::after {
    content: ''; position: absolute; top: 3px; bottom: 3px; width: 5px;
    background: repeating-linear-gradient(180deg, color-mix(in srgb, var(--inv-accent) 70%, #000) 0 2px, transparent 2px 4px);
}
.rumah-baru-cover__mat::before { left: -5px; }
.rumah-baru-cover__mat::after { right: -5px; }
.rumah-baru-cover__mat span { font-size: max(.5rem, calc(var(--hw) * .045)); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; line-height: 1; white-space: nowrap; }

.rumah-baru-cover__text { display: flex; flex-direction: column; align-items: center; width: 100%; margin-top: .9rem; }
.rumah-baru-cover__name {
    margin: 0; max-width: 18ch; font-family: var(--rb-display); font-size: 1.95rem; font-weight: 800; line-height: 1.02; letter-spacing: -.025em;
    color: var(--rb-ink); overflow-wrap: anywhere; text-wrap: balance;
}
.rumah-baru-cover__date {
    display: inline-flex; align-items: center; gap: .4rem; margin: .6rem 0 0; padding: .3rem .85rem; border-radius: 999px;
    font-size: .84rem; font-weight: 800; line-height: 1.3; color: var(--rb-sun-ink); background: var(--inv-sun);
}
.rumah-baru-cover__date .rumah-baru-icon { width: 1rem; height: 1rem; stroke-width: 2; }
.rumah-baru-cover__quote { max-width: 32ch; margin: .55rem 0 0; font-style: italic; font-size: .86rem; line-height: 1.45; color: var(--rb-muted); }
.rumah-baru-cover__guest {
    position: relative; width: min(100%, 19rem); margin: .95rem 0 0; padding: .7rem 1rem .55rem; border-radius: 12px; background: #fff;
    outline: 1.5px dashed color-mix(in srgb, var(--inv-accent) 70%, transparent); outline-offset: -5px;
    box-shadow: 0 10px 22px -16px color-mix(in srgb, var(--inv-deep) 60%, transparent);
}
.rumah-baru-cover__guest p {
    position: absolute; top: -.6rem; left: 50%; margin: 0; padding: .14rem .6rem; transform: translateX(-50%); border-radius: 999px; white-space: nowrap;
    font-size: .58rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--rb-accent-ink);
}
.rumah-baru-cover__guest-name { display: block; font-family: var(--rb-display); font-size: 1.12rem; font-weight: 700; line-height: 1.25; color: var(--inv-text); overflow-wrap: anywhere; }
.rumah-baru-cover__open {
    margin-top: 1rem; min-height: 3rem; padding: .7rem 1.7rem; font-weight: 800; letter-spacing: .01em;
    background: var(--inv-primary); color: #fff;
    box-shadow: 0 4px 0 var(--inv-deep), 0 14px 22px -12px color-mix(in srgb, var(--inv-primary) 80%, transparent);
}
.rumah-baru-cover__open .rumah-baru-icon { width: 1.1rem; height: 1.1rem; color: var(--inv-sun); stroke-width: 2.1; }

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

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

/* opening: bunting, the little lit house, the greeting, and the quote on a taped note */
.rumah-baru-opening { padding: 4.6rem 1.6rem 4.4rem; }
.rumah-baru-opening__bunting { position: absolute; top: -2px; left: 0; width: 100%; }
.rumah-baru-opening__house { width: 5.4rem; margin: 0 auto 1.1rem; }
.rumah-baru-opening .rumah-baru-house__wall { fill: color-mix(in srgb, #fff 92%, var(--inv-primary)); }
.rumah-baru-opening .rumah-baru-house__pane { stroke: var(--inv-deep); }
.rumah-baru-opening__basmalah { margin: 0 0 .5rem !important; font-size: 1.85rem; }
.rumah-baru-opening__greeting { max-width: 18ch !important; margin: 0 auto .9rem !important; font-family: var(--rb-display); font-size: 1.6rem; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.rumah-baru-opening__message { max-width: 31ch !important; color: var(--rb-cream-muted); }
.rumah-baru-opening__note {
    position: relative; max-width: 21rem; margin: 2.4rem auto 0; padding: 1.7rem 1.35rem 1.35rem; text-align: left;
    border-radius: 6px; color: var(--inv-text); background: var(--rb-paper); transform: rotate(-1.6deg);
    box-shadow: 8px 8px 0 0 var(--inv-sun), 0 22px 40px -22px rgb(0 0 0 / .7);
}
.rumah-baru-opening__tape {
    position: absolute; top: -.65rem; left: 50%; width: 5.5rem; height: 1.35rem; margin-left: -2.75rem; transform: rotate(3deg);
    background: color-mix(in srgb, var(--inv-accent) 82%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent 0 2px, #000 2px calc(100% - 2px), transparent 0) , repeating-linear-gradient(180deg, #000 0 3px, transparent 3px 5px);
}
.rumah-baru-opening__mark { position: absolute; right: 1.1rem; top: -1rem; width: 2.4rem; height: 1.8rem; fill: var(--inv-sun); filter: drop-shadow(0 2px 0 var(--inv-deep)); }
.rumah-baru-opening__note blockquote { margin: 0; font-family: var(--rb-display); font-size: 1.12rem; font-weight: 600; line-height: 1.42; color: var(--rb-ink); }
.rumah-baru-opening__note figcaption {
    display: inline-block; margin-top: .8rem; padding: .22rem .7rem; border-radius: 999px; font-size: .68rem; font-weight: 800;
    letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--rb-accent-ink);
}

/* host: the family photo in a white picture window, a sun and a coral block behind, a monstera beside;
   the family name on a coral doormat; the couple on two name tags; the members on a butter card */
.rumah-baru-host__art { position: relative; width: min(16.5rem, 74%); margin: 0 auto; }
.rumah-baru-host__art::before {
    content: ''; position: absolute; z-index: -1; right: -18%; top: -9%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--inv-sun);
}
.rumah-baru-host__art::after {
    content: ''; position: absolute; z-index: -1; left: -9%; bottom: -6%; width: 70%; height: 55%; border-radius: 16px; background: var(--inv-accent); opacity: .9;
}
.rumah-baru-host__frame {
    position: relative; margin: 0; padding: 8px; border-radius: 20px; background: #fff;
    box-shadow: 0 0 0 1.5px var(--rb-ring), var(--rb-drop);
}
.rumah-baru-host__photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 35%; border-radius: 13px; }
.rumah-baru-host__empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; aspect-ratio: 4 / 5; border-radius: 13px;
    background: radial-gradient(70% 50% at 50% 35%, color-mix(in srgb, #fff 40%, transparent), transparent 70%), linear-gradient(180deg, var(--inv-sun), color-mix(in srgb, var(--inv-accent) 80%, var(--inv-sun)));
}
.rumah-baru-host__house { width: 56%; }
.rumah-baru-host__empty span { font-family: var(--rb-display); font-size: 2rem; font-weight: 800; color: var(--inv-deep); }
.rumah-baru-host__plant { position: absolute; z-index: 2; left: -4.3rem; bottom: -.4rem; width: 4.4rem; }
.rumah-baru-host__mat {
    position: relative; width: min(21rem, 100%); margin: 2.2rem auto 0; padding: 1rem 1.3rem 1.05rem; border-radius: 8px; color: #fff;
    background:
        repeating-linear-gradient(90deg, transparent 0 4px, color-mix(in srgb, #000 8%, transparent) 4px 5px),
        linear-gradient(180deg, color-mix(in srgb, var(--inv-accent) 92%, #fff), var(--rb-accent-ink));
    box-shadow: inset 0 0 0 3px color-mix(in srgb, #000 10%, transparent), 0 16px 24px -16px color-mix(in srgb, var(--inv-deep) 80%, transparent);
}
.rumah-baru-host__mat::before, .rumah-baru-host__mat::after {
    content: ''; position: absolute; top: 5px; bottom: 5px; width: 8px;
    background: repeating-linear-gradient(180deg, var(--rb-accent-ink) 0 3px, transparent 3px 6px);
}
.rumah-baru-host__mat::before { left: -8px; }
.rumah-baru-host__mat::after { right: -8px; }
.rumah-baru-host__short { margin: 0 0 .15rem; font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--inv-sun); }
.rumah-baru-host__family { margin: 0; font-family: var(--rb-display); font-weight: 800; font-size: 1.95rem; line-height: 1.05; letter-spacing: -.02em; overflow-wrap: anywhere; text-wrap: balance; }
.rumah-baru-host__couple { display: flex; flex-direction: column; align-items: center; gap: .35rem; margin: 1.3rem auto 0 !important; max-width: 24rem !important; }
.rumah-baru-host__tag {
    padding: .45rem .95rem; border-radius: 999px; font-weight: 800; font-size: .93rem; line-height: 1.3; color: var(--rb-ink); background: #fff;
    box-shadow: inset 0 0 0 1.5px var(--rb-ring), 0 4px 0 0 color-mix(in srgb, var(--inv-primary) 22%, transparent);
}
.rumah-baru-host__tag--alt { background: var(--inv-soft); }
.rumah-baru-host__amp {
    display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; font-family: var(--rb-display); font-weight: 800; font-size: 1.05rem;
    color: var(--rb-sun-ink); background: var(--inv-sun);
}
.rumah-baru-host__members {
    display: flex; align-items: flex-start; gap: .8rem; max-width: 22rem; margin: 1.1rem auto 0; padding: .95rem 1.15rem; text-align: left; border-radius: 16px;
    background: var(--inv-soft); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--inv-sun) 60%, transparent);
}
.rumah-baru-host__members-icon { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; flex: none; border-radius: 50%; color: #fff; background: var(--inv-primary); }
.rumah-baru-host__members p { margin: 0; font-size: .93rem; font-weight: 600; line-height: 1.45; }
.rumah-baru-host__members small { display: block; font-size: .62rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--rb-accent-ink); }

/* occasion: a sunny band, the type big, the intent on a white card with a heart sticker, a little street */
.rumah-baru-occasion { padding: 3.8rem 1.5rem 0; }
.rumah-baru-occasion__eyebrow {
    display: inline-block; margin: 0 0 .7rem !important; padding: .3rem .85rem; border-radius: 999px;
    font-size: .68rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #fff; background: var(--inv-deep);
}
.rumah-baru-occasion__type { margin: 0 auto 1.6rem; max-width: 13ch; font-family: var(--rb-display); font-weight: 800; font-size: 2.7rem; line-height: 1; letter-spacing: -.03em; color: var(--rb-sun-ink); text-wrap: balance; }
.rumah-baru-occasion__card {
    position: relative; max-width: 21rem; margin: 0 auto; padding: 1.5rem 1.3rem 1.3rem; border-radius: 20px; background: #fff; text-align: left;
    box-shadow: 8px 8px 0 0 var(--inv-deep);
}
.rumah-baru-occasion__card p { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.6; color: var(--inv-text); }
.rumah-baru-occasion__sticker {
    position: absolute; top: -1.2rem; left: -.8rem; display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: 50%;
    color: #fff; background: var(--inv-accent); transform: rotate(-12deg); box-shadow: 0 0 0 3px #fff, 0 6px 12px -6px rgb(0 0 0 / .4);
}
.rumah-baru-occasion__sticker .rumah-baru-icon { width: 1.3rem; height: 1.3rem; fill: currentColor; }
.rumah-baru-occasion__street { display: block; width: calc(100% + 3rem); height: 4.2rem; margin: 2.6rem -1.5rem 0; }
.rumah-baru-occasion__home { fill: var(--inv-deep); }
.rumah-baru-occasion__home--alt { fill: var(--inv-primary); }
.rumah-baru-occasion__home--roof { fill: var(--inv-accent); }
.rumah-baru-occasion__window { fill: var(--inv-sun); }

/* home: a blueprint sheet with a dimension line, the photo with crop marks, a title block and a sticker */
.rumah-baru-home { padding-bottom: 4.4rem; }
.rumah-baru-home__sheet {
    position: relative; max-width: 22rem; margin: 0 auto; padding: 1rem 1rem 1.1rem; border-radius: 6px;
    background: color-mix(in srgb, var(--inv-deep) 30%, transparent);
    box-shadow: inset 0 0 0 1.5px color-mix(in srgb, #fff 70%, transparent), inset 0 0 0 6px color-mix(in srgb, var(--inv-deep) 20%, transparent), inset 0 0 0 7px color-mix(in srgb, #fff 30%, transparent), 0 24px 40px -24px rgb(0 0 0 / .6);
}
/* "|<— Tampak depan —>|" */
.rumah-baru-home__dim { position: relative; display: flex; align-items: center; gap: .5rem; margin: 0 0 .75rem; font-size: .6rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--inv-sun); }
.rumah-baru-home__dim::before, .rumah-baru-home__dim::after {
    content: ''; flex: 1; height: 9px;
    background:
        linear-gradient(color-mix(in srgb, #fff 80%, transparent), color-mix(in srgb, #fff 80%, transparent)) center / 100% 1px no-repeat;
    border-left: 1px solid color-mix(in srgb, #fff 80%, transparent);
}
.rumah-baru-home__dim::after { border-left: 0; border-right: 1px solid color-mix(in srgb, #fff 80%, transparent); }
.rumah-baru-home__frame { position: relative; margin: 0; padding: 6px; background: #fff; border-radius: 3px; }
.rumah-baru-home__photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 60%; }
.rumah-baru-home__empty { display: grid; place-items: center; aspect-ratio: 4 / 3; background: color-mix(in srgb, var(--inv-primary) 90%, #fff); }
.rumah-baru-home__house { width: 58%; }
.rumah-baru-home__house :is(.rumah-baru-house__wall, .rumah-baru-house__roof, .rumah-baru-house__chimney, .rumah-baru-house__door, .rumah-baru-house__step) { fill: none; stroke: #fff; stroke-width: 1.6; }
/* crop marks just outside the photo's four corners */
.rumah-baru-home__crop {
    position: absolute; inset: -9px; pointer-events: none;
    background:
        linear-gradient(var(--inv-sun), var(--inv-sun)) 0 0 / 14px 2px no-repeat, linear-gradient(var(--inv-sun), var(--inv-sun)) 0 0 / 2px 14px no-repeat,
        linear-gradient(var(--inv-sun), var(--inv-sun)) 100% 0 / 14px 2px no-repeat, linear-gradient(var(--inv-sun), var(--inv-sun)) 100% 0 / 2px 14px no-repeat,
        linear-gradient(var(--inv-sun), var(--inv-sun)) 0 100% / 14px 2px no-repeat, linear-gradient(var(--inv-sun), var(--inv-sun)) 0 100% / 2px 14px no-repeat,
        linear-gradient(var(--inv-sun), var(--inv-sun)) 100% 100% / 14px 2px no-repeat, linear-gradient(var(--inv-sun), var(--inv-sun)) 100% 100% / 2px 14px no-repeat;
}
/* the title block of the drawing: the address cell and room for the sticker on the right */
.rumah-baru-home__block {
    position: relative; display: flex; align-items: stretch; margin-top: 1rem; text-align: left;
    border: 1px solid color-mix(in srgb, #fff 70%, transparent);
}
.rumah-baru-home__block--moved { padding-right: 6.6rem; min-height: 6.2rem; }
.rumah-baru-home__address { display: flex; align-items: flex-start; gap: .65rem; padding: .8rem .85rem; }
.rumah-baru-home__block--moved .rumah-baru-home__address { border-right: 1px solid color-mix(in srgb, #fff 70%, transparent); }
.rumah-baru-home__pin { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; flex: none; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); color: var(--inv-deep); background: var(--inv-sun); }
.rumah-baru-home__pin .rumah-baru-icon { transform: rotate(45deg); width: 1.05rem; height: 1.05rem; stroke-width: 2; }
.rumah-baru-home__address p { margin: 0; font-size: .86rem; font-weight: 600; line-height: 1.45; color: #fff; }
.rumah-baru-home__address small { display: block; font-size: .58rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--inv-sun); }
/* the round "Ditempati sejak" sticker, stamped over the block's right cell */
.rumah-baru-home__sticker {
    position: absolute; right: -.9rem; top: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 7.2rem; height: 7.2rem; margin: -3.6rem 0 0; padding: .6rem; border-radius: 50%; text-align: center; transform: rotate(-9deg);
    color: var(--rb-sun-ink); background: var(--inv-sun);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--inv-deep) 40%, transparent), inset 0 0 0 4px var(--inv-sun), inset 0 0 0 5.5px color-mix(in srgb, var(--rb-sun-ink) 60%, transparent), 0 12px 18px -8px rgb(0 0 0 / .5);
}
.rumah-baru-home__sticker small { font-size: .55rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; }
.rumah-baru-home__sticker span { font-family: var(--rb-display); font-size: 1.12rem; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; overflow-wrap: anywhere; }
.rumah-baru-home__block:not(:has(.rumah-baru-home__address)) { border: 0; min-height: 7rem; }
.rumah-baru-home__story { max-width: 30ch !important; margin: 2rem auto 0 !important; font-family: var(--rb-display); font-size: 1.22rem; font-weight: 600; line-height: 1.45; color: #fff; }

/* events: a white card with a solid offset block, the photo on top, the date on a key tag */
.rumah-baru-event {
    margin: 0 12px 0 0; padding: .55rem .55rem 1.3rem; border-radius: 24px; background: #fff; text-align: left;
    box-shadow: 0 0 0 1.5px var(--rb-ring), 10px 10px 0 0 var(--inv-primary);
}
.rumah-baru-event + .rumah-baru-event { margin-top: 2.6rem; }
.rumah-baru-event--flip { margin: 0 0 0 12px; box-shadow: 0 0 0 1.5px var(--rb-ring), -10px 10px 0 0 var(--inv-accent); }
.rumah-baru-event__media { position: relative; }
.rumah-baru-event__photo { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 55%; border-radius: 18px; }
.rumah-baru-event__top { display: flex; align-items: flex-end; gap: .9rem; padding: .4rem .65rem 0; }
.rumah-baru-event__media + .rumah-baru-event__top { margin-top: -2.2rem; }
.rumah-baru-event--flip .rumah-baru-event__top { flex-direction: row-reverse; text-align: right; }
.rumah-baru-event__tag { position: relative; z-index: 1; }
.rumah-baru-event__head { min-width: 0; padding-bottom: .3rem; }
.rumah-baru-event__media + .rumah-baru-event__top .rumah-baru-event__head { padding-top: 2.6rem; }
.rumah-baru-event__name { margin: 0; font-family: var(--rb-display); font-weight: 800; font-size: 1.5rem; line-height: 1.08; letter-spacing: -.02em; color: var(--rb-ink); }
.rumah-baru-event__full { margin: .25rem 0 0; font-size: .8rem; font-weight: 700; color: var(--rb-muted); }
.rumah-baru-event__rows { display: grid; gap: .75rem; margin: 1.1rem .65rem 0; padding: 1rem 0 0; list-style: none; font-size: .9rem; border-top: 2px dashed var(--rb-ring); }
.rumah-baru-event__rows li { display: flex; align-items: flex-start; gap: .7rem; }
.rumah-baru-event__rows .rumah-baru-icon { width: 2.1rem; height: 2.1rem; padding: .45rem; border-radius: 50%; color: var(--rb-sun-ink); background: var(--inv-sun); }
.rumah-baru-event__rows li:nth-child(2) .rumah-baru-icon { color: #fff; background: var(--inv-accent); }
.rumah-baru-event__rows li:nth-child(3) .rumah-baru-icon { color: #fff; background: var(--inv-primary); }
.rumah-baru-event__rows li > span { padding-top: .3rem; }
.rumah-baru-event__venue { display: block; font-weight: 800; }
.rumah-baru-event__address { display: block; font-size: .85rem; color: var(--rb-muted); }
.rumah-baru-event .inv-maps { margin: 1.15rem .65rem 0; text-align: center; }
.rumah-baru-event .inv-maps .inv-button { width: 100%; font-weight: 800; box-shadow: 0 4px 0 var(--inv-deep); }
.rumah-baru-event .inv-maps__frame { height: 190px; border-radius: 16px; }

/* countdown: kraft moving boxes with tape and a white unit label; the calendar on a warm white card */
.rumah-baru-countdown .inv-countdown { gap: clamp(.45rem, 2.4vw, .75rem); padding-top: .6rem; }
.rumah-baru-countdown .inv-countdown__item {
    position: relative; display: grid; place-content: center; width: clamp(4rem, 18.5vw, 4.7rem); min-width: 0; aspect-ratio: 1 / 1.02; padding: .45rem 0 .3rem;
    border-radius: 4px; color: var(--rb-kraft-ink);
    background:
        linear-gradient(var(--rb-tape), var(--rb-tape)) 50% 0 / 34% 30% no-repeat,
        linear-gradient(180deg, color-mix(in srgb, var(--rb-kraft) 85%, #fff), var(--rb-kraft));
    box-shadow: inset -6px 0 0 color-mix(in srgb, var(--rb-kraft-dark) 55%, transparent), 0 16px 22px -12px rgb(0 0 0 / .6);
}
/* the open flaps on top of each box */
.rumah-baru-countdown .inv-countdown__item::before {
    content: ''; position: absolute; left: -6%; right: -6%; bottom: 100%; height: .55rem;
    background: color-mix(in srgb, var(--rb-kraft) 75%, #fff); clip-path: polygon(0 100%, 8% 0, 46% 0, 50% 100%, 54% 0, 92% 0, 100% 100%);
}
.rumah-baru-countdown .inv-countdown__value { font-variant-numeric: lining-nums tabular-nums; font-family: var(--rb-display); font-size: 1.95rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.rumah-baru-countdown .inv-countdown__label {
    justify-self: center; margin-top: .2rem; padding: .05rem .35rem; border-radius: 3px; font-size: .52rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
    color: var(--rb-kraft-ink); background: #fff;
}
.rumah-baru-countdown .inv-countdown__done { font-family: var(--rb-display); font-size: 1.4rem; font-weight: 800; color: var(--inv-sun); }
.rumah-baru-countdown .inv-countdown__actions { flex-direction: column; align-items: center; gap: .6rem; margin-top: 2rem; }
.rumah-baru-countdown .inv-countdown__actions .inv-button {
    width: min(100%, 17rem); min-height: 2.75rem; padding: .6rem 1rem; font-size: .84rem; font-weight: 800;
    color: var(--inv-background); background: color-mix(in srgb, var(--inv-background) 10%, transparent);
    box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--inv-background) 55%, transparent);
}
.rumah-baru-countdown .inv-countdown__actions .inv-button:first-child { color: var(--rb-sun-ink); background: var(--inv-sun); box-shadow: 0 4px 0 color-mix(in srgb, var(--inv-sun) 55%, #000); }
.rumah-baru-countdown .inv-cal {
    --inv-cal-bg: var(--rb-paper); --inv-cal-mark: var(--inv-accent);
    max-width: 19rem; margin: 2.8rem auto 0; border-radius: 18px;
    box-shadow: 10px 10px 0 0 var(--inv-sun), 0 22px 40px -24px rgb(0 0 0 / .6);
}
.rumah-baru-countdown .inv-cal__month { font-family: var(--rb-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--rb-ink); }

/* prayer: a big window of the house — a white pane in a deep frame on a sunny sill, curtain tie-backs */
.rumah-baru-prayer { padding-top: 4.4rem; padding-bottom: 4.2rem; }
.rumah-baru-prayer__window {
    position: relative; max-width: 21rem; margin: 0 auto; padding: 3.6rem 1.5rem 2.2rem; border-radius: 16px 16px 4px 4px;
    color: var(--inv-text); background: #fff;
    box-shadow: 0 0 0 7px var(--inv-primary), 0 0 0 9px color-mix(in srgb, var(--inv-deep) 50%, transparent), var(--rb-drop);
}
.rumah-baru-prayer__curtain {
    position: absolute; top: 0; width: 2.8rem; height: 9rem; pointer-events: none;
    background:
        linear-gradient(var(--inv-sun), var(--inv-sun)) 0 52% / 100% .45rem no-repeat,
        repeating-linear-gradient(90deg, color-mix(in srgb, var(--inv-accent) 82%, #fff) 0 6px, var(--inv-accent) 6px 12px);
}
/* a drape gathered by a sunny tie-back, flaring again below it */
.rumah-baru-prayer__curtain--left { left: 0; border-top-left-radius: 9px; clip-path: polygon(0 0, 100% 0, 62% 30%, 34% 50%, 34% 56%, 58% 100%, 0 100%); }
.rumah-baru-prayer__curtain--right { right: 0; border-top-right-radius: 9px; clip-path: polygon(0 0, 100% 0, 100% 100%, 42% 100%, 66% 56%, 66% 50%, 38% 30%); }
.rumah-baru-prayer__badge {
    position: absolute; left: 50%; top: -1.6rem; width: 3.2rem; height: 3.2rem; margin-left: -1.6rem; padding: .35rem; border-radius: 50%;
    background: var(--inv-primary); fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; box-shadow: 0 0 0 4px var(--inv-soft);
}
.rumah-baru-prayer__glow { fill: var(--inv-sun); stroke: none; }
.rumah-baru-prayer__eyebrow {
    display: inline-block; margin: 0 0 1rem; padding: .28rem .85rem; border-radius: 999px; font-size: .66rem; font-weight: 800;
    letter-spacing: .18em; text-transform: uppercase; color: var(--rb-sun-ink); background: var(--inv-sun);
}
.rumah-baru-prayer__arabic { margin: 0 0 1rem; font-size: 1.6rem; }
.rumah-baru-prayer__text { margin: 0; }
.rumah-baru-prayer__text p { margin: 0; font-family: var(--rb-display); font-size: 1.12rem; font-weight: 600; line-height: 1.45; color: var(--rb-ink); }
.rumah-baru-prayer__text cite {
    display: inline-block; margin-top: 1rem; padding: .26rem .8rem; border-radius: 999px; font-style: normal; font-size: .7rem; font-weight: 800;
    letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--rb-accent-ink);
}
.rumah-baru-prayer__sill {
    position: relative; display: block; width: min(24.5rem, 100%); height: 14px; margin: 9px auto 0; border-radius: 4px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--inv-sun) 70%, #fff), var(--inv-sun) 55%, color-mix(in srgb, var(--inv-sun) 70%, #000));
    box-shadow: 0 12px 18px -10px color-mix(in srgb, var(--inv-deep) 60%, transparent);
}
.rumah-baru-prayer__plant { position: absolute; right: .4rem; bottom: 12px; width: 3.4rem; }

/* rundown: a house tour — a dashed sunny footpath from the front door to the house badge */
.rumah-baru-rundown__tour { position: relative; text-align: left; }
.rumah-baru-rundown__tour::before {
    content: ''; position: absolute; left: 2.35rem; top: 1.6rem; bottom: 1.4rem; width: 0; transform-origin: top;
    border-left: 3px dashed color-mix(in srgb, var(--inv-sun) 85%, transparent);
}
.rumah-baru-rundown__start { position: relative; display: flex; align-items: center; gap: .6rem; margin: 0 0 1.1rem; font-size: .68rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--inv-sun); }
.rumah-baru-rundown__badge, .rumah-baru-rundown__end {
    position: relative; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-left: 1.05rem; border-radius: 50%; flex: none;
    color: var(--rb-sun-ink); background: var(--inv-sun); box-shadow: 0 0 0 4px var(--inv-deep);
}
.rumah-baru-rundown__end { margin-top: .9rem; color: #fff; background: var(--inv-accent); }
.rumah-baru-rundown__list { position: relative; margin: 0; padding: 0; list-style: none; }
.rumah-baru-rundown__item { position: relative; display: grid; grid-template-columns: 4.7rem minmax(0, 1fr); align-items: start; column-gap: .7rem; padding: 0 0 .85rem; }
.rumah-baru-rundown__item:last-child { padding-bottom: 0; }
.rumah-baru-rundown__item--shift .rumah-baru-rundown__card { margin-left: .9rem; }
/* the time on a little house-shaped tag on the path */
.rumah-baru-rundown__time {
    position: relative; justify-self: center; margin-top: .45rem; padding: .62rem .5rem .32rem; min-width: 3.6rem; text-align: center;
    font-size: .84rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--inv-deep); background: #fff;
    clip-path: polygon(50% 0, 100% 30%, 100% 100%, 0 100%, 0 30%); border-radius: 0 0 6px 6px;
}
.rumah-baru-rundown__card {
    position: relative; padding: .8rem 1rem .85rem 2.6rem; border-radius: 16px; background: color-mix(in srgb, #fff 9%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 16%, transparent);
}
.rumah-baru-rundown__room {
    position: absolute; left: .75rem; top: .85rem; font-family: var(--rb-display); font-size: .95rem; font-weight: 800; line-height: 1.2; color: var(--inv-sun);
}
.rumah-baru-rundown__card h3 { margin: 0; font-size: 1rem; font-weight: 800; line-height: 1.35; color: #fff; }
.rumah-baru-rundown__card p { margin: .15rem 0 0; font-size: .86rem; color: var(--rb-cream-muted); }
.rumah-baru-rundown__item:nth-child(3n + 2) .rumah-baru-rundown__time { background: var(--inv-sun); color: var(--rb-sun-ink); }
.rumah-baru-rundown__item:nth-child(3n) .rumah-baru-rundown__time { background: var(--inv-accent); color: #fff; }

/* story: moving-day boxes — kraft cards with open flaps, tape, a shipping label and a tilted print */
.rumah-baru-story__list { position: relative; display: grid; gap: 3.2rem; margin: 0; padding: 1rem 0 0; list-style: none; text-align: left; }
.rumah-baru-story__box {
    position: relative; padding: 1.5rem 1rem 1.15rem; border-radius: 4px; color: var(--rb-kraft-ink);
    background: linear-gradient(180deg, color-mix(in srgb, var(--rb-kraft) 80%, #fff), var(--rb-kraft));
    box-shadow: inset -10px 0 0 color-mix(in srgb, var(--rb-kraft-dark) 40%, transparent), 0 20px 30px -20px color-mix(in srgb, var(--inv-deep) 70%, transparent);
    transform: rotate(-.8deg);
}
.rumah-baru-story__box--flip { transform: rotate(.8deg); }
/* open flaps */
.rumah-baru-story__box::before {
    content: ''; position: absolute; left: -4%; right: -4%; bottom: 100%; height: 1rem;
    background: color-mix(in srgb, var(--rb-kraft) 70%, #fff); clip-path: polygon(0 100%, 6% 0, 47% 0, 50% 100%, 53% 0, 94% 0, 100% 100%);
}
/* a dashed arrow down to the next box */
.rumah-baru-story__box:not(:last-child)::after {
    content: ''; position: absolute; left: 50%; top: calc(100% + .55rem); width: 0; height: 1.6rem; border-left: 2.5px dashed var(--inv-accent);
}
.rumah-baru-story__tape { position: absolute; top: 0; left: 50%; width: 3.2rem; height: 1.6rem; margin-left: -1.6rem; background: var(--rb-tape); opacity: .95; }
.rumah-baru-story__label {
    position: absolute; top: -.7rem; left: .9rem; display: flex; flex-direction: column; margin: 0; padding: .35rem .7rem .4rem; border-radius: 4px;
    background: #fff; transform: rotate(-4deg); box-shadow: 0 6px 10px -6px rgb(0 0 0 / .4);
}
.rumah-baru-story__box--flip .rumah-baru-story__label { left: auto; right: .9rem; transform: rotate(4deg); }
.rumah-baru-story__label small { font-size: .55rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--rb-accent-ink); }
.rumah-baru-story__label span { font-family: var(--rb-display); font-size: 1.08rem; font-weight: 800; line-height: 1.1; color: var(--rb-ink); }
.rumah-baru-story__inside { display: grid; grid-template-columns: 42% minmax(0, 1fr); align-items: center; gap: 1rem; margin-top: 1.5rem; }
.rumah-baru-story__box--flip .rumah-baru-story__inside { grid-template-columns: minmax(0, 1fr) 42%; }
.rumah-baru-story__box--flip .rumah-baru-story__print { order: 2; }
.rumah-baru-story__print { margin: 0; padding: 5px 5px 14px; background: #fff; transform: rotate(-3deg); box-shadow: 0 10px 16px -10px rgb(0 0 0 / .55); }
.rumah-baru-story__box--flip .rumah-baru-story__print { transform: rotate(3deg); }
.rumah-baru-story__photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.rumah-baru-story__body h3 { margin: 0; font-family: var(--rb-display); font-weight: 800; font-size: 1.32rem; line-height: 1.1; letter-spacing: -.02em; color: var(--rb-kraft-ink); }
.rumah-baru-story__body p { margin: .4rem 0 0; font-size: .88rem; line-height: 1.55; color: color-mix(in srgb, var(--rb-kraft-ink) 92%, var(--rb-kraft)); }
.rumah-baru-story__box--text .rumah-baru-story__inside { grid-template-columns: 3.2rem minmax(0, 1fr); align-items: start; }
.rumah-baru-story__box--text.rumah-baru-story__box--flip .rumah-baru-story__inside { grid-template-columns: 3.2rem minmax(0, 1fr); }
.rumah-baru-story__badge {
    display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; color: #fff; background: var(--inv-primary);
    box-shadow: 0 0 0 3px #fff;
}
.rumah-baru-story__badge .rumah-baru-icon { width: 1.5rem; height: 1.5rem; }

/* gallery: bunting, then white-framed prints; the first one tall with a sunny frame */
.rumah-baru-gallery { padding-top: 4.8rem; }
.rumah-baru-gallery__bunting { position: absolute; top: -2px; left: 0; width: 100%; }
.rumah-baru-gallery .inv-gallery { gap: .7rem; }
.rumah-baru-gallery .inv-gallery__item { border-radius: 6px; box-shadow: 0 0 0 4px #fff, 0 16px 28px -16px rgb(0 0 0 / .8); }
.rumah-baru-gallery .inv-gallery__item:first-child { grid-row: span 2; aspect-ratio: auto; box-shadow: 0 0 0 4px var(--inv-sun), 0 16px 28px -16px rgb(0 0 0 / .8); }

/* live streaming: a primary "TV screen" card with a coral offset block */
.rumah-baru-stream__card {
    display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .9rem 1rem; max-width: 24rem; margin: 0 auto; padding: 1.5rem 1.35rem 1.4rem;
    border-radius: 26px; color: var(--inv-background); text-align: left;
    background: radial-gradient(70% 90% at 0% 0%, color-mix(in srgb, #fff 16%, transparent), transparent 70%), linear-gradient(140deg, var(--inv-primary), var(--inv-deep));
    box-shadow: inset 0 0 0 6px color-mix(in srgb, var(--inv-deep) 60%, transparent), 10px 10px 0 0 var(--inv-accent), var(--rb-drop);
}
.rumah-baru-stream__icon { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; color: var(--rb-sun-ink); background: var(--inv-sun); }
.rumah-baru-stream__icon .rumah-baru-icon { width: 1.7rem; height: 1.7rem; stroke-width: 2; }
.rumah-baru-stream__title { margin: 0 0 .15rem; font-family: var(--rb-display); font-weight: 800; font-size: 1.6rem; line-height: 1.1; letter-spacing: -.02em; color: #fff; }
.rumah-baru-stream__text p { margin: 0; font-size: .86rem; color: var(--rb-cream-muted); }
.rumah-baru-stream__text .rumah-baru-stream__note { margin-top: .3rem; font-weight: 700; color: var(--inv-sun); }
.rumah-baru-stream__button { grid-column: 1 / -1; min-height: 2.75rem; color: var(--rb-sun-ink) !important; background: var(--inv-sun) !important; font-weight: 800; }

/* RSVP card: a little house — a coral roof with a chimney over a warm white card, a sunny block behind */
.rumah-baru-rsvp__house { position: relative; margin-right: 10px; }
.rumah-baru-rsvp__roof { display: block; width: calc(100% + 1.2rem); height: 4.2rem; margin: 0 -.6rem -1px; fill: var(--inv-accent); overflow: visible; }
.rumah-baru-rsvp__chimney { fill: color-mix(in srgb, var(--inv-accent) 70%, #000); }
.rumah-baru-rsvp__card {
    position: relative; padding: 1.8rem 1.15rem 1.4rem; border-radius: 0 0 22px 22px; color: var(--inv-text); background: var(--rb-paper);
    box-shadow: 10px 10px 0 0 var(--inv-sun), 0 22px 40px -24px rgb(0 0 0 / .6);
}
.rumah-baru-rsvp__intro { margin: 0 auto 1.1rem; max-width: 30ch; font-size: .9rem; color: var(--rb-muted); }
.rumah-baru-rsvp__sent { margin-bottom: 1rem; }
.rumah-baru-rsvp__check { display: block; width: 4.25rem; height: 4.25rem; margin: 0 auto .5rem; }
.rumah-baru-rsvp__check circle { fill: var(--inv-primary); }
.rumah-baru-rsvp__check path { fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
html.inv-anim .rumah-baru-rsvp__sent .rumah-baru-rsvp__check { animation: rumah-baru-bounce .8s cubic-bezier(.34, 1.56, .64, 1) both; }
html.inv-anim .rumah-baru-rsvp__sent .rumah-baru-rsvp__check path { animation: rumah-baru-draw .45s ease-out .35s both; }
.rumah-baru-rsvp__thanks { margin: 0; font-family: var(--rb-display); font-size: 1.7rem; font-weight: 800; color: var(--rb-ink); }
.rumah-baru-rsvp__line { margin: .1rem 0 0; font-size: .9rem; color: var(--rb-muted); }
.rumah-baru-rsvp .inv-rsvp__deadline { margin: 0 0 1rem; font-size: .84rem; font-weight: 700; color: var(--rb-accent-ink); }

/* gift: little gift boxes (a ribbon down the lid and a bow), two per row; the address a kraft parcel label */
.rumah-baru-gift__intro { color: var(--rb-cream-muted); }
.rumah-baru-gift .inv-gift__accounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: 1.9rem; }
.rumah-baru-gift .inv-gift__account:last-child:nth-child(odd) { grid-column: 1 / -1; }
.rumah-baru-gift .inv-gift__account:not(.inv-gift__address) {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: .3rem; min-width: 0; margin: 0;
    padding: 1.7rem .75rem 1rem; border-radius: 12px; color: var(--inv-text);
    background: linear-gradient(90deg, transparent calc(50% - 5px), color-mix(in srgb, var(--inv-accent) 30%, transparent) calc(50% - 5px) calc(50% + 5px), transparent 0), var(--rb-paper);
    box-shadow: inset 0 9px 0 var(--inv-accent), 0 18px 30px -20px rgb(0 0 0 / .6);
}
/* the bow on the lid (two loops and a knot, a mask in the accent colour) */
.rumah-baru-gift .inv-gift__account:not(.inv-gift__address)::before {
    content: ''; position: absolute; top: -1.05rem; left: 50%; width: 3rem; height: 1.6rem; margin-left: -1.5rem; background: var(--inv-accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 26'%3E%3Cpath d='M21 19C14 9 4 3 2 9c-2 7 8 11 19 10ZM27 19c7-10 17-16 19-10 2 7-8 11-19 10Z' fill='%23000'/%3E%3Crect x='19' y='14' width='10' height='10' rx='3' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 26'%3E%3Cpath d='M21 19C14 9 4 3 2 9c-2 7 8 11 19 10ZM27 19c7-10 17-16 19-10 2 7-8 11-19 10Z' fill='%23000'/%3E%3Crect x='19' y='14' width='10' height='10' rx='3' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
}
.rumah-baru-gift .inv-gift__account p, .rumah-baru-gift .inv-gift__address p { margin: 0; }
.rumah-baru-gift .inv-gift__bank { font-weight: 800; font-size: .85rem; color: var(--rb-ink); }
.rumah-baru-gift .inv-gift__logo { height: 1.6rem; padding: .2rem .5rem; border-radius: .4rem; background: #fff; }
.rumah-baru-gift .inv-gift__logo img { max-width: 5rem; }
.rumah-baru-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);
}
.rumah-baru-gift .inv-gift__holder { font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--rb-muted); overflow-wrap: anywhere; }
.rumah-baru-gift .inv-button { margin-top: .35rem; min-height: 2.25rem; padding: .35rem .9rem; font-size: .74rem; font-weight: 800; }
.rumah-baru-gift .inv-gift__address {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: .3rem; margin-top: 1rem; padding: 1.2rem 1rem 1.1rem; font-size: .875rem;
    border-radius: 6px; color: var(--rb-kraft-ink); background: var(--rb-kraft);
    outline: 2px dashed color-mix(in srgb, var(--rb-kraft-ink) 45%, transparent); outline-offset: -8px;
    box-shadow: inset -8px 0 0 color-mix(in srgb, var(--rb-kraft-dark) 45%, transparent), 8px 8px 0 0 var(--inv-sun);
}
.rumah-baru-gift .inv-gift__address .inv-gift__holder { font-size: .72rem; color: var(--rb-kraft-ink); }
.rumah-baru-gift .inv-gift__address .inv-gift__bank { color: var(--rb-kraft-ink); }

/* co-hosts: bold names on the sunny band, one per line, split by a tiny house mark */
.rumah-baru-cohosts__list { display: flex; flex-direction: column; align-items: center; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.rumah-baru-cohosts__list li { max-width: 26ch; font-family: var(--rb-display); font-size: 1.3rem; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--rb-sun-ink); }
.rumah-baru-cohosts__list li + li::before {
    content: ''; display: block; width: 14px; height: 12px; margin: 0 auto .55rem; background: var(--inv-accent);
    clip-path: polygon(50% 0, 100% 45%, 100% 100%, 0 100%, 0 45%);
}

/* contacts: pill rows with the initial on a house-shaped badge and a WhatsApp button */
.rumah-baru-contacts__list { display: grid; gap: .8rem; max-width: 24rem; margin: 0 auto; }
.rumah-baru-contact {
    display: grid; grid-template-columns: 2.9rem minmax(0, 1fr) auto; align-items: center; gap: .8rem; padding: .6rem .6rem .6rem .65rem; border-radius: 20px;
    background: #fff; text-align: left; box-shadow: 0 0 0 1.5px var(--rb-ring), 6px 6px 0 0 var(--inv-sun);
}
.rumah-baru-contact__avatar {
    display: grid; place-items: center; width: 2.9rem; height: 3rem; padding-top: .5rem;
    font-family: var(--rb-display); font-size: 1.3rem; font-weight: 800; color: #fff; background: var(--inv-primary);
    clip-path: polygon(50% 0, 100% 36%, 100% 100%, 0 100%, 0 36%); border-radius: 0 0 6px 6px;
}
.rumah-baru-contact:nth-child(even) .rumah-baru-contact__avatar { background: var(--inv-accent); }
.rumah-baru-contact p { margin: 0; }
.rumah-baru-contact__name { font-weight: 800; font-size: .95rem; line-height: 1.3; overflow-wrap: anywhere; }
.rumah-baru-contact__role { font-size: .78rem; color: var(--rb-muted); }
.rumah-baru-contact__phone { font-size: .85rem; }
.rumah-baru-contact__button { min-height: 2.5rem; padding: .45rem .95rem; font-size: .8rem; font-weight: 800; background: var(--inv-leaf); }
.rumah-baru-contact__button .rumah-baru-icon { width: 1.05rem; height: 1.05rem; }

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

/* vendors: a white checklist card, rows split by dashed lines, a box icon per row */
.rumah-baru-vendors__list { max-width: 24rem; margin: 0 auto; padding: .3rem 1rem; list-style: none; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1.5px var(--rb-ring), 8px 8px 0 0 var(--inv-primary); }
.rumah-baru-vendor { display: flex; align-items: center; gap: .75rem; padding: .85rem 0; text-align: left; border-bottom: 2px dashed var(--rb-ring); }
.rumah-baru-vendor:last-child { border-bottom: 0; }
.rumah-baru-vendor__icon { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; flex: none; border-radius: 8px; color: var(--rb-kraft-ink); background: var(--rb-kraft); }
.rumah-baru-vendor__icon .rumah-baru-icon { width: 1.15rem; height: 1.15rem; }
.rumah-baru-vendor__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.rumah-baru-vendor__role { font-size: .62rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--rb-accent-ink); }
.rumah-baru-vendor__name { font-family: var(--rb-display); font-size: 1.12rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; color: var(--inv-text); overflow-wrap: anywhere; }
.rumah-baru-vendor__link {
    display: inline-flex; align-items: center; gap: .3rem; flex: none; min-height: 2.2rem; padding: .3rem .7rem; border-radius: 999px;
    font-size: .72rem; font-weight: 800; text-decoration: none; background: var(--inv-soft); color: var(--inv-deep);
}
.rumah-baru-vendor__link .rumah-baru-icon { width: .95rem; height: .95rem; }

/* closing: the full photo fading into the deep colour, bunting, the house, the thanks, the family doormat */
.rumah-baru-closing { padding: 3.1rem 1.5rem 1.9rem; }
.rumah-baru-closing::after {
    content: ''; position: absolute; z-index: -1; left: 50%; bottom: -40%; width: 160%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%);
    background: radial-gradient(circle, color-mix(in srgb, var(--inv-sun) 20%, transparent), transparent 60%); pointer-events: none;
}
.rumah-baru-closing--photo { padding-top: 0; }
.rumah-baru-closing__photo { position: relative; z-index: -1; height: min(92vw, 52svh, 23rem); margin: 0 -1.5rem; overflow: hidden; }
.rumah-baru-closing__photo img { display: block; width: 100%; height: calc(100% + 60px); margin-top: -30px; object-fit: cover; object-position: center 22%; --inv-parallax: 30px; }
.rumah-baru-closing__photo::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--inv-deep) 55%, transparent) 68%, var(--inv-deep) 97%);
}
.rumah-baru-closing__body { position: relative; }
.rumah-baru-closing--photo .rumah-baru-closing__body { margin-top: -4.2rem; }
.rumah-baru-closing__bunting { width: calc(100% + 1rem); margin: 0 -.5rem .4rem; }
.rumah-baru-closing__house { width: 3.8rem; margin: 0 auto .55rem; }
.rumah-baru-closing .rumah-baru-house__wall { fill: color-mix(in srgb, #fff 92%, var(--inv-primary)); }
.rumah-baru-closing .rumah-baru-house__pane { stroke: var(--inv-deep); }
.rumah-baru-closing__eyebrow { margin: 0 0 .3rem; font-size: .68rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--inv-sun); }
.rumah-baru-closing__title { margin: 0 0 .7rem; font-family: var(--rb-display); font-weight: 800; font-size: clamp(1.9rem, 8.5vw, 2.4rem); line-height: 1; letter-spacing: -.03em; color: #fff; }
.rumah-baru-closing__title em { position: relative; display: inline-block; font-style: normal; color: var(--inv-sun); }
.rumah-baru-closing__title em::after {
    content: ''; position: absolute; left: -.06em; right: -.08em; bottom: .02em; height: .34em; z-index: -1; background: var(--inv-accent); opacity: .8;
    -webkit-mask: var(--rb-marker) center / 100% 100% no-repeat; mask: var(--rb-marker) center / 100% 100% no-repeat;
}
.rumah-baru-closing__message { margin: 0 auto; max-width: 32ch; font-size: .92rem; line-height: 1.6; color: var(--rb-cream-muted); }
.rumah-baru-closing__salam { margin: .75rem auto 0; max-width: 24ch; font-family: var(--rb-display); font-size: 1.06rem; font-weight: 700; line-height: 1.3; color: var(--inv-sun); }
.rumah-baru-closing__signature { margin: .75rem auto 0; max-width: 30ch; font-size: .86rem; color: var(--rb-cream-muted); }
/* the porch: monstera, the family doormat, boxes, on a ground line */
.rumah-baru-closing__porch { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: .3rem; margin-top: 1.3rem; padding-bottom: 4px; }
.rumah-baru-closing__porch::after {
    content: ''; position: absolute; left: -1.5rem; right: -1.5rem; bottom: 0; height: 3px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--inv-sun) 70%, transparent) 20%, color-mix(in srgb, var(--inv-sun) 70%, transparent) 80%, transparent);
}
.rumah-baru-closing__plant { width: 2.7rem; flex: none; }
.rumah-baru-closing__boxes { width: 2.9rem; flex: none; }
.rumah-baru-closing__mat {
    position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; margin: 0 .5rem 4px; padding: .5rem .9rem .55rem; border-radius: 6px; color: #fff;
    background: repeating-linear-gradient(90deg, transparent 0 4px, color-mix(in srgb, #000 8%, transparent) 4px 5px), var(--inv-accent);
    box-shadow: inset 0 0 0 3px color-mix(in srgb, #000 10%, transparent);
}
.rumah-baru-closing__mat::before, .rumah-baru-closing__mat::after {
    content: ''; position: absolute; top: 4px; bottom: 4px; width: 6px; background: repeating-linear-gradient(180deg, var(--rb-accent-ink) 0 2px, transparent 2px 5px);
}
.rumah-baru-closing__mat::before { left: -6px; }
.rumah-baru-closing__mat::after { right: -6px; }
.rumah-baru-closing__mat small { font-size: .55rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--inv-sun); }
.rumah-baru-closing__mat span { font-family: var(--rb-display); font-size: 1.08rem; font-weight: 800; line-height: 1.12; overflow-wrap: anywhere; text-wrap: balance; }

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

/* the three answers as big cards with icons (the radio dot is hidden but still focusable) */
.rumah-baru-rsvp .inv-form__choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.rumah-baru-rsvp .inv-form__choices legend { margin-bottom: .5rem; padding: 0; }
.rumah-baru-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: 16px; cursor: pointer; text-align: center;
    font-size: .84rem; font-weight: 700; line-height: 1.2; color: var(--inv-text); background: #fff;
    box-shadow: inset 0 0 0 1.5px 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;
}
.rumah-baru-rsvp .inv-form__choices input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
/* icon: a tinted circle (::before) with a check, a cross or a question mark on it (::after, a mask in the text colour) */
.rumah-baru-rsvp .inv-form__choices label::before {
    content: ''; width: 2.1rem; height: 2.1rem; border-radius: 50%; flex: none; background: var(--inv-soft);
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background-color .25s ease;
}
.rumah-baru-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(--rb-choice-icon) center / contain no-repeat; mask: var(--rb-choice-icon) center / contain no-repeat;
}
.rumah-baru-rsvp .inv-form__choices label:nth-of-type(1) {
    --rb-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");
}
.rumah-baru-rsvp .inv-form__choices label:nth-of-type(2) {
    --rb-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");
}
.rumah-baru-rsvp .inv-form__choices label:nth-of-type(3) {
    --rb-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");
}
.rumah-baru-rsvp .inv-form__choices label:has(input:checked) {
    color: #fff; background: var(--inv-primary); transform: translateY(-3px);
    box-shadow: 0 0 0 3px var(--inv-sun), 0 12px 24px -12px color-mix(in srgb, var(--inv-primary) 80%, transparent);
}
.rumah-baru-rsvp .inv-form__choices label:has(input:checked)::before { background-color: rgb(255 255 255 / .2); transform: scale(1.1); }
.rumah-baru-rsvp .inv-form__choices label:has(input:checked)::after { color: #fff; }
.rumah-baru-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 primary block, the wishes as little notes in a scroll box */
.rumah-baru-wishes .inv-wishes { --inv-wishes-height: 20rem; }
.rumah-baru-wishes .inv-form {
    margin-right: 8px; padding: 1.3rem 1.1rem; border-radius: 22px; background: #fff;
    box-shadow: 0 0 0 1.5px var(--rb-ring), 8px 8px 0 0 var(--inv-primary);
}
.rumah-baru-wishes .inv-wishes__list { margin-top: 1.6rem; }
.rumah-baru-wishes .inv-wishes:not(.inv-wishes--paged) .inv-wishes__list {
    padding: .55rem; border-radius: 20px; background: var(--inv-soft); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--inv-sun) 55%, transparent);
}
.rumah-baru-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: 4px solid var(--inv-accent); }
.rumah-baru-wishes .inv-wish:nth-child(3n + 2) { border-left-color: var(--inv-sun); }
.rumah-baru-wishes .inv-wish:nth-child(3n) { border-left-color: var(--inv-primary); }
.rumah-baru-wishes .inv-wish__name { font-weight: 800; color: var(--rb-ink); }
.rumah-baru-wishes .inv-wish__message { font-size: .88rem; line-height: 1.5; }
.rumah-baru-wishes .inv-wish__time { font-size: .72rem; color: var(--rb-muted); }

/* ---------- 7. shared components ---------- */
.rumah-baru-main .inv-button { font-weight: 800; }
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(--rb-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 */
.rumah-baru-main ~ .inv-music__space { background: var(--inv-deep); }
.rumah-baru-main ~ .rumah-baru-branding ~ .inv-music__space { background: var(--inv-end-bg, var(--inv-deep)); }

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

/* short phones: the house and type step down so everything fits without scrolling */
@media (max-height: 760px) {
    .rumah-baru-cover { --hw: min(56vw, 13rem, 25.5svh); padding-top: 2.9rem; padding-bottom: 1.4rem; }
    .rumah-baru-cover__title { margin-bottom: .8rem; }
    .rumah-baru-cover__text { margin-top: .75rem; }
    .rumah-baru-cover__name { font-size: 1.75rem; }
    .rumah-baru-cover__date { margin-top: .5rem; }
    .rumah-baru-cover__quote { font-size: .82rem; margin-top: .45rem; }
    .rumah-baru-cover__guest { margin-top: .85rem; }
    .rumah-baru-cover__open { margin-top: .85rem; }
}
@media (max-height: 660px) {
    .rumah-baru-cover { --hw: min(52vw, 23svh); padding-top: 2.5rem; padding-bottom: 1.2rem; }
    .rumah-baru-cover__bunting { width: 92%; }
    .rumah-baru-cover__title { margin-bottom: .6rem; padding-block: .22rem; font-size: .6rem; }
    .rumah-baru-cover__text { margin-top: .6rem; }
    .rumah-baru-cover__name { font-size: 1.55rem; }
    .rumah-baru-cover__date { padding: .22rem .75rem; font-size: .78rem; }
    .rumah-baru-cover__quote { font-size: .78rem; line-height: 1.38; }
    .rumah-baru-cover__guest { padding: .6rem .85rem .45rem; }
    .rumah-baru-cover__guest-name { font-size: 1.02rem; }
    .rumah-baru-cover__open { min-height: 2.75rem; margin-top: .75rem; padding: .55rem 1.5rem; }
}
/* very short screens (in-app browsers) */
@media (max-height: 600px) {
    .rumah-baru-cover { --hw: min(48vw, 20svh); padding-top: 2.2rem; }
    .rumah-baru-cover__bunting { width: 80%; }
    .rumah-baru-cover__name { font-size: 1.4rem; }
    .rumah-baru-cover__quote { font-size: .74rem; max-width: 36ch; }
}

/* wide screens: the phone-width column on a deep backdrop with the dots */
@media (min-width: 560px) {
    body.rumah-baru-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.rumah-baru-body::before {
        content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .1; background: #fff;
        -webkit-mask: var(--rb-dots) 0 0 / 22px 22px; mask: var(--rb-dots) 0 0 / 22px 22px;
    }
    .rumah-baru-main { box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); }
}

/* ---------- 9. motion ---------- */
@keyframes rumah-baru-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes rumah-baru-bounce { 0% { transform: scale(0); } 55% { transform: scale(1.15); } 75% { transform: scale(.94); } 100% { transform: scale(1); } }
@keyframes rumah-baru-house-in { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes rumah-baru-door-left { from { transform: rotateY(0); } to { transform: rotateY(-112deg); } }
@keyframes rumah-baru-door-right { from { transform: rotateY(0); } to { transform: rotateY(112deg); } }
@keyframes rumah-baru-zoom-out { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes rumah-baru-flag { 0% { opacity: 0; transform: scaleY(0); } 70% { opacity: 1; transform: scaleY(1.12); } 100% { opacity: 1; transform: scaleY(1); } }
@keyframes rumah-baru-pop { 0% { opacity: 0; transform: translateY(10px) scale(.6); } 70% { opacity: 1; transform: translateY(-2px) scale(1.05); } 100% { opacity: 1; transform: none; } }
@keyframes rumah-baru-mat { from { opacity: 0; transform: scaleX(.4); } to { opacity: 1; transform: none; } }
@keyframes rumah-baru-sway { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(2.5deg); } }
@keyframes rumah-baru-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes rumah-baru-sticker { 0% { opacity: 0; transform: rotate(-30deg) scale(1.6); } 70% { opacity: 1; transform: rotate(-6deg) scale(.95); } 100% { opacity: 1; transform: rotate(-9deg) scale(1); } }

/* cover (≤ 2.5 s, once): the house pops up (0–.7 s), the doors swing open on the photo (.45–1.4 s) while it
   settles from a slight zoom, the pennants drop one by one (.3–1.3 s), the plant and the boxes pop in
   (.9–1.5 s) and the doormat rolls out (1–1.5 s); the text follows through its inv-enter delays */
html.inv-anim .rumah-baru-cover__house { animation: rumah-baru-house-in .7s cubic-bezier(.2, .8, .2, 1) both; }
html.inv-anim .rumah-baru-cover__scene::before { animation: rumah-baru-pop .8s cubic-bezier(.3, .9, .3, 1) .05s both; }
html.inv-anim .rumah-baru-cover__leaf { display: block; }
html.inv-anim .rumah-baru-cover__leaf--left { animation: rumah-baru-door-left .95s cubic-bezier(.55, 0, .3, 1) .45s both; }
html.inv-anim .rumah-baru-cover__leaf--right { animation: rumah-baru-door-right .95s cubic-bezier(.55, 0, .3, 1) .45s both; }
html.inv-anim .rumah-baru-cover__photo { animation: rumah-baru-zoom-out 1.4s cubic-bezier(.2, .7, .2, 1) .3s both; }
html.inv-anim .rumah-baru-cover__bunting .rumah-baru-bunting__flag { animation: rumah-baru-flag .5s cubic-bezier(.3, .9, .3, 1) calc(.3s + var(--i) * .09s) both; }
html.inv-anim .rumah-baru-cover__plant { animation: rumah-baru-pop .6s cubic-bezier(.3, .9, .3, 1) .9s both; }
html.inv-anim .rumah-baru-cover__boxes { animation: rumah-baru-pop .6s cubic-bezier(.3, .9, .3, 1) 1s both; }
html.inv-anim .rumah-baru-cover__mat { animation: rumah-baru-mat .5s cubic-bezier(.3, .9, .3, 1) 1s both; }
html.inv-anim .rumah-baru-cover__number { animation: rumah-baru-pop .5s cubic-bezier(.34, 1.56, .64, 1) 1.1s both; }

/* the pennants of section garlands drop in once when their section is revealed */
html.inv-anim :is(.rumah-baru-opening, .rumah-baru-gallery, .rumah-baru-closing) .rumah-baru-bunting__flag { opacity: 0; }
html.inv-anim :is(.rumah-baru-opening.is-revealed, .rumah-baru-gallery.is-revealed, .rumah-baru-closing .is-revealed) .rumah-baru-bunting__flag,
html.inv-anim .rumah-baru-bunting.is-revealed .rumah-baru-bunting__flag { animation: rumah-baru-flag .5s cubic-bezier(.3, .9, .3, 1) calc(.2s + var(--i) * .08s) both; }
/* the moving-in sticker is stamped once */
html.inv-anim .rumah-baru-home__sticker { opacity: 0; }
html.inv-anim :is(.is-revealed .rumah-baru-home__sticker, .is-revealed.rumah-baru-home__sticker, .rumah-baru-home__sheet.is-revealed .rumah-baru-home__sticker) { animation: rumah-baru-sticker .6s cubic-bezier(.3, .9, .3, 1) .5s both; }
/* the monsteras sway very gently (slow, small, interactive feel; off with reduced motion) */
html.inv-anim :is(.rumah-baru-host__plant, .rumah-baru-prayer__plant, .rumah-baru-closing__plant) .rumah-baru-monstera__plant { animation: rumah-baru-sway 6s ease-in-out infinite; }

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

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

/* ---------- 10. intro scene "Dari Denah ke Rumah Baru" (scene.json + sections/_scene) ----------
   The intro is teleported to <body>: everything here is prefixed .rb-scene-* and uses the variant colours. */
.rb-scene-paper {
    position: absolute; inset: 0;
    background:
        radial-gradient(70% 30% at 100% 100%, color-mix(in srgb, var(--inv-accent) 14%, transparent), transparent 72%),
        radial-gradient(80% 32% at 0% 100%, color-mix(in srgb, var(--inv-soft) 95%, transparent), transparent 75%),
        var(--inv-background);
}
.rb-scene-paper::before {
    content: ''; position: absolute; inset: 0; opacity: .07; background: var(--inv-primary);
    -webkit-mask: var(--rb-dots) 0 0 / 22px 22px; mask: var(--rb-dots) 0 0 / 22px 22px;
}
.rb-scene-sun {
    width: 100%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, var(--inv-sun) 0 64%, color-mix(in srgb, var(--inv-sun) 40%, transparent) 64.5% 66%, transparent 66.5% 72%, color-mix(in srgb, var(--inv-sun) 30%, transparent) 72.5% 73.5%, transparent 74%);
}
.rb-scene-house { overflow: visible; }
.rb-scene-house__lawn { fill: color-mix(in srgb, var(--inv-leaf) 80%, var(--inv-background)); }
.rb-scene-house__wall { fill: var(--inv-primary); }
.rb-scene-house__siding { fill: none; stroke: color-mix(in srgb, #000 10%, transparent); stroke-width: 1; }
.rb-scene-house__attic { fill: var(--inv-sun); stroke: #fff; stroke-width: 2.5; }
.rb-scene-house__casing { fill: #fff; }
.rb-scene-house__photo {
    --rb-scene-glow: radial-gradient(70% 50% at 50% 30%, color-mix(in srgb, #fff 40%, transparent), transparent 70%), linear-gradient(180deg, var(--inv-sun), color-mix(in srgb, var(--inv-accent) 85%, var(--inv-sun)));
    width: 100%; height: 100%; border-radius: 4px; background: var(--rb-scene-glow); background-size: cover; background-position: center 30%;
}
.rb-scene-house__pane { fill: none; stroke: #fff; stroke-width: 3; }
.rb-scene-house__sill { fill: color-mix(in srgb, #fff 85%, var(--inv-primary)); }
.rb-scene-house__door { fill: var(--inv-sun); }
.rb-scene-house__door-panel { fill: color-mix(in srgb, #000 10%, transparent); }
.rb-scene-house__knob { fill: var(--inv-deep); }
.rb-scene-plate { transform-box: view-box; transform-origin: 120px 26px; }
.rb-scene-plate__cord { fill: none; stroke: var(--inv-deep); stroke-width: 1.6; stroke-linecap: round; }
.rb-scene-plate__nail { fill: var(--inv-sun); }
.rb-scene-plate__board { fill: #fff; stroke: var(--inv-sun); stroke-width: 2.4; }
.rb-scene-plate__text { font-family: var(--rb-display); font-size: 14px; font-weight: 800; fill: var(--inv-deep); }
html.inv-anim .inv-intro.is-playing .rb-scene-plate { animation: rb-scene-swing 2.6s ease-in-out 4s infinite alternate both; }
@keyframes rb-scene-swing { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
.rb-scene-lawn {
    position: absolute; inset: 0; border-radius: 50% 50% 0 0 / 34% 34% 0 0;
    background: linear-gradient(180deg, color-mix(in srgb, var(--inv-leaf) 80%, var(--inv-background)), color-mix(in srgb, var(--inv-leaf) 92%, #000));
}
/* the pennants drop one by one as the garland arrives (≈ 2.6 s into the intro) */
html.inv-anim .inv-intro.is-playing .rb-scene-bunting .rumah-baru-bunting__flag { animation: rumah-baru-flag .5s cubic-bezier(.3, .9, .3, 1) calc(2.7s + var(--i) * .08s) both; }
/* the top moving box drops onto the stack once the boxes are in (≈ 3.4 s) */
.rb-scene-boxes .rumah-baru-boxes__top { transform-box: fill-box; transform-origin: 50% 100%; }
html.inv-anim .inv-intro.is-playing .rb-scene-boxes .rumah-baru-boxes__top { animation: rb-scene-drop .8s cubic-bezier(.3, .7, .4, 1) 3.5s both; }
@keyframes rb-scene-drop {
    0% { opacity: 0; transform: translateY(-70px) rotate(-7deg); }
    55% { opacity: 1; transform: translateY(0) rotate(-7deg) scale(1.04, .92); }
    75% { transform: translateY(-5px) rotate(-9deg); }
    100% { opacity: 1; transform: rotate(-7deg); }
}
.rb-scene-mat {
    position: absolute; inset: 0; display: grid; place-items: center; margin: 0; border-radius: 4px; color: #fff;
    background: repeating-linear-gradient(90deg, transparent 0 3px, color-mix(in srgb, #000 8%, transparent) 3px 4px), var(--inv-accent);
    box-shadow: inset 0 0 0 2px color-mix(in srgb, #000 12%, transparent), 0 6px 10px -6px color-mix(in srgb, var(--inv-deep) 70%, transparent);
}
.rb-scene-mat span { font-size: .56rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
/* the blueprint sheet: the house in white lines over the grid, drawn in from the left */
.rb-scene-plan { position: absolute; inset: 0; box-shadow: 0 30px 50px -10px color-mix(in srgb, var(--inv-deep) 55%, transparent); }
.rb-scene-plan svg { position: absolute; overflow: visible; fill: none; stroke: #fff; stroke-linejoin: round; stroke-linecap: round; }
.rb-scene-plan__house { left: 8%; width: 84%; top: 7%; height: 33%; }
.rb-scene-plan__lines { stroke-width: 2; }
.rb-scene-plan__dims { stroke-width: 1; opacity: .6; }
.rb-scene-plan__compass { right: 8%; bottom: 9%; width: 13%; stroke-width: 1.4; opacity: .7; }
.rb-scene-plan__room { left: 8%; bottom: 8%; width: 38%; stroke-width: 1.6; opacity: .45; }
html.inv-anim .inv-intro.is-playing .rb-scene-plan svg { animation: rb-scene-draw 1s cubic-bezier(.4, 0, .3, 1) .05s both; }
html.inv-anim .inv-intro.is-playing .rb-scene-plan__room { animation-delay: .35s; }
@keyframes rb-scene-draw { from { clip-path: inset(-10% 110% -10% -10%); } to { clip-path: inset(-10% -10% -10% -10%); } }
/* the name card: a white moving-box label with a dashed coral line and a little roof on top */
body.rumah-baru-body .inv-intro--scene .inv-scene__card {
    top: 60%; width: min(var(--scene-card-w, 74vw), 19rem); aspect-ratio: auto; padding: 1.55rem 1.2rem 1.2rem; border-radius: 16px;
    -webkit-mask: none; mask: none; -webkit-backdrop-filter: none; backdrop-filter: none;
    color: var(--inv-text); background: #fff;
    outline: 1.5px dashed color-mix(in srgb, var(--inv-accent) 70%, transparent); outline-offset: -7px;
    box-shadow: var(--rb-drop), inset 0 0 0 1.5px var(--rb-ring);
}
body.rumah-baru-body .inv-intro--scene .inv-scene__card::before {
    content: ''; position: absolute; left: 50%; top: -1.05rem; width: 3.4rem; height: 1.25rem; margin-left: -1.7rem;
    background: var(--inv-primary); clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
body.rumah-baru-body .inv-scene__card .inv-intro__label { margin-bottom: .5rem; font: 800 .64rem/1.3 var(--rb-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--rb-accent-ink); }
body.rumah-baru-body .inv-scene__card .inv-intro__names {
    font-family: var(--rb-display) !important; font-weight: 800; font-size: clamp(1.7rem, 8vw, 2.2rem); line-height: 1.04;
    letter-spacing: -.025em; color: var(--rb-ink); text-wrap: balance;
}
body.rumah-baru-body .inv-scene__card .inv-intro__rule { width: 4.5rem; height: 3px; margin-block: .7rem .6rem; border-radius: 2px; background: var(--inv-sun); }
body.rumah-baru-body .inv-scene__card .inv-intro__date {
    justify-self: center; padding: .25rem .8rem; border-radius: 999px; font: 800 .78rem/1.35 var(--rb-sans); color: var(--rb-sun-ink); background: var(--inv-sun);
}
body.rumah-baru-body .inv-intro--scene .inv-intro__skip { background: #fff; border-color: var(--rb-ring); color: var(--rb-ink); }
