/*
 * Template "Boho Pampas" (Pernikahan): boho desert romance, warm and rich.
 * Deep terracotta / burnt sienna + a deep accent (olive by default) + warm sand linen and an ochre desert sun.
 * Real cut-outs (img/, CC0 / public domain): pampas plumes, a dried palm fan, a palm spathe, bunny tails, gathered
 * into lush sprays (.bh-spray) that sway gently. Photos in boho arches; rattan cane weave only as a small accent.
 * Dark terracotta / accent sections alternate with sand ones; client photos as faint or deep photo gradients.
 * Colors from the variant: --inv-primary, --inv-accent, --inv-background, --inv-text, --inv-deep, --inv-sand,
 * --inv-sun. Fonts: the client's pair (--inv-font-display script names, --inv-font-heading serif titles) + Jost.
 * All classes start with "bh-".
 */

:root {
    --inv-primary: #a4482a;
    --inv-accent: #5e6b32;
    --inv-background: #f4e7d4;
    --inv-text: #3b2217;
    --inv-deep: #4f2014;
    --inv-sand: #e8d2b4;
    --inv-sun: #e0a15a;
    --inv-radius: 18px;

    --bh-serif: var(--inv-font-heading, "Marcellus", Georgia, serif);
    --bh-script: var(--inv-font-display, "Parisienne", cursive);
    --bh-sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
    --bh-col: 100%;

    --bh-night: color-mix(in srgb, var(--inv-deep) 78%, #000);
    --bh-cream: #fdf5e9;
    --bh-cream-soft: rgb(253 245 233 / .88);
    --bh-linen: color-mix(in srgb, var(--inv-background) 55%, #fff);
    --bh-muted: color-mix(in srgb, var(--inv-text) 86%, var(--inv-background));
    --bh-arch: 999px 999px 20px 20px;
    /* desert dusk: deep at the top, terracotta, a warm sun glow low */
    --bh-dusk: linear-gradient(180deg,
        var(--bh-night) 0%,
        var(--inv-deep) 20%,
        color-mix(in srgb, var(--inv-primary) 85%, var(--inv-deep)) 58%,
        color-mix(in srgb, var(--inv-primary) 72%, var(--inv-sun)) 100%);
    --bh-sun-grad: linear-gradient(135deg, color-mix(in srgb, var(--inv-sun) 70%, #fff), var(--inv-sun) 50%, color-mix(in srgb, var(--inv-sun) 80%, var(--inv-primary)));
    --bh-shadow: 0 26px 50px -30px color-mix(in srgb, var(--inv-deep) 80%, transparent);
    --bh-shadow-sm: 0 14px 28px -18px color-mix(in srgb, var(--inv-deep) 70%, transparent);
    /* fine paper / linen grain (SVG noise) */
    --bh-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .2 0 0 0 0 .1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
    /* rattan cane webbing: round holes in a sand weave */
    --bh-cane: radial-gradient(circle at 50% 50%, transparent 2.1px, color-mix(in srgb, var(--inv-sand) 92%, #fff) 2.7px, color-mix(in srgb, var(--inv-sand) 70%, var(--inv-primary)) 4.6px, color-mix(in srgb, var(--inv-sand) 92%, #fff) 5.2px) 0 0 / 9px 9px;
}

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

html { scroll-behavior: smooth; }

body.bh-body {
    margin: 0;
    min-height: 100vh;
    background: var(--inv-background);
    color: var(--inv-text);
    font: 400 1rem/1.7 var(--bh-sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; }
p { margin: 0; }

/* ---------- page column and wide-screen dusk ---------- */
.bh-backdrop { display: none; }

.bh-page {
    position: relative;
    max-width: var(--bh-col);
    margin: 0 auto;
    background: var(--inv-background);
    overflow: hidden;
}

@media (min-width: 560px) {
    :root { --bh-col: 440px; }
    .bh-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 0;
        overflow: hidden;
        background: var(--bh-grain), radial-gradient(60% 40% at 50% 100%, color-mix(in srgb, var(--inv-sun) 55%, transparent), transparent 70%), var(--bh-dusk);
    }
    .bh-backdrop__spray { --bh-w: min(30vw, 380px); bottom: -4%; opacity: .9; }
    .bh-backdrop__spray--l { left: 2vw; }
    .bh-backdrop__spray--r { right: 2vw; }
    .bh-page { z-index: 1; box-shadow: 0 30px 90px -30px rgb(0 0 0 / .7); }
    /* keep the floating buttons inside the column */
    .inv-music { right: calc(50% - var(--bh-col) / 2 + 1rem); }
    .inv-qr-tab { right: calc(50% - var(--bh-col) / 2); }
}

.bh-preview {
    position: fixed; inset: 0 0 auto; z-index: 60;
    padding: .35rem .75rem; text-align: center;
    font: 500 .72rem/1.3 var(--bh-sans); letter-spacing: .03em;
    color: var(--bh-cream); background: color-mix(in srgb, var(--inv-deep) 94%, transparent);
}

/* ---------- dried sprays (real cut-outs) ---------- */
.bh-spray {
    position: absolute;
    z-index: 2;
    width: var(--bh-w, 220px);
    aspect-ratio: .8;
    pointer-events: none;
}
.bh-spray img { position: absolute; display: block; height: auto; max-width: none; transform-origin: 50% 100%; }
.bh-spray--flip { scale: -1 1; }
.bh-spray__palm { width: 60%; left: 2%; bottom: 18%; rotate: -26deg; transform-origin: 40% 100%; }
.bh-spray__spear { width: 16%; left: 46%; bottom: 8%; rotate: 26deg; filter: saturate(.8) brightness(.92); }
.bh-spray__bunch { width: 72%; left: 4%; bottom: 0; rotate: 5deg; }
.bh-spray__plume { width: 44%; left: -6%; bottom: 20%; rotate: -36deg; }
.bh-spray__bunny { width: 27%; left: 38%; bottom: -3%; rotate: 14deg; }
/* the sprig: one plume with bunny tails */
.bh-spray--sprig { aspect-ratio: .72; }
.bh-spray--sprig .bh-spray__plume { width: 74%; left: 0; bottom: 4%; rotate: -8deg; }
.bh-spray--sprig .bh-spray__bunny { width: 42%; left: 42%; bottom: -4%; rotate: 10deg; }

/* on sand the cream plumes are warmed and shadowed so they stay visible */
.bh-section--light .bh-spray img, .bh-section--sand .bh-spray img {
    filter: sepia(.25) saturate(1.35) brightness(.88) drop-shadow(0 6px 8px color-mix(in srgb, var(--inv-deep) 22%, transparent));
}
.bh-section--light .bh-spray .bh-spray__palm, .bh-section--sand .bh-spray .bh-spray__palm,
.bh-section--light .bh-spray .bh-spray__spear, .bh-section--sand .bh-spray .bh-spray__spear { filter: drop-shadow(0 6px 8px color-mix(in srgb, var(--inv-deep) 20%, transparent)); }

/* gentle sway (each layer its own rhythm) */
html.inv-anim .bh-spray__bunch { animation: bh-sway 6.5s ease-in-out infinite alternate; }
html.inv-anim .bh-spray__plume { animation: bh-sway 5.4s -2s ease-in-out infinite alternate; }
html.inv-anim .bh-spray__bunny { animation: bh-sway-sm 4.6s -1s ease-in-out infinite alternate; }
html.inv-anim .bh-spray__palm { animation: bh-sway-sm 8s -3s ease-in-out infinite alternate; }
@keyframes bh-sway { from { transform: rotate(-1.8deg); } to { transform: rotate(2deg); } }
@keyframes bh-sway-sm { from { transform: rotate(-1deg); } to { transform: rotate(1.2deg); } }

/* ---------- shared type ---------- */
.bh-label {
    font: 500 .7rem/1.4 var(--bh-sans);
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--inv-primary);
}
.bh-label--sun { color: var(--inv-sun); }
.bh-label--small { font-size: .64rem; letter-spacing: .26em; }

.bh-names {
    margin: 0;
    font: 400 clamp(2.8rem, 13vw, 3.5rem)/1.08 var(--bh-script);
    color: var(--inv-primary);
}
.bh-names__amp { color: var(--inv-sun); font-size: .62em; padding: 0 .08em; }

.bh-title {
    margin: .4rem 0 0;
    font: 400 clamp(2rem, 9vw, 2.45rem)/1.12 var(--bh-serif);
    color: var(--inv-deep);
}
.bh-title em { font-style: normal; color: var(--inv-primary); }

.bh-text { max-width: 27rem; margin: 0 auto; color: var(--bh-muted); }

/* the line under each heading: draws once when revealed, a small sun in the middle */
.bh-rule { position: relative; display: block; width: 8.5rem; height: 1px; margin: 1rem auto 0; background: linear-gradient(90deg, transparent, var(--inv-primary) 20%, var(--inv-primary) 80%, transparent); }
.bh-rule i { position: absolute; left: 50%; top: 50%; width: .55rem; height: .55rem; margin: -.275rem 0 0 -.275rem; border-radius: 50%; background: var(--bh-sun-grad); box-shadow: 0 0 0 3px var(--inv-background); }

.bh-head { position: relative; margin: 0 auto 2.1rem; max-width: 24rem; }
.bh-head__sprig { --bh-w: 68px; left: -1.9rem; bottom: -1.9rem; z-index: 0; rotate: -24deg; }
.bh-head__sprig--r { left: auto; right: -1.9rem; rotate: 24deg; }
.bh-head > :not(.bh-spray) { position: relative; z-index: 1; }
.bh-head--dark .bh-label { color: var(--inv-sun); }
.bh-head--dark .bh-title { color: var(--bh-cream); }
.bh-head--dark .bh-title em { color: var(--inv-sun); }
.bh-head--dark .bh-rule { background: linear-gradient(90deg, transparent, var(--inv-sun) 20%, var(--inv-sun) 80%, transparent); }
.bh-head--dark .bh-rule i { box-shadow: 0 0 0 3px var(--inv-deep); }

/* rattan monogram: initials on a deep disc inside a cane-woven ring */
.bh-mono {
    display: flex; align-items: center; justify-content: center; gap: .3rem;
    width: 4rem; height: 4rem; margin: 0;
    border-radius: 50%;
    font: 400 1.15rem/1 var(--bh-serif); letter-spacing: .04em;
    color: var(--bh-cream);
    background: radial-gradient(circle, var(--inv-deep) 58%, transparent 60%), var(--bh-cane);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--inv-sun) 70%, transparent), 0 10px 24px -10px rgb(0 0 0 / .55);
}
.bh-mono__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--inv-sun); }

/* ---------- sections ---------- */
.bh-section {
    position: relative;
    isolation: isolate;
    padding: 4.6rem 1.5rem;
    text-align: center;
    overflow: hidden;
}
.bh-section--light { background: var(--bh-grain), var(--inv-background); }
.bh-section--sand { background: var(--bh-grain), linear-gradient(180deg, color-mix(in srgb, var(--inv-sand) 80%, var(--inv-background)), var(--inv-sand) 60%, color-mix(in srgb, var(--inv-sand) 70%, var(--inv-background))); }
.bh-section--dark { color: var(--bh-cream); background: var(--bh-grain), var(--bh-dusk); }
.bh-section--dark .bh-text { color: var(--bh-cream-soft); }
.bh-section--accent {
    color: var(--bh-cream);
    background: var(--bh-grain), linear-gradient(170deg, color-mix(in srgb, var(--inv-accent) 70%, #000), var(--inv-accent) 55%, color-mix(in srgb, var(--inv-accent) 82%, #000));
}

/* photo backgrounds: faint under the sand wash, or deep under terracotta (a gradient without a photo) */
.bh-bg { position: absolute; inset: -40px 0; z-index: -1; pointer-events: none; }
.bh-bg--faint {
    inset: 0;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--inv-background) 72%, transparent) 0%, color-mix(in srgb, var(--inv-background) 84%, transparent) 45%, var(--inv-background) 92%),
        var(--bh-photo, radial-gradient(70% 45% at 50% 0%, color-mix(in srgb, var(--inv-sun) 45%, transparent), transparent 70%)) center 30% / cover no-repeat,
        var(--inv-background);
}
.bh-bg--faint::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 40% at 50% 0%, color-mix(in srgb, var(--inv-sun) 28%, transparent), transparent 70%); }
.bh-bg--deep {
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--inv-deep) 90%, transparent) 0%, color-mix(in srgb, var(--inv-primary) 78%, transparent) 50%, color-mix(in srgb, var(--inv-deep) 94%, transparent) 100%),
        var(--bh-photo, var(--bh-dusk)) center / cover no-repeat,
        var(--inv-deep);
}

