/* =========================================================
   Undangan digital
   ========================================================= */
.inv {
  --i-bg: #f7f1e8; --i-bg2: #ecdfca; --i-card: #fffaf2; --i-ink: #3d3328; --i-muted: #7a6a58;
  --i-accent: #b08d57; --i-accent2: #8a6a3a; --i-onacc: #fff;
  --i-script: 'Great Vibes', 'Segoe Script', cursive;
  --i-serif: 'Cormorant Garamond', Georgia, serif;
  position: fixed; inset: 0; display: flex; color: var(--i-ink); background: var(--i-bg);
  font-family: var(--i-serif); font-size: 18px;
}
.inv-playful { --i-script: 'Fredoka', sans-serif; --i-serif: 'Fredoka', sans-serif; font-size: 16px; }
.inv .script { font-family: var(--i-script); font-weight: 400; line-height: 1.05; }
.inv-playful .script { font-weight: 700; letter-spacing: -.01em; }

/* panel samping (layar lebar) */
.inv-side { display: none; }
@media (min-width: 900px) {
  .inv-side {
    display: grid; place-items: end start; flex: 1; position: relative; padding: 56px;
    background: var(--i-bg2) center / cover no-repeat; color: #fff;
  }
  .inv-side::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.6)); }
  .side-in { position: relative; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
  .side-in .kick { letter-spacing: .3em; text-transform: uppercase; font-size: .85rem; }
  .side-in h1 { font-size: clamp(3.5rem, 6vw, 6rem); margin: 6px 0; }
  .side-date { font-size: 1.2rem; letter-spacing: .08em; }
  .inv-col { width: 460px; flex: none; box-shadow: -20px 0 60px rgba(0,0,0,.25); }
}

/* kolom utama */
.inv-col { position: relative; flex: 1; height: 100%; overflow-y: auto; overflow-x: hidden; background: var(--i-bg); scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
.inv:not(.opened) .inv-col { overflow: hidden; }
.inv-content {
  position: relative; padding-bottom: 90px;
  background:
    radial-gradient(circle at 0 0, color-mix(in srgb, var(--i-accent) 10%, transparent), transparent 40%),
    radial-gradient(circle at 100% 50%, color-mix(in srgb, var(--i-accent) 8%, transparent), transparent 40%),
    var(--i-bg);
}

/* sampul */
.inv-cover {
  position: absolute; inset: 0; z-index: 20; height: 100%; min-height: 100%;
  display: grid; place-items: center; text-align: center; padding: 40px 28px;
  background: var(--i-bg2) center / cover no-repeat; color: #fff;
  transition: transform 1.1s cubic-bezier(.7,0,.2,1), opacity 1.1s;
}
.inv-cover::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.15) 40%, rgba(0,0,0,.65)); }
.inv-cover.no-photo { color: var(--i-ink); background: radial-gradient(circle at 50% 35%, var(--i-card), var(--i-bg2)); }
.inv-cover.no-photo::before { display: none; }
.inv.opened .inv-cover { transform: translateY(-105%); opacity: 0; pointer-events: none; }
.cover-in { position: relative; display: grid; gap: 10px; justify-items: center; animation: invUp 1.2s .2s cubic-bezier(.2,.8,.2,1) both; }
.inv-cover:not(.no-photo) .cover-in { text-shadow: 0 2px 18px rgba(0,0,0,.4); }
.kick { letter-spacing: .28em; text-transform: uppercase; font-size: .78rem; font-weight: 600; opacity: .9; }
.cover-names { font-size: clamp(3.4rem, 15vw, 4.6rem); margin: 4px 0; word-break: break-word; }
.cover-date { font-size: 1.05rem; letter-spacing: .06em; }
.guest { margin: 22px 0 8px; padding: 16px 22px; border-radius: 18px; background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); min-width: min(100%, 280px); }
.no-photo .guest { background: var(--i-card); box-shadow: 0 10px 30px -18px rgba(0,0,0,.4), inset 0 0 0 1px color-mix(in srgb, var(--i-accent) 30%, transparent); }
.to-label { font-size: .9rem; opacity: .85; }
.to-name { font-size: 1.5rem; font-weight: 700; margin-top: 4px; word-break: break-word; }
.to-note { font-size: .72rem; opacity: .7; margin-top: 6px; font-style: italic; }

/* ornamen */
.branch { position: absolute; width: min(38vw, 170px); color: var(--i-accent); opacity: .85; pointer-events: none; z-index: 1; }
.inv-cover:not(.no-photo) .branch { color: #fff; opacity: .55; }
.branch svg { width: 100%; height: auto; display: block; }
.b-tl { top: 0; left: 0; }
.b-tr { top: 0; right: 0; transform: scaleX(-1); }
.b-bl { bottom: 0; left: 0; transform: scaleY(-1); }
.b-br { bottom: 0; right: 0; transform: scale(-1, -1); }
.branch svg { animation: sway 6s ease-in-out infinite; transform-origin: 0 0; }
@keyframes sway { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(2.5deg); } }
.orn { color: var(--i-accent); width: 200px; max-width: 70%; margin: 16px auto; }
.orn svg { width: 100%; height: auto; display: block; }

/* tombol */
.inv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none;
  font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: .95rem;
  background: linear-gradient(135deg, var(--i-accent), var(--i-accent2)); color: var(--i-onacc);
  box-shadow: 0 12px 26px -12px var(--i-accent2); transition: transform .2s;
}
.inv-btn:active { transform: scale(.95); }
.inv-btn.ghost { background: transparent; color: var(--i-accent2); box-shadow: inset 0 0 0 1.5px var(--i-accent); }
.inv-dark .inv-btn.ghost { color: var(--i-accent); }
.inv-btn.small { padding: .6em 1.2em; font-size: .85rem; }
#invOpen { margin-top: 6px; animation: pulse 1.8s ease-in-out infinite; }

