/* Tema Toba Emerald Heritage — namespace .ti-theme-toba-emerald-heritage, prefix kelas teh-
   (Premium · Adat Batak Toba: Rumah Bolon 3D, gorga merah-putih-hitam, ulos, Danau Toba; emerald + sage + ivory + kayu) */
.ti-theme-toba-emerald-heritage {
  --teh-emerald: #496B54; --teh-forest: #263F32; --teh-sage: #A7B7A0; --teh-ivory: #F6F1E6; --teh-gold: #CFB783; --teh-wood: #75533B;
  --teh-terra: #B87564; --teh-red: #9B403B; --teh-char: #363532; --teh-ink: #24352B; --teh-soft: #56635A; --teh-mist: #E3E8DD;
  --teh-ease: cubic-bezier(.22,.61,.24,1); --teh-ease2: cubic-bezier(.65,0,.25,1);
  --ti-ease: cubic-bezier(.22,.61,.24,1); --ti-dur: 1.2s;
  background: var(--teh-ivory); color: var(--teh-ink); font-family: "Jost", "Segoe UI", sans-serif; font-weight: 300; font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.ti-theme-toba-emerald-heritage h1, .ti-theme-toba-emerald-heritage h2, .ti-theme-toba-emerald-heritage h3 { margin: 0; font-weight: 400; }
.ti-theme-toba-emerald-heritage img { max-width: 100%; }
.ti-theme-toba-emerald-heritage .teh-kicker { font-family: "Cinzel", Georgia, serif; font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--teh-emerald); margin: 0 0 10px; padding-left: .34em; }
.ti-theme-toba-emerald-heritage .teh-label { display: block; font-family: "Cinzel", Georgia, serif; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #8C7444; margin: 0 0 6px; }
.ti-theme-toba-emerald-heritage .teh-title { font-family: "Cinzel", Georgia, serif; font-weight: 500; font-size: clamp(27px, 8vw, 46px); letter-spacing: .08em; line-height: 1.18; text-transform: uppercase; color: var(--teh-forest); }
.ti-theme-toba-emerald-heritage .teh-sub { margin: 8px 0 0; font-family: "Playfair Display", serif; font-style: italic; font-size: 19px; color: var(--teh-emerald); }
.ti-theme-toba-emerald-heritage .teh-text { max-width: 580px; margin: 0 auto 22px; color: var(--teh-soft); }
.ti-theme-toba-emerald-heritage .teh-text--lead { font-family: "Playfair Display", serif; font-style: italic; font-size: 18px; color: var(--teh-emerald); }
.ti-theme-toba-emerald-heritage .teh-text--light { color: rgba(246,241,230,.86); }
.ti-theme-toba-emerald-heritage .teh-text--sm { font-size: 14.5px; margin-bottom: 8px; }
.ti-theme-toba-emerald-heritage .teh-center { text-align: center; }
.ti-theme-toba-emerald-heritage .teh-divider { display: block; width: 300px; max-width: 80%; height: auto; margin: 16px auto 0; }
.ti-theme-toba-emerald-heritage .teh-link { display: inline-block; color: var(--teh-emerald); text-decoration: none; font-size: 13.5px; letter-spacing: .06em; background: linear-gradient(var(--teh-gold), var(--teh-gold)) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--teh-ease); padding-bottom: 2px; }
.ti-theme-toba-emerald-heritage .teh-link:hover { background-size: 100% 1px; }

/* Pita gorga (Ipon-ipon + Simeol-eol) */
.ti-theme-toba-emerald-heritage .teh-strip { height: 24px; background: url(assets/tex/gorga-strip-sm.webp) 0 50% / auto 100% repeat-x; border-top: 1px solid var(--teh-gold); border-bottom: 1px solid var(--teh-gold); }
.ti-theme-toba-emerald-heritage .teh-strip--thin { height: 14px; }