/* ---------- cover ---------- */
.bh-cover {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: flex;
    justify-content: center;
    /* the panel's own foot colour, so nothing shows if the panel ends short of the screen */
    background: var(--inv-deep);
}
.bh-cover__panel {
    /* the photo stage takes a share of the screen height, the rest is the text */
    --bh-stage: 420px;
    position: relative;
    width: 100%;
    max-width: var(--bh-col);
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    isolation: isolate;
    color: var(--bh-cream);
    background: linear-gradient(180deg,
        var(--bh-night) 0%,
        var(--inv-deep) 12%,
        color-mix(in srgb, var(--inv-primary) 88%, var(--inv-deep)) calc(var(--bh-stage) * .62),
        var(--inv-primary) calc(var(--bh-stage) + 10px),
        color-mix(in srgb, var(--inv-primary) 70%, var(--inv-deep)) calc(var(--bh-stage) + 140px),
        var(--inv-deep) 100%);
}
.bh-cover__grain { position: absolute; inset: 0; z-index: 0; background: var(--bh-grain); opacity: .7; pointer-events: none; }

.bh-cover__stage {
    --bh-s: calc(var(--bh-stage) - 1.5rem);
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    height: var(--bh-stage);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-top: 1.5rem;
}
.bh-cover__sun {
    position: absolute; z-index: 0;
    left: 50%; top: calc(var(--bh-stage) * .16);
    width: calc(var(--bh-s) * .98); aspect-ratio: 1;
    translate: -50% 0;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--inv-sun) 80%, #fff) 0%, var(--inv-sun) 48%, color-mix(in srgb, var(--inv-sun) 55%, transparent) 64%, transparent 71%);
    opacity: .92;
}
.bh-cover__arch {
    position: relative;
    z-index: 1;
    height: 100%;
    aspect-ratio: .66;
    max-width: 70%;
}
.bh-cover__back { position: absolute; inset: -9px -9px -9px; translate: 0 0; border-radius: var(--bh-arch); background: var(--bh-cane); box-shadow: var(--bh-shadow); opacity: .95; }
.bh-cover__photo {
    position: absolute; inset: 0;
    border-radius: var(--bh-arch);
    background: var(--bh-photo, radial-gradient(60% 40% at 50% 70%, var(--inv-sun), transparent 70%)) center 28% / cover no-repeat, var(--bh-dusk);
    box-shadow: 0 30px 60px -24px rgb(0 0 0 / .65);
}
.bh-cover__rim { position: absolute; inset: -16px; border-radius: 999px 999px 30px 30px; border: 1px solid color-mix(in srgb, var(--inv-sun) 90%, transparent); pointer-events: none; }
.bh-cover__spray { z-index: 3; }
.bh-cover__spray--crown { --bh-w: calc(var(--bh-s) * .5); left: calc(50% - var(--bh-s) * .35 - var(--bh-s) * .42); top: calc(1.5rem - var(--bh-s) * .1); }
.bh-cover__spray--foot { --bh-w: calc(var(--bh-s) * .42); left: calc(50% + var(--bh-s) * .35 - var(--bh-s) * .08); bottom: calc(var(--bh-s) * -.03); }
.bh-cover__mono { position: absolute; z-index: 4; left: 50%; bottom: -1.5rem; translate: -50% 0; }