/* section */
.sec { position: relative; padding: 56px 26px 20px; text-align: center; }
.sec + .sec { padding-top: 40px; }
.sec-title { font-family: var(--i-script); font-size: 2.8rem; font-weight: 400; color: var(--i-accent2); line-height: 1.1; }
.inv-dark .sec-title { color: var(--i-accent); }
.inv-playful .sec-title { font-size: 2rem; font-weight: 700; color: var(--i-accent); }
.sec-sub { color: var(--i-muted); line-height: 1.6; max-width: 380px; margin: 0 auto 18px; font-size: .98rem; }
.hero { padding-top: 70px; }
.big { font-size: clamp(3rem, 13vw, 4rem); color: var(--i-accent2); margin: 8px 0; word-break: break-word; }
.inv-dark .big { color: var(--i-accent); }
.inv-playful .big { color: var(--i-accent); font-size: clamp(2.4rem, 10vw, 3rem); }
.hero-date { font-size: 1.1rem; letter-spacing: .08em; color: var(--i-muted); }
.quote { margin: 18px auto 0; max-width: 380px; padding: 22px 20px; border-radius: 22px; background: var(--i-card); box-shadow: 0 16px 40px -28px rgba(0,0,0,.45); font-style: italic; line-height: 1.6; }
.quote cite { display: block; margin-top: 10px; font-style: normal; font-weight: 700; color: var(--i-accent2); letter-spacing: .05em; }
.inv-dark .quote cite { color: var(--i-accent); }
.opening { white-space: pre-line; line-height: 1.7; color: var(--i-ink); max-width: 400px; margin: 0 auto 26px; }

.host { margin: 10px auto 6px; max-width: 360px; }
.arch { width: 200px; aspect-ratio: 3 / 4; margin: 0 auto 16px; border-radius: 999px 999px 18px 18px; overflow: hidden; box-shadow: 0 0 0 6px var(--i-card), 0 0 0 7.5px color-mix(in srgb, var(--i-accent) 60%, transparent), 0 24px 40px -20px rgba(0,0,0,.45); }
.arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.inv-playful .arch { border-radius: 50%; aspect-ratio: 1; }
.role { font-size: .78rem; letter-spacing: .25em; text-transform: uppercase; color: var(--i-muted); font-weight: 700; }
.host-name { font-size: 2.9rem; color: var(--i-accent2); margin: 4px 0; }
.inv-dark .host-name { color: var(--i-accent); }
.inv-playful .host-name { font-size: 2rem; color: var(--i-accent); }
.host-full { font-weight: 700; font-size: 1.1rem; }
.host-desc { color: var(--i-muted); line-height: 1.55; margin-top: 4px; white-space: pre-line; }
.ig { display: inline-block; margin-top: 10px; font-family: 'Fredoka', sans-serif; font-size: .85rem; color: var(--i-accent2); text-decoration: none; padding: .4em 1em; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--i-accent); }
.amp { font-size: 3.6rem; color: var(--i-accent); margin: 18px 0; }

/* hitung mundur */
.count-sec { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--i-accent) 10%, transparent), transparent); }
.count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 360px; margin: 18px auto 20px; position: relative; }
.cbox { background: var(--i-card); border-radius: 18px; padding: 14px 4px 10px; box-shadow: 0 14px 30px -22px rgba(0,0,0,.5), inset 0 0 0 1px color-mix(in srgb, var(--i-accent) 25%, transparent); }
.cbox b { display: block; font-size: 1.9rem; font-weight: 700; color: var(--i-accent2); font-variant-numeric: tabular-nums; font-family: 'Fredoka', sans-serif; }
.inv-dark .cbox b { color: var(--i-accent); }
.cbox span { font-size: .78rem; color: var(--i-muted); font-family: 'Fredoka', sans-serif; }
.count.done .cbox { opacity: .35; }
.count.done::after { content: attr(data-msg); position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; color: var(--i-accent2); }

