/* Tema Emerald Sapphire Château — namespace .ti-theme-emerald-sapphire-chateau, prefix kelas esc- (Luxury Butterfly Palace Collection)
   Château krem 3D, kolam cermin berpantulan nyata, labirin pagar tanaman, konservatori kaca; emerald + ivory + antique gold + sapphire */
/* ---------------------------------------------------------------- dasar (mekanik bersama koleksi; warna & dekorasi di bagian tema) */
.ti-theme-emerald-sapphire-chateau {
  --esc-ease: cubic-bezier(.22,.61,.24,1); --esc-ease2: cubic-bezier(.65,0,.25,1);
  --ti-ease: cubic-bezier(.22,.61,.24,1); --ti-dur: 1.2s;
  background: var(--esc-deep); color: var(--esc-ink); font-family: var(--esc-f-body); font-weight: 300; font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.ti-theme-emerald-sapphire-chateau h1, .ti-theme-emerald-sapphire-chateau h2, .ti-theme-emerald-sapphire-chateau h3 { margin: 0; font-weight: 400; }
.ti-theme-emerald-sapphire-chateau img { max-width: 100%; }
.ti-theme-emerald-sapphire-chateau .esc-kicker { font-family: var(--esc-f-caps); font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--esc-accent); margin: 0 0 10px; padding-left: .34em; }
.ti-theme-emerald-sapphire-chateau .esc-label { display: block; font-family: var(--esc-f-caps); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--esc-gold2); margin: 0 0 6px; }
.ti-theme-emerald-sapphire-chateau .esc-title { font-family: var(--esc-f-display); font-weight: 500; font-size: clamp(34px, 9.4vw, 58px); line-height: 1.1; color: var(--esc-ink); }
.ti-theme-emerald-sapphire-chateau .esc-text { max-width: 560px; margin: 0 auto 22px; color: var(--esc-soft); }
.ti-theme-emerald-sapphire-chateau .esc-text--lead { font-family: var(--esc-f-display); font-style: italic; font-size: 20px; color: var(--esc-ink); }
.ti-theme-emerald-sapphire-chateau .esc-text--light { color: var(--esc-light2); }
.ti-theme-emerald-sapphire-chateau .esc-text--sm { font-size: 14.5px; margin-bottom: 8px; }
.ti-theme-emerald-sapphire-chateau .esc-center { text-align: center; }
.ti-theme-emerald-sapphire-chateau .esc-link { display: inline-block; color: var(--esc-accent); text-decoration: none; font-size: 13.5px; letter-spacing: .06em; background: linear-gradient(var(--esc-gold), var(--esc-gold)) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--esc-ease); padding-bottom: 2px; }
.ti-theme-emerald-sapphire-chateau .esc-link:hover { background-size: 100% 1px; }
.ti-theme-emerald-sapphire-chateau .esc-quote { margin: 0 0 12px; font-family: var(--esc-f-display); font-style: italic; font-size: clamp(21px, 5.6vw, 32px); line-height: 1.45; }
.ti-theme-emerald-sapphire-chateau .esc-divider { display: block; width: 300px; max-width: 76%; height: auto; margin: 16px auto 0; color: var(--esc-gold); overflow: visible; }
.ti-theme-emerald-sapphire-chateau .esc-divider--light { color: var(--esc-gold); }
.ti-theme-emerald-sapphire-chateau .esc-divider .esc-draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.ti-theme-emerald-sapphire-chateau [data-esc-reveal] .esc-divider .esc-draw { stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--esc-ease) .3s; }
.ti-theme-emerald-sapphire-chateau [data-esc-reveal].is-shown .esc-divider .esc-draw { stroke-dashoffset: 0; }

/* tombol */
.ti-theme-emerald-sapphire-chateau .esc-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 10px 30px; overflow: hidden; border: 1px solid var(--esc-btn-line); border-radius: var(--esc-radius, 999px); background: var(--esc-btn-bg); color: var(--esc-btn-ink); font-family: var(--esc-f-caps); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; cursor: pointer; box-shadow: var(--esc-btn-shadow); transition: transform .5s var(--esc-ease), color .4s, box-shadow .5s; }
.ti-theme-emerald-sapphire-chateau .esc-btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(255,255,255,0) 30%, rgba(255,250,235,.45) 50%, rgba(255,255,255,0) 70%); transform: translateX(-120%); transition: transform 1s var(--esc-ease); }
.ti-theme-emerald-sapphire-chateau .esc-btn:hover { transform: translateY(-2px); }
.ti-theme-emerald-sapphire-chateau .esc-btn:hover::before { transform: translateX(120%); }
.ti-theme-emerald-sapphire-chateau .esc-btn:active { transform: scale(.98); }
.ti-theme-emerald-sapphire-chateau .esc-btn:focus-visible { outline: 2px solid var(--esc-gold); outline-offset: 3px; }
.ti-theme-emerald-sapphire-chateau .esc-btn svg { flex: none; }
.ti-theme-emerald-sapphire-chateau .esc-btn--small { min-height: 42px; padding: 8px 24px; font-size: 11px; }
.ti-theme-emerald-sapphire-chateau .esc-btn--ghost { margin-top: 30px; background: transparent; color: var(--esc-gold); box-shadow: none; }

/* loading */
.ti-theme-emerald-sapphire-chateau .esc-loader { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: var(--esc-loader-bg); transition: opacity .8s ease, visibility 0s linear .8s; animation: esc-loader-auto .8s ease 4s forwards; }
.ti-theme-emerald-sapphire-chateau.esc-loaded .esc-loader { opacity: 0; visibility: hidden; pointer-events: none; }
.ti-theme-emerald-sapphire-chateau .esc-loader__crest { width: 84px; animation: esc-pulse 2.4s ease-in-out infinite; }
.ti-theme-emerald-sapphire-chateau .esc-loader__brand { margin: 0; font-family: var(--esc-f-caps); font-size: 12px; letter-spacing: .5em; padding-left: .5em; text-transform: uppercase; color: var(--esc-loader-ink); }
.ti-theme-emerald-sapphire-chateau .esc-loader__line { position: relative; width: 140px; height: 1px; background: rgba(128,128,128,.25); overflow: hidden; }
.ti-theme-emerald-sapphire-chateau .esc-loader__line i { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--esc-gold), transparent); animation: esc-line 1.4s ease-in-out infinite; }