.bh-cover__body {
    position: relative;
    z-index: 5;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: safe center;
    padding: 1.9rem 1.5rem 1.4rem;
    text-align: center;
    /* no scroll of its own (on iOS it scrolled and showed the dark ground under it); fitCover shrinks what does not fit */
}
.bh-names--cover { font-size: clamp(2.3rem, 10.5vw, 2.7rem); color: var(--bh-cream); margin-top: .15rem; text-shadow: 0 2px 18px rgb(0 0 0 / .3); }
.bh-names--cover span { display: inline; }
.bh-cover__date {
    display: flex; align-items: center; gap: .7rem;
    margin-top: .35rem;
    font: 500 .66rem/1.4 var(--bh-sans); letter-spacing: .22em; text-transform: uppercase;
}
.bh-cover__date i { width: 1.6rem; height: 1px; background: var(--inv-sun); }
.bh-cover__quote {
    max-width: 20rem; margin: .45rem auto 0;
    font: 400 .8rem/1.42 var(--bh-serif);
    color: var(--bh-cream-soft);
}
.bh-guest {
    width: min(16rem, 100%);
    margin: .7rem auto .75rem;
    padding: .5rem 1rem .55rem;
    border-radius: 16px;
    background: linear-gradient(160deg, rgb(253 245 233 / .16), rgb(253 245 233 / .07));
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid color-mix(in srgb, var(--inv-sun) 45%, transparent);
}
.bh-guest__label { font: 500 .56rem/1.4 var(--bh-sans); letter-spacing: .28em; text-transform: uppercase; color: var(--inv-sun); }
.bh-guest__name { display: block; margin-top: .1rem; font: 500 .98rem/1.3 var(--bh-sans); color: var(--bh-cream); overflow-wrap: anywhere; }

.bh-open.inv-button {
    padding: .7rem 1.5rem; font-size: .88rem;
    background: linear-gradient(135deg, var(--bh-cream), color-mix(in srgb, var(--inv-sand) 80%, var(--inv-sun)));
    color: var(--inv-deep); font-weight: 600;
    box-shadow: 0 10px 30px -10px rgb(0 0 0 / .5), inset 0 1px 0 rgb(255 255 255 / .5);
}

