/* Tema Midnight Navy — namespace .ti-theme-midnight-navy (Premium · Luxury Fantasy: gerbang emas, bulan, kastil, air terjun, kristal) */
@import url(assets/fonts/fonts.css);
.ti-theme-midnight-navy {
  --mn-night: #09152F; --mn-royal: #102B59; --mn-sapphire: #174E93; --mn-crystal: #70A9E8; --mn-ice: #CBDDF0;
  --mn-gold: #B99661; --mn-champagne: #D8BD91; --mn-ivory: #F5EFE4; --mn-rose: #B9444F; --mn-white: #FAF8F4;
  --mn-deep: #050c1f; --mn-ink: #c9d3e6;
  --mn-goldtext: linear-gradient(180deg, #FBF0D6 0%, #E6CDA0 38%, #B99661 68%, #E2C796 100%);
  --mn-sw: min(100vw, 480px); --mn-sh: 100vh;
  --ti-ease: cubic-bezier(.2,.7,.2,1);
  background: var(--mn-night); color: var(--mn-ink); font-family: "Cormorant Garamond", Georgia, serif; font-size: 19px; line-height: 1.65;
  overflow-x: hidden;
}
@supports (height: 100svh) { .ti-theme-midnight-navy { --mn-sh: 100svh; } }
.ti-theme-midnight-navy h1, .ti-theme-midnight-navy h2, .ti-theme-midnight-navy h3 { margin: 0; font-weight: 400; }
.ti-theme-midnight-navy img { max-width: none; }
.ti-theme-midnight-navy .mn-eyebrow { font-family: "Great Vibes", "Brush Script MT", cursive; color: var(--mn-champagne); font-size: 26px; line-height: 1.2; margin: 0 0 4px; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.ti-theme-midnight-navy .mn-caps { font-family: "Cinzel", Georgia, serif; font-size: 13px; letter-spacing: .26em; text-transform: uppercase; margin: 0 0 10px; color: var(--mn-ivory); }
.ti-theme-midnight-navy .mn-gold { color: var(--mn-champagne); }
.ti-theme-midnight-navy .mn-text { color: var(--mn-ink); max-width: 420px; margin: 0 auto 22px; }
.ti-theme-midnight-navy .mn-text--sm { font-size: 17px; margin-bottom: 10px; }
.ti-theme-midnight-navy .mn-text strong { color: var(--mn-ivory); font-weight: 600; }
.ti-theme-midnight-navy .mn-divider { display: block; width: 260px; max-width: 72%; height: auto; margin: 2px auto 22px; }
.ti-theme-midnight-navy .mn-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 10px 28px; border-radius: 999px; border: 1px solid rgba(251,240,214,.75); background: linear-gradient(180deg, #E9D3A6 0%, #C9A76E 48%, #A88550 100%); color: #13213f; font-family: "Cinzel", Georgia, serif; font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; text-decoration: none; box-shadow: 0 14px 30px -12px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.6), 0 0 0 4px rgba(216,189,145,.14); overflow: hidden; transition: transform .35s var(--ti-ease), box-shadow .35s, filter .35s; }
.ti-theme-midnight-navy .mn-btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.65), transparent); transform: skewX(-20deg); animation: mn-btnshine 4.5s ease-in-out 1.2s infinite; }
.ti-theme-midnight-navy .mn-btn:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 18px 36px -12px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.7), 0 0 0 6px rgba(216,189,145,.2), 0 0 28px rgba(112,169,232,.35); }
.ti-theme-midnight-navy .mn-btn--ghost { background: rgba(9,21,47,.5); color: var(--mn-champagne); border-color: rgba(216,189,145,.55); box-shadow: none; }

/* Latar desktop */
.ti-theme-midnight-navy .mn-backdrop { display: none; }
@media (min-width: 560px) {
  .ti-theme-midnight-navy .mn-backdrop { display: block; position: fixed; inset: 0; z-index: 0; background: var(--mn-deep); }
  .ti-theme-midnight-navy .mn-backdrop img { width: 100%; height: 100%; object-fit: cover; filter: blur(16px) saturate(1.1); opacity: .6; transform: scale(1.12); }
  .ti-theme-midnight-navy .mn-backdrop::after { content: ""; position: absolute; inset: 0; background: url(assets/img/mn-stars.webp) 0 0 / 300px 300px, radial-gradient(60% 80% at 50% 50%, rgba(9,21,47,0) 0%, rgba(3,7,18,.7) 100%); }
}

/* ============================ STAGE (artwork berlapis) ============================ */
/* Satuan: --k = lebar panggung / 1080 (lapisan bingkai), --kv = satuan "vista" (bulan, awan, kastil, air terjun)
   yang ikut menyesuaikan tinggi layar agar kastil & bulan tidak hilang di HP pendek. */