/* acara */
.ev-card { position: relative; margin: 18px auto; max-width: 380px; padding: 28px 22px 22px; border-radius: 28px; background: var(--i-card); box-shadow: 0 20px 44px -30px rgba(0,0,0,.5); display: grid; gap: 6px; justify-items: center; }
.ev-card::before { content: ''; position: absolute; inset: 8px; border-radius: 22px; border: 1px solid color-mix(in srgb, var(--i-accent) 35%, transparent); pointer-events: none; }
.ev-name { font-size: 2.4rem; color: var(--i-accent2); }
.inv-dark .ev-name { color: var(--i-accent); }
.inv-playful .ev-name { font-size: 1.6rem; color: var(--i-accent); }
.ev-day { font-weight: 700; font-size: 1.1rem; }
.ev-time { font-family: 'Fredoka', sans-serif; font-size: .95rem; }
.ev-place { font-weight: 700; margin-top: 8px; }
.ev-addr { color: var(--i-muted); line-height: 1.5; font-size: .95rem; }
.map { width: 100%; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; margin: 10px 0 6px; background: var(--i-bg2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* cerita */
.timeline { position: relative; max-width: 380px; margin: 0 auto; padding-left: 26px; text-align: left; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: color-mix(in srgb, var(--i-accent) 45%, transparent); }
.tl-item { position: relative; margin-bottom: 22px; padding: 16px; border-radius: 20px; background: var(--i-card); box-shadow: 0 14px 30px -24px rgba(0,0,0,.5); }
.tl-item::before { content: ''; position: absolute; left: -24px; top: 20px; width: 14px; height: 14px; border-radius: 50%; background: var(--i-accent); box-shadow: 0 0 0 4px var(--i-bg); }
.tl-item img { width: 100%; border-radius: 14px; margin-bottom: 10px; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.tl-date { font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--i-accent2); font-weight: 700; font-family: 'Fredoka', sans-serif; }
.inv-dark .tl-date { color: var(--i-accent); }
.tl-title { font-size: 1.25rem; margin: 2px 0 4px; }
.tl-text { color: var(--i-muted); line-height: 1.55; white-space: pre-line; }

/* galeri */
.gallery { columns: 2; column-gap: 10px; max-width: 420px; margin: 0 auto; }
.g-item { display: block; width: 100%; margin: 0 0 10px; padding: 0; border: 0; background: none; cursor: zoom-in; break-inside: avoid; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 26px -18px rgba(0,0,0,.5); }
.g-item img { width: 100%; display: block; object-fit: cover; transition: transform .5s; }
.g-item:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 70; background: rgba(10, 8, 6, .92); display: grid; place-items: center; padding: 50px 10px; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 30px 60px rgba(0,0,0,.5); animation: sceneIn .35s ease both; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 1.8rem; cursor: pointer; display: grid; place-items: center; }
.lb-close { top: 14px; right: 14px; font-size: 1.2rem; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #fff; opacity: .7; font-family: 'Fredoka', sans-serif; font-size: .9rem; }

.inv .video-frame { max-width: 400px; margin: 16px auto 0; }

/* RSVP & ucapan */
.rsvp { max-width: 380px; margin: 0 auto; padding: 22px 18px; border-radius: 26px; background: var(--i-card); box-shadow: 0 20px 44px -30px rgba(0,0,0,.5); display: grid; gap: 14px; text-align: left; font-family: 'Fredoka', sans-serif; }
.fld { display: grid; gap: 6px; }
.fld > span { font-size: .85rem; font-weight: 600; color: var(--i-muted); }
.inp { width: 100%; border: 1.5px solid color-mix(in srgb, var(--i-accent) 30%, transparent); background: var(--i-bg); color: var(--i-ink); border-radius: 14px; padding: .75em .9em; font: inherit; font-size: .95rem; outline: none; }
.inp:focus { border-color: var(--i-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--i-accent) 18%, transparent); }
textarea.inp { resize: vertical; line-height: 1.5; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pills button { flex: 1 1 auto; padding: .6em .8em; border-radius: 999px; border: 0; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; background: var(--i-bg); color: var(--i-muted); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--i-accent) 25%, transparent); }
.pills button[aria-pressed="true"] { background: linear-gradient(135deg, var(--i-accent), var(--i-accent2)); color: var(--i-onacc); box-shadow: none; }
.rsvp .inv-btn { justify-self: stretch; }
.summary { display: flex; justify-content: center; gap: 10px; margin: 18px auto 6px; max-width: 380px; font-family: 'Fredoka', sans-serif; }
.summary:empty { display: none; }
.sbox { flex: 1; padding: 10px; border-radius: 16px; background: var(--i-card); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--i-accent) 25%, transparent); }
.sbox b { display: block; font-size: 1.4rem; color: var(--i-accent2); }
.inv-dark .sbox b { color: var(--i-accent); }
.sbox span { font-size: .78rem; color: var(--i-muted); }
.wishes { max-width: 380px; margin: 14px auto; max-height: 460px; overflow-y: auto; text-align: left; display: grid; gap: 10px; font-family: 'Fredoka', sans-serif; padding: 2px; }
.wish { display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 12px; border-radius: 18px; background: var(--i-card); box-shadow: 0 10px 24px -20px rgba(0,0,0,.5); animation: sceneIn .5s ease both; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--i-onacc); background: linear-gradient(135deg, var(--i-accent), var(--i-accent2)); }
.wish-head { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: .95rem; }
.wish-head b { word-break: break-word; }
.wbadge { font-size: .7rem; padding: .15em .55em; border-radius: 999px; background: var(--i-bg); color: var(--i-muted); }
.wish-msg { margin-top: 4px; line-height: 1.5; font-size: .92rem; white-space: pre-line; word-break: break-word; }
.wish-time { margin-top: 4px; font-size: .74rem; color: var(--i-muted); }