/* the opening moment: the sun rises, the photo fades in with a slight zoom, the sprays unfold (≤ 2.3 s) */
html.inv-anim .bh-cover__sun { animation: bh-sunrise 1.8s cubic-bezier(.2, .7, .2, 1) both; }
html.inv-anim .bh-cover__photo { animation: bh-photo-in 1.6s .2s cubic-bezier(.2, .7, .2, 1) both; }
html.inv-anim .bh-cover__back, html.inv-anim .bh-cover__rim { animation: bh-fade 1.2s .5s ease both; }
html.inv-anim .bh-cover__spray--crown { animation: bh-unfold-l 1.6s .5s cubic-bezier(.2, .7, .2, 1) both; }
html.inv-anim .bh-cover__spray--foot { animation: bh-unfold-r 1.6s .7s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes bh-sunrise { from { opacity: 0; transform: translateY(14%); } }
@keyframes bh-photo-in { from { opacity: 0; transform: scale(1.06); } }
@keyframes bh-fade { from { opacity: 0; } }
@keyframes bh-unfold-l { from { opacity: 0; transform: rotate(-12deg); } }
@keyframes bh-unfold-r { from { opacity: 0; transform: rotate(-12deg); } }

.bh-cover--leave { transition: opacity .8s ease, transform .9s cubic-bezier(.65, 0, .35, 1); }
.bh-cover--gone { opacity: 0; transform: translateY(-5%); }

/* shorter phones: a smaller stage and names, tighter gaps (the quote is never cut) */
@media (max-height: 760px) {
    .bh-cover__panel { --bh-stage: 360px; }
    .bh-names--cover { font-size: 2.4rem; }
    .bh-cover__body { padding-top: 1.75rem; padding-bottom: 1.1rem; }
    .bh-cover__quote { font-size: .78rem; line-height: 1.4; }
    .bh-guest { margin: .6rem auto .65rem; padding: .45rem 1rem .5rem; }
}
@media (max-height: 700px) {
    .bh-cover__panel { --bh-stage: 330px; }
}
@media (max-height: 660px) {
    .bh-cover__panel { --bh-stage: 290px; }
    .bh-cover__body { padding-top: 1.6rem; padding-bottom: 1rem; }
    .bh-names--cover { font-size: 2.2rem; }
    .bh-cover__date { margin-top: .35rem; }
    .bh-cover__quote { font-size: .76rem; line-height: 1.38; }
    .bh-guest { margin: .5rem auto .55rem; }
    .bh-open.inv-button { padding: .62rem 1.4rem; }
    .bh-mono { width: 3.4rem; height: 3.4rem; font-size: 1rem; }
    .bh-cover__mono { bottom: -1.2rem; }
}
@media (max-height: 580px) {
    .bh-cover__panel { --bh-stage: 240px; }
    .bh-cover__body { padding-top: 1.4rem; }
    .bh-names--cover { font-size: 2rem; }
    .bh-cover__quote { font-size: .72rem; }
}

/* ---------- opening ---------- */
.bh-opening { padding-top: 5rem; }
.bh-quote-wrap { position: relative; max-width: 22rem; margin: 2.4rem auto 0; }
.bh-opening__spray { --bh-w: 170px; left: -72px; top: -54px; z-index: 0; }
.bh-opening__spray--r { left: auto; right: -72px; top: -20px; }
.bh-opening__intro { position: relative; z-index: 3; }
.bh-arabic { font: 400 1.65rem/1.8 "Amiri", serif; color: var(--inv-primary); }
.bh-opening__greeting { margin: .7rem 0 1rem; font: 400 1.3rem/1.4 var(--bh-serif); color: var(--inv-deep); }
.bh-opening .bh-text { color: var(--inv-text); }
.bh-quote {
    position: relative; z-index: 3;
    margin: 0;
    padding: 3.4rem 1.6rem 2rem;
    border-radius: 999px 999px 24px 24px;
    color: var(--bh-cream);
    background: var(--bh-grain), radial-gradient(70% 40% at 50% 0%, color-mix(in srgb, var(--inv-sun) 40%, transparent), transparent 75%), linear-gradient(180deg, var(--inv-primary), var(--inv-deep));
    box-shadow: var(--bh-shadow);
}
.bh-quote::before { content: ""; position: absolute; inset: 8px; border-radius: 999px 999px 18px 18px; border: 1px solid color-mix(in srgb, var(--inv-sun) 55%, transparent); pointer-events: none; }
.bh-quote__mark { display: block; height: 2rem; font: 400 4rem/1 var(--bh-serif); color: var(--inv-sun); }
.bh-quote blockquote { margin: .4rem 0 0; font: 400 1rem/1.65 var(--bh-serif); }
.bh-quote figcaption { margin-top: 1rem; font: 500 .68rem/1.4 var(--bh-sans); letter-spacing: .26em; text-transform: uppercase; color: var(--inv-sun); }
.bh-quote__sprig { --bh-w: 96px; right: -2.2rem; bottom: -1.6rem; }
.bh-quote .bh-spray img { filter: drop-shadow(0 6px 8px rgb(0 0 0 / .25)); }

/* ---------- couple ---------- */
.bh-person { position: relative; display: grid; justify-items: center; gap: 1.4rem; }
.bh-person__arch { position: relative; width: min(62%, 15rem); aspect-ratio: .76; margin-right: 12px; }
.bh-person__back { position: absolute; inset: 0; translate: 14px 12px; border-radius: var(--bh-arch); background: var(--bh-grain), linear-gradient(160deg, color-mix(in srgb, var(--inv-accent) 85%, #fff), var(--inv-accent)); }
.bh-person--bride .bh-person__arch { margin: 0 0 0 12px; }
.bh-person--bride .bh-person__back { translate: -14px 12px; background: var(--bh-grain), linear-gradient(200deg, color-mix(in srgb, var(--inv-primary) 85%, #fff), var(--inv-primary)); }
.bh-person__img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    border-radius: var(--bh-arch); border: 4px solid var(--bh-linen); box-shadow: var(--bh-shadow);
}
.bh-person__empty { display: grid; place-items: center; font: 400 4rem/1 var(--bh-script); color: var(--bh-cream); background: var(--bh-dusk); }
.bh-person__spray { --bh-w: 62%; left: -30%; bottom: -12%; }
.bh-person--bride .bh-person__spray { left: auto; right: -30%; }
.bh-person__text { display: grid; justify-items: center; gap: .15rem; }
.bh-person__nick { margin: .1rem 0 0; font: 400 clamp(2.6rem, 12vw, 3.1rem)/1.15 var(--bh-script); color: var(--inv-primary); }
.bh-person__name { font: 400 1.15rem/1.35 var(--bh-serif); color: var(--inv-deep); }
.bh-person__parents { margin-top: .45rem; font-size: .92rem; line-height: 1.55; color: var(--bh-muted); }
.bh-person__parents strong { font-weight: 500; color: var(--inv-text); }
.bh-ig.inv-button { margin-top: .7rem; padding: .45rem 1rem; font-size: .82rem; color: var(--inv-primary); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-primary) 55%, transparent); }
.bh-couple__amp { position: relative; margin: 2.2rem 0 2rem; }
.bh-couple__amp span {
    display: inline-grid; place-items: center; width: 4.4rem; height: 4.4rem; border-radius: 50%;
    font: 400 2.6rem/1 var(--bh-script); color: var(--inv-deep);
    background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--inv-sun) 60%, #fff), var(--inv-sun) 70%);
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--inv-sun) 25%, transparent), var(--bh-shadow-sm);
}
.bh-couple__amp::before, .bh-couple__amp::after { content: ""; position: absolute; top: 50%; width: calc(50% - 3.6rem); height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--inv-primary) 60%, transparent)); }
.bh-couple__amp::before { left: 0; }
.bh-couple__amp::after { right: 0; transform: scaleX(-1); }