.ti-theme-midnight-navy .mn-stage { --k: calc(var(--mn-sw) / 1080); --kv: max(calc(var(--k) * .82), min(var(--k), calc(var(--mn-sh) / 2340))); position: relative; width: var(--mn-sw); height: var(--mn-sh); overflow: hidden; background: var(--mn-night); isolation: isolate; }
.ti-theme-midnight-navy .mn-l { position: absolute; inset: 0; }
.ti-theme-midnight-navy .mn-sky img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.ti-theme-midnight-navy .mn-vista { position: absolute; left: 50%; top: 50%; width: calc(var(--kv) * 1080); height: calc(var(--kv) * 2340); margin: calc(var(--kv) * -1170) 0 0 calc(var(--kv) * -540); pointer-events: none; }
.ti-theme-midnight-navy .mn-vista > * { position: absolute; }
.ti-theme-midnight-navy .mn-moon { left: calc(var(--kv) * 260); top: calc(var(--kv) * 280); width: calc(var(--kv) * 560); height: auto; }
.ti-theme-midnight-navy .mn-moonglow { left: calc(var(--kv) * -60); top: calc(var(--kv) * -40); width: calc(var(--kv) * 1200); height: calc(var(--kv) * 1200); border-radius: 50%; background: radial-gradient(closest-side, rgba(240,222,186,.38) 0%, rgba(216,189,145,.16) 34%, rgba(112,169,232,.06) 62%, rgba(112,169,232,0) 100%); animation: mn-glow 7s ease-in-out infinite alternate; }
.ti-theme-midnight-navy .mn-clouds { left: 0; top: calc(var(--kv) * 601); width: 100%; height: auto; }
.ti-theme-midnight-navy .mn-castle { left: 0; top: calc(var(--kv) * 1110); width: 100%; height: auto; transform-origin: 50% 70%; }
.ti-theme-midnight-navy .mn-fallswrap { left: 0; top: calc(var(--kv) * 1550); width: 100%; height: calc(var(--kv) * 892); }
.ti-theme-midnight-navy .mn-falls { width: 100%; height: auto; display: block; }
.ti-theme-midnight-navy .mn-flow { position: absolute; left: calc(var(--kv) * 416); top: calc(var(--kv) * 80); width: calc(var(--kv) * 248); height: calc(var(--kv) * 392); background: url(assets/img/mn-flow.webp) 0 0 / calc(var(--kv) * 256) calc(var(--kv) * 512) repeat; clip-path: polygon(18.5% 0, 81.5% 0, 100% 100%, 0 100%); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 80%, transparent 100%); mix-blend-mode: screen; opacity: .7; animation: mn-flow 1.8s linear infinite; }
.ti-theme-midnight-navy .mn-mist { left: calc(var(--kv) * -540); width: calc(var(--kv) * 2160); height: calc(var(--kv) * 420); opacity: .75; }
.ti-theme-midnight-navy .mn-mist img { width: 100%; height: 100%; animation: mn-drift 26s ease-in-out infinite alternate; }
.ti-theme-midnight-navy .mn-mist--a { top: calc(var(--kv) * 1440); }
.ti-theme-midnight-navy .mn-mist--b { top: calc(var(--kv) * 1900); opacity: .9; }
.ti-theme-midnight-navy .mn-mist--b img { animation-duration: 34s; animation-direction: alternate-reverse; }
.ti-theme-midnight-navy .mn-pillar { position: absolute; top: calc(var(--k) * 740); width: calc(var(--k) * 170); height: auto; z-index: 2; pointer-events: none; }
.ti-theme-midnight-navy .mn-pillar--l { left: 0; }
.ti-theme-midnight-navy .mn-pillar--r { right: 0; }
.ti-theme-midnight-navy .mn-crownwrap { position: absolute; left: 0; top: 0; width: 100%; z-index: 3; pointer-events: none; transform-origin: 50% 0; }
.ti-theme-midnight-navy .mn-crown { display: block; width: 100%; height: auto; }
.ti-theme-midnight-navy .mn-shine { position: absolute; inset: 0; -webkit-mask: url(assets/img/mn-crown.webp) 0 0 / 100% 100% no-repeat; mask: url(assets/img/mn-crown.webp) 0 0 / 100% 100% no-repeat; background: linear-gradient(105deg, transparent 38%, rgba(255,246,222,.55) 47%, rgba(255,246,222,0) 56%) -150% 0 / 300% 100% no-repeat; mix-blend-mode: screen; animation: mn-shine 9s ease-in-out 3.2s infinite; }
.ti-theme-midnight-navy .mn-flora { position: absolute; top: calc(var(--k) * 520); width: calc(var(--k) * 386); height: auto; z-index: 4; pointer-events: none; transform-origin: 0 20%; animation: mn-sway 7s ease-in-out infinite alternate; }
.ti-theme-midnight-navy .mn-flora--l { left: 0; }
.ti-theme-midnight-navy .mn-flora--r { right: 0; transform-origin: 100% 20%; animation-duration: 8s; animation-direction: alternate-reverse; }
.ti-theme-midnight-navy .mn-fore { position: absolute; left: 0; bottom: -1px; width: 100%; z-index: 5; pointer-events: none; }
.ti-theme-midnight-navy .mn-fore img { display: block; width: 100%; height: auto; }
.ti-theme-midnight-navy .mn-sweep { position: absolute; inset: 0; -webkit-mask: url(assets/img/mn-fore.webp) 0 0 / 100% 100% no-repeat; mask: url(assets/img/mn-fore.webp) 0 0 / 100% 100% no-repeat; background: linear-gradient(100deg, transparent 40%, rgba(203,221,240,.6) 48%, rgba(112,169,232,0) 56%) -150% 0 / 300% 100% no-repeat; mix-blend-mode: screen; animation: mn-shine 7s ease-in-out 3.6s infinite; }
.ti-theme-midnight-navy .mn-sparks { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.ti-theme-midnight-navy .mn-sparks i { position: absolute; width: 18px; height: 18px; margin: -9px; background: radial-gradient(circle, rgba(255,255,255,.95) 0 8%, rgba(203,221,240,.5) 16%, transparent 46%), linear-gradient(90deg, transparent 46%, rgba(235,245,255,.85) 50%, transparent 54%), linear-gradient(0deg, transparent 46%, rgba(235,245,255,.85) 50%, transparent 54%); opacity: 0; animation: mn-twinkle 3.6s ease-in-out infinite; }

/* ================================ COVER ================================ */
.ti-theme-midnight-navy .mn-cover { position: fixed; inset: 0; z-index: 40; overflow: hidden; background: var(--mn-deep); transition: opacity 1.1s ease 1.15s, visibility 0s linear 2.3s; }
.ti-theme-midnight-navy .mn-cover::before { content: ""; position: absolute; inset: -40px; background: url(assets/img/mn-sky.webp) 50% 30% / cover no-repeat; filter: blur(20px) brightness(.55) saturate(1.15); }
.ti-theme-midnight-navy .mn-cover::after { content: ""; position: absolute; inset: 0; background: url(assets/img/mn-stars.webp) 0 0 / 300px 300px; opacity: .8; }
.ti-theme-midnight-navy .mn-stage--cover { z-index: 1; position: absolute; left: 50%; top: 0; transform: translateX(-50%); box-shadow: 0 0 90px rgba(0,0,0,.55); }
.ti-opened.ti-theme-midnight-navy .mn-cover { opacity: 0; visibility: hidden; pointer-events: none; }
.ti-theme-midnight-navy .mn-cover.mn-gone { display: none; }
/* urutan pembuka sinematik */
.ti-theme-midnight-navy .mn-stage--cover .mn-sky { animation: mn-in-sky 1.6s ease both; }
.ti-theme-midnight-navy .mn-stage--cover .mn-moon { animation: mn-in-moon 2s var(--ti-ease) .3s both; }
.ti-theme-midnight-navy .mn-stage--cover .mn-moonglow { animation: mn-in-fade 2.2s ease .4s both, mn-glow 7s ease-in-out 2.6s infinite alternate; }
.ti-theme-midnight-navy .mn-stage--cover .mn-clouds { animation: mn-in-haze 2.2s ease .6s both; }
.ti-theme-midnight-navy .mn-stage--cover .mn-castle { animation: mn-in-castle 2.4s var(--ti-ease) .8s both; }
.ti-theme-midnight-navy .mn-stage--cover .mn-fallswrap { animation: mn-in-haze 2.2s ease 1s both; }
.ti-theme-midnight-navy .mn-stage--cover .mn-mist { animation: mn-in-fade 2.6s ease .9s both; }
.ti-theme-midnight-navy .mn-stage--cover .mn-crownwrap, .ti-theme-midnight-navy .mn-stage--cover .mn-pillar { animation: mn-in-gold 2s ease 1.2s both; }
.ti-theme-midnight-navy .mn-stage--cover .mn-flora { animation: mn-in-flora 1.9s var(--ti-ease) 1.6s both, mn-sway 7s ease-in-out 3.5s infinite alternate; }
.ti-theme-midnight-navy .mn-stage--cover .mn-flora--r { animation-duration: 1.9s, 8s; animation-direction: normal, alternate-reverse; }
.ti-theme-midnight-navy .mn-stage--cover .mn-fore { animation: mn-in-fore 1.9s var(--ti-ease) 1.8s both; }
.ti-theme-midnight-navy .mn-cover__text { position: absolute; z-index: 7; left: 17%; right: 17%; top: calc(50% - var(--kv) * 228); transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; text-align: center; transition: opacity .7s ease, translate 1s ease; }
.ti-theme-midnight-navy .mn-cover__text > * { animation: mn-in-text 1.3s var(--ti-ease) both; }
.ti-theme-midnight-navy .mn-cover__text > :nth-child(1) { animation-delay: 2.2s; }
.ti-theme-midnight-navy .mn-cover__text > :nth-child(2) { animation-delay: 2.45s; }
.ti-theme-midnight-navy .mn-cover__text > :nth-child(3) { animation-delay: 2.8s; }
.ti-theme-midnight-navy .mn-stage .mn-eyebrow { font-size: calc(var(--kv) * 62); margin: 0; }
.ti-theme-midnight-navy .mn-names { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0 .22em; margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 500; line-height: 1.02; font-size: 46px; overflow-wrap: anywhere; }
.ti-theme-midnight-navy .mn-names span { background: var(--mn-goldtext); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; filter: drop-shadow(0 3px 10px rgba(0,0,0,.65)); padding: 0 .04em; }
.ti-theme-midnight-navy .mn-names em { font-family: "Great Vibes", cursive; font-style: normal; font-size: .78em; color: var(--mn-crystal); text-shadow: 0 0 16px rgba(112,169,232,.7); }
.ti-theme-midnight-navy .mn-names--stack { flex-direction: column; align-items: center; }
.ti-theme-midnight-navy .mn-names--stack em { margin: -.12em 0 -.08em; }
.ti-theme-midnight-navy .mn-stage .mn-names { font-size: calc(var(--kv) * 132); }
.ti-theme-midnight-navy .mn-stage .mn-names--stack { font-size: calc(var(--kv) * 108); }
.ti-theme-midnight-navy .mn-stage .mn-names--xl { font-size: calc(var(--kv) * 78); max-width: calc(var(--k) * 820); margin-left: auto; margin-right: auto; }
.ti-theme-midnight-navy .mn-cover__text:has(.mn-names--xl), .ti-theme-midnight-navy .mn-hero__text:has(.mn-names--xl) { left: 11%; right: 11%; }
.ti-theme-midnight-navy .mn-cover__date { font-family: "Cinzel", Georgia, serif; font-size: calc(var(--kv) * 30); letter-spacing: .24em; text-transform: uppercase; color: var(--mn-ivory); margin: calc(var(--kv) * 18) 0 0; padding: calc(var(--kv) * 8) calc(var(--kv) * 18); border-top: 1px solid rgba(216,189,145,.55); border-bottom: 1px solid rgba(216,189,145,.55); text-shadow: 0 2px 10px rgba(0,0,0,.8); }
.ti-theme-midnight-navy .mn-cover__cta { position: absolute; z-index: 8; left: 12%; right: 12%; bottom: calc(var(--k) * 96 + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: center; gap: calc(var(--k) * 26); transition: opacity .6s ease, translate .9s ease; animation: mn-in-text 1.2s var(--ti-ease) 3.1s both; }
.ti-theme-midnight-navy .mn-cover__guest { padding: calc(var(--k) * 16) calc(var(--k) * 40); border-radius: 16px; text-align: center; color: var(--mn-ivory); background: linear-gradient(180deg, rgba(16,43,89,.72), rgba(9,21,47,.82)); border: 1px solid rgba(216,189,145,.45); box-shadow: 0 16px 34px -16px rgba(0,0,0,.9); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ti-theme-midnight-navy .mn-cover__guest:empty { display: none; }
.ti-theme-midnight-navy .mn-cover__guest .ti-guest__label { display: block; font-family: "Jost", "Segoe UI", sans-serif; font-weight: 300; font-size: calc(var(--k) * 26); letter-spacing: .06em; color: var(--mn-ice); text-transform: none; }
.ti-theme-midnight-navy .mn-cover__guest .ti-guest__name { display: block; font-family: "Cinzel", serif; font-size: calc(var(--k) * 40); color: var(--mn-champagne); }
.ti-theme-midnight-navy .mn-btn--open { font-size: max(12.5px, calc(var(--k) * 30)); min-height: max(46px, calc(var(--k) * 112)); padding: 0 calc(var(--k) * 60); }
/* pointer / gyro tilt (diatur script.js lewat --mx/--my) */
.ti-theme-midnight-navy .mn-stage--cover .mn-vista { translate: calc(var(--mx, 0) * 6px) calc(var(--my, 0) * 4px); }
.ti-theme-midnight-navy .mn-stage--cover .mn-flora--l { translate: calc(var(--mx, 0) * 14px) calc(var(--my, 0) * 8px); }
.ti-theme-midnight-navy .mn-stage--cover .mn-flora--r { translate: calc(var(--mx, 0) * 14px) calc(var(--my, 0) * 8px); }
.ti-theme-midnight-navy .mn-stage--cover .mn-fore { translate: calc(var(--mx, 0) * 18px) calc(var(--my, 0) * 6px); }
/* buka undangan: slow camera push menembus gerbang */
.ti-theme-midnight-navy .mn-stage--cover .mn-vista, .ti-theme-midnight-navy .mn-stage--cover .mn-crownwrap, .ti-theme-midnight-navy .mn-stage--cover .mn-pillar, .ti-theme-midnight-navy .mn-stage--cover .mn-flora, .ti-theme-midnight-navy .mn-stage--cover .mn-fore, .ti-theme-midnight-navy .mn-stage--cover .mn-sky { transition: scale 2.2s cubic-bezier(.6,0,.2,1), translate 2s cubic-bezier(.6,0,.2,1), opacity 1.4s ease .5s, filter 1.6s ease; }
.ti-opened.ti-theme-midnight-navy .mn-stage--cover .mn-vista { scale: 1.16; }
.ti-opened.ti-theme-midnight-navy .mn-stage--cover .mn-sky { scale: 1.08; filter: brightness(1.15); }
.ti-opened.ti-theme-midnight-navy .mn-stage--cover .mn-crownwrap { scale: 1.45; translate: 0 -14%; opacity: 0; }
.ti-opened.ti-theme-midnight-navy .mn-stage--cover .mn-pillar--l { translate: -140% 0; }
.ti-opened.ti-theme-midnight-navy .mn-stage--cover .mn-pillar--r { translate: 140% 0; }
.ti-opened.ti-theme-midnight-navy .mn-stage--cover .mn-flora--l { translate: -115% -10%; }
.ti-opened.ti-theme-midnight-navy .mn-stage--cover .mn-flora--r { translate: 115% -10%; }
.ti-opened.ti-theme-midnight-navy .mn-stage--cover .mn-fore { translate: 0 85%; }
.ti-opened.ti-theme-midnight-navy .mn-cover__text > *, .ti-opened.ti-theme-midnight-navy .mn-cover__cta, .ti-opened.ti-theme-midnight-navy .mn-stage--cover .mn-crownwrap, .ti-opened.ti-theme-midnight-navy .mn-stage--cover .mn-pillar, .ti-opened.ti-theme-midnight-navy .mn-stage--cover .mn-flora, .ti-opened.ti-theme-midnight-navy .mn-stage--cover .mn-fore { animation: none; }
.ti-opened.ti-theme-midnight-navy .mn-cover__text { opacity: 0; translate: 0 -40px; }
.ti-opened.ti-theme-midnight-navy .mn-cover__cta { opacity: 0; translate: 0 60px; }

/* kelopak melayang */
.ti-theme-midnight-navy .mn-petals { position: fixed; inset: 0; z-index: 35; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity 1.6s ease 2s; }
.ti-opened.ti-theme-midnight-navy .mn-petals { opacity: .8; }
.ti-theme-midnight-navy .mn-petals i { position: absolute; top: -40px; left: calc(var(--n) * 12.5% + 3%); width: 16px; animation: mn-fall calc(15s + var(--n) * 1.9s) linear calc(var(--n) * -2.7s) infinite; }
.ti-theme-midnight-navy .mn-petals i:nth-child(3n) { width: 22px; }
.ti-theme-midnight-navy .mn-petals img { width: 100%; animation: mn-spin 4.5s ease-in-out infinite alternate; }

/* ================================ MAIN ================================ */
.ti-theme-midnight-navy .mn-main { position: relative; z-index: 1; max-width: 480px; margin: 0 auto; background: var(--mn-night); overflow: clip; box-shadow: 0 0 90px rgba(0,0,0,.6); }
.ti-theme-midnight-navy .mn-section { position: relative; padding: 92px 22px; text-align: center; background: radial-gradient(130% 50% at 50% 0%, rgba(23,78,147,.45) 0%, rgba(16,43,89,.25) 40%, rgba(9,21,47,0) 72%), linear-gradient(180deg, var(--mn-night) 0%, #0b1b3e 50%, var(--mn-night) 100%); overflow: hidden; }
.ti-theme-midnight-navy .mn-section::before { content: ""; position: absolute; inset: 0; background: url(assets/img/mn-stars.webp) 0 0 / 300px 300px; opacity: .7; pointer-events: none; }
.ti-theme-midnight-navy .mn-section::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -30px; height: 190px; background: url(assets/img/mn-clouds.webp) 50% 100% / 120% auto no-repeat; opacity: .32; pointer-events: none; }
.ti-theme-midnight-navy .mn-section > * { position: relative; z-index: 1; }
.ti-theme-midnight-navy .mn-title { font-family: "Cinzel", Georgia, serif; font-size: 22px; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 8px; line-height: 1.3; background: var(--mn-goldtext); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.ti-theme-midnight-navy .mn-title span { display: block; font-family: "Great Vibes", cursive; font-size: 40px; letter-spacing: 0; text-transform: none; line-height: 1.15; margin-bottom: 2px; -webkit-text-fill-color: var(--mn-ice); color: var(--mn-ice); text-shadow: 0 0 18px rgba(112,169,232,.45); }

/* HERO 2.5D scrollytelling */
.ti-theme-midnight-navy .mn-hero { position: relative; height: 210vh; background: var(--mn-night); }
.ti-theme-midnight-navy .mn-hero__sticky { position: sticky; top: 0; height: var(--mn-sh); overflow: hidden; }
.ti-theme-midnight-navy .mn-stage--hero, .ti-theme-midnight-navy .mn-stage--closing { width: 100%; height: 100%; --mn-sw: min(100vw, 480px); }
.ti-theme-midnight-navy .mn-stage--hero::after { content: ""; position: absolute; inset: 0; z-index: 9; background: linear-gradient(180deg, rgba(9,21,47,0) 30%, rgba(9,21,47,.85) 78%, var(--mn-night) 100%); opacity: calc(var(--mq, 0) * 1.6 - .5); pointer-events: none; }
.ti-theme-midnight-navy .mn-stage--hero .mn-sky img { translate: 0 calc(var(--mq, 0) * -2.5%); }
.ti-theme-midnight-navy .mn-stage--hero .mn-moon { translate: 0 calc(var(--mq, 0) * var(--kv) * 150); }
.ti-theme-midnight-navy .mn-stage--hero .mn-moonglow { translate: 0 calc(var(--mq, 0) * var(--kv) * 150); }
.ti-theme-midnight-navy .mn-stage--hero .mn-clouds { translate: calc(var(--mq, 0) * var(--kv) * -70) calc(var(--mq, 0) * var(--kv) * 40); }
.ti-theme-midnight-navy .mn-stage--hero .mn-castle { translate: 0 calc(var(--mq, 0) * var(--kv) * -70); scale: calc(1 + var(--mq, 0) * .12); }
.ti-theme-midnight-navy .mn-stage--hero .mn-fallswrap { translate: 0 calc(var(--mq, 0) * var(--kv) * -150); }
.ti-theme-midnight-navy .mn-stage--hero .mn-mist { translate: calc(var(--mq, 0) * var(--kv) * 160) calc(var(--mq, 0) * var(--kv) * -120); }
.ti-theme-midnight-navy .mn-stage--hero .mn-crownwrap { translate: 0 calc(var(--mq, 0) * var(--k) * -70); scale: calc(1 + var(--mq, 0) * .05); }
.ti-theme-midnight-navy .mn-stage--hero .mn-pillar { translate: 0 calc(var(--mq, 0) * var(--k) * -110); }
.ti-theme-midnight-navy .mn-stage--hero .mn-flora--l { translate: calc(var(--mq, 0) * var(--k) * -230) calc(var(--mq, 0) * var(--k) * -300); }
.ti-theme-midnight-navy .mn-stage--hero .mn-flora--r { translate: calc(var(--mq, 0) * var(--k) * 230) calc(var(--mq, 0) * var(--k) * -300); }
.ti-theme-midnight-navy .mn-stage--hero .mn-fore { translate: 0 calc(var(--mq, 0) * var(--k) * 520); }
.ti-theme-midnight-navy .mn-stage--hero .mn-sweep { animation-delay: 1s; }
.ti-opened.ti-theme-midnight-navy .mn-stage--hero .mn-vista { animation: mn-settle 2.6s cubic-bezier(.2,.7,.2,1) .9s both; }
.ti-theme-midnight-navy .mn-hero__text { position: absolute; z-index: 7; left: 16%; right: 16%; top: calc(50% - var(--kv) * 228); transform: translateY(-50%); text-align: center; translate: 0 calc(var(--mq, 0) * -140px); opacity: calc(1 - var(--mq, 0) * 2.2); }
.ti-theme-midnight-navy .mn-hero__text .mn-names { opacity: 0; }
.ti-opened.ti-theme-midnight-navy .mn-hero__text .mn-names { animation: mn-in-text 1.6s var(--ti-ease) 1.5s both; }
.ti-theme-midnight-navy .mn-hero__text .mn-caps { font-size: calc(var(--kv) * 30); margin-top: calc(var(--kv) * 18); }
.ti-theme-midnight-navy .mn-scroll { position: absolute; z-index: 8; left: 50%; bottom: calc(var(--k) * 70 + env(safe-area-inset-bottom, 0px)); translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 30px; background: rgba(9,21,47,.55); border: 1px solid rgba(216,189,145,.35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); font-family: "Jost", sans-serif; font-weight: 300; font-size: 11.5px; letter-spacing: .14em; color: var(--mn-champagne); opacity: calc(1 - var(--mq, 0) * 5); }
.ti-theme-midnight-navy .mn-scroll i { width: 20px; height: 32px; border: 1.6px solid currentColor; border-radius: 12px; position: relative; }
.ti-theme-midnight-navy .mn-scroll i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: currentColor; animation: mn-wheel 1.8s ease-in-out infinite; }

/* QUOTE */
.ti-theme-midnight-navy .mn-quote { padding-top: 70px; }
.ti-theme-midnight-navy .mn-quote__medal { width: 96px; height: auto; margin: 0 auto 18px; display: block; }
.ti-theme-midnight-navy .mn-quote__text { font-style: italic; font-size: 21px; line-height: 1.7; color: var(--mn-ivory); max-width: 400px; margin: 0 auto 10px; }

/* COUPLE — bingkai potret emas */
.ti-theme-midnight-navy .mn-person { margin: 26px auto 0; }
.ti-theme-midnight-navy .mn-portrait { position: relative; width: min(76%, 300px); aspect-ratio: 640 / 880; margin: 0 auto 24px; }
.ti-theme-midnight-navy .mn-portrait__photo { position: absolute; left: 10.9375%; right: 10.9375%; top: 7.9545%; bottom: 7.9545%; overflow: hidden; background: radial-gradient(circle at 50% 40%, #1b3d78, #0b1a3c); -webkit-mask: url(assets/img/arch-mask.svg) center / 100% 100% no-repeat; mask: url(assets/img/arch-mask.svg) center / 100% 100% no-repeat; }
.ti-theme-midnight-navy .mn-portrait__photo .mn-portrait__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.ti-theme-midnight-navy .mn-portrait__photo .ti-couple-monogram { display: grid; place-items: center; width: 100%; height: 100%; font-family: "Great Vibes", cursive; font-size: 110px; color: var(--mn-champagne); background: radial-gradient(circle at 50% 40%, #1b3d78, #0b1a3c); }
.ti-theme-midnight-navy .mn-portrait__frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; filter: drop-shadow(0 18px 24px rgba(0,0,0,.6)); }
.ti-theme-midnight-navy .mn-portrait__shimmer { position: absolute; inset: 0; -webkit-mask: url(assets/img/mn-frame.webp) 0 0 / 100% 100% no-repeat; mask: url(assets/img/mn-frame.webp) 0 0 / 100% 100% no-repeat; background: linear-gradient(110deg, transparent 38%, rgba(255,246,222,.75) 48%, transparent 58%) -150% 0 / 300% 100% no-repeat; mix-blend-mode: screen; pointer-events: none; }
.ti-theme-midnight-navy .mn-portrait__posy { position: absolute; width: 74%; height: auto; bottom: -9%; pointer-events: none; filter: drop-shadow(0 10px 14px rgba(0,0,0,.55)); }
.ti-theme-midnight-navy .mn-portrait__posy--l { left: -24%; }
.ti-theme-midnight-navy .mn-portrait__posy--r { right: -24%; scale: -1 1; }
.ti-theme-midnight-navy .mn-portrait__gem { position: absolute; width: 34%; height: auto; bottom: -4%; pointer-events: none; }
.ti-theme-midnight-navy .mn-person--groom .mn-portrait__gem { right: -12%; }
.ti-theme-midnight-navy .mn-person--bride .mn-portrait__gem { left: -12%; }
/* urutan reveal: bingkai → foto (blur ke tajam) → bunga → kilau emas */
.ti-theme-midnight-navy .mn-portrait__frame, .ti-theme-midnight-navy .mn-portrait__photo, .ti-theme-midnight-navy .mn-portrait__posy, .ti-theme-midnight-navy .mn-portrait__gem { transition: opacity 1s ease, transform 1.2s var(--ti-ease), filter 1.4s ease; }
.ti-theme-midnight-navy .mn-portrait:not(.mn-in) .mn-portrait__frame { opacity: 0; transform: scale(.92) translateY(18px); }
.ti-theme-midnight-navy .mn-portrait:not(.mn-in) .mn-portrait__photo { opacity: 0; filter: blur(14px); transform: scale(1.06); }
.ti-theme-midnight-navy .mn-portrait:not(.mn-in) .mn-portrait__posy { opacity: 0; transform: translateY(26px) scale(.8); }
.ti-theme-midnight-navy .mn-portrait:not(.mn-in) .mn-portrait__gem { opacity: 0; transform: translateY(20px); }
.ti-theme-midnight-navy .mn-portrait.mn-in .mn-portrait__photo { transition-delay: .45s; }
.ti-theme-midnight-navy .mn-portrait.mn-in .mn-portrait__posy { transition-delay: 1s; }
.ti-theme-midnight-navy .mn-portrait.mn-in .mn-portrait__gem { transition-delay: 1.2s; }
.ti-theme-midnight-navy .mn-portrait.mn-in .mn-portrait__shimmer { animation: mn-shine 2.6s ease 1.5s 1 both; }
.ti-theme-midnight-navy .mn-person__nick { font-family: "Great Vibes", cursive; font-size: 46px; line-height: 1.1; margin: 0; color: var(--mn-champagne); text-shadow: 0 0 18px rgba(216,189,145,.25); }
.ti-theme-midnight-navy .mn-person__name { font-family: "Cinzel", serif; font-size: 16px; letter-spacing: .14em; text-transform: uppercase; color: var(--mn-ivory); margin: 4px 0 8px; }
.ti-theme-midnight-navy .mn-ig { display: inline-block; margin-top: 4px; font-family: "Jost", sans-serif; font-size: 14px; color: var(--mn-crystal); text-decoration: none; border-bottom: 1px solid rgba(112,169,232,.4); }
.ti-theme-midnight-navy .mn-amp { font-family: "Great Vibes", cursive; font-size: 80px; color: var(--mn-crystal); margin: 30px 0 6px; line-height: 1; text-shadow: 0 0 24px rgba(112,169,232,.6); }

/* PANEL navy + bingkai emas */
.ti-theme-midnight-navy .mn-panel { position: relative; padding: 38px 24px 30px; background: linear-gradient(180deg, rgba(20,52,104,.92) 0%, rgba(11,27,60,.95) 60%, rgba(8,19,44,.97) 100%); border: 1px solid rgba(216,189,145,.65); border-radius: 18px; box-shadow: inset 0 0 0 6px rgba(9,21,47,.85), inset 0 0 0 7px rgba(185,150,97,.45), inset 0 0 40px rgba(112,169,232,.12), 0 34px 60px -34px rgba(0,0,0,.95); }
.ti-theme-midnight-navy .mn-corner { position: absolute; width: 58px; height: auto; pointer-events: none; z-index: 2; }
.ti-theme-midnight-navy .mn-corner--tl { top: -6px; left: -6px; }
.ti-theme-midnight-navy .mn-corner--tr { top: -6px; right: -6px; scale: -1 1; }
.ti-theme-midnight-navy .mn-corner--bl { bottom: -6px; left: -6px; scale: 1 -1; }
.ti-theme-midnight-navy .mn-corner--br { bottom: -6px; right: -6px; scale: -1 -1; }

/* EVENTS */
.ti-theme-midnight-navy .mn-event { max-width: 400px; margin: 0 auto 30px; padding-top: 64px; border-radius: 200px 200px 18px 18px; --ti-dur: 1.2s; }
.ti-theme-midnight-navy .mn-event .mn-corner--tl, .ti-theme-midnight-navy .mn-event .mn-corner--tr { display: none; }
.ti-theme-midnight-navy .mn-event::before { content: ""; position: absolute; left: 50%; top: -34px; width: 70px; height: 70px; margin-left: -35px; background: url(assets/img/mn-medallion.webp) center / contain no-repeat; filter: drop-shadow(0 8px 10px rgba(0,0,0,.6)); }
.ti-theme-midnight-navy .mn-event__name { font-family: "Cinzel", serif; font-size: 25px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; background: var(--mn-goldtext); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.ti-theme-midnight-navy .mn-event__date { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 14px; font-family: "Cinzel", serif; color: var(--mn-ivory); }
.ti-theme-midnight-navy .mn-event__date span { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; padding: 7px 0; border-top: 1px solid rgba(216,189,145,.55); border-bottom: 1px solid rgba(216,189,145,.55); min-width: 86px; color: var(--mn-champagne); }
.ti-theme-midnight-navy .mn-event__date strong { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 62px; line-height: 1; color: var(--mn-ivory); text-shadow: 0 0 20px rgba(112,169,232,.45); }
.ti-theme-midnight-navy .ti-btn--primary, .ti-theme-midnight-navy .ti-btn--maps { background: linear-gradient(180deg, #E9D3A6 0%, #C9A76E 50%, #A88550 100%); color: #13213f; border: 1px solid rgba(251,240,214,.7); font-family: "Cinzel", serif; font-weight: 600; letter-spacing: .08em; box-shadow: 0 10px 22px -12px rgba(0,0,0,.9); }
.ti-theme-midnight-navy .ti-btn--ghost { color: var(--mn-champagne); border-color: rgba(216,189,145,.55); background: rgba(9,21,47,.35); font-family: "Cinzel", serif; letter-spacing: .06em; }

/* COUNTDOWN */
.ti-theme-midnight-navy .mn-count { padding-top: 80px; }
.ti-theme-midnight-navy .mn-count__medal { position: absolute !important; left: 50%; top: 50%; width: 360px; height: auto; margin: -180px 0 0 -180px; opacity: .08; z-index: 0 !important; animation: mn-rotate 80s linear infinite; }
.ti-theme-midnight-navy .mn-countdown { margin: 18px 0 24px; gap: 10px; }
.ti-theme-midnight-navy .mn-countdown .ti-countdown__item { position: relative; width: 74px; padding: 18px 4px 14px; border: 1px solid rgba(216,189,145,.6); border-radius: 12px; background: linear-gradient(180deg, rgba(23,78,147,.35), rgba(9,21,47,.75)); box-shadow: inset 0 0 0 4px rgba(9,21,47,.7), inset 0 0 0 5px rgba(185,150,97,.35), 0 18px 30px -18px rgba(0,0,0,.9); }
.ti-theme-midnight-navy .mn-countdown .ti-countdown__num { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 38px; line-height: 1.05; color: var(--mn-ivory); text-shadow: 0 0 14px rgba(112,169,232,.55); }
.ti-theme-midnight-navy .mn-countdown .ti-countdown__label { font-family: "Jost", sans-serif; font-weight: 400; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--mn-champagne); }

/* VIDEO */
.ti-theme-midnight-navy .mn-video { border-radius: 160px 160px 14px 14px; overflow: hidden; border: 1px solid rgba(216,189,145,.6); box-shadow: 0 0 0 6px rgba(9,21,47,.9), 0 0 0 7px rgba(185,150,97,.5), 0 30px 50px -30px #000; }

/* STORY — halaman buku dongeng */
.ti-theme-midnight-navy .mn-book { position: relative; padding-top: 6px; }
.ti-theme-midnight-navy .mn-book__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: linear-gradient(180deg, rgba(216,189,145,0), var(--mn-champagne) 8%, var(--mn-gold) 92%, rgba(216,189,145,0)); transform-origin: 50% 0; scale: 1 min(1, calc(var(--mp, 1) * 1.7)); opacity: .7; z-index: 0 !important; }
.ti-theme-midnight-navy .mn-page { position: relative; z-index: 1; margin: 0 auto 42px; padding: 30px 22px 26px; max-width: 400px; text-align: center; border-radius: 6px 22px 6px 22px; background: linear-gradient(160deg, rgba(23,62,122,.9) 0%, rgba(12,30,66,.95) 55%, rgba(8,18,42,.98) 100%); border: 1px solid rgba(216,189,145,.6); box-shadow: inset 0 0 0 5px rgba(9,21,47,.8), inset 0 0 0 6px rgba(185,150,97,.4), 0 30px 50px -30px #000; transition: transform 1.1s var(--ti-ease), opacity 1s ease; }
.ti-theme-midnight-navy .mn-page--alt { border-radius: 22px 6px 22px 6px; }
.ti-theme-midnight-navy .mn-page:not(.mn-in) { opacity: 0; transform: perspective(900px) rotateY(-14deg) translateY(30px); }
.ti-theme-midnight-navy .mn-page--alt:not(.mn-in) { transform: perspective(900px) rotateY(14deg) translateY(30px); }
.ti-theme-midnight-navy .mn-page__num { position: absolute; left: 50%; top: -19px; width: 38px; height: 38px; margin-left: -19px; display: grid; place-items: center; border-radius: 50%; font-family: "Cinzel", serif; font-size: 14px; color: #13213f; background: radial-gradient(circle at 35% 30%, #FBF0D6, #C9A76E 60%, #8a6a3a); box-shadow: 0 0 0 3px rgba(9,21,47,.9), 0 0 0 4px rgba(216,189,145,.6), 0 8px 14px rgba(0,0,0,.5); }
.ti-theme-midnight-navy .mn-page__img { border-radius: 150px 150px 10px 10px; overflow: hidden; margin: 6px auto 16px; aspect-ratio: 4 / 3.6; border: 1px solid rgba(216,189,145,.6); box-shadow: 0 0 0 4px rgba(9,21,47,.8), 0 20px 34px -24px #000; }
.ti-theme-midnight-navy .mn-page__img img { width: 100%; height: 100%; object-fit: cover; }
.ti-theme-midnight-navy .mn-page__text h3 { font-family: "Great Vibes", cursive; font-size: 36px; line-height: 1.15; color: var(--mn-champagne); margin: 2px 0 8px; }
.ti-theme-midnight-navy .mn-page__text p { margin: 0; color: var(--mn-ink); font-size: 17.5px; }

/* GALLERY — Midnight Royal Editorial */
.ti-theme-midnight-navy .mn-grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; grid-auto-flow: dense; gap: 12px; }
.ti-theme-midnight-navy .mn-grid__item { position: relative; display: block; overflow: hidden; border-radius: 8px; background: #0e2148; border: 1px solid rgba(216,189,145,.5); box-shadow: 0 20px 34px -22px #000; }
.ti-theme-midnight-navy .mn-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ti-ease), filter .9s; }
.ti-theme-midnight-navy .mn-grid__item::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px rgba(9,21,47,.55), inset 0 -40px 50px -30px rgba(9,21,47,.65); pointer-events: none; }
.ti-theme-midnight-navy .mn-grid__item:hover img { transform: scale(1.06); }
.ti-theme-midnight-navy .mn-grid__item--hero { grid-column: span 2; grid-row: span 3; border-radius: 230px 230px 12px 12px; border-color: rgba(216,189,145,.8); box-shadow: 0 0 0 5px rgba(9,21,47,.9), 0 0 0 6px rgba(185,150,97,.55), 0 30px 50px -28px #000; }
.ti-theme-midnight-navy .mn-grid__item--tall { grid-row: span 2; }
.ti-theme-midnight-navy .mn-grid__item--accent::before { content: ""; position: absolute; z-index: 1; width: 46px; height: 46px; left: 2px; top: 2px; background: url(assets/img/mn-corner.webp) 0 0 / contain no-repeat; pointer-events: none; }

/* FORM (RSVP & ucapan) */
.ti-theme-midnight-navy .mn-panel--form { text-align: left; }
.ti-theme-midnight-navy .ti-field label, .ti-theme-midnight-navy .ti-field legend { font-family: "Cinzel", serif; font-weight: 400; letter-spacing: .1em; font-size: 12px; color: var(--mn-champagne); }
.ti-theme-midnight-navy .ti-field input[type="text"], .ti-theme-midnight-navy .ti-field input[type="number"], .ti-theme-midnight-navy .ti-field select, .ti-theme-midnight-navy .ti-field textarea, .ti-theme-midnight-navy .ti-choice span { font-family: "Cormorant Garamond", Georgia, serif; font-size: 17px; color: var(--mn-ivory); border-color: rgba(216,189,145,.42); background: rgba(5,12,31,.55); }
.ti-theme-midnight-navy .ti-field input::placeholder, .ti-theme-midnight-navy .ti-field textarea::placeholder { color: rgba(203,221,240,.5); }
.ti-theme-midnight-navy .ti-field input:focus, .ti-theme-midnight-navy .ti-field select:focus, .ti-theme-midnight-navy .ti-field textarea:focus { border-color: var(--mn-champagne); box-shadow: 0 0 0 3px rgba(216,189,145,.18); outline: none; }
.ti-theme-midnight-navy .ti-field select option { color: #13213f; }
.ti-theme-midnight-navy .ti-guestbook__item { background: rgba(5,12,31,.45); border-left: 3px solid var(--mn-gold); border-radius: 4px 14px 14px 4px; color: var(--mn-ink); }

/* GIFT — kotak hadiah navy & emas */
.ti-theme-midnight-navy .mn-giftbox { position: relative; max-width: 410px; margin: 40px auto 0; padding: 64px 18px 26px; border-radius: 14px; background: linear-gradient(180deg, #143468 0%, #0c1f47 55%, #08142f 100%); border: 1px solid rgba(216,189,145,.7); box-shadow: inset 0 0 0 6px rgba(9,21,47,.85), inset 0 0 0 7px rgba(185,150,97,.5), 0 36px 60px -32px #000; }
.ti-theme-midnight-navy .mn-giftbox__ribbon { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; pointer-events: none; background: linear-gradient(90deg, transparent calc(50% - 15px), rgba(185,150,97,.0) calc(50% - 15px), #C9A76E calc(50% - 13px), #F1DFB7 50%, #A88550 calc(50% + 13px), transparent calc(50% + 15px)); opacity: .55; }
.ti-theme-midnight-navy .mn-giftbox__medal { position: absolute; left: 50%; top: -44px; width: 92px; height: auto; margin-left: -46px; filter: drop-shadow(0 10px 12px rgba(0,0,0,.6)); }
.ti-theme-midnight-navy .mn-giftbox__posy { position: absolute; width: 170px; height: auto; right: -40px; bottom: -40px; pointer-events: none; filter: drop-shadow(0 8px 10px rgba(0,0,0,.5)); }
.ti-theme-midnight-navy .mn-giftbox > .mn-gift { position: relative; z-index: 1; }
.ti-theme-midnight-navy .mn-gift .ti-gift__card { position: relative; background: linear-gradient(180deg, rgba(245,239,228,.98), rgba(232,222,204,.98)); color: #13213f; border-radius: 12px; border: 1px solid rgba(185,150,97,.8); box-shadow: inset 0 0 0 4px rgba(255,255,255,.6), 0 18px 30px -20px #000; }
.ti-theme-midnight-navy .mn-gift .ti-gift__bank { font-family: "Cinzel", serif; letter-spacing: .1em; color: #102B59; }

/* CLOSING — penutup sinematik */
.ti-theme-midnight-navy .mn-closing { position: relative; height: 170vh; background: var(--mn-night); }
.ti-theme-midnight-navy .mn-closing__sticky { position: sticky; top: 0; height: var(--mn-sh); overflow: hidden; }
.ti-theme-midnight-navy .mn-closing .mn-stage { --cz: calc(1.22 - min(var(--mp, .5), .6) * .366); }
.ti-theme-midnight-navy .mn-closing .mn-vista { scale: var(--cz); transform-origin: 50% 55%; }
.ti-theme-midnight-navy .mn-closing .mn-crownwrap { scale: calc(var(--cz) * .5 + .5); }
.ti-theme-midnight-navy .mn-closing .mn-flora--l { translate: calc((var(--cz) - 1) * var(--k) * -900) 0; }
.ti-theme-midnight-navy .mn-closing .mn-flora--r { translate: calc((var(--cz) - 1) * var(--k) * 900) 0; }
.ti-theme-midnight-navy .mn-closing .mn-fore { translate: 0 calc((var(--cz) - 1) * var(--k) * 1400); }
.ti-theme-midnight-navy .mn-closing .mn-stage::before { content: ""; position: absolute; inset: 0; z-index: 9; background: linear-gradient(180deg, var(--mn-night) 0%, rgba(9,21,47,0) 22%); pointer-events: none; }
.ti-theme-midnight-navy .mn-closing__photo { position: absolute; z-index: 1; left: 50%; top: calc(50% - var(--kv) * 440); width: calc(var(--kv) * 420); height: calc(var(--kv) * 520); margin-left: calc(var(--kv) * -210); border-radius: 50% 50% 14px 14px / 40% 40% 14px 14px; background-size: cover; background-position: center 30%; opacity: .42; -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); filter: saturate(.75) hue-rotate(-8deg); mix-blend-mode: luminosity; }
.ti-theme-midnight-navy .mn-closing__text { position: absolute; z-index: 7; left: 17%; right: 17%; top: calc(50% - var(--kv) * 228); transform: translateY(-50%); text-align: center; }
.ti-theme-midnight-navy .mn-stage .mn-closing__text .mn-eyebrow { font-size: calc(var(--kv) * 70); }
.ti-theme-midnight-navy .mn-closing__note { position: absolute; z-index: 8; left: 9%; right: 9%; bottom: calc(var(--k) * 70 + env(safe-area-inset-bottom, 0px)); padding: 14px 18px; border-radius: 16px; text-align: center; background: linear-gradient(180deg, rgba(16,43,89,.74), rgba(9,21,47,.86)); border: 1px solid rgba(216,189,145,.45); box-shadow: 0 16px 34px -16px #000; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ti-theme-midnight-navy .mn-closing__note p { margin: 0; color: var(--mn-ivory); font-size: 15.5px; line-height: 1.55; }
.ti-theme-midnight-navy .mn-stage .mn-names--closing { font-size: calc(var(--kv) * 112); }
.ti-theme-midnight-navy .mn-stage .mn-names--closing.mn-names--stack { font-size: calc(var(--kv) * 100); }
.ti-theme-midnight-navy .mn-stage .mn-names--closing.mn-names--xl { font-size: calc(var(--kv) * 80); }
.ti-theme-midnight-navy .mn-footer { padding: 22px 16px 30px; text-align: center; background: var(--mn-deep); color: rgba(216,189,145,.7); font-family: "Cinzel", serif; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; border-top: 1px solid rgba(216,189,145,.25); }

/* ============================== ANIMASI ============================== */
@keyframes mn-in-sky { from { opacity: 0; filter: brightness(.3); } to { opacity: 1; filter: none; } }
@keyframes mn-in-moon { from { opacity: 0; transform: scale(.9) translateY(4%); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes mn-in-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mn-in-haze { from { opacity: 0; filter: blur(8px); } to { opacity: 1; filter: none; } }
@keyframes mn-in-castle { from { opacity: 0; transform: scale(.94) translateY(2%); filter: blur(10px) brightness(1.6); } to { opacity: 1; transform: none; filter: none; } }
@keyframes mn-in-gold { from { opacity: 0; filter: brightness(.25) saturate(.6); } 60% { opacity: 1; filter: brightness(1.25); } to { opacity: 1; filter: none; } }
@keyframes mn-in-flora { from { opacity: 0; transform: scale(1.12); filter: blur(12px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes mn-in-fore { from { opacity: 0; transform: translateY(12%); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes mn-in-text { from { opacity: 0; transform: translate3d(0, 16px, 0); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes mn-settle { from { scale: 1.16; } to { scale: 1; } }
@keyframes mn-glow { from { opacity: .75; transform: scale(.97); } to { opacity: 1; transform: scale(1.03); } }
@keyframes mn-flow { from { background-position: 0 0; } to { background-position: 0 calc(var(--kv) * 512); } }
@keyframes mn-drift { from { transform: translate3d(-8%, 0, 0); } to { transform: translate3d(8%, 0, 0); } }
@keyframes mn-sway { from { transform: rotate(-.8deg); } to { transform: rotate(1deg) translateY(-3px); } }
@keyframes mn-shine { 0% { background-position: -150% 0; } 22%, 100% { background-position: 250% 0; } }
@keyframes mn-btnshine { 0%, 55% { left: -60%; } 80%, 100% { left: 130%; } }
@keyframes mn-twinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); } 50% { opacity: .95; transform: scale(1) rotate(45deg); } }
@keyframes mn-fall { 0% { transform: translate3d(0, -5vh, 0); } 50% { transform: translate3d(36px, 52vh, 0); } 100% { transform: translate3d(-12px, 110vh, 0); } }
@keyframes mn-spin { from { transform: rotate(-30deg) rotateY(0); } to { transform: rotate(160deg) rotateY(180deg); } }
@keyframes mn-wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(11px); } }
@keyframes mn-rotate { to { transform: rotate(360deg); } }

/* Perangkat ringan: kurangi efek berat (diaktifkan script.js) */
.ti-theme-midnight-navy.mn-lite .mn-flow, .ti-theme-midnight-navy.mn-lite .mn-sparks, .ti-theme-midnight-navy.mn-lite .mn-shine, .ti-theme-midnight-navy.mn-lite .mn-sweep { display: none; }
.ti-theme-midnight-navy.mn-lite .mn-cover__guest, .ti-theme-midnight-navy.mn-lite .mn-scroll { backdrop-filter: none; -webkit-backdrop-filter: none; }
.ti-theme-midnight-navy.mn-lite .mn-mist img, .ti-theme-midnight-navy.mn-lite .mn-flora { animation: none; }

@media (prefers-reduced-motion: reduce) {
  .ti-theme-midnight-navy .mn-petals, .ti-theme-midnight-navy .mn-sparks, .ti-theme-midnight-navy .mn-flow, .ti-theme-midnight-navy .mn-shine, .ti-theme-midnight-navy .mn-sweep { display: none; }
  .ti-theme-midnight-navy .mn-stage *, .ti-theme-midnight-navy .mn-cover__text > *, .ti-theme-midnight-navy .mn-cover__cta { animation: none !important; }
  .ti-theme-midnight-navy .mn-hero { height: auto; }
  .ti-theme-midnight-navy .mn-hero__sticky, .ti-theme-midnight-navy .mn-closing__sticky { position: relative; }
  .ti-theme-midnight-navy .mn-closing { height: auto; }
  .ti-theme-midnight-navy .mn-portrait:not(.mn-in) *, .ti-theme-midnight-navy .mn-page:not(.mn-in) { opacity: 1 !important; transform: none !important; filter: none !important; }
}