/* Tombol */
.ti-theme-toba-emerald-heritage .teh-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 rgba(207,183,131,.95); border-radius: 3px; background: linear-gradient(180deg, #3a5c47, #263F32); color: #F2E7C8; font-family: "Cinzel", Georgia, serif; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; cursor: pointer; box-shadow: inset 0 0 0 3px #263F32, inset 0 0 0 4px rgba(207,183,131,.35), 0 14px 26px -16px rgba(20,34,26,.85); transition: transform .5s var(--teh-ease), box-shadow .5s, color .4s; }
.ti-theme-toba-emerald-heritage .teh-btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(207,183,131,0) 30%, rgba(255,246,220,.34) 50%, rgba(207,183,131,0) 70%); transform: translateX(-120%); transition: transform 1s var(--teh-ease); }
.ti-theme-toba-emerald-heritage .teh-btn::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: repeating-linear-gradient(90deg, #9B403B 0 6px, #F6F1E6 6px 9px, #1B1A18 9px 12px); opacity: .9; }
.ti-theme-toba-emerald-heritage .teh-btn:hover { transform: translateY(-2px); color: #FFF8E6; }
.ti-theme-toba-emerald-heritage .teh-btn:hover::before { transform: translateX(120%); }
.ti-theme-toba-emerald-heritage .teh-btn:focus-visible { outline: 2px solid var(--teh-gold); outline-offset: 3px; }
.ti-theme-toba-emerald-heritage .teh-btn svg { flex: none; }
.ti-theme-toba-emerald-heritage .teh-btn--small { min-height: 42px; padding: 8px 24px; font-size: 11px; }
.ti-theme-toba-emerald-heritage .teh-btn--ghost { margin-top: 30px; background: transparent; box-shadow: none; color: var(--teh-gold); }

/* =============================== LOADING =============================== */
.ti-theme-toba-emerald-heritage .teh-loader { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: radial-gradient(70% 55% at 50% 45%, #FBF7EE 0%, #E3E8DD 70%, #C9D4C3 100%); transition: opacity .8s ease, visibility 0s linear .8s; animation: teh-loader-auto .8s ease 4s forwards; }
.ti-theme-toba-emerald-heritage.teh-loaded .teh-loader { opacity: 0; visibility: hidden; pointer-events: none; }
.ti-theme-toba-emerald-heritage .teh-loader__crest { width: 76px; animation: teh-pulse 2.4s ease-in-out infinite; }
.ti-theme-toba-emerald-heritage .teh-loader__brand { margin: 0; font-family: "Cinzel", serif; font-size: 12px; letter-spacing: .5em; padding-left: .5em; text-transform: uppercase; color: var(--teh-forest); }
.ti-theme-toba-emerald-heritage .teh-loader__line { position: relative; width: 140px; height: 1px; background: rgba(73,107,84,.25); overflow: hidden; }
.ti-theme-toba-emerald-heritage .teh-loader__line i { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(207,183,131,0), #CFB783, rgba(207,183,131,0)); animation: teh-line 1.4s ease-in-out infinite; }

/* =============================== PANGGUNG 3D =============================== */
.ti-theme-toba-emerald-heritage .teh-stage { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: linear-gradient(180deg, #F6F1E6 0%, #DDE5D8 50%, #496B54 100%); pointer-events: none; }
.ti-theme-toba-emerald-heritage.teh-stage-off .teh-stage { visibility: hidden; }
.ti-theme-toba-emerald-heritage .teh-stage__scene { position: absolute; inset: 0; opacity: 0; }
.ti-theme-toba-emerald-heritage .teh-stage__still, .ti-theme-toba-emerald-heritage .teh-stage__still img, .ti-theme-toba-emerald-heritage .teh-stage__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ti-theme-toba-emerald-heritage .teh-stage__still img { object-fit: cover; object-position: 50% 44%; transform-origin: 50% 46%; transform: scale(calc(var(--teh-push, 1) + var(--teh-q, 0) * .3)); filter: blur(calc(var(--teh-q, 0) * 2px)); transition: transform 2.8s var(--teh-ease2); will-change: transform; }
.ti-theme-toba-emerald-heritage .teh-stage__gl { opacity: 0; transition: opacity 1.4s ease; }
.ti-theme-toba-emerald-heritage.teh-gl-on .teh-stage__gl { opacity: 1; }
.ti-theme-toba-emerald-heritage .teh-stage__veil { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(24,40,31,.9) 0%, rgba(38,63,50,.55) 28%, rgba(38,63,50,0) 54%), linear-gradient(180deg, rgba(246,241,230,.35) 0%, rgba(246,241,230,0) 18%); }
.ti-theme-toba-emerald-heritage .teh-haze { position: absolute; left: 0; right: 0; bottom: 18%; height: 46%; opacity: 0; mix-blend-mode: screen; pointer-events: none; }
.ti-theme-toba-emerald-heritage .teh-haze i { position: absolute; inset: 0 -60% 0 0; background: 0 100% / 50% 100% repeat-x; opacity: .5; animation: teh-drift 80s linear infinite; }
.ti-theme-toba-emerald-heritage .teh-haze i + i { inset: 22% 0 0 -60%; opacity: .32; animation-duration: 110s; animation-direction: reverse; }
.ti-theme-toba-emerald-heritage .teh-sweep { position: absolute; inset: -10% -40%; opacity: 0; pointer-events: none; mix-blend-mode: soft-light; background: linear-gradient(100deg, rgba(255,240,200,0) 38%, rgba(255,240,200,.9) 50%, rgba(255,240,200,0) 62%); transform: translateX(-60%); }
.ti-theme-toba-emerald-heritage .teh-motes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 3; }
.ti-theme-toba-emerald-heritage .teh-motes i { position: absolute; bottom: -10px; left: calc(var(--n) * 8% + 3%); width: 3px; height: 3px; border-radius: 50%; background: radial-gradient(circle, #FFF8E2 0%, rgba(207,183,131,.95) 45%, rgba(207,183,131,0) 72%); opacity: 0; animation: teh-mote calc(18s + var(--n) * 1.4s) linear calc(var(--n) * -2.4s) infinite; }
@media (max-width: 600px) { .ti-theme-toba-emerald-heritage .teh-motes i:nth-child(n+8) { display: none; } }

/* intro: ivory-emerald → siluet Rumah Bolon → kamera mendekat → cahaya menyapu atap → gorga jelas → ulos → nama → tombol */
.ti-theme-toba-emerald-heritage.teh-ready .teh-stage__scene { animation: teh-silhouette 3.2s var(--teh-ease) .2s both; }
.ti-theme-toba-emerald-heritage.teh-ready .teh-sweep { animation: teh-sweep 2.2s ease-in-out 2.0s both; }
.ti-theme-toba-emerald-heritage.teh-ready .teh-haze { animation: teh-fade-to 2.4s ease 1.4s both; }
.ti-theme-toba-emerald-heritage.teh-ready .teh-stage .teh-motes { animation: teh-fade 2s ease 2.6s both; }

/* =============================== PEMBUKA =============================== */
.ti-theme-toba-emerald-heritage .teh-cover { position: fixed; inset: 0; z-index: 40; overflow: hidden; pointer-events: none; perspective: 1600px; transition: visibility 0s linear 2.6s; }
.ti-theme-toba-emerald-heritage .teh-cover__content, .ti-theme-toba-emerald-heritage .teh-cover button { pointer-events: auto; }
.ti-opened.ti-theme-toba-emerald-heritage .teh-cover, .teh-opened.ti-theme-toba-emerald-heritage .teh-cover { visibility: hidden; }
.ti-opened.ti-theme-toba-emerald-heritage .teh-cover *, .teh-opened.ti-theme-toba-emerald-heritage .teh-cover * { pointer-events: none; }
.ti-theme-toba-emerald-heritage .teh-panel { position: absolute; top: 0; bottom: 0; width: clamp(64px, 19vw, 300px); z-index: 3; will-change: transform; filter: drop-shadow(0 0 26px rgba(20,34,26,.45)); }
.ti-theme-toba-emerald-heritage .teh-panel img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 34% 50%; }
.ti-theme-toba-emerald-heritage .teh-panel--l { left: 0; }
.ti-theme-toba-emerald-heritage .teh-panel--r { right: 0; }
.ti-theme-toba-emerald-heritage .teh-panel--r img { transform: scaleX(-1); }
.ti-theme-toba-emerald-heritage .teh-panel__reveal { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(246,241,230,0) 0%, rgba(246,241,230,0) 40%, #E9EDE2 60%) 0 0 / 100% 260% no-repeat; background-position: 0 100%; }
.ti-theme-toba-emerald-heritage .teh-ulos { position: absolute; top: clamp(78px, 15vw, 190px); z-index: 4; width: clamp(34px, 8vw, 96px); transform-origin: 50% 0; filter: drop-shadow(0 12px 14px rgba(20,34,26,.4)); opacity: 0; }
.ti-theme-toba-emerald-heritage .teh-ulos--l { left: calc(clamp(64px, 19vw, 300px) - 8px); }
.ti-theme-toba-emerald-heritage .teh-ulos--r { right: calc(clamp(64px, 19vw, 300px) - 8px); }
.ti-theme-toba-emerald-heritage .teh-beam { position: absolute; left: 50%; top: 0; z-index: 5; width: max(100vw, 620px); translate: -50% 0; transform-origin: 50% 0; will-change: transform; filter: drop-shadow(0 14px 18px rgba(20,34,26,.4)); }
.ti-theme-toba-emerald-heritage .teh-beam img, .ti-theme-toba-emerald-heritage .teh-beam picture { display: block; width: 100%; height: auto; }
.ti-theme-toba-emerald-heritage .teh-fg { position: absolute; bottom: -3vh; width: min(52vw, 430px); z-index: 7; opacity: 0; filter: blur(3px) brightness(.75); will-change: transform, filter; }
.ti-theme-toba-emerald-heritage .teh-fg--l { left: -10vw; transform-origin: 0 100%; }
.ti-theme-toba-emerald-heritage .teh-fg--r { right: -10vw; transform: scaleX(-1); transform-origin: 50% 100%; }
.ti-theme-toba-emerald-heritage .teh-cover__content { position: absolute; left: 50%; bottom: max(4.5vh, 26px); z-index: 8; width: min(84vw, 560px); translate: -50% 0; display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--teh-ivory); transition: opacity .8s ease, transform 1.2s var(--teh-ease), filter .8s ease; }
.ti-theme-toba-emerald-heritage .teh-cover__content::before { content: ""; position: absolute; left: -12%; right: -12%; top: -8%; bottom: -10%; z-index: -1; background: radial-gradient(closest-side, rgba(24,40,31,.62), rgba(24,40,31,.3) 60%, rgba(24,40,31,0)); pointer-events: none; }
.ti-theme-toba-emerald-heritage .teh-cover__crest { width: 62px; margin-bottom: 6px; filter: drop-shadow(0 6px 10px rgba(20,34,26,.5)); }
.ti-theme-toba-emerald-heritage .teh-cover .teh-kicker { color: #EAD9AE; text-shadow: 0 2px 10px rgba(20,34,26,.8); }
.ti-theme-toba-emerald-heritage .teh-cover__names { display: flex; flex-direction: column; align-items: center; font-family: "Playfair Display", Georgia, serif; font-weight: 400; font-size: clamp(40px, 12vw, 88px); line-height: 1.02; color: var(--teh-ivory); text-shadow: 0 4px 24px rgba(20,34,26,.75); overflow-wrap: anywhere; }
.ti-theme-toba-emerald-heritage .teh-cover__names em { font-style: italic; font-size: .45em; color: var(--teh-gold); margin: .05em 0; }
.ti-theme-toba-emerald-heritage .teh-cover__tag { margin: 10px 0 2px; font-family: "Playfair Display", serif; font-style: italic; font-size: 15.5px; color: #EDE3C6; text-shadow: 0 2px 12px rgba(20,34,26,.8); }
.ti-theme-toba-emerald-heritage .teh-cover__date { margin: 6px 0 14px; font-family: "Cinzel", serif; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: rgba(246,241,230,.94); }
.ti-theme-toba-emerald-heritage .teh-cover__guest { margin-bottom: 18px; padding: 8px 26px; border-top: 1px solid rgba(207,183,131,.6); border-bottom: 1px solid rgba(207,183,131,.6); background: linear-gradient(90deg, rgba(38,63,50,0), rgba(38,63,50,.7), rgba(38,63,50,0)); }
.ti-theme-toba-emerald-heritage .teh-cover__guest:empty { display: none; }
.ti-theme-toba-emerald-heritage .teh-cover__guest .ti-guest__label { font-size: 12px; letter-spacing: .05em; color: rgba(246,241,230,.78); }
.ti-theme-toba-emerald-heritage .teh-cover__guest .ti-guest__name { font-family: "Playfair Display", serif; font-size: 21px; color: #EAD9AE; }
.ti-theme-toba-emerald-heritage .teh-flash { position: absolute; inset: -20% -40%; z-index: 9; pointer-events: none; opacity: 0; background: radial-gradient(40% 50% at 50% 50%, rgba(255,246,222,.6), rgba(255,246,222,0) 70%), linear-gradient(105deg, rgba(255,246,222,0) 38%, rgba(255,246,222,.55) 50%, rgba(255,246,222,0) 62%); }

/* fase pembuka (sekali jalan) */
.ti-theme-toba-emerald-heritage .teh-panel { transform: translateX(-104%); }
.ti-theme-toba-emerald-heritage .teh-panel--r { transform: translateX(104%); }
.ti-theme-toba-emerald-heritage .teh-beam { transform: translateY(-105%); }
.ti-theme-toba-emerald-heritage .teh-fg, .ti-theme-toba-emerald-heritage .teh-cover__content > * { opacity: 0; }
.ti-theme-toba-emerald-heritage.teh-ready .teh-panel--l { animation: teh-in-l 1.6s var(--teh-ease2) 1.3s both; }
.ti-theme-toba-emerald-heritage.teh-ready .teh-panel--r { animation: teh-in-r 1.6s var(--teh-ease2) 1.3s both; }
.ti-theme-toba-emerald-heritage.teh-ready .teh-beam { animation: teh-drop 1.5s var(--teh-ease) 1.5s both; }
.ti-theme-toba-emerald-heritage.teh-ready .teh-panel__reveal { animation: teh-gorga-reveal 1.8s ease 2.1s both; }
.ti-theme-toba-emerald-heritage.teh-ready .teh-ulos { animation: teh-ulos-in 1.4s var(--teh-ease) 2.7s both, teh-ulos-sway 7s ease-in-out 4.1s infinite; }
.ti-theme-toba-emerald-heritage.teh-ready .teh-ulos--r { animation: teh-ulos-in 1.4s var(--teh-ease) 2.8s both, teh-ulos-sway-r 7.5s ease-in-out 4.2s infinite; }
.ti-theme-toba-emerald-heritage.teh-ready .teh-fg--l { animation: teh-dof-l 2s var(--teh-ease) 2.2s both; }
.ti-theme-toba-emerald-heritage.teh-ready .teh-fg--r { animation: teh-dof-r 2s var(--teh-ease) 2.3s both; }
.ti-theme-toba-emerald-heritage.teh-ready .teh-cover__content > * { animation: teh-up 1.2s var(--teh-ease) both; }
.ti-theme-toba-emerald-heritage.teh-ready .teh-cover__content > :nth-child(1) { animation-delay: 3.0s; }
.ti-theme-toba-emerald-heritage.teh-ready .teh-cover__content > :nth-child(2) { animation-delay: 3.1s; }
.ti-theme-toba-emerald-heritage.teh-ready .teh-cover__content > :nth-child(3) { animation-delay: 3.25s; }
.ti-theme-toba-emerald-heritage.teh-ready .teh-cover__content > :nth-child(4) { animation-delay: 3.4s; }
.ti-theme-toba-emerald-heritage.teh-ready .teh-cover__content > :nth-child(5) { animation-delay: 3.5s; }
.ti-theme-toba-emerald-heritage.teh-ready .teh-cover__content > :nth-child(6) { animation-delay: 3.6s; }
.ti-theme-toba-emerald-heritage.teh-ready .teh-cover__content > :nth-child(7) { animation: teh-up 1.2s var(--teh-ease) 3.8s both, teh-glow 3.4s ease-in-out 5.2s infinite; }

/* buka: panel kayu bergeser membuka, balok naik (kamera masuk), ulos tersibak, rumput lewat kamera, kilau cahaya */
.ti-opened.ti-theme-toba-emerald-heritage .teh-panel--l, .teh-opened.ti-theme-toba-emerald-heritage .teh-panel--l { animation: teh-open-l 2s cubic-bezier(.6,0,.2,1) both; }
.ti-opened.ti-theme-toba-emerald-heritage .teh-panel--r, .teh-opened.ti-theme-toba-emerald-heritage .teh-panel--r { animation: teh-open-r 2s cubic-bezier(.6,0,.2,1) both; }
.ti-opened.ti-theme-toba-emerald-heritage .teh-beam, .teh-opened.ti-theme-toba-emerald-heritage .teh-beam { animation: teh-lift 1.8s var(--teh-ease2) .15s both; }
.ti-opened.ti-theme-toba-emerald-heritage .teh-ulos--l, .teh-opened.ti-theme-toba-emerald-heritage .teh-ulos--l { animation: teh-ulos-out-l 1.6s var(--teh-ease2) both; }
.ti-opened.ti-theme-toba-emerald-heritage .teh-ulos--r, .teh-opened.ti-theme-toba-emerald-heritage .teh-ulos--r { animation: teh-ulos-out-r 1.6s var(--teh-ease2) both; }
.ti-opened.ti-theme-toba-emerald-heritage .teh-fg--l, .teh-opened.ti-theme-toba-emerald-heritage .teh-fg--l { animation: teh-pass-l 2.1s var(--teh-ease2) .2s both; }
.ti-opened.ti-theme-toba-emerald-heritage .teh-fg--r, .teh-opened.ti-theme-toba-emerald-heritage .teh-fg--r { animation: teh-pass-r 2.1s var(--teh-ease2) .2s both; }
.ti-opened.ti-theme-toba-emerald-heritage .teh-cover__content, .teh-opened.ti-theme-toba-emerald-heritage .teh-cover__content { opacity: 0; transform: translateY(-14px) scale(.96); filter: blur(6px); }
.ti-opened.ti-theme-toba-emerald-heritage .teh-flash, .teh-opened.ti-theme-toba-emerald-heritage .teh-flash { animation: teh-flare 1.8s cubic-bezier(.45,0,.3,1) .3s both; }
.ti-opened.ti-theme-toba-emerald-heritage, .teh-opened.ti-theme-toba-emerald-heritage { --teh-push: 1.16; }

/* =============================== NAVIGASI & TOAST =============================== */
.ti-theme-toba-emerald-heritage .teh-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 rgba(207,183,131,.65); border-radius: 999px; background: rgba(38,63,50,.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 14px 30px -14px rgba(20,34,26,.9); transform: translateY(160%); opacity: 0; transition: transform .7s var(--teh-ease), opacity .5s ease; }
.ti-theme-toba-emerald-heritage .teh-nav::-webkit-scrollbar { display: none; }
.ti-opened.ti-theme-toba-emerald-heritage .teh-nav, .teh-opened.ti-theme-toba-emerald-heritage .teh-nav { transform: none; opacity: 1; transition-delay: 2.4s; }
.ti-opened.ti-theme-toba-emerald-heritage .teh-nav.is-hidden, .teh-opened.ti-theme-toba-emerald-heritage .teh-nav.is-hidden { transform: translateY(160%); opacity: 0; transition-delay: 0s; }
.ti-theme-toba-emerald-heritage .teh-nav a { position: relative; display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; color: #EAD9AE; text-decoration: none; transition: color .3s, background .4s; }
.ti-theme-toba-emerald-heritage .teh-nav a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ti-theme-toba-emerald-heritage .teh-nav a:hover, .ti-theme-toba-emerald-heritage .teh-nav a.is-active { color: #FFF8E6; background: rgba(207,183,131,.24); }
.ti-theme-toba-emerald-heritage .teh-toast { position: fixed; left: 50%; bottom: 74px; z-index: 70; max-width: calc(100vw - 32px); padding: 12px 22px; border: 1px solid rgba(207,183,131,.75); border-radius: 3px; background: rgba(38,63,50,.97); color: var(--teh-ivory); font-family: "Cinzel", serif; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; text-align: center; box-shadow: 0 18px 30px -16px rgba(20,34,26,.9); opacity: 0; transform: translate(-50%, 14px); pointer-events: none; transition: opacity .45s ease, transform .55s var(--teh-ease); }
.ti-theme-toba-emerald-heritage .teh-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.ti-theme-toba-emerald-heritage .teh-toast::before { content: "\2726"; margin-right: 10px; color: var(--teh-gold); }

/* =============================== MAIN =============================== */
.ti-theme-toba-emerald-heritage .teh-main { position: relative; z-index: 2; overflow: clip; background: transparent; }
.ti-theme-toba-emerald-heritage .teh-section { position: relative; padding: 92px 20px; text-align: center; overflow: hidden; }
.ti-theme-toba-emerald-heritage .teh-section > * { position: relative; z-index: 1; }
.ti-theme-toba-emerald-heritage .teh-head { margin: 0 auto 30px; }
.ti-theme-toba-emerald-heritage .teh-head__crest { display: block; width: 66px; height: auto; margin: 0 auto 10px; filter: drop-shadow(0 6px 8px rgba(38,63,50,.2)); animation: teh-float 6s ease-in-out infinite; }
.ti-theme-toba-emerald-heritage .teh-head .teh-divider { clip-path: inset(0 50% 0 50%); transition: clip-path 1.6s var(--teh-ease) .4s; }
.ti-theme-toba-emerald-heritage .teh-head.is-shown .teh-divider { clip-path: inset(0 0 0 0); }
/* ivory: kertas hangat dengan kisi belah ketupat sage tipis (seperti anyaman) */
.ti-theme-toba-emerald-heritage .teh-ivory { background: radial-gradient(110% 60% at 50% 0%, #FFFDF8 0%, rgba(255,253,248,0) 70%), var(--teh-ivory); }
.ti-theme-toba-emerald-heritage .teh-ivory::before, .ti-theme-toba-emerald-heritage .teh-sage::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55; background: repeating-linear-gradient(45deg, rgba(73,107,84,.08) 0 1px, transparent 1px 30px), repeating-linear-gradient(-45deg, rgba(73,107,84,.08) 0 1px, transparent 1px 30px); -webkit-mask-image: linear-gradient(180deg, #000, rgba(0,0,0,.15) 35%, rgba(0,0,0,.15) 65%, #000); mask-image: linear-gradient(180deg, #000, rgba(0,0,0,.15) 35%, rgba(0,0,0,.15) 65%, #000); }
.ti-theme-toba-emerald-heritage .teh-sage { background: linear-gradient(180deg, #EEF1E8 0%, #E1E8DB 55%, #D5DFCF 100%); }
/* emerald: hanya untuk Acara & Hadiah */
.ti-theme-toba-emerald-heritage .teh-emerald { color: var(--teh-ivory); background: radial-gradient(90% 45% at 50% 0%, rgba(167,183,160,.28), rgba(167,183,160,0) 70%), linear-gradient(180deg, #2E4B3B 0%, #3A5C47 55%, #263F32 100%); }
.ti-theme-toba-emerald-heritage .teh-emerald::before { content: ""; position: absolute; inset: 0; z-index: 0; background: url(assets/tex/ulos.webp) 0 0 / 320px auto; opacity: .05; pointer-events: none; }
.ti-theme-toba-emerald-heritage .teh-emerald .teh-title { color: var(--teh-ivory); }
.ti-theme-toba-emerald-heritage .teh-emerald .teh-kicker, .ti-theme-toba-emerald-heritage .teh-emerald .teh-label { color: #EAD9AE; }

/* HERO */
.ti-theme-toba-emerald-heritage .teh-hero { position: relative; height: 210vh; }
.ti-theme-toba-emerald-heritage .teh-hero__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
@supports (height: 100svh) { .ti-theme-toba-emerald-heritage .teh-hero__sticky { height: 100svh; } }
.ti-theme-toba-emerald-heritage .teh-hero__content { position: absolute; left: 50%; bottom: max(9vh, 64px); width: min(88vw, 640px); translate: -50% calc(var(--teh-q, 0) * -120px); opacity: 0; text-align: center; color: var(--teh-ivory); transition: opacity 1.4s ease; }
.ti-opened.ti-theme-toba-emerald-heritage .teh-hero__content, .teh-opened.ti-theme-toba-emerald-heritage .teh-hero__content { opacity: calc(1 - var(--teh-q, 0) * 1.8); transition-delay: 2s; }
.ti-theme-toba-emerald-heritage .teh-hero .teh-kicker { color: #EAD9AE; text-shadow: 0 2px 10px rgba(20,34,26,.8); }
.ti-theme-toba-emerald-heritage .teh-hero__names { display: flex; flex-direction: column; align-items: center; font-family: "Playfair Display", Georgia, serif; font-size: clamp(46px, 13vw, 100px); line-height: 1.02; color: var(--teh-ivory); text-shadow: 0 6px 30px rgba(20,34,26,.75); overflow-wrap: anywhere; }
.ti-theme-toba-emerald-heritage .teh-hero__names em { font-style: italic; font-size: .42em; color: var(--teh-gold); margin: .05em 0; }
.ti-theme-toba-emerald-heritage .teh-hero__date { margin: 14px 0 22px; font-family: "Cinzel", serif; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: rgba(246,241,230,.95); }
.ti-theme-toba-emerald-heritage .teh-explore { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; font-family: "Cinzel", serif; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: #EAD9AE; text-decoration: none; }
.ti-theme-toba-emerald-heritage .teh-explore i { position: relative; width: 22px; height: 36px; border: 1px solid rgba(234,217,174,.8); border-radius: 12px; }
.ti-theme-toba-emerald-heritage .teh-explore i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px; background: var(--teh-gold); animation: teh-wheel 2s ease-in-out infinite; }
.ti-theme-toba-emerald-heritage .teh-hero__fg { position: absolute; bottom: -4vh; width: min(50vw, 420px); opacity: 0; pointer-events: none; filter: blur(calc(4px - var(--teh-q, 0) * 4px)) brightness(.8); transition: opacity 1.4s ease; }
.ti-opened.ti-theme-toba-emerald-heritage .teh-hero__fg, .teh-opened.ti-theme-toba-emerald-heritage .teh-hero__fg { opacity: .95; transition-delay: 1.8s; }
.ti-theme-toba-emerald-heritage .teh-hero__fg--l { left: -12vw; transform: translate(calc(var(--teh-q, 0) * -40%), calc(var(--teh-q, 0) * 16%)) scale(calc(1 + var(--teh-q, 0) * .35)); transform-origin: 0 100%; }
.ti-theme-toba-emerald-heritage .teh-hero__fg--r { right: -12vw; transform: translate(calc(var(--teh-q, 0) * 40%), calc(var(--teh-q, 0) * 16%)) scale(calc(-1 - var(--teh-q, 0) * .35), calc(1 + var(--teh-q, 0) * .35)); transform-origin: 50% 100%; }
.ti-theme-toba-emerald-heritage .teh-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30vh; background: linear-gradient(180deg, rgba(246,241,230,0), var(--teh-ivory)); pointer-events: none; }

/* MEMPELAI + bingkai foto 3D */
.ti-theme-toba-emerald-heritage .teh-couple { padding-top: 0; }
.ti-theme-toba-emerald-heritage .teh-couple > .teh-strip { margin: 0 -20px 64px; }
.ti-theme-toba-emerald-heritage .teh-couple__grid { display: grid; grid-template-columns: 1fr; gap: 6px; max-width: 1080px; margin: 34px auto 0; align-items: start; }
.ti-theme-toba-emerald-heritage .teh-person { max-width: 480px; margin: 0 auto; }
.ti-theme-toba-emerald-heritage .teh-frame { position: relative; width: min(94vw, 470px); aspect-ratio: 1000 / 1500; margin: 0 auto 14px; perspective: 1200px; }
.ti-theme-toba-emerald-heritage .teh-frame__photo { position: absolute; left: 15%; top: 26.5%; width: 70%; height: 62.4%; overflow: hidden; background: linear-gradient(160deg, #E3E8DD, #C9D4C3); }
.ti-theme-toba-emerald-heritage .teh-frame__img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 24%; }
.ti-theme-toba-emerald-heritage .teh-frame__photo .ti-couple-monogram { display: grid; place-items: center; width: 100%; height: 100%; font-family: "Playfair Display", serif; font-size: 96px; color: var(--teh-emerald); }
.ti-theme-toba-emerald-heritage .teh-frame__border { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; filter: drop-shadow(0 26px 30px rgba(38,63,50,.32)); }
.ti-theme-toba-emerald-heritage .teh-frame__sweep { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, rgba(255,240,200,0) 40%, rgba(255,240,200,.75) 50%, rgba(255,240,200,0) 60%) -100% 0 / 260% 100% no-repeat; mix-blend-mode: soft-light; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; opacity: 0; }
.ti-theme-toba-emerald-heritage .teh-frame__floral { position: absolute; left: -11%; bottom: -4%; width: 42%; pointer-events: none; filter: drop-shadow(0 10px 12px rgba(38,63,50,.25)); }
.ti-theme-toba-emerald-heritage .teh-person--bride .teh-frame__floral { left: auto; right: -11%; transform: scaleX(-1); }
.ti-theme-toba-emerald-heritage .teh-person__nick { font-family: "Playfair Display", serif; font-style: italic; font-size: clamp(40px, 11vw, 58px); line-height: 1.08; color: var(--teh-forest); }
.ti-theme-toba-emerald-heritage .teh-person__name { font-family: "Cinzel", serif; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: #8C7444; margin: 8px 0 10px; }
.ti-theme-toba-emerald-heritage .teh-couple__amp { font-family: "Playfair Display", serif; font-style: italic; font-size: 64px; line-height: 1; color: var(--teh-gold); margin: 14px 0 22px; }

/* SCENE penuh layar */
.ti-theme-toba-emerald-heritage .teh-scene { position: relative; display: flex; align-items: flex-end; justify-content: center; height: clamp(460px, 86vh, 820px); overflow: hidden; text-align: center; background: var(--teh-forest); }
.ti-theme-toba-emerald-heritage .teh-scene__img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; transform: translateY(calc((var(--p, .5) - .5) * -70px)) scale(calc(1.16 - var(--p, .5) * .14)); will-change: transform; }
.ti-theme-toba-emerald-heritage .teh-scene--tq .teh-scene__img { object-position: 34% 46%; }
.ti-theme-toba-emerald-heritage .teh-scene--pano .teh-scene__img { object-position: 52% 50%; }
.ti-theme-toba-emerald-heritage .teh-scene__mist { position: absolute; left: -30%; right: -30%; bottom: 14%; height: 40%; background: 0 100% / 50% 100% repeat-x; opacity: .45; mix-blend-mode: screen; animation: teh-drift 90s linear infinite; pointer-events: none; }
.ti-theme-toba-emerald-heritage .teh-scene__veil { position: absolute; inset: 0; background: linear-gradient(180deg, var(--teh-ivory) 0%, rgba(246,241,230,0) 12%, rgba(38,63,50,0) 46%, rgba(30,50,40,.82) 88%, #263F32 100%); }
.ti-theme-toba-emerald-heritage .teh-scene--pano .teh-scene__veil { background: linear-gradient(180deg, #E1E8DB 0%, rgba(225,232,219,0) 14%, rgba(38,63,50,0) 46%, rgba(30,50,40,.8) 86%, var(--teh-ivory) 100%); }
.ti-theme-toba-emerald-heritage .teh-scene__text { position: relative; z-index: 2; max-width: 640px; padding: 0 24px 64px; color: var(--teh-ivory); }
.ti-theme-toba-emerald-heritage .teh-scene--pano .teh-scene__text { padding-bottom: 104px; }
.ti-theme-toba-emerald-heritage .teh-scene__text .teh-kicker, .ti-theme-toba-emerald-heritage .teh-scene__text .teh-label { color: #EAD9AE; }
.ti-theme-toba-emerald-heritage .teh-quote { margin: 0 0 12px; font-family: "Playfair Display", serif; font-style: italic; font-size: clamp(20px, 5.4vw, 30px); line-height: 1.5; text-shadow: 0 4px 22px rgba(20,34,26,.6); }

/* SCENE 7 — foto landscape lebar (rasio asli) */
.ti-theme-toba-emerald-heritage .teh-feature { position: relative; padding: 70px 2.5vw 84px; background: linear-gradient(180deg, #263F32 0%, #2E4B3B 40%, var(--teh-ivory) 40.1%, var(--teh-ivory) 100%); }
.ti-theme-toba-emerald-heritage .teh-feature__fig { position: relative; max-width: 1480px; margin: 0 auto; }
.ti-theme-toba-emerald-heritage .teh-feature__link { position: relative; display: block; overflow: hidden; background: #DDE5D8; box-shadow: 0 40px 60px -40px rgba(20,34,26,.85); }
.ti-theme-toba-emerald-heritage .teh-feature__link img { display: block; width: 100%; height: auto; }
.ti-theme-toba-emerald-heritage .teh-feature__link[style*="aspect-ratio"] img { height: 100%; object-fit: contain; }
.ti-theme-toba-emerald-heritage .teh-feature__link::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(246,241,230,.8); box-shadow: inset 0 0 0 4px rgba(207,183,131,.28); pointer-events: none; }
.ti-theme-toba-emerald-heritage .teh-feature figcaption { padding: 22px 16px 0; text-align: center; }
.ti-theme-toba-emerald-heritage .teh-feature figcaption strong { display: block; font-family: "Playfair Display", serif; font-style: italic; font-weight: 400; font-size: clamp(30px, 7vw, 48px); color: var(--teh-forest); }

/* SCENE 3 — Close-up gorga: cahaya menyapu & ukiran tersingkap mengikuti gulir */
.ti-theme-toba-emerald-heritage .teh-gorga { position: relative; min-height: 92vh; display: flex; align-items: flex-end; justify-content: center; padding: 0 22px 70px; overflow: hidden; text-align: center; background: #1B1A18; color: var(--teh-ivory); }
.ti-theme-toba-emerald-heritage .teh-gorga__img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; object-position: 40% 40%; transform: translateY(calc((var(--p, .5) - .5) * -60px)) scale(calc(1.12 - var(--p, .5) * .08)); filter: grayscale(calc(1 - min(1, var(--p, .5) * 2.2))) brightness(calc(.6 + min(1, var(--p, .5) * 2) * .45)); }
.ti-theme-toba-emerald-heritage .teh-gorga__light { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; background: linear-gradient(100deg, rgba(255,232,180,0) 30%, rgba(255,232,180,.9) 50%, rgba(255,232,180,0) 70%) 0 0 / 250% 100% no-repeat; background-position: calc(160% - var(--p, .5) * 220%) 0; }
.ti-theme-toba-emerald-heritage .teh-gorga__veil { position: absolute; inset: 0; background: linear-gradient(180deg, var(--teh-ivory) 0%, rgba(246,241,230,0) 10%, rgba(27,26,24,0) 45%, rgba(27,26,24,.85) 86%, #1B1A18 100%); }
.ti-theme-toba-emerald-heritage .teh-gorga__text { position: relative; z-index: 2; max-width: 640px; }
.ti-theme-toba-emerald-heritage .teh-gorga__text .teh-kicker { color: #EAD9AE; }

/* POTRET EDITORIAL */
.ti-theme-toba-emerald-heritage .teh-portrait { position: relative; padding: 84px 20px 94px; overflow: hidden; text-align: center; background: linear-gradient(180deg, #1B1A18 0%, #2E4B3B 30%, var(--teh-ivory) 30.1%); }
.ti-theme-toba-emerald-heritage .teh-portrait__fig { position: relative; z-index: 1; width: min(84vw, 540px); margin: 0 auto; padding: 22px 12px 12px; background: #FBF7EE; box-shadow: 0 50px 70px -40px rgba(20,34,26,.9), inset 0 0 0 1px rgba(207,183,131,.8); }
.ti-theme-toba-emerald-heritage .teh-portrait__fig::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: url(assets/tex/gorga-strip-sm.webp) 0 50% / auto 100% repeat-x; }
.ti-theme-toba-emerald-heritage .teh-portrait__fig a { display: block; }
.ti-theme-toba-emerald-heritage .teh-portrait__fig img { display: block; width: 100%; height: auto; }
.ti-theme-toba-emerald-heritage .teh-portrait__ulos { position: absolute; top: 0; height: clamp(140px, 30vw, 300px); width: auto; z-index: 2; transform-origin: 50% 0; filter: drop-shadow(0 14px 16px rgba(20,34,26,.35)); }
.ti-theme-toba-emerald-heritage .teh-portrait__ulos--l { left: max(2vw, calc(50% - min(42vw, 270px) - 10vw)); animation: teh-ulos-sway 7s ease-in-out infinite; }
.ti-theme-toba-emerald-heritage .teh-portrait__ulos--r { right: max(2vw, calc(50% - min(42vw, 270px) - 10vw)); animation: teh-ulos-sway-r 7.5s ease-in-out infinite; }
.ti-theme-toba-emerald-heritage .teh-portrait__cap { position: relative; z-index: 1; margin: 30px 0 0; font-family: "Playfair Display", serif; font-style: italic; font-size: clamp(28px, 7vw, 44px); color: var(--teh-forest); }

/* KISAH KAMI */
.ti-theme-toba-emerald-heritage .teh-band { position: relative; height: clamp(230px, 54vw, 480px); margin: -92px -20px 34px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.ti-theme-toba-emerald-heritage .teh-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-toba-emerald-heritage .teh-chapters { max-width: 1080px; margin: 0 auto; text-align: left; }
.ti-theme-toba-emerald-heritage .teh-chapter { position: relative; display: grid; grid-template-columns: 1fr; gap: 22px; align-items: center; margin: 0 0 28px; }
.ti-theme-toba-emerald-heritage .teh-chapter__media { position: relative; padding: 9px; background: #FBF7EE; box-shadow: 0 30px 46px -30px rgba(38,63,50,.6), inset 0 0 0 1px rgba(207,183,131,.7); }
.ti-theme-toba-emerald-heritage .teh-chapter__media::before { content: ""; position: absolute; left: 22px; top: -9px; width: 30px; height: 46px; background: url(assets/tex/ulos.webp) 50% 0 / 140px auto; box-shadow: 0 4px 8px rgba(38,63,50,.3); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); z-index: 1; }
.ti-theme-toba-emerald-heritage .teh-chapter__media img { display: block; width: 100%; height: auto; }
.ti-theme-toba-emerald-heritage .teh-chapter__no { display: block; font-family: "Cinzel", serif; font-size: 46px; line-height: 1; margin-bottom: 8px; color: var(--teh-terra); }
.ti-theme-toba-emerald-heritage .teh-chapter h3 { font-family: "Playfair Display", serif; font-size: 30px; line-height: 1.15; color: var(--teh-forest); margin: 2px 0 8px; }
.ti-theme-toba-emerald-heritage .teh-chapter p { margin: 0; color: var(--teh-soft); font-size: 15.5px; }
.ti-theme-toba-emerald-heritage .teh-chapter--v1 .teh-chapter__body { position: relative; margin: -60px 14px 0; padding: 26px 22px; background: rgba(251,247,238,.97); box-shadow: inset 0 0 0 1px rgba(207,183,131,.6), 0 30px 40px -30px rgba(38,63,50,.5); }
.ti-theme-toba-emerald-heritage .teh-chapter--v1.teh-chapter--text .teh-chapter__body { margin-top: 0; }
.ti-theme-toba-emerald-heritage .teh-chapter--v2 .teh-chapter__body { border-left: 2px solid rgba(155,64,59,.5); padding-left: 20px; }
.ti-theme-toba-emerald-heritage .teh-chapter--text { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }
/* pembatas antar bab: pita ulos + gorga */
.ti-theme-toba-emerald-heritage .teh-chapter__sep { position: relative; height: 40px; max-width: 520px; margin: 18px auto 46px; }
.ti-theme-toba-emerald-heritage .teh-sep__ulos { position: absolute; left: 0; right: 0; top: 8px; height: 14px; background: url(assets/tex/ulos.webp) 50% 30% / 220px auto; -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }
.ti-theme-toba-emerald-heritage .teh-sep__gorga { position: absolute; left: 50%; top: 0; width: 120px; height: 30px; margin-left: -60px; background: url(assets/img/divider.svg) 50% 50% / 340px auto no-repeat; }

/* HARI BAHAGIA */
.ti-theme-toba-emerald-heritage .teh-band--dark { -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent); mask-image: linear-gradient(180deg, #000 45%, transparent); }
.ti-theme-toba-emerald-heritage .teh-band--light { -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent); mask-image: linear-gradient(180deg, #000 50%, transparent); }
.ti-theme-toba-emerald-heritage .teh-events__grid { display: grid; grid-template-columns: 1fr; gap: 50px; max-width: 980px; margin: 30px auto 0; }
.ti-theme-toba-emerald-heritage .teh-card { position: relative; padding: 0 24px 32px; color: var(--teh-ink); background: linear-gradient(180deg, #FFFDF8, var(--teh-ivory)); box-shadow: 0 40px 60px -36px rgba(14,24,18,.9), inset 0 0 0 1px rgba(207,183,131,.75); transition: transform .6s var(--teh-ease); }
.ti-theme-toba-emerald-heritage .teh-card:hover { transform: translateY(-5px); }
.ti-theme-toba-emerald-heritage .teh-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: url(assets/tex/wood.webp) 0 0 / 200px auto; opacity: .9; }
.ti-theme-toba-emerald-heritage .teh-card__strip { display: block; height: 24px; margin: 0 -24px; background: url(assets/tex/gorga-strip-sm.webp) 0 50% / auto 100% repeat-x; border-bottom: 1px solid var(--teh-gold); }
.ti-theme-toba-emerald-heritage .teh-card__crest { display: block; width: 76px; margin: -12px auto 4px; position: relative; filter: drop-shadow(0 8px 10px rgba(38,63,50,.3)); }
.ti-theme-toba-emerald-heritage .teh-card__name { font-family: "Cinzel", serif; font-weight: 500; font-size: 22px; letter-spacing: .14em; text-transform: uppercase; color: var(--teh-forest); }
.ti-theme-toba-emerald-heritage .teh-card__day { margin: 12px 0 0; font-family: "Cinzel", serif; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: #8C7444; }
.ti-theme-toba-emerald-heritage .teh-card__date { margin: 0 0 14px; font-family: "Playfair Display", serif; font-size: 18px; color: var(--teh-emerald); }
.ti-theme-toba-emerald-heritage .teh-card__date span { display: block; font-size: 66px; line-height: 1.05; color: var(--teh-forest); }
.ti-theme-toba-emerald-heritage .teh-card__info { list-style: none; margin: 0 auto 22px; padding: 0; max-width: 340px; text-align: left; }
.ti-theme-toba-emerald-heritage .teh-card__info li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-top: 1px solid rgba(73,107,84,.22); font-size: 14.5px; color: var(--teh-soft); }
.ti-theme-toba-emerald-heritage .teh-card__info svg { flex: none; margin-top: 3px; color: var(--teh-red); }
.ti-theme-toba-emerald-heritage .teh-card__info strong { font-weight: 500; color: var(--teh-forest); }
.ti-theme-toba-emerald-heritage .teh-card__actions { margin-top: 14px; }
.ti-theme-toba-emerald-heritage .teh-card__actions .ti-btn--maps { display: none; }
.ti-theme-toba-emerald-heritage .ti-btn { border-radius: 3px; font-family: "Jost", sans-serif; font-weight: 400; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; transition: transform .4s var(--teh-ease), background .4s, color .4s; }
.ti-theme-toba-emerald-heritage .ti-btn--primary, .ti-theme-toba-emerald-heritage .ti-btn--maps { background: var(--teh-emerald); border-color: var(--teh-emerald); color: var(--teh-ivory); }
.ti-theme-toba-emerald-heritage .ti-btn--ghost { background: transparent; border-color: rgba(73,107,84,.5); color: var(--teh-emerald); }
.ti-theme-toba-emerald-heritage .ti-btn:hover { transform: translateY(-2px); }

/* COUNTDOWN */
.ti-theme-toba-emerald-heritage .teh-count { position: relative; display: flex; align-items: center; justify-content: center; min-height: 90vh; padding: 110px 20px; overflow: hidden; text-align: center; color: var(--teh-ivory); background: var(--teh-forest); }
.ti-theme-toba-emerald-heritage .teh-count .teh-scene__img { object-position: 30% 50%; }
.ti-theme-toba-emerald-heritage .teh-count__veil { position: absolute; inset: 0; background: linear-gradient(180deg, var(--teh-ivory) 0%, rgba(38,63,50,.25) 16%, rgba(38,63,50,.4) 70%, var(--teh-forest) 100%), radial-gradient(60% 40% at 50% 52%, rgba(38,63,50,.55), rgba(38,63,50,0)); }
.ti-theme-toba-emerald-heritage .teh-count__inner { position: relative; z-index: 1; width: 100%; max-width: 640px; }
.ti-theme-toba-emerald-heritage .teh-count__crest { width: 72px; margin: 0 auto 8px; display: block; }
.ti-theme-toba-emerald-heritage .teh-count .teh-kicker { color: #EAD9AE; }
.ti-theme-toba-emerald-heritage .teh-count .teh-title { color: var(--teh-ivory); text-shadow: 0 4px 20px rgba(20,34,26,.6); }
.ti-theme-toba-emerald-heritage .teh-countdown { display: flex; justify-content: center; max-width: 580px; margin: 26px auto 0; border-top: 1px solid rgba(207,183,131,.65); border-bottom: 1px solid rgba(207,183,131,.65); background: linear-gradient(90deg, rgba(38,63,50,0), rgba(38,63,50,.6), rgba(38,63,50,0)); }
.ti-theme-toba-emerald-heritage .teh-countdown .ti-countdown__item { position: relative; flex: 1; padding: 20px 4px 16px; background: transparent; }
.ti-theme-toba-emerald-heritage .teh-countdown .ti-countdown__item + .ti-countdown__item::before { content: ""; position: absolute; left: -4px; top: 50%; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 7px solid var(--teh-red); transform: translateY(-50%); }
.ti-theme-toba-emerald-heritage .teh-countdown .ti-countdown__num { display: block; font-family: "Playfair Display", serif; font-size: clamp(38px, 11.5vw, 64px); line-height: 1.05; color: var(--teh-ivory); text-shadow: 0 4px 18px rgba(20,34,26,.5); }
.ti-theme-toba-emerald-heritage .teh-countdown .ti-countdown__label { display: block; font-family: "Cinzel", serif; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--teh-gold); opacity: 1; }
.ti-theme-toba-emerald-heritage .teh-count__date { margin: 26px 0 0; font-family: "Cinzel", serif; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: rgba(246,241,230,.9); }

/* VIDEO */
.ti-theme-toba-emerald-heritage .teh-video { max-width: 880px; margin: 0 auto; padding: 8px; border: 1px solid rgba(207,183,131,.6); }

/* MOMEN KAMI — galeri editorial (potret besar, landscape lebar, detail), reveal bertahap */
.ti-theme-toba-emerald-heritage .teh-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; gap: 8px; max-width: 1280px; margin: 0 auto; text-align: left; }
.ti-theme-toba-emerald-heritage .teh-shot { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; background: #DDE5D8; box-shadow: 0 20px 34px -26px rgba(38,63,50,.8); }
.ti-theme-toba-emerald-heritage .teh-shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--teh-ease); }
.ti-theme-toba-emerald-heritage .teh-shot.is-landscape { grid-column: span 2; aspect-ratio: 3 / 2; }
.ti-theme-toba-emerald-heritage .teh-shot.is-hero { grid-column: span 2; aspect-ratio: 3 / 4; }
.ti-theme-toba-emerald-heritage .teh-shot::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(246,241,230,0); transition: border-color .6s ease, inset .6s var(--teh-ease); pointer-events: none; }
.ti-theme-toba-emerald-heritage .teh-shot:hover img { transform: scale(1.04); }
.ti-theme-toba-emerald-heritage .teh-shot:hover::after { inset: 12px; border-color: rgba(246,241,230,.85); }
.ti-theme-toba-emerald-heritage .teh-shot[data-teh-reveal] { transition-delay: calc(var(--i, 0) * .12s); }

/* RSVP & UCAPAN */
.ti-theme-toba-emerald-heritage .teh-form { position: relative; max-width: 580px; margin: 0 auto; padding: 0 24px 30px; text-align: left; background: #FFFDF8; box-shadow: 0 40px 60px -40px rgba(38,63,50,.6), inset 0 0 0 1px rgba(207,183,131,.7); }
.ti-theme-toba-emerald-heritage .teh-form > .teh-strip { margin: 0 -24px 26px; }
.ti-theme-toba-emerald-heritage .ti-field label, .ti-theme-toba-emerald-heritage .ti-field legend { font-family: "Cinzel", serif; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--teh-forest); }
.ti-theme-toba-emerald-heritage .ti-field input[type="text"], .ti-theme-toba-emerald-heritage .ti-field input[type="number"], .ti-theme-toba-emerald-heritage .ti-field input[type="tel"], .ti-theme-toba-emerald-heritage .ti-field select, .ti-theme-toba-emerald-heritage .ti-field textarea { font-family: "Jost", sans-serif; font-weight: 300; font-size: 15px; color: var(--teh-forest); border: 1px solid #CFD7C8; border-radius: 3px; background: #FFFFFF; transition: border-color .3s, box-shadow .3s; }
.ti-theme-toba-emerald-heritage .ti-field input:focus, .ti-theme-toba-emerald-heritage .ti-field select:focus, .ti-theme-toba-emerald-heritage .ti-field textarea:focus { outline: none; border-color: var(--teh-emerald); box-shadow: 0 0 0 3px rgba(73,107,84,.2); }
.ti-theme-toba-emerald-heritage .ti-choice span { font-family: "Jost", sans-serif; border-color: #CFD7C8; }
.ti-theme-toba-emerald-heritage .teh-form .ti-btn--primary, .ti-theme-toba-emerald-heritage .teh-form button[type="submit"], .ti-theme-toba-emerald-heritage .teh-wishes button[type="submit"] { width: 100%; min-height: 48px; background: linear-gradient(180deg, #3a5c47, #263F32); border-color: var(--teh-forest); color: #F2E7C8; font-family: "Cinzel", serif; letter-spacing: .22em; }
.ti-theme-toba-emerald-heritage .teh-form [class*="success"], .ti-theme-toba-emerald-heritage .teh-form [class*="alert"], .ti-theme-toba-emerald-heritage .teh-wishes [class*="success"] { border-radius: 3px; border: 1px solid rgba(207,183,131,.7); background: linear-gradient(180deg, #F7FAF4, #E8EEE3); color: var(--teh-forest); font-family: "Playfair Display", serif; font-style: italic; }
.ti-theme-toba-emerald-heritage .teh-wishes__box { max-width: 700px; margin: 0 auto; text-align: left; }
.ti-theme-toba-emerald-heritage .teh-wishes .ti-guestbook__item { position: relative; margin-bottom: 14px; padding: 20px 20px 16px 58px; border: 1px solid rgba(167,183,160,.6); border-radius: 3px; background: #FFFFFF; box-shadow: 0 18px 30px -26px rgba(38,63,50,.5); }
.ti-theme-toba-emerald-heritage .teh-wishes .ti-guestbook__item::before { content: "\201C"; position: absolute; left: 16px; top: 4px; font-family: "Playfair Display", serif; font-size: 54px; line-height: 1; color: var(--teh-terra); }
.ti-theme-toba-emerald-heritage .teh-wishes .ti-guestbook__item strong, .ti-theme-toba-emerald-heritage .teh-wishes .ti-guestbook__item b { font-family: "Cinzel", serif; font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--teh-forest); }
.ti-theme-toba-emerald-heritage .teh-wishes .ti-guestbook__item p { font-family: "Playfair Display", serif; font-style: italic; font-size: 16px; line-height: 1.6; color: var(--teh-soft); }
.ti-theme-toba-emerald-heritage .teh-wishes form, .ti-theme-toba-emerald-heritage .teh-wishes .ti-guestbook__form { padding: 22px; margin-bottom: 22px; border: 1px solid rgba(207,183,131,.5); background: #FFFDF8; }

/* TANDA KASIH */
.ti-theme-toba-emerald-heritage .teh-gift { display: grid; gap: 24px; max-width: 820px; margin: 0 auto; }
.ti-theme-toba-emerald-heritage .teh-gift .ti-gift__card { position: relative; padding: 44px 24px 34px; overflow: hidden; color: var(--teh-ink); background: linear-gradient(180deg, #FFFDF8, var(--teh-ivory)); border: 0; box-shadow: 0 40px 56px -36px rgba(14,24,18,.95), inset 0 0 0 1px rgba(207,183,131,.7); transition: transform .6s var(--teh-ease); }
.ti-theme-toba-emerald-heritage .teh-gift .ti-gift__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 20px; background: url(assets/tex/gorga-strip-sm.webp) 0 50% / auto 100% repeat-x; }
.ti-theme-toba-emerald-heritage .teh-gift .ti-gift__card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: url(assets/tex/ulos.webp) 0 40% / 260px auto; }
.ti-theme-toba-emerald-heritage .teh-gift .ti-gift__card:hover { transform: translateY(-4px); }
.ti-theme-toba-emerald-heritage .teh-gift .ti-gift__bank { font-family: "Cinzel", serif; font-size: 13px; letter-spacing: .28em; color: #8C7444; }
.ti-theme-toba-emerald-heritage .teh-gift .ti-gift__no { font-family: "Playfair Display", serif; font-size: 27px; letter-spacing: .06em; color: var(--teh-forest); overflow-wrap: anywhere; }
.ti-theme-toba-emerald-heritage .teh-gift button, .ti-theme-toba-emerald-heritage .teh-gift .ti-btn { border-color: var(--teh-emerald); background: var(--teh-forest); color: #F2E7C8; font-family: "Cinzel", serif; letter-spacing: .18em; }
.ti-theme-toba-emerald-heritage .teh-gift .is-copied { background: var(--teh-gold); color: var(--teh-forest); }

/* LOKASI — kartu beratap pelana melengkung (siluet Rumah Bolon) */
.ti-theme-toba-emerald-heritage .teh-venue__art { position: absolute; right: -8%; top: 4%; width: min(60vw, 520px); opacity: .1; z-index: 0; filter: sepia(1) hue-rotate(60deg) saturate(.6) brightness(.5); pointer-events: none; }
.ti-theme-toba-emerald-heritage .teh-venue__list { display: grid; grid-template-columns: 1fr; gap: 44px; max-width: 980px; margin: 20px auto 0; }
.ti-theme-toba-emerald-heritage .teh-place { position: relative; padding: 104px 24px 38px; background: linear-gradient(180deg, #E8EEE3, #FFFDF8 50%); clip-path: polygon(0 18px, 50% 64px, 100% 18px, 92% 84px, 92% 100%, 8% 100%, 8% 84px); }
.ti-theme-toba-emerald-heritage .teh-place::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 90px; background: linear-gradient(180deg, #363532, #1B1A18); clip-path: polygon(0 18px, 50% 64px, 100% 18px, 92% 84px, 8% 84px); }
.ti-theme-toba-emerald-heritage .teh-place::after { content: ""; position: absolute; left: 8%; right: 8%; top: 84px; height: 16px; background: url(assets/tex/gorga-strip-sm.webp) 0 50% / auto 100% repeat-x; }
.ti-theme-toba-emerald-heritage .teh-place__crest { position: absolute; left: 50%; top: 116px; width: 56px; translate: -50% 0; }
.ti-theme-toba-emerald-heritage .teh-place .teh-label { margin-top: 70px; }
.ti-theme-toba-emerald-heritage .teh-place__name { font-family: "Playfair Display", serif; font-size: 30px; line-height: 1.15; color: var(--teh-forest); margin: 4px 0 10px; }
.ti-theme-toba-emerald-heritage .teh-place__addr { max-width: 380px; margin: 0 auto 24px; font-size: 14.5px; color: var(--teh-soft); }

/* PENUTUP — Sunset Heritage Closing */
.ti-theme-toba-emerald-heritage .teh-closing { position: relative; min-height: 100vh; display: flex; align-items: flex-end; justify-content: center; padding: 160px 22px 110px; overflow: hidden; text-align: center; background: #3a3a44; }
.ti-theme-toba-emerald-heritage .teh-closing__bg, .ti-theme-toba-emerald-heritage .teh-closing__bg img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ti-theme-toba-emerald-heritage .teh-closing__bg img { object-fit: cover; object-position: 50% 45%; transform-origin: 50% 46%; transform: scale(calc(1.36 - min(var(--p, 0), .62) * .58)); will-change: transform; }
.ti-theme-toba-emerald-heritage .teh-closing__gorga { position: absolute; inset: 0; pointer-events: none; background: url(assets/tex/gorga-panel.webp) 50% 30% / 900px auto; opacity: calc(.12 - min(var(--p, 0), .6) * .12); mix-blend-mode: soft-light; }
.ti-theme-toba-emerald-heritage .teh-closing__veil { position: absolute; inset: 0; background: linear-gradient(180deg, var(--teh-ivory) 0%, rgba(246,241,230,0) 12%, rgba(38,63,50,0) 40%, rgba(30,40,40,.78) 78%, #22302A 100%); }
.ti-theme-toba-emerald-heritage .teh-closing .teh-motes i { animation-duration: calc(24s + var(--n) * 1.6s); }
.ti-theme-toba-emerald-heritage .teh-closing__ulos { position: absolute; top: 0; height: clamp(170px, 34vw, 480px); z-index: 2; transform-origin: 50% 0; filter: drop-shadow(0 16px 20px rgba(20,34,26,.45)); pointer-events: none; }
.ti-theme-toba-emerald-heritage .teh-closing__ulos--l { left: 3vw; animation: teh-ulos-sway 8s ease-in-out infinite; }
.ti-theme-toba-emerald-heritage .teh-closing__ulos--r { right: 3vw; animation: teh-ulos-sway-r 8.5s ease-in-out infinite; }
.ti-theme-toba-emerald-heritage .teh-closing__content { position: relative; z-index: 4; max-width: 680px; color: var(--teh-ivory); }
.ti-theme-toba-emerald-heritage .teh-closing__crest { width: 74px; margin: 0 auto 14px; display: block; }
.ti-theme-toba-emerald-heritage .teh-closing .teh-kicker { color: #EAD9AE; line-height: 1.9; }
.ti-theme-toba-emerald-heritage .teh-closing__names { font-family: "Playfair Display", serif; font-style: italic; font-size: clamp(42px, 12vw, 92px); line-height: 1.05; margin: 8px 0 0; color: var(--teh-ivory); text-shadow: 0 6px 30px rgba(20,34,26,.7); overflow-wrap: anywhere; }
.ti-theme-toba-emerald-heritage .teh-closing .teh-divider { margin-bottom: 20px; }
.ti-theme-toba-emerald-heritage .teh-closing__thanks { margin: 8px 0 0; font-family: "Cinzel", serif; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: #EAD9AE; }
.ti-theme-toba-emerald-heritage .teh-footer { padding: 0 16px 92px; text-align: center; background: #22302A; color: rgba(234,217,174,.85); font-family: "Cinzel", serif; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; }
.ti-theme-toba-emerald-heritage .teh-footer .teh-strip { margin: 0 auto 22px; }

/* =============================== REVEAL (sekali, tidak berulang) =============================== */
.ti-theme-toba-emerald-heritage [data-teh-reveal] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 1.1s ease, transform 1.3s var(--teh-ease); }
.ti-theme-toba-emerald-heritage [data-teh-reveal].is-shown { opacity: 1; transform: none; }
.ti-theme-toba-emerald-heritage [data-teh-reveal="photo"] { transform: scale(.965); }
.ti-theme-toba-emerald-heritage [data-teh-reveal="photo"] img, .ti-theme-toba-emerald-heritage [data-teh-reveal="photo"] .ti-couple-monogram { filter: blur(14px); opacity: 0; transform: scale(1.05); transition: filter 1.6s ease .3s, opacity 1.2s ease .3s, transform 1.8s var(--teh-ease) .3s; }
.ti-theme-toba-emerald-heritage [data-teh-reveal="photo"].is-shown img, .ti-theme-toba-emerald-heritage [data-teh-reveal="photo"].is-shown .ti-couple-monogram { filter: none; opacity: 1; transform: none; }
/* Photo reveal: bingkai → foto (blur → tajam) → ornamen → kilau → keterangan */
.ti-theme-toba-emerald-heritage [data-teh-reveal="frame"] { opacity: 1; transform: none; }
.ti-theme-toba-emerald-heritage [data-teh-reveal="frame"] .teh-frame__border { opacity: 0; transform: rotateX(14deg) translateY(28px) scale(.95); transform-origin: 50% 100%; transition: opacity 1s ease, transform 1.4s var(--teh-ease); }
.ti-theme-toba-emerald-heritage [data-teh-reveal="frame"] .teh-frame__photo { opacity: 0; transition: opacity 1.2s ease .9s; }
.ti-theme-toba-emerald-heritage [data-teh-reveal="frame"] .teh-frame__img, .ti-theme-toba-emerald-heritage [data-teh-reveal="frame"] .ti-couple-monogram { filter: blur(16px); transform: scale(1.07); transition: filter 1.6s ease .9s, transform 2s var(--teh-ease) .9s; }
.ti-theme-toba-emerald-heritage [data-teh-reveal="frame"] .teh-frame__floral { opacity: 0; transform: translate(-10px, 14px) rotate(-6deg); transition: opacity 1s ease 1.5s, transform 1.4s var(--teh-ease) 1.5s; }
.ti-theme-toba-emerald-heritage .teh-person--bride [data-teh-reveal="frame"] .teh-frame__floral { transform: translate(10px, 14px) rotate(6deg) scaleX(-1); }
.ti-theme-toba-emerald-heritage [data-teh-reveal="frame"].is-shown .teh-frame__border, .ti-theme-toba-emerald-heritage [data-teh-reveal="frame"].is-shown .teh-frame__photo { opacity: 1; transform: none; }
.ti-theme-toba-emerald-heritage [data-teh-reveal="frame"].is-shown .teh-frame__img, .ti-theme-toba-emerald-heritage [data-teh-reveal="frame"].is-shown .ti-couple-monogram { filter: none; transform: none; }
.ti-theme-toba-emerald-heritage [data-teh-reveal="frame"].is-shown .teh-frame__floral { opacity: 1; transform: none; }
.ti-theme-toba-emerald-heritage .teh-person--bride [data-teh-reveal="frame"].is-shown .teh-frame__floral { transform: scaleX(-1); }
.ti-theme-toba-emerald-heritage [data-teh-reveal="frame"].is-shown .teh-frame__sweep { animation: teh-sweep-in 1.6s ease-in-out 2s both; }
.ti-theme-toba-emerald-heritage .teh-person__info[data-teh-reveal] { transition-delay: 1.9s; }
.ti-theme-toba-emerald-heritage .teh-feature [data-teh-reveal="photo"] { transform: none; clip-path: inset(6% 8% 6% 8%); transition: opacity 1s ease, clip-path 1.8s var(--teh-ease); }
.ti-theme-toba-emerald-heritage .teh-feature [data-teh-reveal="photo"].is-shown { clip-path: inset(0 0 0 0); }

/* =============================== TABLET & DESKTOP =============================== */
@media (min-width: 760px) {
  .ti-theme-toba-emerald-heritage .teh-section { padding: 120px 40px; }
  .ti-theme-toba-emerald-heritage .teh-band { margin: -120px -40px 40px; }
  .ti-theme-toba-emerald-heritage .teh-couple > .teh-strip { margin: 0 -40px 70px; }
  .ti-theme-toba-emerald-heritage .teh-couple__grid { grid-template-columns: 1fr auto 1fr; gap: 26px; }
  .ti-theme-toba-emerald-heritage .teh-couple__amp { align-self: center; margin: -160px 0 0; font-size: 92px; }
  .ti-theme-toba-emerald-heritage .teh-frame { width: min(40vw, 460px); }
  .ti-theme-toba-emerald-heritage .teh-events__grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
  .ti-theme-toba-emerald-heritage .teh-venue__list { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
  .ti-theme-toba-emerald-heritage .teh-gift { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
  .ti-theme-toba-emerald-heritage .teh-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .ti-theme-toba-emerald-heritage .teh-chapter { grid-template-columns: 1.15fr 1fr; gap: 54px; }
  .ti-theme-toba-emerald-heritage .teh-chapter--v1 { grid-template-columns: 1fr; }
  .ti-theme-toba-emerald-heritage .teh-chapter--v1 .teh-chapter__body { max-width: 560px; margin: -90px 0 0 auto; }
  .ti-theme-toba-emerald-heritage .teh-chapter--v2 { grid-template-columns: 1fr 1.15fr; }
  .ti-theme-toba-emerald-heritage .teh-chapter--v2 .teh-chapter__media { order: 2; }
  .ti-theme-toba-emerald-heritage .teh-chapter--text { grid-template-columns: 1fr; }
  .ti-theme-toba-emerald-heritage .teh-chapter__media.is-portrait-media { max-width: 440px; justify-self: center; }
  .ti-theme-toba-emerald-heritage .teh-chapter--v1 .teh-chapter__media.is-portrait-media { max-width: 520px; }
  .ti-theme-toba-emerald-heritage .teh-nav { left: 50%; transform: translate(-50%, 160%); max-width: none; padding: 5px 8px; }
  .ti-opened.ti-theme-toba-emerald-heritage .teh-nav, .teh-opened.ti-theme-toba-emerald-heritage .teh-nav { transform: translate(-50%, 0); }
  .ti-opened.ti-theme-toba-emerald-heritage .teh-nav.is-hidden, .teh-opened.ti-theme-toba-emerald-heritage .teh-nav.is-hidden { transform: translate(-50%, 160%); }
  .ti-theme-toba-emerald-heritage .teh-nav a { width: 42px; height: 42px; }
  .ti-theme-toba-emerald-heritage .teh-cover__content { bottom: max(5vh, 34px); }
  .ti-theme-toba-emerald-heritage .teh-cover__names { font-size: clamp(44px, 6.4vw, 80px); }
  .ti-theme-toba-emerald-heritage .teh-hero__names { font-size: clamp(46px, 7vw, 92px); }
  .ti-theme-toba-emerald-heritage .teh-feature { padding: 90px 4vw 100px; }
  .ti-theme-toba-emerald-heritage .teh-portrait__ulos { height: clamp(220px, 30vw, 420px); top: 6%; }
}
@media (min-width: 1200px) { .ti-theme-toba-emerald-heritage .teh-grid { grid-template-columns: repeat(4, 1fr); } }
@media (orientation: landscape) and (min-width: 700px) {
  .ti-theme-toba-emerald-heritage .teh-cover__names, .ti-theme-toba-emerald-heritage .teh-hero__names { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 .28em; font-size: clamp(40px, 5.8vw, 84px); }
  .ti-theme-toba-emerald-heritage .teh-cover__names em, .ti-theme-toba-emerald-heritage .teh-hero__names em { margin: 0; font-size: .6em; }
  .ti-theme-toba-emerald-heritage .teh-beam { width: 100vw; max-width: 1920px; }
  .ti-theme-toba-emerald-heritage .teh-panel { width: clamp(90px, 15vw, 280px); }
  .ti-theme-toba-emerald-heritage .teh-ulos--l { left: calc(clamp(90px, 15vw, 280px) - 8px); }
  .ti-theme-toba-emerald-heritage .teh-ulos--r { right: calc(clamp(90px, 15vw, 280px) - 8px); }
  .ti-theme-toba-emerald-heritage .teh-ulos { top: clamp(90px, 33vw, 340px); }
}
@media (orientation: landscape) and (max-height: 760px) {
  .ti-theme-toba-emerald-heritage .teh-cover__crest { display: none; }
  .ti-theme-toba-emerald-heritage .teh-cover__tag { margin-top: 4px; }
  .ti-theme-toba-emerald-heritage .teh-cover__guest { margin-bottom: 12px; padding: 5px 22px; }
}
@media (max-height: 640px) and (orientation: portrait) {
  .ti-theme-toba-emerald-heritage .teh-cover__names { font-size: clamp(36px, 10.5vw, 70px); }
  .ti-theme-toba-emerald-heritage .teh-cover__crest, .ti-theme-toba-emerald-heritage .teh-cover__tag { display: none; }
}
@media (max-width: 520px) and (orientation: portrait) {
  .ti-theme-toba-emerald-heritage .teh-cover__tag { font-size: 14px; max-width: 70vw; line-height: 1.45; }
  .ti-theme-toba-emerald-heritage .teh-cover__date { letter-spacing: .2em; font-size: 11.5px; }
}
@media (max-width: 380px) {
  .ti-theme-toba-emerald-heritage .teh-cover__tag { font-size: 13.5px; }
  .ti-theme-toba-emerald-heritage .teh-cover__guest .ti-guest__name { font-size: 19px; }
  .ti-theme-toba-emerald-heritage .teh-btn { padding: 10px 24px; letter-spacing: .2em; }
}

/* Mode ringan */
.ti-theme-toba-emerald-heritage.teh-lite .teh-motes i:nth-child(n+6), .ti-theme-toba-emerald-heritage.teh-lite .teh-haze i + i, .ti-theme-toba-emerald-heritage.teh-lite .teh-scene__mist { display: none; }
.ti-theme-toba-emerald-heritage.teh-lite .teh-nav, .ti-theme-toba-emerald-heritage.teh-lite .teh-cover__guest { backdrop-filter: none; -webkit-backdrop-filter: none; }
.ti-theme-toba-emerald-heritage.teh-lite .teh-fg, .ti-theme-toba-emerald-heritage.teh-lite .teh-hero__fg, .ti-theme-toba-emerald-heritage.teh-lite .teh-stage__still img { filter: none; }

/* Gerak dikurangi: panel langsung terbuka, tanpa parallax / animasi besar */
@media (prefers-reduced-motion: reduce) {
  .ti-theme-toba-emerald-heritage *, .ti-theme-toba-emerald-heritage *::before, .ti-theme-toba-emerald-heritage *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .ti-theme-toba-emerald-heritage .teh-scene__img, .ti-theme-toba-emerald-heritage .teh-band img, .ti-theme-toba-emerald-heritage .teh-gorga__img, .ti-theme-toba-emerald-heritage .teh-closing__bg img, .ti-theme-toba-emerald-heritage .teh-stage__still img { transform: none !important; filter: none !important; }
}

/* Animasi */
@keyframes teh-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes teh-fade-to { from { opacity: 0; } to { opacity: .85; } }
@keyframes teh-up { from { opacity: 0; transform: translate3d(0, 22px, 0); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes teh-silhouette { 0% { opacity: 0; filter: brightness(1.6) contrast(.35) saturate(0) blur(6px); transform: scale(1.0); } 30% { opacity: 1; filter: brightness(.55) contrast(1.3) saturate(.2) blur(2px); } 100% { opacity: 1; filter: none; transform: none; } }
@keyframes teh-sweep { 0% { opacity: 0; transform: translateX(-60%); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateX(60%); } }
@keyframes teh-sweep-in { 0% { opacity: 0; background-position: -100% 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; background-position: 200% 0; } }
@keyframes teh-in-l { from { transform: translateX(-104%); } to { transform: none; } }
@keyframes teh-in-r { from { transform: translateX(104%); } to { transform: none; } }
@keyframes teh-drop { from { transform: translateY(-105%); } to { transform: none; } }
@keyframes teh-gorga-reveal { from { background-position: 0 100%; } to { background-position: 0 0; } }
@keyframes teh-ulos-in { from { opacity: 0; transform: translateY(-30%) scaleY(.6); } to { opacity: 1; transform: none; } }
@keyframes teh-ulos-sway { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(1.6deg) skewX(-.6deg); } }
@keyframes teh-ulos-sway-r { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-1.6deg) skewX(.6deg); } }
@keyframes teh-ulos-out-l { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(-140%) rotate(-8deg); } }
@keyframes teh-ulos-out-r { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(140%) rotate(8deg); } }
@keyframes teh-open-l { 0% { transform: none; } 15% { transform: translateX(4%); } 100% { transform: translateX(-112%) perspective(1600px) rotateY(18deg); opacity: .6; } }
@keyframes teh-open-r { 0% { transform: none; } 15% { transform: translateX(-4%); } 100% { transform: translateX(112%) perspective(1600px) rotateY(-18deg); opacity: .6; } }
@keyframes teh-lift { 0% { transform: none; } 100% { transform: translateY(-115%) scale(1.4); opacity: 0; } }
@keyframes teh-dof-l { from { opacity: 0; transform: translate(-16%, 10%) scale(1.08); filter: blur(12px) brightness(.75); } to { opacity: 1; transform: none; filter: blur(3px) brightness(.75); } }
@keyframes teh-dof-r { from { opacity: 0; transform: scaleX(-1) translate(-16%, 10%) scale(1.08); filter: blur(12px) brightness(.75); } to { opacity: 1; transform: scaleX(-1); filter: blur(3px) brightness(.75); } }
@keyframes teh-pass-l { from { opacity: 1; transform: none; } to { opacity: 0; transform: translate(-42%, 22%) scale(1.9); filter: blur(14px); } }
@keyframes teh-pass-r { from { opacity: 1; transform: scaleX(-1); } to { opacity: 0; transform: scaleX(-1) translate(-42%, 22%) scale(1.9); filter: blur(14px); } }
@keyframes teh-flare { 0% { opacity: 0; transform: translateX(-50%); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateX(50%); } }
@keyframes teh-glow { 0%, 100% { box-shadow: inset 0 0 0 3px #263F32, inset 0 0 0 4px rgba(207,183,131,.35), 0 14px 26px -16px rgba(20,34,26,.85), 0 0 0 0 rgba(207,183,131,0); } 50% { box-shadow: inset 0 0 0 3px #263F32, inset 0 0 0 4px rgba(207,183,131,.55), 0 14px 26px -16px rgba(20,34,26,.85), 0 0 26px 2px rgba(207,183,131,.4); } }
@keyframes teh-mote { 0% { opacity: 0; transform: translate3d(0, 0, 0); } 10% { opacity: .9; } 80% { opacity: .5; } 100% { opacity: 0; transform: translate3d(26px, -90vh, 0); } }
@keyframes teh-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes teh-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes teh-pulse { 0%, 100% { opacity: .7; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.03); } }
@keyframes teh-line { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes teh-wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@keyframes teh-loader-auto { to { opacity: 0; visibility: hidden; } }