/* ---------- countdown ---------- */
.bh-countdown { padding-bottom: 5.5rem; }
.bh-countdown__sun {
    position: absolute; z-index: -1; left: 50%; bottom: -36%; width: 130%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--inv-sun) 55%, transparent) 0%, color-mix(in srgb, var(--inv-sun) 22%, transparent) 40%, transparent 66%);
}
.bh-countdown__spray { --bh-w: 150px; left: -46px; bottom: -26px; }
.bh-countdown__spray--r { left: auto; right: -46px; }
.bh-date { display: flex; align-items: center; justify-content: center; gap: .9rem; margin: -.4rem 0 1.6rem; }
.bh-date__day { font: 400 4.8rem/1 var(--bh-serif); color: var(--inv-sun); text-shadow: 0 6px 24px rgb(0 0 0 / .3); }
.bh-date__rest { display: grid; text-align: left; padding-left: .9rem; border-left: 1px solid color-mix(in srgb, var(--inv-sun) 60%, transparent); }
.bh-date__rest b { font: 400 1.6rem/1.15 var(--bh-serif); color: var(--bh-cream); }
.bh-date__rest small { font: 500 .66rem/1.6 var(--bh-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--bh-cream-soft); }
.bh-countdown .inv-countdown { gap: .55rem; }
.bh-countdown .inv-countdown__item {
    min-width: 0; width: 4.3rem; padding: 1rem .3rem .65rem;
    border-radius: 999px 999px 14px 14px;
    background: linear-gradient(180deg, rgb(253 245 233 / .18), rgb(253 245 233 / .06));
    border: 1px solid color-mix(in srgb, var(--inv-sun) 50%, transparent);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.bh-countdown .inv-countdown__value { font: 400 1.85rem/1.1 var(--bh-serif); color: var(--bh-cream); }
.bh-countdown .inv-countdown__label { margin-top: .2rem; font: 500 .6rem/1.3 var(--bh-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--inv-sun); opacity: 1; }
.bh-countdown .inv-countdown__actions { position: relative; z-index: 3; margin-top: 1.5rem; flex-direction: column; align-items: center; }
.bh-countdown .inv-countdown__actions .inv-button--outline { padding: .55rem 1.2rem; font-size: .8rem; color: var(--bh-cream); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bh-cream) 55%, transparent); background: rgb(0 0 0 / .12); }

/* ---------- events ---------- */
.bh-events__list { display: grid; gap: 1.8rem; max-width: 23rem; margin: 0 auto; }
.bh-event {
    position: relative;
    border-radius: 999px 999px 24px 24px;
    background: var(--bh-linen);
    box-shadow: var(--bh-shadow), 0 0 0 1px color-mix(in srgb, var(--inv-primary) 14%, transparent);
    text-align: left;
}
.bh-event__photo {
    position: relative;
    display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
    aspect-ratio: 1 / .9;
    padding: 1.2rem 1.2rem 1.1rem;
    border-radius: 999px 999px 0 0;
    color: var(--bh-cream); text-align: center;
    background:
        linear-gradient(180deg, transparent 38%, color-mix(in srgb, var(--inv-deep) 82%, transparent) 88%),
        var(--bh-photo, radial-gradient(50% 40% at 50% 62%, var(--inv-sun), transparent 72%)) center 35% / cover no-repeat,
        var(--bh-dusk);
}
.bh-event__sprig { --bh-w: 86px; left: -1.6rem; bottom: 18%; }
.bh-event__sprig.bh-spray--flip { left: auto; right: -1.6rem; }
.bh-event__sprig img { filter: drop-shadow(0 6px 8px rgb(0 0 0 / .3)); }
.bh-event__tab { position: relative; z-index: 3; padding: .2rem .8rem; border-radius: 999px; font: 500 .62rem/1.6 var(--bh-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--bh-cream); background: var(--inv-primary); }
.bh-event--alt .bh-event__tab { background: var(--inv-accent); }
.bh-event__name { position: relative; z-index: 3; margin: .5rem 0 0; font: 400 1.85rem/1.15 var(--bh-serif); color: var(--bh-cream); text-shadow: 0 2px 12px rgb(0 0 0 / .35); }
.bh-event__body { padding: 1.2rem 1.4rem 1.5rem; }
.bh-event__time { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .7rem; padding-bottom: .8rem; margin-bottom: .9rem; border-bottom: 1px dashed color-mix(in srgb, var(--inv-primary) 35%, transparent); }
.bh-event__clock { font: 400 2.4rem/1 var(--bh-serif); color: var(--inv-primary); }
.bh-event--alt .bh-event__clock { color: var(--inv-accent); }
.bh-event__time small { display: inline-flex; align-items: center; gap: .3rem; font: 500 .74rem/1.4 var(--bh-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--bh-muted); }
.bh-event__time svg, .bh-event__list svg { width: 1rem; height: 1rem; flex: 0 0 auto; fill: none; stroke: var(--inv-primary); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bh-event__list { display: grid; gap: .65rem; margin: 0 0 1.1rem; padding: 0; list-style: none; font-size: .93rem; line-height: 1.5; color: var(--inv-text); }
.bh-event__list li { display: flex; gap: .6rem; }
.bh-event__list li svg { margin-top: .2rem; }
.bh-event__venue { display: block; font-weight: 600; color: var(--inv-deep); }
.bh-event__address { display: block; color: var(--bh-muted); }
.bh-event .inv-button { width: 100%; padding: .7rem 1rem; font-size: .88rem; font-weight: 500; background: var(--inv-primary); color: var(--bh-cream); }
.bh-event--alt .inv-button { background: var(--inv-accent); }
.bh-event .inv-maps__frame { margin-top: .75rem; }

/* ---------- love story ---------- */
.bh-story__spray { --bh-w: 160px; left: -70px; bottom: -64px; z-index: 0; opacity: .9; }
.bh-story .bh-zz { z-index: 1; }
.bh-zz { position: relative; display: grid; gap: 2rem; max-width: 24rem; margin: 0 auto; padding: 0; list-style: none; }
.bh-zz::before { content: ""; position: absolute; left: 50%; top: .5rem; bottom: .5rem; width: 0; border-left: 1px dashed color-mix(in srgb, var(--inv-sun) 70%, transparent); }
.bh-zz__item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 2.4rem minmax(0, 1fr); align-items: start; gap: .7rem; }
.bh-zz__main { grid-column: 1; text-align: right; }
.bh-zz__node { grid-column: 2; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; font: 400 1rem/1 var(--bh-serif); color: var(--inv-deep); background: var(--bh-sun-grad); box-shadow: 0 0 0 5px color-mix(in srgb, var(--inv-sun) 22%, transparent); }
.bh-zz__side { grid-column: 3; display: grid; justify-items: start; gap: .5rem; }
.bh-zz__item--flip .bh-zz__main { grid-column: 3; grid-row: 1; text-align: left; }
.bh-zz__item--flip .bh-zz__side { grid-column: 1; grid-row: 1; justify-items: end; }
.bh-zz__item--flip .bh-zz__node { grid-row: 1; }
.bh-moment__title { margin: 0; font: 400 1.25rem/1.25 var(--bh-serif); color: var(--bh-cream); }
.bh-zz__rule { display: block; width: 2.2rem; height: 1px; margin: .5rem 0 .55rem auto; background: var(--inv-sun); }
.bh-zz__item--flip .bh-zz__rule { margin-left: 0; }
.bh-moment__story { font-size: .9rem; line-height: 1.6; color: var(--bh-cream-soft); }
.bh-moment__date { font: 400 1.6rem/1.1 var(--bh-script); color: var(--inv-sun); }
.bh-zz__photo { margin: 0; width: 6rem; aspect-ratio: .78; }
.bh-zz__photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--bh-arch); border: 3px solid color-mix(in srgb, var(--bh-cream) 85%, transparent); box-shadow: 0 14px 24px -14px rgb(0 0 0 / .6); }
.bh-zz__emblem { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--inv-sun) 60%, transparent); }
.bh-zz__emblem svg { width: 1.2rem; height: 1.2rem; fill: var(--inv-sun); }