/* hadiah */
.gift-card { position: relative; max-width: 360px; margin: 14px auto; padding: 22px; border-radius: 22px; overflow: hidden; display: grid; gap: 6px; justify-items: center; color: #fff; font-family: 'Fredoka', sans-serif; background: linear-gradient(135deg, var(--i-accent), var(--i-accent2)); box-shadow: 0 20px 40px -24px var(--i-accent2); }
.gift-card::before { content: ''; position: absolute; width: 220px; height: 220px; right: -80px; top: -90px; border-radius: 50%; background: rgba(255,255,255,.14); }
.g-bank { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .9rem; position: relative; }
.g-num { font-size: 1.6rem; font-weight: 700; letter-spacing: .08em; position: relative; word-break: break-all; }
.g-holder, .g-addr { opacity: .9; position: relative; line-height: 1.5; white-space: pre-line; }
.gift-card .inv-btn { background: rgba(255,255,255,.95); color: var(--i-accent2); box-shadow: none; position: relative; margin-top: 6px; }

.closing { padding-bottom: 30px; }
.credit { margin-top: 30px; font-family: 'Fredoka', sans-serif; font-size: .8rem; color: var(--i-muted); }
.credit a { color: inherit; font-weight: 600; }

/* navigasi bawah */
.inv-nav {
  position: fixed; bottom: max(10px, env(safe-area-inset-bottom)); left: 50%; transform: translate(-50%, 140%); z-index: 25;
  display: flex; gap: 2px; padding: 6px; border-radius: 999px; max-width: calc(100% - 20px);
  background: color-mix(in srgb, var(--i-card) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px -14px rgba(0,0,0,.45), inset 0 0 0 1px color-mix(in srgb, var(--i-accent) 25%, transparent);
  transition: transform .6s .6s cubic-bezier(.2,.9,.3,1.2); font-family: 'Fredoka', sans-serif;
}
@media (min-width: 900px) { .inv-nav { left: auto; right: 230px; transform: translate(50%, 140%); } .inv.opened .inv-nav { transform: translate(50%, 0); } }
.inv.opened .inv-nav { transform: translate(-50%, 0); }
.inv-nav button { border: 0; background: none; cursor: pointer; color: var(--i-muted); display: grid; justify-items: center; gap: 1px; padding: 6px 9px; border-radius: 999px; font: inherit; font-size: .66rem; font-weight: 600; min-width: 48px; }
.inv-nav button span { font-size: 1.1rem; line-height: 1.2; }
.inv-nav button.on { background: linear-gradient(135deg, var(--i-accent), var(--i-accent2)); color: var(--i-onacc); }
.inv-music { position: fixed; top: max(14px, env(safe-area-inset-top)); right: 14px; z-index: 26; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; font-size: 1.2rem; background: var(--i-card); box-shadow: 0 10px 24px -12px rgba(0,0,0,.5), inset 0 0 0 1.5px var(--i-accent); }
.inv-music.spin { animation: spin 4s linear infinite; }

/* animasi muncul saat di-scroll */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
@keyframes invUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* latar foto undangan */
.inv-bgfix { position: sticky; top: 0; height: 100vh; height: 100dvh; margin-bottom: -100vh; margin-bottom: -100dvh; pointer-events: none; z-index: 0; }
.inv-content > .sec { z-index: 1; }
.sec.has-bg { padding-bottom: 46px; }
.sec.has-bg + .sec { margin-top: 0; }
.inv-nav button .ic { width: 20px; height: 20px; }
.inv-music .ic { width: 22px; height: 22px; color: var(--i-accent2); }
.inv-dark .inv-music .ic { color: var(--i-accent); }
.credit-heart { width: 1em; height: 1em; vertical-align: -.15em; color: var(--i-accent); fill: currentColor; }

/* =========================================================
   Gaya undangan
   ========================================================= */
.gate, .seal, .cover-arch, .mono-mark { display: none; }

/* ---------- Modern: gaya majalah ---------- */
.inv-st-modern { --i-script: 'Cormorant Garamond', Georgia, serif; --i-sans: 'Jost', 'Fredoka', sans-serif; font-family: var(--i-sans); font-size: 16px; font-weight: 300; }
.inv-st-modern .branch, .inv-st-modern .orn { display: none; }
.inv-st-modern .script { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; line-height: .95; }
.inv-st-modern .inv-cover { place-items: end start; text-align: left; padding: 36px 28px 54px; }
.inv-st-modern .inv-cover::before { background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.72)); }
.inv-st-modern.opened .inv-cover { transform: translateX(-105%); }
.inv-st-modern .cover-in { justify-items: start; gap: 12px; }
.inv-st-modern .cover-names { font-size: clamp(3rem, 15vw, 4.4rem); padding-bottom: 14px; border-bottom: 1px solid currentColor; }
.inv-st-modern .kick { font-family: var(--i-sans); letter-spacing: .4em; font-weight: 500; font-size: .7rem; }
.inv-st-modern .cover-date { font-family: var(--i-sans); letter-spacing: .25em; text-transform: uppercase; font-size: .8rem; font-weight: 500; }
.inv-st-modern .guest { margin: 18px 0 6px; padding: 2px 0 2px 16px; border-radius: 0; background: none; box-shadow: none; border-left: 2px solid currentColor; -webkit-backdrop-filter: none; backdrop-filter: none; min-width: 0; text-align: left; }
.inv-st-modern .no-photo .guest { background: none; box-shadow: none; }
.inv-st-modern .to-name { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; }
.inv-st-modern .inv-btn { border-radius: 0; padding: 1em 1.8em; font-family: var(--i-sans); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; font-size: .72rem; background: var(--i-ink); color: var(--i-bg); box-shadow: none; }
.inv-st-modern .inv-cover:not(.no-photo) #invOpen { background: #fff; color: #111; }
.inv-st-modern .inv-btn.ghost { background: transparent; color: var(--i-ink); box-shadow: inset 0 0 0 1px var(--i-ink); }
.inv-st-modern #invOpen { animation: none; }
.inv-st-modern .inv-content { counter-reset: sec; background: var(--i-bg); }
.inv-st-modern .sec { text-align: left; padding: 64px 28px 24px; }
.inv-st-modern .sec + .sec { border-top: 1px solid color-mix(in srgb, var(--i-ink) 12%, transparent); margin: 0 28px; padding-left: 0; padding-right: 0; }
.inv-st-modern .sec-title { font-family: var(--i-sans); font-size: .78rem; font-weight: 500; letter-spacing: .38em; text-transform: uppercase; color: var(--i-ink); margin-bottom: 22px; display: flex; align-items: center; gap: 14px; }
.inv-st-modern .sec-title::before { counter-increment: sec; content: counter(sec, decimal-leading-zero); font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; letter-spacing: 0; color: var(--i-accent); line-height: 1; }
.inv-st-modern .sec-title::after { content: ''; flex: 1; height: 1px; background: color-mix(in srgb, var(--i-ink) 25%, transparent); }
.inv-st-modern .sec-sub, .inv-st-modern .opening, .inv-st-modern .quote, .inv-st-modern .host, .inv-st-modern .ev-card, .inv-st-modern .timeline,
.inv-st-modern .rsvp, .inv-st-modern .summary, .inv-st-modern .wishes, .inv-st-modern .gift-card, .inv-st-modern .count { margin-left: 0; margin-right: 0; max-width: none; }
.inv-st-modern .hero { padding-top: 80px; }
.inv-st-modern .big { font-size: clamp(3rem, 14vw, 4.2rem); color: var(--i-ink); }
.inv-st-modern .hero-date { font-family: var(--i-sans); letter-spacing: .25em; text-transform: uppercase; font-size: .8rem; color: var(--i-accent2); }
.inv-st-modern .quote { border-radius: 0; background: none; box-shadow: none; padding: 18px 0 0; border-top: 1px solid color-mix(in srgb, var(--i-ink) 20%, transparent); font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; }
.inv-st-modern .quote cite { font-family: var(--i-sans); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--i-accent2); }
.inv-st-modern .arch { width: 100%; aspect-ratio: 4 / 5; border-radius: 2px; box-shadow: none; margin-bottom: 18px; }
.inv-st-modern .amp { font-family: 'Cormorant Garamond', serif; font-size: 4rem; color: var(--i-accent); margin: 26px 0; }
.inv-st-modern .host-name { font-size: 2.6rem; color: var(--i-ink); }
.inv-st-modern .role { color: var(--i-accent2); letter-spacing: .3em; font-weight: 500; }
.inv-st-modern .host-full { font-weight: 500; }
.inv-st-modern .ig { border-radius: 0; font-family: var(--i-sans); letter-spacing: .1em; color: var(--i-ink); box-shadow: inset 0 -1px 0 var(--i-ink); padding: .3em 0; }
.inv-st-modern .count { gap: 0; }
.inv-st-modern .cbox { background: none; box-shadow: none; border-radius: 0; border-left: 1px solid color-mix(in srgb, var(--i-ink) 20%, transparent); padding: 4px 0 4px 12px; text-align: left; }
.inv-st-modern .cbox:first-child { border-left: 0; padding-left: 0; }
.inv-st-modern .cbox b { font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; font-weight: 600; color: var(--i-ink); line-height: 1; }
.inv-st-modern .cbox span { font-family: var(--i-sans); text-transform: uppercase; letter-spacing: .18em; font-size: .62rem; }
.inv-st-modern .count-sec { background: none; }
.inv-st-modern .ev-card { border-radius: 0; background: none; box-shadow: none; padding: 0 0 26px; justify-items: start; border-bottom: 1px solid color-mix(in srgb, var(--i-ink) 12%, transparent); }
.inv-st-modern .ev-card::before { display: none; }
.inv-st-modern .ev-name { font-size: 2.2rem; color: var(--i-ink); }
.inv-st-modern .ev-day { font-weight: 500; letter-spacing: .05em; }
.inv-st-modern .ev-time { font-family: var(--i-sans); color: var(--i-accent2); letter-spacing: .1em; }
.inv-st-modern .map { border-radius: 0; }
.inv-st-modern .timeline { padding-left: 0; }
.inv-st-modern .timeline::before { display: none; }
.inv-st-modern .tl-item { border-radius: 0; background: none; box-shadow: none; padding: 0 0 22px; border-bottom: 1px solid color-mix(in srgb, var(--i-ink) 12%, transparent); }
.inv-st-modern .tl-item::before { display: none; }
.inv-st-modern .tl-item img { border-radius: 0; }
.inv-st-modern .tl-date { font-family: var(--i-sans); font-weight: 500; letter-spacing: .3em; }
.inv-st-modern .tl-title { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 600; }
.inv-st-modern .gallery { columns: auto; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -28px; padding: 0 28px 8px; scrollbar-width: none; }
.inv-st-modern .gallery::-webkit-scrollbar { display: none; }
.inv-st-modern .g-item { flex: 0 0 78%; margin: 0; border-radius: 0; box-shadow: none; scroll-snap-align: center; }
.inv-st-modern .g-item img { height: 380px; aspect-ratio: auto !important; }
.inv-st-modern .rsvp, .inv-st-modern .wish, .inv-st-modern .sbox { border-radius: 0; box-shadow: none; background: var(--i-card); font-family: var(--i-sans); }
.inv-st-modern .rsvp { border-top: 2px solid var(--i-ink); }
.inv-st-modern .inp { border-radius: 0; }
.inv-st-modern .pills button { border-radius: 0; }
.inv-st-modern .avatar { border-radius: 0; background: var(--i-ink); color: var(--i-bg); }
.inv-st-modern .gift-card { border-radius: 0; justify-items: start; background: var(--i-ink); box-shadow: none; font-family: var(--i-sans); }
.inv-st-modern .gift-card::before { display: none; }
.inv-st-modern .gift-card .inv-btn { background: var(--i-bg); color: var(--i-ink); }
.inv-st-modern .g-num { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 2rem; }
.inv-st-modern .closing { text-align: center; }
.inv-st-modern .closing .socials { justify-content: center; }
.inv-st-modern .inv-nav { border-radius: 4px; font-family: var(--i-sans); }
.inv-st-modern .inv-nav button { border-radius: 2px; }
.inv-st-modern .inv-nav button.on { background: var(--i-ink); color: var(--i-bg); }
.inv-st-modern .inv-music { border-radius: 4px; }