/* panggung 3D */
.ti-theme-emerald-sapphire-chateau .esc-stage { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--esc-deep); pointer-events: none; }
.ti-theme-emerald-sapphire-chateau.esc-stage-off .esc-stage { visibility: hidden; }
.ti-theme-emerald-sapphire-chateau .esc-stage__scene, .ti-theme-emerald-sapphire-chateau .esc-still, .ti-theme-emerald-sapphire-chateau .esc-still img, .ti-theme-emerald-sapphire-chateau .esc-stage__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ti-theme-emerald-sapphire-chateau .esc-still { opacity: 0; transition: opacity .7s ease; }
.ti-theme-emerald-sapphire-chateau .esc-still[data-still="cover"] { opacity: 1; }
.ti-theme-emerald-sapphire-chateau .esc-still img { object-fit: cover; object-position: 50% 45%; transform: scale(var(--z, 1)); transform-origin: 50% 46%; transition: transform .5s linear; will-change: transform; }
.ti-theme-emerald-sapphire-chateau .esc-stage__gl { opacity: 0; transition: opacity 1.4s ease; }
.ti-theme-emerald-sapphire-chateau.esc-gl-on .esc-stage__gl { opacity: 1; }
.ti-theme-emerald-sapphire-chateau.esc-gl-on .esc-still { transition: opacity 1.4s ease 1.4s; opacity: 0 !important; }
.ti-theme-emerald-sapphire-chateau .esc-stage__veil { position: absolute; inset: 0; background: var(--esc-veil); }
.ti-theme-emerald-sapphire-chateau .esc-stage__fog { position: absolute; left: -10%; right: -10%; bottom: 0; height: 42%; background: url(assets/tex/fog.webp) 0 100% / 900px 100% repeat-x; opacity: .32; mix-blend-mode: screen; animation: esc-fog 60s linear infinite; -webkit-mask-image: linear-gradient(0deg, #000 30%, transparent); mask-image: linear-gradient(0deg, #000 30%, transparent); }
.ti-theme-emerald-sapphire-chateau .esc-motes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 3; }
.ti-theme-emerald-sapphire-chateau .esc-motes i { position: absolute; bottom: -10px; left: calc(var(--n) * 6.2% + 2%); width: 3px; height: 3px; border-radius: 50%; background: radial-gradient(circle, #FFFDF6 0%, var(--esc-mote) 45%, transparent 72%); opacity: 0; animation: esc-mote calc(16s + var(--n) * 1.2s) linear calc(var(--n) * -2.3s) infinite; }
.ti-theme-emerald-sapphire-chateau .esc-motes i:nth-child(3n) { width: 5px; height: 5px; }
.ti-theme-emerald-sapphire-chateau .esc-petals { position: absolute; inset: 0; overflow: hidden; z-index: 3; pointer-events: none; }
.ti-theme-emerald-sapphire-chateau .esc-petals img { position: absolute; top: -40px; left: calc(var(--n) * 9.7% + 3%); width: 15px; opacity: 0; animation: esc-petal calc(13s + var(--n) * 1.7s) linear calc(var(--n) * -2.9s) infinite; }
.ti-theme-emerald-sapphire-chateau .esc-petals img:nth-child(2n) { width: 11px; }
.ti-theme-emerald-sapphire-chateau.esc-gl-on .esc-stage .esc-petals { display: none; }
.ti-theme-emerald-sapphire-chateau.esc-ready .esc-stage__scene { animation: esc-emerge 3.2s var(--esc-ease) both; }
.ti-theme-emerald-sapphire-chateau.esc-ready .esc-stage .esc-motes { animation: esc-fade 2s ease 1.8s both; }

/* kupu-kupu CSS 3D: dua sayap (render) berengsel di badan, mengepak dengan rotateY dalam perspektif, terbang di jalur lengkung.
   Ditempatkan di tepi (gutter) agar tidak menutupi wajah & teks; lebih sedikit di HP. */
.ti-theme-emerald-sapphire-chateau .esc-bflies { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.ti-theme-emerald-sapphire-chateau .esc-bfly { position: absolute; left: var(--x, 6%); top: var(--y, 30%); width: calc(var(--s, 1) * 46px); height: calc(var(--s, 1) * 46px); perspective: 260px; animation: esc-fly-a calc(17s + var(--n) * 2.3s) ease-in-out calc(var(--n) * -3.7s) infinite; opacity: 0; }
.ti-theme-emerald-sapphire-chateau .esc-bfly:nth-child(3n+1) { animation-name: esc-fly-b; }
.ti-theme-emerald-sapphire-chateau .esc-bfly:nth-child(3n+2) { animation-name: esc-fly-c; }
.ti-theme-emerald-sapphire-chateau .esc-bfly b { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(52deg) rotateZ(var(--r, -20deg)); }
.ti-theme-emerald-sapphire-chateau .esc-bfly i { position: absolute; top: 0; width: 50%; height: 100%; background: var(--esc-wing) 0 50% / 100% auto no-repeat; transform-origin: 0 50%; left: 50%; animation: esc-flap calc(.26s + var(--n) * .012s) ease-in-out infinite alternate; filter: drop-shadow(0 6px 4px rgba(0,0,0,.18)); }
.ti-theme-emerald-sapphire-chateau .esc-bfly i + i { transform: rotateY(180deg); animation-name: esc-flap-l; }
.ti-theme-emerald-sapphire-chateau .esc-bfly:nth-child(2n) i { background-image: var(--esc-wing2); }
.ti-theme-emerald-sapphire-chateau .esc-bfly:nth-child(3n) i { background-image: var(--esc-wing3); }
.ti-theme-emerald-sapphire-chateau .esc-bfly em { position: absolute; left: 50%; top: 22%; width: 3px; height: 56%; margin-left: -1.5px; border-radius: 3px; background: #1d2028; transform: translateZ(1px); }
.ti-theme-emerald-sapphire-chateau.esc-ready .esc-bflies .esc-bfly { opacity: 1; transition: opacity 2s ease; }
@media (max-width: 600px) { .ti-theme-emerald-sapphire-chateau .esc-bfly:nth-child(n+4) { display: none; } .ti-theme-emerald-sapphire-chateau .esc-motes i:nth-child(n+9) { display: none; } .ti-theme-emerald-sapphire-chateau .esc-petals img:nth-child(n+6) { display: none; } }

/* pembuka */
.ti-theme-emerald-sapphire-chateau .esc-cover { position: fixed; inset: 0; z-index: 40; overflow: hidden; pointer-events: none; perspective: 1400px; transition: visibility 0s linear 3.4s; }
.ti-theme-emerald-sapphire-chateau .esc-cover__content, .ti-theme-emerald-sapphire-chateau .esc-cover button { pointer-events: auto; }
.ti-theme-emerald-sapphire-chateau.esc-is-open .esc-cover { visibility: hidden; }
.ti-theme-emerald-sapphire-chateau.esc-is-open .esc-cover * { pointer-events: none; }
.ti-theme-emerald-sapphire-chateau .esc-cover__content { position: absolute; left: 50%; bottom: max(4.5vh, 26px); z-index: 6; width: min(90vw, 620px); translate: -50% 0; display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--esc-light); transition: opacity .8s ease, transform 1.2s var(--esc-ease), filter .8s ease; }
.ti-theme-emerald-sapphire-chateau .esc-cover__content > * { opacity: 0; }
.ti-theme-emerald-sapphire-chateau.esc-ready .esc-cover__content > * { animation: esc-up 1.4s var(--esc-ease) both; }
.ti-theme-emerald-sapphire-chateau.esc-ready .esc-cover__content > :nth-child(1) { animation-delay: 2.4s; }
.ti-theme-emerald-sapphire-chateau.esc-ready .esc-cover__content > :nth-child(2) { animation-delay: 2.6s; }
.ti-theme-emerald-sapphire-chateau.esc-ready .esc-cover__content > :nth-child(3) { animation-delay: 2.8s; }
.ti-theme-emerald-sapphire-chateau.esc-ready .esc-cover__content > :nth-child(4) { animation-delay: 3s; }
.ti-theme-emerald-sapphire-chateau.esc-ready .esc-cover__content > :nth-child(5) { animation-delay: 3.15s; }
.ti-theme-emerald-sapphire-chateau.esc-ready .esc-cover__content > :nth-child(6) { animation-delay: 3.3s; }
.ti-theme-emerald-sapphire-chateau.esc-ready .esc-cover__content > :nth-child(7) { animation-delay: 3.45s; }
.ti-theme-emerald-sapphire-chateau.esc-ready .esc-cover__content > .esc-btn--open { animation: esc-up 1.4s var(--esc-ease) 3.6s both, esc-glow 3.4s ease-in-out 5.2s infinite; }
.ti-theme-emerald-sapphire-chateau.esc-is-open .esc-cover__content { opacity: 0; transform: translateY(-16px) scale(.96); filter: blur(6px); }
.ti-theme-emerald-sapphire-chateau .esc-cover__guest { margin-bottom: 18px; padding: 8px 26px; }
.ti-theme-emerald-sapphire-chateau .esc-cover__guest:empty { display: none; }
.ti-theme-emerald-sapphire-chateau .esc-cover__guest .ti-guest__label { margin: 0; font-size: 12px; letter-spacing: .05em; opacity: .8; }
.ti-theme-emerald-sapphire-chateau .esc-cover__guest .ti-guest__name { margin: 0; font-family: var(--esc-f-display); font-size: 22px; color: var(--esc-gold); }
.ti-theme-emerald-sapphire-chateau .esc-fg { position: absolute; bottom: -3vh; width: min(58vw, 62vh, 540px); z-index: 2; opacity: 0; filter: drop-shadow(0 18px 24px rgba(0,0,0,.35)); will-change: transform, filter; }
.ti-theme-emerald-sapphire-chateau .esc-fg--l { left: -12vw; transform-origin: 0 100%; }
.ti-theme-emerald-sapphire-chateau .esc-fg--r { right: -12vw; transform: scaleX(-1); transform-origin: 50% 100%; }
.ti-theme-emerald-sapphire-chateau.esc-ready .esc-fg--l { animation: esc-focus-l 3.4s var(--esc-ease) .6s both; }
.ti-theme-emerald-sapphire-chateau.esc-ready .esc-fg--r { animation: esc-focus-r 3.4s var(--esc-ease) .7s both; }
.ti-theme-emerald-sapphire-chateau.esc-is-open .esc-fg--l { animation: esc-pass-l 2.4s var(--esc-ease2) .15s both; }
.ti-theme-emerald-sapphire-chateau.esc-is-open .esc-fg--r { animation: esc-pass-r 2.4s var(--esc-ease2) .15s both; }
.ti-theme-emerald-sapphire-chateau .esc-flare { position: absolute; inset: 0; z-index: 7; pointer-events: none; opacity: 0; mix-blend-mode: screen; }
.ti-theme-emerald-sapphire-chateau .esc-flare i { position: absolute; left: 50%; top: 46%; width: 140vmax; height: 3px; margin-left: -70vmax; background: radial-gradient(closest-side, rgba(255,246,226,.95), var(--esc-flare) 60%, transparent); filter: blur(1px); }
.ti-theme-emerald-sapphire-chateau .esc-flare i:nth-child(2) { width: 46vmin; height: 46vmin; margin: -23vmin 0 0 -23vmin; border-radius: 50%; background: radial-gradient(circle, rgba(255,248,230,.6), var(--esc-flare) 45%, transparent 70%); }
.ti-theme-emerald-sapphire-chateau.esc-is-open .esc-flare { animation: esc-flare 2.2s cubic-bezier(.45,0,.3,1) .45s both; }
/* pintu/gerbang transisi (dipakai bila WebGL tidak aktif) */
.ti-theme-emerald-sapphire-chateau .esc-doors { position: absolute; inset: 0; z-index: 3; display: flex; pointer-events: none; perspective: 1300px; }
.ti-theme-emerald-sapphire-chateau .esc-doors__leaf { position: relative; flex: 1; height: 100%; background-size: var(--esc-door-size, cover); background-position: var(--esc-door-pos, 50% 50%); background-repeat: no-repeat; backface-visibility: hidden; }
.ti-theme-emerald-sapphire-chateau .esc-doors__leaf--l { transform-origin: 0 50%; }
.ti-theme-emerald-sapphire-chateau .esc-doors__leaf--r { transform-origin: 100% 50%; transform: scaleX(-1); }
.ti-theme-emerald-sapphire-chateau .esc-doors--cover { display: none; }
.ti-theme-emerald-sapphire-chateau.esc-gl-off.esc-is-open .esc-doors--cover { display: flex; animation: esc-fade-out .5s ease 2.2s both; }
.ti-theme-emerald-sapphire-chateau.esc-gl-off.esc-is-open .esc-doors--cover .esc-doors__leaf--l { animation: esc-door-l 2.1s var(--esc-ease2) both; }
.ti-theme-emerald-sapphire-chateau.esc-gl-off.esc-is-open .esc-doors--cover .esc-doors__leaf--r { animation: esc-door-r 2.1s var(--esc-ease2) both; }

/* navigasi & toast */
.ti-theme-emerald-sapphire-chateau .esc-nav { position: fixed; left: 12px; bottom: 12px; z-index: 30; display: flex; gap: 1px; max-width: calc(100vw - 84px); overflow-x: auto; scrollbar-width: none; padding: 4px 6px; border: 1px solid var(--esc-nav-line); border-radius: 14px; background: var(--esc-nav-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.5); transform: translateY(160%); opacity: 0; transition: transform .7s var(--esc-ease), opacity .5s ease; }
.ti-theme-emerald-sapphire-chateau .esc-nav::-webkit-scrollbar { display: none; }
.ti-theme-emerald-sapphire-chateau.esc-is-open .esc-nav { transform: none; opacity: 1; transition-delay: 2.8s; }
.ti-theme-emerald-sapphire-chateau.esc-is-open .esc-nav.is-hidden { transform: translateY(160%); opacity: 0; transition-delay: 0s; }
.ti-theme-emerald-sapphire-chateau .esc-nav a { position: relative; display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; color: var(--esc-nav-ink); text-decoration: none; transition: color .3s, background .4s; }
.ti-theme-emerald-sapphire-chateau .esc-nav a span { position: absolute; bottom: 48px; left: 50%; translate: -50% 6px; padding: 4px 10px; border-radius: 4px; background: var(--esc-nav-bg); border: 1px solid var(--esc-nav-line); font-family: var(--esc-f-caps); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; color: var(--esc-nav-ink); opacity: 0; pointer-events: none; transition: opacity .3s, translate .4s var(--esc-ease); }
.ti-theme-emerald-sapphire-chateau .esc-nav a:hover, .ti-theme-emerald-sapphire-chateau .esc-nav a.is-active { background: var(--esc-nav-active); }
.ti-theme-emerald-sapphire-chateau .esc-nav a:hover span, .ti-theme-emerald-sapphire-chateau .esc-nav a:focus-visible span { opacity: 1; translate: -50% 0; }
.ti-theme-emerald-sapphire-chateau .esc-toast { position: fixed; left: 50%; bottom: 74px; z-index: 70; max-width: calc(100vw - 32px); padding: 12px 22px; border: 1px solid var(--esc-nav-line); border-radius: 8px; background: var(--esc-nav-bg); color: var(--esc-nav-ink); font-family: var(--esc-f-caps); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; text-align: center; box-shadow: 0 18px 30px -16px rgba(0,0,0,.5); opacity: 0; transform: translate(-50%, 14px); pointer-events: none; transition: opacity .45s ease, transform .55s var(--esc-ease); }
.ti-theme-emerald-sapphire-chateau .esc-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.ti-theme-emerald-sapphire-chateau .esc-toast::before { content: "\2713"; margin-right: 10px; color: var(--esc-gold); }

/* main, section, jendela 3D */
.ti-theme-emerald-sapphire-chateau .esc-main { position: relative; z-index: 2; overflow: clip; background: transparent; }
.ti-theme-emerald-sapphire-chateau .esc-section { position: relative; padding: 92px 20px; text-align: center; overflow: hidden; }
.ti-theme-emerald-sapphire-chateau .esc-section > * { position: relative; z-index: 1; }
.ti-theme-emerald-sapphire-chateau .esc-head { margin: 0 auto 30px; }
.ti-theme-emerald-sapphire-chateau .esc-head__crest { display: block; width: 64px; height: auto; margin: 0 auto 10px; }
.ti-theme-emerald-sapphire-chateau .esc-head--light .esc-title { color: var(--esc-light); }
.ti-theme-emerald-sapphire-chateau .esc-head--light .esc-kicker { color: var(--esc-gold); }
.ti-theme-emerald-sapphire-chateau .esc-window { position: relative; }
.ti-theme-emerald-sapphire-chateau .esc-window__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
@supports (height: 100svh) { .ti-theme-emerald-sapphire-chateau .esc-window__sticky { height: 100svh; } }
.ti-theme-emerald-sapphire-chateau .esc-hero { height: 240vh; }
.ti-theme-emerald-sapphire-chateau .esc-hero__content { position: absolute; left: 50%; bottom: max(9vh, 66px); width: min(90vw, 680px); translate: -50% calc(var(--q, 0) * -130px); opacity: 0; text-align: center; color: var(--esc-light); transition: opacity 1.4s ease; }
.ti-theme-emerald-sapphire-chateau.esc-is-open .esc-hero__content { opacity: calc(1 - var(--q, 0) * 1.8); transition-delay: 2.5s; }
.ti-theme-emerald-sapphire-chateau .esc-explore { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--esc-f-caps); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--esc-gold); text-decoration: none; }
.ti-theme-emerald-sapphire-chateau .esc-explore i { position: relative; width: 22px; height: 36px; border: 1px solid currentColor; border-radius: 12px; }
.ti-theme-emerald-sapphire-chateau .esc-explore i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px; background: currentColor; animation: esc-wheel 2s ease-in-out infinite; }
.ti-theme-emerald-sapphire-chateau .esc-hall { height: 320vh; }
.ti-theme-emerald-sapphire-chateau .esc-hall__caption { position: absolute; left: 50%; bottom: max(10vh, 70px); width: min(88vw, 640px); translate: -50% 0; text-align: center; color: var(--esc-light); }
.ti-theme-emerald-sapphire-chateau .esc-hall__caption--a { opacity: calc(min(1, max(0, (var(--q, 0) - .16) * 8)) * min(1, max(0, (.56 - var(--q, 0)) * 8))); transform: translateY(calc((.36 - var(--q, 0)) * 80px)); }
.ti-theme-emerald-sapphire-chateau .esc-hall__caption--b { opacity: min(1, max(0, (var(--q, 0) - .74) * 7)); transform: translateY(calc((1 - var(--q, 0)) * 60px)); }
.ti-theme-emerald-sapphire-chateau .esc-closing { height: 240vh; }
.ti-theme-emerald-sapphire-chateau .esc-closing__content { position: absolute; left: 50%; bottom: max(9vh, 70px); z-index: 4; width: min(90vw, 680px); translate: -50% calc((1 - var(--q, 0)) * 50px); text-align: center; color: var(--esc-light); opacity: min(1, max(0, (var(--q, 0) - .18) * 3.2)); }

/* bingkai foto 3D + urutan reveal: bingkai → foto (blur → opacity → scale) → bunga → kupu-kupu hinggap → keterangan (sekali) */
.ti-theme-emerald-sapphire-chateau .esc-frame { position: relative; display: block; width: min(86vw, 420px); aspect-ratio: 1000 / 1500; margin: 0 auto 20px; transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .7s var(--esc-ease); }
.ti-theme-emerald-sapphire-chateau .esc-frame__photo { position: absolute; left: var(--ap-l); top: var(--ap-t); width: var(--ap-w); height: var(--ap-h); overflow: hidden; display: block; border-radius: var(--ap-r, 0); background: var(--esc-paper2); transform: translateZ(-4px); }
.ti-theme-emerald-sapphire-chateau .esc-frame__img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 22%; }
.ti-theme-emerald-sapphire-chateau .esc-frame__photo .ti-couple-monogram { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--esc-f-names); font-size: 96px; color: var(--esc-accent); }
.ti-theme-emerald-sapphire-chateau .esc-frame__border { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; transform: translateZ(16px); filter: drop-shadow(0 26px 30px var(--esc-shadow)); }
.ti-theme-emerald-sapphire-chateau .esc-frame__shine { position: absolute; inset: 0; transform: translateZ(17px); pointer-events: none; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; background: linear-gradient(115deg, rgba(255,250,236,0) 40%, rgba(255,250,236,.6) 50%, rgba(255,250,236,0) 60%) -150% 0 / 300% 100% no-repeat; mix-blend-mode: screen; }
.ti-theme-emerald-sapphire-chateau .esc-frame__sweep { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, rgba(255,248,230,0) 38%, rgba(255,248,230,.45) 50%, rgba(255,248,230,0) 62%); transform: translateX(-110%); }
.ti-theme-emerald-sapphire-chateau .esc-frame__floral { position: absolute; right: -16%; bottom: -2%; width: 48%; pointer-events: none; transform: translateZ(26px); filter: drop-shadow(0 10px 12px var(--esc-shadow)); }
.ti-theme-emerald-sapphire-chateau .esc-frame--alt .esc-frame__floral { right: auto; left: -16%; }
.ti-theme-emerald-sapphire-chateau .esc-frame__bfly { position: absolute; right: 6%; top: 8%; width: 18%; aspect-ratio: 1; transform: translateZ(30px); pointer-events: none; perspective: 200px; }
.ti-theme-emerald-sapphire-chateau .esc-frame__bfly b { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(48deg) rotateZ(-28deg); }
.ti-theme-emerald-sapphire-chateau .esc-frame__bfly i { position: absolute; top: 0; left: 50%; width: 50%; height: 100%; background: var(--esc-wing) 0 50% / 100% auto no-repeat; transform-origin: 0 50%; transform: rotateY(20deg); }
.ti-theme-emerald-sapphire-chateau .esc-frame__bfly i + i { transform: rotateY(160deg); }
.ti-theme-emerald-sapphire-chateau .esc-frame__bfly em { position: absolute; left: 50%; top: 22%; width: 3px; height: 56%; margin-left: -1.5px; border-radius: 3px; background: #1d2028; }
.ti-theme-emerald-sapphire-chateau .esc-frame[data-esc-reveal="photo"] { transform: perspective(1100px) translateY(46px) rotateX(10deg) scale(.93); transition: opacity 1s ease, transform 1.5s var(--esc-ease); }
.ti-theme-emerald-sapphire-chateau .esc-frame[data-esc-reveal="photo"].is-shown { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.ti-theme-emerald-sapphire-chateau .esc-frame[data-esc-reveal="photo"] .esc-frame__img, .ti-theme-emerald-sapphire-chateau .esc-frame[data-esc-reveal="photo"] .ti-couple-monogram { filter: blur(16px); opacity: 0; transform: scale(1.12); transition: filter 1.6s ease .5s, opacity 1.1s ease .5s, transform 2.2s var(--esc-ease) .5s; }
.ti-theme-emerald-sapphire-chateau .esc-frame[data-esc-reveal="photo"].is-shown .esc-frame__img, .ti-theme-emerald-sapphire-chateau .esc-frame[data-esc-reveal="photo"].is-shown .ti-couple-monogram { filter: none; opacity: 1; transform: none; }
.ti-theme-emerald-sapphire-chateau .esc-frame[data-esc-reveal="photo"] .esc-frame__border { opacity: 0; transform: translateZ(16px) scale(1.05); transition: opacity 1s ease .1s, transform 1.4s var(--esc-ease) .1s; }
.ti-theme-emerald-sapphire-chateau .esc-frame[data-esc-reveal="photo"].is-shown .esc-frame__border { opacity: 1; transform: translateZ(16px); }
.ti-theme-emerald-sapphire-chateau .esc-frame[data-esc-reveal="photo"] .esc-frame__floral { opacity: 0; transform: translateZ(26px) translateX(40px) rotate(8deg); transition: opacity 1s ease 1.2s, transform 1.5s var(--esc-ease) 1.2s; }
.ti-theme-emerald-sapphire-chateau .esc-frame--alt[data-esc-reveal="photo"] .esc-frame__floral { transform: translateZ(26px) translateX(-40px) rotate(-8deg) scaleX(-1); }
.ti-theme-emerald-sapphire-chateau .esc-frame[data-esc-reveal="photo"].is-shown .esc-frame__floral { opacity: 1; transform: translateZ(26px); }
.ti-theme-emerald-sapphire-chateau .esc-frame--alt[data-esc-reveal="photo"].is-shown .esc-frame__floral { transform: translateZ(26px) scaleX(-1); }
.ti-theme-emerald-sapphire-chateau .esc-frame[data-esc-reveal="photo"] .esc-frame__bfly { opacity: 0; }
.ti-theme-emerald-sapphire-chateau .esc-frame[data-esc-reveal="photo"].is-shown .esc-frame__bfly { animation: esc-land 2.4s var(--esc-ease) 1.9s both; }
.ti-theme-emerald-sapphire-chateau .esc-frame[data-esc-reveal="photo"].is-shown .esc-frame__bfly i { animation: esc-flap 0.3s ease-in-out 1.9s 8 alternate, esc-rest 5s ease-in-out 4.4s infinite; }
.ti-theme-emerald-sapphire-chateau .esc-frame[data-esc-reveal="photo"].is-shown .esc-frame__bfly i + i { animation: esc-flap-l 0.3s ease-in-out 1.9s 8 alternate, esc-rest-l 5s ease-in-out 4.4s infinite; }
.ti-theme-emerald-sapphire-chateau .esc-frame[data-esc-reveal="photo"].is-shown .esc-frame__sweep { animation: esc-photo-sweep 1.6s var(--esc-ease) 1.6s both; }
.ti-theme-emerald-sapphire-chateau .esc-frame[data-esc-reveal="photo"].is-shown .esc-frame__shine { animation: esc-shine 7s ease-in-out 1.4s infinite; }
.ti-theme-emerald-sapphire-chateau .esc-caption[data-esc-reveal] { transition-delay: 2.4s; }
.ti-theme-emerald-sapphire-chateau .esc-person__info[data-esc-reveal] { transition-delay: 1s; }

/* reveal umum */
.ti-theme-emerald-sapphire-chateau [data-esc-reveal] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 1.1s ease, transform 1.3s var(--esc-ease); }
.ti-theme-emerald-sapphire-chateau [data-esc-reveal].is-shown { opacity: 1; transform: none; }
.ti-theme-emerald-sapphire-chateau [data-esc-reveal="wide"] { transform: none; -webkit-mask: linear-gradient(#000, #000) 50% 50% / 82% 86% no-repeat; mask: linear-gradient(#000, #000) 50% 50% / 82% 86% no-repeat; transition: opacity 1s ease, -webkit-mask-size 2s var(--esc-ease), mask-size 2s var(--esc-ease); }
.ti-theme-emerald-sapphire-chateau [data-esc-reveal="wide"] img { transform: scale(1.12); filter: blur(8px); transition: transform 2.4s var(--esc-ease), filter 1.6s ease; }
.ti-theme-emerald-sapphire-chateau [data-esc-reveal="wide"].is-shown { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.ti-theme-emerald-sapphire-chateau [data-esc-reveal="wide"].is-shown img { transform: none; filter: none; }
.ti-theme-emerald-sapphire-chateau [data-esc-reveal="film"] { transform: none; -webkit-mask: linear-gradient(#000, #000) 0 0 / 0% 100% no-repeat; mask: linear-gradient(#000, #000) 0 0 / 0% 100% no-repeat; transition: opacity .6s ease, -webkit-mask-size 1.6s var(--esc-ease2), mask-size 1.6s var(--esc-ease2); }
.ti-theme-emerald-sapphire-chateau [data-esc-reveal="film"].is-shown { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.ti-theme-emerald-sapphire-chateau [data-esc-reveal="film"] img { filter: brightness(1.5) blur(4px); transition: filter 1.6s ease .6s; }
.ti-theme-emerald-sapphire-chateau [data-esc-reveal="film"].is-shown img { filter: none; }
.ti-theme-emerald-sapphire-chateau [data-esc-reveal="shot"] { transform: translateY(40px) scale(.96); transition: opacity 1s ease var(--d, 0s), transform 1.4s var(--esc-ease) var(--d, 0s); }
.ti-theme-emerald-sapphire-chateau [data-esc-reveal="shot"] img { filter: blur(10px); transition: filter 1.4s ease calc(var(--d, 0s) + .3s), transform 1.4s var(--esc-ease); }
.ti-theme-emerald-sapphire-chateau [data-esc-reveal="shot"].is-shown { transform: none; }
.ti-theme-emerald-sapphire-chateau [data-esc-reveal="shot"].is-shown img { filter: none; }

/* parallax scene render */
.ti-theme-emerald-sapphire-chateau .esc-scene { position: relative; display: flex; align-items: flex-end; justify-content: center; height: clamp(480px, 90vh, 860px); overflow: hidden; text-align: center; background: var(--esc-deep); }
.ti-theme-emerald-sapphire-chateau .esc-scene__pic { position: absolute; inset: 0; }
.ti-theme-emerald-sapphire-chateau .esc-scene__img { position: absolute; left: 0; top: -7%; width: 100%; height: 114%; object-fit: cover; transform: translateY(calc((var(--p, .5) - .5) * -80px)) scale(calc(1.16 - var(--p, .5) * .14)); will-change: transform; }
.ti-theme-emerald-sapphire-chateau .esc-scene__veil { position: absolute; inset: 0; }
.ti-theme-emerald-sapphire-chateau .esc-scene__text { position: relative; z-index: 2; max-width: 660px; padding: 0 24px 72px; color: var(--esc-light); }
.ti-theme-emerald-sapphire-chateau .esc-scene__text .esc-kicker, .ti-theme-emerald-sapphire-chateau .esc-scene__text .esc-label { color: var(--esc-gold); }
.ti-theme-emerald-sapphire-chateau .esc-scene__text .esc-quote { text-shadow: 0 4px 22px rgba(0,0,0,.45); }
.ti-theme-emerald-sapphire-chateau .esc-sweep { position: absolute; inset: 0; z-index: 1; background: linear-gradient(110deg, rgba(255,240,210,0) 40%, rgba(255,244,220,.3) 50%, rgba(255,240,210,0) 60%) 0 0 / 300% 100% no-repeat; background-position: calc(160% - var(--p, 0) * 200%) 0; mix-blend-mode: soft-light; pointer-events: none; }
.ti-theme-emerald-sapphire-chateau .esc-shimmer { position: absolute; left: 0; right: 0; bottom: 6%; height: 46%; z-index: 1; background: repeating-linear-gradient(178deg, rgba(255,255,255,0) 0 14px, rgba(235,245,255,.1) 16px, rgba(255,255,255,0) 19px); background-size: 100% 220px; mix-blend-mode: screen; animation: esc-shimmer 9s linear infinite; -webkit-mask-image: radial-gradient(40% 50% at 50% 60%, #000, transparent); mask-image: radial-gradient(40% 50% at 50% 60%, #000, transparent); pointer-events: none; }

/* foto unggulan landscape (rasio asli) */
.ti-theme-emerald-sapphire-chateau .esc-feature__fig { position: relative; max-width: min(1560px, calc(84vh * var(--esc-r, 1.6))); margin: 0 auto; }
.ti-theme-emerald-sapphire-chateau .esc-feature__link { position: relative; display: block; overflow: hidden; background: var(--esc-deep); }
.ti-theme-emerald-sapphire-chateau .esc-feature__link img { display: block; width: 100%; height: auto; }
.ti-theme-emerald-sapphire-chateau .esc-feature__link[style*="--esc-ar"] { aspect-ratio: var(--esc-ar); }
.ti-theme-emerald-sapphire-chateau .esc-feature__link[style*="--esc-ar"] img { height: 100%; object-fit: contain; }
.ti-theme-emerald-sapphire-chateau .esc-feature__flare { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255,240,210,0) 35%, rgba(255,244,220,.38) 50%, rgba(255,240,210,0) 65%); transform: translateX(-120%); pointer-events: none; mix-blend-mode: screen; }
.ti-theme-emerald-sapphire-chateau [data-esc-reveal="wide"].is-shown .esc-feature__flare { animation: esc-photo-sweep 2s var(--esc-ease) 1.2s both; }
.ti-theme-emerald-sapphire-chateau .esc-feature figcaption { padding: 22px 16px 0; text-align: center; }

/* galeri (rasio asli pada foto besar; tile kecil di HP sengaja 4:5) */
.ti-theme-emerald-sapphire-chateau .esc-shot { position: relative; display: block; overflow: hidden; background: var(--esc-paper2); }
.ti-theme-emerald-sapphire-chateau .esc-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.4s var(--esc-ease); }
.ti-theme-emerald-sapphire-chateau .esc-shot:hover img { transform: scale(1.04); }
.ti-theme-emerald-sapphire-chateau .esc-shot__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0)); color: #fff; font-family: var(--esc-f-display); font-style: italic; font-size: 15px; }

/* komponen inti: countdown, RSVP, ucapan, hadiah */
.ti-theme-emerald-sapphire-chateau .esc-countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 580px; margin: 28px auto 0; }
.ti-theme-emerald-sapphire-chateau .esc-countdown .ti-countdown__item { position: relative; padding: 18px 4px 14px; }
.ti-theme-emerald-sapphire-chateau .esc-countdown .ti-countdown__num { display: block; font-family: var(--esc-f-display); font-size: clamp(34px, 10.4vw, 58px); line-height: 1.05; }
.ti-theme-emerald-sapphire-chateau .esc-countdown .ti-countdown__label { display: block; font-family: var(--esc-f-caps); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; opacity: 1; }
.ti-theme-emerald-sapphire-chateau .esc-form { position: relative; max-width: 580px; margin: 0 auto; padding: 30px 24px; text-align: left; transition: transform .5s var(--esc-ease), box-shadow .5s; }
.ti-theme-emerald-sapphire-chateau .esc-form.is-sending { transform: scale(.99); }
.ti-theme-emerald-sapphire-chateau .ti-field label, .ti-theme-emerald-sapphire-chateau .ti-field legend { font-family: var(--esc-f-caps); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--esc-ink); }
.ti-theme-emerald-sapphire-chateau .ti-field input[type="text"], .ti-theme-emerald-sapphire-chateau .ti-field input[type="number"], .ti-theme-emerald-sapphire-chateau .ti-field input[type="tel"], .ti-theme-emerald-sapphire-chateau .ti-field select, .ti-theme-emerald-sapphire-chateau .ti-field textarea { font-family: var(--esc-f-body); font-weight: 300; font-size: 15px; color: var(--esc-ink); border: 1px solid var(--esc-field-line); border-radius: 6px; background: #FFFFFF; transition: border-color .3s, box-shadow .3s; }
.ti-theme-emerald-sapphire-chateau .ti-field input:focus, .ti-theme-emerald-sapphire-chateau .ti-field select:focus, .ti-theme-emerald-sapphire-chateau .ti-field textarea:focus { outline: none; border-color: var(--esc-accent); box-shadow: 0 0 0 3px var(--esc-focus); }
.ti-theme-emerald-sapphire-chateau .ti-choice span { font-family: var(--esc-f-body); border-color: var(--esc-field-line); transition: background .3s, color .3s, border-color .3s; }
.ti-theme-emerald-sapphire-chateau .ti-choice input:checked + span { background: var(--esc-accent); border-color: var(--esc-accent); color: #fff; }
.ti-theme-emerald-sapphire-chateau .ti-btn { border-radius: var(--esc-radius, 999px); font-family: var(--esc-f-body); font-weight: 400; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; transition: transform .4s var(--esc-ease), background .4s, color .4s; }
.ti-theme-emerald-sapphire-chateau .ti-btn--primary, .ti-theme-emerald-sapphire-chateau .ti-btn--maps { background: var(--esc-accent); border-color: var(--esc-accent); color: #fff; }
.ti-theme-emerald-sapphire-chateau .ti-btn--ghost { background: transparent; border-color: var(--esc-accent); color: var(--esc-accent); }
.ti-theme-emerald-sapphire-chateau .ti-btn:hover { transform: translateY(-2px); }
.ti-theme-emerald-sapphire-chateau .esc-form .ti-btn--primary, .ti-theme-emerald-sapphire-chateau .esc-form button[type="submit"], .ti-theme-emerald-sapphire-chateau .esc-wishes button[type="submit"] { width: 100%; min-height: 48px; background: var(--esc-btn-bg); border-color: var(--esc-btn-line); color: var(--esc-btn-ink); font-family: var(--esc-f-caps); letter-spacing: .22em; }
.ti-theme-emerald-sapphire-chateau .esc-form [class*="success"], .ti-theme-emerald-sapphire-chateau .esc-form [class*="alert"], .ti-theme-emerald-sapphire-chateau .esc-wishes [class*="success"] { border-radius: 8px; border: 1px solid var(--esc-gold); background: var(--esc-paper); color: var(--esc-ink); font-family: var(--esc-f-display); font-style: italic; }
.ti-theme-emerald-sapphire-chateau .esc-wishes__box { max-width: 700px; margin: 0 auto; text-align: left; }
.ti-theme-emerald-sapphire-chateau .esc-wishes .ti-guestbook__item { position: relative; margin-bottom: 14px; padding: 20px 20px 16px 58px; border-radius: 10px; background: #FFFFFF; }
.ti-theme-emerald-sapphire-chateau .esc-wishes .ti-guestbook__item::before { content: "\201C"; position: absolute; left: 16px; top: 4px; font-family: var(--esc-f-display); font-size: 56px; line-height: 1; color: var(--esc-gold); }
.ti-theme-emerald-sapphire-chateau .esc-wishes .ti-guestbook__item strong, .ti-theme-emerald-sapphire-chateau .esc-wishes .ti-guestbook__item b { font-family: var(--esc-f-caps); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--esc-ink); }
.ti-theme-emerald-sapphire-chateau .esc-wishes .ti-guestbook__item p { font-family: var(--esc-f-display); font-style: italic; font-size: 17px; line-height: 1.6; color: var(--esc-soft); }
.ti-theme-emerald-sapphire-chateau .esc-wishes form, .ti-theme-emerald-sapphire-chateau .esc-wishes .ti-guestbook__form { padding: 22px; margin-bottom: 22px; border-radius: 12px; background: var(--esc-paper); }
.ti-theme-emerald-sapphire-chateau .esc-giftbox { position: relative; width: min(74vw, 400px); margin: -6px auto 18px; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .7s var(--esc-ease), opacity 1.1s ease; }
.ti-theme-emerald-sapphire-chateau .esc-giftbox img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 34px rgba(0,0,0,.35)); animation: esc-bob 6s ease-in-out infinite; }
.ti-theme-emerald-sapphire-chateau .esc-giftbox[data-esc-reveal] { transform: perspective(1000px) translateY(40px) rotateY(24deg) scale(.9); }
.ti-theme-emerald-sapphire-chateau .esc-giftbox[data-esc-reveal].is-shown { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.ti-theme-emerald-sapphire-chateau .esc-gift { display: grid; gap: 24px; max-width: 820px; margin: 0 auto; }
.ti-theme-emerald-sapphire-chateau .esc-gift .ti-gift__card { position: relative; padding: 40px 24px 30px; overflow: hidden; border: 0; transition: transform .6s var(--esc-ease); }
.ti-theme-emerald-sapphire-chateau .esc-gift .ti-gift__card:hover { transform: translateY(-4px); }
.ti-theme-emerald-sapphire-chateau .esc-gift .ti-gift__bank { font-family: var(--esc-f-caps); font-size: 13px; letter-spacing: .28em; }
.ti-theme-emerald-sapphire-chateau .esc-gift .ti-gift__no { font-family: var(--esc-f-display); font-size: 28px; letter-spacing: .06em; overflow-wrap: anywhere; }
.ti-theme-emerald-sapphire-chateau .esc-gift button, .ti-theme-emerald-sapphire-chateau .esc-gift .ti-btn { font-family: var(--esc-f-caps); letter-spacing: .18em; background: var(--esc-btn-bg); border-color: var(--esc-btn-line); color: var(--esc-btn-ink); }
.ti-theme-emerald-sapphire-chateau .esc-gift .is-copied { background: var(--esc-gold); color: var(--esc-ink); }
.ti-theme-emerald-sapphire-chateau .esc-video { max-width: 880px; margin: 0 auto; padding: 8px; border: 1px solid var(--esc-gold); }
.ti-theme-emerald-sapphire-chateau .esc-card__actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ti-theme-emerald-sapphire-chateau .esc-card__actions .ti-btn--maps { display: none; }
.ti-theme-emerald-sapphire-chateau .esc-footer { position: relative; z-index: 2; padding: 26px 16px 92px; text-align: center; font-family: var(--esc-f-caps); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; }

/* tablet & desktop umum */
@media (min-width: 760px) {
  .ti-theme-emerald-sapphire-chateau .esc-section { padding: 120px 40px; }
  .ti-theme-emerald-sapphire-chateau .esc-frame { width: min(64vw, 460px); }
  .ti-theme-emerald-sapphire-chateau .esc-gift { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
  .ti-theme-emerald-sapphire-chateau .esc-nav { left: 50%; transform: translate(-50%, 160%); max-width: none; padding: 5px 8px; }
  .ti-theme-emerald-sapphire-chateau.esc-is-open .esc-nav { transform: translate(-50%, 0); }
  .ti-theme-emerald-sapphire-chateau.esc-is-open .esc-nav.is-hidden { transform: translate(-50%, 160%); }
  .ti-theme-emerald-sapphire-chateau .esc-nav a { width: 42px; height: 42px; }
  .ti-theme-emerald-sapphire-chateau .esc-giftbox { width: min(40vw, 440px); }
}
@media (min-width: 1000px) { .ti-theme-emerald-sapphire-chateau .esc-frame { width: min(36vw, 440px); } }
@media (max-width: 380px) { .ti-theme-emerald-sapphire-chateau .esc-section { padding-left: 16px; padding-right: 16px; } .ti-theme-emerald-sapphire-chateau .esc-countdown { gap: 6px; } .ti-theme-emerald-sapphire-chateau .esc-cover__guest .ti-guest__name { font-size: 19px; } }

/* mode ringan */
.ti-theme-emerald-sapphire-chateau.esc-lite .esc-motes i:nth-child(n+6), .ti-theme-emerald-sapphire-chateau.esc-lite .esc-petals img:nth-child(n+5), .ti-theme-emerald-sapphire-chateau.esc-lite .esc-stage__fog, .ti-theme-emerald-sapphire-chateau.esc-lite .esc-shimmer, .ti-theme-emerald-sapphire-chateau.esc-lite .esc-bfly:nth-child(n+3) { display: none; }
.ti-theme-emerald-sapphire-chateau.esc-lite .esc-nav { backdrop-filter: none; -webkit-backdrop-filter: none; }
.ti-theme-emerald-sapphire-chateau.esc-lite .esc-fg, .ti-theme-emerald-sapphire-chateau.esc-lite .esc-hero__fg, .ti-theme-emerald-sapphire-chateau.esc-lite .esc-closing__fg { filter: none; }
/* gerak dikurangi */
.ti-theme-emerald-sapphire-chateau.esc-reduce *, .ti-theme-emerald-sapphire-chateau.esc-reduce *::before, .ti-theme-emerald-sapphire-chateau.esc-reduce *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
.ti-theme-emerald-sapphire-chateau.esc-reduce .esc-motes, .ti-theme-emerald-sapphire-chateau.esc-reduce .esc-petals, .ti-theme-emerald-sapphire-chateau.esc-reduce .esc-stage__fog, .ti-theme-emerald-sapphire-chateau.esc-reduce .esc-shimmer, .ti-theme-emerald-sapphire-chateau.esc-reduce .esc-bflies, .ti-theme-emerald-sapphire-chateau.esc-reduce .esc-doors { display: none !important; }
.ti-theme-emerald-sapphire-chateau.esc-reduce .esc-fg, .ti-theme-emerald-sapphire-chateau.esc-reduce .esc-cover__content > * { opacity: 1; filter: none; transform: none; }
.ti-theme-emerald-sapphire-chateau.esc-reduce .esc-fg--r { transform: scaleX(-1); }
.ti-theme-emerald-sapphire-chateau.esc-reduce .esc-frame__bfly { opacity: 1 !important; }
.ti-theme-emerald-sapphire-chateau.esc-reduce .esc-still img, .ti-theme-emerald-sapphire-chateau.esc-reduce .esc-scene__img { transform: none !important; }

/* animasi */
@keyframes esc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes esc-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes esc-up { from { opacity: 0; transform: translate3d(0, 22px, 0); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes esc-emerge { 0% { opacity: 0; filter: brightness(1.6) saturate(.4) blur(12px); transform: scale(1.1); } 35% { opacity: 1; filter: brightness(1.25) saturate(.7) blur(6px); } 100% { opacity: 1; filter: none; transform: none; } }
@keyframes esc-focus-l { 0% { opacity: 0; filter: blur(0) drop-shadow(0 18px 24px rgba(0,0,0,.3)); transform: translate(-6%, 8%) scale(1.04); } 30% { opacity: 1; } 100% { opacity: 1; filter: blur(3.5px) brightness(.92) drop-shadow(0 18px 24px rgba(0,0,0,.3)); transform: none; } }
@keyframes esc-focus-r { 0% { opacity: 0; filter: blur(0) drop-shadow(0 18px 24px rgba(0,0,0,.3)); transform: scaleX(-1) translate(-6%, 8%) scale(1.04); } 30% { opacity: 1; } 100% { opacity: 1; filter: blur(3.5px) brightness(.92) drop-shadow(0 18px 24px rgba(0,0,0,.3)); transform: scaleX(-1); } }
@keyframes esc-pass-l { from { opacity: 1; transform: none; filter: blur(3.5px); } to { opacity: 0; transform: translate(-48%, 20%) scale(1.9); filter: blur(14px); } }
@keyframes esc-pass-r { from { opacity: 1; transform: scaleX(-1); filter: blur(3.5px); } to { opacity: 0; transform: scaleX(-1) translate(-48%, 20%) scale(1.9); filter: blur(14px); } }
@keyframes esc-flare { 0% { opacity: 0; transform: translateX(-30%); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateX(30%); } }
@keyframes esc-door-l { from { transform: none; } to { transform: rotateY(98deg); } }
@keyframes esc-door-r { from { transform: scaleX(-1); } to { transform: scaleX(-1) rotateY(98deg); } }
@keyframes esc-glow { 0%, 100% { box-shadow: var(--esc-btn-shadow); } 50% { box-shadow: var(--esc-btn-shadow), 0 0 34px 4px var(--esc-glow); } }
@keyframes esc-mote { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 12% { opacity: .95; } 85% { opacity: .55; } 100% { transform: translate3d(calc(var(--n) * 4px - 26px), -108vh, 0); opacity: 0; } }
@keyframes esc-petal { 0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; } 10% { opacity: .95; } 90% { opacity: .8; } 100% { transform: translate3d(calc(var(--n) * 9px - 40px), 112vh, 0) rotate(calc(var(--n) * 70deg + 300deg)); opacity: 0; } }
@keyframes esc-fog { from { background-position: 0 100%; } to { background-position: 1800px 100%; } }
@keyframes esc-shimmer { from { background-position: 0 0; } to { background-position: 0 220px; } }
@keyframes esc-photo-sweep { from { transform: translateX(-110%); } to { transform: translateX(110%); } }
@keyframes esc-shine { 0%, 70% { background-position: -150% 0; } 100% { background-position: 250% 0; } }
@keyframes esc-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes esc-pulse { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@keyframes esc-line { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes esc-wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(11px); opacity: 0; } 100% { opacity: 0; } }
@keyframes esc-loader-auto { to { opacity: 0; visibility: hidden; } }
@keyframes esc-flap { from { transform: rotateY(-8deg); } to { transform: rotateY(72deg); } }
@keyframes esc-flap-l { from { transform: rotateY(188deg); } to { transform: rotateY(108deg); } }
@keyframes esc-rest { 0%, 80%, 100% { transform: rotateY(20deg); } 88% { transform: rotateY(60deg); } }
@keyframes esc-rest-l { 0%, 80%, 100% { transform: rotateY(160deg); } 88% { transform: rotateY(120deg); } }
@keyframes esc-land { 0% { opacity: 0; transform: translateZ(30px) translate(240%, -260%) rotate(30deg) scale(1.3); } 25% { opacity: 1; } 100% { opacity: 1; transform: translateZ(30px); } }
@keyframes esc-fly-a { 0% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(5vw, -9vh) rotate(18deg); } 50% { transform: translate(-2vw, -16vh) rotate(-10deg); } 75% { transform: translate(-6vw, -6vh) rotate(-24deg); } 100% { transform: translate(0, 0) rotate(0); } }
@keyframes esc-fly-b { 0% { transform: translate(0, 0) rotate(0); } 30% { transform: translate(-5vw, 8vh) rotate(-16deg); } 60% { transform: translate(3vw, 14vh) rotate(14deg); } 100% { transform: translate(0, 0) rotate(0); } }
@keyframes esc-fly-c { 0% { transform: translate(0, 0) rotate(0); } 20% { transform: translate(3vw, 6vh) rotate(12deg); } 45% { transform: translate(7vw, -4vh) rotate(26deg); } 70% { transform: translate(2vw, -12vh) rotate(-8deg); } 100% { transform: translate(0, 0) rotate(0); } }

/* ---------------------------------------------------------------- Emerald Sapphire Château: emerald · ivory · antique gold · cream · sapphire · botanical green */
.ti-theme-emerald-sapphire-chateau {
  --esc-emerald: #1F5A45; --esc-deep: #123B2E; --esc-ivory: #F8F4EA; --esc-cream: #EFE6D2; --esc-gold-a: #B89A5A; --esc-gold-l: #D8C08A; --esc-sapphire: #2C4F8C; --esc-bot: #6E8F5A;
  --esc-paper: #FFFDF7; --esc-paper2: #EDE6D4; --esc-ink: #163A2E; --esc-soft: #4C5E52; --esc-accent: #1F5A45; --esc-gold: #D8C08A; --esc-gold2: #A88A4C;
  --esc-light: #FBF8EF; --esc-light2: rgba(251,248,239,.86); --esc-shadow: rgba(18,59,46,.35); --esc-mote: rgba(216,192,138,.85); --esc-flare: rgba(190,220,190,.25); --esc-glow: rgba(216,192,138,.5);
  --esc-f-display: "Playfair Display", Georgia, serif; --esc-f-names: "Italiana", "Playfair Display", serif; --esc-f-caps: "Cinzel", Georgia, serif; --esc-f-body: "Jost", "Segoe UI", sans-serif;
  --esc-radius: 2px;
  --esc-btn-bg: linear-gradient(180deg, #276b52, #1F5A45 55%, #123B2E); --esc-btn-ink: #F3E3B8; --esc-btn-line: rgba(216,192,138,.85);
  --esc-btn-shadow: inset 0 0 0 3px #1F5A45, inset 0 0 0 4px rgba(216,192,138,.45), 0 16px 28px -16px rgba(18,59,46,.8);
  --esc-nav-bg: rgba(18,59,46,.9); --esc-nav-line: rgba(216,192,138,.6); --esc-nav-ink: #E9D7A8; --esc-nav-active: rgba(216,192,138,.18);
  --esc-loader-bg: radial-gradient(70% 55% at 50% 45%, #1F5A45 0%, #0C2a20 80%); --esc-loader-ink: #D8C08A;
  --esc-field-line: #D3CBB6; --esc-focus: rgba(31,90,69,.18);
  --esc-veil: linear-gradient(0deg, rgba(12,42,32,.86) 0%, rgba(12,42,32,.42) 28%, rgba(12,42,32,0) 54%), linear-gradient(180deg, rgba(12,42,32,.32) 0%, rgba(12,42,32,0) 16%);
  --esc-wing: url(assets/img/wing-a.webp); --esc-wing2: url(assets/img/wing-b.webp); --esc-wing3: url(assets/img/wing-c.webp);
  --ap-l: 15%; --ap-t: 16.7%; --ap-w: 70%; --ap-h: 73.3%; --ap-r: 0;
}
.ti-theme-emerald-sapphire-chateau .esc-title { font-weight: 400; letter-spacing: .01em; }
.ti-theme-emerald-sapphire-chateau .esc-kicker { color: var(--esc-bot); }
.ti-theme-emerald-sapphire-chateau .esc-divider { color: var(--esc-gold-a); }

/* daun berguguran di atas panggung */
.ti-theme-emerald-sapphire-chateau .esc-stage__leaves { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.ti-theme-emerald-sapphire-chateau .esc-stage__leaves i { position: absolute; top: -40px; left: calc(var(--k, 0) * 1%); width: 22px; height: 30px; background: url(assets/tex/leaf.webp) 50% 50% / contain no-repeat; opacity: 0; animation: esc-leaf 17s linear infinite; }
.ti-theme-emerald-sapphire-chateau .esc-stage__leaves i:nth-child(1) { --k: 8; animation-delay: -2s; }
.ti-theme-emerald-sapphire-chateau .esc-stage__leaves i:nth-child(2) { --k: 22; animation-delay: -9s; animation-duration: 21s; }
.ti-theme-emerald-sapphire-chateau .esc-stage__leaves i:nth-child(3) { --k: 64; animation-delay: -5s; }
.ti-theme-emerald-sapphire-chateau .esc-stage__leaves i:nth-child(4) { --k: 78; animation-delay: -13s; animation-duration: 19s; }
.ti-theme-emerald-sapphire-chateau .esc-stage__leaves i:nth-child(5) { --k: 90; animation-delay: -7s; width: 16px; }
.ti-theme-emerald-sapphire-chateau .esc-stage__leaves i:nth-child(6) { --k: 40; animation-delay: -15s; width: 14px; }
.ti-theme-emerald-sapphire-chateau.esc-gl-on .esc-stage__leaves { display: none; }

/* pembuka: panel kaca rumah kaca berbingkai emas */
.ti-theme-emerald-sapphire-chateau .esc-cover__content { bottom: max(4vh, 24px); padding: 26px 22px 24px; background: linear-gradient(180deg, rgba(18,59,46,.55), rgba(12,42,32,.72)); border: 1px solid rgba(216,192,138,.55); box-shadow: inset 0 0 0 6px rgba(18,59,46,.25), inset 0 0 0 7px rgba(216,192,138,.25), 0 30px 60px -30px rgba(0,0,0,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ti-theme-emerald-sapphire-chateau .esc-cover__crest { width: 70px; margin: -2px 0 2px; }
.ti-theme-emerald-sapphire-chateau .esc-cover .esc-kicker, .ti-theme-emerald-sapphire-chateau .esc-hero .esc-kicker, .ti-theme-emerald-sapphire-chateau .esc-hall .esc-kicker, .ti-theme-emerald-sapphire-chateau .esc-closing .esc-kicker { color: var(--esc-gold-l); text-shadow: 0 2px 10px rgba(12,42,32,.8); }
.ti-theme-emerald-sapphire-chateau .esc-cover__names, .ti-theme-emerald-sapphire-chateau .esc-hero__names { display: flex; flex-direction: column; align-items: center; font-family: var(--esc-f-names); font-weight: 400; font-size: clamp(44px, 12.5vw, 96px); line-height: 1.02; letter-spacing: .06em; text-transform: uppercase; color: var(--esc-light); text-shadow: 0 4px 26px rgba(12,42,32,.85); overflow-wrap: anywhere; }
.ti-theme-emerald-sapphire-chateau .esc-cover__names em, .ti-theme-emerald-sapphire-chateau .esc-hero__names em { font-family: var(--esc-f-display); font-style: italic; text-transform: none; font-size: .42em; letter-spacing: 0; color: var(--esc-gold-l); margin: .1em 0; }
.ti-theme-emerald-sapphire-chateau .esc-cover__tag { margin: 8px 0 2px; font-family: var(--esc-f-display); font-style: italic; font-size: 17px; color: #E7EFE2; }
.ti-theme-emerald-sapphire-chateau .esc-cover__date, .ti-theme-emerald-sapphire-chateau .esc-hero__date { margin: 6px 0 14px; font-family: var(--esc-f-caps); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: rgba(251,248,239,.95); text-shadow: 0 2px 10px rgba(12,42,32,.8); }
.ti-theme-emerald-sapphire-chateau .esc-cover__guest { border-top: 1px solid rgba(216,192,138,.45); border-bottom: 1px solid rgba(216,192,138,.45); color: var(--esc-light); }
.ti-theme-emerald-sapphire-chateau .esc-cover__guest .ti-guest__name { color: var(--esc-gold-l); }
.ti-theme-emerald-sapphire-chateau .esc-doors--cover { --esc-door-size: auto 74%; --esc-door-pos: 100% 72%; }
.ti-theme-emerald-sapphire-chateau .esc-hero__content { text-align: center; }
.ti-theme-emerald-sapphire-chateau .esc-hero__content::after { content: ""; position: absolute; left: -14%; right: -14%; top: -6%; bottom: -14%; z-index: -1; background: radial-gradient(closest-side, rgba(12,42,32,.7), rgba(12,42,32,.38) 58%, rgba(12,42,32,0)); pointer-events: none; }
.ti-theme-emerald-sapphire-chateau .esc-hero__content::before { content: ""; display: block; width: 1px; height: 54px; margin: 0 auto 16px; background: linear-gradient(180deg, rgba(216,192,138,0), var(--esc-gold-l)); }
.ti-theme-emerald-sapphire-chateau .esc-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26vh; background: linear-gradient(180deg, rgba(239,230,210,0), var(--esc-cream)); pointer-events: none; }

/* latar */
.ti-theme-emerald-sapphire-chateau .esc-cream { background: linear-gradient(180deg, #F3ECDC 0%, var(--esc-cream) 100%); }
.ti-theme-emerald-sapphire-chateau .esc-ivory { background: var(--esc-ivory); }
.ti-theme-emerald-sapphire-chateau .esc-cream::before, .ti-theme-emerald-sapphire-chateau .esc-ivory::before { content: ""; position: absolute; left: 50%; top: 34px; width: min(70%, 520px); height: 1px; translate: -50% 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(184,154,90,.7), transparent); }
.ti-theme-emerald-sapphire-chateau .esc-green { color: var(--esc-light); background: radial-gradient(90% 50% at 50% 0%, rgba(110,143,90,.35), rgba(110,143,90,0) 70%), linear-gradient(180deg, #1F5A45 0%, #164a38 60%, #123B2E 100%); }
.ti-theme-emerald-sapphire-chateau .esc-green::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(216,192,138,.06) 0 1px, transparent 1px 64px), repeating-linear-gradient(0deg, rgba(216,192,138,.06) 0 1px, transparent 1px 64px); }
.ti-theme-emerald-sapphire-chateau .esc-green .esc-kicker { color: var(--esc-gold-l); }

/* mempelai: baris editorial */
.ti-theme-emerald-sapphire-chateau .esc-couple__rows { display: grid; gap: 20px; max-width: 1080px; margin: 40px auto 0; }
.ti-theme-emerald-sapphire-chateau .esc-person { display: grid; grid-template-columns: 1fr; gap: 6px; align-items: center; }
.ti-theme-emerald-sapphire-chateau .esc-person__role { display: block; font-family: var(--esc-f-caps); font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--esc-bot); }
.ti-theme-emerald-sapphire-chateau .esc-person__nick { font-family: var(--esc-f-names); font-size: clamp(46px, 13vw, 72px); line-height: 1.05; letter-spacing: .05em; text-transform: uppercase; color: var(--esc-emerald); }
.ti-theme-emerald-sapphire-chateau .esc-person__name { font-family: var(--esc-f-display); font-style: italic; font-size: 19px; color: var(--esc-gold2); margin: 4px 0 10px; }
.ti-theme-emerald-sapphire-chateau .esc-couple__amp { margin: 0; font-family: var(--esc-f-display); font-style: italic; font-size: 60px; line-height: 1; color: var(--esc-gold-a); }
.ti-theme-emerald-sapphire-chateau .esc-couple__amp span { display: inline-block; padding: 0 22px; background: linear-gradient(90deg, transparent, rgba(184,154,90,.5), transparent) 50% 50% / 100% 1px no-repeat; }

/* scene */
.ti-theme-emerald-sapphire-chateau .esc-scene__veil { background: linear-gradient(180deg, var(--esc-cream) 0%, rgba(239,230,210,0) 12%, rgba(12,42,32,0) 44%, rgba(12,42,32,.8) 86%, var(--esc-deep) 100%); }
.ti-theme-emerald-sapphire-chateau .esc-scene--maze .esc-scene__veil { background: linear-gradient(180deg, var(--esc-ivory) 0%, rgba(248,244,234,0) 12%, rgba(12,42,32,0) 44%, rgba(12,42,32,.82) 86%, #1F5A45 100%); }
.ti-theme-emerald-sapphire-chateau .esc-scene--pavilion .esc-scene__veil { background: linear-gradient(180deg, var(--esc-cream) 0%, rgba(239,230,210,0) 12%, rgba(12,42,32,0) 46%, rgba(12,42,32,.7) 86%, #F3ECDC 100%); }
.ti-theme-emerald-sapphire-chateau .esc-scene--pavilion .esc-scene__text { padding-bottom: 110px; }
.ti-theme-emerald-sapphire-chateau .esc-scene--mirror .esc-shimmer { bottom: 0; height: 44%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%); mask-image: linear-gradient(180deg, transparent, #000 30%); }

/* potret konservatori */
.ti-theme-emerald-sapphire-chateau .esc-portrait { position: relative; padding: 90px 16px 110px; overflow: hidden; background: var(--esc-deep); text-align: center; }
.ti-theme-emerald-sapphire-chateau .esc-portrait__bg, .ti-theme-emerald-sapphire-chateau .esc-portrait__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ti-theme-emerald-sapphire-chateau .esc-portrait__bg img { filter: blur(5px) brightness(.62) saturate(.9); transform: translateY(calc((var(--p, .5) - .5) * -60px)) scale(1.08); }
.ti-theme-emerald-sapphire-chateau .esc-portrait__veil { position: absolute; inset: 0; background: linear-gradient(180deg, var(--esc-deep) 0%, rgba(12,42,32,.2) 22%, rgba(12,42,32,.35) 70%, var(--esc-ivory) 100%); }
.ti-theme-emerald-sapphire-chateau .esc-portrait__inner { position: relative; z-index: 2; display: grid; gap: 26px; justify-items: center; max-width: 1100px; margin: 0 auto; }
.ti-theme-emerald-sapphire-chateau .esc-frame--xl { width: min(92vw, 560px); margin: 0; }
.ti-theme-emerald-sapphire-chateau .esc-portrait__caption { color: var(--esc-light); }
.ti-theme-emerald-sapphire-chateau .esc-portrait__caption .esc-kicker, .ti-theme-emerald-sapphire-chateau .esc-portrait__caption .esc-label { color: var(--esc-gold-l); }
.ti-theme-emerald-sapphire-chateau .esc-portrait__names { margin: 0 0 8px; font-family: var(--esc-f-names); font-size: clamp(40px, 11vw, 80px); letter-spacing: .05em; text-transform: uppercase; line-height: 1.08; text-shadow: 0 6px 26px rgba(12,42,32,.8); overflow-wrap: anywhere; }

/* foto sinematik berbingkai pagar tanaman */
.ti-theme-emerald-sapphire-chateau .esc-feature { position: relative; padding: 70px 3vw 90px; background: var(--esc-ivory); }
.ti-theme-emerald-sapphire-chateau .esc-feature__link { padding: 0; box-shadow: 0 0 0 10px #2d5a3c, 0 0 0 11px var(--esc-gold-a), 0 46px 70px -40px rgba(12,42,32,.85); }
.ti-theme-emerald-sapphire-chateau .esc-feature figcaption strong { display: block; font-family: var(--esc-f-names); font-weight: 400; font-size: clamp(34px, 8vw, 58px); letter-spacing: .06em; text-transform: uppercase; color: var(--esc-emerald); }

/* kisah: kartu bergeser */
.ti-theme-emerald-sapphire-chateau .esc-path { display: grid; grid-auto-flow: column; grid-auto-columns: min(80vw, 370px); gap: 18px; align-items: start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 20px 26px; margin: 0 -20px; text-align: left; scrollbar-width: thin; scrollbar-color: rgba(216,192,138,.6) transparent; }
.ti-theme-emerald-sapphire-chateau .esc-path:focus-visible { outline: 1px solid var(--esc-gold-l); }
.ti-theme-emerald-sapphire-chateau .esc-leafcard { scroll-snap-align: center; overflow: hidden; color: var(--esc-ink); background: var(--esc-paper); border-radius: 2px 60px 2px 60px; box-shadow: 0 30px 50px -32px rgba(0,0,0,.7), inset 0 0 0 1px rgba(216,192,138,.7); transition-delay: var(--d, 0s); }
.ti-theme-emerald-sapphire-chateau .esc-leafcard__media img { display: block; width: 100%; height: auto; }
.ti-theme-emerald-sapphire-chateau .esc-leafcard__body { position: relative; padding: 22px 22px 26px; }
.ti-theme-emerald-sapphire-chateau .esc-leafcard__no { position: absolute; right: 20px; top: -26px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 0 50% 0 50%; background: var(--esc-emerald); color: var(--esc-gold-l); font-family: var(--esc-f-display); font-size: 20px; box-shadow: 0 0 0 3px var(--esc-paper); }
.ti-theme-emerald-sapphire-chateau .esc-leafcard--text .esc-leafcard__no { position: static; margin-bottom: 10px; }
.ti-theme-emerald-sapphire-chateau .esc-leafcard h3 { font-family: var(--esc-f-display); font-size: 27px; line-height: 1.15; color: var(--esc-ink); margin: 0 0 6px; }
.ti-theme-emerald-sapphire-chateau .esc-leafcard p { margin: 6px 0 0; color: var(--esc-soft); font-size: 15px; }
.ti-theme-emerald-sapphire-chateau .esc-path__hint { margin: 0; font-family: var(--esc-f-caps); font-size: 10px; letter-spacing: .3em; color: var(--esc-gold-l); }

/* konservatori */
.ti-theme-emerald-sapphire-chateau .esc-hall { background: linear-gradient(180deg, #123B2E, rgba(18,59,46,0) 8%); }
.ti-theme-emerald-sapphire-chateau .esc-hall__caption .esc-quote { text-shadow: 0 4px 20px rgba(12,42,32,.9); }
.ti-theme-emerald-sapphire-chateau .esc-hall__title { margin: 0; font-family: var(--esc-f-names); font-size: clamp(46px, 12vw, 96px); letter-spacing: .06em; text-transform: uppercase; line-height: 1.05; color: var(--esc-light); text-shadow: 0 6px 30px rgba(12,42,32,.9); }
.ti-theme-emerald-sapphire-chateau .esc-hall::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22vh; background: linear-gradient(180deg, rgba(239,230,210,0), #F3ECDC); pointer-events: none; }

/* kartu acara: label botani */
.ti-theme-emerald-sapphire-chateau .esc-events__grid { display: grid; grid-template-columns: 1fr; gap: 34px; max-width: 980px; margin: 40px auto 0; }
.ti-theme-emerald-sapphire-chateau .esc-card { position: relative; padding: 0 22px 30px; background: var(--esc-paper); box-shadow: 0 40px 60px -40px rgba(12,42,32,.7), inset 0 0 0 1px rgba(184,154,90,.7); transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .7s var(--esc-ease), opacity 1.1s ease; }
.ti-theme-emerald-sapphire-chateau .esc-card::before, .ti-theme-emerald-sapphire-chateau .esc-card::after { content: ""; position: absolute; width: 34px; height: 34px; border: 2px solid var(--esc-gold-a); pointer-events: none; }
.ti-theme-emerald-sapphire-chateau .esc-card::before { left: 8px; bottom: 8px; border-right: 0; border-top: 0; }
.ti-theme-emerald-sapphire-chateau .esc-card::after { right: 8px; bottom: 8px; border-left: 0; border-top: 0; }
.ti-theme-emerald-sapphire-chateau .esc-card__band { margin: 0 -22px 22px; padding: 22px 16px 18px; background: linear-gradient(180deg, #276b52, #1F5A45); border-bottom: 3px double var(--esc-gold-l); }
.ti-theme-emerald-sapphire-chateau .esc-card__name { font-family: var(--esc-f-names); font-size: 34px; letter-spacing: .1em; text-transform: uppercase; color: var(--esc-light); }
.ti-theme-emerald-sapphire-chateau .esc-card__datebox { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin: 0 auto 18px; max-width: 320px; }
.ti-theme-emerald-sapphire-chateau .esc-card__day, .ti-theme-emerald-sapphire-chateau .esc-card__month { font-family: var(--esc-f-caps); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--esc-gold2); border-top: 1px solid rgba(184,154,90,.6); border-bottom: 1px solid rgba(184,154,90,.6); padding: 6px 0; }
.ti-theme-emerald-sapphire-chateau .esc-card__num { font-family: var(--esc-f-display); font-size: 62px; line-height: 1; color: var(--esc-emerald); }
.ti-theme-emerald-sapphire-chateau .esc-card__info { list-style: none; margin: 0 auto 22px; padding: 0; max-width: 340px; text-align: left; }
.ti-theme-emerald-sapphire-chateau .esc-card__info li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-top: 1px dashed rgba(110,143,90,.45); font-size: 14.5px; color: var(--esc-soft); }
.ti-theme-emerald-sapphire-chateau .esc-card__info svg { flex: none; margin-top: 3px; color: var(--esc-bot); }
.ti-theme-emerald-sapphire-chateau .esc-card__info strong { font-weight: 500; color: var(--esc-ink); }
.ti-theme-emerald-sapphire-chateau .esc-card[data-esc-reveal] { transform: perspective(1100px) translateY(40px) rotateY(-12deg); }
.ti-theme-emerald-sapphire-chateau .esc-card[data-esc-reveal].is-shown { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.ti-theme-emerald-sapphire-chateau .esc-card[data-esc-reveal]:nth-child(2) { transition-delay: .2s; }

/* countdown */
.ti-theme-emerald-sapphire-chateau .esc-count { position: relative; display: flex; align-items: center; justify-content: center; min-height: 96vh; padding: 110px 20px; overflow: hidden; text-align: center; color: var(--esc-light); background: var(--esc-deep); }
.ti-theme-emerald-sapphire-chateau .esc-count__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translateY(calc((var(--p, .5) - .5) * -70px)) scale(calc(1.18 - var(--p, .5) * .14)); will-change: transform; }
.ti-theme-emerald-sapphire-chateau .esc-count__veil { position: absolute; inset: 0; background: linear-gradient(180deg, #F3ECDC 0%, rgba(12,42,32,.55) 22%, rgba(12,42,32,.62) 74%, #1F5A45 100%); }
.ti-theme-emerald-sapphire-chateau .esc-count__inner { position: relative; z-index: 1; width: 100%; max-width: 640px; }
.ti-theme-emerald-sapphire-chateau .esc-count .esc-kicker { color: var(--esc-gold-l); }
.ti-theme-emerald-sapphire-chateau .esc-count .esc-title { color: var(--esc-light); text-shadow: 0 4px 20px rgba(12,42,32,.8); }
.ti-theme-emerald-sapphire-chateau .esc-countdown .ti-countdown__item { background: rgba(251,248,239,.1); border: 1px solid rgba(216,192,138,.7); border-radius: 0 26px 0 26px; }
.ti-theme-emerald-sapphire-chateau .esc-countdown .ti-countdown__num { color: #FBF8EF; }
.ti-theme-emerald-sapphire-chateau .esc-countdown .ti-countdown__label { color: var(--esc-gold-l); }
.ti-theme-emerald-sapphire-chateau .esc-count__date { margin: 26px 0 0; font-family: var(--esc-f-caps); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: rgba(251,248,239,.9); }

/* galeri justified: tiap foto utuh sesuai rasio */
.ti-theme-emerald-sapphire-chateau .esc-gallery__rows { display: flex; flex-wrap: wrap; gap: 8px; max-width: 1320px; margin: 0 auto; }
.ti-theme-emerald-sapphire-chateau .esc-gallery__rows::after { content: ""; flex: 9999 1 0; }
.ti-theme-emerald-sapphire-chateau .esc-shot { flex: calc(var(--esc-r, .8) * 100) 1 calc(var(--esc-r, .8) * 130px); aspect-ratio: var(--esc-ar, 4 / 5); box-shadow: 0 18px 30px -24px rgba(12,42,32,.7); }
.ti-theme-emerald-sapphire-chateau .esc-shot::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(184,154,90,0); transition: box-shadow .6s ease; pointer-events: none; }
.ti-theme-emerald-sapphire-chateau .esc-shot:hover::after { box-shadow: inset 0 0 0 6px rgba(248,244,234,.85), inset 0 0 0 7px rgba(184,154,90,.8); }

/* rsvp, ucapan, hadiah, lokasi */
.ti-theme-emerald-sapphire-chateau .esc-form { background: var(--esc-paper); box-shadow: 0 40px 60px -40px rgba(12,42,32,.55), inset 0 0 0 1px rgba(184,154,90,.7); border-top: 5px solid var(--esc-emerald); }
.ti-theme-emerald-sapphire-chateau .esc-wishes .ti-guestbook__item { border: 1px solid rgba(184,154,90,.45); border-left: 4px solid var(--esc-emerald); border-radius: 2px 24px 2px 24px; box-shadow: 0 18px 30px -26px rgba(12,42,32,.45); }
.ti-theme-emerald-sapphire-chateau .esc-wishes form, .ti-theme-emerald-sapphire-chateau .esc-wishes .ti-guestbook__form { border: 1px solid rgba(184,154,90,.55); border-radius: 2px; }
.ti-theme-emerald-sapphire-chateau .esc-gift .ti-gift__card { color: var(--esc-ink); background: var(--esc-paper); border-radius: 2px 40px 2px 40px; box-shadow: 0 40px 56px -36px rgba(0,0,0,.85), inset 0 0 0 1px rgba(216,192,138,.85); }
.ti-theme-emerald-sapphire-chateau .esc-gift .ti-gift__bank { color: var(--esc-gold2); }
.ti-theme-emerald-sapphire-chateau .esc-gift .ti-gift__no { color: var(--esc-emerald); }
.ti-theme-emerald-sapphire-chateau .esc-band { position: relative; height: clamp(230px, 50vw, 480px); margin: -92px -20px 34px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent); mask-image: linear-gradient(180deg, #000 58%, transparent); }
.ti-theme-emerald-sapphire-chateau .esc-band img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; transform: translateY(calc((var(--p, .5) - .5) * -50px)) scale(1.05); }
.ti-theme-emerald-sapphire-chateau .esc-venue__list { display: grid; grid-template-columns: 1fr; gap: 28px; max-width: 960px; margin: 20px auto 0; }
.ti-theme-emerald-sapphire-chateau .esc-place { position: relative; padding: 40px 24px 34px; background: var(--esc-paper); box-shadow: inset 0 0 0 1px rgba(184,154,90,.7), inset 0 0 0 8px var(--esc-paper), inset 0 0 0 9px rgba(31,90,69,.35); }
.ti-theme-emerald-sapphire-chateau .esc-place__name { font-family: var(--esc-f-display); font-size: 30px; line-height: 1.15; color: var(--esc-ink); margin: 4px 0 10px; }
.ti-theme-emerald-sapphire-chateau .esc-place__addr { max-width: 380px; margin: 0 auto 24px; font-size: 14.5px; color: var(--esc-soft); }

/* penutup */
.ti-theme-emerald-sapphire-chateau .esc-closing { background: linear-gradient(180deg, var(--esc-cream), rgba(239,230,210,0) 10%); }
.ti-theme-emerald-sapphire-chateau .esc-closing__content::before { content: ""; position: absolute; left: -12%; right: -12%; top: -12%; bottom: -16%; z-index: -1; background: radial-gradient(closest-side, rgba(12,42,32,.75), rgba(12,42,32,.42) 55%, rgba(12,42,32,0)); pointer-events: none; }
.ti-theme-emerald-sapphire-chateau .esc-closing__crest { width: 70px; margin: 0 auto 12px; display: block; }
.ti-theme-emerald-sapphire-chateau .esc-closing__photo { width: min(44vw, 24vh, 210px); aspect-ratio: 3 / 4; margin: 0 auto 16px; padding: 5px; background: linear-gradient(180deg, #E2CC94, #A88A4C); box-shadow: 0 0 0 4px rgba(18,59,46,.8), 0 20px 40px -20px rgba(0,0,0,.9); }
.ti-theme-emerald-sapphire-chateau .esc-closing__photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 22%; }
.ti-theme-emerald-sapphire-chateau .esc-closing__names { font-family: var(--esc-f-names); font-size: clamp(40px, 11vw, 88px); letter-spacing: .06em; text-transform: uppercase; line-height: 1.05; margin: 6px 0 0; color: var(--esc-light); text-shadow: 0 6px 30px rgba(12,42,32,.9); overflow-wrap: anywhere; }
.ti-theme-emerald-sapphire-chateau .esc-closing .esc-text { text-shadow: 0 2px 12px rgba(12,42,32,.9); }
.ti-theme-emerald-sapphire-chateau .esc-footer { background: #0C2a20; color: rgba(216,192,138,.85); }

@media (min-width: 760px) {
  .ti-theme-emerald-sapphire-chateau .esc-band { margin: -120px -40px 40px; }
  .ti-theme-emerald-sapphire-chateau .esc-path { margin: 0 -40px; padding: 10px 40px 30px; grid-auto-columns: 360px; justify-content: safe center; }
  .ti-theme-emerald-sapphire-chateau .esc-events__grid { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 40px; }
  .ti-theme-emerald-sapphire-chateau .esc-venue__list { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
  .ti-theme-emerald-sapphire-chateau .esc-gallery__rows { gap: 12px; }
  .ti-theme-emerald-sapphire-chateau .esc-shot { flex-basis: calc(var(--esc-r, .8) * 230px); }
  .ti-theme-emerald-sapphire-chateau .esc-feature { padding: 90px 5vw 110px; }
  .ti-theme-emerald-sapphire-chateau .esc-cover__content { padding: 30px 40px 28px; }
}
@media (min-width: 1000px) {
  .ti-theme-emerald-sapphire-chateau .esc-person { grid-template-columns: minmax(0, 420px) 1fr; gap: 64px; text-align: left; }
  .ti-theme-emerald-sapphire-chateau .esc-person--rev { grid-template-columns: 1fr minmax(0, 420px); text-align: right; }
  .ti-theme-emerald-sapphire-chateau .esc-person--rev .esc-frame { order: 2; }
  .ti-theme-emerald-sapphire-chateau .esc-person--rev .esc-person__info .esc-text { margin-right: 0; }
  .ti-theme-emerald-sapphire-chateau .esc-person .esc-person__info .esc-text { margin-left: 0; }
  .ti-theme-emerald-sapphire-chateau .esc-person--rev .esc-person__info .esc-text { margin-left: auto; }
  .ti-theme-emerald-sapphire-chateau .esc-frame--xl { width: min(42vw, 560px); }
  .ti-theme-emerald-sapphire-chateau .esc-portrait__inner { grid-template-columns: auto 1fr; align-items: center; text-align: left; gap: 60px; }
  .ti-theme-emerald-sapphire-chateau .esc-portrait__caption .esc-kicker { padding-left: 0; }
}
@media (min-width: 1180px) {
  .ti-theme-emerald-sapphire-chateau .esc-duo { display: grid; grid-template-columns: 1fr 1fr; }
  .ti-theme-emerald-sapphire-chateau .esc-duo > .esc-section:only-child { grid-column: 1 / -1; }
}
@media (orientation: landscape) and (min-width: 700px) {
  .ti-theme-emerald-sapphire-chateau .esc-cover__names, .ti-theme-emerald-sapphire-chateau .esc-hero__names { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 .3em; font-size: clamp(42px, 6vw, 92px); }
  .ti-theme-emerald-sapphire-chateau .esc-cover__names em, .ti-theme-emerald-sapphire-chateau .esc-hero__names em { margin: 0; font-size: .5em; }
}
@media (orientation: landscape) and (max-height: 760px) {
  .ti-theme-emerald-sapphire-chateau .esc-cover__crest { display: none; }
  .ti-theme-emerald-sapphire-chateau .esc-cover__content { padding: 16px 30px; }
  .ti-theme-emerald-sapphire-chateau .esc-cover__guest { margin-bottom: 12px; padding: 5px 22px; }
  .ti-theme-emerald-sapphire-chateau .esc-closing__photo { display: none; }
}
@media (max-height: 640px) and (orientation: portrait) { .ti-theme-emerald-sapphire-chateau .esc-cover__names { font-size: clamp(36px, 10.5vw, 70px); } .ti-theme-emerald-sapphire-chateau .esc-cover__crest { display: none; } }
@media (max-width: 380px) { .ti-theme-emerald-sapphire-chateau .esc-band { margin-left: -16px; margin-right: -16px; } .ti-theme-emerald-sapphire-chateau .esc-path { margin: 0 -16px; padding-left: 16px; padding-right: 16px; } .ti-theme-emerald-sapphire-chateau .esc-cover__content { padding: 20px 14px; } }
.ti-theme-emerald-sapphire-chateau.esc-lite .esc-cover__content { backdrop-filter: none; -webkit-backdrop-filter: none; }
.ti-theme-emerald-sapphire-chateau.esc-reduce .esc-stage__leaves { display: none; }
@keyframes esc-leaf { 0% { transform: translate3d(0, 0, 0) rotate(0); opacity: 0; } 10% { opacity: .9; } 50% { transform: translate3d(40px, 55vh, 0) rotate(160deg); } 90% { opacity: .8; } 100% { transform: translate3d(-30px, 112vh, 0) rotate(340deg); opacity: 0; } }