/* ---------- gallery ---------- */
.bh-gallery__frame { position: relative; max-width: 24rem; margin: 0 auto; }
.bh-gallery .inv-gallery-slider__stage { border-radius: var(--bh-arch); border: 5px solid var(--bh-linen); box-shadow: var(--bh-shadow); }
.bh-gallery .inv-gallery-slider__thumb { border-radius: .7rem; }
.bh-gallery .inv-gallery-slider__thumb.is-active { border-color: var(--inv-primary); }
.bh-gallery .inv-gallery-slider__arrow { background: var(--inv-primary); color: var(--bh-cream); }
.bh-gallery__spray { --bh-w: 150px; left: -44px; bottom: -34px; z-index: 3; }

/* ---------- live streaming ---------- */
.bh-panel {
    position: relative; z-index: 2;
    max-width: 22rem; margin: 0 auto;
    padding: 1.8rem 1.4rem 1.6rem;
    border-radius: 999px 999px 24px 24px;
    padding-top: 3rem;
    background: linear-gradient(180deg, rgb(253 245 233 / .17), rgb(253 245 233 / .07));
    border: 1px solid color-mix(in srgb, var(--inv-sun) 50%, transparent);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.bh-live__spray { --bh-w: 150px; right: -50px; bottom: -40px; z-index: 1; }
.bh-live__badge { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .8rem; padding: .3rem .85rem; border-radius: 999px; font: 500 .66rem/1.4 var(--bh-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--inv-deep); background: var(--bh-sun-grad); }
.bh-live__badge span { width: .5rem; height: .5rem; border-radius: 50%; background: #b3261e; box-shadow: 0 0 0 3px rgb(179 38 30 / .25); }
.bh-live__note { margin-top: .8rem; font: 400 1rem/1.5 var(--bh-serif); color: var(--bh-cream); }
.bh-button--sun.inv-button { margin-top: 1.3rem; background: var(--bh-sun-grad); color: var(--inv-deep); font-weight: 600; }

/* ---------- gift ---------- */
.bh-gift .bh-text { margin-bottom: 1.8rem; }
.bh-gift .inv-gift { display: grid; gap: .9rem; max-width: 23rem; margin: 0 auto; text-align: left; }
.bh-gift .inv-gift__accounts { display: grid; gap: .9rem; }
.bh-gift .inv-gift__account { margin: 0; }
.bh-gift .inv-gift__account + .inv-gift__account { margin-top: 0; }
.bh-gift .inv-gift__account:not(.inv-gift__address) {
    position: relative; overflow: hidden;
    display: grid; gap: .25rem;
    padding: 1.2rem 1.3rem 1.25rem;
    border-radius: 22px;
    color: var(--bh-cream);
    background: var(--bh-grain), radial-gradient(45% 60% at 100% 0%, color-mix(in srgb, var(--inv-sun) 65%, transparent), transparent 70%), linear-gradient(150deg, var(--inv-primary), var(--inv-deep));
    box-shadow: var(--bh-shadow);
}
.bh-gift .inv-gift__account:not(.inv-gift__address):nth-child(even) { background: var(--bh-grain), radial-gradient(45% 60% at 100% 0%, color-mix(in srgb, var(--inv-sun) 55%, transparent), transparent 70%), linear-gradient(150deg, var(--inv-accent), color-mix(in srgb, var(--inv-accent) 65%, #000)); }
.bh-gift .inv-gift__bank { margin: 0; font: 500 .74rem/1.3 var(--bh-sans); letter-spacing: .14em; text-transform: uppercase; }
.bh-gift .inv-gift__logo { height: 1.9rem; }
.bh-gift .inv-gift__number { margin: .35rem 0 0; font: 400 1.45rem/1.2 var(--bh-serif); letter-spacing: .06em; overflow-wrap: anywhere; }
.bh-gift .inv-gift__holder { margin: 0 0 .7rem; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bh-cream-soft); overflow-wrap: anywhere; }
.bh-gift .inv-gift__account:not(.inv-gift__address) .inv-button--outline { justify-self: start; padding: .45rem 1rem; font-size: .8rem; color: var(--bh-cream); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bh-cream) 60%, transparent); background: rgb(0 0 0 / .12); }
.bh-gift .inv-gift__address {
    display: grid; gap: .3rem;
    padding: 1.2rem 1.3rem;
    border-radius: 22px;
    background: var(--bh-linen);
    box-shadow: var(--bh-shadow-sm), 0 0 0 1px color-mix(in srgb, var(--inv-primary) 18%, transparent);
}
.bh-gift .inv-gift__address .inv-gift__bank { color: var(--inv-primary); letter-spacing: .24em; }
.bh-gift .inv-gift__address .inv-gift__holder { margin: 0; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--inv-text); }
.bh-gift .inv-gift__address .inv-button { justify-self: start; margin-top: .4rem; padding: .5rem 1rem; font-size: .82rem; color: var(--inv-primary); }

/* the accounts as bank cards, two per row (an odd last one across), the gift address on its own below */
.bh-gift .inv-gift { max-width: 25rem; }
.bh-gift .inv-gift__accounts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.bh-gift .inv-gift__accounts > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.bh-gift .inv-gift__account:not(.inv-gift__address) { align-content: start; gap: .2rem; min-height: 9.4rem; padding: .9rem .95rem 1rem; border-radius: 16px; }
/* a gold chip under the bank's name */
.bh-gift .inv-gift__account:not(.inv-gift__address)::before {
    content: ''; order: 1; display: block; width: 1.9rem; height: 1.35rem; margin: .3rem 0 .1rem; border-radius: 5px;
    background:
        linear-gradient(90deg, transparent 32%, rgb(0 0 0 / .2) 32% 35%, transparent 35% 65%, rgb(0 0 0 / .2) 65% 68%, transparent 68%),
        linear-gradient(180deg, transparent 45%, rgb(0 0 0 / .18) 45% 52%, transparent 52%),
        linear-gradient(135deg, color-mix(in srgb, var(--inv-sun) 60%, #fff), var(--inv-sun) 55%, color-mix(in srgb, var(--inv-sun) 75%, #fff));
}
.bh-gift .inv-gift__account:not(.inv-gift__address) > * { order: 2; }
.bh-gift .inv-gift__account:not(.inv-gift__address) > .inv-gift__bank { order: 0; }
.bh-gift .inv-gift__account:not(.inv-gift__address) .inv-gift__bank { font-size: .66rem; }
.bh-gift .inv-gift__account:not(.inv-gift__address) .inv-gift__logo { height: 1.6rem; }
.bh-gift .inv-gift__account:not(.inv-gift__address) .inv-gift__number { margin-top: .2rem; font-size: 1.08rem; letter-spacing: .05em; }
.bh-gift .inv-gift__account:not(.inv-gift__address) .inv-gift__holder { margin: 0 0 .5rem; font-size: .6rem; letter-spacing: .12em; }
.bh-gift .inv-gift__account:not(.inv-gift__address) .inv-button--outline { padding: .36rem .8rem; font-size: .68rem; }
.bh-gift .inv-gift__accounts > :last-child:nth-child(odd) .inv-gift__number { font-size: 1.25rem; }
.bh-gift .inv-gift__address { margin-top: .2rem; }
@media (max-width: 340px) {
    .bh-gift .inv-gift__accounts { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- forms (rsvp, wishes) ---------- */
.bh-card {
    position: relative; z-index: 2;
    max-width: 23rem; margin: 1.6rem auto 0;
    padding: 1.5rem 1.3rem;
    border-radius: 24px;
    background: var(--bh-linen);
    color: var(--inv-text);
    box-shadow: var(--bh-shadow), 0 0 0 1px color-mix(in srgb, var(--inv-primary) 14%, transparent);
    text-align: left;
}
.bh-card .inv-form label, .bh-card .inv-form__choices legend { font: 500 .82rem/1.4 var(--bh-sans); color: var(--inv-text); }
.bh-card .inv-form input:not([type=radio]):not([type=checkbox]), .bh-card .inv-form select, .bh-card .inv-form textarea {
    border-radius: 12px; border-color: color-mix(in srgb, var(--inv-primary) 30%, transparent); background: #fffdf9; color: var(--inv-text);
}
.bh-card .inv-form .inv-button:not(.inv-button--outline) { background: var(--inv-primary); color: var(--bh-cream); font-weight: 500; }
.bh-card .inv-button--outline { color: var(--inv-primary); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--inv-primary) 55%, transparent); }
.bh-rsvp .bh-card { margin-top: 1.6rem; }
.bh-wishes .inv-wish { background: #fffdf9; border-left: 3px solid var(--inv-primary); border-radius: 6px 16px 16px 6px; box-shadow: 0 6px 14px -12px rgb(0 0 0 / .4); }
.bh-wishes .inv-wish__name { color: var(--inv-deep); }
.bh-wishes .inv-wishes__page-button { color: var(--inv-primary); border-color: color-mix(in srgb, var(--inv-primary) 45%, transparent); }

/* ---------- closing ---------- */
.bh-closing { --bh-close: color-mix(in srgb, var(--inv-primary) 74%, var(--inv-deep)); --bh-cph: min(120vw, 500px); padding: 0 0 2rem; background: var(--bh-grain), linear-gradient(180deg, var(--bh-close) var(--bh-cph), var(--inv-deep)); }
/* the room under the page (fixed menu, music buttons) continues the closing's deep end instead of the ivory page */
.bh-body .inv-music__space { background: var(--bh-grain), var(--inv-deep); }
.bh-closing__photo { position: absolute; inset: 0 0 auto; z-index: 0; height: var(--bh-cph); overflow: hidden; }
.bh-closing__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.bh-closing__photo--empty { background: radial-gradient(55% 35% at 50% 62%, var(--inv-sun), transparent 72%), var(--bh-dusk); }
.bh-closing__shade {
    position: absolute; inset: 0;
    background: var(--bh-grain), linear-gradient(180deg,
        color-mix(in srgb, var(--inv-deep) 25%, transparent) 0%,
        transparent 18%,
        color-mix(in srgb, var(--inv-primary) 28%, transparent) 40%,
        color-mix(in srgb, var(--bh-close) 85%, transparent) 70%,
        var(--bh-close) 100%);
}
.bh-closing__spray { --bh-w: 44%; left: -18%; top: calc(var(--bh-cph) * .22); z-index: 1; }
.bh-closing__spray--r { left: auto; right: -18%; top: calc(var(--bh-cph) * .3); }
.bh-closing__body { position: relative; z-index: 3; padding: calc(var(--bh-cph) * .66) 1.6rem 0; text-shadow: 0 1px 14px color-mix(in srgb, var(--inv-deep) 70%, transparent); }
.bh-closing__title { margin-top: .3rem; color: var(--bh-cream); font-size: clamp(1.6rem, 7.4vw, 1.95rem); }
.bh-closing__title em { color: var(--inv-sun); }
.bh-closing .bh-rule { background: linear-gradient(90deg, transparent, var(--inv-sun) 20%, var(--inv-sun) 80%, transparent); }
.bh-closing .bh-rule i { box-shadow: none; }
.bh-closing__message { max-width: 21rem; margin: .7rem auto 0; font-size: .84rem; line-height: 1.55; color: var(--bh-cream-soft); }
.bh-closing__sign { margin-top: .8rem; font: 500 .62rem/1.4 var(--bh-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--inv-sun); }
.bh-names--closing { margin-top: .15rem; color: var(--bh-cream); font-size: clamp(2.2rem, 10vw, 2.6rem); }
.bh-closing__mono { width: 3.2rem; height: 3.2rem; margin: .8rem auto 0; font-size: .92rem; }

/* ---------- check-in QR tab, branding, bottom menu, music ---------- */
.inv-qr-tab {
    background: var(--inv-primary); color: var(--bh-cream); border-color: transparent;
    font-family: var(--bh-sans); font-weight: 500;
    box-shadow: -6px 8px 20px -10px color-mix(in srgb, var(--inv-deep) 80%, transparent);
}
.bh-branding { position: relative; z-index: 3; margin: 0; padding: .4rem 1rem 7.4rem; font: 500 .74rem/1.4 var(--bh-sans); color: var(--bh-cream-soft); background: var(--inv-deep); opacity: 1; }
.bh-branding a { color: var(--inv-sun); }

body .inv-nav {
    --inv-nav-bg: color-mix(in srgb, var(--bh-linen) 92%, transparent);
    --inv-nav-text: color-mix(in srgb, var(--inv-deep) 80%, var(--inv-text));
    --inv-nav-active: var(--inv-primary);
    font-family: var(--bh-sans);
    border-color: color-mix(in srgb, var(--inv-primary) 22%, transparent);
}
.inv-nav__item.is-active { color: var(--bh-cream); }
.inv-music__button { background: var(--inv-primary); color: var(--bh-cream); box-shadow: 0 6px 16px -4px color-mix(in srgb, var(--inv-deep) 60%, transparent); }
.inv-autoscroll { color: var(--inv-primary); border-color: color-mix(in srgb, var(--inv-primary) 40%, transparent); }
.inv-autoscroll--running { background: var(--inv-primary); color: var(--bh-cream); }

@media (min-width: 400px) {
    .bh-section { padding-left: 1.8rem; padding-right: 1.8rem; }
    .bh-closing { padding-left: 0; padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .bh-cover__sun, .bh-cover__photo, .bh-cover__back, .bh-cover__rim, .bh-cover__spray, .bh-spray img { animation: none !important; }
}

/* ---------- intro scene "Angin Padang Pampas" (scene.json + sections/_scene; the intro lives in <body>, outside the page) ---------- */
/* the camera walks out of tall pampas into a desert dusk: the ochre sun rises over the dunes, palm fans hang in from the
   top corners, dried sprays unfold at the foot of a boho arch carrying the names, one plume drifts on the wind */
.bh-scene-sun, .bh-scene-dunes { display: block; width: 100%; height: 100%; }
.bh-scene-sun {
    background:
        radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--inv-sun) 70%, #fff) 0, var(--inv-sun) min(20vw, 9svh), color-mix(in srgb, var(--inv-sun) 45%, transparent) min(27vw, 12.5svh), transparent min(40vw, 19svh)),
        radial-gradient(closest-side, color-mix(in srgb, var(--inv-sun) 30%, transparent), transparent);
}
.bh-scene-dunes__back { fill: color-mix(in srgb, var(--inv-primary) 82%, var(--inv-deep)); }
.bh-scene-dunes__front { fill: color-mix(in srgb, var(--inv-deep) 82%, #000); }
.bh-scene-curtain, .bh-scene-fan, .bh-scene-plume, .bh-scene-spray, .bh-scene-spray i { display: block; background-position: center; background-size: 100% 100%; background-repeat: no-repeat; }
.bh-scene-flip { scale: -1 1; }
.bh-scene-curtain { aspect-ratio: 460 / 671; background-image: url(../img/pampas-bunch.webp); filter: blur(2.5px) brightness(.9); }
.bh-scene-fan { aspect-ratio: 300 / 340; background-image: url(../img/palm-fan.webp); scale: 1 -1; filter: brightness(1.1) drop-shadow(0 8px 10px rgb(0 0 0 / .35)); }
.bh-scene-fan--r { scale: -1 -1; }
.bh-scene-plume { aspect-ratio: 240 / 389; background-image: url(../img/pampas-plume.webp); filter: drop-shadow(0 6px 8px rgb(0 0 0 / .3)); }
.bh-scene-spray { position: relative; aspect-ratio: .8; }
.bh-scene-spray i { position: absolute; transform-origin: 50% 100%; filter: drop-shadow(0 8px 10px rgb(0 0 0 / .3)); }
.bh-scene-spray__palm { width: 60%; aspect-ratio: 300 / 340; left: 2%; bottom: 18%; rotate: -26deg; background-image: url(../img/palm-fan.webp); }
.bh-scene-spray__spear { width: 16%; aspect-ratio: 142 / 395; left: 46%; bottom: 8%; rotate: 26deg; background-image: url(../img/palm-spear.webp); }
.bh-scene-spray__bunch { width: 72%; aspect-ratio: 460 / 671; left: 4%; bottom: 0; rotate: 5deg; background-image: url(../img/pampas-bunch.webp); }
.bh-scene-spray__plume { width: 44%; aspect-ratio: 240 / 389; left: -6%; bottom: 20%; rotate: -36deg; background-image: url(../img/pampas-plume.webp); }
.bh-scene-spray__bunny { width: 27%; aspect-ratio: 150 / 360; left: 38%; bottom: -3%; rotate: 14deg; background-image: url(../img/bunny-tails.webp); }
html.inv-anim .bh-scene-spray__bunch { animation: bh-sway 6.5s ease-in-out infinite alternate; }
html.inv-anim .bh-scene-spray__plume { animation: bh-sway 5.4s -2s ease-in-out infinite alternate; }
html.inv-anim .bh-scene-spray__bunny { animation: bh-sway-sm 4.6s -1s ease-in-out infinite alternate; }
/* the card: a linen boho arch with an ochre rim and a small sun on its crown, no frosted cloud */
body.bh-body .inv-intro--scene .inv-scene__card {
    top: 54%; width: min(68vw, 18.5rem, 37svh); aspect-ratio: .84; padding: 2.6rem 1rem 1.2rem;
    -webkit-mask: none; mask: none; -webkit-backdrop-filter: none; backdrop-filter: none;
    border-radius: var(--bh-arch); background: var(--bh-grain), linear-gradient(180deg, var(--bh-linen), color-mix(in srgb, var(--inv-sand) 70%, var(--bh-linen)));
    box-shadow: inset 0 0 0 7px color-mix(in srgb, var(--bh-linen) 60%, var(--inv-sand)), inset 0 0 0 8px color-mix(in srgb, var(--inv-primary) 30%, transparent), 0 30px 50px -22px rgb(0 0 0 / .7);
}
body.bh-body .inv-intro--scene .inv-scene__card::before {
    content: ''; position: absolute; inset: -9px; border-radius: 999px 999px 26px 26px; pointer-events: none;
    border: 1px solid color-mix(in srgb, var(--inv-sun) 90%, transparent);
}
body.bh-body .inv-intro--scene .inv-scene__card::after {
    content: ''; position: absolute; left: 50%; top: 1.35rem; width: .7rem; height: .7rem; translate: -50% 0; border-radius: 50%;
    background: var(--bh-sun-grad); box-shadow: 0 0 0 4px color-mix(in srgb, var(--inv-sun) 22%, transparent);
}
body.bh-body .inv-scene__card .inv-intro__label { font: 500 .7rem/1.4 var(--bh-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--inv-primary); }
body.bh-body .inv-scene__card .inv-intro__names { font-family: var(--bh-script); font-weight: 400; line-height: 1.15; color: var(--inv-deep); }
body.bh-body .inv-scene__card .inv-intro__rule { height: 1px; background: linear-gradient(90deg, transparent, var(--inv-primary) 20%, var(--inv-primary) 80%, transparent); }
body.bh-body .inv-scene__card .inv-intro__date { font: 500 .8rem/1.4 var(--bh-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--inv-text); }
body.bh-body .inv-intro--scene .inv-intro__skip { background: color-mix(in srgb, var(--inv-deep) 70%, transparent); border-color: color-mix(in srgb, var(--inv-sun) 60%, transparent); color: var(--bh-cream); }
@media (prefers-reduced-motion: reduce) {
    .bh-scene-spray i { animation: none !important; }
}