/* ---------- Royal: pintu gerbang & bingkai emas ---------- */
.inv-st-royal { --gold: color-mix(in srgb, var(--i-accent) 45%, #e8c77e); --gold2: color-mix(in srgb, var(--i-accent2) 40%, #a77d32); --door: color-mix(in srgb, var(--i-accent2) 62%, #120a06); }
.inv-st-royal .branch { display: none; }
.inv-st-royal .inv-cover { background: var(--door) !important; color: #fff6e3; overflow: hidden; perspective: 1400px; }
.inv-st-royal .inv-cover::before { display: none; }
.inv-st-royal .gate { display: block; position: absolute; top: 0; bottom: 0; width: 50.5%; z-index: 0; background:
    radial-gradient(circle at 50% 50%, transparent 0 34%, color-mix(in srgb, var(--gold) 22%, transparent) 34.5% 35.5%, transparent 36%) center / 74px 74px,
    linear-gradient(45deg, transparent 48.5%, color-mix(in srgb, var(--gold) 16%, transparent) 49% 51%, transparent 51.5%) center / 37px 37px,
    linear-gradient(-45deg, transparent 48.5%, color-mix(in srgb, var(--gold) 16%, transparent) 49% 51%, transparent 51.5%) center / 37px 37px,
    linear-gradient(180deg, color-mix(in srgb, var(--door) 80%, #fff 6%), var(--door));
  box-shadow: inset 0 0 0 10px var(--door), inset 0 0 0 11.5px var(--gold), inset 0 0 0 16px var(--door), inset 0 0 0 17px var(--gold2), inset 0 0 60px rgba(0,0,0,.45);
  transition: transform 1.5s cubic-bezier(.6,0,.2,1) .25s; backface-visibility: hidden; }
.inv-st-royal .gate-l { left: 0; transform-origin: left center; border-radius: 0 0 0 0; }
.inv-st-royal .gate-r { right: 0; transform-origin: right center; }
.inv-st-royal .gate::after { content: ''; position: absolute; top: 50%; width: 10px; height: 64px; margin-top: -32px; border-radius: 6px; background: linear-gradient(90deg, var(--gold2), var(--gold), var(--gold2)); box-shadow: 0 6px 12px rgba(0,0,0,.35); }
.inv-st-royal .gate-l::after { right: 22px; } .inv-st-royal .gate-r::after { left: 22px; }
.inv-st-royal .cover-in { z-index: 2; padding: 26px 22px 24px; border-radius: 200px 200px 24px 24px; background: color-mix(in srgb, var(--door) 86%, transparent); box-shadow: 0 0 0 1.5px var(--gold), 0 0 0 7px color-mix(in srgb, var(--door) 86%, transparent), 0 0 0 8px var(--gold2), 0 30px 60px -20px rgba(0,0,0,.6); max-width: 330px; transition: opacity .45s, transform .45s; }
.inv-st-royal .seal { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 4px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--i-accent) 60%, #ffd9a0), var(--i-accent2) 70%); box-shadow: 0 0 0 4px color-mix(in srgb, var(--door) 70%, transparent), 0 0 0 5.5px var(--gold), 0 10px 22px rgba(0,0,0,.45); color: #fff8e8; }
.inv-st-royal .seal span { font-family: var(--i-script); font-size: 1.9rem; line-height: 1; text-shadow: 0 2px 4px rgba(0,0,0,.3); }
.inv-st-royal .cover-arch { display: block; width: 150px; aspect-ratio: 3 / 4; margin: 6px auto; border-radius: 999px 999px 14px 14px; overflow: hidden; box-shadow: 0 0 0 4px color-mix(in srgb, var(--door) 80%, transparent), 0 0 0 5.5px var(--gold); }
.inv-st-royal .cover-arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.inv-st-royal .cover-names { font-size: clamp(2.8rem, 12vw, 3.6rem); background: linear-gradient(180deg, #fff3d6, var(--gold) 60%, var(--gold2)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.inv-st-royal .inv-cover .kick, .inv-st-royal .cover-date { color: var(--gold); text-shadow: none; }
.inv-st-royal .guest { margin: 14px 0 6px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 55%, transparent); border-radius: 14px; }
.inv-st-royal #invOpen { background: linear-gradient(135deg, var(--gold), var(--gold2)); color: #2a1a08; }
.inv-st-royal.opened .inv-cover { transform: none; opacity: 1; background: transparent !important; visibility: hidden; transition: visibility 0s 1.9s; }
.inv-st-royal.opened .cover-in { animation: none; opacity: 0; transform: scale(.92); }
.inv-st-royal.opened .gate-l { transform: rotateY(-105deg); }
.inv-st-royal.opened .gate-r { transform: rotateY(105deg); }
.inv-st-royal .sec { padding: 64px 30px 34px; }
.inv-st-royal .sec + .sec { padding-top: 54px; }
.inv-st-royal .sec::before { content: ''; position: absolute; inset: 18px 12px 6px; border: 1px solid color-mix(in srgb, var(--gold2) 70%, transparent); outline: 1px solid color-mix(in srgb, var(--gold2) 40%, transparent); outline-offset: 4px; border-radius: 4px; pointer-events: none; }
.inv-st-royal .sec::after { content: ''; position: absolute; left: 50%; top: 12px; width: 12px; height: 12px; margin-left: -6px; transform: rotate(45deg); background: var(--gold2); box-shadow: 0 0 0 4px var(--i-bg); }
.inv-st-royal .sec.has-bg::after { box-shadow: none; }
.inv-st-royal .sec-title, .inv-st-royal .big, .inv-st-royal .host-name, .inv-st-royal .ev-name { background: linear-gradient(180deg, var(--gold), var(--gold2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.inv-st-royal.inv-dark .sec-title, .inv-st-royal.inv-dark .big, .inv-st-royal.inv-dark .host-name, .inv-st-royal.inv-dark .ev-name { background-image: linear-gradient(180deg, #fff1cf, var(--gold)); }
.inv-st-royal .hero { padding-top: 84px; }
.inv-st-royal .mono-mark { display: block; position: absolute; left: 0; right: 0; top: 40px; font-family: var(--i-script); font-size: 9rem; line-height: 1; color: var(--gold); opacity: .07; pointer-events: none; }
.inv-st-royal .arch { box-shadow: 0 0 0 5px var(--i-card), 0 0 0 6.5px var(--gold2), 0 0 0 11px var(--i-card), 0 0 0 12px color-mix(in srgb, var(--gold2) 50%, transparent), 0 24px 40px -20px rgba(0,0,0,.45); }
.inv-st-royal .ev-card::before { border: 1px solid var(--gold2); outline: 1px solid color-mix(in srgb, var(--gold2) 40%, transparent); outline-offset: 3px; border-radius: 20px; }
.inv-st-royal .cbox { box-shadow: 0 14px 30px -22px rgba(0,0,0,.5), inset 0 0 0 1px var(--gold2); }
.inv-st-royal .cbox b { color: var(--gold2); }
.inv-st-royal.inv-dark .cbox b { color: var(--gold); }
.inv-st-royal .inv-btn { background: linear-gradient(135deg, var(--gold), var(--gold2)); color: #2a1a08; }
.inv-st-royal .inv-btn.ghost { background: transparent; color: var(--gold2); box-shadow: inset 0 0 0 1.5px var(--gold2); }
.inv-st-royal.inv-dark .inv-btn.ghost { color: var(--gold); }
.inv-st-royal .gift-card { background: linear-gradient(135deg, var(--door), color-mix(in srgb, var(--door) 70%, #000)); box-shadow: inset 0 0 0 1px var(--gold), 0 20px 40px -24px #000; }
.inv-st-royal .gift-card .g-bank, .inv-st-royal .gift-card .g-num { color: var(--gold); }
.inv-st-royal .orn { color: var(--gold2); }
.inv-st-royal .inv-nav button.on { background: linear-gradient(135deg, var(--gold), var(--gold2)); color: #2a1a08; }
@media (prefers-reduced-motion: reduce) { .inv-st-royal .gate { transition-duration: .01s; } }
.inv-st-royal.inv-dark { --door: color-mix(in srgb, var(--i-bg) 78%, #000); }

/* ---------- logo bank / e-wallet di amplop digital ---------- */
.g-top { position: relative; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.bank-logo { display: inline-flex; align-items: center; gap: 7px; padding: .4em .85em .4em .55em; border-radius: 10px; background: #fff; color: var(--b, #333); font-weight: 800; font-size: 1rem; letter-spacing: .01em; box-shadow: 0 6px 14px -8px rgba(0,0,0,.45); font-style: italic; }
.bank-logo i { width: 18px; height: 18px; border-radius: 5px; background: var(--b, #999); box-shadow: inset 0 0 0 3px rgba(255,255,255,.35); flex: none; }
.is-wallet .bank-logo { font-style: normal; border-radius: 999px; }
.is-wallet .bank-logo i { border-radius: 50%; }
.g-chip { width: 40px; height: 30px; border-radius: 7px; background: linear-gradient(135deg, #f8e3a0, #c9a043 55%, #f1d27e); box-shadow: inset 0 0 0 1px rgba(110,80,20,.35); position: relative; }
.g-chip::before { content: ''; position: absolute; inset: 7px 9px; border: 1px solid rgba(110,80,20,.45); border-radius: 3px; }
.g-chip::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(110,80,20,.45); }
.g-wal { width: 30px; height: 30px; opacity: .9; }
.gift-card .g-num { margin-top: 4px; }
.gift-card .g-holder { font-size: .95rem; }

/* ---------- Nusantara: batik kawung, tumpal, gunungan ---------- */
.kayon { display: none; }
.inv-st-nusantara { --kawung: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2056%2056%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%3E%3Cellipse%20cx%3D%2214%22%20cy%3D%2214%22%20rx%3D%226.5%22%20ry%3D%2212.5%22%20transform%3D%22rotate(-45%2014%2014)%22%2F%3E%3Cellipse%20cx%3D%2242%22%20cy%3D%2214%22%20rx%3D%226.5%22%20ry%3D%2212.5%22%20transform%3D%22rotate(45%2042%2014)%22%2F%3E%3Cellipse%20cx%3D%2214%22%20cy%3D%2242%22%20rx%3D%226.5%22%20ry%3D%2212.5%22%20transform%3D%22rotate(45%2014%2042)%22%2F%3E%3Cellipse%20cx%3D%2242%22%20cy%3D%2242%22%20rx%3D%226.5%22%20ry%3D%2212.5%22%20transform%3D%22rotate(-45%2042%2042)%22%2F%3E%3Cg%20fill%3D%22%23000%22%20stroke%3D%22none%22%3E%3Ccircle%20cx%3D%2228%22%20cy%3D%2228%22%20r%3D%222.6%22%2F%3E%3Ccircle%20cx%3D%220%22%20cy%3D%220%22%20r%3D%222.6%22%2F%3E%3Ccircle%20cx%3D%2256%22%20cy%3D%220%22%20r%3D%222.6%22%2F%3E%3Ccircle%20cx%3D%220%22%20cy%3D%2256%22%20r%3D%222.6%22%2F%3E%3Ccircle%20cx%3D%2256%22%20cy%3D%2256%22%20r%3D%222.6%22%2F%3E%3Ccircle%20cx%3D%2214%22%20cy%3D%2214%22%20r%3D%221.4%22%2F%3E%3Ccircle%20cx%3D%2242%22%20cy%3D%2214%22%20r%3D%221.4%22%2F%3E%3Ccircle%20cx%3D%2214%22%20cy%3D%2242%22%20r%3D%221.4%22%2F%3E%3Ccircle%20cx%3D%2242%22%20cy%3D%2242%22%20r%3D%221.4%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); --tumpal: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2036%2018%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M0%2018L18%200L36%2018ZM7%2018L18%207L29%2018Z%22%2F%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%2214.5%22%20r%3D%221.6%22%2F%3E%3C%2Fsvg%3E"); --kayon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20200%20262%22%3E%3Cpath%20d%3D%22M100%204C112%2030%20132%2052%20154%2078C176%20104%20192%20136%20190%20170C189%20190%20184%20206%20176%20218V230H24V218C16%20206%2011%20190%2010%20170C8%20136%2024%20104%2046%2078C68%2052%2088%2030%20100%204Z%20M14%20230H186V244H14ZM34%20244H166V258H34Z%22%2F%3E%3C%2Fsvg%3E"); --i-script: 'Cinzel', 'Cormorant Garamond', serif; }
.inv-st-nusantara .branch, .inv-st-nusantara .orn { display: none; }
.inv-st-nusantara .script { font-family: 'Cinzel', serif; font-weight: 700; letter-spacing: .03em; line-height: 1.15; }
.inv-st-nusantara .inv-content { background: var(--i-bg); }
.inv-st-nusantara .inv-content::after { content: ''; position: absolute; inset: 0; background: var(--i-accent); -webkit-mask: var(--kawung) 0 0 / 56px 56px repeat; mask: var(--kawung) 0 0 / 56px 56px repeat; opacity: .09; pointer-events: none; z-index: 0; }
.inv-st-nusantara .sec { padding-top: 64px; }
.inv-st-nusantara .sec::before { content: ''; position: absolute; left: 0; right: 0; top: 10px; height: 16px; background: var(--i-accent); -webkit-mask: var(--tumpal) 0 0 / 32px 16px repeat-x; mask: var(--tumpal) 0 0 / 32px 16px repeat-x; opacity: .55; pointer-events: none; z-index: 2; }
.inv-st-nusantara .sec-title { font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.55rem; letter-spacing: .04em; color: var(--i-accent2); }
.inv-st-nusantara.inv-dark .sec-title { color: var(--i-accent); }
.inv-st-nusantara .sec-title::before { content: ''; display: block; width: 30px; height: 40px; margin: 0 auto 10px; background: var(--i-accent); -webkit-mask: var(--kayon) center / contain no-repeat; mask: var(--kayon) center / contain no-repeat; }
.inv-st-nusantara .big { font-size: clamp(2.1rem, 10vw, 2.8rem); }
.inv-st-nusantara .host-name { font-size: 1.9rem; }
.inv-st-nusantara .ev-name { font-size: 1.5rem; }
.inv-st-nusantara .amp { font-family: 'Cinzel', serif; font-size: 2.6rem; }
.inv-st-nusantara .kick { font-family: 'Cinzel', serif; letter-spacing: .2em; }
.inv-st-nusantara .arch { width: 210px; aspect-ratio: 200 / 262; border-radius: 0; box-shadow: none; -webkit-mask: var(--kayon) center / contain no-repeat; mask: var(--kayon) center / contain no-repeat; }
.inv-st-nusantara .host { position: relative; }
.inv-st-nusantara .ev-card, .inv-st-nusantara .quote, .inv-st-nusantara .rsvp, .inv-st-nusantara .tl-item, .inv-st-nusantara .cbox { border-radius: 8px; }
.inv-st-nusantara .ev-card::before { inset: 6px; border-radius: 4px; border: 1.5px solid color-mix(in srgb, var(--i-accent) 60%, transparent); }
.inv-st-nusantara .ev-card::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 12px; height: 12px; background: var(--i-accent); -webkit-mask: var(--tumpal) 0 0 / 24px 12px repeat-x; mask: var(--tumpal) 0 0 / 24px 12px repeat-x; opacity: .45; }
.inv-st-nusantara .ev-card { padding-bottom: 36px; }
.inv-st-nusantara .inv-btn { border-radius: 8px; font-family: 'Cinzel', serif; font-weight: 700; letter-spacing: .05em; }
.inv-st-nusantara .gift-card { border-radius: 14px; }
.inv-st-nusantara .inv-nav { border-radius: 12px; }
/* sampul: gunungan, batik, bingkai emas */
.inv-st-nusantara .inv-cover { box-shadow: inset 0 0 0 10px rgba(0,0,0,.28), inset 0 0 0 11.5px #d9a94e, inset 0 0 0 16px rgba(0,0,0,.2), inset 0 0 0 17px #d9a94e; }
.inv-st-nusantara .inv-cover::after { content: ''; position: absolute; inset: 0; background: #f3d9a0; -webkit-mask: var(--kawung) 0 0 / 56px 56px repeat; mask: var(--kawung) 0 0 / 56px 56px repeat; opacity: .1; pointer-events: none; z-index: 1; }
.inv-st-nusantara .inv-cover.no-photo::after { background: var(--i-accent); opacity: .14; }
.inv-st-nusantara .cover-in { z-index: 2; gap: 8px; }
.inv-st-nusantara .kayon { display: block; width: 110px; margin: 0 auto 2px; filter: drop-shadow(0 10px 16px rgba(0,0,0,.4)); transform-origin: 50% 60%; animation: kayonSway 5s ease-in-out infinite; }
.inv-st-nusantara .kayon svg { display: block; width: 100%; height: auto; }
.inv-st-nusantara .cover-names { font-size: clamp(2.1rem, 10vw, 2.8rem); }
.inv-st-nusantara .inv-cover:not(.no-photo) .cover-names { color: #f6dfa6; }
.inv-st-nusantara .inv-cover.no-photo .cover-names { color: var(--i-accent2); }
.inv-st-nusantara .guest { border-radius: 10px; }
.inv-st-nusantara #invOpen { background: linear-gradient(135deg, #e7c172, #a8743a); color: #2b160a; }
.inv-st-nusantara.opened .inv-cover { transform: none; opacity: 0; visibility: hidden; transition: opacity .8s 1.1s, visibility 0s 1.9s; }
.inv-st-nusantara.opened .cover-in { animation: none; }
.inv-st-nusantara.opened .cover-in > :not(.kayon) { opacity: 0; transition: opacity .4s; }
.inv-st-nusantara.opened .kayon { animation: kayonSpin 1.7s cubic-bezier(.5,0,.3,1) both; }
@keyframes kayonSway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
@keyframes kayonSpin { 0% { transform: perspective(600px) rotateY(0) scale(1); } 55% { transform: perspective(600px) rotateY(360deg) scale(1.25); opacity: 1; } 100% { transform: perspective(600px) rotateY(540deg) scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .inv-st-nusantara .kayon { animation: none; } }

/* ---------- latar & sampul berganti (memudar) ---------- */
.inv-bgfix { overflow: hidden; }
.bg-veil { position: absolute; inset: 0; pointer-events: none; }
.sec-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.sec.has-bg > :not(.sec-bg):not(.mono-mark) { position: relative; z-index: 1; }
.sec.has-bg > .mono-mark { z-index: 1; }
.inv-st-royal .sec::before, .inv-st-royal .sec::after { z-index: 2; }
.cover-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.cover-slides::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.15) 40%, rgba(0,0,0,.65)); }
.inv-cover.has-slides::before { display: none; }
.inv-st-modern .cover-slides::after { background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.72)); }
.inv-st-royal .cover-slides { display: none; }
.inv-side { overflow: hidden; }
.inv-side .bg-slide { z-index: 0; }
.inv-side::before { z-index: 1; }
.side-in { z-index: 2; }

/* ---------- galeri video ---------- */
.vgal { display: grid; gap: 14px; max-width: 420px; margin: 18px auto 0; }
.vg-item .video-frame { margin: 0; }
.vthumb { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: #000 center / cover no-repeat; }
.vplay { position: absolute; left: 50%; top: 50%; width: 64px; height: 44px; margin: -22px 0 0 -32px; border-radius: 12px; background: rgba(0,0,0,.65); }
.vplay::after { content: ''; position: absolute; left: 26px; top: 12px; border: 10px solid transparent; border-left: 16px solid #fff; border-right: 0; }
.vthumb:hover .vplay { background: #e00; }
.vg-cap { margin-top: 8px; font-weight: 600; color: var(--i-muted); }

/* gaya Custom: huruf judul pilihan pembeli */
.inv.inv-cfont .script, .inv.inv-cfont .sec-title { font-family: var(--i-cfont) !important; text-transform: none; letter-spacing: 0; }
