    html { scroll-behavior: smooth; }
    ::-webkit-scrollbar { width: 6px; height: 6px; }
    ::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, 0.45); border-radius: 99px; }

    /* ==========================================================================
       NATURAL CHROME — studio drawer & modals mengikuti bahasa visual
       hangat Punakawan (cream #F7EEDF, rose #7A4E28, kartu putih lembut)
       ========================================================================== */
    ::-webkit-scrollbar-thumb { background: rgba(163, 99, 97, 0.4); }

    /* ---- Drawer studio ---- */
    #studioDrawer { color: #3B342C; }
    #studioDrawer .bg-stone-950, #studioDrawer .bg-stone-950\/98 { background: #FBF7F0 !important; }
    #studioDrawer .bg-stone-900, #studioDrawer .bg-stone-900\/98 { background: #FFFFFF !important; }
    #studioDrawer .bg-stone-800 { background: #F6EEE2 !important; }
    #studioDrawer .border-stone-800, #studioDrawer .border-stone-700 { border-color: #E7DAC8 !important; }
    #studioDrawer .text-white, #studioDrawer .text-stone-100, #studioDrawer .text-stone-200 { color: #3B342C !important; }
    #studioDrawer .text-stone-300, #studioDrawer .text-stone-400 { color: #97867B !important; }
    #studioDrawer .text-amber-400, #studioDrawer .text-amber-300 { color: #7A4E28 !important; }
    #studioDrawer .text-sky-300, #studioDrawer .text-sky-200, #studioDrawer .text-sky-400 { color: #7C9BB8 !important; }
    #studioDrawer .text-emerald-400, #studioDrawer .text-emerald-300 { color: #3E8E5E !important; }
    #studioDrawer input, #studioDrawer textarea, #studioDrawer select { background-color: #FFFFFF !important; border-color: #E7DAC8 !important; color: #3B342C !important; }
    #studioDrawer input::placeholder, #studioDrawer textarea::placeholder { color: #C0B0A4 !important; }
    #studioDrawer input[type="radio"], #studioDrawer input[type="range"], #studioDrawer input[type="color"] { accent-color: #7A4E28; }
    #studioDrawer .accent-amber-400 { accent-color: #7A4E28 !important; }
    #studioDrawer .border-amber-500\/30 { border-color: #E2D3BE !important; }
    #studioDrawer .bg-amber-500\/10, #studioDrawer .border-amber-500\/25 { background: #F6EEE2 !important; border-color: #E2D3BE !important; }
    #studioDrawer .text-yellow-200, #studioDrawer .text-sky-200, #studioDrawer .text-rose-200, #studioDrawer .text-indigo-200,
    #studioDrawer .bg-yellow-500\/20, #studioDrawer .bg-sky-500\/20, #studioDrawer .bg-rose-500\/20, #studioDrawer .bg-indigo-500\/20,
    #studioDrawer .border-yellow-500\/50, #studioDrawer .border-sky-500\/50, #studioDrawer .border-rose-500\/50, #studioDrawer .border-indigo-500\/50 { background: #F6EEE2 !important; border-color: #E2D3BE !important; color: #7A4E28 !important; }
    #studioDrawer .hover\:bg-amber-400:hover { background: #F7EEDF !important; color: #7A4E28 !important; }
    #studioDrawer .hover\:bg-amber-400:hover svg, #studioDrawer .hover\:bg-amber-400:hover i { color: #7A4E28 !important; }
    #studioDrawer .border-amber-400 { border-color: #7A4E28 !important; }
    #studioDrawer .hover\:border-amber-400:hover { border-color: #7A4E28 !important; }
    #studioDrawer .text-amber-300:hover, #studioDrawer .hover\:text-white:hover { color: #7A4E28 !important; }
    #studioDrawer .bg-stone-800.hover\:bg-stone-700:hover { background: #F6EEE2 !important; }
    #studioDrawer .text-amber-300 { color: #7A4E28 !important; }
    #studioDrawer .bg-emerald-500\/10, #studioDrawer .border-emerald-500\/25 { background: #F0F8F2 !important; border-color: #CFE8D6 !important; }
    #studioDrawer .text-emerald-300 { color: #3E8E5E !important; }
    #studioDrawer .bg-sky-500\/10, #studioDrawer .border-sky-500\/30 { background: #F2F6FA !important; border-color: #D5E2EE !important; }

    /* ---- Modals (katalog & galeri layout): panel putih hangat ---- */
    #catalogModal, #layoutGalleryModal { background: rgba(62, 38, 34, 0.55) !important; backdrop-filter: blur(10px); }
    #catalogModal > div, #layoutGalleryModal > div { background: #FFFFFF !important; border-color: #E7DAC8 !important; color: #3B342C; }
    #catalogModal .bg-stone-900, #layoutGalleryModal .bg-stone-900 { background: #FFFFFF !important; }
    #catalogModal .border-stone-800, #layoutGalleryModal .border-stone-800, #catalogModal .border-stone-700, #layoutGalleryModal .border-stone-700 { border-color: #E7DAC8 !important; }
    #catalogModal .text-white, #layoutGalleryModal .text-white { color: #3B342C !important; }
    #catalogModal .text-stone-400, #layoutGalleryModal .text-stone-400, #catalogModal .text-stone-500 { color: #97867B !important; }
    #catalogModal .text-stone-300, #layoutGalleryModal .text-stone-300 { color: #5F544A !important; }
    #catalogModal .bg-stone-950, #layoutGalleryModal .bg-stone-950 { background: #FBF7F0 !important; }
    #catalogModal .bg-stone-800, #layoutGalleryModal .bg-stone-800 { background: #F6EEE2 !important; }
    #catalogModal .text-stone-400:hover, #catalogModal .hover\:text-white:hover { color: #7A4E28 !important; }
    #catalogModal .border-amber-400, #catalogModal .ring-amber-400\/40 { border-color: #7A4E28 !important; }
    #catalogModal .hover\:border-rose-500:hover, #layoutGalleryModal .hover\:border-amber-400:hover { border-color: #7A4E28 !important; }
    #catalogModal .text-sky-300, #catalogModal .text-sky-300.font-semibold { color: #7C9BB8 !important; }
    #catalogModal .text-stone-300.group-hover\:text-amber-300:hover { color: #7A4E28 !important; }
    #catalogModal .group-hover\:text-amber-300:hover, #catalogModal .group-hover\:text-amber-300 { color: #7A4E28 !important; }
    #catalogModal .bg-stone-900.group-hover\:text-amber-300:hover, #catalogModal .bg-stone-900 span { background: #FBF7F0; color: #5F544A; }
    #catalogModal .text-amber-300, #catalogModal .text-amber-200 { color: #7A4E28 !important; }
    #catalogModal .text-indigo-300 { color: #6B7FB8 !important; }
    #catalogModal .text-emerald-300 { color: #3E8E5E !important; }
    #catalogModal .text-sky-300 { color: #6E93B8 !important; }
    #catalogModal .text-rose-400 { color: #7A4E28 !important; }
    #catalogModal .bg-rose-700, #catalogModal .bg-rose-700:hover { background: #7A4E28 !important; }
    #catalogModal .bg-amber-500 { background: #F7EEDF !important; color: #7A4E28 !important; border-color: #7A4E28 !important; }
    #catalogModal .bg-amber-400 { background: #7A4E28 !important; color: #FFFFFF !important; }
    #layoutGalleryModal .bg-amber-400 { background: #7A4E28 !important; color: #FFFFFF !important; }
    #layoutGalleryModal .border-amber-400, #layoutGalleryModal .ring-amber-400\/40 { border-color: #7A4E28 !important; }
    #layoutGalleryModal .text-amber-400 { color: #7A4E28 !important; }
    #layoutGalleryModal .text-stone-500 { color: #97867B !important; }
    #layoutGalleryModal .text-sky-300 { color: #7C9BB8 !important; }
    #layoutGalleryModal .bg-stone-800.hover\:bg-stone-700:hover { background: #F6EEE2 !important; }
    #layoutGalleryModal .text-stone-400.hover\:text-white:hover { color: #7A4E28 !important; }
    #studioDrawer .bg-amber-500, #studioDrawer .bg-amber-500:hover { background: #7A4E28 !important; color: #FFFFFF !important; }
    #studioDrawer .hover\:bg-amber-400:hover { background: #F7EEDF !important; color: #7A4E28 !important; }

    /* toast natural */
    #aiToastBanner { background: #F7EEDF !important; color: #7A4E28 !important; border: 1px solid #E2D3BE !important; box-shadow: 0 6px 18px rgba(163, 99, 97, 0.25) !important; }
    #aiToastBanner span:first-child { color: #7A4E28 !important; }
    .reveal-item {
      opacity: 0;
      transform: translateY(28px) scale(0.975);
      filter: blur(4px);
      transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
                  transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
                  filter 1.1s cubic-bezier(0.16, 1, 0.3, 1);
      will-change: transform, opacity, filter;
    }
    .reveal-item.active {
      opacity: 1;
      transform: translateY(0) scale(1);
      filter: blur(0);
    }
    .delay-1 { transition-delay: 140ms; }
    .delay-2 { transition-delay: 280ms; }
    .delay-3 { transition-delay: 420ms; }
    .delay-4 { transition-delay: 560ms; }
    .delay-5 { transition-delay: 700ms; }

    /* Silky Smooth Keyframes & Motion (Terinspirasi Katrina Katsudoto) */
    @keyframes gentleSway {
      0%, 100% { transform: rotate(0deg); }
      50% { transform: rotate(2.2deg) translate3d(2px, -3px, 0); }
    }
    @keyframes gentleFloat {
      0%, 100% { transform: translateY(0px) scale(1); }
      50% { transform: translateY(-7px) scale(1.015); }
    }
    @keyframes photoBreath {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.028); }
    }
    @keyframes lanternSwing {
      0%, 100% { transform: rotate(-3.5deg); }
      50% { transform: rotate(3.5deg); }
    }
    @keyframes vineDrapeSway {
      0%, 100% { transform: rotate(0deg) scale(1); }
      50% { transform: rotate(1.8deg) scale(1.01); }
    }
    @keyframes spinDisc {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }
    @keyframes pulseGlow {
      0%, 100% { box-shadow: 0 0 16px rgba(212, 175, 55, 0.25); }
      50% { box-shadow: 0 0 36px rgba(212, 175, 55, 0.6); }
    }

    .anim-sway { animation: gentleSway 7.5s ease-in-out infinite; transform-origin: top center; }
    .anim-float { animation: gentleFloat 6s ease-in-out infinite; }
    .anim-breath { animation: photoBreath 12s ease-in-out infinite; }
    .anim-lantern { animation: lanternSwing 6.5s ease-in-out infinite; transform-origin: top center; }
    .anim-vine { animation: vineDrapeSway 9s ease-in-out infinite; transform-origin: top center; }
    .anim-bunga-a { animation: gentleSway 8s ease-in-out infinite; transform-origin: top left; }
    .anim-bunga-b { animation: gentleSway 8s ease-in-out 1s infinite reverse; transform-origin: top right; }
    .anim-wayang-l { animation: gentleFloat 7s ease-in-out infinite; }
    .anim-wayang-r { animation: gentleFloat 7s ease-in-out 0.8s infinite; }
    .spin-disc { animation: spinDisc 14s linear infinite; }
    .spin-paused { animation-play-state: paused; }

    /* ==========================================================================
       SIGNATURE PHOTO FRAMES & CULTURAL SILHOUETTES
       (Tiap Budaya / Gaya Memiliki Arsitektur Bingkai & Ornamen Khas Sendiri)
       ========================================================================== */
    /* 1. ROCOCO / KATRINA SCALLOPED GOLD FRAME (Botanical / Sage / Katrina) */
    .nc-frame-rococo {
      position: relative;
      border-radius: 48px 48px 38px 38px;
      clip-path: polygon(
        12% 0%, 50% 3%, 88% 0%, 100% 12%, 97% 50%, 100% 88%,
        88% 100%, 50% 97%, 12% 100%, 0% 88%, 3% 50%, 0% 12%
      );
      padding: 6px;
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), inset 0 0 0 2px rgba(255, 255, 255, 0.35);
      border: 4px solid #D4AF37;
      background: linear-gradient(135deg, #F5D77F 0%, #AA771C 50%, #F5D77F 100%);
    }
    .nc-frame-rococo-inner {
      width: 100%;
      height: 100%;
      border-radius: 44px 44px 34px 34px;
      overflow: hidden;
      clip-path: polygon(
        12% 0%, 50% 3%, 88% 0%, 100% 12%, 97% 50%, 100% 88%,
        88% 100%, 50% 97%, 12% 100%, 0% 88%, 3% 50%, 0% 12%
      );
    }
    .nc-frame-rococo-mirror {
      position: relative;
      border-radius: 50% / 46%;
      padding: 6px;
      box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 3px rgba(255, 255, 255, 0.4);
      border: 4px solid #D4AF37;
      background: linear-gradient(135deg, #FFE494 0%, #A67417 50%, #FFE494 100%);
    }
    .nc-frame-rococo-mirror-inner {
      width: 100%;
      height: 100%;
      border-radius: 50% / 46%;
      overflow: hidden;
    }

    /* 2. GEBYOK / KRATON ARCH (Jawa Klasik & Kraton) */
    .nc-frame-gebyok {
      position: relative;
      border-radius: 50% 50% 16px 16px / 32% 32% 16px 16px;
      border: 4px solid #C49838;
      box-shadow: 0 22px 55px rgba(20, 12, 6, 0.75), inset 0 0 0 2px rgba(247, 220, 136, 0.4);
      padding: 6px;
      background: linear-gradient(180deg, #422915 0%, #211308 100%);
    }
    .nc-frame-gebyok-inner {
      width: 100%;
      height: 100%;
      border-radius: 50% 50% 12px 12px / 30% 30% 12px 12px;
      overflow: hidden;
    }

    /* 3. GONJONG RUMAH GADANG (Minang & Melayu Songket) */
    .nc-frame-gonjong {
      position: relative;
      border: 4px solid #E5B94B;
      clip-path: polygon(
        50% 0%, 78% 10%, 100% 8%, 98% 30%, 100% 100%,
        0% 100%, 2% 30%, 0% 8%, 22% 10%
      );
      padding: 6px;
      box-shadow: 0 24px 60px rgba(36, 12, 16, 0.8), inset 0 0 0 2px rgba(245, 213, 118, 0.4);
      background: linear-gradient(135deg, #7A1820 0%, #3D0E1A 100%);
    }
    .nc-frame-gonjong-inner {
      width: 100%;
      height: 100%;
      clip-path: polygon(
        50% 0%, 78% 10%, 100% 8%, 98% 30%, 100% 100%,
        0% 100%, 2% 30%, 0% 8%, 22% 10%
      );
      overflow: hidden;
    }

    /* 4. MAHKOTA SIGER KENCANA (Sunda Siger) */
    .nc-frame-siger {
      position: relative;
      border-radius: 50% 50% 24px 24px / 36% 36% 24px 24px;
      border: 4px solid #E5B94B;
      box-shadow: 0 20px 55px rgba(12, 38, 28, 0.65), inset 0 0 0 2px rgba(255, 240, 190, 0.45);
      padding: 6px;
      background: linear-gradient(135deg, #2D4C3A 0%, #15241C 100%);
    }
    .nc-frame-siger-inner {
      width: 100%;
      height: 100%;
      border-radius: 50% 50% 20px 20px / 34% 34% 20px 20px;
      overflow: hidden;
    }

    /* 5. MORESQUE / KUBAH TAPAL KUDA (Arabian Royal Luxury) */
    .nc-frame-moresque {
      position: relative;
      border-radius: 50% 50% 18px 18px / 44% 44% 18px 18px;
      border: 4px solid #E5C158;
      box-shadow: 0 24px 65px rgba(8, 24, 18, 0.8), inset 0 0 0 2px rgba(245, 222, 140, 0.45);
      padding: 6px;
      background: linear-gradient(160deg, #1A3628 0%, #0A1B12 100%);
    }
    .nc-frame-moresque-inner {
      width: 100%;
      height: 100%;
      border-radius: 50% 50% 14px 14px / 42% 42% 14px 14px;
      overflow: hidden;
    }

    /* 6. CANDI BENTAR / KORI AGUNG (Bali Royal) */
    .nc-frame-candibentar {
      position: relative;
      border-radius: 20px;
      border: 4px solid #D4AF37;
      box-shadow: 0 22px 60px rgba(28, 16, 8, 0.75), inset 0 0 0 2px rgba(255, 235, 160, 0.4);
      padding: 6px;
      background: linear-gradient(145deg, #382414 0%, #1A0E08 100%);
    }
    .nc-frame-candibentar-inner {
      width: 100%;
      height: 100%;
      border-radius: 16px;
      overflow: hidden;
    }

    /* 7. GORGA SINGA-SINGA / RUMAH BOLON (Batak Ulos) */
    .nc-frame-gorga {
      position: relative;
      border: 4px solid #E5B94B;
      clip-path: polygon(
        50% 2%, 96% 14%, 96% 98%, 4% 98%, 4% 14%
      );
      padding: 6px;
      box-shadow: 0 24px 60px rgba(32, 10, 10, 0.85), inset 0 0 0 2px rgba(245, 213, 118, 0.4);
      background: linear-gradient(135deg, #6B1717 0%, #1A0A0A 100%);
    }
    .nc-frame-gorga-inner {
      width: 100%;
      height: 100%;
      clip-path: polygon(
        50% 2%, 96% 14%, 96% 98%, 4% 98%, 4% 14%
      );
      overflow: hidden;
    }

    /* 8. ART DECO CHRYSLER CHEVRON (Art Deco Gatsby 1920s) */
    .nc-frame-gatsby {
      position: relative;
      border: 3px solid #E5C158;
      clip-path: polygon(
        50% 0%, 75% 6%, 92% 14%, 100% 26%, 100% 100%,
        0% 100%, 0% 26%, 8% 14%, 25% 6%
      );
      padding: 6px;
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), inset 0 0 0 2px rgba(255, 255, 255, 0.25);
      background: linear-gradient(145deg, #2A241C 0%, #120F0C 100%);
    }
    .nc-frame-gatsby-inner {
      width: 100%;
      height: 100%;
      clip-path: polygon(
        50% 0%, 75% 6%, 92% 14%, 100% 26%, 100% 100%,
        0% 100%, 0% 26%, 8% 14%, 25% 6%
      );
      overflow: hidden;
    }


    /* Header ringkas di layar kecil — aksi utama tetap terjangkau */
    @media (max-width: 640px) {
      /* hanya 6 tombol layout cepat yang disembunyikan (tersedia di Galeri Layout) */
      #layoutQuickBar [id^="ly-"] { display: none !important; }
      #themeSelectDropdown { max-width: 132px !important; font-size: 10px !important; }
      header button[onclick="reopenCover()"] { display: none !important; }
      #studioBar { flex-wrap: wrap; row-gap: 6px; }
      #studioDrawer { width: 100% !important; }
    }

    /* Modal: mulai selalu dari atas, jangan dipulihkan ke posisi lama */
    #catalogModal, #themeGalleryModal, #layoutGalleryModal { overflow-anchor: none; }

    /* ==== SIGNATURE NIKAHCRAFT: garis sogan + cecek ==== */
    .nc-rule { display:flex; align-items:center; gap:6px; }
    .nc-rule::before, .nc-rule::after { content:''; height:1px; flex:1; background:linear-gradient(90deg, transparent, #C9B79A); }
    .nc-rule::after { background:linear-gradient(90deg, #C9B79A, transparent); }
    .nc-cecek { display:inline-flex; gap:4px; align-items:center; }
    .nc-cecek i { width:4px; height:4px; border-radius:50%; background:#7A4E28; display:block; }
    .nc-cecek i:nth-child(2) { background:#5F6F52; }
    .nc-cecek i:nth-child(3) { background:#B3674A; }

    /* ==== MOTION HALUS (SKU premium): hanya gerak yang menjelaskan, bukan hiasan ==== */
    @keyframes ncDrift {
      from { transform: scale(1.02) translate3d(0, 0, 0); }
      to   { transform: scale(1.06) translate3d(0, -10px, 0); }
    }
    body.nc-motion .nc-motion-bg { animation: ncDrift 30s ease-in-out infinite alternate; }
    body.nc-motion .anim-float { animation: gentleFloat 12s ease-in-out infinite; }
    body.nc-motion .reveal-item { transition-duration: 0.95s; }
    body.nc-motion .reveal-item.delay-1 { transition-delay: 120ms; }
    @media (prefers-reduced-motion: reduce) {
      body.nc-motion .nc-motion-bg,
      body.nc-motion .anim-float { animation: none !important; }
    }
    /* Ornamen watercolor: bayangan lembut seperti tinta di kertas, bukan glow */
    .orn-watercolor { filter: drop-shadow(0 2px 4px rgba(120, 96, 80, 0.10)); }

    /* ==========================================================================
       MOTIF TEKSTUR SATU TEMA (BATIK KAWUNG JAWA, BOTANICAL LINEN, SONGKET)
       ========================================================================== */
    /* Motif Batik Kawung & Parang Sogan Keraton Jawa Asli (Pure SVG Pattern) */
    .pattern-javanese-batik {
      background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23D4AF37' stroke-width='0.7' stroke-opacity='0.16'%3E%3Ccircle cx='30' cy='30' r='12'/%3E%3Cellipse cx='30' cy='15' rx='6' ry='12'/%3E%3Cellipse cx='30' cy='45' rx='6' ry='12'/%3E%3Cellipse cx='15' cy='30' rx='12' ry='6'/%3E%3Cellipse cx='45' cy='30' rx='12' ry='6'/%3E%3Ccircle cx='30' cy='30' r='3' fill='%23D4AF37' fill-opacity='0.15'/%3E%3C/g%3E%3C/svg%3E") !important;
      background-repeat: repeat !important;
      background-size: 60px 60px !important;
    }
    /* Motif Linen Botanical Halus — serat tenun linen lembut (bebas titik polkadot) */
    .pattern-botanical-linen {
      background-image:
        repeating-linear-gradient(0deg, rgba(122, 110, 92, 0.032) 0 1px, transparent 1px 14px),
        repeating-linear-gradient(90deg, rgba(122, 110, 92, 0.026) 0 1px, transparent 1px 14px) !important;
      background-repeat: repeat !important;
      background-size: 14px 14px !important;
    }
    /* Motif Songket Geometris Nusantara */
    .pattern-songket-gold {
      background-image: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 4 L44 24 L24 44 L4 24 Z' fill='none' stroke='%23F59E0B' stroke-width='0.6' stroke-opacity='0.14'/%3E%3Ccircle cx='24' cy='24' r='4' fill='none' stroke='%23F59E0B' stroke-width='0.6' stroke-opacity='0.14'/%3E%3C/svg%3E") !important;
      background-repeat: repeat !important;
      background-size: 48px 48px !important;
    }
    /* Motif Arabesque / Bintang Geometris Timur Tengah (Arabian Luxury) */
    .pattern-arabian-moresque {
      background-image: url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23E5C158' stroke-width='0.75' stroke-opacity='0.2'%3E%3Cpolygon points='32,4 40,24 60,32 40,40 32,60 24,40 4,32 24,24'/%3E%3Cpolygon points='32,12 46,18 52,32 46,46 32,52 18,46 12,32 18,18'/%3E%3Ccircle cx='32' cy='32' r='6'/%3E%3C/g%3E%3C/svg%3E") !important;
      background-repeat: repeat !important;
      background-size: 64px 64px !important;
    }
    /* Motif Tenun Ulos & Gorga Batak (Merah-Hitam-Putih-Emas) */
    .pattern-batak-ulos {
      background-image: url("data:image/svg+xml,%3Csvg width='56' height='56' viewBox='0 0 56 56' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23EF4444' stroke-width='0.8' stroke-opacity='0.22'%3E%3Cpath d='M28 4 L52 28 L28 52 L4 28 Z'/%3E%3Cpath d='M28 12 L44 28 L28 44 L12 28 Z' stroke='%23F59E0B'/%3E%3Ccircle cx='28' cy='28' r='4' stroke='%23FFFFFF' stroke-opacity='0.25'/%3E%3C/g%3E%3C/svg%3E") !important;
      background-repeat: repeat !important;
      background-size: 56px 56px !important;
    }

    /* Motif Damask Kerajaan Eropa (Royal Wedding Westminster) */
    .pattern-royal-damask {
      background-image: url("data:image/svg+xml,%3Csvg width='72' height='72' viewBox='0 0 72 72' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%237DA9D8' stroke-width='0.8' stroke-opacity='0.18'%3E%3Cpath d='M36 8 C44 18, 52 18, 52 28 C52 38, 42 40, 36 50 C30 40, 20 38, 20 28 C20 18, 28 18, 36 8 Z'/%3E%3Cpath d='M0 44 C6 52, 16 52, 16 60 M72 44 C66 52, 56 52, 56 60'/%3E%3Ccircle cx='36' cy='29' r='3'/%3E%3C/g%3E%3C/svg%3E") !important;
      background-repeat: repeat !important;
      background-size: 72px 72px !important;
    }
    /* Motif Linen Hangat Halus (Intimate Garden Candlelight) */
    .pattern-intimate-linen {
      background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23B0956E' stroke-width='0.5' stroke-opacity='0.16'%3E%3Cpath d='M0 20 H40 M20 0 V40'/%3E%3Cpath d='M0 0 H40 M0 0 V40 M40 40 H0 M40 40 V0'/%3E%3Ccircle cx='20' cy='20' r='7'/%3E%3C/g%3E%3C/svg%3E") !important;
      background-repeat: repeat !important;
      background-size: 40px 40px !important;
    }
    /* Motif Ukiran Toraja Pa'tedong & Kain Bombonan */
    .pattern-toraja-carving {
      background-image: url("data:image/svg+xml,%3Csvg width='56' height='56' viewBox='0 0 56 56' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23FACC15' stroke-width='0.8' stroke-opacity='0.2'%3E%3Ccircle cx='28' cy='28' r='10'/%3E%3Ccircle cx='28' cy='28' r='4'/%3E%3Cpath d='M28 4 V14 M28 42 V52 M4 28 H14 M42 28 H52'/%3E%3Cpath d='M10 10 L18 18 M46 10 L38 18 M10 46 L18 38 M46 46 L38 38'/%3E%3C/g%3E%3C/svg%3E") !important;
      background-repeat: repeat !important;
      background-size: 56px 56px !important;
    }
    /* Motif Geometris Art Deco 1920s Sunburst Gatsby */
    .pattern-artdeco-gatsby {
      background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23E5C158' stroke-width='0.8' stroke-opacity='0.22'%3E%3Cpath d='M30 30 L30 6 M30 30 L48 14 M30 30 L54 30 M30 30 L48 46 M30 30 L30 54 M30 30 L12 46 M30 30 L6 30 M30 30 L12 14'/%3E%3Crect x='24' y='24' width='12' height='12'/%3E%3C/g%3E%3C/svg%3E") !important;
      background-repeat: repeat !important;
      background-size: 60px 60px !important;
    }

    /* Kubah Moresque Arab / Maroko */
    .arch-arabian-dome {
      border-radius: 50% 50% 18px 18px / 38% 38% 18px 18px;
    }
    /* Kubah Katedral Gotik / Royal Westminster */
    .arch-royal-gothic {
      border-radius: 50% 50% 12px 12px / 62% 62% 12px 12px;
    }

    .atm-bca { background: linear-gradient(135deg, #0b2246 0%, #1d4d91 55%, #081833 100%); }
    .atm-mandiri { background: linear-gradient(135deg, #2d2312 0%, #5c4622 55%, #1d160b 100%); }

    .swiper-pagination-bullet-active {
      background: #D4AF37 !important;
      width: 18px !important;
      border-radius: 8px !important;
    }

/* ==========================================================================
   RESTORASI DESAIN — SKIN SAMPUL, AMBIENT BERTEMA, 3 LAYOUT BARU
   ========================================================================== */

/* ---------- sampul: dasar bersama ---------- */
.ncv { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ncv-kicker { font-size: 10px; letter-spacing: .42em; text-transform: uppercase; opacity: .78; margin-bottom: 14px; font-weight: 600; }
.ncv-btn { margin-top: 26px; display: inline-flex; align-items: center; gap: 8px; padding: 13px 30px; border-radius: 999px; background: var(--sk, #7A4E28); color: #FBF7F0; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; transition: background .25s ease, transform .25s ease; }
.ncv-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.ncv-grain { position: absolute; inset: 0; pointer-events: none; opacity: .07; }

/* ---------- sampul: scene (adat / vintage — karya penuh) ---------- */
.ncv-scene-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ncv-scene-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,11,8,.30) 0%, rgba(16,11,8,.18) 42%, rgba(16,11,8,.78) 100%); }
.ncv-scene-in { position: relative; z-index: 2; text-align: center; padding: 40px 28px; max-width: 620px; color: #FBF7F0; }
.ncv-scene-badge { display: inline-block; font-size: 9px; letter-spacing: .3em; text-transform: uppercase; padding: 7px 16px; border: 1px solid color-mix(in srgb, var(--sk) 55%, transparent); border-radius: 999px; margin-bottom: 26px; opacity: .85; }
.ncv-scene-names { font-size: clamp(42px, 9vw, 84px); line-height: 1.02; font-weight: 500; text-shadow: 0 2px 26px rgba(0,0,0,.45); }
.ncv-scene-names .ncv-amp { font-size: .72em; font-style: italic; opacity: .9; padding: 0 6px; }
.ncv-scene-date { margin-top: 16px; font-size: 12.5px; letter-spacing: .5em; text-indent: .5em; opacity: .92; }
.ncv-scene-to { margin-top: 34px; font-size: 11px; opacity: .7; }
.ncv-scene-guest { font-size: 17px; font-weight: 600; margin-top: 5px; letter-spacing: .04em; color: #fff; }
.ncv-scene .ncv-btn { background: var(--sk); }

/* ---------- sampul: noir (editorial gelap) ---------- */
.ncv-noir { background: #0D0A08; color: #F5EFE8; }
.ncv-noir .ncv-aurora { position: absolute; inset: -20%; filter: blur(60px); opacity: .8; }
.ncv-noir .ncv-aurora i { position: absolute; border-radius: 50%; }
.ncv-noir .ncv-aurora .a1 { width: 55vw; height: 55vw; left: -12%; top: 8%; background: radial-gradient(circle, color-mix(in srgb, var(--sk) 72%, #1a0b14) 0%, transparent 65%); animation: ncAuroraA 26s ease-in-out infinite alternate; }
.ncv-noir .ncv-aurora .a2 { width: 48vw; height: 48vw; right: -10%; top: 30%; background: radial-gradient(circle, color-mix(in srgb, var(--sk) 40%, #241019) 0%, transparent 62%); animation: ncAuroraB 34s ease-in-out infinite alternate; }
.ncv-noir .ncv-aurora .a3 { width: 40vw; height: 40vw; left: 18%; bottom: -14%; background: radial-gradient(circle, rgba(240,225,205,.16) 0%, transparent 60%); animation: ncAuroraA 40s ease-in-out infinite alternate-reverse; }
@keyframes ncAuroraA { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(6vw,-4vh,0) scale(1.12); } }
@keyframes ncAuroraB { from { transform: translate3d(0,0,0) scale(1.05); } to { transform: translate3d(-5vw,5vh,0) scale(.94); } }
.ncv-noir-in { position: relative; z-index: 2; text-align: center; padding: 40px 28px; max-width: 620px; }
.ncv-noir-title { position: relative; display: inline-block; margin: 10px 0 8px; }
.ncv-noir-photo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%); width: 132px; height: 168px; object-fit: cover; z-index: 0; }
.ncv-noir-name { position: relative; z-index: 1; font-family: "Playfair Display", serif; font-size: clamp(52px, 12vw, 96px); line-height: .94; font-weight: 500; letter-spacing: .01em; color: var(--sk); mix-blend-mode: normal; }
.ncv-noir-script { display: block; margin-top: 10px; font-size: clamp(20px, 5vw, 30px); color: rgba(245,239,232,.85); transform: rotate(-2deg); }
.ncv-noir-invite { margin-top: 34px; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; opacity: .6; }
.ncv-noir-guest { margin-top: 8px; font-size: 21px; font-weight: 700; }
.ncv-noir-btn { margin-top: 26px; display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 999px; border: 1px solid rgba(245,239,232,.35); background: rgba(245,239,232,.06); color: #F5EFE8; font-size: 10.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; transition: background .25s ease, border-color .25s ease; }
.ncv-noir-btn:hover { background: rgba(245,239,232,.14); border-color: rgba(245,239,232,.6); }
.ncv-noir-foot { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 10px; letter-spacing: .2em; opacity: .45; z-index: 2; }

/* ---------- sampul: watercolor (floral lembut) ---------- */
.ncv-wc { background: #FBF6EF; color: #43392F; }
.ncv-wc-orn { position: absolute; width: clamp(120px, 30vw, 230px); opacity: .9; pointer-events: none; }
.ncv-wc-orn.tl { top: -14px; left: -14px; }
.ncv-wc-orn.br { bottom: -14px; right: -14px; transform: rotate(180deg); }
.ncv-wc-in { position: relative; z-index: 2; text-align: center; padding: 40px 28px; max-width: 560px; }
.ncv-wc-frame { width: 168px; height: 216px; margin: 0 auto 20px; border-radius: 999px 999px 18px 18px; overflow: hidden; border: 5px solid #fff; box-shadow: 0 14px 40px rgba(90,62,50,.18); }
.ncv-wc-frame img { width: 100%; height: 100%; object-fit: cover; }
.ncv-wc-names { font-size: clamp(38px, 8vw, 62px); line-height: 1.05; font-weight: 400; }
.ncv-wc-names span { font-size: .8em; }
.ncv-wc-sub { margin-top: 20px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #8A7B6B; }
.ncv-wc-guest { margin-top: 6px; font-size: 18px; font-weight: 600; color: #3B342C; }
.ncv-wc-date { margin-top: 4px; font-size: 11px; letter-spacing: .34em; color: #8A7B6B; }

/* ---------- ambient di atas panggung ---------- */
.nc-amb { position: fixed; inset: 0; z-index: 30; pointer-events: none; }
.nc-amb-aurora { mix-blend-mode: screen; opacity: .5; }
.nc-amb-aurora i { position: absolute; border-radius: 50%; filter: blur(70px); }
.nc-amb-aurora .a1 { width: 44vw; height: 44vw; left: -8%; top: 4%; background: radial-gradient(circle, color-mix(in srgb, var(--sk, #A8853F) 46%, transparent) 0%, transparent 65%); animation: ncAuroraA 36s ease-in-out infinite alternate; }
.nc-amb-aurora .a2 { width: 38vw; height: 38vw; right: -6%; bottom: 6%; background: radial-gradient(circle, rgba(240,225,205,.20) 0%, transparent 60%); animation: ncAuroraB 44s ease-in-out infinite alternate; }
.nc-amb-aurora .a3 { width: 30vw; height: 30vw; left: 30%; top: 40%; background: radial-gradient(circle, rgba(179,103,74,.14) 0%, transparent 60%); animation: ncAuroraA 50s ease-in-out infinite alternate-reverse; }
.nc-amb-aurora .grain { position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay; }
.nc-amb-petals i { position: absolute; top: -30px; border-radius: 999px 0 999px 0; background: var(--petal, #B07C63); opacity: .5; animation: ncPetalFall linear infinite; }
@keyframes ncPetalFall { 0% { transform: translateY(-4vh) rotate(0deg); } 100% { transform: translateY(108vh) rotate(340deg); } }
.nc-amb-gold i { position: absolute; bottom: -12px; border-radius: 50%; background: var(--gold, #C2A06A); opacity: .55; box-shadow: 0 0 6px color-mix(in srgb, var(--gold, #C2A06A) 70%, transparent); animation: ncGoldRise linear infinite; }
@keyframes ncGoldRise { 0% { transform: translateY(0) translateX(0); opacity: 0; } 12% { opacity: .6; } 88% { opacity: .5; } 100% { transform: translateY(-106vh) translateX(24px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .nc-amb, .ncv-aurora i, .ncv-noir .ncv-aurora i { animation: none !important; }
  .nc-amb-aurora, .nc-amb-aurora .grain { opacity: .18; }
  .nc-amb-petals, .nc-amb-gold { display: none; }
}

/* ---------- layout 7: editorial noir ---------- */
.nc-noir { background: transparent; color: var(--text, #F5EFE8); --sk: #A8853F; overflow-x: clip; }
.nc-noir-hero { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; padding: 80px 24px 60px; overflow: hidden; }
.nc-noir-hero-photo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -58%); width: min(52vw, 320px); aspect-ratio: 3/4; object-fit: cover; border-radius: 16px; opacity: .55; -webkit-mask-image: linear-gradient(to bottom, black 35%, transparent 92%); mask-image: linear-gradient(to bottom, black 35%, transparent 92%); pointer-events: none; }
.nc-noir-kicker { position: relative; z-index: 2; font-size: 10px; letter-spacing: .44em; text-transform: uppercase; opacity: .75; }
.nc-noir-hero-name { position: relative; z-index: 2; margin-top: 14px; font-family: "Playfair Display", serif; font-size: clamp(56px, 13vw, 128px); line-height: .92; font-weight: 500; color: var(--sk); text-shadow: 0 4px 20px rgba(0,0,0,0.6); }
.nc-noir-hero-script { position: relative; z-index: 2; display: block; margin-top: 12px; font-size: clamp(20px, 5vw, 32px); color: rgba(245,239,232,.9); transform: rotate(-2deg); text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.nc-noir-guest { position: relative; z-index: 2; margin-top: 48px; font-size: 13.5px; opacity: .98; color: #FAF7F2 !important; text-shadow: 0 2px 14px rgba(0,0,0,0.95); }
.nc-noir-guest strong { font-size: 18px; color: #FFE8B0 !important; text-shadow: 0 2px 12px rgba(0,0,0,0.98); font-weight: 700; }
.nc-noir-count { position: relative; z-index: 2; margin-top: 14px; font-variant-numeric: tabular-nums; font-size: 12px; letter-spacing: .28em; opacity: .85; color: #E2D7CC; text-shadow: 0 2px 10px rgba(0,0,0,0.9); }
.nc-noir-sec { max-width: 880px; margin: 0 auto; padding: 88px 24px; }
.nc-noir-label { display: block; font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: var(--sk); margin-bottom: 36px; }
.nc-noir-couple { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: start; text-align: center; }
.nc-noir-couple .nc-noir-amp { font-size: 56px; color: var(--sk); align-self: center; }
.nc-noir-frame { width: min(58vw, 250px); aspect-ratio: 3/4; margin: 0 auto 18px; overflow: hidden; border-radius: 999px 999px 14px 14px; background: #1A1410; }
.nc-noir-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.nc-noir-couple h3 { font-family: "Playfair Display", serif; font-size: 24px; letter-spacing: .08em; }
.nc-noir-full { margin-top: 6px; font-size: 12px; opacity: .85; }
.nc-noir-parents { margin-top: 10px; font-size: 11px; line-height: 1.7; opacity: .55; }
.nc-noir-chapter { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid rgba(245,239,232,.1); }
.nc-noir-num { font-family: "Playfair Display", serif; font-size: 40px; color: var(--sk); opacity: .85; line-height: 1; }
.nc-noir-chapter h3 { font-family: "Playfair Display", serif; font-size: 20px; font-weight: 500; }
.nc-noir-chapter p { margin-top: 8px; font-size: 12.5px; line-height: 1.8; opacity: .68; }
.nc-noir-event { padding: 30px 0; border-bottom: 1px solid rgba(245,239,232,.1); }
.nc-noir-event h3 { font-family: "Playfair Display", serif; font-size: 26px; font-weight: 500; }
.nc-noir-date { margin-top: 8px; font-size: 12px; letter-spacing: .4em; color: var(--sk); }
.nc-noir-place { margin-top: 8px; font-size: 13px; opacity: .75; line-height: 1.7; }
.nc-noir-map { display: inline-block; margin-top: 14px; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--sk); border-bottom: 1px solid color-mix(in srgb, var(--sk) 50%, transparent); padding-bottom: 3px; }
.nc-noir-strip { max-width: none; }
.nc-noir-marquee { overflow: hidden; }
.nc-noir-track { display: flex; gap: 14px; width: max-content; animation: ncMarquee 42s linear infinite; }
.nc-noir-shot { flex: 0 0 auto; width: min(62vw, 300px); }
.nc-noir-shot img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 6px; }
.nc-noir-shot figcaption { margin-top: 8px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; opacity: .5; }
@keyframes ncMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.nc-noir-gift-sec .space-y-10 > div:first-child span { opacity: 0.92; }
.nc-noir-foot-sec { text-align: center; padding: 50px 20px 60px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; opacity: .4; }
@media (prefers-reduced-motion: reduce) { .nc-noir-track { animation: none; } }
@media (max-width: 640px) { .nc-noir-couple { grid-template-columns: 1fr; } .nc-noir-couple .nc-noir-amp { margin: -8px auto; } }

/* ---------- layout 8: klasik terilustrasi ---------- */
.nc-cl { background: transparent; color: var(--text, #43392F); --sk: #7A4E28; overflow-x: clip; }
.nc-cl-hero { position: relative; min-height: 92svh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.nc-cl-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nc-cl-hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--paper, #FBF6EF) 65%, transparent) 0%, color-mix(in srgb, var(--paper, #FBF6EF) 35%, transparent) 45%, var(--paper, #FBF6EF) 100%); }
.nc-cl-hero-in { position: relative; z-index: 2; text-align: center; padding: 48px 28px; }
.nc-cl-kicker { font-size: 10px; letter-spacing: .44em; text-transform: uppercase; color: #8A7B6B; margin-bottom: 12px; }
.nc-cl-hero-in h1 { font-size: clamp(40px, 9vw, 76px); line-height: 1.02; font-weight: 500; color: #3B342C; }
.nc-cl-dotted { margin-top: 16px; font-size: 13px; letter-spacing: .5em; text-indent: .5em; color: var(--sk); font-weight: 600; }
.nc-cl-to { margin-top: 36px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8A7B6B; }
.nc-cl-guest { margin-top: 6px; font-size: 19px; font-weight: 600; color: #3B342C; }
.nc-cl-sec { max-width: 760px; margin: 0 auto; padding: 72px 24px; text-align: center; }
.nc-cl-h2 { font-size: 28px; font-weight: 500; margin-bottom: 8px; }
.nc-cl-greeting { font-size: 17px; font-weight: 600; }
.nc-cl-greeting-sub { margin: 14px auto 0; max-width: 54ch; font-size: 12.5px; line-height: 1.85; color: #6E6154; }
.nc-cl-count { margin-top: 34px; display: flex; justify-content: center; gap: 10px; }
.nc-cl-count > div { min-width: 84px; padding: 16px 10px; border: 1px solid #E7DAC8; border-radius: 12px; background: #fff; }
.nc-cl-count strong { display: block; font-family: "Playfair Display", serif; font-size: 30px; font-variant-numeric: tabular-nums; }
.nc-cl-count span { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: #8A7B6B; }
.nc-cl-events { margin-top: 26px; display: grid; gap: 18px; }
.nc-cl-event { border: 1px solid #E7DAC8; outline: 1px solid #E7DAC8; outline-offset: 3px; border-radius: 4px; padding: 30px 26px; background: #FFFCF7; text-align: center; }
.nc-cl-event h3 { font-family: "Playfair Display", serif; font-size: 23px; font-weight: 500; }
.nc-cl-row { margin-top: 12px; font-size: 12px; }
.nc-cl-row span { display: block; font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: #8A7B6B; margin-bottom: 3px; }
.nc-cl-row strong { font-weight: 600; line-height: 1.6; }
.nc-cl-map { display: inline-block; margin-top: 16px; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--sk); border-bottom: 1px solid color-mix(in srgb, var(--sk) 45%, transparent); padding-bottom: 3px; }
.nc-cl-couple { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.nc-cl-frame { width: min(40vw, 190px); aspect-ratio: 3/4; margin: 0 auto 16px; border-radius: 999px 999px 12px 12px; overflow: hidden; border: 5px solid #fff; box-shadow: 0 12px 34px rgba(90,62,50,.16); background: #F3EBDD; }
.nc-cl-frame img { width: 100%; height: 100%; object-fit: cover; }
.nc-cl-person h3 { font-family: "Playfair Display", serif; font-size: 24px; font-weight: 500; }
.nc-cl-full { margin-top: 5px; font-size: 11.5px; color: #6E6154; }
.nc-cl-parents { margin-top: 8px; font-size: 11px; line-height: 1.75; color: #8A7B6B; }
.nc-cl-quote { margin: 40px auto 0; max-width: 46ch; font-family: "Playfair Display", serif; font-style: italic; font-size: 15.5px; line-height: 1.85; color: #5F544A; }
.nc-cl-quote cite { display: block; margin-top: 10px; font-family: Inter, sans-serif; font-style: normal; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: #8A7B6B; }
.nc-cl-gallery { margin-top: 24px; columns: 2; column-gap: 12px; }
.nc-cl-gallery img { width: 100%; margin-bottom: 12px; border-radius: 6px; cursor: zoom-in; }
.nc-cl-gift { max-width: 900px; }
.nc-cl-foot { padding: 60px 20px 70px; text-align: center; }
.nc-cl-foot p { font-size: 24px; color: var(--sk); }
.nc-cl-foot span { display: block; margin-top: 8px; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: #8A7B6B; }
@media (max-width: 640px) { .nc-cl-couple { grid-template-columns: 1fr; gap: 34px; } .nc-cl-count > div { min-width: 0; flex: 1; } }

/* Dukungan Kontras Tinggi untuk Tema Gelap di Layout Klasik Terilustrasi */
.nc-cl[data-dark="true"] .nc-cl-hero-in h1 {
  color: #FFFDF9 !important;
  text-shadow: 0 2px 14px rgba(0,0,0,0.65);
}
.nc-cl[data-dark="true"] .nc-cl-kicker {
  color: rgba(255, 255, 255, 0.75) !important;
}
.nc-cl[data-dark="true"] .nc-cl-dotted {
  color: var(--sk) !important;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.nc-cl[data-dark="true"] .nc-cl-to {
  color: rgba(255, 255, 255, 0.75) !important;
}
.nc-cl[data-dark="true"] .nc-cl-guest {
  color: #FFFDF9 !important;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.nc-cl[data-dark="true"] .nc-cl-greeting {
  color: var(--sk) !important;
}
.nc-cl[data-dark="true"] .nc-cl-greeting-sub {
  color: rgba(255, 255, 255, 0.8) !important;
}
.nc-cl[data-dark="true"] .nc-cl-count > div {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: #FFFDF9 !important;
  backdrop-filter: blur(8px);
}
.nc-cl[data-dark="true"] .nc-cl-count strong {
  color: var(--sk) !important;
}
.nc-cl[data-dark="true"] .nc-cl-count span {
  color: rgba(255, 255, 255, 0.75) !important;
}
.nc-cl[data-dark="true"] .nc-cl-event {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #FFFDF9 !important;
  backdrop-filter: blur(8px);
}
.nc-cl[data-dark="true"] .nc-cl-event h3 {
  color: #FFFDF9 !important;
}
.nc-cl[data-dark="true"] .nc-cl-row span {
  color: rgba(255, 255, 255, 0.75) !important;
}
.nc-cl[data-dark="true"] .nc-cl-row strong {
  color: #FFFDF9 !important;
}
.nc-cl[data-dark="true"] .nc-cl-person h3 {
  color: #FFFDF9 !important;
}
.nc-cl[data-dark="true"] .nc-cl-full {
  color: #FFFDF9 !important;
}
.nc-cl[data-dark="true"] .nc-cl-parents {
  color: rgba(255, 255, 255, 0.75) !important;
}
.nc-cl[data-dark="true"] .nc-cl-quote {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--sk) !important;
  color: rgba(255, 255, 255, 0.85) !important;
}
.nc-cl[data-dark="true"] .nc-cl-quote cite {
  color: var(--sk) !important;
}

/* ---------- layout 9: soft arch & wave ---------- */
.nc-sa { position: relative; background: transparent; color: var(--text, #43392F); --sk: #5F6F52; overflow-x: clip; }
.nc-sa-orn { position: absolute; width: clamp(110px, 26vw, 210px); opacity: .9; z-index: 2; pointer-events: none; }
.nc-sa-orn.tl { top: -12px; left: -12px; }
.nc-sa-orn.br { bottom: -12px; right: -12px; transform: rotate(180deg); }
.nc-sa-hero { position: relative; z-index: 1; min-height: 96svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 70px 24px 46px; }
.nc-sa-kicker { font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: #8A7B6B; margin-bottom: 22px; }
.nc-sa-frame { width: min(52vw, 210px); aspect-ratio: 3/4; border-radius: 999px 999px 999px 999px / 46% 46% 54% 54%; overflow: hidden; border: 5px solid #fff; box-shadow: 0 16px 44px rgba(90,62,50,.18); background: #F3EBDD; }
.nc-sa-frame img { width: 100%; height: 100%; object-fit: cover; }
.nc-sa-hero h1 { margin-top: 20px; font-size: clamp(38px, 9vw, 64px); line-height: 1.05; font-weight: 400; }
.nc-sa-sub { margin-top: 12px; font-size: 12.5px; color: #6E6154; max-width: 40ch; }
.nc-sa-count { margin-top: 26px; display: flex; gap: 10px; }
.nc-sa-chip { min-width: 70px; padding: 13px 8px; border-radius: 12px; background: var(--sk); color: #FBF7F0; }
.nc-sa-chip strong { display: block; font-family: "Playfair Display", serif; font-size: 26px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.nc-sa-chip span { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.nc-sa-date { margin-top: 18px; font-size: 12px; letter-spacing: .3em; color: #6E6154; }
.nc-sa-guest { margin-top: 22px; font-size: 11.5px; color: #6E6154; line-height: 1.8; }
.nc-sa-guest strong { font-size: 16px; color: #3B342C; }

/* Dukungan Kontras Tinggi untuk Tema Gelap di Layout Soft Arch */
.nc-sa[data-dark="true"] .nc-sa-kicker,
.nc-sa[data-dark="true"] .nc-sa-sub,
.nc-sa[data-dark="true"] .nc-sa-date,
.nc-sa[data-dark="true"] .nc-sa-guest,
.nc-sa[data-dark="true"] .nc-sa-greeting-sub,
.nc-sa[data-dark="true"] .nc-sa-person p,
.nc-sa[data-dark="true"] .nc-sa-parents,
.nc-sa[data-dark="true"] .nc-sa-story p {
  color: rgba(255, 255, 255, 0.75) !important;
}
.nc-sa[data-dark="true"] .nc-sa-guest strong {
  color: #FFFDF9 !important;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.nc-sa[data-dark="true"] .nc-sa-hero h1 {
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.nc-sa[data-dark="true"] .nc-sa-chip strong {
  color: #FFFDF9 !important;
}
.nc-sa[data-dark="true"] .nc-sa-event,
.nc-sa[data-dark="true"] .nc-sa-story article {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFDF9 !important;
  backdrop-filter: blur(8px);
}
.nc-sa[data-dark="true"] .nc-sa-event h3,
.nc-sa[data-dark="true"] .nc-sa-person h3,
.nc-sa[data-dark="true"] .nc-sa-story h3 {
  color: #FFFDF9 !important;
}
.nc-sa-wave { color: var(--sk); line-height: 0; opacity: .95; }
.nc-sa-wave svg { width: 100%; height: 74px; }
.nc-sa-sec { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; padding: 72px 24px; text-align: center; }
.nc-sa-h2 { font-family: "Playfair Display", serif; font-size: 26px; font-weight: 500; margin-bottom: 26px; }
.nc-sa-greeting { font-size: 26px; color: var(--sk); }
.nc-sa-greeting-sub { margin: 12px auto 0; max-width: 52ch; font-size: 12.5px; line-height: 1.85; color: #6E6154; }
.nc-sa-events { display: grid; gap: 16px; }
.nc-sa-event { border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(90,62,50,.09); padding: 28px 24px; }
.nc-sa-event h3 { font-family: "Playfair Display", serif; font-size: 21px; font-weight: 500; }
.nc-sa-date { margin-top: 8px; font-size: 11.5px; color: #8A7B6B; }
.nc-sa-place { margin-top: 6px; font-size: 13px; font-weight: 500; line-height: 1.65; }
.nc-sa-map { display: inline-block; margin-top: 14px; padding: 8px 20px; border-radius: 999px; background: var(--sk); color: #FBF7F0; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.nc-sa-couple { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.nc-sa-mini { width: min(38vw, 170px); aspect-ratio: 3/4; margin: 0 auto 14px; border-radius: 999px 999px 14px 14px; overflow: hidden; border: 4px solid #fff; box-shadow: 0 10px 28px rgba(90,62,50,.14); background: #F3EBDD; }
.nc-sa-mini img { width: 100%; height: 100%; object-fit: cover; }
.nc-sa-person h3 { font-family: "Playfair Display", serif; font-size: 22px; font-weight: 500; }
.nc-sa-person p { margin-top: 5px; font-size: 11.5px; color: #6E6154; }
.nc-sa-parents { line-height: 1.7; color: #8A7B6B; }
.nc-sa-story { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; text-align: left; }
.nc-sa-story article { border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(90,62,50,.08); overflow: hidden; padding-bottom: 18px; }
.nc-sa-story-img { aspect-ratio: 16/10; background: #F3EBDD; }
.nc-sa-story-img img { width: 100%; height: 100%; object-fit: cover; }
.nc-sa-year { display: block; padding: 14px 16px 0; font-size: 10px; letter-spacing: .26em; color: var(--sk); font-weight: 700; }
.nc-sa-story h3 { padding: 4px 16px 0; font-size: 14.5px; font-weight: 600; }
.nc-sa-story p { padding: 6px 16px 0; font-size: 11.5px; line-height: 1.7; color: #6E6154; }
.nc-sa-gallery { columns: 2; column-gap: 12px; }
.nc-sa-gallery img { width: 100%; margin-bottom: 12px; border-radius: 12px; cursor: zoom-in; }
.nc-sa-gift { max-width: 900px; }
.nc-sa-foot { position: relative; z-index: 1; text-align: center; padding: 40px 20px 60px; }
.nc-sa-foot p { font-size: 26px; }
.nc-sa-foot span { display: block; margin-top: 6px; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: #8A7B6B; }
@media (max-width: 640px) { .nc-sa-couple { grid-template-columns: 1fr; gap: 30px; } .nc-sa-story { grid-template-columns: 1fr; } .nc-sa-count { flex-wrap: wrap; justify-content: center; } }

/* ---------- preloader ---------- */
#ncPreload { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: #140F0B; color: #F5EFE8; transition: opacity .7s ease, visibility .7s ease; }
#ncPreload.done { opacity: 0; visibility: hidden; pointer-events: none; }
#ncPreload .nc-pre-mark { font-family: "Great Vibes", cursive; font-size: 34px; color: #E6C665; }
#ncPreload .nc-pre-pct { font-variant-numeric: tabular-nums; font-size: 12px; letter-spacing: .3em; opacity: .7; }
#ncPreload .nc-pre-bar { width: 132px; height: 1px; background: rgba(245,239,232,.18); overflow: hidden; }
#ncPreload .nc-pre-bar i { display: block; height: 100%; width: 0%; background: #E6C665; transition: width .18s ease; }

/* ==========================================================================
   AMBIENT TAMBAHAN + ENTRANCE PER KELUARGA + PARALLAX SAMPUL
   ========================================================================== */
.nc-amb-arabian { pointer-events: none; }
.nc-fanous { position: absolute; top: clamp(8px, 2.5vw, 28px); z-index: 38; filter: drop-shadow(0 6px 24px rgba(230,194,90,.65)); pointer-events: none; }
.nc-fanous-l { left: clamp(14px, 4vw, 55px); width: clamp(52px, 6.8vw, 78px); transform-origin: 35px 0; animation: ncFanousSwayLeft 6.5s ease-in-out infinite alternate; }
.nc-fanous-r { right: clamp(14px, 4vw, 55px); width: clamp(46px, 6.2vw, 70px); transform-origin: 35px 0; animation: ncFanousSwayRight 5.8s ease-in-out infinite alternate; }
@keyframes ncFanousSwayLeft { 0% { transform: rotate(-3.5deg); } 50% { transform: rotate(1deg); } 100% { transform: rotate(4deg); } }
@keyframes ncFanousSwayRight { 0% { transform: rotate(3.5deg); } 50% { transform: rotate(-1deg); } 100% { transform: rotate(-4deg); } }
.anim-fanous-glow { animation: ncLanternGlow 3.2s ease-in-out infinite alternate; transform-origin: 35px 74px; }
.anim-flame { animation: ncFanousFlicker 1.8s ease-in-out infinite alternate; transform-origin: 35px 72px; }
@keyframes ncLanternGlow { 0% { opacity: .7; transform: scale(.94); } 100% { opacity: 1; transform: scale(1.18); } }
@keyframes ncFanousFlicker { 0% { transform: scale(1) rotate(-1deg); opacity: .85; } 100% { transform: scale(1.22) rotate(1.5deg); opacity: 1; } }

.nc-amb-arabian i.nc-star {
  position: absolute; bottom: -16px; color: var(--gold, #E5C158); opacity: .7;
  animation: ncStarRise linear infinite; pointer-events: none;
}
@keyframes ncStarRise {
  0% { transform: translateY(0) rotate(0deg) scale(.75); opacity: 0; }
  15% { opacity: .75; }
  85% { opacity: .65; }
  100% { transform: translateY(-106vh) rotate(180deg) scale(1.1); opacity: 0; }
}

/* Islamic Arabesque Rotating Watermark (Arabian Night) */
.nc-arabesque-spin {
  position: fixed; top: 50%; left: 50%; width: min(85vmin, 680px); height: min(85vmin, 680px);
  transform: translate(-50%, -50%); opacity: .06; pointer-events: none; z-index: 1;
  animation: ncSpinSlow 120s linear infinite;
}
@keyframes ncSpinSlow { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Balinese Kamboja (Frangipani) falling */
.nc-amb-bali i {
  position: absolute; top: -36px; animation: ncFrangipaniFall linear infinite; opacity: .85; pointer-events: none;
}
@keyframes ncFrangipaniFall {
  0% { transform: translateY(-4vh) rotate(0deg) translateX(0) scale(.85); opacity: 0; }
  12% { opacity: .9; }
  50% { transform: translateY(52vh) rotate(190deg) translateX(32px) scale(1); }
  88% { opacity: .8; }
  100% { transform: translateY(106vh) rotate(380deg) translateX(-20px) scale(.88); opacity: 0; }
}

/* Javanese & Sundanese Melati Ronce falling */
.nc-amb-jawa i, .nc-amb-sunda i {
  position: absolute; top: -30px; animation: ncMelatiFall linear infinite; opacity: .8; pointer-events: none;
}
@keyframes ncMelatiFall {
  0% { transform: translateY(-4vh) rotate(0deg) translateX(0); opacity: 0; }
  15% { opacity: .85; }
  50% { transform: translateY(50vh) rotate(140deg) translateX(-24px); }
  85% { opacity: .75; }
  100% { transform: translateY(105vh) rotate(280deg) translateX(22px); opacity: 0; }
}

/* Autumn Falling Leaves (Franconia Germany) */
.nc-amb-autumn i {
  position: absolute; top: -34px; animation: ncAutumnFall linear infinite; opacity: .85; pointer-events: none;
}
@keyframes ncAutumnFall {
  0% { transform: translateY(-5vh) rotate(0deg) translateX(0) scale(.85); opacity: 0; }
  12% { opacity: .88; }
  50% { transform: translateY(50vh) rotate(175deg) translateX(36px) scale(1.05); }
  88% { opacity: .78; }
  100% { transform: translateY(106vh) rotate(355deg) translateX(-28px) scale(.88); opacity: 0; }
}

.nc-amb-weave i { position: absolute; left: -12%; width: 124%; height: 2px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--gold, #C2A06A) 55%, transparent), transparent); opacity: .5; animation: ncWeaveSweep linear infinite; }
@keyframes ncWeaveSweep { 0% { transform: translateX(-30px); opacity: 0; } 30% { opacity: .55; } 70% { opacity: .4; } 100% { transform: translateX(30px); opacity: 0; } }

.nc-amb-lanterns i { position: absolute; bottom: -30px; border-radius: 6px; aspect-ratio: 1/1.4; background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--gold, #E6C25A) 85%, #fff) 0%, var(--gold, #E6C25A) 55%, transparent 78%); box-shadow: 0 0 18px color-mix(in srgb, var(--gold, #E6C25A) 60%, transparent); opacity: .5; animation: ncGoldRise linear infinite; }

.nc-amb-waves { mix-blend-mode: soft-light; opacity: .5; }
.nc-amb-waves i { position: absolute; border-radius: 50%; filter: blur(40px); background: radial-gradient(circle, color-mix(in srgb, var(--sk, #3E6F94) 40%, transparent) 0%, transparent 62%); }
.nc-amb-waves .w1 { width: 60vw; height: 30vh; left: -10%; top: 12%; animation: ncAuroraA 30s ease-in-out infinite alternate; }
.nc-amb-waves .w2 { width: 52vw; height: 26vh; right: -8%; top: 46%; animation: ncAuroraB 38s ease-in-out infinite alternate; }
.nc-amb-waves .w3 { width: 44vw; height: 22vh; left: 24%; top: 74%; animation: ncAuroraA 46s ease-in-out infinite alternate-reverse; }

.nc-amb-leaves i { position: absolute; top: -30px; aspect-ratio: 1/1.5; border-radius: 0 999px 0 999px; background: linear-gradient(135deg, var(--leaf, #7C8E5A), color-mix(in srgb, var(--leaf, #7C8E5A) 55%, #B3674A)); opacity: .45; animation: ncLeafFall linear infinite; }
@keyframes ncLeafFall { 0% { transform: translateY(-4vh) rotate(0deg) translateX(0); } 50% { transform: translateY(52vh) rotate(190deg) translateX(34px); } 100% { transform: translateY(108vh) rotate(380deg) translateX(-16px); } }

.nc-amb-ember .glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 78%, color-mix(in srgb, var(--gold, #C39A69) 26%, transparent) 0%, transparent 46%); animation: ncEmberFlicker 5.5s ease-in-out infinite; }
.nc-amb-ember i { position: absolute; bottom: -8px; width: 2px; height: 2px; border-radius: 50%; background: var(--gold, #C39A69); box-shadow: 0 0 8px var(--gold, #C39A69); opacity: .7; animation: ncGoldRise linear infinite; }
@keyframes ncEmberFlicker { 0%, 100% { opacity: .75; } 22% { opacity: 1; } 47% { opacity: .6; } 66% { opacity: .95; } 81% { opacity: .68; } }

.ncv-scene-in, .ncv-wc-in, .ncv-noir-in { animation: ncCoverIn 1.15s cubic-bezier(.22,1,.36,1) both; }
.ncv-scene-bg { animation: ncCoverBg 2s ease both; }
.ncv-still .ncv-scene-in, .ncv-still .ncv-wc-in, .ncv-still .ncv-noir-in, .ncv-still .ncv-scene-bg { animation: none; }
@keyframes ncCoverIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ncCoverBg { from { opacity: 0; transform: scale(1.1); } to { opacity: 1; transform: scale(1.08); } }
.ncv-scene-bg { transform: scale(1.08) translate(calc(var(--mx, 0) * -12px), calc(var(--my, 0) * -9px)); transition: transform .35s cubic-bezier(.22,1,.36,1); }
.ncv-noir-photo { transform: translate(calc(-50% + var(--mx, 0) * 8px), calc(-52% + var(--my, 0) * 6px)); transition: transform .35s cubic-bezier(.22,1,.36,1); }
@media (prefers-reduced-motion: reduce) {
  .ncv-scene-bg, .ncv-noir-photo { transform: none !important; }
  .nc-amb-weave i, .nc-amb-lanterns i, .nc-amb-leaves i, .nc-amb-ember i, .nc-amb-ember .glow { animation: none !important; }
  .nc-amb-lanterns, .nc-amb-leaves, .nc-amb-ember i { display: none; }
  .ncv-scene-in, .ncv-wc-in, .ncv-noir-in, .ncv-scene-bg { animation: none; }
}

/* ---------- entrance per keluarga ---------- */
#mainStage[data-fam="adat"] .reveal-item:not(.active) { transform: none; clip-path: inset(12% 0 12% 0); }
#mainStage[data-fam="adat"] .reveal-item { transition-property: opacity, clip-path; transition-duration: .9s; }
#mainStage[data-fam="adat"] .reveal-item.active { clip-path: inset(0 0 0 0); }
#mainStage[data-fam="noir"] .reveal-item:not(.active) { transform: translateY(18px); filter: blur(9px); letter-spacing: .08em; }
#mainStage[data-fam="noir"] .reveal-item { transition-property: opacity, transform, filter, letter-spacing; transition-duration: 1s; }
#mainStage[data-fam="noir"] .reveal-item.active { filter: blur(0); letter-spacing: normal; }
#mainStage[data-fam="floral"] .reveal-item:not(.active) { transform: scale(.965); filter: blur(5px); }
#mainStage[data-fam="floral"] .reveal-item { transition-property: opacity, transform, filter; transition-duration: 1.05s; }
#mainStage[data-fam="floral"] .reveal-item.active { filter: blur(0); transform: scale(1); }
#mainStage[data-fam="destinasi"] .reveal-item:not(.active) { transform: translateX(-26px); }
#mainStage[data-fam="destinasi"] .reveal-item { transition-property: opacity, transform; transition-duration: .95s; }
#mainStage[data-fam="destinasi"] .reveal-item.active { transform: translateX(0); }
@media (prefers-reduced-motion: reduce) {
  #mainStage[data-fam] .reveal-item:not(.active) { transform: none; filter: none; clip-path: none; letter-spacing: normal; }
}

/* ==========================================================================
   FLOURISH PER TEMA: pita budaya, kartu Horja Batak, Intimate gelap hangat,
   sampul tipografis untuk tema minimalis
   ========================================================================== */
/* pita pembatas seksi — palet tenun/ukiran tiap budaya */
section.nc-band { position: relative; }
section.nc-band::before { content: ''; position: absolute; top: 0; left: 8%; right: 8%; height: 1px; background: var(--nc-band, transparent); opacity: .34; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, black 22%, black 78%, transparent); mask-image: linear-gradient(90deg, transparent, black 22%, black 78%, transparent); }

/* kartu acara gaya Horja (Batak): band ulos + sudut gorga */
#mainStage.fl-batak section .reveal-item.rounded-2xl,
#mainStage.fl-batak .nc-cl-event,
#mainStage.fl-batak .nc-sa-event {
  position: relative; overflow: hidden;
}
#mainStage.fl-batak section .reveal-item.rounded-2xl::before,
#mainStage.fl-batak .nc-cl-event::before,
#mainStage.fl-batak .nc-sa-event::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(90deg,#7F1D1D 0 22px,#160B0B 22px 28px,#C0685D 28px 38px,#F59E0B 38px 44px,#FFFDF9 44px 46px);
}
#mainStage.fl-batak section .reveal-item.rounded-2xl::after,
#mainStage.fl-batak .nc-cl-event::after,
#mainStage.fl-batak .nc-sa-event::after {
  content: ''; position: absolute; bottom: 10px; right: 10px; width: 22px; height: 22px;
  border-right: 2px solid #F59E0B; border-bottom: 2px solid #C0685D; opacity: .8; pointer-events: none;
}
#mainStage.fl-batak h2, #mainStage.fl-batak h3 { letter-spacing: .01em; }

/* Intimate Candlelight Garden sebagai wajah Soft Arch: linen gelap hangat */
#mainStage.fl-intimate .nc-sa { background: rgba(33, 28, 21, 0.56); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #F0E7D6; }
#mainStage.fl-intimate .nc-sa-kicker,
#mainStage.fl-intimate .nc-sa-sub,
#mainStage.fl-intimate .nc-sa-date,
#mainStage.fl-intimate .nc-sa-guest,
#mainStage.fl-intimate .nc-sa-greeting-sub,
#mainStage.fl-intimate .nc-sa-place,
#mainStage.fl-intimate .nc-sa-person p,
#mainStage.fl-intimate .nc-sa-parents { color: rgba(240,231,214,.72); }
#mainStage.fl-intimate .nc-sa-h2,
#mainStage.fl-intimate .nc-sa-event h3,
#mainStage.fl-intimate .nc-sa-person h3,
#mainStage.fl-intimate .nc-sa-story h3 { color: #F5EDDC; }
#mainStage.fl-intimate .nc-sa-event,
#mainStage.fl-intimate .nc-sa-story article { background: #2A241B; border: 1px solid rgba(217,164,65,.28); box-shadow: none; }
#mainStage.fl-intimate .nc-sa-chip { background: #C39A69; color: #211C15; }
#mainStage.fl-intimate .nc-sa-wave { color: #C39A69; opacity: .5; }
#mainStage.fl-intimate .nc-sa-frame,
#mainStage.fl-intimate .nc-sa-mini { border-color: #3A3226; box-shadow: 0 12px 34px rgba(0,0,0,.45); background: #2A241B; }
#mainStage.fl-intimate .nc-sa-story-img { background: #2A241B; }
#mainStage.fl-intimate .nc-sa-guest strong { color: #F5EDDC; }

/* sampul tipografis — untuk tema tanpa foto (minimalis) */
.ncv-type { background: #FAF7F1; color: #1F1B18; }
.ncv-type-in { text-align: center; padding: 48px 30px; max-width: 560px; }
.ncv-type-rule { display: block; width: 64px; height: 1px; margin: 22px auto; background: color-mix(in srgb, var(--sk, #8C7A66) 70%, transparent); }
.ncv-type-names { font-size: clamp(40px, 8.5vw, 66px); line-height: 1.04; font-weight: 500; }
.ncv-type-date { font-size: 11.5px; letter-spacing: .44em; text-indent: .44em; color: #8B7F73; }
.ncv-type-sub { margin-top: 26px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: #8B7F73; }
.ncv-type-guest { margin-top: 7px; font-size: 18px; font-weight: 600; }
.ncv-type-btn { background: var(--sk, #1F1B18); }
.ncv-type .ncv-kicker { color: #8B7F73; }

/* ---------- tema tanpa foto: sembunyikan bingkai foto & gambar kosong ---------- */
#mainStage.fl-nophoto .nc-cl-frame,
#mainStage.fl-nophoto .nc-sa-frame,
#mainStage.fl-nophoto .nc-sa-mini,
#mainStage.fl-nophoto .nc-sa-story-img,
#mainStage.fl-nophoto .nc-noir-frame { display: none; }
img[src=""] { visibility: hidden; }

/* ==========================================================================
   TRANSISI BERTEMA YANG TERLIHAT: kain penyibak seksi + keluar sampul
   ========================================================================== */
/* seksi ber-kain */
section.has-sweep { position: relative; }
section.has-sweep > .nc-sweep {
  position: absolute; inset: -2px; z-index: 6; pointer-events: none;
  opacity: 1; transition: none;
}
section.has-sweep.active > .nc-sweep {
  transition: transform 1.25s cubic-bezier(.16,1,.3,1), opacity .6s ease .5s, clip-path 1.3s cubic-bezier(.16,1,.3,1);
  opacity: 0;
}
/* kain adat: warna tema pekat (terasa seperti kain tenun disibak) */
#mainStage[data-fam="adat"] section.has-sweep > .nc-sweep {
  background:
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--sk, #7A4E28) 88%, #140F0B) 0 46px, color-mix(in srgb, var(--sk, #7A4E28) 55%, #1A1410) 46px 58px),
    linear-gradient(112deg, color-mix(in srgb, var(--sk, #7A4E28) 85%, #140F0B), #140F0B);
}
/* kain floral/destinasi: selimut kertas terang yang lembut */
#mainStage[data-fam="floral"] section.has-sweep > .nc-sweep,
#mainStage[data-fam="destinasi"] section.has-sweep > .nc-sweep {
  background: linear-gradient(112deg, #FBF7F0 0%, #F4EDE1 55%, rgba(251,247,240,.25) 100%);
}

/* coverGate transition state — transparan agar panggung #mainStage langsung terlihat saat pintu/tirai/amplop terbuka */
#coverGate {
  height: calc(var(--vh, 1vh) * 100);
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  perspective: 1800px;
  overflow: hidden;
  opacity: 1 !important;
  transition: none !important;
}
#coverGate.gate-open {
  opacity: 1 !important;
  pointer-events: none !important;
}
#coverGate.opacity-0 {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
#coverGate.gate-open ~ #mainStage {
  animation: ncMainStagePush 1.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes ncMainStagePush {
  0% { transform: scale(1.035); filter: brightness(0.88); }
  100% { transform: scale(1); filter: brightness(1); }
}

/* foto muncul dengan sapuan pada keluarga adat */
#mainStage[data-fam="adat"] .reveal-item img {
  transition: clip-path 1s cubic-bezier(.65,0,.35,1) .15s;
  clip-path: inset(0 0 0 0);
}
#mainStage[data-fam="adat"] .reveal-item:not(.active) img {
  clip-path: inset(0 100% 0 0);
}

/* garis pembatas tumbuh dari tengah saat seksi menyala */
#mainStage .reveal-item .h-px,
#mainStage .reveal-item .h-\[1px\] {
  transform: scaleX(0); transform-origin: center;
  transition: transform .9s cubic-bezier(.65,0,.35,1) .25s;
}
#mainStage .reveal-item.active .h-px,
#mainStage .reveal-item.active .h-\[1px\] { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .nc-sweep, #coverGate::after { display: none !important; }
  #mainStage[data-fam="adat"] .reveal-item img { transition: none; clip-path: none; }
  #mainStage .reveal-item .h-px, #mainStage .reveal-item .h-\[1px\] { transform: none; transition: none; }
  #coverGate.opacity-0 .ncv-scene-in, #coverGate.opacity-0 .ncv-scene-bg,
  #coverGate.opacity-0 .ncv-noir-in, #coverGate.opacity-0 .ncv-wc-in,
  #coverGate.opacity-0 .ncv-type-in { animation: none !important; }
}

/* ==========================================================================
   POLA REFERENSI: Ken Burns sampul, ornamen melayang berfase, foto
   ter-reveal zoom dari sudut — semua satu arah lembut, tanpa kilau murahan
   ========================================================================== */

/* 1) Ken Burns pada foto sampul scene — bernapas terus, sangat pelan */
.ncv-scene-bg {
  animation: ncCoverBg 2s ease both, ncKenburns 38s ease-in-out infinite alternate 2s;
}
@keyframes ncKenburns {
  0%   { transform: scale(1.08) translate(0, 0); }
  50%  { transform: scale(1.14) translate(-1.6%, 1%); }
  100% { transform: scale(1.09) translate(1.4%, -1.2%); }
}
#coverGate.opacity-0 .ncv-scene-bg { animation: ncExitBg 1.1s ease forwards !important; }

/* 2) ornamen sudut melayang/goyang — tiap tema punya fase sendiri (--od),
      elemen kanan-bawah sengaja terlambat agar tidak serempak (gaya
      Rumahundangan: fla/flb/flc/fld berbeda fase) */
#coverGate .anim-sway  { animation: ncOrnSway 9s ease-in-out infinite alternate; animation-delay: var(--od, 0s); }
#coverGate .anim-float { animation: ncOrnBob 6.5s ease-in-out infinite alternate; animation-delay: calc(var(--od, 0s) + .9s); }
.nc-sa-orn, .ncv-wc-orn { animation: ncOrnBob 7.5s ease-in-out infinite alternate; animation-delay: var(--od, 0s); }
.nc-sa-orn.br, .ncv-wc-orn.br { animation-name: ncOrnSway; animation-delay: calc(var(--od, 0s) + 1.8s); }
@keyframes ncOrnBob  { 0% { transform: translateY(0) rotate(0deg); } 100% { transform: translateY(-7px) rotate(-1.4deg); } }
@keyframes ncOrnSway { 0% { transform: rotate(0deg); } 100% { transform: rotate(2.2deg) translateY(-3px); } }

/* Micro-animations ornamen hidup gaya agung & alami (organik, tenang, tanpa jitter cepat) */
.anim-wayang-l { animation: ncWayangL 14s infinite alternate ease-in-out; transform-origin: bottom left; }
.anim-wayang-r { animation: ncWayangR 14s infinite alternate ease-in-out; transform-origin: bottom right; }
@keyframes ncWayangL { 0% { transform: rotate(0deg) translateY(0); } 100% { transform: rotate(-1.2deg) translateY(-2px); } }
@keyframes ncWayangR { 0% { transform: scaleX(-1) rotate(0deg) translateY(0); } 100% { transform: scaleX(-1) rotate(1.2deg) translateY(-2px); } }

.anim-bunga-a { animation: ncBungaA 16s infinite alternate ease-in-out; transform-origin: left top; }
.anim-bunga-b { animation: ncBungaB 18s infinite alternate ease-in-out; transform-origin: right top; }
@keyframes ncBungaA { 0% { transform: rotate(0deg) translateY(0); opacity: 0.85; } 100% { transform: rotate(0.6deg) translateY(-3px); opacity: 0.98; } }
@keyframes ncBungaB { 0% { transform: rotate(0deg) translateY(0); opacity: 0.85; } 100% { transform: rotate(-0.6deg) translateY(-3px); opacity: 0.98; } }

.anim-pulse-gentle { animation: ncPulseGentle 8s infinite ease-in-out; transform-origin: center; }
@keyframes ncPulseGentle { 0%, 100% { transform: scale(1); opacity: 0.92; } 50% { transform: scale(1.02); opacity: 1; } }

.anim-flower-spin { animation: ncFlowerSpin 20s infinite alternate ease-in-out; transform-origin: center; }
@keyframes ncFlowerSpin { 0% { transform: rotate(2deg) scale(1); } 100% { transform: rotate(-2deg) scale(1.015); } }

/* 3) foto ter-reveal zoom dari sudut pada keluarga floral/destinasi
      (zoom-top-left / zoom-bottom-right ala Rumahundangan) */
#mainStage[data-fam="floral"] .reveal-item img,
#mainStage[data-fam="destinasi"] .reveal-item img {
  transition: clip-path 1s cubic-bezier(.65,0,.35,1) .1s, transform 1.25s cubic-bezier(.22,1,.36,1) .1s;
  clip-path: inset(0 0 0 0); transform: scale(1);
}
#mainStage[data-fam="floral"] .reveal-item:not(.active) img {
  clip-path: inset(14% 0 0 14%); transform: scale(1.14); transform-origin: top left;
}
#mainStage[data-fam="destinasi"] .reveal-item:not(.active) img {
  clip-path: inset(0 14% 14% 0); transform: scale(1.12); transform-origin: bottom right;
}
#mainStage[data-fam="floral"] .reveal-item.active img,
#mainStage[data-fam="destinasi"] .reveal-item.active img { clip-path: inset(0); transform: scale(1); }

/* 4) tombol tumbuh halus saat disentuh (elementor-animation-grow ala referensi) */
.ncv-btn:hover, .nc-sa-map:hover, .nc-cl-map:hover { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  .ncv-scene-bg { animation: none !important; }
  #coverGate .anim-sway, #coverGate .anim-float, .nc-sa-orn, .ncv-wc-orn, .anim-wayang-l, .anim-wayang-r, .anim-bunga-a, .anim-bunga-b, .anim-pulse-gentle, .anim-flower-spin { animation: none !important; }
  #mainStage[data-fam="floral"] .reveal-item img,
  #mainStage[data-fam="destinasi"] .reveal-item img { transition: none; clip-path: none; transform: none; }
}

/* ==========================================================================
   LAYOUT 10: BAB PER BAB — undangan sebagai rangkaian bab sinema
   ========================================================================== */
.nc-bab { position: relative; height: calc(100svh - var(--nc-demo-hdr-h, 0px) - var(--nc-demo-bar-h, 0px)); min-height: 520px; overflow: hidden; }
.nc-bab-ch {
  position: absolute; inset: 0; padding: 84px 24px 96px; overflow-y: auto;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0; transform: translateY(7%);
  pointer-events: none;
  transition: opacity .65s ease, transform .75s cubic-bezier(.22,1,.36,1);
}
.nc-bab-ch::before {
  content: none;
}
.nc-bab-ch.is-cur { opacity: 1; transform: none; pointer-events: auto; }
.nc-bab-ch.is-done { transform: translateY(-7%); }
.nc-bab-ch.is-next { transform: translateY(7%); }
.nc-bab-in { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; text-align: center; width: 100%; }
.nc-bab-in.nc-bab-wide { max-width: 900px; }
.nc-bab-kicker { font-size: 10.5px; letter-spacing: .42em; text-transform: uppercase; font-weight: 800; margin-bottom: 14px; color: var(--sk); text-shadow: 0 1px 4px rgba(0,0,0,0.15); }
.nc-bab-ch h1 { font-size: clamp(42px, 9vw, 76px); line-height: 1.02; font-weight: 700; color: var(--text, #1A140E); text-shadow: 0 2px 10px rgba(0,0,0,0.12); }
.nc-bab-ch h1 span { font-weight: 400; }
.nc-bab-dotted { margin-top: 16px; font-size: 12px; letter-spacing: .5em; text-indent: .5em; font-weight: 800; color: var(--sk); text-shadow: 0 1px 4px rgba(0,0,0,0.12); }
.nc-bab-guest { margin-top: 30px; font-size: 13.5px; opacity: .95; color: var(--text, #1A140E); }
.nc-bab-guest strong { font-size: 18px; font-weight: 800; color: var(--text, #1A140E); }
.nc-bab-label { font-size: 11px; letter-spacing: .4em; text-transform: uppercase; color: var(--sk); margin-bottom: 24px; font-weight: 800; text-shadow: 0 1px 4px rgba(0,0,0,0.15); }
.nc-bab-greet { font-size: 30px; line-height: 1.25; margin-bottom: 16px; color: var(--sk); text-shadow: 0 1px 6px rgba(0,0,0,0.12); }
.nc-bab-text { font-size: 14px; line-height: 1.9; font-weight: 500; max-width: 48ch; margin: 0 auto; color: var(--text, #1A140E); }
.nc-bab-count { margin-top: 30px; display: flex; justify-content: center; gap: 18px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text, #1A140E); }
.nc-bab-count strong { display: block; font-family: "Playfair Display", serif; font-size: 28px; font-variant-numeric: tabular-nums; color: var(--sk); font-weight: 800; }
.nc-bab-couple { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.nc-bab-frame { width: min(38vw, 180px); aspect-ratio: 3/4; margin: 0 auto 14px; border-radius: 999px 999px 14px 14px; overflow: hidden; border: 4px solid color-mix(in srgb, var(--sk) 45%, transparent); background: rgba(127,127,127,.08); box-shadow: 0 10px 28px rgba(0,0,0,0.2); }
.nc-bab-frame img { width: 100%; height: 100%; object-fit: cover; }
.nc-bab-couple h3 { font-family: "Playfair Display", serif; font-size: 24px; font-weight: 700; color: var(--text, #1A140E); }
.nc-bab-couple p { margin-top: 5px; font-size: 12px; color: var(--text, #1A140E); opacity: .88; }
.nc-bab-parents { margin-top: 8px; line-height: 1.7; color: var(--muted, #4A3E34); opacity: .85; }
.nc-bab-event {
  max-width: 480px; margin: 0 auto 18px; padding: 28px 24px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid color-mix(in srgb, var(--sk, #A6603A) 45%, rgba(0,0,0,0.1));
  box-shadow: 0 18px 45px rgba(0,0,0,0.22);
  position: relative; z-index: 2;
  color: #1A140E !important;
}
.nc-bab-event h3 { font-family: "Playfair Display", serif; font-size: 24px; font-weight: 800; color: #1A140E !important; }
.nc-bab[data-dark="true"] .nc-bab-event {
  background: rgba(22, 17, 13, 0.95) !important;
  border-color: color-mix(in srgb, var(--sk, #D4AF37) 45%, transparent);
  color: #FAF7F2 !important;
}
.nc-bab[data-dark="true"] .nc-bab-event h3 { color: #FAF7F2 !important; }
.nc-bab[data-dark="true"] .nc-bab-place { color: #D2C5B5 !important; }
.nc-bab-date { margin-top: 8px; font-size: 12px; letter-spacing: .34em; color: var(--sk); font-weight: 800; }
.nc-bab-place { margin-top: 8px; font-size: 13.5px; opacity: .95; line-height: 1.65; color: var(--text, #1A140E) !important; font-weight: 600; }
.nc-bab-map { display: inline-block; margin-top: 14px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--sk) !important; font-weight: 800; background: color-mix(in srgb, var(--sk) 14%, transparent); border: 1px solid color-mix(in srgb, var(--sk) 40%, transparent); border-radius: 999px; padding: 6px 18px; transition: transform .2s ease; }
.nc-bab-map:hover { transform: scale(1.05); }
.nc-bab-gallery { columns: 2; column-gap: 12px; }
.nc-bab-gallery img { width: 100%; margin-bottom: 12px; border-radius: 10px; cursor: zoom-in; }
.nc-bab-nav {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%); z-index: 45;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: rgba(20, 16, 12, 0.65); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 12px 7px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.nc-bab-nav > button {
  width: 36px; height: 36px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  background: var(--sk); color: #FBF7F0; border: none; cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}
.nc-bab-nav > button:hover { transform: scale(1.12); filter: brightness(1.15); }
.nc-bab-dots { display: flex; flex-direction: column; gap: 7px; }
.nc-bab-dot { width: 7px; height: 7px; border-radius: 999px; border: none; padding: 0; cursor: pointer; background: color-mix(in srgb, var(--sk) 40%, transparent); transition: transform .25s ease, background .25s ease; }
.nc-bab-dot.on { background: #FAF7F2; transform: scale(1.45); box-shadow: 0 0 6px rgba(255,255,255,0.8); }
@media (max-width: 640px) { .nc-bab-couple { grid-template-columns: 1fr; gap: 28px; } }
@media (prefers-reduced-motion: reduce) {
  .nc-bab-ch { transition: opacity .3s ease; transform: none !important; }
}

/* ==========================================================================
   CHOREOGRAFI GERBANG FISIK MULTI-PART PER BUDAYA (10 TRANSISI NYATA)
   - #coverGate transparan agar #mainStage langsung terlihat sejak t = 0ms
   - Tiap transisi menggerakkan panel fisik terpisah (pintu gebyok 3D, gunungan
     kembar, amplop segel lilin 3D, tirai sutra berpelmet, kain ulos diagonal,
     songket emas bersilang, 4 pita tapis, gerbang candi bentar, lensa cincin
     emas, kabut taman 3 lapis)
   ========================================================================== */
#coverGate::after { content: none !important; animation: none !important; }

.nc-gate-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1800px;
  transform-style: preserve-3d;
}

.nc-gate-mech {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  perspective: 1800px;
  transform-style: preserve-3d;
}

/* Latar fotografi budaya asli pada tiap panel gerbang */
.nc-gp-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.06) saturate(1.08);
  transform: scale(1.07) translate3d(calc(var(--mx, 0) * -10px), calc(var(--my, 0) * -7px), 0);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nc-gp-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center,
    color-mix(in srgb, var(--bg, #18120D) 52%, rgba(12,9,6,0.45)) 0%,
    color-mix(in srgb, var(--bg, #18120D) 82%, rgba(10,7,5,0.85)) 100%);
}
.nc-gate-stage[data-dark="false"] .nc-gp-scrim {
  background: radial-gradient(ellipse at center,
    color-mix(in srgb, var(--bg, #FAF6EE) 64%, rgba(25,18,12,0.18)) 0%,
    color-mix(in srgb, var(--bg, #FAF6EE) 86%, rgba(25,18,12,0.42)) 100%);
}
.nc-gp-grain {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  mix-blend-mode: overlay;
}

/* Kartu Undangan Utama di Tengah Gerbang */
.nc-gate-card {
  position: relative;
  z-index: 10;
  width: min(90vw, 430px);
  padding: 28px 26px 24px;
  border-radius: 34px;
  text-align: center;
  background: linear-gradient(165deg, rgba(24, 18, 13, 0.86) 0%, rgba(15, 11, 8, 0.92) 100%);
  border: 1.5px solid color-mix(in srgb, var(--sk, #D4AF37) 58%, rgba(255,255,255,0.18));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #FAF6EE;
  overflow: hidden;
  transform: perspective(1100px)
    translate3d(calc(var(--mx, 0) * 8px), calc(var(--my, 0) * 6px), 26px)
    rotateY(calc(var(--mx, 0) * 1.6deg))
    rotateX(calc(var(--my, 0) * -1.1deg));
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
}
.nc-gate-stage[data-dark="false"] .nc-gate-card {
  background: linear-gradient(165deg, rgba(253, 249, 242, 0.92) 0%, rgba(245, 237, 224, 0.95) 100%);
  color: #231B14;
  box-shadow: 0 26px 65px rgba(32, 22, 12, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.nc-gc-corner {
  position: absolute;
  width: 84px;
  height: 84px;
  pointer-events: none;
  opacity: 0.78;
}
.nc-gc-corner.tl { top: -4px; left: -4px; }
.nc-gc-corner.br { bottom: -4px; right: -4px; transform: rotate(180deg); }
.nc-gc-sym {
  width: 52px;
  height: 62px;
  margin: 0 auto 6px;
}
.nc-gc-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid color-mix(in srgb, var(--sk, #D4AF37) 50%, transparent);
  background: color-mix(in srgb, var(--sk, #D4AF37) 15%, transparent);
  color: var(--sk, #D4AF37);
  margin-bottom: 6px;
}
.nc-gate-stage[data-dark="true"] .nc-gc-badge {
  color: #F5D77F;
}
.nc-gc-kicker {
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.78;
  margin-bottom: 10px;
}
.nc-gc-portrait {
  width: 112px;
  height: 142px;
  margin: 0 auto 12px;
  border-radius: 999px 999px 18px 18px;
  padding: 4px;
  border: 2px solid var(--sk, #D4AF37);
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}
.nc-gc-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px 999px 14px 14px;
}
.nc-gc-names {
  font-size: clamp(26px, 5vw, 35px);
  font-weight: 700;
  line-height: 1.12;
  color: inherit;
}
.nc-gc-amp {
  font-weight: 400;
  color: var(--sk, #D4AF37);
  padding: 0 3px;
}
.nc-gc-date {
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 6px;
  font-weight: 700;
}
.nc-gc-guestbox {
  margin: 14px 0;
  padding: 11px 16px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid color-mix(in srgb, var(--sk, #D4AF37) 35%, transparent);
}
.nc-gate-stage[data-dark="false"] .nc-gc-guestbox {
  background: rgba(255, 255, 255, 0.65);
}
.nc-gc-to {
  font-size: 10.5px;
  opacity: 0.78;
  margin-bottom: 2px;
}
.nc-gc-guest {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--sk, #D4AF37);
}
.nc-gate-stage[data-dark="true"] .nc-gc-guest {
  color: #F7DC88;
}
.nc-gc-btn {
  width: 100%;
  padding: 13px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sk, #D4AF37), color-mix(in srgb, var(--sk, #D4AF37) 78%, #000));
  color: #FFFDF9 !important;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nc-gc-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}
.nc-gc-tr-tag {
  display: block;
  margin-top: 9px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.62;
}

/* Saat tombol Buka Undangan ditekan: Kartu Tengah terangkat & memudar elegan */
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-gate-stage:not([data-tr="iris"]) .nc-gate-card {
  animation: ncCardLiftExit 1.15s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
@keyframes ncCardLiftExit {
  0%   { transform: translateY(0) scale(1); opacity: 1; }
  45%  { transform: translateY(-16px) scale(1.03); opacity: 0.92; }
  100% { transform: translateY(-54px) scale(0.94); opacity: 0; }
}

/* ==========================================================================
   1. GUNUNGAN — Gunungan Wayang Kembar Menyibak Kiri & Kanan (Kraton Jawa)
   ========================================================================== */
.nc-mech-gunungan .nc-g-wing {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.82);
  will-change: transform;
}
.nc-mech-gunungan .nc-g-left {
  left: 0;
  border-right: 3px solid color-mix(in srgb, var(--sk, #D4AF37) 85%, #fff);
}
.nc-mech-gunungan .nc-g-right {
  right: 0;
  border-left: 3px solid color-mix(in srgb, var(--sk, #D4AF37) 85%, #fff);
}
.nc-mech-gunungan .nc-g-seam-border {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18px;
  background: repeating-linear-gradient(180deg,
    var(--sk, #D4AF37) 0px,
    var(--sk, #D4AF37) 10px,
    rgba(20, 14, 9, 0.9) 10px,
    rgba(20, 14, 9, 0.9) 20px);
  opacity: 0.88;
  z-index: 3;
}
.nc-g-left .nc-g-seam-border { right: 0; }
.nc-g-right .nc-g-seam-border { left: 0; }
.nc-mech-gunungan .nc-g-kayon {
  position: absolute;
  bottom: -2%;
  height: min(86vh, 720px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.85)) brightness(1.12);
  opacity: 0.96;
  z-index: 4;
}
.nc-mech-gunungan .nc-g-kayon-l {
  right: 14px;
  transform-origin: bottom center;
}
.nc-mech-gunungan .nc-g-kayon-r {
  left: 14px;
  transform: scaleX(-1);
  transform-origin: bottom center;
}
.nc-mech-gunungan .nc-g-corner {
  position: absolute;
  width: 120px;
  height: 120px;
  opacity: 0.82;
  z-index: 3;
}
.nc-mech-gunungan .nc-g-corner.tl { top: 12px; left: 12px; }
.nc-mech-gunungan .nc-g-corner.bl { bottom: 12px; left: 12px; transform: scaleY(-1); }
.nc-mech-gunungan .nc-g-corner.tr { top: 12px; right: 12px; transform: scaleX(-1); }
.nc-mech-gunungan .nc-g-corner.br { bottom: 12px; right: 12px; transform: rotate(180deg); }

:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-gunungan .nc-g-left {
  animation: ncGununganOpenL 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-gunungan .nc-g-right {
  animation: ncGununganOpenR 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
@keyframes ncGununganOpenL {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  45%  { transform: translate3d(-38%, -2%, 0) rotate(-3.5deg); }
  100% { transform: translate3d(-106%, -5%, 0) rotate(-7deg); }
}
@keyframes ncGununganOpenR {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  45%  { transform: translate3d(38%, -2%, 0) rotate(3.5deg); }
  100% { transform: translate3d(106%, -5%, 0) rotate(7deg); }
}

/* ==========================================================================
   2. GEBYOK — Pintu Gebyok Kayu Ukir 3D (Ayun Engsel Kiri & Kanan)
   ========================================================================== */
.nc-mech-gebyok {
  perspective: 1800px;
  transform-style: preserve-3d;
}
.nc-gebyok-lintel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  z-index: 5;
  background: linear-gradient(180deg, #2A1A10 0%, #3E2718 65%, #1F120A 100%);
  border-bottom: 3px solid var(--sk, #D4AF37);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nc-gebyok-door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.3%;
  overflow: hidden;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.85);
}
.nc-gebyok-door.nc-door-l {
  left: 0;
  transform-origin: left center;
  border-right: 3px solid var(--sk, #D4AF37);
}
.nc-gebyok-door.nc-door-r {
  right: 0;
  transform-origin: right center;
  border-left: 3px solid var(--sk, #D4AF37);
}
.nc-door-wood {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(46, 27, 15, 0.74) 0%, rgba(72, 43, 24, 0.56) 50%, rgba(38, 22, 12, 0.78) 100%),
    repeating-linear-gradient(90deg, rgba(255,215,130,0.03) 0px, rgba(255,215,130,0.03) 3px, rgba(0,0,0,0.08) 3px, rgba(0,0,0,0.08) 9px);
}
.nc-door-frame {
  position: absolute;
  inset: 78px 22px 26px 22px;
  border: 2px solid color-mix(in srgb, var(--sk, #D4AF37) 65%, transparent);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.65);
}
.nc-door-coffer {
  flex: 1;
  margin: 10px 6px;
  border: 1.5px solid color-mix(in srgb, var(--sk, #D4AF37) 42%, transparent);
  border-radius: 8px;
  background: rgba(20, 12, 7, 0.36);
  box-shadow: inset 0 4px 18px rgba(0, 0, 0, 0.6);
}
.nc-door-ukir {
  position: absolute;
  width: 96px;
  height: 96px;
  opacity: 0.85;
}
.nc-door-ukir.tl { top: 4px; left: 4px; }
.nc-door-ukir.bl { bottom: 4px; left: 4px; transform: scaleY(-1); }
.nc-door-ukir.tr { top: 4px; right: 4px; transform: scaleX(-1); }
.nc-door-ukir.br { bottom: 4px; right: 4px; transform: rotate(180deg); }
.nc-door-handle {
  position: absolute;
  top: 50%;
  width: 28px;
  height: 76px;
  margin-top: -38px;
  border-radius: 999px;
  background: linear-gradient(180deg, #F7DC88, #B8860B, #F7DC88);
  border: 2px solid #FFF8DC;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nc-door-handle i {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 3px solid #3A2312;
}
.nc-handle-l { right: 12px; }
.nc-handle-r { left: 12px; }

:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-gebyok .nc-door-l {
  animation: ncGebyokSwingL 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-gebyok .nc-door-r {
  animation: ncGebyokSwingR 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-gebyok .nc-gebyok-lintel {
  animation: ncLintelUp 1.85s cubic-bezier(0.35, 0, 0.2, 1) 0.2s forwards;
}
@keyframes ncGebyokSwingL {
  0%   { transform: rotateY(0deg); filter: brightness(1); }
  45%  { transform: rotateY(-48deg); filter: brightness(0.82); }
  100% { transform: rotateY(-86deg); filter: brightness(0.65); }
}
@keyframes ncGebyokSwingR {
  0%   { transform: rotateY(0deg); filter: brightness(1); }
  45%  { transform: rotateY(48deg); filter: brightness(0.82); }
  100% { transform: rotateY(86deg); filter: brightness(0.65); }
}
@keyframes ncLintelUp {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-120%); opacity: 0; }
}

/* ==========================================================================
   3. IRIS — Amplop Segel Lilin Emas 3D (Royal Wax Seal Envelope)
   ========================================================================== */
.nc-mech-iris .nc-env-wing {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 51%;
  overflow: hidden;
}
.nc-mech-iris .nc-env-wing-l { left: 0; }
.nc-mech-iris .nc-env-wing-r { right: 0; }
.nc-mech-iris .nc-env-backdrop {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1600px;
}
.nc-mech-iris .nc-env-shell {
  position: relative;
  width: min(94vw, 520px);
  height: min(86vh, 650px);
  border-radius: 24px;
  transform-style: preserve-3d;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.72);
}
.nc-mech-iris .nc-env-back {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(160deg, #2B2017 0%, #1A130D 100%);
  border: 2px solid color-mix(in srgb, var(--sk, #D4AF37) 65%, transparent);
}
/* Kantong amplop bawah & samping (di atas kartu sedikit di bagian tepi) */
.nc-mech-iris .nc-env-pocket {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background:
    linear-gradient(32deg, rgba(38, 28, 19, 0.96) 0%, rgba(52, 38, 26, 0.94) 44%, transparent 44.5%),
    linear-gradient(-32deg, rgba(38, 28, 19, 0.96) 0%, rgba(52, 38, 26, 0.94) 44%, transparent 44.5%),
    linear-gradient(0deg, rgba(32, 23, 15, 0.98) 0%, rgba(48, 35, 24, 0.95) 38%, transparent 38.5%);
  border-bottom: 3px solid var(--sk, #D4AF37);
  pointer-events: none;
  z-index: 12;
}
/* Lidah Penutup Amplop Segitiga Atas (Flap 3D) */
.nc-mech-iris .nc-env-flap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 54%;
  background: linear-gradient(180deg, #3D2D20 0%, #261B12 100%);
  clip-path: polygon(0 0, 100% 0, 50% 94%);
  transform-origin: top center;
  transform-style: preserve-3d;
  border-top: 2.5px solid var(--sk, #D4AF37);
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.65));
  z-index: 14;
}
.nc-mech-iris .nc-env-flap-lining {
  position: absolute;
  inset: 6px 14px 16px 14px;
  clip-path: polygon(0 0, 100% 0, 50% 92%);
  border-top: 1px dashed color-mix(in srgb, var(--sk, #D4AF37) 65%, transparent);
  background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--sk, #D4AF37) 25%, transparent), transparent 70%);
}
/* Segel Lilin Emas 3D (Embossed Royal Wax Seal) */
.nc-mech-iris .nc-wax-seal {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 30%, #FFF2B2 0%, #E6B84C 35%, #AA771C 72%, #6E480B 100%);
  border: 3px solid #FCE8A6;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7), inset 0 2px 8px rgba(255, 255, 255, 0.65), inset 0 -4px 10px rgba(68, 40, 4, 0.8);
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  animation: ncWaxPulse 3s ease-in-out infinite;
}
@keyframes ncWaxPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-50%, -50%) scale(1.05); }
}
.nc-mech-iris .nc-wax-ring {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  border: 1.5px dashed #5C3A06;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #3D2502;
  text-shadow: 0 1px 0 rgba(255, 240, 190, 0.6);
}
.nc-mech-iris .nc-wax-mono {
  font-family: "Playfair Display", serif;
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
}
.nc-mech-iris .nc-wax-mono span {
  font-size: 13px;
  padding: 0 1px;
}
.nc-mech-iris .nc-wax-sub {
  font-size: 6.5px;
  letter-spacing: 0.22em;
  font-weight: 800;
  margin-top: 2px;
}

/* Choreografi Buka Amplop Segel Lilin 3D */
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-iris .nc-wax-seal {
  animation: ncWaxBreak 0.65s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-iris .nc-env-flap {
  animation: ncFlapOpen3D 0.95s cubic-bezier(0.4, 0, 0.2, 1) 0.18s forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-gate-stage[data-tr="iris"] .nc-gate-card {
  animation: ncLetterRise 1.75s cubic-bezier(0.22, 1, 0.36, 1) 0.42s forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-iris .nc-env-shell {
  animation: ncEnvShellDrop 1.25s cubic-bezier(0.45, 0, 0.2, 1) 0.85s forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-iris .nc-env-wing-l {
  animation: ncGununganOpenL 1.65s cubic-bezier(0.35, 0, 0.2, 1) 0.45s forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-iris .nc-env-wing-r {
  animation: ncGununganOpenR 1.65s cubic-bezier(0.35, 0, 0.2, 1) 0.45s forwards;
}
@keyframes ncWaxBreak {
  0%   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  45%  { transform: translate(-50%, -50%) scale(1.25) rotate(12deg); opacity: 0.95; filter: brightness(1.35); }
  100% { transform: translate(-50%, -50%) scale(0.3) rotate(25deg); opacity: 0; }
}
@keyframes ncFlapOpen3D {
  0%   { transform: perspective(1200px) rotateX(0deg); z-index: 14; }
  100% { transform: perspective(1200px) rotateX(180deg); z-index: 1; opacity: 0.35; }
}
@keyframes ncLetterRise {
  0%   { transform: translateY(0) scale(1); opacity: 1; }
  48%  { transform: translateY(-22%) scale(1.05); opacity: 1; box-shadow: 0 36px 90px rgba(0,0,0,0.75); }
  100% { transform: translateY(-75%) scale(0.95); opacity: 0; }
}
@keyframes ncEnvShellDrop {
  0%   { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(55%) scale(0.88); opacity: 0; }
}

/* ==========================================================================
   4. TIRAI — Tirai Sutra Royal & Pelmet Mahkota (Menyibak Melengkung Kiri-Kanan)
   ========================================================================== */
.nc-mech-tirai .nc-curtain-valance {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 78px;
  z-index: 6;
  background:
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--sk, #D4AF37) 40%, #24160E), #170E09 80%);
  border-bottom: 4px solid var(--sk, #D4AF37);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.72);
}
.nc-mech-tirai .nc-valance-trim {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 12px;
  background: repeating-radial-gradient(circle at 12px 0, var(--sk, #D4AF37) 0, var(--sk, #D4AF37) 8px, transparent 9px, transparent 24px);
}
.nc-mech-tirai .nc-curtain-wing {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 51.5%;
  overflow: hidden;
  box-shadow: 0 0 55px rgba(0, 0, 0, 0.8);
}
.nc-mech-tirai .nc-curtain-l {
  left: 0;
  transform-origin: top left;
  border-right: 3px solid var(--sk, #D4AF37);
}
.nc-mech-tirai .nc-curtain-r {
  right: 0;
  transform-origin: top right;
  border-left: 3px solid var(--sk, #D4AF37);
}
/* Efek lipatan kain beludru/sutra vertikal */
.nc-mech-tirai .nc-curtain-pleats {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg,
    rgba(0, 0, 0, 0.42) 0px,
    rgba(255, 255, 255, 0.08) 28px,
    rgba(0, 0, 0, 0.48) 56px,
    rgba(212, 175, 55, 0.10) 84px);
  pointer-events: none;
}
.nc-mech-tirai .nc-curtain-tassel {
  position: absolute;
  top: 52%;
  width: 22px;
  height: 92px;
  border-radius: 12px;
  background: linear-gradient(180deg, #FCE8A6 0%, #D4AF37 50%, #9A6F18 100%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.65);
}
.nc-curtain-l .nc-curtain-tassel { right: 16px; }
.nc-curtain-r .nc-curtain-tassel { left: 16px; }

:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-tirai .nc-curtain-l {
  animation: ncCurtainSweepL 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-tirai .nc-curtain-r {
  animation: ncCurtainSweepR 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-tirai .nc-curtain-valance {
  animation: ncLintelUp 1.85s cubic-bezier(0.35, 0, 0.2, 1) 0.28s forwards;
}
@keyframes ncCurtainSweepL {
  0%   { transform: translate3d(0, 0, 0) scaleX(1) rotate(0deg); border-bottom-right-radius: 0; }
  45%  { transform: translate3d(-36%, -4%, 0) scaleX(0.76) rotate(-5deg); border-bottom-right-radius: 180px; }
  100% { transform: translate3d(-98%, -12%, 0) scaleX(0.45) rotate(-9deg); border-bottom-right-radius: 260px; }
}
@keyframes ncCurtainSweepR {
  0%   { transform: translate3d(0, 0, 0) scaleX(1) rotate(0deg); border-bottom-left-radius: 0; }
  45%  { transform: translate3d(36%, -4%, 0) scaleX(0.76) rotate(5deg); border-bottom-left-radius: 180px; }
  100% { transform: translate3d(98%, -12%, 0) scaleX(0.45) rotate(9deg); border-bottom-left-radius: 260px; }
}

/* ==========================================================================
   5. ULOS — Kain Ulos Sakral (Sibak Diagonal Atas-Kiri & Bawah-Kanan)
   ========================================================================== */
/* Fisika kain: kamera 3D + bayangan proyeksi dinamis (ilusi lipatan) */
.nc-mech-ulos {
  perspective: 1200px;
  perspective-origin: 50% 46%;
}
.nc-mech-ulos .nc-ulos-panel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  box-shadow: 0 0 65px rgba(0, 0, 0, 0.9);
  transform-style: preserve-3d;
  will-change: transform, filter;
}
/* Kilau benang emas yang berjalan mengikuti lipatan kain */
.nc-mech-ulos .nc-ulos-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg,
    rgba(245, 222, 130, 0) 30%,
    rgba(245, 222, 130, 0.16) 44%,
    rgba(255, 240, 190, 0.30) 50%,
    rgba(245, 222, 130, 0.16) 56%,
    rgba(245, 222, 130, 0) 70%);
  mix-blend-mode: screen;
  opacity: 0;
}
.nc-mech-ulos .nc-ulos-top,
.nc-mech-ulos .u-top {
  clip-path: polygon(0 0, 100% 0, 100% 24%, 0 84%);
}
.nc-mech-ulos .nc-ulos-bot,
.nc-mech-ulos .u-bot {
  clip-path: polygon(100% 16%, 100% 100%, 0 100%, 0 76%);
}
.nc-mech-ulos .nc-ulos-weave {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(152deg, rgba(155, 22, 22, 0.22) 0%, rgba(16, 22, 30, 0.14) 55%, rgba(12, 42, 62, 0.28) 100%),
    repeating-linear-gradient(-28deg,
      rgba(155, 22, 22, 0.12) 0px,
      rgba(155, 22, 22, 0.12) 16px,
      rgba(232, 190, 74, 0.16) 16px,
      rgba(232, 190, 74, 0.16) 20px,
      transparent 20px,
      transparent 44px);
}
.nc-gate-stage[data-tr="ulos"] .nc-gp-img {
  opacity: 0.72 !important;
  filter: saturate(1.12) contrast(1.06);
}
.nc-gate-stage[data-tr="ulos"] .nc-gate-card {
  background: linear-gradient(165deg, rgba(16, 12, 12, 0.44) 0%, rgba(9, 28, 42, 0.56) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(212, 175, 55, 0.62);
}
.nc-mech-ulos .nc-ulos-border {
  position: absolute;
  inset: 14px;
  border: 2.5px solid rgba(229, 185, 75, 0.68);
  box-shadow: inset 0 0 0 2px rgba(155, 22, 22, 0.42);
  opacity: 0.85;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-ulos :is(.nc-ulos-top, .u-top) {
  animation: ncUlosPartTop 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-ulos :is(.nc-ulos-bot, .u-bot) {
  animation: ncUlosPartBot 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
@keyframes ncUlosPartTop {
  0%   { transform: translate3d(0, 0, 0) rotate3d(1, 0.4, 0, 0deg); filter: drop-shadow(0 0 22px rgba(0, 0, 0, 0.85)); }
  25%  { transform: translate3d(-12%, -13%, 0) rotate3d(1, 0.4, 0, 7deg);  filter: drop-shadow(14px 18px 26px rgba(0, 0, 0, 0.62)); }
  45%  { transform: translate3d(-34%, -32%, 0) rotate3d(1, 0.4, 0, -6deg); filter: drop-shadow(-10px 22px 30px rgba(0, 0, 0, 0.55)); }
  100% { transform: translate3d(-102%, -96%, 0) rotate3d(1, 0.4, 0, -14deg); filter: drop-shadow(-26px 30px 36px rgba(0, 0, 0, 0.32)); }
}
@keyframes ncUlosPartBot {
  0%   { transform: translate3d(0, 0, 0) rotate3d(1, 0.4, 0, 0deg); filter: drop-shadow(0 0 22px rgba(0, 0, 0, 0.85)); }
  25%  { transform: translate3d(12%, 13%, 0) rotate3d(1, 0.4, 0, 7deg);  filter: drop-shadow(-14px -18px 26px rgba(0, 0, 0, 0.62)); }
  45%  { transform: translate3d(34%, 32%, 0) rotate3d(1, 0.4, 0, -6deg); filter: drop-shadow(10px -22px 30px rgba(0, 0, 0, 0.55)); }
  100% { transform: translate3d(102%, 96%, 0) rotate3d(1, 0.4, 0, -14deg); filter: drop-shadow(26px -30px 36px rgba(0, 0, 0, 0.32)); }
}
/* Sheen emas menyapu bersamaan dengan sapuan kain */
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-ulos .nc-ulos-panel::after {
  animation: ncUlosSheen 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
@keyframes ncUlosSheen {
  0%   { opacity: 0; transform: translate3d(0, 0, 0) rotate3d(0, 0, 1, 0deg); }
  30%  { opacity: 1; transform: translate3d(-6%, -6%, 0) rotate3d(0, 0, 1, -3deg); }
  70%  { opacity: 0.85; transform: translate3d(4%, 4%, 0) rotate3d(0, 0, 1, 2deg); }
  100% { opacity: 0; transform: translate3d(0, 0, 0) rotate3d(0, 0, 1, 0deg); }
}

/* ==========================================================================
   6. SONGKET — Kain Songket Emas Lepus (Sapuan Silang Kembar Kiri-Kanan)
   ========================================================================== */
/* Fisika kain: kamera 3D — sapuan silang terasa melipat ke arah kamera */
.nc-mech-songket {
  perspective: 1100px;
  perspective-origin: 50% 40%;
}
.nc-mech-songket .nc-songket-drape {
  position: absolute;
  top: -6%;
  bottom: -6%;
  width: 60%;
  overflow: hidden;
  box-shadow: 0 0 65px rgba(0, 0, 0, 0.88);
  transform-style: preserve-3d;
  will-change: transform, filter;
}
/* Kilau lipatan: pita cahaya emas melintang di tubuh kain */
.nc-mech-songket .nc-songket-drape::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg,
    rgba(255, 236, 180, 0) 36%,
    rgba(255, 236, 180, 0.14) 46%,
    rgba(255, 244, 205, 0.30) 50%,
    rgba(255, 236, 180, 0.14) 54%,
    rgba(255, 236, 180, 0) 64%);
  mix-blend-mode: screen;
  opacity: 0;
}
.nc-mech-songket .nc-songket-l,
.nc-mech-songket .s-left {
  left: -6%;
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
  border-right: 4px solid #E5B94B;
}
.nc-mech-songket .nc-songket-r,
.nc-mech-songket .s-right {
  right: -6%;
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  border-left: 4px solid #E5B94B;
}
.nc-mech-songket .nc-songket-brocade {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(235, 192, 75, 0.28) 0px, rgba(235, 192, 75, 0.28) 3px, rgba(128, 20, 28, 0.24) 3px, rgba(128, 20, 28, 0.24) 18px),
    repeating-linear-gradient(-45deg, rgba(235, 192, 75, 0.28) 0px, rgba(235, 192, 75, 0.28) 3px, transparent 3px, transparent 18px);
}
.nc-mech-songket .nc-songket-trim {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28px;
  background: repeating-linear-gradient(180deg, #F5D576 0px, #F5D576 8px, #7A1820 8px, #7A1820 16px);
  opacity: 0.92;
}
:is(.nc-songket-l, .s-left) .nc-songket-trim { right: 11%; }
:is(.nc-songket-r, .s-right) .nc-songket-trim { left: 11%; }

:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-songket :is(.nc-songket-l, .s-left) {
  animation: ncSongketCrossL 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-songket :is(.nc-songket-r, .s-right) {
  animation: ncSongketCrossR 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
@keyframes ncSongketCrossL {
  0%   { transform: translate3d(0, 0, 0) skewX(0deg) rotate3d(0, 1, 0, 0deg); filter: drop-shadow(0 0 22px rgba(0, 0, 0, 0.85)); }
  25%  { transform: translate3d(-14%, -4%, 0) skewX(-2deg) rotate3d(0, 1, 0, 12deg); filter: drop-shadow(16px 8px 26px rgba(0, 0, 0, 0.62)); }
  45%  { transform: translate3d(-38%, -9%, 0) skewX(-4deg) rotate3d(0, 1, 0, -6deg); filter: drop-shadow(-12px 14px 30px rgba(0, 0, 0, 0.55)); }
  100% { transform: translate3d(-106%, -24%, 0) skewX(-7deg) rotate3d(0, 1, 0, -18deg); filter: drop-shadow(-30px 18px 36px rgba(0, 0, 0, 0.32)); }
}
@keyframes ncSongketCrossR {
  0%   { transform: translate3d(0, 0, 0) skewX(0deg) rotate3d(0, 1, 0, 0deg); filter: drop-shadow(0 0 22px rgba(0, 0, 0, 0.85)); }
  25%  { transform: translate3d(14%, 4%, 0) skewX(-2deg) rotate3d(0, 1, 0, 12deg); filter: drop-shadow(-16px -8px 26px rgba(0, 0, 0, 0.62)); }
  45%  { transform: translate3d(38%, 9%, 0) skewX(-4deg) rotate3d(0, 1, 0, -6deg); filter: drop-shadow(12px -14px 30px rgba(0, 0, 0, 0.55)); }
  100% { transform: translate3d(106%, 24%, 0) skewX(-7deg) rotate3d(0, 1, 0, -18deg); filter: drop-shadow(30px -18px 36px rgba(0, 0, 0, 0.32)); }
}
/* Sheen lipatan menyapu mengikuti sapuan kain songket */
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-songket .nc-songket-drape::after {
  animation: ncSongketSheen 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
@keyframes ncSongketSheen {
  0%   { opacity: 0; transform: translate3d(0, 0, 0) skewX(0deg); }
  30%  { opacity: 1; transform: translate3d(-5%, -3%, 0) skewX(-3deg); }
  70%  { opacity: 0.8; transform: translate3d(5%, 3%, 0) skewX(2deg); }
  100% { opacity: 0; transform: translate3d(0, 0, 0) skewX(0deg); }
}

/* ==========================================================================
   7. TAPIS — 4 Pita Tenun Tapis & Siger (Geser Bersilang Bertingkat Halus)
   ========================================================================== */
.nc-mech-tapis .nc-tapis-band {
  position: absolute;
  left: 0;
  right: 0;
  height: 25.4%;
  overflow: hidden;
  border-top: 2.5px solid #E5B94B;
  border-bottom: 2.5px solid #E5B94B;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.78);
}
.nc-mech-tapis .nc-tapis-band.b1 { top: 0; }
.nc-mech-tapis .nc-tapis-band.b2 { top: 25%; }
.nc-mech-tapis .nc-tapis-band.b3 { top: 50%; }
.nc-mech-tapis .nc-tapis-band.b4 { top: 75%; }
.nc-mech-tapis .nc-tapis-gold {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 14px;
  background:
    repeating-linear-gradient(90deg, #F5D576 0px, #F5D576 22px, rgba(145, 28, 28, 0.85) 22px, rgba(145, 28, 28, 0.85) 34px);
  border-top: 1px solid #FFF3C4;
  border-bottom: 1px solid #FFF3C4;
  opacity: 0.88;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-tapis .nc-tapis-band.b1 {
  animation: ncTapisGlideL 2.05s cubic-bezier(0.35, 0, 0.2, 1) 0s forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-tapis .nc-tapis-band.b2 {
  animation: ncTapisGlideR 2.05s cubic-bezier(0.35, 0, 0.2, 1) 0.08s forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-tapis .nc-tapis-band.b3 {
  animation: ncTapisGlideL 2.05s cubic-bezier(0.35, 0, 0.2, 1) 0.16s forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-tapis .nc-tapis-band.b4 {
  animation: ncTapisGlideR 2.05s cubic-bezier(0.35, 0, 0.2, 1) 0.24s forwards;
}
@keyframes ncTapisGlideL {
  0%   { transform: translate3d(0, 0, 0); }
  45%  { transform: translate3d(-38%, 0, 0); }
  100% { transform: translate3d(-105%, 0, 0); }
}
@keyframes ncTapisGlideR {
  0%   { transform: translate3d(0, 0, 0); }
  45%  { transform: translate3d(38%, 0, 0); }
  100% { transform: translate3d(105%, 0, 0); }
}

/* ==========================================================================
   8. LIFT — Gerbang Candi Bentar / Archway Megah (Walk-Through Parallax)
   ========================================================================== */
.nc-mech-lift .nc-arch-crown {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 24%;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 72% 65%, 50% 48%, 28% 65%, 0 100%);
  border-bottom: 4px solid var(--sk, #D4AF37);
  z-index: 4;
}
.nc-mech-lift .nc-arch-pillar {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
}
.nc-mech-lift .nc-arch-l {
  left: 0;
  border-right: 3px solid var(--sk, #D4AF37);
}
.nc-mech-lift .nc-arch-r {
  right: 0;
  border-left: 3px solid var(--sk, #D4AF37);
}
.nc-mech-lift .nc-pillar-steps {
  position: absolute;
  top: 12%;
  bottom: 12%;
  width: 28px;
  border: 2px solid color-mix(in srgb, var(--sk, #D4AF37) 65%, transparent);
  background: rgba(0, 0, 0, 0.28);
}
.nc-arch-l .nc-pillar-steps { right: 12px; }
.nc-arch-r .nc-pillar-steps { left: 12px; }

:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-lift .nc-arch-crown {
  animation: ncArchCrownUp 2.05s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-lift .nc-arch-l {
  animation: ncArchWalkL 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-lift .nc-arch-r {
  animation: ncArchWalkR 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
@keyframes ncArchCrownUp {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  45%  { transform: translate3d(0, -42%, 0) scale(1.1); }
  100% { transform: translate3d(0, -115%, 0) scale(1.25); }
}
@keyframes ncArchWalkL {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  45%  { transform: translate3d(-38%, 0, 0) scale(1.1); }
  100% { transform: translate3d(-108%, 0, 0) scale(1.22); }
}
@keyframes ncArchWalkR {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  45%  { transform: translate3d(38%, 0, 0) scale(1.1); }
  100% { transform: translate3d(108%, 0, 0) scale(1.22); }
}

/* ==========================================================================
   9. ZOOM — Lensa Sinematik & Cincin Emas (4 Bilah Aperture & Astrolabe)
   ========================================================================== */
.nc-mech-zoom .nc-zoom-blade {
  position: absolute;
  width: 52%;
  height: 52%;
  overflow: hidden;
  border: 2px solid color-mix(in srgb, var(--sk, #D4AF37) 75%, transparent);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.75);
}
.nc-mech-zoom .nc-zoom-blade.zb1 { top: 0; left: 0; }
.nc-mech-zoom .nc-zoom-blade.zb2 { top: 0; right: 0; }
.nc-mech-zoom .nc-zoom-blade.zb3 { bottom: 0; right: 0; }
.nc-mech-zoom .nc-zoom-blade.zb4 { bottom: 0; left: 0; }
.nc-mech-zoom .nc-zoom-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 999px;
  border: 2px dashed color-mix(in srgb, var(--sk, #D4AF37) 85%, #fff);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 5;
}
.nc-mech-zoom .nc-zoom-ring.zr1 {
  width: min(82vw, 500px);
  height: min(82vw, 500px);
}
.nc-mech-zoom .nc-zoom-ring.zr2 {
  width: min(96vw, 620px);
  height: min(96vw, 620px);
  border-style: solid;
  opacity: 0.65;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-zoom .zb1 {
  animation: ncBladeTL 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-zoom .zb2 {
  animation: ncBladeTR 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-zoom .zb3 {
  animation: ncBladeBR 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-zoom .zb4 {
  animation: ncBladeBL 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-zoom .zr1 {
  animation: ncRingSpinOut1 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-zoom .zr2 {
  animation: ncRingSpinOut2 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
@keyframes ncBladeTL { 0% { transform: translate3d(0,0,0) rotate(0deg); } 45% { transform: translate3d(-38%, -38%, 0) rotate(-8deg) scale(1.08); } 100% { transform: translate3d(-108%, -108%, 0) rotate(-18deg) scale(1.2); } }
@keyframes ncBladeTR { 0% { transform: translate3d(0,0,0) rotate(0deg); } 45% { transform: translate3d(38%, -38%, 0) rotate(8deg) scale(1.08); } 100% { transform: translate3d(108%, -108%, 0) rotate(18deg) scale(1.2); } }
@keyframes ncBladeBR { 0% { transform: translate3d(0,0,0) rotate(0deg); } 45% { transform: translate3d(38%, 38%, 0) rotate(-8deg) scale(1.08); } 100% { transform: translate3d(108%, 108%, 0) rotate(-18deg) scale(1.2); } }
@keyframes ncBladeBL { 0% { transform: translate3d(0,0,0) rotate(0deg); } 45% { transform: translate3d(-38%, 38%, 0) rotate(8deg) scale(1.08); } 100% { transform: translate3d(-108%, 108%, 0) rotate(18deg) scale(1.2); } }
@keyframes ncRingSpinOut1 { 0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); opacity: 0.9; } 50% { transform: translate(-50%, -50%) rotate(38deg) scale(1.45); opacity: 0.75; } 100% { transform: translate(-50%, -50%) rotate(75deg) scale(2.4); opacity: 0; } }
@keyframes ncRingSpinOut2 { 0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); opacity: 0.65; } 50% { transform: translate(-50%, -50%) rotate(-38deg) scale(1.55); opacity: 0.55; } 100% { transform: translate(-50%, -50%) rotate(-75deg) scale(2.8); opacity: 0; } }

/* ==========================================================================
   10. FADE — Kabut Taman Pagi (3 Lapis Kabut Organik Menyibak)
   ========================================================================== */
.nc-mech-fade .nc-mist-veil {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.nc-mech-fade .nc-mist-veil.m-left {
  clip-path: polygon(0 0, 62% 0, 44% 100%, 0 100%);
  border-right: 2px solid rgba(255, 240, 200, 0.45);
}
.nc-mech-fade .nc-mist-veil.m-right {
  clip-path: polygon(58% 0, 100% 0, 100% 100%, 38% 100%);
  border-left: 2px solid rgba(255, 240, 200, 0.45);
}
.nc-mech-fade .nc-mist-veil.m-top {
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--sk, #D4AF37) 35%, rgba(255,250,240,0.38)) 0%, transparent 72%);
  pointer-events: none;
}
.nc-mech-fade .nc-mist-cloud {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 35% 50%, rgba(255, 248, 235, 0.34) 0%, transparent 65%),
    radial-gradient(ellipse at 65% 50%, rgba(245, 222, 179, 0.28) 0%, transparent 65%);
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-fade .m-left {
  animation: ncMistDriftL 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-fade .m-right {
  animation: ncMistDriftR 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-fade .m-top {
  animation: ncMistDriftTop 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
@keyframes ncMistDriftL {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 1; filter: blur(0); }
  45%  { transform: translate3d(-28%, -6%, 0) scale(1.06); opacity: 0.82; filter: blur(3px); }
  100% { transform: translate3d(-78%, -14%, 0) scale(1.16); opacity: 0; filter: blur(12px); }
}
@keyframes ncMistDriftR {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 1; filter: blur(0); }
  45%  { transform: translate3d(28%, 6%, 0) scale(1.06); opacity: 0.82; filter: blur(3px); }
  100% { transform: translate3d(78%, 14%, 0) scale(1.16); opacity: 0; filter: blur(12px); }
}
@keyframes ncMistDriftTop {
  0%   { transform: translateY(0) scale(1); opacity: 1; }
  50%  { transform: translateY(-22%) scale(1.12); opacity: 0.75; }
  100% { transform: translateY(-48%) scale(1.25); opacity: 0; }
}



/* ==========================================================================
   STORYBOOK — Buku Kisah Page-Flip 3D (interaktif, hormat reduced-motion)
   ========================================================================== */
.nc-sb {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 16px;
  text-align: center;
  border-top: 1px solid;
}
.nc-sb-label { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 700; margin-bottom: 6px; }
.nc-sb-heading { font-size: clamp(22px, 6vw, 30px); font-weight: 700; margin: 0 0 4px; }
.nc-sb-hint { font-size: 11px; opacity: 0.65; margin: 2px 0 18px; }
.nc-sb-book {
  position: relative;
  width: min(88vw, 380px);
  aspect-ratio: 3 / 4.4;
  margin: 0 auto;
  perspective: 1700px;
  border-radius: 6px 14px 14px 6px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.nc-sb-sheet {
  position: absolute;
  inset: 3px;
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: transform 0.95s cubic-bezier(0.4, 0.08, 0.18, 1);
  will-change: transform;
}
.nc-sb-sheet.is-flipped { transform: rotateY(-180deg); }
.nc-sb-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: linear-gradient(160deg, #FBF6EC 0%, #F4ECDd 100%);
  background: linear-gradient(160deg, #FBF6EC 0%, #F4ECDD 100%);
  color: #2B2118;
  border-radius: 4px 12px 12px 4px;
  padding: 18px 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: inset 0 0 30px rgba(120, 90, 50, 0.12);
}
.nc-sb-back {
  transform: rotateY(180deg);
  justify-content: center;
  background: linear-gradient(200deg, #F6EFE2 0%, #EFE4D0 100%);
}
.nc-sb-back-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0.9; }
.nc-sb-back small { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; opacity: 0.7; }
.nc-sb-mono { font-size: 34px; font-weight: 700; font-family: "Great Vibes", cursive; color: var(--sb-accent, #D4AF37); }
.nc-sb-mono span { font-style: italic; font-size: 26px; opacity: 0.85; }
.nc-sb-back-band { display: block; width: 120px; height: 1px; margin: 4px auto; }
.nc-sb-photo { width: 78%; aspect-ratio: 4 / 5; margin: 6px auto 12px; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 24px rgba(60, 40, 20, 0.28); }
.nc-sb-photo img { width: 100%; height: 100%; object-fit: cover; }
.nc-sb-year { font-size: 10px; letter-spacing: 0.3em; font-weight: 700; color: var(--sb-accent, #B3674A); }
.nc-sb-title { font-size: 17px; font-weight: 700; margin: 6px 0 8px; font-family: "Cormorant Garamond", serif; }
.nc-sb-desc { font-size: 12.5px; line-height: 1.65; opacity: 0.85; margin: 0; }
.nc-sb-fold { position: absolute; inset: 0; pointer-events: none; }
.nc-sb-base {
  position: absolute;
  inset: 3px;
  border-radius: 4px 12px 12px 4px;
  background: linear-gradient(200deg, #F6EFE2 0%, #E9DCC6 100%);
  color: #2B2118;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  box-shadow: inset 0 0 30px rgba(120, 90, 50, 0.14);
}
.nc-sb-base p { font-size: 12.5px; font-style: italic; opacity: 0.8; margin: 0; }
.nc-sb-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 42%;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 40;
  -webkit-tap-highlight-color: transparent;
}
.nc-sb-zone-l { left: 0; }
.nc-sb-zone-r { right: 0; }
.nc-sb-nav { display: flex; justify-content: center; gap: 7px; margin-top: 18px; }
.nc-sb-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: currentColor;
  opacity: 0.25;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.nc-sb-dot.is-on { opacity: 1; transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) {
  .nc-sb-sheet { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  :is(#coverGate.gate-open, #coverGate.opacity-0) .nc-gate-mech *,
  :is(#coverGate.gate-open, #coverGate.opacity-0) .nc-gate-card { animation: none !important; }
}

/* ==========================================================================
   ORNAMEN GERBANG BUDAYA — Lentera Arab, Kori Agung Bali, Siger Sunda
   (ditempel di atas mekanik gerbang, di bawah kartu, pointer-events none)
   ========================================================================== */
.nc-orn-culture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

/* --- Lentera Arab berayun (zoom & tirai) --- */
.nc-orn-lantern {
  position: absolute;
  top: -4px;
  width: 30px;
  transform-origin: top center;
  animation: ncLanternSway 4.6s ease-in-out infinite alternate;
  filter: drop-shadow(0 8px 16px rgba(210, 184, 124, 0.45));
  opacity: 0.92;
}
.nc-orn-lantern .nc-lantern-chain {
  display: block;
  width: 2px;
  height: 34px;
  margin: 0 auto;
  background: linear-gradient(180deg, #D2B87C 0%, rgba(210, 184, 124, 0.35) 100%);
}
.nc-orn-lantern svg {
  display: block;
  width: 100%;
  height: auto;
}
.nc-orn-la1 { left: 7%;  animation-delay: 0s; }
.nc-orn-la2 { left: 28%; animation-delay: -1.4s; top: -6px; }
.nc-orn-la3 { left: 50%; animation-delay: -2.8s; top: -8px; width: 34px; }
.nc-orn-la4 { left: 72%; animation-delay: -0.7s; top: -6px; }
.nc-orn-la5 { left: 90%; animation-delay: -2.1s; }
@keyframes ncLanternSway {
  0%   { transform: rotate(-7deg); }
  100% { transform: rotate(7deg); }
}

/* --- Kori Agung Bali (lift) --- */
.nc-orn-kori {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(64vw, 300px);
  transform: translateX(-50%);
  filter: drop-shadow(0 10px 26px rgba(212, 175, 55, 0.35));
  opacity: 0.9;
}
.nc-orn-kori svg { display: block; width: 100%; height: auto; }

/* --- Mahkota Siger Kencana Sunda (tirai & iris) --- */
.nc-orn-siger {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(56vw, 250px);
  transform: translateX(-50%);
  filter: drop-shadow(0 8px 22px rgba(212, 175, 55, 0.4));
  opacity: 0.92;
}
.nc-orn-siger svg { display: block; width: 100%; height: auto; }

/* ==========================================================================
   BLOOM — Kelopak Mekar Berlapis (mandala bunga mekar tengah → luar)
   ========================================================================== */
.nc-mech-bloom {
  perspective: 1200px;
  overflow: hidden;
  background: radial-gradient(120% 120% at 50% 50%, rgba(26, 14, 16, 0.45) 0%, rgba(16, 8, 10, 0.94) 100%);
}
.nc-mech-bloom .nc-bloom-layer {
  position: absolute;
  inset: 0;
  animation: ncBloomSpin 38s linear infinite;
}
.nc-mech-bloom .bl2 { animation-duration: 46s; animation-direction: reverse; }
.nc-mech-bloom .bl3 { animation-duration: 54s; }
.nc-mech-bloom .bl4 { animation-duration: 62s; animation-direction: reverse; }
@keyframes ncBloomSpin { to { transform: rotate3d(0, 0, 1, 360deg); } }
.nc-mech-bloom .nc-bloom-petal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-origin: 50% 100%;
  transform: translate(-50%, -50%) rotate(var(--r)) translateY(-8%);
  will-change: transform, opacity, filter;
}
.nc-mech-bloom .bl1 .nc-bloom-petal { width: 58vmax; height: 58vmax; }
.nc-mech-bloom .bl2 .nc-bloom-petal { width: 50vmax; height: 50vmax; }
.nc-mech-bloom .bl3 .nc-bloom-petal { width: 42vmax; height: 42vmax; }
.nc-mech-bloom .bl4 .nc-bloom-petal { width: 34vmax; height: 34vmax; }
.nc-bloom-petal {
  border-radius: 52% 48% 55% 45% / 68% 64% 30% 36%;
  filter: drop-shadow(0 0 24px rgba(0, 0, 0, 0.35));
}
.nc-mech-bloom .bl1 .nc-bloom-petal:nth-child(odd),
.nc-mech-bloom .bl2 .nc-bloom-petal:nth-child(even) {
  background: radial-gradient(120% 95% at 50% 92%, var(--p1) 0%, var(--p1) 34%, rgba(255, 255, 255, 0.42) 62%, transparent 84%);
}
.nc-mech-bloom .bl1 .nc-bloom-petal:nth-child(even),
.nc-mech-bloom .bl2 .nc-bloom-petal:nth-child(odd) {
  background: radial-gradient(120% 95% at 50% 92%, var(--p2) 0%, var(--p2) 34%, rgba(255, 255, 255, 0.42) 62%, transparent 84%);
}
.nc-mech-bloom .bl3 .nc-bloom-petal:nth-child(odd),
.nc-mech-bloom .bl4 .nc-bloom-petal:nth-child(even) {
  background: radial-gradient(120% 95% at 50% 92%, var(--p3) 0%, var(--p3) 34%, rgba(255, 255, 255, 0.42) 62%, transparent 84%);
}
.nc-mech-bloom .bl3 .nc-bloom-petal:nth-child(even),
.nc-mech-bloom .bl4 .nc-bloom-petal:nth-child(odd) {
  background: radial-gradient(120% 95% at 50% 92%, var(--p2) 0%, var(--p2) 34%, rgba(255, 255, 255, 0.42) 62%, transparent 84%);
}
.nc-mech-bloom .nc-bloom-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26vmin;
  height: 26vmin;
  margin: -13vmin 0 0 -13vmin;
  border-radius: 50%;
  background: radial-gradient(circle, var(--p2) 0%, var(--p1) 55%, transparent 72%);
  filter: drop-shadow(0 0 34px rgba(255, 230, 160, 0.5));
  animation: ncBloomCorePulse 3.4s ease-in-out infinite;
}
@keyframes ncBloomCorePulse {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.12); opacity: 1; }
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-bloom .nc-bloom-petal {
  animation: ncBloomOpen 1.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-bloom .bl3 .nc-bloom-petal { animation-delay: 0.18s; }
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-bloom .bl2 .nc-bloom-petal { animation-delay: 0.36s; }
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-bloom .bl1 .nc-bloom-petal { animation-delay: 0.54s; }
@keyframes ncBloomOpen {
  0%   { transform: translate(-50%, -50%) rotate(var(--r)) translateY(-8%) scale(1) rotate3d(0, 1, 0, 0deg); opacity: 1; }
  55%  { transform: translate(-50%, -50%) rotate(var(--r)) translateY(-26%) scale(1.26) rotate3d(0, 1, 0, 20deg); opacity: 0.85; }
  100% { transform: translate(-50%, -50%) rotate(var(--r)) translateY(-58%) scale(1.75) rotate3d(0, 1, 0, 42deg); opacity: 0; }
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-bloom .nc-bloom-core {
  animation: ncBloomCoreOpen 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes ncBloomCoreOpen {
  0%   { transform: scale(1); opacity: 1; }
  60%  { transform: scale(1.9); opacity: 0.7; }
  100% { transform: scale(3.2); opacity: 0; }
}

/* ==========================================================================
   ARCH — Gerbang Melati & Kenanga (sayap rangkaian bunga menyibak)
   ========================================================================== */
.nc-mech-arch {
  overflow: hidden;
  background: radial-gradient(130% 130% at 50% 40%, rgba(28, 40, 30, 0.35) 0%, rgba(16, 24, 18, 0.88) 100%);
}
.nc-mech-arch .nc-farch-wing {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30%;
  background: linear-gradient(105deg, #FBF7EC 0%, #F1E8D5 100%);
  box-shadow: 0 0 55px rgba(0, 0, 0, 0.55);
  will-change: transform, opacity, filter;
}
.nc-mech-arch .nc-farch-l { left: 0; border-right: 3px solid #D9B95C; }
.nc-mech-arch .nc-farch-r { right: 0; border-left: 3px solid #D9B95C; }
.nc-mech-arch .nc-farch-l .nc-garland-svg { position: absolute; right: 4px; top: 0; height: 100%; width: 118px; }
.nc-mech-arch .nc-farch-r .nc-garland-svg { position: absolute; left: 4px; top: 0; height: 100%; width: 118px; transform: scaleX(-1); }
.nc-mech-arch .nc-farch-crown {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 92px;
  background: linear-gradient(180deg, rgba(251, 247, 236, 0.95) 0%, rgba(251, 247, 236, 0.75) 78%, transparent 100%);
  border-bottom: 3px solid #D9B95C;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  will-change: transform, opacity;
}
.nc-mech-arch .nc-farch-crown .nc-garland-svg { width: 100%; height: 100%; }
.nc-mech-arch .nc-farch-scatter { position: absolute; inset: 0; }
.nc-farch-petal {
  position: absolute;
  width: 16px;
  height: 21px;
  border-radius: 52% 48% 50% 50% / 66% 62% 34% 38%;
  background: radial-gradient(120% 100% at 50% 90%, var(--c) 0%, rgba(255, 255, 255, 0.6) 60%, transparent 82%);
  opacity: 0.95;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  will-change: transform, opacity;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-arch .nc-farch-l {
  animation: ncFarchSweepL 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-arch .nc-farch-r {
  animation: ncFarchSweepR 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-arch .nc-farch-crown {
  animation: ncFarchCrownUp 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-arch .nc-farch-petal {
  animation: ncFarchFly 1.9s ease-in var(--d, 0s) forwards;
}
@keyframes ncFarchSweepL {
  0%   { transform: translate3d(0, 0, 0) rotate3d(0, 1, 0, 0deg); opacity: 1; }
  45%  { transform: translate3d(-28%, 0, 0) rotate3d(0, 1, 0, -16deg); opacity: 1; }
  100% { transform: translate3d(-116%, 0, 0) rotate3d(0, 1, 0, -30deg); opacity: 0.2; }
}
@keyframes ncFarchSweepR {
  0%   { transform: translate3d(0, 0, 0) rotate3d(0, 1, 0, 0deg); opacity: 1; }
  45%  { transform: translate3d(28%, 0, 0) rotate3d(0, 1, 0, 16deg); opacity: 1; }
  100% { transform: translate3d(116%, 0, 0) rotate3d(0, 1, 0, 30deg); opacity: 0.2; }
}
@keyframes ncFarchCrownUp {
  0%   { transform: translateY(0) rotate3d(1, 0, 0, 0deg); opacity: 1; }
  100% { transform: translateY(-130%) rotate3d(1, 0, 0, -24deg); opacity: 0; }
}
@keyframes ncFarchFly {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0.95; }
  100% { transform: translate3d(var(--tx, 20vw), var(--ty, -40vh), 0) rotate(var(--tr, 240deg)); opacity: 0; }
}

/* ==========================================================================
   PETAL — Hujan Sakura Tropis (kabut menyibak + 3 lapis kelopak parallax)
   ========================================================================== */
.nc-mech-petal {
  overflow: hidden;
  background: linear-gradient(180deg, #FDF9F0 0%, #F6EDE0 100%);
}
.nc-pr-petal {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--s, 14px);
  height: calc(var(--s, 14px) * 1.32);
  border-radius: 52% 48% 50% 50% / 66% 62% 34% 38%;
  background: radial-gradient(120% 100% at 50% 88%, var(--c) 0%, rgba(255, 255, 255, 0.55) 62%, transparent 82%);
  will-change: transform, opacity;
  animation: ncPetalFall var(--t, 9s) linear infinite;
  animation-delay: var(--d, 0s);
}
.nc-mech-petal .nc-petal-layer { position: absolute; inset: 0; }
.nc-mech-petal .far  { opacity: 0.55; }
.nc-mech-petal .mid  { opacity: 0.75; }
.nc-mech-petal .near { opacity: 0.9; }
.nc-mech-petal .nc-pr-mist {
  position: absolute;
  top: -4%;
  bottom: -4%;
  width: 56%;
  background: linear-gradient(100deg, rgba(253, 249, 240, 0.94) 0%, rgba(253, 249, 240, 0.8) 55%, rgba(253, 249, 240, 0.62) 100%);
  box-shadow: 0 0 55px rgba(120, 90, 60, 0.25);
}
.nc-mech-petal .m-left { left: -4%; }
.nc-mech-petal .m-right { right: -4%; }
.nc-mech-petal .nc-mist-cloud {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 35% 50%, rgba(255, 248, 235, 0.4) 0%, transparent 65%),
    radial-gradient(ellipse at 65% 50%, rgba(245, 222, 179, 0.34) 0%, transparent 65%);
}
@keyframes ncPetalFall {
  0%   { transform: translate3d(var(--x, 10vw), -12vh, 0) rotate(0deg) rotate3d(1, 0.6, 0, 0deg); opacity: 0; }
  8%   { opacity: 0.9; }
  88%  { opacity: 0.85; }
  100% { transform: translate3d(calc(var(--x, 10vw) + 6vw), 112vh, 0) rotate(330deg) rotate3d(1, 0.6, 0, 220deg); opacity: 0; }
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-petal .m-left {
  animation: ncMistDriftL 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-petal .m-right {
  animation: ncMistDriftR 2.1s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}

/* ==========================================================================
   KIPAS — Kipas Flora Tatakan (7 bilah menutup lalu terangkat ke atas)
   ========================================================================== */
.nc-mech-kipas {
  perspective: 1100px;
  overflow: hidden;
  background: radial-gradient(130% 130% at 50% 100%, rgba(24, 14, 10, 0.3) 0%, rgba(14, 10, 8, 0.9) 100%);
}
.nc-kipas-blade {
  position: absolute;
  left: 50%;
  bottom: -8vh;
  width: 36vmax;
  height: 118vh;
  transform-origin: 50% 100%;
  transform: translateX(-50%) rotate(var(--a));
  clip-path: polygon(50% 0%, 90% 12%, 100% 100%, 0% 100%, 10% 12%);
  background:
    repeating-linear-gradient(78deg, rgba(255, 255, 255, 0.07) 0px, rgba(255, 255, 255, 0.07) 10px, transparent 10px, transparent 26px),
    linear-gradient(185deg, rgba(255, 255, 255, 0.22) 0%, transparent 30%),
    linear-gradient(185deg, var(--pc) 0%, rgba(0, 0, 0, 0.3) 100%);
  filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.5));
  will-change: transform, opacity, filter;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-kipas .nc-kipas-blade {
  animation: ncKipasFold 1.9s cubic-bezier(0.22, 1, 0.36, 1) var(--kd, 0s) forwards;
}
@keyframes ncKipasFold {
  0%   { transform: translateX(-50%) rotate(var(--a)); opacity: 1; filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.5)); }
  38%  { transform: translateX(-50%) rotate(calc(var(--a) * 0.18)) rotate3d(1, 0, 0, -6deg); opacity: 1; filter: drop-shadow(0 0 22px rgba(0, 0, 0, 0.4)); }
  100% { transform: translateX(-50%) rotate(0deg) translateY(-122vh); opacity: 0; filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.2)); }
}
.nc-mech-kipas .nc-kipas-petals { position: absolute; inset: 0; }
.nc-mech-kipas .nc-pr-petal {
  animation: ncPetalFall 2.6s cubic-bezier(0.45, 0.05, 0.55, 0.95) calc(0.5s + var(--d, 0s)) forwards;
  opacity: 0;
}

/* ==========================================================================
   KATSUDOTO — Busur Rococo Kembar & Kelopak Bunga Merekah (Sandi & Katrina)
   ========================================================================== */
.nc-mech-katsudoto {
  position: absolute;
  inset: 0;
  perspective: 1400px;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(250, 246, 240, 0.98) 0%, rgba(244, 236, 228, 0.95) 100%);
  pointer-events: none;
}
.nc-katsu-wing {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 53%;
  overflow: hidden;
  will-change: transform, opacity;
  filter: drop-shadow(0 15px 35px rgba(44, 29, 24, 0.18));
}
.nc-katsu-l {
  left: 0;
  transform-origin: left center;
}
.nc-katsu-r {
  right: 0;
  transform-origin: right center;
}
.nc-katsu-panel {
  position: absolute;
  inset: 0;
}
.nc-katsu-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.nc-katsu-foliage {
  position: absolute;
  top: 15%;
  width: 80px;
  height: 160px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.65;
}
.nc-katsu-foliage.l-fol { right: 8px; background-image: radial-gradient(ellipse at center, rgba(166, 91, 50, 0.25) 0%, transparent 70%); }
.nc-katsu-foliage.r-fol { left: 8px; background-image: radial-gradient(ellipse at center, rgba(124, 142, 114, 0.25) 0%, transparent 70%); }

.nc-katsu-wreath {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
  animation: ncKatsuBreathe 4s ease-in-out infinite alternate;
}
@keyframes ncKatsuBreathe {
  0% { transform: translate(-50%, -50%) scale(0.96) rotate(0deg); opacity: 0.85; }
  100% { transform: translate(-50%, -50%) scale(1.04) rotate(4deg); opacity: 1; }
}

.nc-katsu-scatter {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Saat gate-open beraksi (2.1s smooth cubic-bezier) */
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-katsudoto .nc-katsu-l {
  animation: ncKatsuSwingL 2.1s cubic-bezier(0.25, 1, 0.35, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-katsudoto .nc-katsu-r {
  animation: ncKatsuSwingR 2.1s cubic-bezier(0.25, 1, 0.35, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-katsudoto .nc-katsu-wreath {
  animation: ncKatsuWreathBlossom 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-katsudoto .nc-farch-petal {
  animation: ncFarchFly 2.1s cubic-bezier(0.25, 1, 0.35, 1) var(--d, 0s) forwards;
}

@keyframes ncKatsuSwingL {
  0%   { transform: translate3d(0, 0, 0) rotateY(0deg) scale(1); opacity: 1; }
  40%  { transform: translate3d(-35%, 0, 0) rotateY(-18deg) scale(1.02); opacity: 0.95; }
  100% { transform: translate3d(-115%, 0, 0) rotateY(-36deg) scale(1.05); opacity: 0; }
}
@keyframes ncKatsuSwingR {
  0%   { transform: translate3d(0, 0, 0) rotateY(0deg) scale(1); opacity: 1; }
  40%  { transform: translate3d(35%, 0, 0) rotateY(18deg) scale(1.02); opacity: 0.95; }
  100% { transform: translate3d(115%, 0, 0) rotateY(36deg) scale(1.05); opacity: 0; }
}
@keyframes ncKatsuWreathBlossom {
  0%   { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 1; filter: drop-shadow(0 0 0px gold); }
  50%  { transform: translate(-50%, -50%) scale(1.4) rotate(45deg); opacity: 0.8; filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.6)); }
  100% { transform: translate(-50%, -50%) scale(2.2) rotate(90deg); opacity: 0; filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0)); }
}

/* ==========================================================================
   WAVE — Gelombang Ombak Pesisir & Kaustik Mutiara (Katsudoto Oceana)
   ========================================================================== */
.nc-mech-wave {
  position: absolute;
  inset: 0;
  perspective: 1400px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 60%, rgba(245, 248, 250, 0.98) 0%, rgba(232, 241, 245, 0.95) 100%);
  pointer-events: none;
}
.nc-wave-wing {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 54%;
  overflow: hidden;
  will-change: transform, opacity;
  filter: drop-shadow(0 15px 35px rgba(27, 49, 62, 0.16));
}
.nc-wave-l { left: 0; transform-origin: left center; }
.nc-wave-r { right: 0; transform-origin: right center; }
.nc-wave-svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.nc-wave-pearl {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
  animation: ncWavePearlPulse 4s ease-in-out infinite alternate;
}
@keyframes ncWavePearlPulse {
  0% { transform: translate(-50%, -50%) scale(0.96) rotate(-2deg); opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(1.05) rotate(2deg); opacity: 1; }
}

:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-wave .nc-wave-l {
  animation: ncWaveSweepL 2.1s cubic-bezier(0.25, 1, 0.35, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-wave .nc-wave-r {
  animation: ncWaveSweepR 2.1s cubic-bezier(0.25, 1, 0.35, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-wave .nc-wave-pearl {
  animation: ncWavePearlBurst 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes ncWaveSweepL {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
  40%  { transform: translate3d(-32%, -2%, 0) scale(1.02); opacity: 0.95; }
  100% { transform: translate3d(-118%, -5%, 0) scale(1.05); opacity: 0; }
}
@keyframes ncWaveSweepR {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
  40%  { transform: translate3d(32%, 2%, 0) scale(1.02); opacity: 0.95; }
  100% { transform: translate3d(118%, 5%, 0) scale(1.05); opacity: 0; }
}
@keyframes ncWavePearlBurst {
  0%   { transform: translate(-50%, -50%) scale(1); opacity: 1; filter: drop-shadow(0 0 0px #7DA1AF); }
  50%  { transform: translate(-50%, -50%) scale(1.4) rotate(40deg); opacity: 0.75; filter: drop-shadow(0 0 20px #2B6F88); }
  100% { transform: translate(-50%, -50%) scale(2.2) rotate(80deg); opacity: 0; filter: drop-shadow(0 0 40px transparent); }
}

/* ==========================================================================
   PAMPAS — Kipas Daun Palem Kering & Bunga Pampas (Punakawan Boho 02)
   ========================================================================== */
.nc-mech-pampas {
  position: absolute;
  inset: 0;
  perspective: 1400px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(251, 248, 243, 0.98) 0%, rgba(244, 234, 224, 0.95) 100%);
  pointer-events: none;
}
.nc-pampas-wing {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 53%;
  overflow: hidden;
  will-change: transform, opacity;
  filter: drop-shadow(0 15px 35px rgba(54, 36, 27, 0.16));
}
.nc-pampas-l { left: 0; transform-origin: left bottom; }
.nc-pampas-r { right: 0; transform-origin: right bottom; }
.nc-pampas-svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.nc-pampas-wreath {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130px;
  height: 130px;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
  animation: ncPampasWreathSway 5s ease-in-out infinite alternate;
}
@keyframes ncPampasWreathSway {
  0% { transform: translate(-50%, -50%) rotate(-3deg) scale(0.97); }
  100% { transform: translate(-50%, -50%) rotate(3deg) scale(1.03); }
}

:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-pampas .nc-pampas-l {
  animation: ncPampasSweepL 2.1s cubic-bezier(0.25, 1, 0.35, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-pampas .nc-pampas-r {
  animation: ncPampasSweepR 2.1s cubic-bezier(0.25, 1, 0.35, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-pampas .nc-pampas-wreath {
  animation: ncPampasWreathBurst 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes ncPampasSweepL {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
  40%  { transform: translate3d(-30%, -2%, 0) rotate(-6deg); opacity: 0.95; }
  100% { transform: translate3d(-115%, -6%, 0) rotate(-14deg); opacity: 0; }
}
@keyframes ncPampasSweepR {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
  40%  { transform: translate3d(30%, 2%, 0) rotate(6deg); opacity: 0.95; }
  100% { transform: translate3d(115%, 6%, 0) rotate(14deg); opacity: 0; }
}
@keyframes ncPampasWreathBurst {
  0%   { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 1; }
  50%  { transform: translate(-50%, -50%) scale(1.35) rotate(30deg); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(2.1) rotate(60deg); opacity: 0; }
}

/* ==========================================================================
   MICRO-ANIMATIONS ALAMI (BREATHING SHADOWS & ORGANIC LIVING MOTION)
   ========================================================================== */
.nc-photo-breathe,
.nc-frame-rococo,
.nc-couple-frame-wrap {
  animation: ncPhotoGentleBreathe 6s ease-in-out infinite alternate;
  will-change: transform, filter;
}
@keyframes ncPhotoGentleBreathe {
  0% {
    transform: translateY(0px) scale(1);
    filter: drop-shadow(0 14px 28px rgba(44, 29, 24, 0.12));
  }
  50% {
    transform: translateY(-5px) scale(1.008);
    filter: drop-shadow(0 20px 38px rgba(44, 29, 24, 0.16));
  }
  100% {
    transform: translateY(0px) scale(1);
    filter: drop-shadow(0 14px 28px rgba(44, 29, 24, 0.12));
  }
}

/* ==========================================================================
   LAZY BLUR-UP — foto galeri memudar halus dari blur saat siap
   ========================================================================== */
img.nc-blurup {
  opacity: 0;
  filter: blur(14px);
  transform: scale(1.04);
  transition: opacity 0.7s ease, filter 0.7s ease, transform 0.7s ease;
}
img.nc-blurup.nc-loaded {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

/* ==========================================================================
   LIGHTBOX PARALLAX — penampil foto dengan zoom halus & parallax gerak
   ========================================================================== */
#ncLightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
#ncLightbox.nc-lb-open { opacity: 1; pointer-events: auto; }
#ncLightbox .nc-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 9, 7, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
#ncLightbox .nc-lb-stage {
  position: relative;
  margin: 0;
  max-width: 92vw;
  max-height: 86vh;
  will-change: transform;
}
#ncLightbox .nc-lb-img {
  display: block;
  max-width: 92vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
  transform: scale(1.06);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
  opacity: 0;
}
#ncLightbox.nc-lb-open .nc-lb-img { opacity: 1; }
#ncLightbox .nc-lb-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #FFF;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}
#ncLightbox .nc-lb-close:hover { background: rgba(255, 255, 255, 0.24); transform: rotate(90deg); }

/* ==========================================================================
   LAPIS 2: gerak banyak-berbeda-tempo + kisah bernomor + parallax
   (pola referensi: 13 ornamen × 4 durasi berjalan bersamaan)
   ========================================================================== */
#mainStage { position: relative; }
.nc-motion { position: absolute; inset: 0; pointer-events: none; z-index: 4; overflow: hidden; }
.nc-motion .nc-m-orn {
  position: absolute; width: clamp(46px, 11vw, 92px); opacity: .16;
  animation-name: ncMFloat; animation-iteration-count: infinite;
  animation-timing-function: ease-in-out; animation-direction: alternate;
  filter: saturate(.9);
}
.nc-motion .nc-m-dot {
  position: absolute; border-radius: 50%;
  background: color-mix(in srgb, var(--sk, #7A4E28) 70%, #fff);
  opacity: .35;
  animation-name: ncMDrift; animation-iteration-count: infinite;
  animation-timing-function: ease-in-out; animation-direction: alternate;
}
@keyframes ncMFloat {
  0%   { transform: scale(var(--s, 1)) translateY(0) rotate(0deg); }
  50%  { transform: scale(var(--s, 1)) translateY(-13px) rotate(3deg); }
  100% { transform: scale(var(--s, 1)) translateY(-4px) rotate(-2deg); }
}
@keyframes ncMDrift {
  0%   { transform: translate3d(0,0,0) scale(1); opacity: .18; }
  50%  { transform: translate3d(9px,-16px,0) scale(1.35); opacity: .5; }
  100% { transform: translate3d(-7px,-6px,0) scale(.9); opacity: .25; }
}

/* Kisah bernomor */
.nc-story { position: relative; z-index: 6; max-width: 940px; margin: 0 auto; padding: 88px 24px; }
.nc-story-label { text-align: center; font-size: 10px; letter-spacing: .42em; text-transform: uppercase; opacity: .62; margin-bottom: 46px; }
.nc-story-list { display: grid; gap: 54px; }
.nc-story-ch { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.nc-story-ch:nth-child(even) .nc-story-media { order: 2; }
.nc-story-media { position: relative; border-radius: 14px; overflow: hidden; background: rgba(127,127,127,.10); aspect-ratio: 4/5; }
.nc-story-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.nc-story-num {
  position: absolute; left: 12px; bottom: 6px; font-size: 54px; line-height: 1;
  color: #fff; mix-blend-mode: overlay; opacity: .85; font-weight: 500;
}
.nc-story-body h3 { font-size: 26px; font-weight: 500; margin-top: 6px; line-height: 1.2; }
.nc-story-year { font-size: 10.5px; letter-spacing: .32em; opacity: .62; }
.nc-story-body p:last-child { margin-top: 12px; font-size: 12.5px; line-height: 1.9; opacity: .78; }
@media (max-width: 700px) {
  .nc-story-ch { grid-template-columns: 1fr; gap: 18px; }
  .nc-story-ch:nth-child(even) .nc-story-media { order: 0; }
  .nc-story-media { aspect-ratio: 16/11; }
}
@media (prefers-reduced-motion: reduce) {
  .nc-motion { display: none; }
  #mainStage [data-par] { transform: none !important; }
}
/* ornamen klaster: skala inline dipertahankan saat beranimasi */
.nc-motion .nc-m-orn { opacity: .13; }

/* performa: di layar kecil cukup 3 ornamen + 5 titik, tetap hidup tapi ringan */
@media (max-width: 640px) {
  .nc-motion .nc-m-orn:nth-child(n+4) { display: none; }
  .nc-motion .nc-m-dot:nth-child(n+6) { display: none; }
}

/* ==========================================================================
   GALERI FOTO BERTEMA — hadir di setiap tema/layout
   ========================================================================== */
.nc-galb { position: relative; z-index: 6; padding: 78px 20px; border-top: 1px solid; }
.nc-galb-label { text-align: center; font-size: 10px; letter-spacing: .42em; text-transform: uppercase; opacity: .9; margin-bottom: 8px; }
.nc-galb-title { text-align: center; font-size: clamp(22px, 5vw, 34px); font-weight: 500; margin-bottom: 26px; line-height: 1.15; }
.nc-galb-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 10px; max-width: 900px; margin: 0 auto;
}
.nc-galb-item { position: relative; margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 3/4; background: rgba(127,127,127,.12); }
.nc-galb-item.tall { aspect-ratio: 3/5; }
.nc-galb-item img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .7s cubic-bezier(.22,1,.36,1); }
.nc-galb-item:hover img { transform: scale(1.05); }
.nc-galb-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 22px 10px 8px;
  font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: linear-gradient(180deg, transparent, rgba(0,0,0,.62));
}
@media (min-width: 720px) { .nc-galb-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .nc-galb-item img { transition: none; } }

/* ==========================================================================
   TRANSISI SEKSI BERAGAM & HALUS (Sapu kain / reveal bertema)
   - Easing decelerate: cubic-bezier(.16, 1, .3, 1)
   - Durasi 1.5s–1.7s yang anggun & tidak tergesa-gesa
   - Lapisan diberi will-change + contain
   ========================================================================== */
section.has-sweep { contain: paint; position: relative; }
section.has-sweep > .nc-sweep {
  position: absolute; inset: -4px; z-index: 6; pointer-events: none;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--sk, #7A4E28) 42%, #18120E) 0%,
    color-mix(in srgb, var(--sk, #7A4E28) 22%, #100C09) 100%);
  will-change: transform, opacity;
  backface-visibility: hidden;
  transition-delay: .08s;
}
#mainStage[data-fam="floral"] section.has-sweep > .nc-sweep,
#mainStage[data-fam="destinasi"] section.has-sweep > .nc-sweep {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--sk, #C2A06A) 30%, #FBF7F0) 0%,
    color-mix(in srgb, var(--sk, #C2A06A) 15%, #F0E8DC) 100%);
}

/* 1. IRIS: lingkaran mekar melingkar dari tengah */
#mainStage:is([data-tr="iris"]) section.has-sweep > .nc-sweep {
  clip-path: none !important;
  border-radius: 50%;
  transform: scale(2.6);
  opacity: 1;
  background: radial-gradient(circle at 50% 50%,
    color-mix(in srgb, var(--sk,#B07C63) 45%, #FBF7F0) 0%,
    color-mix(in srgb, var(--sk,#B07C63) 80%, #4A3B32) 100%);
  transition: transform 1.6s cubic-bezier(.16,1,.3,1), opacity .6s ease 1s;
}
#mainStage:is([data-tr="iris"]) section.has-sweep.active > .nc-sweep {
  transform: scale(0);
  opacity: 0;
}

/* 2. CURTAIN: tirai terbelah dua ke kiri dan kanan (Gunungan & Gebyok) */
#mainStage:is([data-tr="curtain"], [data-tr="gunungan"], [data-tr="gebyok"]) section.has-sweep > .nc-sweep { background: none; }
#mainStage:is([data-tr="curtain"], [data-tr="gunungan"], [data-tr="gebyok"]) section.has-sweep > .nc-sweep::before,
#mainStage:is([data-tr="curtain"], [data-tr="gunungan"], [data-tr="gebyok"]) section.has-sweep > .nc-sweep::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 50.5%;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--sk, #B29A6B) 78%, #14100C),
    color-mix(in srgb, var(--sk, #B29A6B) 42%, #0E0B08));
  transition: transform 1.6s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}
#mainStage:is([data-tr="curtain"], [data-tr="gunungan"], [data-tr="gebyok"]) section.has-sweep > .nc-sweep::before { left: 0; transform: translate3d(0,0,0); }
#mainStage:is([data-tr="curtain"], [data-tr="gunungan"], [data-tr="gebyok"]) section.has-sweep > .nc-sweep::after { right: 0; transform: translate3d(0,0,0); }
#mainStage:is([data-tr="curtain"], [data-tr="gunungan"], [data-tr="gebyok"]) section.has-sweep.active > .nc-sweep::before { transform: translate3d(-101%,0,0); }
#mainStage:is([data-tr="curtain"], [data-tr="gunungan"], [data-tr="gebyok"]) section.has-sweep.active > .nc-sweep::after { transform: translate3d(101%,0,0); }

/* 3. WIPE-UP: kain terangkat ke atas (Tirai, Lift, Tapis) */
#mainStage:is([data-tr="wipe-up"], [data-tr="tirai"], [data-tr="lift"], [data-tr="tapis"]) section.has-sweep > .nc-sweep {
  transform: translate3d(0,0,0);
  transition: transform 1.55s cubic-bezier(.16,1,.3,1);
}
#mainStage:is([data-tr="wipe-up"], [data-tr="tirai"], [data-tr="lift"], [data-tr="tapis"]) section.has-sweep.active > .nc-sweep { transform: translate3d(0,-101%,0); }

/* 4. WIPE-LEFT: sapuan tenun adat ke samping kiri (Ulos) */
#mainStage:is([data-tr="wipe-left"], [data-tr="ulos"]) section.has-sweep > .nc-sweep {
  transform: translate3d(0,0,0);
  transition: transform 1.55s cubic-bezier(.16,1,.3,1);
}
#mainStage:is([data-tr="wipe-left"], [data-tr="ulos"]) section.has-sweep.active > .nc-sweep { transform: translate3d(-101%,0,0); }

/* 5. ZOOM: zoom kedalaman sinematik & blur dissolve */
#mainStage:is([data-tr="zoom"]) section.has-sweep > .nc-sweep {
  transform: scale(1); opacity: 1;
  transition: transform 1.5s cubic-bezier(.22,1,.36,1), opacity .8s ease .35s;
}
#mainStage:is([data-tr="zoom"]) section.has-sweep.active > .nc-sweep { transform: scale(1.3); opacity: 0; }

/* 6. FADE: dissolve khidmat sakral */
#mainStage:is([data-tr="fade"]) section.has-sweep > .nc-sweep {
  opacity: 1;
  transition: opacity 1.4s cubic-bezier(.4,0,.2,1) .1s;
}
#mainStage:is([data-tr="fade"]) section.has-sweep.active > .nc-sweep { opacity: 0; }

/* 7. SWEEP: sapuan miring berkarakter (Songket) */
#mainStage:is([data-tr="sweep"], [data-tr="songket"]) section.has-sweep > .nc-sweep {
  transform: translate3d(0,0,0) skewX(-4deg); opacity: 1;
  transition: transform 1.55s cubic-bezier(.16,1,.3,1), opacity .6s ease .9s;
}
#mainStage:is([data-tr="sweep"], [data-tr="songket"]) section.has-sweep.active > .nc-sweep { transform: translate3d(104%,0,0) skewX(-4deg); opacity: 0; }

/* 8. WIPE-DOWN: tirai turun ke bawah (Sakura / Arch / Nature) */
#mainStage:is([data-tr="wipe-down"]) section.has-sweep > .nc-sweep {
  transform: translate3d(0,0,0); opacity: 1;
  transition: transform 1.5s cubic-bezier(.16,1,.3,1), opacity .55s ease .85s;
}
#mainStage:is([data-tr="wipe-down"]) section.has-sweep.active > .nc-sweep { transform: translate3d(0,102%,0); opacity: 0; }

/* 9. DIAGONAL: sapuan diagonal sudut ke sudut (Tuscany / Autumn / Boho) */
#mainStage:is([data-tr="diagonal"]) section.has-sweep > .nc-sweep {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  opacity: 1;
  transition: clip-path 1.55s cubic-bezier(.16,1,.3,1), opacity .6s ease .85s;
}
#mainStage:is([data-tr="diagonal"]) section.has-sweep.active > .nc-sweep {
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 0);
  opacity: 0;
}

/* 10. BLINDS: kisi-kisi vertikal membuka (Gebyok / Vintage / Marble) */
#mainStage:is([data-tr="blinds"]) section.has-sweep > .nc-sweep {
  transform: scaleY(1); transform-origin: top center; opacity: 1;
  transition: transform 1.45s cubic-bezier(.16,1,.3,1), opacity .5s ease .8s;
}
#mainStage:is([data-tr="blinds"]) section.has-sweep.active > .nc-sweep {
  transform: scaleY(0); opacity: 0;
}

/* 11. DIAMOND: belah ketupat mekar dari tengah (Islamic / Tulip / Orchid) */
#mainStage:is([data-tr="diamond"]) section.has-sweep > .nc-sweep {
  clip-path: polygon(50% -40%, 140% 50%, 50% 140%, -40% 50%);
  opacity: 1;
  transition: clip-path 1.55s cubic-bezier(.16,1,.3,1), opacity .6s ease .85s;
}
#mainStage:is([data-tr="diamond"]) section.has-sweep.active > .nc-sweep {
  clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%);
  opacity: 0;
}

/* reveal gambar adat */
#mainStage[data-fam="adat"] .reveal-item img {
  clip-path: none !important;
  transition: opacity 1.1s ease .15s, transform 1.4s cubic-bezier(.16,1,.3,1) .15s;
}
#mainStage[data-fam="adat"] .reveal-item:not(.active) img { opacity: .001; transform: translate3d(-14px, 10px, 0) scale(1.03); }
#mainStage[data-fam="adat"] .reveal-item.active img { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  section.has-sweep > .nc-sweep { display: none !important; }
}

/* Kontras Tinggi Terjamin di Seluruh Background Tema */
.nc-sa[data-dark="true"] .nc-sa-guest { color: #F7FAF8 !important; text-shadow: 0 2px 12px rgba(0,0,0,0.9); }
.nc-sa[data-dark="true"] .nc-sa-guest strong { color: #E5C158 !important; font-weight: 700; }
.nc-sa[data-dark="true"] .nc-sa-kicker { color: #E5C158 !important; opacity: 0.95; }
.nc-sa[data-dark="true"] .nc-sa-sub { color: #C2D9CC !important; }
.nc-sa[data-dark="true"] .nc-sa-date { color: #E5C158 !important; }
.nc-cl[data-dark="true"] .nc-cl-hero-in h1 { color: #FAF7F2 !important; text-shadow: 0 3px 18px rgba(0,0,0,0.9); }
.nc-cl[data-dark="true"] .nc-cl-hero-in .nc-cl-script { color: #FFE8B0 !important; text-shadow: 0 2px 12px rgba(0,0,0,0.95); }
.nc-cl[data-dark="true"] .nc-cl-guest { color: #FAF7F2 !important; text-shadow: 0 2px 12px rgba(0,0,0,0.95); }
.nc-cl[data-dark="true"] .nc-cl-guest strong { color: #FFE8B0 !important; }

/* Universal Card Readability & Depth Shield */
[style*="background: rgba"], [style*="background-color: rgba"], .backdrop-blur-md, .backdrop-blur-xl {
  backdrop-filter: blur(16px) saturate(1.4) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.4) !important;
}

/* Event cards & story cards contrast guarantee */
.nc-sa-event, .nc-cl-event, .nc-noir-event, .nc-bab-event {
  background: rgba(20, 16, 12, 0.88) !important;
  color: #FAF5EE !important;
  border-radius: 1.5rem !important;
  border: 1px solid rgba(212, 175, 55, 0.4) !important;
  box-shadow: 0 12px 36px rgba(0,0,0,0.45) !important;
}
.nc-sa-event h3, .nc-cl-event h3, .nc-noir-event h3, .nc-bab-event h3 {
  color: #FFE5A3 !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6) !important;
}
.nc-sa-event p, .nc-cl-event p, .nc-noir-event p, .nc-bab-event p {
  color: #F0E6D8 !important;
}
.nc-sa-event a, .nc-cl-event a, .nc-noir-event a, .nc-bab-event a {
  color: #FFE5A3 !important;
  font-weight: 600 !important;
}

/* Autumn Germany & light theme card contrast */
[data-dark="false"] .nc-sa-event, [data-dark="false"] .nc-cl-event, [data-dark="false"] .nc-bab-event {
  background: rgba(255, 255, 255, 0.94) !important;
  color: #2D241E !important;
  border: 1px solid rgba(180, 120, 60, 0.35) !important;
  box-shadow: 0 12px 36px rgba(120, 80, 40, 0.18) !important;
}
[data-dark="false"] .nc-sa-event h3, [data-dark="false"] .nc-cl-event h3, [data-dark="false"] .nc-bab-event h3 {
  color: #8C4318 !important;
  text-shadow: none !important;
}
[data-dark="false"] .nc-sa-event p, [data-dark="false"] .nc-cl-event p, [data-dark="false"] .nc-bab-event p {
  color: #4A3B32 !important;
}

/* ==========================================================================
   AMBIENT ATMOSPHERIC SYSTEM (Kraton Jawa, Adat Weave, Bali, Floral)
   ========================================================================== */
.nc-amb-cloud {
  position: absolute;
  top: 18px;
  pointer-events: none;
  z-index: 2;
  will-change: transform;
}
.nc-amb-cloud-1 {
  left: 3%;
  width: min(42vw, 220px);
  animation: ncMegamendungDrift 32s ease-in-out infinite alternate;
}
.nc-amb-cloud-2 {
  right: 4%;
  width: min(38vw, 190px);
  transform: scaleX(-1);
  animation: ncMegamendungDrift 38s ease-in-out 3s infinite alternate;
}
@keyframes ncMegamendungDrift {
  0%   { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(24px, 6px, 0); }
  100% { transform: translate3d(-18px, -4px, 0); }
}

/* Diagonal Golden Sheen Beam (Adat Songket, Ulos, Tapis) */
.nc-amb-sheen {
  position: absolute;
  inset: -100% -100% -100% -100%;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 230, 140, 0.16) 48%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 230, 140, 0.16) 52%, transparent 60%);
  animation: ncGoldSheenSweep 12s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  mix-blend-mode: overlay;
}
@keyframes ncGoldSheenSweep {
  0%   { transform: translate3d(-40%, -40%, 0) rotate(0deg); opacity: 0; }
  15%  { opacity: 0.9; }
  35%  { transform: translate3d(40%, 40%, 0) rotate(0deg); opacity: 0; }
  100% { transform: translate3d(40%, 40%, 0) rotate(0deg); opacity: 0; }
}

/* Rising Golden Sparkles / Dust */
.nc-amb-gold-dust {
  position: absolute;
  bottom: -10px;
  border-radius: 999px;
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.8), 0 0 12px rgba(255, 215, 0, 0.4);
  pointer-events: none;
  z-index: 2;
  animation: ncGoldDustRise linear infinite;
  will-change: transform, opacity;
}
@keyframes ncGoldDustRise {
  0%   { transform: translate3d(0, 0, 0); opacity: 0; }
  15%  { opacity: 0.95; }
  85%  { opacity: 0.85; }
  100% { transform: translate3d(18px, -105vh, 0); opacity: 0; }
}

/* Morning Mist Band (Bali Royal & Gardens) */
.nc-amb-mist-band {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28vh;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.12) 60%, transparent 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: ncMistFloat 10s ease-in-out infinite alternate;
}
@keyframes ncMistFloat {
  0%   { transform: translateY(0) scaleY(1); opacity: 0.55; }
  100% { transform: translateY(-8px) scaleY(1.08); opacity: 0.85; }
}

/* Champagne Bokeh Glowing Bubbles */
.nc-amb-bokeh {
  position: absolute;
  bottom: -20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 16px rgba(255, 220, 160, 0.35);
  pointer-events: none;
  z-index: 2;
  animation: ncBokehRise linear infinite;
  will-change: transform, opacity;
}
@keyframes ncBokehRise {
  0%   { transform: translate3d(0, 0, 0) scale(0.8); opacity: 0; }
  20%  { opacity: 0.65; }
  80%  { opacity: 0.55; }
  100% { transform: translate3d(-24px, -108vh, 0) scale(1.15); opacity: 0; }
}

/* 3D Falling Melati & Petals with Natural Wind Tumbling */
.nc-amb-melati, .nc-amb-petal-item {
  position: absolute;
  top: -30px;
  pointer-events: none;
  z-index: 2;
  animation: ncWindTumbleFall linear infinite;
  will-change: transform, opacity;
}
@keyframes ncWindTumbleFall {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) rotate3d(1, 0.5, 0.2, 0deg);
    opacity: 0;
  }
  12% { opacity: 0.95; }
  85% { opacity: 0.9; }
  100% {
    transform: translate3d(45px, 108vh, 0) rotate(380deg) rotate3d(1, 0.5, 0.2, 420deg);
    opacity: 0;
  }
}

/* =========================================================================
   NATURAL MICRO-ANIMATIONS: SWAY, BREATHING SHADOW, SHIMMER & STORYBOOK
   (Ref: sandikatrina.katsudoto.id/785653 - Smooth organic motion without AI rigidity)
   ========================================================================= */

/* 1. Organic Portrait Float & Micro-Sway with Breathing Dynamic Shadow */
.anim-photo-float,
.nc-frame-rococo,
.nc-frame-gebyok,
.nc-frame-moresque,
.nc-frame-gonjong,
.nc-frame-siger,
.nc-frame-gorga,
.nc-frame-candibentar,
.nc-frame-gatsby {
  animation: ncPhotoSwayFloat 7s ease-in-out infinite alternate;
  will-change: transform, box-shadow;
}

@keyframes ncPhotoSwayFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.45);
  }
  50% {
    transform: translateY(-6px) rotate(0.6deg);
    box-shadow: 0 24px 48px -10px rgba(0, 0, 0, 0.65);
  }
  100% {
    transform: translateY(-3px) rotate(-0.5deg);
    box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.52);
  }
}

/* 2. Soft Breathing Shadow for Section Cards */
.nc-shadow-breathe {
  animation: ncShadowBreathe 5.5s ease-in-out infinite alternate;
  will-change: box-shadow, transform;
}

@keyframes ncShadowBreathe {
  0% {
    box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.35);
  }
  100% {
    box-shadow: 0 18px 40px -6px rgba(0, 0, 0, 0.6);
  }
}

/* 3. Metallic Gold Shimmer across Titles & Headings */
.nc-shimmer-title {
  background: linear-gradient(90deg, currentColor 0%, #FFF3B0 42%, currentColor 75%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  animation: ncTextGoldSheen 7s ease-in-out infinite;
}

@keyframes ncTextGoldSheen {
  0%, 20% {
    background-position: 100% 0;
  }
  80%, 100% {
    background-position: -100% 0;
  }
}

/* 4. Interactive Pulse for RSVP & Action Buttons */
.nc-pulse-button {
  animation: ncBtnPulseGlow 3.6s ease-in-out infinite;
  will-change: transform, box-shadow;
}

@keyframes ncBtnPulseGlow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
  }
  50% {
    transform: scale(1.028);
    box-shadow: 0 14px 30px rgba(212, 175, 55, 0.6);
  }
}

/* 5. Glowing Pulsating Node for Timeline Pins */
.nc-timeline-node {
  animation: ncNodePulse 2.8s ease-in-out infinite;
}

@keyframes ncNodePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
  }
}

/* 6. Living Ambient Breathing Glow for RSVP & Guestbook Card */
.nc-rsvp-breathe-glow {
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5), 0 0 25px rgba(212, 175, 55, 0.15);
  animation: ncRsvpGlow 6s ease-in-out infinite alternate;
}

@keyframes ncRsvpGlow {
  0% {
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5), 0 0 18px rgba(212, 175, 55, 0.1);
  }
  100% {
    box-shadow: 0 22px 48px -10px rgba(0, 0, 0, 0.7), 0 0 35px rgba(212, 175, 55, 0.32);
  }
}

/* 7. Storybook Keepsake Modal Custom Aesthetics */
.nc-storybook-frame {
  animation: ncBookOpenPop 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes ncBookOpenPop {
  0% {
    transform: scale(0.92) translateY(24px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.nc-storybook-parchment::-webkit-scrollbar {
  width: 6px;
}
.nc-storybook-parchment::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
.nc-storybook-parchment::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.35);
  border-radius: 999px;
}
.nc-storybook-parchment::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.6);
}

/* =========================================================================
   STAGE-OPENING ORCHESTRATION: COMPONENT CASCADE ON GATE OPEN
   (Saat tombol Buka Undangan diklik, seluruh panggung utama mekar serentak)
   ========================================================================= */

/* Background Ken Burns Settle */
#mainStage.stage-opening .nc-motion-bg,
#mainStage.stage-opening section:first-of-type > img.absolute {
  animation: ncStageBgSettle 2.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, filter;
}
@keyframes ncStageBgSettle {
  0% { transform: scale(1.08); filter: blur(5px); }
  100% { transform: scale(1.0); filter: blur(0); }
}

/* Ornamen Sudut Menghampir (Corner Flourishes Unfold) */
#mainStage.stage-opening .anim-bunga-a,
#mainStage.stage-opening .nc-sa-orn.tl {
  animation: ncCornerUnfoldL 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
@keyframes ncCornerUnfoldL {
  0% { transform: translate3d(-30px, -30px, 0) scale(0.85); opacity: 0; }
  100% { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
}

#mainStage.stage-opening .anim-bunga-b,
#mainStage.stage-opening .nc-sa-orn.br {
  animation: ncCornerUnfoldR 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
@keyframes ncCornerUnfoldR {
  0% { transform: translate3d(30px, -30px, 0) scaleX(-1) scale(0.85); opacity: 0; }
  100% { transform: translate3d(0, 0, 0) scaleX(-1) scale(1); opacity: 1; }
}

/* Emblem Simbol Pusaka / Wayang / Kubah Mengambang Masuk */
#mainStage.stage-opening .w-24.h-28.mx-auto,
#mainStage.stage-opening .w-16.h-20.mx-auto,
#mainStage.stage-opening .w-16.h-18.mx-auto,
#mainStage.stage-opening .w-16.h-22.mx-auto {
  animation: ncSymbolFloatIn 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}
@keyframes ncSymbolFloatIn {
  0% { transform: translateY(-24px) scale(0.82); opacity: 0; filter: blur(6px); }
  100% { transform: translateY(0) scale(1); opacity: 1; filter: blur(0); }
}

/* Badge & Kicker Settle */
#mainStage.stage-opening span.px-5.py-1,
#mainStage.stage-opening span.px-3\.5.py-1,
#mainStage.stage-opening span.px-4.py-1,
#mainStage.stage-opening .nc-cl-kicker,
#mainStage.stage-opening .nc-sa-kicker,
#mainStage.stage-opening .nc-noir-kicker {
  animation: ncBadgeSettle 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}
@keyframes ncBadgeSettle {
  0% { transform: scale(0.88); opacity: 0; letter-spacing: 0.36em; }
  100% { transform: scale(1); opacity: 1; }
}

/* Nama Mempelai Hero Glides In */
#mainStage.stage-opening h1,
#mainStage.stage-opening .nc-noir-hero-name,
#mainStage.stage-opening .nc-sa-hero h1 {
  animation: ncTitleGlideIn 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
}
@keyframes ncTitleGlideIn {
  0% { transform: translateY(34px) scale(0.95); opacity: 0; filter: blur(8px); }
  100% { transform: translateY(0) scale(1); opacity: 1; filter: blur(0); }
}

/* Bingkai Foto Hero Utama Terangkat Mewah & Bayangan Mekar */
#mainStage.stage-opening .nc-frame-gebyok,
#mainStage.stage-opening .nc-frame-gorga,
#mainStage.stage-opening .nc-frame-siger,
#mainStage.stage-opening .nc-frame-moresque,
#mainStage.stage-opening .nc-frame-gonjong,
#mainStage.stage-opening .nc-frame-rococo,
#mainStage.stage-opening .nc-frame-candibentar,
#mainStage.stage-opening .nc-frame-gatsby,
#mainStage.stage-opening .nc-sa-hero .anim-breath,
#mainStage.stage-opening .nc-cl-hero .anim-breath {
  animation: ncHeroPhotoRise 1.9s cubic-bezier(0.16, 1, 0.3, 1) 0.52s both;
}
@keyframes ncHeroPhotoRise {
  0% {
    transform: translateY(44px) scale(0.92);
    opacity: 0;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    box-shadow: 0 20px 42px -8px rgba(0, 0, 0, 0.52);
  }
}

/* Kotak Countdown Waktu Berkaskade Masuk */
#mainStage.stage-opening .cd-box:nth-child(1),
#mainStage.stage-opening .nc-sa-chip:nth-child(1),
#mainStage.stage-opening .nc-cl-count > div:nth-child(1) {
  animation: ncChipCascade 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.68s both;
}
#mainStage.stage-opening .cd-box:nth-child(2),
#mainStage.stage-opening .nc-sa-chip:nth-child(2),
#mainStage.stage-opening .nc-cl-count > div:nth-child(2) {
  animation: ncChipCascade 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.78s both;
}
#mainStage.stage-opening .cd-box:nth-child(3),
#mainStage.stage-opening .nc-sa-chip:nth-child(3),
#mainStage.stage-opening .nc-cl-count > div:nth-child(3) {
  animation: ncChipCascade 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.88s both;
}
#mainStage.stage-opening .cd-box:nth-child(4),
#mainStage.stage-opening .nc-sa-chip:nth-child(4),
#mainStage.stage-opening .nc-cl-count > div:nth-child(4) {
  animation: ncChipCascade 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.98s both;
}
@keyframes ncChipCascade {
  0% { transform: translateY(24px) scale(0.88); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* Tanggal & Kotak Sapaan Tamu Mengapung Lembut */
#mainStage.stage-opening .nc-sa-guest,
#mainStage.stage-opening .nc-cl-guest,
#mainStage.stage-opening .nc-noir-guest {
  animation: ncGuestFadeUp 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.82s both;
}
@keyframes ncGuestFadeUp {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* =========================================================================
   DIFFERENTIATED SCROLL REVEALS PER THEME FAMILY
   (Setiap keluarga tema memiliki koreografi scroll-down unik sesuai karakter budayanya)
   ========================================================================= */

/* 1. BATAK: Sapuan Silang Tenun Ulos & Hentakan Dinamis Gorga */
#mainStage[data-scroll-style="batak"] .reveal-item {
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
#mainStage[data-scroll-style="batak"] .reveal-item:nth-child(odd):not(.active) {
  transform: translate3d(-38px, 24px, 0) skewX(-2.5deg);
}
#mainStage[data-scroll-style="batak"] .reveal-item:nth-child(even):not(.active) {
  transform: translate3d(38px, 24px, 0) skewX(2.5deg);
}
#mainStage[data-scroll-style="batak"] .reveal-item.active {
  opacity: 1;
  transform: translate3d(0, 0, 0) skewX(0deg);
}

/* 2. JAWA / KRATON: Sembah Luhur Keraton (Central Vertical Unfold & Micro-Tilt) */
#mainStage[data-scroll-style="jawa"] .reveal-item {
  opacity: 0;
  clip-path: polygon(50% 0%, 50% 0%, 50% 100%, 50% 100%);
  transform: translateY(32px) rotate(-0.8deg);
  transition: opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.25s cubic-bezier(0.16, 1, 0.3, 1),
              clip-path 1.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, clip-path;
}
#mainStage[data-scroll-style="jawa"] .reveal-item.active {
  opacity: 1;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  transform: translateY(0) rotate(0deg);
}

/* 3. SUNDA: Ayunan Lembut Rumpun Bambu & Melati (Wave & Soft Spring Ripple) */
#mainStage[data-scroll-style="sunda"] .reveal-item {
  opacity: 0;
  transform: translateY(34px) scale(0.95) rotate(1.4deg);
  filter: blur(4px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.35s cubic-bezier(0.22, 1, 0.36, 1),
              filter 1.1s ease;
  will-change: transform, opacity, filter;
}
#mainStage[data-scroll-style="sunda"] .reveal-item.active {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0deg);
  filter: blur(0);
}

/* 4. MINANG & MELAYU: Singkapan Tabir Songket Emas (Horizontal Gold Sweep) */
#mainStage[data-scroll-style="minang"] .reveal-item {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transform: translateX(-24px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              clip-path 1.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, clip-path;
}
#mainStage[data-scroll-style="minang"] .reveal-item.active {
  opacity: 1;
  clip-path: inset(0 0% 0 0);
  transform: translateX(0);
}

/* 5. BALI: Gapura Candi Bentar 3D Perspective Elevation */
#mainStage[data-scroll-style="bali"] .reveal-item {
  opacity: 0;
  transform: perspective(1000px) rotateX(14deg) translateY(36px) scale(0.93);
  transition: opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
#mainStage[data-scroll-style="bali"] .reveal-item.active {
  opacity: 1;
  transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1);
}

/* 6. ARABIAN: Turun Menggantung Laksana Lentera Fanous Bercahaya */
#mainStage[data-scroll-style="arabian"] .reveal-item {
  opacity: 0;
  transform: translateY(-28px) scale(0.96);
  filter: blur(5px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.3s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.1s ease;
  will-change: transform, opacity, filter;
}
#mainStage[data-scroll-style="arabian"] .reveal-item.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* 7. FLORAL / KATRINA: Bunga Mekar dari Pusat (Organic Petal Blossom) */
#mainStage[data-scroll-style="floral"] .reveal-item {
  opacity: 0;
  transform: scale(0.90) rotate(-1.8deg);
  filter: blur(7px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.35s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.2s ease;
  will-change: transform, opacity, filter;
}
#mainStage[data-scroll-style="floral"] .reveal-item.active {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  filter: blur(0);
}

/* 8. DESTINASI (Autumn Germany, Tuscany, Santorini): Geser Sinematik & Disolusi Kabut */
#mainStage[data-scroll-style="destinasi"] .reveal-item {
  opacity: 0;
  transform: translateX(42px);
  filter: blur(9px);
  transition: opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.3s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.2s ease;
  will-change: transform, opacity, filter;
}
#mainStage[data-scroll-style="destinasi"] .reveal-item.active {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

/* 9. NOIR / TITANIC: Typographic Tracking Expansion & High Contrast */
#mainStage[data-scroll-style="noir"] .reveal-item {
  opacity: 0;
  transform: translateY(22px);
  letter-spacing: -0.035em;
  filter: blur(8px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              letter-spacing 1.35s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.1s ease;
  will-change: transform, opacity, letter-spacing, filter;
}
#mainStage[data-scroll-style="noir"] .reveal-item.active {
  opacity: 1;
  transform: translateY(0);
  letter-spacing: normal;
  filter: blur(0);
}

/* 10. VINTAGE ART DECO: Kipas Geometris Sudut Tajam (Sunburst Fan Angle) */
#mainStage[data-scroll-style="vintage"] .reveal-item {
  opacity: 0;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
  transform: translateY(26px) scale(0.97);
  transition: opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.25s cubic-bezier(0.16, 1, 0.3, 1),
              clip-path 1.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, clip-path;
}
#mainStage[data-scroll-style="vintage"] .reveal-item.active {
  opacity: 1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transform: translateY(0) scale(1);
}





/* ==========================================================================
   FAIRYTALE — Gerbang Kastil Dongeng & Taburan Bintang (Katsudoto Fairytale)
   ========================================================================== */
.nc-mech-fairytale {
  position: absolute;
  inset: 0;
  perspective: 1400px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(253, 250, 246, 0.98) 0%, rgba(246, 238, 238, 0.95) 100%);
  pointer-events: none;
}
.nc-fairy-wing {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 53%;
  overflow: hidden;
  will-change: transform, opacity;
  filter: drop-shadow(0 15px 35px rgba(60, 40, 45, 0.16));
}
.nc-fairy-l { left: 0; transform-origin: left center; }
.nc-fairy-r { right: 0; transform-origin: right center; }
.nc-fairy-svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.nc-fairy-crown {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
  animation: ncFairyCrownShimmer 4s ease-in-out infinite alternate;
}
@keyframes ncFairyCrownShimmer {
  0% { transform: translate(-50%, -50%) scale(0.96) rotate(-2deg); opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(1.04) rotate(2deg); opacity: 1; filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.6)); }
}

.nc-fairy-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-fairytale .nc-fairy-l {
  animation: ncFairyOpenL 2.1s cubic-bezier(0.25, 1, 0.35, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-fairytale .nc-fairy-r {
  animation: ncFairyOpenR 2.1s cubic-bezier(0.25, 1, 0.35, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-fairytale .nc-fairy-crown {
  animation: ncFairyCrownBurst 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-fairytale .nc-farch-petal {
  animation: ncFarchFly 2.1s cubic-bezier(0.25, 1, 0.35, 1) var(--d, 0s) forwards;
}

@keyframes ncFairyOpenL {
  0%   { transform: translate3d(0, 0, 0) rotateY(0deg) scale(1); opacity: 1; }
  40%  { transform: translate3d(-34%, 0, 0) rotateY(-20deg) scale(1.02); opacity: 0.95; }
  100% { transform: translate3d(-118%, 0, 0) rotateY(-38deg) scale(1.05); opacity: 0; }
}
@keyframes ncFairyOpenR {
  0%   { transform: translate3d(0, 0, 0) rotateY(0deg) scale(1); opacity: 1; }
  40%  { transform: translate3d(34%, 0, 0) rotateY(20deg) scale(1.02); opacity: 0.95; }
  100% { transform: translate3d(118%, 0, 0) rotateY(38deg) scale(1.05); opacity: 0; }
}
@keyframes ncFairyCrownBurst {
  0%   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50%  { transform: translate(-50%, -50%) scale(1.4) rotate(45deg); opacity: 0.8; filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.8)); }
  100% { transform: translate(-50%, -50%) scale(2.3) rotate(90deg); opacity: 0; }
}

/* ==========================================================================
   BOTANICAL — Ranting Daun Eucalyptus & Kelopak Alam (Katsudoto Nature)
   ========================================================================== */
.nc-mech-botanical {
  position: absolute;
  inset: 0;
  perspective: 1400px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(247, 249, 246, 0.98) 0%, rgba(235, 242, 234, 0.95) 100%);
  pointer-events: none;
}
.nc-botanical-wing {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 53%;
  overflow: hidden;
  will-change: transform, opacity;
  filter: drop-shadow(0 15px 35px rgba(30, 50, 40, 0.16));
}
.nc-botanical-l { left: 0; transform-origin: left center; }
.nc-botanical-r { right: 0; transform-origin: right center; }
.nc-botanical-svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.nc-botanical-wreath {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
  animation: ncBotanicalBreathe 5s ease-in-out infinite alternate;
}
@keyframes ncBotanicalBreathe {
  0% { transform: translate(-50%, -50%) scale(0.96) rotate(-3deg); opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(1.04) rotate(3deg); opacity: 1; }
}

.nc-botanical-leaves {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-botanical .nc-botanical-l {
  animation: ncBotanicalOpenL 2.1s cubic-bezier(0.25, 1, 0.35, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-botanical .nc-botanical-r {
  animation: ncBotanicalOpenR 2.1s cubic-bezier(0.25, 1, 0.35, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-botanical .nc-botanical-wreath {
  animation: ncBotanicalWreathBurst 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-mech-botanical .nc-farch-petal {
  animation: ncFarchFly 2.1s cubic-bezier(0.25, 1, 0.35, 1) var(--d, 0s) forwards;
}

@keyframes ncBotanicalOpenL {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
  40%  { transform: translate3d(-33%, -2%, 0) scale(1.02); opacity: 0.95; }
  100% { transform: translate3d(-118%, -5%, 0) scale(1.05); opacity: 0; }
}
@keyframes ncBotanicalOpenR {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
  40%  { transform: translate3d(33%, 2%, 0) scale(1.02); opacity: 0.95; }
  100% { transform: translate3d(118%, 5%, 0) scale(1.05); opacity: 0; }
}
@keyframes ncBotanicalWreathBurst {
  0%   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50%  { transform: translate(-50%, -50%) scale(1.35) rotate(35deg); opacity: 0.75; }
  100% { transform: translate(-50%, -50%) scale(2.2) rotate(70deg); opacity: 0; }
}

/* ==========================================================================
   PUNAKAWAN DYNAMIC SWAYS — Wayang L/R & Foliage Breeze
   ========================================================================== */
.nc-g-kayon-l, .anim-wayang-l {
  animation: ncPunakawanWayangL 3.2s ease-in-out infinite alternate !important;
  transform-origin: bottom center;
}
.nc-g-kayon-r, .anim-wayang-r {
  animation: ncPunakawanWayangR 3.2s ease-in-out infinite alternate !important;
  transform-origin: bottom center;
}
@keyframes ncPunakawanWayangL {
  0%   { transform: rotate(0deg) translateY(0); }
  50%  { transform: rotate(-3deg) translateY(-4px); }
  100% { transform: rotate(-5deg) translateY(-2px); }
}
@keyframes ncPunakawanWayangR {
  0%   { transform: rotate(0deg) translateY(0); }
  50%  { transform: rotate(3deg) translateY(-4px); }
  100% { transform: rotate(5deg) translateY(-2px); }
}

/* ==========================================================================
   STORY CARD 9:16 — modal generator kartu Instagram (canvas)
   ========================================================================== */
#ncStoryCardModal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
#ncStoryCardModal.nc-sc-open { display: flex; }
#ncStoryCardModal .nc-sc-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 9, 7, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
#ncStoryCardModal .nc-sc-panel {
  position: relative;
  background: #1C1512;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 18px;
  padding: 16px;
  max-height: 92vh;
  overflow-y: auto;
  text-align: center;
}
#ncStoryCardModal .nc-sc-title { color: #E9DFC8; font-weight: 700; font-size: 14px; margin: 0 0 12px; }
#ncStoryCardModal .nc-sc-variants { display: flex; gap: 8px; justify-content: center; margin-bottom: 12px; flex-wrap: wrap; }
#ncStoryCardModal .nc-sc-variants button {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: transparent;
  color: #E9DFC8;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
#ncStoryCardModal .nc-sc-variants button.is-on { background: #D4AF37; color: #1C1512; }
#ncStoryCardModal canvas {
  width: min(52vw, 300px);
  height: auto;
  border-radius: 12px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s ease;
}
#ncStoryCardModal .nc-sc-dl {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  border-radius: 999px;
  border: none;
  background: #D4AF37;
  color: #1C1512;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
#ncStoryCardModal .nc-sc-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.12);
  color: #FFF;
  font-size: 20px;
  cursor: pointer;
}

/* ==========================================================================
   DESTINATION AMBIENT ANIMATIONS (Santorini, Kyoto, Tuscany, Tulip, Sydney, Sunset, Autumn)
   ========================================================================== */
.nc-amb-santorini, .nc-amb-kyoto, .nc-amb-tuscany, .nc-amb-tulip, .nc-amb-sydney, .nc-amb-sunset {
  position: fixed; inset: 0; pointer-events: none; z-index: 3; overflow: hidden;
}
.nc-amb-sunbeam {
  position: absolute; inset: -30%;
  background: conic-gradient(from 215deg at 18% 8%, transparent 0deg, color-mix(in srgb, var(--beam, #F59E0B) 26%, transparent) 16deg, transparent 34deg, color-mix(in srgb, var(--beam, #F59E0B) 18%, transparent) 48deg, transparent 70deg);
  animation: ncSunbeamSway 14s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}
@keyframes ncSunbeamSway {
  0% { transform: rotate(-4deg) scale(1); opacity: 0.65; }
  100% { transform: rotate(6deg) scale(1.06); opacity: 0.95; }
}
.nc-amb-waves-inner { position: absolute; inset: 0; opacity: 0.55; }
.nc-amb-waves-inner i {
  position: absolute; left: -20%; right: -20%; height: 220px; border-radius: 45%;
  border-top: 2px solid color-mix(in srgb, var(--sk, #3E6F94) 45%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--sk, #3E6F94) 14%, transparent), transparent);
  animation: ncWaveDrift 11s ease-in-out infinite alternate;
}
.nc-amb-waves-inner .w1 { bottom: -110px; animation-duration: 9s; }
.nc-amb-waves-inner .w2 { bottom: -85px; animation-duration: 13s; animation-direction: alternate-reverse; opacity: 0.7; }
.nc-amb-waves-inner .w3 { bottom: -60px; animation-duration: 16s; opacity: 0.5; }
@keyframes ncWaveDrift {
  0% { transform: translateX(-4%) translateY(0) rotate(-1deg); }
  100% { transform: translateX(4%) translateY(-14px) rotate(1.5deg); }
}
.nc-amb-harbour-star {
  position: absolute; pointer-events: none;
  animation: ncHarbourTwinkle 4.5s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.75));
}
@keyframes ncHarbourTwinkle {
  0%, 100% { transform: scale(0.45) rotate(0deg); opacity: 0.25; }
  50% { transform: scale(1.25) rotate(45deg); opacity: 0.95; }
}
.nc-amb-sunset-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 75% 22%, rgba(251, 146, 60, 0.28), transparent 48%),
              radial-gradient(circle at 25% 75%, rgba(232, 121, 249, 0.22), transparent 52%);
  animation: ncSunsetPulse 10s ease-in-out infinite alternate;
}
@keyframes ncSunsetPulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.06); }
}
.nc-amb-sakura svg, .nc-amb-maple svg {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
}

/* ==========================================================================
   EXTRA DIFFERENTIATED SCROLL REVEALS (Sakura, Ocean, Autumn, Minimalist, Fairytale)
   ========================================================================== */
#mainStage[data-scroll-style="sakura"] .reveal-item {
  opacity: 0;
  transform: translate3d(-24px, 28px, 0) rotate(-2deg) scale(0.95);
  transition: opacity 1.15s cubic-bezier(.16,1,.3,1), transform 1.3s cubic-bezier(.16,1,.3,1);
}
#mainStage[data-scroll-style="sakura"] .reveal-item.active {
  opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
}

#mainStage[data-scroll-style="ocean"] .reveal-item {
  opacity: 0;
  clip-path: inset(100% 0 0 0);
  transform: translateY(30px);
  transition: opacity 1.1s ease, clip-path 1.25s cubic-bezier(.16,1,.3,1), transform 1.25s cubic-bezier(.16,1,.3,1);
}
#mainStage[data-scroll-style="ocean"] .reveal-item.active {
  opacity: 1; clip-path: inset(0 0 0 0); transform: translateY(0);
}

#mainStage[data-scroll-style="autumn"] .reveal-item {
  opacity: 0;
  transform: perspective(900px) rotateY(-10deg) translateX(32px);
  transition: opacity 1.1s ease, transform 1.3s cubic-bezier(.16,1,.3,1);
}
#mainStage[data-scroll-style="autumn"] .reveal-item.active {
  opacity: 1; transform: perspective(900px) rotateY(0deg) translateX(0);
}

#mainStage[data-scroll-style="minimalist"] .reveal-item {
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  transition: opacity 0.95s ease, transform 1.05s cubic-bezier(.22,1,.36,1);
}
#mainStage[data-scroll-style="minimalist"] .reveal-item.active {
  opacity: 1; transform: translateY(0) scale(1);
}

#mainStage[data-scroll-style="fairytale"] .reveal-item {
  opacity: 0;
  transform: scale(0.88);
  filter: blur(6px);
  transition: opacity 1.15s ease, transform 1.35s cubic-bezier(.16,1,.3,1), filter 1.15s ease;
}
#mainStage[data-scroll-style="fairytale"] .reveal-item.active {
  opacity: 1; transform: scale(1); filter: blur(0);
}

/* ==========================================================================
   ELEGANT OPENING TRANSITIONS, LIVING MICRO-MOTION & 3D FLORAL/NATURE DEPTH
   ========================================================================== */

/* Gerakan halus berkelanjutan pada judul nama mempelai & foto pembuka */
#mainStage section:first-of-type h1.active,
.nc-gc-names {
  animation: ncTitleBreath 8s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}
@keyframes ncTitleBreath {
  0%, 100% { letter-spacing: 0.02em; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.12)); }
  50% { letter-spacing: 0.045em; filter: drop-shadow(0 6px 18px color-mix(in srgb, var(--sk, #D4AF37) 35%, transparent)); }
}

.nc-hero-photo-live {
  animation: ncKenBurnsSoft 14s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes ncKenBurnsSoft {
  0% { transform: scale(1.0) translate3d(0, 0, 0); }
  100% { transform: scale(1.07) translate3d(0, -6px, 0); }
}

/* Staggered entrance pada kartu gerbang pembuka (.nc-gate-card) */
.nc-gate-stage:not(.ncv-still) .nc-gc-badge { animation: ncGateItemIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both; }
.nc-gate-stage:not(.ncv-still) .nc-gc-kicker { animation: ncGateItemIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both; }
.nc-gate-stage:not(.ncv-still) .nc-gc-portrait { animation: ncGatePhotoIn 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both, ncPortraitFloat 7s ease-in-out 1.4s infinite; }
.nc-gate-stage:not(.ncv-still) .nc-gc-names { animation: ncGateItemIn 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.42s both, ncTitleBreath 8s ease-in-out 1.5s infinite; }
.nc-gate-stage:not(.ncv-still) .nc-gc-date { animation: ncGateItemIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.54s both; }
.nc-gate-stage:not(.ncv-still) .nc-gc-guestbox { animation: ncGateItemIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.64s both; }
.nc-gate-stage:not(.ncv-still) .nc-gc-btn { animation: ncGateItemIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.76s both; }

@keyframes ncGateItemIn {
  from { opacity: 0; transform: translate3d(0, 18px, 0) scale(0.97); filter: blur(4px); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
}
@keyframes ncGatePhotoIn {
  from { opacity: 0; transform: perspective(900px) rotateX(10deg) translate3d(0, 22px, -30px) scale(0.92); filter: blur(6px); }
  to { opacity: 1; transform: perspective(900px) rotateX(0deg) translate3d(0, 0, 0) scale(1); filter: blur(0); }
}
@keyframes ncPortraitFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -5px, 0) rotate(0.6deg); }
}

/* 3D Perspective Depth Card untuk Foto Pembuka & Galeri */
.nc-3d-stage {
  perspective: 1100px;
  transform-style: preserve-3d;
}
.nc-3d-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s ease;
  animation: nc3dFloat 9s ease-in-out infinite;
  will-change: transform;
}
.nc-3d-card.nc-3d-hover {
  animation: none;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(14px);
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.32), 0 0 0 1px color-mix(in srgb, var(--sk, #D4AF37) 40%, transparent);
}
.nc-3d-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 15;
  background: radial-gradient(circle at var(--sx, 35%) var(--sy, 25%), rgba(255, 255, 255, 0.22) 0%, transparent 58%);
  opacity: 0.45;
  transition: opacity 0.4s ease;
}
.nc-3d-card.nc-3d-hover::after { opacity: 0.85; }
@keyframes nc3dFloat {
  0%, 100% { transform: rotateX(1.2deg) rotateY(-1.8deg) translateY(0px); }
  50% { transform: rotateX(-1.4deg) rotateY(1.8deg) translateY(-7px); }
}

/* Lapisan 3D Kelopak/Daun di Depan Bingkai (Depth of Field) */
.nc-3d-fore-layer {
  position: absolute;
  inset: -18px;
  z-index: 30;
  transform: translateZ(36px);
  pointer-events: none;
}
.nc-3d-petal-fore {
  position: absolute;
  border-radius: 65% 35% 70% 30% / 55% 45% 55% 45%;
  background: radial-gradient(circle at 30% 30%, #FFFDF9, color-mix(in srgb, var(--pc, #D4AF37) 75%, #F9C6D3));
  box-shadow: 0 8px 18px rgba(0,0,0,0.14);
  filter: blur(0.6px);
  opacity: 0.82;
}
.nc-3d-petal-fore.p1 { width: 18px; height: 24px; top: 8%; left: -4%; animation: ncForePetalA 8s ease-in-out infinite; }
.nc-3d-petal-fore.p2 { width: 14px; height: 19px; top: 68%; right: -5%; animation: ncForePetalB 10s ease-in-out infinite; }
.nc-3d-petal-fore.p3 { width: 22px; height: 28px; bottom: -4%; left: 16%; filter: blur(1.4px); opacity: 0.65; animation: ncForePetalA 12s ease-in-out infinite reverse; }
@keyframes ncForePetalA {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(10px, -14px, 18px) rotate(24deg) scale(1.08); }
}
@keyframes ncForePetalB {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(-12px, -10px, 14px) rotate(-28deg) scale(1.06); }
}

/* Kelembutan ambient agar tidak terlalu keras menimpa konten */
.nc-amb { opacity: 0.78; }
@media (prefers-reduced-motion: reduce) {
  .nc-3d-card, .nc-hero-photo-live, .nc-3d-petal-fore, .nc-gc-names, .nc-gc-portrait { animation: none !important; transform: none !important; }
}

/* === 3D CULTURAL MOTIFS & GEMS FOR ART BUDAYA === */
.nc-3d-gem-fore {
  position: absolute;
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 30% 30%, #fff8dc, var(--pc, #D4AF37));
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35), 0 0 14px var(--pc, #D4AF37);
  transform-style: preserve-3d;
  opacity: 0.9;
}
.nc-3d-gem-fore.g1 {
  top: 10%;
  left: -8px;
  transform: rotate(45deg) translateZ(38px);
  animation: ncGemFloat1 6.2s ease-in-out infinite;
}
.nc-3d-gem-fore.g2 {
  bottom: 14%;
  right: -8px;
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  transform: translateZ(42px);
  animation: ncGemFloat2 7s ease-in-out infinite;
}
.nc-3d-gem-fore.g3 {
  top: 46%;
  right: -12px;
  width: 10px;
  height: 10px;
  transform: rotate(45deg) translateZ(46px);
  animation: ncGemFloat1 5.6s ease-in-out infinite reverse;
}
@keyframes ncGemFloat1 {
  0%, 100% { transform: translate3d(0, 0, 38px) rotate(45deg) scale(1); }
  50% { transform: translate3d(4px, -10px, 50px) rotate(90deg) scale(1.15); }
}
@keyframes ncGemFloat2 {
  0%, 100% { transform: translate3d(0, 0, 42px) scale(1); opacity: 0.85; }
  50% { transform: translate3d(-5px, -9px, 54px) scale(1.22); opacity: 1; }
}

/* === 3D SIDE-EDGE SWAYING FLORAL & CULTURAL LAYERS === */
.nc-amb {
  perspective: 1100px;
  transform-style: preserve-3d;
}
.nc-side-3d {
  position: fixed;
  pointer-events: none;
  z-index: 32;
  width: clamp(92px, 15vw, 178px);
  height: clamp(148px, 24vw, 268px);
  transform-style: preserve-3d;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.22));
  will-change: transform;
}
.nc-side-tl {
  top: -8px;
  left: -10px;
  transform-origin: top left;
  animation: ncSway3dTL 7.5s ease-in-out infinite;
}
.nc-side-tr {
  top: -8px;
  right: -10px;
  transform-origin: top right;
  animation: ncSway3dTR 8.4s ease-in-out infinite;
}
.nc-side-bl {
  bottom: -10px;
  left: -10px;
  transform-origin: bottom left;
  animation: ncSway3dBL 8.8s ease-in-out infinite;
}
.nc-side-br {
  bottom: -10px;
  right: -10px;
  transform-origin: bottom right;
  animation: ncSway3dBR 7.9s ease-in-out infinite;
}
@keyframes ncSway3dTL {
  0%, 100% { transform: translate3d(calc(var(--px, 0) * 0.6px), calc(var(--py, 0) * 0.6px), 34px) rotateZ(0deg) rotateY(0deg); }
  50% { transform: translate3d(calc(var(--px, 0) * 0.6px + 6px), calc(var(--py, 0) * 0.6px + 4px), 48px) rotateZ(3.5deg) rotateY(8deg); }
}
@keyframes ncSway3dTR {
  0%, 100% { transform: scaleX(-1) translate3d(calc(var(--px, 0) * -0.6px), calc(var(--py, 0) * 0.6px), 34px) rotateZ(0deg) rotateY(0deg); }
  50% { transform: scaleX(-1) translate3d(calc(var(--px, 0) * -0.6px + 6px), calc(var(--py, 0) * 0.6px + 4px), 48px) rotateZ(3.5deg) rotateY(8deg); }
}
@keyframes ncSway3dBL {
  0%, 100% { transform: scaleY(-1) translate3d(calc(var(--px, 0) * 0.5px), calc(var(--py, 0) * -0.5px), 28px) rotateZ(0deg) rotateX(0deg); }
  50% { transform: scaleY(-1) translate3d(calc(var(--px, 0) * 0.5px + 5px), calc(var(--py, 0) * -0.5px + 3px), 42px) rotateZ(-3deg) rotateX(7deg); }
}
@keyframes ncSway3dBR {
  0%, 100% { transform: scale(-1, -1) translate3d(calc(var(--px, 0) * -0.5px), calc(var(--py, 0) * -0.5px), 28px) rotateZ(0deg) rotateX(0deg); }
  50% { transform: scale(-1, -1) translate3d(calc(var(--px, 0) * -0.5px + 5px), calc(var(--py, 0) * -0.5px + 3px), 42px) rotateZ(-3deg) rotateX(7deg); }
}

/* Waterlily ripples & Taman Bunga fluttering butterflies */
.nc-ripple-ring {
  position: fixed;
  width: 140px;
  height: 140px;
  border-radius: 9999px;
  border: 1.5px solid var(--rc, #5E9E8B);
  opacity: 0;
  pointer-events: none;
  animation: ncRippleExpand 6.5s ease-out infinite;
}
.nc-ripple-ring.r1 { left: 4%; bottom: 18%; }
.nc-ripple-ring.r2 { right: 5%; top: 24%; animation-delay: 3.1s; }
@keyframes ncRippleExpand {
  0% { transform: scale(0.35) rotateX(55deg); opacity: 0.6; }
  100% { transform: scale(1.95) rotateX(55deg); opacity: 0; }
}
.nc-butterfly {
  position: fixed;
  font-size: 20px;
  opacity: 0.78;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.22));
  animation: ncButterflyFly 14s ease-in-out infinite;
}
.nc-butterfly.b1 { left: 10%; top: 28%; }
.nc-butterfly.b2 { right: 12%; bottom: 26%; animation-delay: -6.5s; animation-duration: 17s; }
@keyframes ncButterflyFly {
  0%, 100% { transform: translate3d(0, 0, 40px) rotate(-10deg) scale(1); }
  25% { transform: translate3d(42px, -36px, 55px) rotate(12deg) scale(1.08); }
  50% { transform: translate3d(84px, -12px, 44px) rotate(-6deg) scale(0.96); }
  75% { transform: translate3d(34px, 24px, 52px) rotate(10deg) scale(1.05); }
}

/* Silky non-blocking 550ms Opening / Theme-Switch Loading Crest Veil */
.nc-loading-veil {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, color-mix(in srgb, var(--lv-bg, #141210) 92%, var(--lv-acc, #D4AF37)), var(--lv-bg, #141210));
  pointer-events: none;
  animation: ncLoadingVeilOut 0.68s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.nc-loading-crest {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--lv-acc, #D4AF37);
  animation: ncCrestPulse 0.65s ease-out forwards;
}
.nc-loading-crest span {
  font-size: 26px;
  text-shadow: 0 0 18px var(--lv-acc, #D4AF37);
}
.nc-loading-crest small {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.85;
}
@keyframes ncLoadingVeilOut {
  0%, 45% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}
@keyframes ncCrestPulse {
  0% { transform: scale(0.88); opacity: 0.6; }
  50% { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1.14); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .nc-side-3d, .nc-ripple-ring, .nc-butterfly, .nc-loading-veil { animation: none !important; }
  .nc-loading-veil { display: none; }
}

/* === TAHAP 1 & 2: SILUET SAMPUL NON-KOTAK + FRAME ART ADAT + DIORAMA 3D + CAMERA FLY-THROUGH === */

/* 1. Lima Arsitektur Sampul Pembuka yang Berbeda (Mematahkan Monopoli Kotak di Tengah) */
.nc-gate-stage {
  perspective: 1300px;
  transform-style: preserve-3d;
}
.nc-gate-card[data-cover-shape="open-diorama"] {
  background: radial-gradient(circle at 50% 45%, rgba(12, 10, 9, 0.56) 0%, rgba(12, 10, 9, 0.25) 55%, transparent 82%) !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important;
  width: min(94vw, 520px);
}
.nc-gate-stage[data-dark="false"] .nc-gate-card[data-cover-shape="open-diorama"] {
  background: radial-gradient(circle at 50% 45%, rgba(252, 248, 240, 0.78) 0%, rgba(252, 248, 240, 0.35) 55%, transparent 84%) !important;
}
.nc-gate-card[data-cover-shape="open-diorama"] .nc-gc-corner {
  width: 120px;
  height: 120px;
  opacity: 0.92;
}
.nc-gate-card[data-cover-shape="moon-gate"] {
  width: min(92vw, 440px);
  padding: 38px 34px 32px;
  border-radius: 9999px !important;
  border-width: 2.5px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.58), 0 0 0 8px color-mix(in srgb, var(--sk, #D4AF37) 18%, transparent), inset 0 0 28px color-mix(in srgb, var(--sk, #D4AF37) 22%, transparent);
}
.nc-gate-card[data-cover-shape="gonjong-arch"] {
  border-radius: 50% 50% 22px 22px / 22% 22% 18px 18px !important;
  clip-path: polygon(50% 0%, 82% 8%, 100% 6%, 100% 100%, 0% 100%, 0% 6%, 18% 8%);
  padding-top: 42px;
}
.nc-gate-card[data-cover-shape="royal-crest"] {
  border-radius: 10px !important;
  clip-path: polygon(9% 0%, 91% 0%, 100% 9%, 100% 91%, 91% 100%, 9% 100%, 0% 91%, 0% 9%);
  box-shadow: 0 32px 75px rgba(0,0,0,0.6), inset 0 0 24px color-mix(in srgb, var(--sk, #D4AF37) 20%, transparent);
}
.nc-gate-card[data-cover-shape="arch-frame"] {
  border-radius: 210px 210px 28px 28px !important;
  padding-top: 38px;
}

/* 2. Frame Hero & Mempelai Baru untuk Art Adat Nusantara (Tidak jatuh ke Gebyok) */
.nc-frame-moongate {
  position: relative;
  border-radius: 9999px;
  border: 4px solid #E5B94B;
  padding: 6px;
  background: radial-gradient(circle, #8B1E24 0%, #3F0A0E 100%);
  box-shadow: 0 22px 55px rgba(40, 8, 12, 0.72), 0 0 0 6px rgba(229, 185, 75, 0.2);
}
.nc-frame-moongate-inner { width: 100%; height: 100%; border-radius: 9999px; overflow: hidden; }

.nc-frame-tongkonan {
  position: relative;
  border: 4px solid #D4A359;
  padding: 6px;
  clip-path: polygon(0% 10%, 28% 14%, 50% 0%, 72% 14%, 100% 10%, 96% 100%, 4% 100%);
  background: linear-gradient(160deg, #4A1C16 0%, #1C0D0A 100%);
  box-shadow: 0 24px 58px rgba(24, 10, 8, 0.75);
}
.nc-frame-tongkonan-inner {
  width: 100%; height: 100%; overflow: hidden;
  clip-path: polygon(0% 10%, 28% 14%, 50% 0%, 72% 14%, 100% 10%, 96% 100%, 4% 100%);
}

.nc-frame-talawang {
  position: relative;
  border: 4px solid #E5B94B;
  padding: 6px;
  clip-path: polygon(50% 0%, 95% 18%, 95% 82%, 50% 100%, 5% 82%, 5% 18%);
  background: linear-gradient(145deg, #2D3E2E 0%, #111A12 100%);
  box-shadow: 0 24px 60px rgba(10, 22, 14, 0.75);
}
.nc-frame-talawang-inner {
  width: 100%; height: 100%; overflow: hidden;
  clip-path: polygon(50% 0%, 95% 18%, 95% 82%, 50% 100%, 5% 82%, 5% 18%);
}

.nc-frame-tumpal {
  position: relative;
  border: 4px solid #E5B94B;
  padding: 6px;
  clip-path: polygon(50% 0%, 72% 9%, 100% 6%, 100% 94%, 75% 100%, 25% 100%, 0% 94%, 0% 6%, 28% 9%);
  background: linear-gradient(155deg, #522B14 0%, #1E0F06 100%);
  box-shadow: 0 22px 58px rgba(24, 12, 6, 0.72);
}
.nc-frame-tumpal-inner {
  width: 100%; height: 100%; overflow: hidden;
  clip-path: polygon(50% 0%, 72% 9%, 100% 6%, 100% 94%, 75% 100%, 25% 100%, 0% 94%, 0% 6%, 28% 9%);
}

/* 3. Plane 1 Midground Halo & Enlarged Plane 3 Foreground Side Framing (Diorama Depth) */
.nc-amb-midground {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(86vw, 560px);
  height: min(86vw, 560px);
  pointer-events: none;
  opacity: 0.22;
  transform: translate3d(calc(-50% + var(--px, 0) * -1.2px), calc(-50% + var(--py, 0) * -1.2px), -70px);
  animation: ncMidHaloSpin 48s linear infinite;
}
@keyframes ncMidHaloSpin {
  0% { transform: translate3d(calc(-50% + var(--px, 0) * -1.2px), calc(-50% + var(--py, 0) * -1.2px), -70px) rotate(0deg) scale(1); }
  50% { transform: translate3d(calc(-50% + var(--px, 0) * -1.2px), calc(-50% + var(--py, 0) * -1.2px), -70px) rotate(180deg) scale(1.06); }
  100% { transform: translate3d(calc(-50% + var(--px, 0) * -1.2px), calc(-50% + var(--py, 0) * -1.2px), -70px) rotate(360deg) scale(1); }
}
.nc-side-3d {
  width: clamp(136px, 22vw, 275px);
  height: clamp(208px, 34vw, 390px);
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.32));
}

/* 4. 3D Camera Fly-Through saat Buka Undangan */
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-gate-card {
  transform: perspective(1200px) translate3d(0, -18px, 140px) scale(1.18) !important;
  opacity: 0 !important;
  filter: blur(8px);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.65s ease, filter 0.65s ease !important;
}
:is(#coverGate.gate-open, #coverGate.opacity-0) .nc-gate-mech > div {
  transition: transform 0.95s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
}

/* 5. Upgraded 3D Scroll Perspective Unfold untuk Art Adat & Floral */
#mainStage[data-scroll-style="jawa"] .reveal-item,
#mainStage[data-scroll-style="batak"] .reveal-item,
#mainStage[data-scroll-style="minang"] .reveal-item,
#mainStage[data-scroll-style="vintage"] .reveal-item {
  opacity: 0;
  transform: perspective(1200px) rotateY(-11deg) translate3d(0, 26px, -45px) scale(0.95);
  transition: opacity 1.05s ease, transform 1.25s cubic-bezier(0.16, 1, 0.3, 1);
}
#mainStage[data-scroll-style="jawa"] .reveal-item.active,
#mainStage[data-scroll-style="batak"] .reveal-item.active,
#mainStage[data-scroll-style="minang"] .reveal-item.active,
#mainStage[data-scroll-style="vintage"] .reveal-item.active {
  opacity: 1;
  transform: perspective(1200px) rotateY(0deg) translate3d(0, 0, 0) scale(1);
}

#mainStage[data-scroll-style="floral"] .reveal-item,
#mainStage[data-scroll-style="destinasi"] .reveal-item,
#mainStage[data-scroll-style="arabian"] .reveal-item,
#mainStage[data-scroll-style="sunda"] .reveal-item,
#mainStage[data-scroll-style="bali"] .reveal-item {
  opacity: 0;
  transform: perspective(1200px) rotateX(10deg) translate3d(0, 30px, -40px) scale(0.94);
  transition: opacity 1.05s ease, transform 1.28s cubic-bezier(0.16, 1, 0.3, 1);
}
#mainStage[data-scroll-style="floral"] .reveal-item.active,
#mainStage[data-scroll-style="destinasi"] .reveal-item.active,
#mainStage[data-scroll-style="arabian"] .reveal-item.active,
#mainStage[data-scroll-style="sunda"] .reveal-item.active,
#mainStage[data-scroll-style="bali"] .reveal-item.active {
  opacity: 1;
  transform: perspective(1200px) rotateX(0deg) translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .nc-amb-midground { animation: none !important; }
}

/* === MOBILE 360px-390px SAFE FRAMING + COVERFLOW + VINYL DISC + TOAST === */
@keyframes ncVinylSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.spin-disc { animation: ncVinylSpin 6s linear infinite; }
.spin-disc.spin-paused { animation-play-state: paused; opacity: 0.72; }

.mySwiperGallery .swiper-slide,
.mySwiperStory .swiper-slide {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

.nc-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 90;
  transform: translate3d(-50%, 24px, 0);
  opacity: 0;
  pointer-events: none;
  padding: 10px 18px;
  border-radius: 9999px;
  background: rgba(20, 16, 12, 0.92);
  color: #FAF6EE;
  border: 1px solid rgba(212, 175, 55, 0.48);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}
.nc-toast.show {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

@media (max-width: 480px) {
  .nc-side-3d {
    width: 96px;
    height: 152px;
    opacity: 0.8;
  }
  .nc-gate-card[data-cover-shape="moon-gate"] {
    width: min(94vw, 356px);
    padding: 34px 28px 28px;
  }
  .nc-gate-card[data-cover-shape="gonjong-arch"],
  .nc-gate-card[data-cover-shape="royal-crest"],
  .nc-gate-card[data-cover-shape="arch-frame"] {
    width: min(92vw, 360px);
    padding: 32px 18px 22px;
  }
}

/* === POLAROID 3D TIMELINE + QR CHECK-IN PASS + DRESS CODE SWATCH === */
.nc-polaroid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 18px;
  perspective: 1100px;
}
.nc-polaroid-card {
  background: #FFFDF9;
  color: #1C1917;
  padding: 10px 10px 18px;
  border-radius: 6px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s ease;
}
.nc-polaroid-card:nth-child(odd) { transform: rotate(-2.2deg); }
.nc-polaroid-card:nth-child(even) { transform: rotate(2.1deg); }
.nc-polaroid-card:hover {
  transform: rotate(0deg) translate3d(0, -6px, 28px) scale(1.03);
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.36);
}
.nc-swatch-dot {
  width: 30px;
  height: 30px;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s ease;
}
.nc-swatch-dot:hover { transform: scale(1.18); }

/* === 3D SCENIC HABITAT HORIZONS + TOUCH RIPPLE/SPARKS + TIME-OF-DAY LIGHTING + LIQUID MORPH === */
.nc-habitat-layer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(135px, 24vh, 235px);
  pointer-events: none;
  z-index: 28;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.92) 48%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to top, rgba(0,0,0,0.92) 48%, rgba(0,0,0,0) 100%);
}
.nc-hab-svg {
  position: absolute;
  inset: 0;
  width: 108%;
  left: -4%;
  height: 100%;
  transition: transform 0.25s ease-out;
}
.nc-hab-far {
  transform: translate3d(calc(var(--px, 0) * -0.45px), calc(var(--py, 0) * -0.35px), -90px);
}
.nc-hab-mid {
  transform: translate3d(calc(var(--px, 0) * 0.65px), calc(var(--py, 0) * 0.45px), -35px);
}

/* Danau Toba & Tirta Water Shimmer */
.nc-toba-water {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 0;
  height: 44%;
  background: repeating-linear-gradient(
    180deg,
    rgba(56, 189, 248, 0.14) 0px,
    rgba(14, 116, 144, 0.22) 6px,
    rgba(255, 255, 255, 0.08) 12px
  );
  animation: ncWaterRippleFlow 8s ease-in-out infinite alternate;
}
@keyframes ncWaterRippleFlow {
  0% { transform: translateX(-18px) skewX(-4deg); opacity: 0.55; }
  100% { transform: translateX(18px) skewX(4deg); opacity: 0.82; }
}

/* Garden Sunbeams & Meadow Grass Breeze */
.nc-hab-sunbeams {
  position: fixed;
  top: -12%;
  left: 12%;
  width: 76vw;
  height: 70vh;
  background: conic-gradient(from 165deg at 35% 0%, transparent 0deg, rgba(254, 240, 138, 0.14) 18deg, transparent 36deg, rgba(253, 224, 71, 0.1) 54deg, transparent 74deg);
  filter: blur(22px);
  pointer-events: none;
  animation: ncBeamDrift 12s ease-in-out infinite alternate;
}
@keyframes ncBeamDrift {
  0% { transform: rotate(-3deg) scale(1); opacity: 0.45; }
  100% { transform: rotate(4deg) scale(1.06); opacity: 0.72; }
}
.nc-hab-meadow-blades {
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: 0;
  height: 36%;
  background: repeating-linear-gradient(75deg, rgba(101, 163, 13, 0.14) 0 8px, transparent 8px 22px);
  animation: ncMeadowSway 6.5s ease-in-out infinite alternate;
}
@keyframes ncMeadowSway {
  0% { transform: skewX(-5deg) translateX(-6px); }
  100% { transform: skewX(5deg) translateX(6px); }
}

/* Nusantara Horizon Mist */
.nc-hab-mist {
  position: absolute;
  left: -15%;
  right: -15%;
  bottom: 0;
  height: 50%;
  background: radial-gradient(ellipse at 50% 90%, rgba(255, 248, 231, 0.22), transparent 72%);
  animation: ncMistRoll 11s ease-in-out infinite alternate;
}
@keyframes ncMistRoll {
  0% { transform: translateX(-24px); opacity: 0.4; }
  100% { transform: translateX(24px); opacity: 0.72; }
}

/* Scroll-Driven Time-of-Day Lighting Overlay */
.nc-time-lighting {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 27;
  background: radial-gradient(
    circle at 50% 25%,
    color-mix(in srgb, rgba(251, 191, 36, 0.14) calc(var(--day-prog, 0) * 100%), rgba(186, 230, 253, 0.08)),
    color-mix(in srgb, rgba(45, 22, 12, 0.16) calc(var(--day-prog, 0) * 100%), transparent)
  );
  transition: background 0.35s ease;
}

/* Liquid Organic Morph Frame (Kekinian 2025-2026 Editorial Contour) */
.nc-liquid-frame {
  border-radius: 54% 46% 62% 38% / 44% 58% 42% 56% !important;
  animation: ncLiquidMorph 12s ease-in-out infinite alternate !important;
}
.nc-liquid-frame-inner {
  border-radius: inherit !important;
}
@keyframes ncLiquidMorph {
  0% { border-radius: 54% 46% 62% 38% / 44% 58% 42% 56%; }
  50% { border-radius: 42% 58% 46% 54% / 56% 42% 58% 44%; }
  100% { border-radius: 60% 40% 52% 48% / 48% 54% 46% 52%; }
}

/* Touch-the-Scene Tap Water Ripples & Petal/Gold Sparks */
.nc-tap-ripple {
  position: fixed;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  margin-top: -12px;
  border-radius: 9999px;
  border: 2px solid rgba(125, 211, 252, 0.85);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.55);
  pointer-events: none;
  z-index: 88;
  animation: ncTapRippleOut 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes ncTapRippleOut {
  0% { transform: scale(0.4) rotateX(45deg); opacity: 0.95; }
  100% { transform: scale(4.2) rotateX(45deg); opacity: 0; }
}
.nc-tap-spark {
  position: fixed;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  margin-top: -4.5px;
  border-radius: 9999px 0 9999px 0;
  background: radial-gradient(circle, #FFFDF9, #F59E0B);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.75);
  pointer-events: none;
  z-index: 88;
  animation: ncTapSparkOut 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes ncTapSparkOut {
  0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); opacity: 0.95; }
  100% { transform: translate3d(var(--tx, 20px), var(--ty, -25px), 40px) scale(0.2) rotate(140deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .nc-toba-water, .nc-hab-sunbeams, .nc-hab-meadow-blades, .nc-hab-mist, .nc-liquid-frame { animation: none !important; }
}

/* === EDITORIAL GRAPHIC SCENIC BACKDROP (NO AI SLOP — CLEAN SWISS HAIRLINES & LAKE SHIMMER) === */
.nc-scenic-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}
.nc-scenic-photo {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  opacity: 0.58;
  filter: contrast(1.06) saturate(1.12);
  animation: ncScenicKenBurns 18s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes ncScenicKenBurns {
  0% { transform: scale(1.0) translate3d(0, 0, 0); }
  100% { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}
.nc-scenic-grade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(16, 12, 10, 0.22) 0%, rgba(14, 10, 8, 0.72) 100%);
}
.nc-scenic-grade.is-toba {
  background: linear-gradient(
    180deg,
    rgba(8, 30, 44, 0.34) 0%,
    rgba(12, 62, 82, 0.46) 52%,
    rgba(9, 44, 66, 0.74) 100%
  );
}

/* Lake Toba Glass Reflection Layer (Smooth Caustic Light — Zero Cartoon Lines) */
.nc-toba-glass-lake {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44%;
  background: linear-gradient(to top, rgba(6, 78, 108, 0.72) 0%, rgba(14, 165, 233, 0.30) 54%, transparent 100%);
  border-top: 1px solid rgba(186, 230, 253, 0.32);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}
.nc-toba-shimmer {
  position: absolute;
  inset: -20% -30%;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(186, 230, 253, 0.42) 0%, rgba(210, 180, 122, 0.22) 34%, transparent 66%),
    repeating-linear-gradient(0deg, rgba(224, 242, 254, 0.14) 0px, transparent 3px, transparent 14px);
  animation: ncTobaCaustic 8s ease-in-out infinite alternate;
}
@keyframes ncTobaCaustic {
  0% { transform: translate3d(-6%, 0, 0) scaleX(1); opacity: 0.62; }
  100% { transform: translate3d(6%, -4%, 0) scaleX(1.12); opacity: 0.96; }
}

/* Override low-level .nc-toba-water so it looks like frosted mist, never cartoon cyan bars */
.nc-toba-water {
  background: radial-gradient(ellipse at 50% 100%, rgba(125, 211, 252, 0.18) 0%, rgba(14, 116, 144, 0.12) 45%, transparent 80%) !important;
  filter: blur(8px);
}

/* Swiss Editorial Cultural Grid Hairlines */
.nc-editorial-grid-lines {
  position: absolute;
  inset: 14px;
  pointer-events: none;
}
.nc-editorial-grid-lines i {
  position: absolute;
  background: color-mix(in srgb, var(--sc-acc, #D4AF37) 42%, transparent);
}
.nc-editorial-grid-lines .hl-v { top: 0; bottom: 0; width: 1px; }
.nc-editorial-grid-lines .hl-v.l { left: 0; }
.nc-editorial-grid-lines .hl-v.r { right: 0; }
.nc-editorial-grid-lines .hl-h { left: 0; right: 0; height: 1px; }
.nc-editorial-grid-lines .hl-h.t { top: 0; }
.nc-editorial-grid-lines .hl-h.b { bottom: 0; }
.nc-editorial-tag {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: color-mix(in srgb, var(--sc-acc, #D4AF37) 90%, #fff);
  background: rgba(12, 10, 9, 0.55);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--sc-acc, #D4AF37) 35%, transparent);
}

.nc-scenic-grade.is-light {
  background: radial-gradient(circle at 50% 35%, rgba(252, 248, 242, 0.58) 0%, rgba(246, 240, 230, 0.88) 100%);
}
.nc-sa-hero .nc-scenic-stage {
  z-index: 1;
}
.nc-sa-hero > *:not(.nc-scenic-stage) {
  position: relative;
  z-index: 8;
}
.nc-sa-hero .nc-sa-count,
.nc-sa-hero .nc-sa-guest,
.nc-cl-hero-in {
  position: relative;
  z-index: 9;
}

/* === 2025-2026 WATERCOLOR DIORAMA LIVING STAGE (OPEN-AIR KATSUDOTO STYLE + CANVAS OPTICS) === */
.nc-diorama-stage {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgb(var(--dio-mist, 236, 242, 238)) !important;
  overflow: hidden;
}
.nc-diorama-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  perspective: 1100px;
  transform-style: preserve-3d;
  transition: transform 2.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1.6s ease;
  will-change: transform;
}
.nc-scenic-stage {
  perspective: 1100px;
  transform-style: preserve-3d;
}
.nc-diorama-depth-bg {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  transform: perspective(1100px)
    rotateY(calc(var(--mx, 0) * 3.2deg))
    rotateX(calc(var(--my, 0) * -2.2deg))
    translate3d(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -10px + var(--sy, 0) * 26px), -36px)
    scale(1.09);
}
.nc-diorama-img {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
  object-fit: cover;
  object-position: center 78%;
  animation: ncDioramaBreathe 26s ease-in-out infinite alternate;
  will-change: transform;
}
.nc-scenic-diorama-img {
  opacity: 0.94;
  object-position: center 74%;
  inset: -2%;
  width: 104%;
  height: 104%;
  animation: ncDioramaBreathe 24s ease-in-out infinite alternate;
}
@keyframes ncDioramaBreathe {
  0% { transform: scale(1.0) translate3d(0, 0, 0); }
  100% { transform: scale(1.06) translate3d(-0.6%, -0.8%, 0); }
}
.nc-diorama-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.nc-diorama-mist-glow {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(ellipse 68% 44% at 50% 24%, rgba(var(--dio-mist, 236, 242, 238), 0.78) 0%, rgba(var(--dio-mist, 236, 242, 238), 0.25) 58%, transparent 86%),
    linear-gradient(180deg, rgba(var(--dio-mist, 236, 242, 238), 0.72) 0%, transparent 45%, transparent 100%);
  pointer-events: none;
}
.nc-diorama-vignette {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 14%;
  z-index: 4;
  pointer-events: none;
}
.nc-diorama-vignette.nc-dv-l {
  left: 0;
  background: linear-gradient(90deg, rgba(var(--dio-mist, 236, 242, 238), 0.48), transparent);
}
.nc-diorama-vignette.nc-dv-r {
  right: 0;
  background: linear-gradient(-90deg, rgba(var(--dio-mist, 236, 242, 238), 0.48), transparent);
}
/* Saat diorama aktif (tanpa mekanik eksplisit), hilangkan bayangan tirai patah agar lukisan, kabut & riak danau tampil menyatu penuh */
.nc-gate-stage[data-diorama="true"]:not([data-mech-active="true"]) .nc-gate-mech {
  display: none !important;
}
.nc-gate-stage[data-diorama="true"]:not([data-mech-active="true"]) .nc-gp-img {
  display: none !important;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"] .nc-gate-mech {
  opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"] .nc-diorama-bg {
  transform: scale(1.09) translate3d(0, -1%, 0);
}

/* Latar halus diorama saat mekanik transisi eksplisit (Amplop 3D / Tirai / Gunungan) atau gaya sampul dipilih */
.nc-diorama-ambient-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.42;
  filter: blur(2px) saturate(1.06);
  transform: scale(1.05);
  pointer-events: none;
  z-index: 0;
}

/* Amplop Segel Lilin Emas 3D (Iris): pastikan lidah amplop, kantong & segel emas tampil jelas mengapit kartu */
.nc-gate-stage[data-tr="iris"] .nc-gate-mech {
  z-index: auto;
  transform-style: flat;
  perspective: none;
}
.nc-gate-stage[data-tr="iris"] .nc-env-wing {
  z-index: 1;
}
.nc-gate-stage[data-tr="iris"] .nc-env-backdrop {
  z-index: auto;
  perspective: none;
  pointer-events: none;
}
.nc-gate-stage[data-tr="iris"] .nc-env-shell {
  z-index: auto;
  transform-style: flat;
  perspective: none;
  width: min(94vw, 500px);
  height: min(90vh, 690px);
  box-shadow: none;
}
.nc-gate-stage[data-tr="iris"] .nc-env-back {
  z-index: 2;
  background: linear-gradient(165deg, rgba(44, 33, 24, 0.96) 0%, rgba(24, 17, 12, 0.98) 100%);
  border: 2px solid color-mix(in srgb, var(--sk, #D4AF37) 75%, transparent);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.72), inset 0 0 0 1px rgba(255, 244, 200, 0.12);
}
.nc-gate-stage[data-tr="iris"] .nc-gate-card {
  z-index: 10;
  width: min(84vw, 376px);
  padding: 14px 20px 16px;
  margin-top: 26px;
}
.nc-gate-stage[data-tr="iris"] .nc-gc-sym {
  width: 34px;
  height: 34px;
  margin-bottom: 4px;
}
.nc-gate-stage[data-tr="iris"] .nc-gc-badge {
  font-size: 8.5px;
  padding: 3px 10px;
  margin-bottom: 4px;
}
.nc-gate-stage[data-tr="iris"] .nc-gc-portrait {
  width: 78px;
  height: 98px;
  margin-bottom: 8px;
}
.nc-gate-stage[data-tr="iris"] .nc-gc-guestbox {
  padding: 8px 14px;
  margin: 8px 0 10px;
}
.nc-gate-stage[data-tr="iris"] .nc-env-pocket {
  z-index: 12;
  background:
    linear-gradient(15deg, rgba(38, 28, 19, 0.96) 0%, rgba(56, 41, 28, 0.94) 12%, transparent 12.5%),
    linear-gradient(-15deg, rgba(38, 28, 19, 0.96) 0%, rgba(56, 41, 28, 0.94) 12%, transparent 12.5%),
    linear-gradient(0deg, rgba(28, 20, 13, 0.98) 0%, rgba(48, 35, 24, 0.95) 7.5%, transparent 8%);
}
.nc-gate-stage[data-tr="iris"] .nc-env-flap {
  z-index: 14;
  height: 21%;
}
.nc-gate-stage[data-tr="iris"] .nc-wax-seal {
  top: 17.5%;
  z-index: 25;
  width: 72px;
  height: 72px;
}
.nc-gate-stage[data-tr="iris"] .nc-wax-ring {
  width: 56px;
  height: 56px;
}

/* Dukungan pilihan Sampul eksplisit (#demoCover / #custCover) */
.nc-gate-stage[data-cover-style="scene"] .nc-diorama-ambient-bg {
  opacity: 0.92;
  filter: none;
}
.nc-gate-stage[data-cover-style="watercolor"] .nc-gc-portrait {
  border-radius: 9999px !important;
  aspect-ratio: 3 / 4;
  border-color: color-mix(in srgb, var(--sk, #D4AF37) 75%, #fff) !important;
}
.nc-gate-stage[data-cover-style="noir"] .nc-gate-card {
  background: linear-gradient(165deg, rgba(12, 12, 14, 0.94) 0%, rgba(20, 18, 22, 0.97) 100%) !important;
  color: #FAF7F2 !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  border-radius: 14px !important;
}
.nc-gate-stage[data-cover-style="typographic"] .nc-gc-portrait {
  display: none !important;
}
.nc-gate-stage[data-cover-style="card"] .nc-gate-card {
  border-radius: 20px !important;
}

/* Open-air Katsudoto sky typography — zero opaque box around the couple name */
.nc-diorama-card {
  z-index: 12 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  width: min(92vw, 560px) !important;
  padding: 20px 24px clamp(135px, 24vh, 240px) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--dio-ink, #18373B) !important;
  transform: perspective(1100px)
    translate3d(calc(var(--mx, 0) * 9px), calc(var(--my, 0) * 7px), 32px)
    rotateY(calc(var(--mx, 0) * 1.8deg))
    rotateX(calc(var(--my, 0) * -1.2deg));
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.95s ease !important;
}
#coverGate.gate-open .nc-diorama-card {
  opacity: 0 !important;
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.95s ease !important;
  transform: perspective(1100px) translate3d(0, -30px, 60px) scale(0.94) !important;
}
.nc-dio-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--dio-sub, #3E5E62);
  margin-bottom: 10px;
}
.nc-dio-names {
  font-size: clamp(2.4rem, 5.2vw, 3.7rem);
  font-weight: 700;
  line-height: 1.06;
  color: var(--dio-ink, #18373B);
  text-shadow: 0 2px 24px rgba(var(--dio-mist, 236, 242, 238), 0.95);
  margin: 0 0 8px;
}
.nc-dio-amp {
  font-weight: 400;
  font-size: 0.85em;
  opacity: 0.88;
}
.nc-dio-date {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--dio-sub, #3E5E62);
  margin-bottom: 14px;
}
.nc-dio-guestbox {
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(var(--dio-mist, 236, 242, 238), 0.56);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
}
.nc-dio-to {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--dio-sub, #3E5E62);
  margin: 0 0 2px;
}
.nc-dio-guest {
  font-size: 14px;
  font-weight: 700;
  color: var(--dio-ink, #18373B);
  margin: 0;
}
.nc-dio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 28px;
  border-radius: 9999px;
  background: var(--dio-btn, #1E464B);
  color: var(--dio-btntxt, #FAF7F0);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.nc-dio-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

/* Seamless Cover-to-Stage Crossfade & Katsudoto Slow Cinematic Reveals */
#coverGate {
  transition: opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
#mainStage.stage-opening {
  animation: ncStageBloomIn 1.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform-origin: center 32%;
  overflow-x: clip;
}
#mainStage.stage-opening.stage-settled {
  animation: none !important;
  transform: none !important;
}
@keyframes ncStageBloomIn {
  0% { opacity: 0.1; transform: perspective(1200px) scale(1.085) rotateX(2.8deg) translate3d(0, 14px, -42px); }
  100% { opacity: 1; transform: perspective(1200px) scale(1) rotateX(0deg) translate3d(0, 0, 0); }
}
.reveal-item {
  transition: opacity 1.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.65s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.35s cubic-bezier(0.16, 1, 0.3, 1),
              clip-path 1.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Nocturnal & Soft-Mask Diorama Overrides */
.nc-gate-stage[data-diorama="true"][data-softmask="true"] .nc-diorama-mist-glow {
  background:
    radial-gradient(ellipse 72% 48% at 50% 24%, rgba(var(--dio-mist, 18, 22, 34), 0.92) 0%, rgba(var(--dio-mist, 18, 22, 34), 0.52) 56%, transparent 88%),
    linear-gradient(180deg, rgba(var(--dio-mist, 18, 22, 34), 0.95) 0%, rgba(var(--dio-mist, 18, 22, 34), 0.72) 40%, rgba(var(--dio-mist, 18, 22, 34), 0.22) 72%, rgba(var(--dio-mist, 18, 22, 34), 0.45) 100%);
}
.nc-gate-stage[data-diorama="true"][data-dark="true"] .nc-dio-names {
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.72);
}
.nc-gate-stage[data-diorama="true"][data-dark="true"] .nc-dio-guestbox {
  background: rgba(var(--dio-mist, 18, 22, 34), 0.62);
  border: 1px solid rgba(255, 244, 214, 0.22);
}
.nc-gate-stage[data-diorama="true"][data-softmask="true"] .nc-diorama-img {
  object-position: center 62%;
}
.nc-sa-hero.nc-diorama-light,
.nc-sa-hero.nc-diorama-dark {
  justify-content: flex-start !important;
  min-height: clamp(540px, 84svh, 760px) !important;
  padding: clamp(44px, 7vh, 76px) 24px clamp(190px, 30vh, 270px) !important;
  background: rgb(var(--dio-mist, 250, 246, 240));
}
.nc-sa-hero.nc-diorama-light .nc-sa-kicker,
.nc-sa-hero.nc-diorama-dark .nc-sa-kicker {
  margin-bottom: 10px !important;
}
.nc-sa-hero.nc-diorama-light h1,
.nc-sa-hero.nc-diorama-dark h1 {
  margin-top: 6px !important;
}
.nc-sa-hero.nc-diorama-light .nc-sa-count,
.nc-sa-hero.nc-diorama-dark .nc-sa-count {
  margin-top: 16px !important;
}
.nc-sa-hero.nc-diorama-light .nc-sa-kicker,
.nc-sa-hero.nc-diorama-light .nc-sa-sub,
.nc-sa-hero.nc-diorama-light .nc-sa-date,
.nc-sa-hero.nc-diorama-light .nc-sa-guest {
  color: var(--dio-subink, #546E5D) !important;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.8);
}
.nc-sa-hero.nc-diorama-light .nc-sa-guest strong,
.nc-sa-hero.nc-diorama-light h1 {
  color: var(--dio-ink, #263D2F) !important;
  text-shadow: 0 2px 16px rgba(255, 255, 255, 0.85);
}
.nc-sa-hero.nc-diorama-dark .nc-sa-kicker,
.nc-sa-hero.nc-diorama-dark .nc-sa-sub,
.nc-sa-hero.nc-diorama-dark .nc-sa-date,
.nc-sa-hero.nc-diorama-dark .nc-sa-guest {
  color: var(--dio-subink, #D1C0A2) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}
.nc-sa-hero.nc-diorama-dark .nc-sa-guest strong,
.nc-sa-hero.nc-diorama-dark h1 {
  color: var(--dio-ink, #F8EEDB) !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9);
}

/* Light Diorama Contrast Overrides for Editorial Noir & Classic Illustrated Heroes */
.nc-scenic-is-diorama .nc-scenic-diorama-img {
  inset: -2% !important;
  width: 104% !important;
  height: 104% !important;
  object-fit: cover !important;
  object-position: center 84% !important;
  opacity: 0.96 !important;
  animation: ncDioramaBreathe 24s ease-in-out infinite alternate !important;
}
.nc-noir-hero.nc-diorama-light {
  justify-content: flex-start !important;
  min-height: clamp(540px, 84svh, 760px) !important;
  padding: clamp(52px, 8vh, 88px) 24px clamp(210px, 34vh, 300px) !important;
  background: rgb(var(--dio-mist, 249, 243, 239));
}
.nc-noir-hero.nc-diorama-light .nc-noir-hero-name {
  font-size: clamp(44px, 11vw, 96px) !important;
}
.nc-noir-hero.nc-diorama-light .nc-noir-guest {
  margin-top: 20px !important;
}
.nc-noir-hero.nc-diorama-light .nc-noir-kicker,
.nc-noir-hero.nc-diorama-light .nc-noir-count {
  color: var(--dio-subink, #546881) !important;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.72) !important;
}
.nc-noir-hero.nc-diorama-light .nc-noir-hero-name {
  color: var(--dio-ink, #223146) !important;
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.85) !important;
}
.nc-noir-hero.nc-diorama-light .nc-noir-hero-script {
  color: var(--sk, #4B6C93) !important;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.85) !important;
}
.nc-noir-hero.nc-diorama-light .nc-noir-guest {
  color: var(--dio-subink, #546881) !important;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.8) !important;
}
.nc-noir-hero.nc-diorama-light .nc-noir-guest strong {
  color: var(--dio-ink, #223146) !important;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.85) !important;
}
.nc-cl-hero.nc-diorama-light {
  align-items: flex-start !important;
  min-height: clamp(540px, 84svh, 760px) !important;
}
.nc-cl-hero.nc-diorama-light .nc-cl-hero-in {
  padding: clamp(48px, 7vh, 84px) 28px clamp(190px, 30vh, 280px) !important;
}
.nc-cl-hero.nc-diorama-light .nc-cl-hero-in h1,
.nc-cl-hero.nc-diorama-light .nc-cl-guest {
  color: var(--dio-ink, #3C2B22) !important;
  text-shadow: 0 2px 16px rgba(255, 255, 255, 0.82);
}
.nc-cl-hero.nc-diorama-light .nc-cl-kicker,
.nc-cl-hero.nc-diorama-light .nc-cl-dotted,
.nc-cl-hero.nc-diorama-light .nc-cl-to {
  color: var(--dio-subink, #725A4D) !important;
}
.nc-bab-ch.nc-diorama-light {
  background: rgb(var(--dio-mist, 250, 246, 240));
}
.nc-bab-ch.nc-diorama-light .nc-bab-cover h1,
.nc-bab-ch.nc-diorama-light .nc-bab-guest strong {
  color: var(--dio-ink, #3C2B22) !important;
  text-shadow: 0 2px 16px rgba(255, 255, 255, 0.88);
}
.nc-bab-ch.nc-diorama-light .nc-bab-kicker,
.nc-bab-ch.nc-diorama-light .nc-bab-dotted,
.nc-bab-ch.nc-diorama-light .nc-bab-guest {
  color: var(--dio-subink, #725A4D) !important;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   LIVING SWAYING BOTANICALS & GARLANDS ON DIORAMA + HERO SCENES
   ========================================================================== */
.nc-dio-tr-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--dio-sub, #5C4B3B);
  background: rgba(var(--dio-mist, 250, 246, 240), 0.72);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.nc-gate-stage[data-dark="true"] .nc-dio-tr-pill {
  color: var(--dio-sub, #E5D4B3);
  background: rgba(var(--dio-mist, 18, 22, 34), 0.7);
  border-color: rgba(255, 244, 214, 0.18);
}

/* 3D Volumetric Lightbeam & Architectural Portal Wings (Idle Parallax + Dynamic 3D Open) */
.nc-3d-lightbeam {
  position: absolute;
  inset: -12% -10%;
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.52;
  background:
    linear-gradient(122deg, transparent 16%, rgba(255, 246, 214, 0.16) 29%, transparent 42%),
    linear-gradient(112deg, transparent 48%, rgba(255, 232, 184, 0.13) 61%, transparent 76%);
  transform: translate3d(calc(var(--mx, 0) * 18px), calc(var(--my, 0) * 8px), 20px) rotate(calc(var(--mx, 0) * 2deg));
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 1.1s ease;
  animation: ncLightSweep 14s ease-in-out infinite alternate;
}
.nc-3d-lightbeam[data-dark="true"] {
  opacity: 0.68;
  background:
    linear-gradient(124deg, transparent 14%, rgba(248, 210, 134, 0.18) 28%, transparent 44%),
    linear-gradient(114deg, transparent 50%, rgba(244, 198, 118, 0.14) 63%, transparent 78%);
}
@keyframes ncLightSweep {
  0% { filter: brightness(0.95); }
  100% { filter: brightness(1.18); }
}

.nc-3d-portal {
  position: absolute;
  top: -3%;
  bottom: -3%;
  width: clamp(66px, 11.5vw, 146px);
  z-index: 4;
  pointer-events: none;
  backface-visibility: hidden;
  will-change: transform, opacity;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.16));
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 1.05s ease;
}
.nc-3d-portal svg {
  width: 100%;
  height: 100%;
  display: block;
}
.nc-3d-portal-l {
  left: -4px;
  transform-origin: left center;
  transform: perspective(1000px)
    translate3d(calc(var(--mx, 0) * 18px), calc(var(--my, 0) * 10px + var(--sy, 0) * -12px), 38px)
    rotateY(calc(12deg + var(--mx, 0) * 5deg));
}
.nc-3d-portal-r {
  right: -4px;
  transform-origin: right center;
  transform: perspective(1000px)
    translate3d(calc(var(--mx, 0) * 18px), calc(var(--my, 0) * 10px + var(--sy, 0) * -12px), 38px)
    rotateY(calc(-12deg + var(--mx, 0) * 5deg));
}
.nc-3d-portal-r svg {
  transform: scaleX(-1);
}

.nc-dio-flora {
  position: absolute;
  bottom: -16px;
  width: clamp(138px, 23vw, 250px);
  height: auto;
  z-index: 5;
  pointer-events: none;
  opacity: 0.94;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.14));
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 1.15s ease;
  will-change: transform, opacity;
}
.nc-dio-flora svg {
  width: 100%;
  height: auto;
  display: block;
}
.nc-dio-flora.nc-df-l {
  left: -18px;
  transform-origin: bottom left;
  transform: perspective(1100px)
    translate3d(calc(var(--mx, 0) * 26px), calc(var(--my, 0) * 16px + var(--sy, 0) * -18px), 56px);
}
.nc-dio-flora.nc-df-l svg {
  transform-origin: bottom left;
  animation: ncFloraBreezeL 6.4s ease-in-out infinite;
}
.nc-dio-flora.nc-df-r {
  right: -18px;
  transform-origin: bottom right;
  transform: perspective(1100px)
    translate3d(calc(var(--mx, 0) * 26px), calc(var(--my, 0) * 16px + var(--sy, 0) * -18px), 56px);
}
.nc-dio-flora.nc-df-r svg {
  transform-origin: center bottom;
  animation: ncFloraBreezeR 7.2s ease-in-out infinite;
}
.nc-gust .nc-dio-flora.nc-df-l svg,
.nc-gust .nc-dio-flora.nc-df-r svg {
  animation-duration: 1.15s !important;
}
.nc-gust .nc-3d-lightbeam {
  opacity: 0.9 !important;
  filter: brightness(1.32);
}
.nc-dio-blossom {
  animation: ncBlossomPulse 5.4s ease-in-out infinite;
}

.nc-dio-flora-top {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  pointer-events: none;
}
.nc-df-top-l,
.nc-df-top-r {
  position: absolute;
  top: -8px;
  width: clamp(105px, 17vw, 175px);
  height: auto;
  opacity: 0.86;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 1.05s ease;
}
.nc-df-top-l {
  left: -10px;
  transform-origin: top left;
  animation: ncGarlandSwingL 5.8s ease-in-out infinite;
}
.nc-df-top-r {
  right: -10px;
  transform-origin: top right;
  animation: ncGarlandSwingR 6.3s ease-in-out infinite;
}

@keyframes ncFloraBreezeL {
  0%, 100% { transform: rotate(0deg) translate3d(0, 0, 0); }
  50%      { transform: rotate(3.8deg) translate3d(6px, -4px, 0); }
}
@keyframes ncFloraBreezeR {
  0%, 100% { transform: scaleX(-1) rotate(0deg) translate3d(0, 0, 0); }
  50%      { transform: scaleX(-1) rotate(4deg) translate3d(6px, -5px, 0); }
}
@keyframes ncGarlandSwingL {
  0%, 100% { transform: rotate(-1.5deg) translate3d(0, 0, 0); }
  50%      { transform: rotate(3.2deg) translate3d(4px, 2px, 0); }
}
@keyframes ncGarlandSwingR {
  0%, 100% { transform: scaleX(-1) rotate(-1.5deg) translate3d(0, 0, 0); }
  50%      { transform: scaleX(-1) rotate(3.2deg) translate3d(4px, 2px, 0); }
}
@keyframes ncBlossomPulse {
  0%, 100% { opacity: 0.92; }
  50%      { opacity: 1; }
}

/* ==========================================================================
   DISTINCT OPEN-AIR 3D OPENING CHOREOGRAPHY PER DATA-TR
   ========================================================================== */
#coverGate.gate-open .nc-gate-stage[data-diorama="true"] .nc-3d-portal,
#coverGate.gate-open .nc-gate-stage[data-diorama="true"] .nc-dio-flora {
  transition: transform 1.25s cubic-bezier(0.22, 1, 0.36, 1), opacity 1.1s ease !important;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"] .nc-df-top-l {
  transform: translate3d(-26px, -48px, 40px) rotate(-10deg);
  opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"] .nc-df-top-r {
  transform: scaleX(-1) translate3d(-26px, -48px, 40px) rotate(-10deg);
  opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"] .nc-3d-lightbeam {
  opacity: 0.95;
  transform: scale(1.18) translate3d(0, -12px, 60px);
}

/* 1. Gunungan (Jawa Klasik) — Sayap portal & flora menyibak 3D lebar kiri-kanan */
#coverGate.gate-open .nc-gate-stage[data-diorama="true"][data-tr="gunungan"] .nc-3d-portal-l {
  transform: perspective(1000px) translate3d(-28vw, 0, 90px) rotateY(-64deg); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"][data-tr="gunungan"] .nc-3d-portal-r {
  transform: perspective(1000px) translate3d(28vw, 0, 90px) rotateY(64deg); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"][data-tr="gunungan"] .nc-df-l {
  transform: perspective(1100px) translate3d(-34vw, -8px, 80px) rotate(-14deg); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"][data-tr="gunungan"] .nc-df-r {
  transform: perspective(1100px) translate3d(34vw, -8px, 80px) rotate(14deg); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"][data-tr="gunungan"] .nc-diorama-bg {
  transform: scale(1.16) translate3d(0, -1.5%, 0);
}

/* 2. Gebyok 3D (Jawa Gebyok Kayon) — Ayun engsel daun pintu kayu 3D penuh */
#coverGate.gate-open .nc-gate-stage[data-diorama="true"][data-tr="gebyok"] .nc-3d-portal-l {
  transform: perspective(900px) rotateY(-98deg) translate3d(-12%, 0, 40px); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"][data-tr="gebyok"] .nc-3d-portal-r {
  transform: perspective(900px) rotateY(98deg) translate3d(12%, 0, 40px); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"][data-tr="gebyok"] .nc-df-l {
  transform: perspective(900px) rotateY(-78deg) translate3d(-24%, 0, 60px); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"][data-tr="gebyok"] .nc-df-r {
  transform: perspective(900px) rotateY(78deg) translate3d(24%, 0, 60px); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"][data-tr="gebyok"] .nc-diorama-bg {
  transform: scale(1.22);
  filter: sepia(0.06) brightness(1.07);
}

/* 3. Tirai Kelir Wayang (Arjuna Srikandi Pakem) — Sinar amber blencong melebar + tirai kelir tersibak */
#coverGate.gate-open .nc-gate-stage[data-diorama="true"][data-tr="tirai"] .nc-3d-portal-l {
  transform: perspective(1000px) translate3d(-32vw, 0, 50px) scaleX(0.32); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"][data-tr="tirai"] .nc-3d-portal-r {
  transform: perspective(1000px) translate3d(32vw, 0, 50px) scaleX(0.32); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"][data-tr="tirai"] .nc-df-l {
  transform: perspective(1100px) translate3d(-40%, 0, 50px) scaleX(0.5); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"][data-tr="tirai"] .nc-df-r {
  transform: perspective(1100px) translate3d(40%, 0, 50px) scaleX(0.5); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"][data-tr="tirai"] .nc-diorama-mist-glow {
  opacity: 0.22;
  transform: scaleX(1.38);
}

/* 4. Bloom / Katsudoto (Kamajaya Ratih, Floral Arc) — Kelopak & tiang 3D mekar radial keluar */
#coverGate.gate-open .nc-gate-stage[data-diorama="true"]:is([data-tr="bloom"], [data-tr="katsudoto"], [data-tr="botanical"]) .nc-3d-portal-l {
  transform: perspective(1100px) scale(1.25) translate3d(-24%, 12px, 110px) rotateY(-42deg); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"]:is([data-tr="bloom"], [data-tr="katsudoto"], [data-tr="botanical"]) .nc-3d-portal-r {
  transform: perspective(1100px) scale(1.25) translate3d(24%, 12px, 110px) rotateY(42deg); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"]:is([data-tr="bloom"], [data-tr="katsudoto"], [data-tr="botanical"]) .nc-df-l {
  transform: perspective(1100px) scale(1.28) translate3d(-18%, 14px, 95px) rotate(-12deg); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"]:is([data-tr="bloom"], [data-tr="katsudoto"], [data-tr="botanical"]) .nc-df-r {
  transform: perspective(1100px) scale(1.28) translate3d(18%, 14px, 95px) rotate(12deg); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"]:is([data-tr="bloom"], [data-tr="katsudoto"], [data-tr="botanical"]) .nc-diorama-bg {
  transform: scale(1.16) rotate(0.6deg);
}

/* 5. Songket / Ulos (Jawa Merah, Batak Ulos) — Sapuan diagonal sinematik */
#coverGate.gate-open .nc-gate-stage[data-diorama="true"]:is([data-tr="songket"], [data-tr="ulos"], [data-tr="pampas"]) .nc-3d-portal-l {
  transform: perspective(1100px) translate3d(-26vw, 18px, 75px) rotate(-12deg) rotateY(-54deg); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"]:is([data-tr="songket"], [data-tr="ulos"], [data-tr="pampas"]) .nc-3d-portal-r {
  transform: perspective(1100px) translate3d(26vw, -18px, 75px) rotate(12deg) rotateY(54deg); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"]:is([data-tr="songket"], [data-tr="ulos"], [data-tr="pampas"]) .nc-df-l {
  transform: perspective(1100px) translate3d(-28%, 18px, 75px) rotate(-14deg); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"]:is([data-tr="songket"], [data-tr="ulos"], [data-tr="pampas"]) .nc-df-r {
  transform: perspective(1100px) translate3d(28%, -18px, 75px) rotate(14deg); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"]:is([data-tr="songket"], [data-tr="ulos"], [data-tr="pampas"]) .nc-diorama-bg {
  transform: scale(1.14) translate3d(0, -2.5%, 0);
}

/* 6. Wave (Jawa Biru Mega Mendung, Santorini) — Gelombang horisontal & kabut terangkat */
#coverGate.gate-open .nc-gate-stage[data-diorama="true"][data-tr="wave"] .nc-diorama-bg {
  transform: scale(1.14) translate3d(0, -3.8%, 0);
  filter: brightness(1.06);
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"][data-tr="wave"] .nc-3d-portal-l {
  transform: perspective(1100px) translate3d(-24%, -24px, 70px) rotateY(-40deg); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"][data-tr="wave"] .nc-3d-portal-r {
  transform: perspective(1100px) translate3d(24%, -24px, 70px) rotateY(40deg); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"][data-tr="wave"] .nc-df-l {
  transform: perspective(1100px) translate3d(-18%, -16px, 60px); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"][data-tr="wave"] .nc-df-r {
  transform: perspective(1100px) translate3d(18%, -16px, 60px); opacity: 0;
}

/* 7. Lift / Arch (Spesial Heritage, Jawa Kraton Agung) — Fly-through masuk pendopo 3D */
#coverGate.gate-open .nc-gate-stage[data-diorama="true"]:is([data-tr="lift"], [data-tr="arch"]) .nc-diorama-bg {
  transform: scale(1.34) translate3d(0, -2%, 0);
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"]:is([data-tr="lift"], [data-tr="arch"]) .nc-3d-portal-l {
  transform: perspective(1000px) scale(1.42) translate3d(-34%, 0, 140px) rotateY(-38deg); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"]:is([data-tr="lift"], [data-tr="arch"]) .nc-3d-portal-r {
  transform: perspective(1000px) scale(1.42) translate3d(34%, 0, 140px) rotateY(38deg); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"]:is([data-tr="lift"], [data-tr="arch"]) .nc-df-l {
  transform: perspective(1100px) scale(1.34) translate3d(-24%, 12px, 120px); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"]:is([data-tr="lift"], [data-tr="arch"]) .nc-df-r {
  transform: perspective(1100px) scale(1.34) translate3d(24%, 12px, 120px); opacity: 0;
}

/* 8. Fade / Iris (Jawa Tempo Doeloe & Fairytale) — Sayap portal & kabut sepia menyibak bercahaya */
#coverGate.gate-open .nc-gate-stage[data-diorama="true"]:is([data-tr="fade"], [data-tr="iris"], [data-tr="fairytale"]) .nc-3d-portal-l {
  transform: perspective(1100px) translate3d(-20%, 0, 75px) rotateY(-48deg); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"]:is([data-tr="fade"], [data-tr="iris"], [data-tr="fairytale"]) .nc-3d-portal-r {
  transform: perspective(1100px) translate3d(20%, 0, 75px) rotateY(48deg); opacity: 0;
}
#coverGate.gate-open .nc-gate-stage[data-diorama="true"]:is([data-tr="fade"], [data-tr="iris"], [data-tr="fairytale"]) .nc-diorama-bg {
  transform: scale(1.1);
  filter: blur(3px) brightness(1.09);
}

@media (prefers-reduced-motion: reduce) {
  .nc-diorama-depth-bg,
  .nc-3d-portal,
  .nc-3d-lightbeam,
  .nc-dio-flora,
  .nc-dio-flora svg,
  .nc-df-top-l,
  .nc-df-top-r,
  .nc-dio-blossom {
    animation: none !important;
    transition: opacity 0.4s ease !important;
  }
}

/* ============================================================
   5 Showcase Sample Themes: Autonomous Video-Like Drift & True 3D Doorway/Split Portals
   ============================================================ */
[data-sample-live="true"] .nc-diorama-img,
[data-sample-live="true"] .nc-scenic-diorama-img {
  animation: ncLiveVideoDrift 13s ease-in-out infinite alternate !important;
}
@keyframes ncLiveVideoDrift {
  0%   { transform: scale(1.03) translate3d(0%, 0.4%, 0) rotate(0deg); filter: brightness(1) saturate(1.02); }
  50%  { transform: scale(1.085) translate3d(-1.4%, -1.0%, 0) rotate(-0.35deg); filter: brightness(1.04) saturate(1.08); }
  100% { transform: scale(1.115) translate3d(1.2%, -0.5%, 0) rotate(0.3deg); filter: brightness(1.02) saturate(1.05); }
}

/* Cover gate & diorama shell go transparent immediately on click so Hero Stage gleams through the 3D doorway gap */
#coverGate:has(.nc-gate-stage[data-sample-live="true"]).gate-open {
  background: transparent !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: hidden !important;
}
#coverGate.gate-open .nc-gate-stage[data-sample-live="true"] {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  overflow: hidden !important;
}
#coverGate.gate-open .nc-gate-stage[data-sample-live="true"] .nc-diorama-bg {
  opacity: 0 !important;
  transition: opacity 0.16s ease-out !important;
}

#mainStage.stage-opening.nc-sample-live-open {
  animation: ncSampleStageZoomIn 1.45s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  transform-origin: center 36%;
}
@keyframes ncSampleStageZoomIn {
  0%   { opacity: 0.55; transform: perspective(1200px) scale(1.13) translate3d(0, 10px, -65px); }
  100% { opacity: 1; transform: perspective(1200px) scale(1) translate3d(0, 0, 0); }
}

/* 3D Split-Door Shutters Container */
.nc-3d-shutters {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  perspective: 1450px;
  perspective-origin: 50% 48%;
  transform-style: preserve-3d;
  overflow: hidden;
}
#coverGate.gate-open .nc-gate-stage[data-sample-live="true"] .nc-3d-shutters {
  opacity: 1;
}
.nc-3d-shutter {
  position: absolute;
  top: -3%;
  height: 106%;
  width: 50.4%;
  overflow: hidden;
  background-color: rgb(var(--dio-mist, 236, 242, 238));
  backface-visibility: hidden;
  will-change: transform, opacity, filter;
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.45);
}
.nc-3d-shutter-l {
  left: 0;
  transform-origin: left center;
  border-right: 2px solid rgba(232, 196, 128, 0.52);
}
.nc-3d-shutter-r {
  right: 0;
  transform-origin: right center;
  border-left: 2px solid rgba(232, 196, 128, 0.52);
}
.nc-shutter-img {
  position: absolute;
  top: 0;
  width: 200%;
  max-width: none !important;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.nc-3d-shutter-l .nc-shutter-img { left: 0; }
.nc-3d-shutter-r .nc-shutter-img { right: 0; }
.nc-shutter-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(var(--dio-mist, 236, 242, 238), 0.72) 0%,
    rgba(var(--dio-mist, 236, 242, 238), 0.28) 48%,
    rgba(var(--dio-mist, 236, 242, 238), 0.14) 100%);
  pointer-events: none;
}
.nc-shutter-seam {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 14px;
  pointer-events: none;
}
.nc-3d-shutter-l .nc-shutter-seam {
  right: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 240, 200, 0.28) 70%, rgba(28, 18, 10, 0.45));
}
.nc-3d-shutter-r .nc-shutter-seam {
  left: 0;
  background: linear-gradient(270deg, transparent, rgba(255, 240, 200, 0.28) 70%, rgba(28, 18, 10, 0.45));
}
.nc-3d-seam-glow {
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 50%;
  width: 96px;
  transform: translateX(-50%) scaleX(0.2);
  background: radial-gradient(ellipse at center, rgba(255, 248, 224, 0.92) 0%, rgba(244, 206, 134, 0.42) 45%, transparent 78%);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
#coverGate.gate-open .nc-gate-stage[data-sample-live="true"] .nc-3d-seam-glow {
  animation: ncSeamBurst 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes ncSeamBurst {
  0%   { opacity: 0; transform: translateX(-50%) scaleX(0.15); }
  22%  { opacity: 0.95; transform: translateX(-50%) scaleX(2.4); }
  100% { opacity: 0; transform: translateX(-50%) scaleX(5.2); }
}

/* 1. Javanese Hinged Carved Doors ("doors" — digita-gebyok) */
#coverGate.gate-open .nc-gate-stage[data-shutter="doors"] .nc-3d-shutter-l {
  animation: ncDoorLeftSwing 1.32s cubic-bezier(0.22, 0.9, 0.28, 1) forwards;
}
#coverGate.gate-open .nc-gate-stage[data-shutter="doors"] .nc-3d-shutter-r {
  animation: ncDoorRightSwing 1.32s cubic-bezier(0.22, 0.9, 0.28, 1) forwards;
}
@keyframes ncDoorLeftSwing {
  0%   { transform: translate3d(0, 0, 0) rotateY(0deg); opacity: 1; }
  48%  { transform: translate3d(-24%, 0, 42px) rotateY(54deg); opacity: 0.98; }
  82%  { opacity: 0.86; }
  100% { transform: translate3d(-66%, 0, 58px) rotateY(66deg); opacity: 0; }
}
@keyframes ncDoorRightSwing {
  0%   { transform: translate3d(0, 0, 0) rotateY(0deg); opacity: 1; }
  48%  { transform: translate3d(24%, 0, 42px) rotateY(-54deg); opacity: 0.98; }
  82%  { opacity: 0.86; }
  100% { transform: translate3d(66%, 0, 58px) rotateY(-66deg); opacity: 0; }
}

/* 2. Highland Lake Mist Parting ("mist" — batak-ulos) */
#coverGate.gate-open .nc-gate-stage[data-shutter="mist"] .nc-3d-shutter-l {
  animation: ncMistPartL 1.34s cubic-bezier(0.22, 0.9, 0.28, 1) forwards;
}
#coverGate.gate-open .nc-gate-stage[data-shutter="mist"] .nc-3d-shutter-r {
  animation: ncMistPartR 1.34s cubic-bezier(0.22, 0.9, 0.28, 1) forwards;
}
@keyframes ncMistPartL {
  0%   { transform: translate3d(0, 0, 0) scale(1); filter: blur(0px); opacity: 1; }
  65%  { opacity: 0.78; }
  100% { transform: translate3d(-68%, -4%, 78px) rotateY(20deg) scale(1.06); filter: blur(6px); opacity: 0; }
}
@keyframes ncMistPartR {
  0%   { transform: translate3d(0, 0, 0) scale(1); filter: blur(0px); opacity: 1; }
  65%  { opacity: 0.78; }
  100% { transform: translate3d(68%, -4%, 78px) rotateY(-20deg) scale(1.06); filter: blur(6px); opacity: 0; }
}

/* 3. Botanical Glasshouse Double-Door Iris ("iris" — sandi-katrina) */
#coverGate.gate-open .nc-gate-stage[data-shutter="iris"] .nc-3d-shutter-l {
  animation: ncIrisSwingL 1.32s cubic-bezier(0.22, 0.9, 0.28, 1) forwards;
}
#coverGate.gate-open .nc-gate-stage[data-shutter="iris"] .nc-3d-shutter-r {
  animation: ncIrisSwingR 1.32s cubic-bezier(0.22, 0.9, 0.28, 1) forwards;
}
@keyframes ncIrisSwingL {
  0%   { transform: translate3d(0, 0, 0) rotateY(0deg) scale(1); filter: brightness(1); opacity: 1; }
  48%  { transform: translate3d(-26%, 0, 44px) rotateY(50deg) scale(1.04); opacity: 0.96; }
  80%  { opacity: 0.78; }
  100% { transform: translate3d(-68%, -2%, 68px) rotateY(58deg) scale(1.08); filter: brightness(1.12); opacity: 0; }
}
@keyframes ncIrisSwingR {
  0%   { transform: translate3d(0, 0, 0) rotateY(0deg) scale(1); filter: brightness(1); opacity: 1; }
  48%  { transform: translate3d(26%, 0, 44px) rotateY(-50deg) scale(1.04); opacity: 0.96; }
  80%  { opacity: 0.78; }
  100% { transform: translate3d(68%, -2%, 68px) rotateY(-58deg) scale(1.08); filter: brightness(1.12); opacity: 0; }
}

/* 4. Andalusian Velvet Drape Sweep ("curtain" — arabian-luxury) */
#coverGate.gate-open .nc-gate-stage[data-shutter="curtain"] .nc-3d-shutter-l {
  transform-origin: left top;
  animation: ncCurtainPullL 1.35s cubic-bezier(0.22, 0.9, 0.28, 1) forwards;
}
#coverGate.gate-open .nc-gate-stage[data-shutter="curtain"] .nc-3d-shutter-r {
  transform-origin: right top;
  animation: ncCurtainPullR 1.35s cubic-bezier(0.22, 0.9, 0.28, 1) forwards;
}
@keyframes ncCurtainPullL {
  0%   { transform: translate3d(0, 0, 0) skewY(0deg) scaleX(1); opacity: 1; }
  45%  { transform: translate3d(-32%, 0, 30px) skewY(-3deg) scaleX(0.72) rotateY(24deg); opacity: 0.96; }
  100% { transform: translate3d(-88%, -3%, 55px) skewY(-5deg) scaleX(0.42) rotateY(42deg); opacity: 0; }
}
@keyframes ncCurtainPullR {
  0%   { transform: translate3d(0, 0, 0) skewY(0deg) scaleX(1); opacity: 1; }
  45%  { transform: translate3d(32%, 0, 30px) skewY(3deg) scaleX(0.72) rotateY(-24deg); opacity: 0.96; }
  100% { transform: translate3d(88%, -3%, 55px) skewY(5deg) scaleX(0.42) rotateY(-42deg); opacity: 0; }
}

/* 5. Marina Bay Twilight Glass Prism Split ("prism" — singapore-sunset) */
#coverGate.gate-open .nc-gate-stage[data-shutter="prism"] .nc-3d-shutter-l {
  animation: ncPrismSplitL 1.32s cubic-bezier(0.22, 0.9, 0.28, 1) forwards;
}
#coverGate.gate-open .nc-gate-stage[data-shutter="prism"] .nc-3d-shutter-r {
  animation: ncPrismSplitR 1.32s cubic-bezier(0.22, 0.9, 0.28, 1) forwards;
}
@keyframes ncPrismSplitL {
  0%   { transform: translate3d(0, 0, 0) rotateZ(0deg); opacity: 1; }
  70%  { opacity: 0.85; }
  100% { transform: translate3d(-68%, -16%, 72px) rotateZ(-4deg) rotateY(28deg); opacity: 0; }
}
@keyframes ncPrismSplitR {
  0%   { transform: translate3d(0, 0, 0) rotateZ(0deg); opacity: 1; }
  70%  { opacity: 0.85; }
  100% { transform: translate3d(68%, 16%, 72px) rotateZ(-4deg) rotateY(-28deg); opacity: 0; }
}

/* 6. Canopy / Wayang Kelir Upward Lift ("liftup" — wayang, toraja, kyoto, nature) */
#coverGate.gate-open .nc-gate-stage[data-shutter="liftup"] .nc-3d-shutter-l {
  transform-origin: center top;
  animation: ncLiftUpL 1.32s cubic-bezier(0.22, 0.9, 0.28, 1) forwards;
}
#coverGate.gate-open .nc-gate-stage[data-shutter="liftup"] .nc-3d-shutter-r {
  transform-origin: center top;
  animation: ncLiftUpR 1.32s cubic-bezier(0.22, 0.9, 0.28, 1) forwards;
}
@keyframes ncLiftUpL {
  0%   { transform: translate3d(0, 0, 0) rotateX(0deg); opacity: 1; }
  45%  { transform: translate3d(-12%, -38%, 40px) rotateX(22deg); opacity: 0.96; }
  100% { transform: translate3d(-26%, -92%, 75px) rotateX(46deg); opacity: 0; }
}
@keyframes ncLiftUpR {
  0%   { transform: translate3d(0, 0, 0) rotateX(0deg); opacity: 1; }
  45%  { transform: translate3d(12%, -38%, 40px) rotateX(22deg); opacity: 0.96; }
  100% { transform: translate3d(26%, -92%, 75px) rotateX(46deg); opacity: 0; }
}

/* 7. Counter-Glide Vertical Split ("splitv" — asmara-arjuna, lampung-tapis, monokrom, chinese-tea) */
#coverGate.gate-open .nc-gate-stage[data-shutter="splitv"] .nc-3d-shutter-l {
  animation: ncSplitVertL 1.32s cubic-bezier(0.22, 0.9, 0.28, 1) forwards;
}
#coverGate.gate-open .nc-gate-stage[data-shutter="splitv"] .nc-3d-shutter-r {
  animation: ncSplitVertR 1.32s cubic-bezier(0.22, 0.9, 0.28, 1) forwards;
}
@keyframes ncSplitVertL {
  0%   { transform: translate3d(0, 0, 0); opacity: 1; }
  48%  { transform: translate3d(-24%, 44%, 36px) rotateY(22deg); opacity: 0.94; }
  100% { transform: translate3d(-44%, 98%, 55px) rotateY(30deg); opacity: 0; }
}
@keyframes ncSplitVertR {
  0%   { transform: translate3d(0, 0, 0); opacity: 1; }
  48%  { transform: translate3d(24%, -44%, 36px) rotateY(-22deg); opacity: 0.94; }
  100% { transform: translate3d(44%, -98%, 55px) rotateY(-30deg); opacity: 0; }
}

/* 8. Storybook / Parchment Folio Unfold ("bookopen" — vintage, white-rose, linen, titanic) */
#coverGate.gate-open .nc-gate-stage[data-shutter="bookopen"] .nc-3d-shutter-l {
  transform-origin: left center;
  animation: ncBookOpenL 1.34s cubic-bezier(0.22, 0.9, 0.28, 1) forwards;
}
#coverGate.gate-open .nc-gate-stage[data-shutter="bookopen"] .nc-3d-shutter-r {
  transform-origin: right center;
  animation: ncBookOpenR 1.34s cubic-bezier(0.22, 0.9, 0.28, 1) forwards;
}
@keyframes ncBookOpenL {
  0%   { transform: translate3d(0, 0, 0) rotateY(0deg) scale(1); opacity: 1; }
  50%  { transform: translate3d(-18%, 0, -24px) rotateY(-54deg) scale(0.92); opacity: 0.95; }
  100% { transform: translate3d(-74%, 0, -48px) rotateY(-64deg) scale(0.84); opacity: 0; }
}
@keyframes ncBookOpenR {
  0%   { transform: translate3d(0, 0, 0) rotateY(0deg) scale(1); opacity: 1; }
  50%  { transform: translate3d(18%, 0, -24px) rotateY(54deg) scale(0.92); opacity: 0.95; }
  100% { transform: translate3d(74%, 0, -48px) rotateY(64deg) scale(0.84); opacity: 0; }
}

/* 9. Songket / Jawa Merah Cross-Fold Sweep ("foldaway" — jawa-merah, minang, boho, sasak) */
#coverGate.gate-open .nc-gate-stage[data-shutter="foldaway"] .nc-3d-shutter-l {
  transform-origin: left bottom;
  animation: ncFoldAwayL 1.32s cubic-bezier(0.22, 0.9, 0.28, 1) forwards;
}
#coverGate.gate-open .nc-gate-stage[data-shutter="foldaway"] .nc-3d-shutter-r {
  transform-origin: right bottom;
  animation: ncFoldAwayR 1.32s cubic-bezier(0.22, 0.9, 0.28, 1) forwards;
}
@keyframes ncFoldAwayL {
  0%   { transform: translate3d(0, 0, 0) rotateZ(0deg); opacity: 1; }
  48%  { transform: translate3d(-34%, -10%, 40px) rotateZ(-12deg) rotateY(28deg); opacity: 0.95; }
  100% { transform: translate3d(-86%, -22%, 70px) rotateZ(-22deg) rotateY(42deg); opacity: 0; }
}
@keyframes ncFoldAwayR {
  0%   { transform: translate3d(0, 0, 0) rotateZ(0deg); opacity: 1; }
  48%  { transform: translate3d(34%, -10%, 40px) rotateZ(12deg) rotateY(-28deg); opacity: 0.95; }
  100% { transform: translate3d(86%, -22%, 70px) rotateZ(22deg) rotateY(-42deg); opacity: 0; }
}

/* 10. Camera Lens / Art Deco Aperture Open ("aperture" — gatsby, midnight-gold, akad-intim) */
#coverGate.gate-open .nc-gate-stage[data-shutter="aperture"] .nc-3d-shutter-l {
  animation: ncApertureL 1.30s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
#coverGate.gate-open .nc-gate-stage[data-shutter="aperture"] .nc-3d-shutter-r {
  animation: ncApertureR 1.30s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes ncApertureL {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
  45%  { transform: translate3d(-38%, 0, 65px) scale(1.12); opacity: 0.92; }
  100% { transform: translate3d(-96%, 0, 110px) scale(1.24); opacity: 0; }
}
@keyframes ncApertureR {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
  45%  { transform: translate3d(38%, 0, 65px) scale(1.12); opacity: 0.92; }
  100% { transform: translate3d(96%, 0, 110px) scale(1.24); opacity: 0; }
}

/* 11. Coastal Tidal Wave Roll ("wavepart" — jawa-biru, santorini, waterlily, bugis, banjar) */
#coverGate.gate-open .nc-gate-stage[data-shutter="wavepart"] .nc-3d-shutter-l {
  animation: ncWavePartL 1.34s cubic-bezier(0.22, 0.9, 0.28, 1) forwards;
}
#coverGate.gate-open .nc-gate-stage[data-shutter="wavepart"] .nc-3d-shutter-r {
  animation: ncWavePartR 1.34s cubic-bezier(0.22, 0.9, 0.28, 1) forwards;
}
@keyframes ncWavePartL {
  0%   { transform: translate3d(0, 0, 0) skewX(0deg); opacity: 1; }
  50%  { transform: translate3d(-34%, 5%, 38px) skewX(6deg) rotateY(32deg); opacity: 0.92; }
  100% { transform: translate3d(-86%, 12%, 68px) skewX(10deg) rotateY(48deg); opacity: 0; }
}
@keyframes ncWavePartR {
  0%   { transform: translate3d(0, 0, 0) skewX(0deg); opacity: 1; }
  50%  { transform: translate3d(34%, -5%, 38px) skewX(-6deg) rotateY(-32deg); opacity: 0.92; }
  100% { transform: translate3d(86%, -12%, 68px) skewX(-10deg) rotateY(-48deg); opacity: 0; }
}

/* 12. Crown Petal Blossom Unfurl ("bloomopen" — kamajaya, peony, tulip, soft-floral, fairytale, taman-bunga) */
#coverGate.gate-open .nc-gate-stage[data-shutter="bloomopen"] .nc-3d-shutter-l {
  transform-origin: left top;
  animation: ncBloomOpenL 1.34s cubic-bezier(0.22, 0.9, 0.28, 1) forwards;
}
#coverGate.gate-open .nc-gate-stage[data-shutter="bloomopen"] .nc-3d-shutter-r {
  transform-origin: right top;
  animation: ncBloomOpenR 1.34s cubic-bezier(0.22, 0.9, 0.28, 1) forwards;
}
@keyframes ncBloomOpenL {
  0%   { transform: translate3d(0, 0, 0) rotateZ(0deg) scale(1); opacity: 1; }
  48%  { transform: translate3d(-32%, -10%, 44px) rotateZ(12deg) rotateY(36deg) scale(1.04); opacity: 0.94; }
  100% { transform: translate3d(-82%, -24%, 78px) rotateZ(20deg) rotateY(54deg) scale(1.08); opacity: 0; }
}
@keyframes ncBloomOpenR {
  0%   { transform: translate3d(0, 0, 0) rotateZ(0deg) scale(1); opacity: 1; }
  48%  { transform: translate3d(32%, -10%, 44px) rotateZ(-12deg) rotateY(-36deg) scale(1.04); opacity: 0.94; }
  100% { transform: translate3d(82%, -24%, 78px) rotateZ(-20deg) rotateY(-54deg) scale(1.08); opacity: 0; }
}

/* 13. Candi Bentar / Royal Arch Walk-Through ("archwalk" — gandilova-k8, heritage, bali-royal, royal-emerald) */
#coverGate.gate-open .nc-gate-stage[data-shutter="archwalk"] .nc-3d-shutter-l {
  animation: ncArchWalkL 1.32s cubic-bezier(0.2, 0.9, 0.25, 1) forwards;
}
#coverGate.gate-open .nc-gate-stage[data-shutter="archwalk"] .nc-3d-shutter-r {
  animation: ncArchWalkR 1.32s cubic-bezier(0.2, 0.9, 0.25, 1) forwards;
}
@keyframes ncArchWalkL {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
  48%  { transform: translate3d(-38%, 0, 70px) scale(1.20) rotateY(22deg); opacity: 0.92; }
  100% { transform: translate3d(-86%, 0, 130px) scale(1.38) rotateY(34deg); opacity: 0; }
}
@keyframes ncArchWalkR {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
  48%  { transform: translate3d(38%, 0, 70px) scale(1.20) rotateY(-22deg); opacity: 0.92; }
  100% { transform: translate3d(86%, 0, 130px) scale(1.38) rotateY(-34deg); opacity: 0; }
}

/* 14. Moresque / Harbour Geometric Diamond Cut ("diamondcut" — islamic-geometry, aceh-gayo, sydney-opera) */
#coverGate.gate-open .nc-gate-stage[data-shutter="diamondcut"] .nc-3d-shutter-l {
  animation: ncDiamondCutL 1.32s cubic-bezier(0.22, 0.9, 0.28, 1) forwards;
}
#coverGate.gate-open .nc-gate-stage[data-shutter="diamondcut"] .nc-3d-shutter-r {
  animation: ncDiamondCutR 1.32s cubic-bezier(0.22, 0.9, 0.28, 1) forwards;
}
@keyframes ncDiamondCutL {
  0%   { transform: translate3d(0, 0, 0) rotateZ(0deg); opacity: 1; }
  50%  { transform: translate3d(-34%, 12%, 44px) rotateZ(-9deg) rotateY(34deg); opacity: 0.94; }
  100% { transform: translate3d(-84%, 24%, 74px) rotateZ(-16deg) rotateY(50deg); opacity: 0; }
}
@keyframes ncDiamondCutR {
  0%   { transform: translate3d(0, 0, 0) rotateZ(0deg); opacity: 1; }
  50%  { transform: translate3d(34%, -12%, 44px) rotateZ(-9deg) rotateY(-34deg); opacity: 0.94; }
  100% { transform: translate3d(84%, -24%, 74px) rotateZ(-16deg) rotateY(-50deg); opacity: 0; }
}

/* Sembunyikan HUD demo saat gerbang 3D sedang menyibak agar celah pintu menampilkan panggung utama bersih */
.nc-demo-hud-hiding {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.22s ease !important;
}

/* =========================================================================
   SUASANA IKONIK & ORNAMEN SVG BERGERAK PER TEMA (.nc-scene-props)
   Berada di atas canvas/mist (z-5) namun di bawah kartu sampul (z-12)
   ========================================================================= */
.nc-scene-props {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
}
.nc-sp-flame {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: ncFlameFlicker 0.85s ease-in-out infinite alternate;
}
.nc-sp-aura {
  transform-box: fill-box;
  transform-origin: center;
  animation: ncAuraPulse 1.6s ease-in-out infinite alternate;
}
@keyframes ncFlameFlicker {
  0%   { transform: scale(1, 0.96) skewX(-2deg); opacity: 0.92; }
  35%  { transform: scale(1.06, 1.12) skewX(3deg); opacity: 1; }
  70%  { transform: scale(0.94, 0.98) skewX(-3deg); opacity: 0.94; }
  100% { transform: scale(1.08, 1.16) skewX(2deg); opacity: 1; }
}
@keyframes ncAuraPulse {
  0%   { transform: scale(0.92); opacity: 0.72; }
  100% { transform: scale(1.16); opacity: 1; }
}

/* Hanging Lampion & Arabian Fanous Lanterns */
.nc-sp-hang {
  position: absolute;
  top: -4px;
  transform-origin: top center;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}
.nc-sp-l1 { left: 4%; width: clamp(46px, 9vw, 68px); animation: ncLanternSway 4.8s ease-in-out infinite alternate; }
.nc-sp-l2 { left: 16%; width: clamp(34px, 6.8vw, 50px); animation: ncLanternSway 5.6s ease-in-out -1.8s infinite alternate; }
.nc-sp-r1 { right: 4%; width: clamp(46px, 9vw, 68px); animation: ncLanternSway 5.1s ease-in-out -0.9s infinite alternate; }
.nc-sp-r2 { right: 16%; width: clamp(34px, 6.8vw, 50px); animation: ncLanternSway 6.0s ease-in-out -2.6s infinite alternate; }
@keyframes ncLanternSway {
  0%   { transform: rotate(-4.5deg); }
  100% { transform: rotate(4.5deg); }
}

/* Standing Flickering Candle Brass Lanterns (Akad Intim, Vintage, Midnight) */
.nc-sp-candle-l,
.nc-sp-candle-r {
  position: absolute;
  bottom: 4%;
  width: clamp(68px, 16vw, 108px);
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.42));
}
.nc-sp-candle-l { left: 4%; animation: ncLanternSway 7.2s ease-in-out infinite alternate; transform-origin: bottom center; }
.nc-sp-candle-r { right: 4%; animation: ncLanternSway 7.8s ease-in-out -2.2s infinite alternate; transform-origin: bottom center; }

/* Javanese Blencong Hanging Fire Lamp */
.nc-sp-blencong {
  position: absolute;
  top: -4px;
  left: 50%;
  width: clamp(78px, 16vw, 112px);
  margin-left: calc(clamp(78px, 16vw, 112px) * -0.5);
  transform-origin: top center;
  animation: ncLanternSway 5.5s ease-in-out infinite alternate;
  filter: drop-shadow(0 6px 20px rgba(255, 168, 52, 0.35));
}

/* Titanic Promenade Warm Deck Lights */
.nc-sp-stringlights {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background-image:
    radial-gradient(circle at 12% 24px, rgba(255, 224, 146, 0.9) 0 2.5px, rgba(255, 198, 92, 0.25) 6px, transparent 14px),
    radial-gradient(circle at 28% 36px, rgba(255, 224, 146, 0.85) 0 2px, rgba(255, 198, 92, 0.22) 5px, transparent 12px),
    radial-gradient(circle at 72% 36px, rgba(255, 224, 146, 0.85) 0 2px, rgba(255, 198, 92, 0.22) 5px, transparent 12px),
    radial-gradient(circle at 88% 24px, rgba(255, 224, 146, 0.9) 0 2.5px, rgba(255, 198, 92, 0.25) 6px, transparent 14px);
  animation: ncTitanicTwinkle 2.8s ease-in-out infinite alternate;
}
@keyframes ncTitanicTwinkle {
  0%   { opacity: 0.65; }
  100% { opacity: 1; }
}

/* Kyoto Overhead Sakura Branches */
.nc-sp-sakura-l,
.nc-sp-sakura-r {
  position: absolute;
  top: 0;
  width: clamp(140px, 34vw, 220px);
  opacity: 0.92;
  animation: ncLanternSway 6.4s ease-in-out infinite alternate;
}
.nc-sp-sakura-l { left: -6px; transform-origin: left top; }
.nc-sp-sakura-r { right: -6px; transform-origin: center top; transform: scaleX(-1); animation-name: ncSakuraSwayR; }
@keyframes ncSakuraSwayR {
  0%   { transform: scaleX(-1) rotate(-3.5deg); }
  100% { transform: scaleX(-1) rotate(3.5deg); }
}

/* Netherlands Foreground Tulips Swaying in Wind */
.nc-sp-tulip-l,
.nc-sp-tulip-r {
  position: absolute;
  bottom: -6px;
  width: clamp(130px, 30vw, 196px);
  transform-origin: bottom center;
  animation: ncLanternSway 4.2s ease-in-out infinite alternate;
}
.nc-sp-tulip-l { left: -6px; }
.nc-sp-tulip-r { right: -6px; transform: scaleX(-1); animation-name: ncTulipSwayR; }
@keyframes ncTulipSwayR {
  0%   { transform: scaleX(-1) rotate(-4deg); }
  100% { transform: scaleX(-1) rotate(4deg); }
}

/* Art Deco Brass Geometric Corners & Cirebon Mega Mendung Clouds */
.nc-sp-deco-tl,
.nc-sp-deco-tr {
  position: absolute;
  top: 12px;
  width: clamp(76px, 18vw, 118px);
  animation: ncTitanicTwinkle 3.2s ease-in-out infinite alternate;
}
.nc-sp-deco-tl { left: 12px; }
.nc-sp-deco-tr { right: 12px; transform: scaleX(-1); }

.nc-sp-mm-l,
.nc-sp-mm-r {
  position: absolute;
  bottom: 2%;
  width: clamp(120px, 28vw, 180px);
  animation: ncLanternSway 8s ease-in-out infinite alternate;
}
.nc-sp-mm-l { left: 2%; }
.nc-sp-mm-r { right: 2%; transform: scaleX(-1); }

/* =========================================================================
   5 ARKETIPE UI FISIK + RITUAL PEMBUKA + BLOK KHAS INTERIOR
   Mengubah siluet kotak tamu, tombol CTA, kartu jadwal, bingkai foto,
   dan pembatas agar antar tema terasa benar-benar berbeda fisiknya.
   ========================================================================= */
.nc-arch-serial {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 3px 10px;
  margin-bottom: 8px;
  border: 1px solid color-mix(in srgb, var(--dio-ink, currentColor) 32%, transparent);
  color: var(--dio-sub, currentColor);
  opacity: 0.92;
}
.nc-arch-perf {
  width: min(86%, 320px);
  margin: 10px auto 6px;
  position: relative;
  height: 12px;
  display: flex;
  align-items: center;
}
.nc-arch-perf span {
  display: block;
  width: 100%;
  border-top: 1.5px dashed color-mix(in srgb, var(--dio-ink, currentColor) 38%, transparent);
}

/* 1) EDITORIAL: Razor-square 0px architectural rules & monochrome lookbook */
#coverGate[data-archetype="editorial"] .nc-diorama-card,
#coverGate[data-archetype="editorial"] .nc-gate-card {
  border-radius: 0 !important;
  text-align: left !important;
  border: 1px solid color-mix(in srgb, var(--dio-ink, #141414) 24%, transparent);
  padding: 26px 26px 24px !important;
  background: color-mix(in srgb, rgb(var(--dio-mist, 244,244,242)) 84%, transparent) !important;
  box-shadow: 0 24px 56px rgba(0,0,0,0.16);
}
#coverGate[data-archetype="editorial"] .nc-dio-names,
#coverGate[data-archetype="editorial"] .nc-gc-names {
  letter-spacing: -0.02em;
  line-height: 1.02;
}
#coverGate[data-archetype="editorial"] .nc-dio-guestbox,
#coverGate[data-archetype="editorial"] .nc-gc-guestbox {
  border-radius: 0 !important;
  border: none !important;
  border-left: 2.5px solid var(--dio-btn, var(--sk, #141414)) !important;
  padding: 8px 14px !important;
  margin: 14px 0 !important;
  text-align: left !important;
  background: color-mix(in srgb, var(--dio-btn, #141414) 6%, transparent) !important;
}
#coverGate[data-archetype="editorial"] .nc-dio-btn,
#coverGate[data-archetype="editorial"] .nc-gc-btn,
#mainStage[data-archetype="editorial"] .nc-storybook-btn,
#mainStage[data-archetype="editorial"] .rounded-2xl,
#mainStage[data-archetype="editorial"] .rounded-3xl {
  border-radius: 0 !important;
}
#coverGate[data-archetype="editorial"] .nc-dio-btn,
#coverGate[data-archetype="editorial"] .nc-gc-btn {
  width: 100%;
  justify-content: space-between !important;
  padding-inline: 20px !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase;
}
#coverGate[data-archetype="editorial"] .nc-dio-tr-pill {
  border-radius: 0 !important;
  display: inline-block;
  margin-top: 12px;
}

/* 2) ARCHIVAL: Notched 1912 boarding-pass / sealed letter with double rules */
#coverGate[data-archetype="archival"] .nc-diorama-card,
#coverGate[data-archetype="archival"] .nc-gate-card {
  border-radius: 6px !important;
  border: 1.5px solid color-mix(in srgb, var(--dio-ink, #CBB07B) 42%, transparent);
  outline: 1px solid color-mix(in srgb, var(--dio-ink, #CBB07B) 22%, transparent);
  outline-offset: -7px;
  padding: 28px 24px 24px !important;
  background: color-mix(in srgb, rgb(var(--dio-mist, 22,19,14)) 78%, transparent) !important;
}
#coverGate[data-archetype="archival"] .nc-arch-serial {
  border-style: double;
  border-width: 3px;
}
#coverGate[data-archetype="archival"] .nc-dio-guestbox,
#coverGate[data-archetype="archival"] .nc-gc-guestbox {
  border-radius: 4px !important;
  border: 1px dashed color-mix(in srgb, var(--dio-ink, #CBB07B) 48%, transparent) !important;
  background: color-mix(in srgb, var(--dio-ink, #CBB07B) 8%, transparent) !important;
}
#coverGate[data-archetype="archival"] .nc-dio-btn,
#coverGate[data-archetype="archival"] .nc-gc-btn,
#mainStage[data-archetype="archival"] .nc-storybook-btn {
  border-radius: 4px !important;
  letter-spacing: 0.11em !important;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dio-btntxt, #fff) 32%, transparent), 0 12px 26px rgba(0,0,0,0.34) !important;
}
#mainStage[data-archetype="archival"] .rounded-2xl {
  border-radius: 6px !important;
}

/* 3) ROYAL: Chamfered octagon courtyard tablet & gold-trimmed seals */
#coverGate[data-archetype="royal"] .nc-diorama-card,
#coverGate[data-archetype="royal"] .nc-gate-card {
  border-radius: 16px !important;
  clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px), 0 16px);
  border: 1.5px solid color-mix(in srgb, var(--dio-btn, #D4AF37) 58%, transparent);
  background: color-mix(in srgb, rgb(var(--dio-mist, 32,14,13)) 78%, transparent) !important;
  padding: 28px 24px !important;
}
#coverGate[data-archetype="royal"] .nc-dio-guestbox,
#coverGate[data-archetype="royal"] .nc-gc-guestbox {
  border-radius: 8px !important;
  border: 1.5px solid color-mix(in srgb, var(--dio-btn, #D4AF37) 64%, transparent) !important;
  outline: 1px solid color-mix(in srgb, var(--dio-btn, #D4AF37) 26%, transparent);
  outline-offset: 3px;
}
#coverGate[data-archetype="royal"] .nc-dio-btn,
#coverGate[data-archetype="royal"] .nc-gc-btn,
#mainStage[data-archetype="royal"] .nc-storybook-btn {
  border-radius: 8px !important;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%);
  padding-inline: 28px !important;
}

/* 4) NOCTURNAL: Luminous twilight sanctuary glass & warm amber halo */
#coverGate[data-archetype="nocturnal"] .nc-diorama-card,
#coverGate[data-archetype="nocturnal"] .nc-gate-card {
  border-radius: 24px !important;
  border: 1px solid rgba(248, 214, 146, 0.36);
  background: linear-gradient(180deg, rgba(24, 18, 12, 0.62) 0%, rgba(15, 11, 8, 0.82) 100%) !important;
  box-shadow: 0 -2px 34px rgba(232, 168, 72, 0.16), 0 24px 60px rgba(0, 0, 0, 0.62);
}
#coverGate[data-archetype="nocturnal"] .nc-dio-guestbox,
#coverGate[data-archetype="nocturnal"] .nc-gc-guestbox {
  border-radius: 14px !important;
  border: 1px solid rgba(248, 214, 146, 0.28) !important;
  background: radial-gradient(circle at 50% 0%, rgba(232, 168, 72, 0.14), rgba(14, 10, 7, 0.48)) !important;
}
#coverGate[data-archetype="nocturnal"] .nc-dio-btn,
#coverGate[data-archetype="nocturnal"] .nc-gc-btn,
#mainStage[data-archetype="nocturnal"] .nc-storybook-btn {
  border-radius: 14px !important;
  box-shadow: 0 0 26px color-mix(in srgb, var(--dio-btn, #C89B54) 48%, transparent), 0 10px 24px rgba(0, 0, 0, 0.5) !important;
}
#mainStage[data-archetype="nocturnal"] .rounded-2xl {
  box-shadow: inset 0 1px 0 rgba(255, 224, 158, 0.14), 0 14px 32px rgba(0, 0, 0, 0.34);
}

/* 5) ORGANIC: Asymmetric sunlit window arch & tactile artisan rounded paper */
#coverGate[data-archetype="organic"] .nc-diorama-card,
#coverGate[data-archetype="organic"] .nc-gate-card {
  border-radius: 180px 180px 28px 28px !important;
  padding-top: 42px !important;
  border: 1.5px solid color-mix(in srgb, var(--dio-btn, #4A6B52) 30%, transparent);
  background: color-mix(in srgb, rgb(var(--dio-mist, 248,250,246)) 82%, transparent) !important;
  box-shadow: 0 24px 54px rgba(32, 26, 20, 0.16);
}
#coverGate[data-archetype="organic"] .nc-dio-guestbox,
#coverGate[data-archetype="organic"] .nc-gc-guestbox {
  border-radius: 26px 8px 26px 8px !important;
  border: 1px solid color-mix(in srgb, var(--dio-btn, #4A6B52) 34%, transparent) !important;
}
#coverGate[data-archetype="organic"] .nc-dio-btn,
#coverGate[data-archetype="organic"] .nc-gc-btn {
  border-radius: 9999px !important;
}
#mainStage[data-archetype="organic"] .nc-galb,
#mainStage[data-archetype="organic"] .swiper-slide .rounded-2xl {
  border-radius: 110px 110px 20px 20px !important;
}

/* Pre-open cover ritual micro-animations (triggered right before shutters open) */
.nc-gate-stage.nc-ritual-firing[data-ritual="tear-ticket"] .nc-diorama-card,
.nc-gate-stage.nc-ritual-firing[data-ritual="tear-ticket"] .nc-gate-card {
  animation: ncRitualTear 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.nc-gate-stage.nc-ritual-firing[data-ritual="wax-seal"] .nc-dio-btn,
.nc-gate-stage.nc-ritual-firing[data-ritual="wax-seal"] .nc-gc-btn {
  animation: ncRitualSeal 0.28s ease-out forwards;
}
.nc-gate-stage.nc-ritual-firing[data-ritual="lantern-flame"] .nc-diorama-mist-glow,
.nc-gate-stage.nc-ritual-firing[data-ritual="blencong-flame"] .nc-diorama-mist-glow,
.nc-gate-stage.nc-ritual-firing[data-ritual="lantern-flare"] .nc-diorama-mist-glow {
  opacity: 1 !important;
  filter: brightness(1.45) contrast(1.08);
  transition: all 0.24s ease-out;
}
.nc-gate-stage.nc-ritual-firing[data-ritual="folio-slide"] .nc-diorama-card,
.nc-gate-stage.nc-ritual-firing[data-ritual="folio-slide"] .nc-gate-card {
  transform: translateX(-18px);
  opacity: 0.45;
  transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}
.nc-gate-stage.nc-ritual-firing[data-ritual="window-breeze"] .nc-diorama-card,
.nc-gate-stage.nc-ritual-firing[data-ritual="pampas-sweep"] .nc-diorama-card {
  transform: translateY(-10px) scale(1.02);
  opacity: 0.72;
  transition: all 0.25s ease-out;
}
@keyframes ncRitualTear {
  0%   { transform: scale(1); }
  55%  { transform: translateY(3px) rotate(-0.8deg) scale(0.99); }
  100% { transform: translateY(-6px) scale(1.015); opacity: 0.86; }
}
@keyframes ncRitualSeal {
  0%   { transform: scale(1); }
  45%  { transform: scale(0.92); filter: brightness(1.2); }
  100% { transform: scale(1.06); filter: brightness(1.3); }
}

/* =========================================================================
   SIGNATURE EXCLUSIVE INTERIOR MODULE (.nc-sig-module)
   ========================================================================= */
.nc-sig-module {
  background: var(--sig-card, rgba(24, 20, 16, 0.92));
  border: 1.5px solid var(--sig-border, rgba(212, 175, 55, 0.36));
  color: var(--sig-text, #FFFFFF);
  padding: clamp(20px, 4vw, 32px);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}
.nc-sig-module[data-archetype="editorial"] {
  border-radius: 0;
  border-left-width: 4px;
  border-left-color: var(--sig-acc);
}
.nc-sig-module[data-archetype="archival"] {
  border-radius: 4px;
  border-style: double;
  border-width: 3px;
}
.nc-sig-module[data-archetype="royal"] {
  border-radius: 10px;
  outline: 1px solid color-mix(in srgb, var(--sig-acc) 45%, transparent);
  outline-offset: -8px;
}
.nc-sig-module[data-archetype="nocturnal"] {
  border-radius: 22px;
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--sig-acc) 32%, transparent), 0 22px 48px rgba(0, 0, 0, 0.35);
}
.nc-sig-module[data-archetype="organic"] {
  border-radius: 28px 12px 28px 12px;
}
.nc-sig-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.nc-sig-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sig-acc);
}
.nc-sig-serial {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid color-mix(in srgb, var(--sig-acc) 42%, transparent);
  color: var(--sig-muted);
}
.nc-sig-title {
  font-size: clamp(20px, 3.2vw, 27px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--sig-text);
  margin: 0 0 6px;
}
.nc-sig-sub {
  font-size: 13px;
  line-height: 1.6;
  color: var(--sig-muted);
  margin: 0 0 18px;
}
.nc-sig-rows {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}
.nc-sig-row {
  display: grid;
  grid-template-columns: minmax(118px, 165px) 1fr;
  gap: 8px 16px;
  padding: 10px 12px;
  border-top: 1px dashed color-mix(in srgb, var(--sig-acc) 28%, transparent);
  font-size: 12.5px;
  align-items: baseline;
}
.nc-sig-row-k {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sig-acc);
}
.nc-sig-row-v {
  color: var(--sig-text);
  line-height: 1.5;
}
.nc-sig-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 10px;
}
.nc-sig-swatch-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid color-mix(in srgb, var(--sig-acc) 30%, transparent);
  font-size: 11px;
  font-weight: 600;
  color: var(--sig-text);
}
.nc-sig-swatch-dot {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: inline-block;
}
.nc-sig-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, var(--sig-acc) 22%, transparent);
  font-size: 12px;
  font-style: italic;
  color: var(--sig-muted);
}
@media (max-width: 520px) {
  .nc-sig-row { grid-template-columns: 1fr; gap: 3px; }
}

/* ===== v71: 6 Interactive Physical Opening Gestures ===== */
.nc-gest-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-top: 8px;
}
.nc-gest-hint {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
  color: var(--dio-sub, currentColor);
}

/* 1) Swipe Curtain Rail (Adat & Royal) */
.nc-gest-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(268px, 100%);
  height: 46px;
  padding: 0 44px;
  background: color-mix(in srgb, var(--dio-btn, #1c1917) 22%, rgba(16, 12, 10, 0.58));
  border: 1.5px solid color-mix(in srgb, var(--dio-btn, #c9a227) 68%, transparent);
  border-radius: 10px;
  color: var(--dio-ink, #faf7f2);
  cursor: pointer;
  user-select: none;
  touch-action: none;
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.32), 0 8px 20px rgba(0, 0, 0, 0.24);
}
.nc-gate-stage[data-dark="false"] .nc-gest-slider,
.nc-gate-stage[data-dark="false"] .nc-gest-ticket {
  background: color-mix(in srgb, var(--dio-btn, #1c1917) 10%, rgba(255, 252, 246, 0.86));
  color: var(--dio-ink, #1e1a16);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.08), 0 8px 18px rgba(0, 0, 0, 0.12);
}
.nc-gest-slider .nc-gest-fill,
.nc-gest-ticket .nc-gest-fill {
  position: absolute;
  inset: 0;
  width: calc(var(--pull-p, 0) * 100%);
  background: linear-gradient(90deg, color-mix(in srgb, var(--dio-btn, #c9a227) 65%, transparent), var(--dio-btn, #c9a227));
  opacity: 0.85;
  pointer-events: none;
  transition: width 0.2s ease;
}
.nc-gest-slider.is-dragging .nc-gest-fill,
.nc-gest-ticket.is-dragging .nc-gest-fill {
  transition: none;
}
.nc-gest-knob {
  position: absolute;
  top: 4px;
  left: calc(4px + var(--pull-p, 0) * (100% - 46px));
  width: 38px;
  height: 36px;
  border-radius: 7px;
  background: var(--dio-btn, #c9a227);
  color: var(--dio-btntxt, #1a120a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  transition: left 0.2s ease, transform 0.2s ease;
  z-index: 2;
}
.nc-gest-slider.is-dragging .nc-gest-knob {
  transition: none;
  transform: scale(1.06);
}
.nc-gest-slider .nc-gest-label,
.nc-gest-ticket .nc-gest-label {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nc-gest-chev {
  position: absolute;
  right: 14px;
  font-size: 14px;
  opacity: 0.72;
  animation: ncGestChevPulse 1.6s ease-in-out infinite;
}
@keyframes ncGestChevPulse {
  0%, 100% { transform: translateX(0); opacity: 0.45; }
  50% { transform: translateX(4px); opacity: 0.95; }
}

/* 2) Perforated Boarding Pass / Archive Ticket Stub Tear (Tactile VIP Upgrade) */
.nc-gest-ticket {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: min(286px, 100%);
  height: 48px;
  padding: 0 16px 0 92px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--dio-btn, #c9a24d) 20%, rgba(18, 20, 28, 0.84)), rgba(14, 12, 10, 0.9));
  border: 1.5px solid color-mix(in srgb, var(--dio-btn, #c9a24d) 72%, transparent);
  color: var(--dio-ink, #faf7f2);
  cursor: grab;
  user-select: none;
  touch-action: none;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 28px rgba(0, 0, 0, 0.34);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
  -webkit-mask-image:
    radial-gradient(circle 6px at 0 50%, transparent 98%, #000 100%),
    radial-gradient(circle 6px at 100% 50%, transparent 98%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(circle 6px at 0 50%, transparent 98%, #000 100%),
    radial-gradient(circle 6px at 100% 50%, transparent 98%, #000 100%);
  mask-composite: intersect;
}
.nc-gest-ticket:active { cursor: grabbing; }
.nc-gest-ticket.is-torn {
  transform: scale(1.03);
  border-color: #E5C896;
  box-shadow: 0 0 28px rgba(229, 200, 150, 0.45), inset 0 0 14px rgba(229, 200, 150, 0.25);
}
.nc-gest-stub {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: calc(4px + var(--pull-p, 0) * (100% - 80px));
  width: 72px;
  border-radius: 5px;
  background: linear-gradient(135deg, #F0D6A0, var(--dio-btn, #c9a24d));
  color: var(--dio-btntxt, #141926);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.38);
  transform: rotate(calc(var(--pull-p, 0) * -5deg));
  transition: left 0.22s cubic-bezier(0.22, 1, 0.36, 1), transform 0.22s ease;
  z-index: 2;
}
.nc-gest-ticket.is-dragging .nc-gest-stub { transition: none; box-shadow: 0 6px 18px rgba(229, 200, 150, 0.42); }
.nc-gest-ticket.is-torn .nc-gest-stub {
  transform: translateX(18px) rotate(-14deg) scale(0.92);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}
.nc-gest-perf {
  position: absolute;
  left: calc(78px + var(--pull-p, 0) * (100% - 88px));
  top: 4px;
  bottom: 4px;
  border-left: 1.5px dashed color-mix(in srgb, var(--dio-btn, #E5C896) 85%, #fff);
  filter: drop-shadow(0 0 calc(var(--pull-p, 0) * 8px) rgba(229, 200, 150, 0.9));
  z-index: 1;
}
/* Subtle Grainient film texture over gate stage (0 KB inline noise) */
.nc-gate-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  mix-blend-mode: overlay;
}

/* Live shutter preview while dragging swipe/tear rail */
.nc-gate-stage.is-gesture-dragging .nc-3d-shutter-l {
  transform: translateX(calc(var(--pull-p, 0) * -28%));
  transition: none !important;
}
.nc-gate-stage.is-gesture-dragging .nc-3d-shutter-r {
  transform: translateX(calc(var(--pull-p, 0) * 28%));
  transition: none !important;
}
.nc-gate-stage.is-gesture-dragging .nc-3d-seam-glow {
  opacity: calc(0.25 + var(--pull-p, 0) * 0.75);
}

/* 3) Ignite Flame / Lampion Glowing Orb (NO pill button) */
.nc-gest-orb {
  position: relative;
  width: 72px;
  height: 72px;
  padding: 0;
  border-radius: 50% !important;
  border: 1.5px solid color-mix(in srgb, var(--dio-btn, #e2b857) 75%, transparent);
  background: radial-gradient(circle at 38% 32%, color-mix(in srgb, var(--dio-btn, #e2b857) 90%, #fff 15%), color-mix(in srgb, var(--dio-btn, #b87c24) 68%, #1a0f08));
  color: var(--dio-btntxt, #1c1006);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 24px color-mix(in srgb, var(--dio-btn, #e2b857) 52%, transparent), inset 0 0 14px rgba(255, 240, 200, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nc-gest-orb.is-lampion {
  background: radial-gradient(circle at 40% 35%, #d92626 0%, #8b0c0c 70%, #4d0404 100%);
  border-color: #f3cf7a;
  color: #fce29c;
  box-shadow: 0 0 28px rgba(217, 38, 38, 0.55), 0 0 14px rgba(243, 207, 122, 0.4);
}
.nc-gest-orb:hover { transform: scale(1.07); }
.nc-orb-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed color-mix(in srgb, var(--dio-btn, #e2b857) 65%, transparent);
  animation: ncOrbPulse 2.4s ease-in-out infinite;
  pointer-events: none;
}
.nc-orb-core {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.nc-orb-flame {
  width: 10px;
  height: 14px;
  margin-bottom: 1px;
  border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%;
  background: radial-gradient(circle at 50% 65%, #fff8d6 0%, #ffb732 58%, #e65100 100%);
  box-shadow: 0 0 10px #ffb732;
  animation: ncFlameFlicker 1.1s ease-in-out infinite alternate;
}
.nc-orb-hanzi {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.nc-gest-orb-cap,
.nc-gest-seal-cap {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dio-ink, #faf7f2);
}
@keyframes ncOrbPulse {
  0%, 100% { transform: scale(0.95); opacity: 0.48; }
  50% { transform: scale(1.08); opacity: 0.95; }
}
@keyframes ncFlameFlicker {
  0% { transform: scaleY(0.94) rotate(-3deg); }
  100% { transform: scaleY(1.08) rotate(3deg); }
}

/* 4) Embossed 3D Wax Seal Monogram (Crack Seal) */
.nc-gest-seal {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 47% 53% 51% 49% / 50% 48% 52% 50% !important;
  border: 2px solid color-mix(in srgb, var(--dio-btn, #8c2d2d) 60%, #fff 25%);
  background: radial-gradient(circle at 32% 30%, color-mix(in srgb, var(--dio-btn, #9a2e2e) 90%, #fff 18%), color-mix(in srgb, var(--dio-btn, #5c1616) 85%, #000 35%));
  color: var(--dio-btntxt, #fff7ed);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.34), inset 0 2px 6px rgba(255, 255, 255, 0.35), inset 0 -4px 8px rgba(0, 0, 0, 0.38);
  transition: transform 0.25s ease, filter 0.25s ease;
}
.nc-gest-seal:hover { transform: scale(1.06) rotate(-4deg); }
.nc-seal-rim {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px solid rgba(255, 245, 224, 0.42);
  pointer-events: none;
}
.nc-seal-mono {
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
.nc-seal-mono small {
  font-size: 11px;
  font-style: italic;
  margin: 0 1px;
}

/* 5) Razor Editorial Page Fold Folio Bar */
.nc-gest-folio {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(286px, 100%);
  padding: 12px 26px 12px 14px;
  border-radius: 0 !important;
  border: 1px solid color-mix(in srgb, var(--dio-btn, #111) 82%, transparent);
  background: var(--dio-btn, #111);
  color: var(--dio-btntxt, #fafaf8);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, letter-spacing 0.2s ease;
}
.nc-gest-folio:hover { transform: translateY(-1px); }
.nc-folio-index {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  white-space: nowrap;
  flex-shrink: 0;
  opacity: 0.72;
}
.nc-folio-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: right;
}
.nc-folio-ear {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.45) 50%, color-mix(in srgb, var(--dio-btn, #111) 60%, #000) 50%);
  pointer-events: none;
}

/* 6) Organic Botanical Dual-Wing Bloom Part */
.nc-gest-bloom {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 26px !important;
  border: 1px solid color-mix(in srgb, var(--dio-btn, #6b7b5e) 55%, transparent);
  background: var(--dio-btn, #4a5d42);
  color: var(--dio-btntxt, #fffdf9);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: visible;
  transition: transform 0.25s ease;
}
.nc-bloom-wing {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--dio-btn, #4a5d42) 55%, transparent);
  background: color-mix(in srgb, var(--dio-btn, #4a5d42) 24%, transparent);
  transform: translateY(-50%);
  transition: transform 0.32s ease, opacity 0.32s ease;
  pointer-events: none;
}
.nc-bloom-l { left: -9px; border-radius: 14px 2px 14px 2px; }
.nc-bloom-r { right: -9px; border-radius: 2px 14px 2px 14px; }
.nc-gest-bloom:hover .nc-bloom-l { transform: translate(-5px, -50%) rotate(-12deg); }
.nc-gest-bloom:hover .nc-bloom-r { transform: translate(5px, -50%) rotate(12deg); }

/* Gesture ritual firing transitions */
.nc-ritual-firing .nc-gest-orb {
  transform: scale(1.22);
  box-shadow: 0 0 42px var(--dio-btn, #e2b857);
}
.nc-ritual-firing .nc-gest-seal {
  transform: scale(1.16) rotate(-9deg);
  filter: brightness(1.15);
}
.nc-ritual-firing .nc-gest-folio .nc-folio-ear {
  width: 28px;
  height: 28px;
}
.nc-ritual-firing .nc-bloom-l { transform: translate(-22px, -50%) rotate(-24deg); opacity: 0; }
.nc-ritual-firing .nc-bloom-r { transform: translate(22px, -50%) rotate(24deg); opacity: 0; }

/* ===== v71: 6th Archetype — Artisan Linen / Cotton Paper Fiber ===== */
#coverCardBox[data-archetype="artisan"],
#mainStage[data-archetype="artisan"] > section,
#mainStage[data-archetype="artisan"] .nc-sig-module,
#mainStage[data-archetype="artisan"] .nc-sig-card,
#mainStage[data-archetype="artisan"] .reveal-item.rounded-2xl {
  border: none !important;
  border-radius: 28px !important;
  box-shadow: 0 18px 42px -18px rgba(42, 34, 24, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.38);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='90' height='90' filter='url(%23f)' opacity='0.045'/%3E%3C/svg%3E");
}
#coverCardBox[data-archetype="artisan"] .nc-dio-guestbox,
#coverCardBox[data-archetype="artisan"] .nc-gc-guestbox {
  border: none !important;
  border-radius: 28px !important;
  background: rgba(255, 250, 244, 0.42);
}
#coverCardBox[data-archetype="artisan"] .nc-dio-kicker,
#coverCardBox[data-archetype="artisan"] .nc-gc-kicker,
#mainStage[data-archetype="artisan"] h2 {
  font-weight: 300;
  letter-spacing: 0.22em;
}

/* ===== v71 Point C: 35mm Filmstrip Sprocket Holes (Editorial Gallery) ===== */
#mainStage[data-archetype="editorial"] .mySwiperGallery .swiper-slide,
#mainStage[data-archetype="editorial"] .nc-galb,
#mainStage[data-archetype="editorial"] .nc-noir-shot,
#mainStage[data-archetype="editorial"] .nc-bab-gallery > * {
  position: relative;
  border-radius: 0 !important;
  padding-top: 13px !important;
  padding-bottom: 13px !important;
  background-color: #141414 !important;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 8px, rgba(255, 255, 255, 0.85) 8px 16px, transparent 16px 24px),
    repeating-linear-gradient(90deg, transparent 0 8px, rgba(255, 255, 255, 0.85) 8px 16px, transparent 16px 24px) !important;
  background-size: 24px 5px, 24px 5px !important;
  background-position: 0 4px, 0 calc(100% - 4px) !important;
  background-repeat: repeat-x !important;
}
#mainStage[data-archetype="editorial"] .mySwiperGallery img,
#mainStage[data-archetype="editorial"] .nc-galb img,
#mainStage[data-archetype="editorial"] .nc-noir-shot img,
#mainStage[data-archetype="editorial"] .nc-bab-gallery img {
  border-radius: 0 !important;
}

/* ===== v71 Point C: Notched Ticket Mask + Oval Brass Porthole Frames (Archival) ===== */
#coverCardBox[data-archetype="archival"] .nc-dio-guestbox,
#coverCardBox[data-archetype="archival"] .nc-gc-guestbox,
#mainStage[data-archetype="archival"] .nc-sig-card {
  -webkit-mask-image:
    radial-gradient(circle 8px at 0 50%, transparent 98%, #000 100%),
    radial-gradient(circle 8px at 100% 50%, transparent 98%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(circle 8px at 0 50%, transparent 98%, #000 100%),
    radial-gradient(circle 8px at 100% 50%, transparent 98%, #000 100%);
  mask-composite: intersect;
}
#mainStage[data-archetype="archival"] .mySwiperGallery img,
#mainStage[data-archetype="archival"] .nc-galb img,
#mainStage[data-archetype="archival"] .nc-noir-shot img,
#mainStage[data-archetype="archival"] .nc-bab-gallery img {
  border-radius: 50% / 44% !important;
  border: 3px solid #c9a24d !important;
  box-shadow: 0 0 0 2px rgba(20, 14, 8, 0.82), 0 0 0 5px rgba(201, 162, 77, 0.55), inset 0 0 18px rgba(0, 0, 0, 0.45);
}

/* ===== v71 Point C: Angpao Digital Red Envelope + Tenun Divider ===== */
.nc-angpao-card {
  background: linear-gradient(155deg, #8b1111 0%, #b91c1c 56%, #680a0a 100%) !important;
  border: 1.5px solid rgba(243, 207, 122, 0.72) !important;
  box-shadow: 0 14px 30px rgba(85, 6, 6, 0.48), inset 0 0 0 4px rgba(243, 207, 122, 0.14) !important;
}
.nc-angpao-card::before {
  content: "";
  position: absolute;
  top: -26px;
  left: -10%;
  right: -10%;
  height: 52px;
  border-radius: 50%;
  border-bottom: 1.5px solid rgba(243, 207, 122, 0.55);
  background: rgba(110, 8, 8, 0.35);
  pointer-events: none;
}
.nc-angpao-seal {
  position: absolute;
  top: 12px;
  right: 48%;
  transform: translateX(50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #f5d27a;
  background: radial-gradient(circle at 35% 35%, #f5d27a, #b8821c);
  color: #6b0909;
  font-size: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.38);
  pointer-events: none;
}
.nc-tenun-divider {
  flex-wrap: wrap;
}
@media (max-width: 440px) {
  .nc-tenun-wing { width: 42px; }
}

/* ===== v73: Multi-Plane Living Diorama Vines, Vessels, Windmill & Gobo ===== */
.nc-dio-flora-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  pointer-events: none;
}
.nc-df-top-l,
.nc-df-top-r {
  position: absolute;
  top: -4px;
  width: clamp(130px, 34vw, 220px);
  transform-origin: top center;
  animation: ncLanternSway 6.2s ease-in-out infinite alternate;
}
.nc-df-top-l { left: -4px; }
.nc-df-top-r { right: -4px; transform: scaleX(-1); animation-name: ncSakuraSwayR; }

.nc-sp-windmill {
  position: absolute;
  right: 6%;
  bottom: 9%;
  width: clamp(98px, 20vw, 144px);
  height: clamp(112px, 23vw, 164px);
  opacity: 0.92;
}
.nc-sp-mill-frame {
  position: relative;
  width: 100%;
  height: 100%;
}
.nc-sp-mill-tower {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.nc-sp-mill-wheel {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 86%;
  height: 75%;
  transform-origin: center center;
  animation: ncSpinSlow 14s linear infinite;
}

.nc-sp-cloud {
  position: absolute;
  border-radius: 9999px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.34), transparent 72%);
  filter: blur(4px);
}
.nc-sp-c1 {
  top: 12%;
  left: -20%;
  width: clamp(160px, 36vw, 280px);
  height: 44px;
  animation: ncCloudDrift 26s linear infinite;
}
.nc-sp-c2 {
  top: 22%;
  left: -30%;
  width: clamp(120px, 28vw, 210px);
  height: 32px;
  animation: ncCloudDrift 34s linear -12s infinite;
}
@keyframes ncCloudDrift {
  0%   { transform: translateX(0); opacity: 0; }
  12%  { opacity: 0.72; }
  88%  { opacity: 0.72; }
  100% { transform: translateX(135vw); opacity: 0; }
}
.nc-sp-vessel {
  position: absolute;
  right: 7%;
  bottom: 14%;
  width: clamp(86px, 21vw, 136px);
  transform-origin: bottom center;
  animation: ncVesselBob 4.8s ease-in-out infinite alternate;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
}
@keyframes ncVesselBob {
  0%   { transform: translateX(0) rotate(-2.5deg) translateY(0); }
  100% { transform: translateX(-10px) rotate(2.5deg) translateY(-4px); }
}
.nc-sp-gobo {
  position: absolute;
  inset: -12%;
  background: repeating-linear-gradient(122deg, rgba(255, 248, 232, 0.14) 0 42px, transparent 42px 118px);
  mix-blend-mode: soft-light;
  animation: ncGoboBreathe 8s ease-in-out infinite alternate;
}
@keyframes ncGoboBreathe {
  0%   { transform: translate3d(-2%, -1%, 0) skewX(-2deg); opacity: 0.35; }
  100% { transform: translate3d(3%, 2%, 0) skewX(2deg); opacity: 0.78; }
}

/* ===== v73: Theatrical Multi-Layer Open-Gate Transition Theater ===== */
.nc-tr-theater {
  position: absolute;
  inset: 0;
  z-index: 32;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
}
:is(.nc-ritual-firing, #coverGate.gate-open .nc-gate-stage) .nc-tr-theater {
  opacity: 1;
}
.nc-th-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 52%;
  opacity: 0;
}
.nc-th-panel-l { left: 0; }
.nc-th-panel-r { right: 0; }

/* 1) Swipe Curtain: Songket Gold Drapes Parting Wide + Palace Light Ray */
:is(.nc-ritual-firing, #coverGate.gate-open .nc-gate-stage) .nc-tr-theater[data-gesture="swipe-curtain"] .nc-th-panel-l {
  background: linear-gradient(90deg, rgba(44, 24, 14, 0.86), rgba(145, 96, 38, 0.72) 86%, rgba(235, 198, 108, 0.92));
  border-right: 3px solid #e6c158;
  animation: ncThDrapeL 1.15s cubic-bezier(0.22, 0.9, 0.25, 1) forwards;
}
:is(.nc-ritual-firing, #coverGate.gate-open .nc-gate-stage) .nc-tr-theater[data-gesture="swipe-curtain"] .nc-th-panel-r {
  background: linear-gradient(-90deg, rgba(44, 24, 14, 0.86), rgba(145, 96, 38, 0.72) 86%, rgba(235, 198, 108, 0.92));
  border-left: 3px solid #e6c158;
  animation: ncThDrapeR 1.15s cubic-bezier(0.22, 0.9, 0.25, 1) forwards;
}
:is(.nc-ritual-firing, #coverGate.gate-open .nc-gate-stage) .nc-tr-theater[data-gesture="swipe-curtain"] .nc-th-fx {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 35% 95% at 50% 50%, rgba(255, 232, 168, 0.85), transparent 70%);
  animation: ncThFlash 0.95s ease-out forwards;
}
@keyframes ncThDrapeL { 0% { transform: translateX(0); opacity: 0.95; } 100% { transform: translateX(-105%); opacity: 0; } }
@keyframes ncThDrapeR { 0% { transform: translateX(0); opacity: 0.95; } 100% { transform: translateX(105%); opacity: 0; } }

/* 2) Tear Ticket: Brass Perforation Shear + Nautical Horizon Flare */
:is(.nc-ritual-firing, #coverGate.gate-open .nc-gate-stage) .nc-tr-theater[data-gesture="tear-ticket"] .nc-th-fx {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  border-top: 2px dashed #f0cc75;
  box-shadow: 0 0 28px 8px rgba(240, 204, 117, 0.85);
  animation: ncThTicketRip 1.05s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
}
@keyframes ncThTicketRip {
  0%   { transform: scaleX(0.05); opacity: 1; }
  45%  { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1.1) translateY(-18px); opacity: 0; }
}

/* 3) Ignite Flame: Warm Ember Radial Bloom + Rising Sparks */
:is(.nc-ritual-firing, #coverGate.gate-open .nc-gate-stage) .nc-tr-theater[data-gesture="ignite-flame"] .nc-th-fx {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 62%, rgba(255, 224, 148, 0.92), rgba(226, 132, 42, 0.56) 36%, transparent 68%);
  animation: ncThEmberBloom 1.1s ease-out forwards;
}
.nc-th-mote {
  position: absolute;
  left: calc(18% + var(--mi) * 7.1%);
  bottom: 24%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffd97d;
  box-shadow: 0 0 10px #ffb732;
}
:is(.nc-ritual-firing, #coverGate.gate-open .nc-gate-stage) .nc-th-mote {
  animation: ncThMoteRise 1.05s ease-out forwards;
}
@keyframes ncThEmberBloom { 0% { transform: scale(0.18); opacity: 0.95; } 60% { transform: scale(1.65); opacity: 0.72; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes ncThMoteRise { 0% { transform: translateY(0) scale(0.8); opacity: 1; } 100% { transform: translateY(-340px) scale(0); opacity: 0; } }

/* 4) Crack Seal & 6) Bloom Part: Pastel Petal Scatter + Arch Veil Unfurl */
:is(.nc-ritual-firing, #coverGate.gate-open .nc-gate-stage) .nc-tr-theater[data-gesture="crack-seal"] .nc-th-fx,
:is(.nc-ritual-firing, #coverGate.gate-open .nc-gate-stage) .nc-tr-theater[data-gesture="bloom-part"] .nc-th-fx {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 248, 240, 0.85), rgba(242, 198, 206, 0.25) 55%, transparent 80%);
  animation: ncThFlash 1s ease-out forwards;
}
.nc-th-petal {
  position: absolute;
  top: 46%;
  left: calc(12% + (var(--mi) * 8) * 1%);
  width: 14px;
  height: 10px;
  border-radius: 70% 10% 70% 10%;
  background: linear-gradient(135deg, #f4c6ce, #f6e7d2);
}
:is(.nc-ritual-firing, #coverGate.gate-open .nc-gate-stage) .nc-th-petal {
  animation: ncThPetalBurst 1.1s ease-out forwards;
}
@keyframes ncThPetalBurst {
  0%   { transform: translateY(0) rotate(0deg) scale(0.6); opacity: 0.95; }
  100% { transform: translateY(calc(-160px + var(--mi) * 28px)) translateX(calc((var(--mi) - 4.5) * 34px)) rotate(210deg) scale(1.1); opacity: 0; }
}

/* 5) Page Fold: Coffee-Table Editorial Spine Sheen Sweep */
:is(.nc-ritual-firing, #coverGate.gate-open .nc-gate-stage) .nc-tr-theater[data-gesture="page-fold"] .nc-th-fx {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), rgba(255, 255, 255, 0.65) 48%, rgba(212, 175, 55, 0.4) 68%, transparent);
  animation: ncThSpineWipe 1.05s cubic-bezier(0.25, 0.9, 0.3, 1) forwards;
}
@keyframes ncThSpineWipe {
  0%   { left: 100%; opacity: 0.95; }
  100% { left: -24%; opacity: 0; }
}
@keyframes ncThFlash {
  0%   { transform: scale(0.75); opacity: 0.95; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* ===== v73: Desktop Fixed Left Living Panorama Stage (>= 1024px) ===== */
.nc-desk-panorama {
  display: none;
}
@media (min-width: 1024px) {
  body.nc-desk-split .nc-desk-panorama {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 50vw;
    height: 100vh;
    z-index: 2;
    overflow: hidden;
    background: color-mix(in srgb, rgb(var(--dio-mist, 240, 236, 228)) 92%, #000 8%);
    border-right: 1px solid rgba(180, 156, 120, 0.25);
  }
  body.nc-desk-split .nc-desk-panorama .nc-diorama-depth-bg {
    transform: scale(1.07) translateY(calc(var(--pano-p, 0) * -28px));
    transition: transform 0.22s ease-out;
  }
  body.nc-desk-split .nc-dp-overlay {
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: 24px;
    z-index: 8;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 20px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(var(--dio-mist, 246, 240, 232), 0.78), rgba(var(--dio-mist, 246, 240, 232), 0.94));
    backdrop-filter: blur(10px);
    color: var(--dio-ink, #231e18);
    border: 1px solid rgba(180, 156, 120, 0.22);
    box-shadow: 0 18px 42px -16px rgba(0, 0, 0, 0.28);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }
  body:has(#coverGate:not(.gate-open):not([style*="display: none"])) .nc-desk-panorama .nc-dp-overlay {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
  }
  body.nc-desk-split .nc-desk-panorama[data-dark="true"] .nc-dp-overlay {
    border-color: rgba(246, 231, 200, 0.16);
  }
  body:has(#demoBar).nc-desk-split .nc-dp-overlay {
    bottom: 182px;
  }
  body.nc-desk-split .nc-dp-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
  }
  body.nc-desk-split .nc-dp-kicker {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--dio-sub, currentColor);
  }
  body.nc-desk-split .nc-dp-names {
    font-size: clamp(22px, 2.2vw, 32px);
    line-height: 1.15;
    margin: 0;
  }
  body.nc-desk-split .nc-dp-guest {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.82;
    margin: 2px 0 0;
  }
  body.nc-desk-split .nc-dp-chapters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid rgba(150, 130, 100, 0.2);
  }
  body.nc-desk-split .nc-dp-ch {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 9999px;
    border: 1px solid rgba(150, 130, 100, 0.26);
    background: transparent;
    color: var(--dio-sub, currentColor);
    cursor: pointer;
    transition: all 0.22s ease;
  }
  body.nc-desk-split .nc-dp-ch.is-active {
    background: var(--dio-ink, #231e18);
    color: rgb(var(--dio-mist, 250, 246, 240));
    border-color: transparent;
  }
  body.nc-desk-split #mainStage,
  body.nc-desk-split #rsvpSection,
  body.nc-desk-split > footer {
    margin-left: 50vw;
    width: 50vw;
    max-width: 50vw;
    overflow-x: clip;
  }
  body.nc-desk-split #mainStage footer {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  /* Fix nested split/multi-column Tailwind layouts squeezing inside 50vw (#mainStage ~640px) */
  body.nc-desk-split #mainStage .lg\:flex-row {
    flex-direction: column !important;
  }
  body.nc-desk-split #mainStage :is(.lg\:w-\[52\%\], .lg\:w-\[48\%\], .lg\:col-span-7, .lg\:col-span-5, .w-screen) {
    width: 100% !important;
    grid-column: 1 / -1 !important;
  }
  body.nc-desk-split #mainStage .lg\:sticky {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    min-height: 360px !important;
  }
  body.nc-desk-split #mainStage .lg\:grid-cols-12 {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.nc-desk-split #mainStage .lg\:grid-cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.nc-desk-split #mainStage .nc-bab {
    width: 100% !important;
  }
}

/* =========================================================================
   v75 PRIORITY 1: 5 DISTINCT COVER SPATIAL BLUEPRINTS (Anti-Card-Monotony)
   ========================================================================= */

#coverGate .nc-gate-stage[data-cover-model] {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* 1) BOTTOM-SCRIM PANORAMA: Zero center card, 68% open diorama, grounded scrim */
#coverGate .nc-gate-stage[data-cover-model="bottom-scrim"] {
  justify-content: flex-end !important;
  padding: 0 14px clamp(26px, 5vh, 44px) !important;
}
#coverGate .nc-gate-stage[data-cover-model="bottom-scrim"] .nc-diorama-mist-glow {
  background: linear-gradient(
    to top,
    rgba(var(--dio-mist, 245, 248, 252), 0.96) 0%,
    rgba(var(--dio-mist, 245, 248, 252), 0.86) 28%,
    rgba(var(--dio-mist, 245, 248, 252), 0.18) 52%,
    transparent 76%
  ) !important;
  opacity: 1 !important;
}
#coverGate .nc-gate-stage[data-cover-model="bottom-scrim"] #coverCardBox.nc-gate-card {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  clip-path: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  max-width: 560px;
  width: 100%;
  margin: auto auto 0 !important;
  padding: 12px 16px 8px !important;
  text-align: center;
}
#coverGate .nc-gate-stage[data-cover-model="bottom-scrim"] #coverCardBox .nc-dio-names,
#coverGate .nc-gate-stage[data-cover-model="bottom-scrim"] #coverCardBox .nc-gc-names {
  font-size: clamp(32px, 6.2vw, 52px);
  text-shadow: 0 2px 18px rgba(var(--dio-mist, 255, 255, 255), 0.72);
}
#coverGate .nc-gate-stage[data-cover-model="bottom-scrim"][data-dark="true"] #coverCardBox .nc-dio-names {
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.72);
}
#coverGate .nc-gate-stage[data-cover-model="bottom-scrim"] #coverCardBox .nc-dio-guestbox,
#coverGate .nc-gate-stage[data-cover-model="bottom-scrim"] #coverCardBox .nc-gc-guestbox {
  background: rgba(var(--dio-mist, 250, 246, 240), 0.72) !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(140, 120, 96, 0.28) !important;
  padding: 7px 18px !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 10px auto 14px !important;
}
#coverGate .nc-gate-stage[data-cover-model="bottom-scrim"] #coverCardBox .nc-dio-to {
  margin: 0;
  opacity: 0.78;
}
#coverGate .nc-gate-stage[data-cover-model="bottom-scrim"] #coverCardBox .nc-dio-guest {
  margin: 0;
  font-size: 13px;
}

/* 2) SWISS EDITORIAL POSTER: Top Masthead + Open Center + Asymmetric Bottom Block */
#coverGate .nc-gate-stage[data-cover-model="swiss-poster"] {
  justify-content: space-between !important;
  align-items: center !important;
  padding: 0 16px !important;
}
.nc-poster-masthead {
  position: relative;
  z-index: 16;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(92vw, 680px);
  margin: max(18px, env(safe-area-inset-top)) auto 0;
  flex-shrink: 0;
  padding: 9px 12px 10px;
  border-top: 1px solid rgba(128, 128, 128, 0.42);
  border-bottom: 1px solid rgba(128, 128, 128, 0.28);
  background: rgba(var(--dio-mist, 248, 248, 246), 0.78);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dio-ink, currentColor);
  backdrop-filter: blur(6px);
}
#coverGate .nc-gate-stage[data-cover-model="swiss-poster"] #coverCardBox.nc-gate-card {
  width: min(92vw, 680px);
  max-width: 680px;
  margin: auto auto max(22px, env(safe-area-inset-bottom)) !important;
  background: rgba(var(--dio-mist, 248, 248, 246), 0.9) !important;
  border: 1px solid rgba(120, 120, 114, 0.36) !important;
  border-radius: 0 !important;
  clip-path: none !important;
  box-shadow: none !important;
  padding: 20px 24px 18px !important;
  text-align: left !important;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
#coverGate .nc-gate-stage[data-cover-model="swiss-poster"] #coverCardBox .nc-arch-serial {
  align-self: flex-start;
  margin: 0 0 2px;
}
#coverGate .nc-gate-stage[data-cover-model="swiss-poster"] #coverCardBox .nc-dio-names,
#coverGate .nc-gate-stage[data-cover-model="swiss-poster"] #coverCardBox .nc-gc-names {
  font-size: clamp(30px, 5.4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-align: left;
  margin: 4px 0 6px;
}
#coverGate .nc-gate-stage[data-cover-model="swiss-poster"] #coverCardBox .nc-dio-date {
  text-align: left;
  letter-spacing: 0.2em;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(120, 120, 114, 0.28);
}
#coverGate .nc-gate-stage[data-cover-model="swiss-poster"] #coverCardBox .nc-dio-guestbox {
  border-radius: 0 !important;
  border: none !important;
  border-left: 2px solid var(--dio-ink, #141413) !important;
  background: transparent !important;
  padding: 4px 0 4px 12px !important;
  margin: 6px 0 12px !important;
  text-align: left;
}
#coverGate .nc-gate-stage[data-cover-model="swiss-poster"] #coverCardBox .nc-gest-wrap {
  justify-content: flex-start;
  align-items: flex-start;
}
#coverGate .nc-gate-stage[data-cover-model="swiss-poster"] #coverCardBox .nc-dio-tr-pill {
  align-self: flex-start;
}

/* 3) MUSEUM KEYHOLE MAT: Arch Window Passe-Partout Frame + Seated Linen Foot */
#coverGate .nc-gate-stage[data-cover-model="keyhole-mat"] {
  background: rgb(var(--dio-mist, 248, 246, 241)) !important;
  justify-content: flex-end !important;
  padding: clamp(16px, 3.2vw, 32px) clamp(14px, 3.4vw, 32px) clamp(26px, 4.5vh, 40px) !important;
}
#coverGate .nc-gate-stage[data-cover-model="keyhole-mat"] .nc-diorama-bg {
  inset: clamp(16px, 3.2vw, 32px) clamp(18px, 5vw, 64px) clamp(230px, 34vh, 290px);
  border-radius: 999px 999px 18px 18px;
  overflow: hidden;
  border: 1px solid rgba(154, 134, 108, 0.34);
  box-shadow: inset 0 0 38px rgba(var(--dio-mist, 248, 246, 241), 0.38), 0 18px 40px -24px rgba(0, 0, 0, 0.25);
}
#coverGate .nc-gate-stage[data-cover-model="keyhole-mat"] .nc-diorama-mist-glow {
  background: linear-gradient(to top, rgba(var(--dio-mist, 248, 246, 241), 0.85) 0%, transparent 28%);
}
#coverGate .nc-gate-stage[data-cover-model="keyhole-mat"][data-dark="true"] .nc-diorama-bg {
  border-color: rgba(212, 175, 55, 0.34);
}
#coverGate .nc-gate-stage[data-cover-model="keyhole-mat"] #coverCardBox.nc-gate-card {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  clip-path: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  margin: auto auto 0 !important;
  padding: 12px 16px 6px !important;
  max-width: 500px;
}
#coverGate .nc-gate-stage[data-cover-model="keyhole-mat"] #coverCardBox .nc-dio-guestbox {
  background: rgba(var(--dio-mist, 248, 246, 241), 0.72) !important;
  border: 1px dashed rgba(150, 128, 102, 0.42) !important;
  border-radius: 14px !important;
}

/* 4) BOARDING FOLIO: Horizontal Ledger Slip with Perforated Seam */
#coverGate .nc-gate-stage[data-cover-model="boarding-folio"] {
  justify-content: flex-end !important;
  padding: 0 14px clamp(18px, 4vh, 36px) !important;
}
#coverGate .nc-gate-stage[data-cover-model="boarding-folio"] #coverCardBox.nc-gate-card {
  max-width: 540px !important;
  width: min(92vw, 540px) !important;
  margin: auto auto 0 !important;
  border-radius: 10px !important;
  clip-path: none !important;
  border: 1.5px solid rgba(203, 176, 123, 0.56) !important;
  background: rgba(var(--dio-mist, 243, 234, 218), 0.94) !important;
  box-shadow: 0 24px 54px -18px rgba(0, 0, 0, 0.55), inset 0 0 0 4px rgba(var(--dio-mist, 243, 234, 218), 0.6), inset 0 0 0 5px rgba(203, 176, 123, 0.32) !important;
  padding: 18px 22px 16px !important;
}
#coverGate .nc-gate-stage[data-cover-model="boarding-folio"][data-dark="true"] #coverCardBox.nc-gate-card {
  background: rgba(16, 20, 28, 0.92) !important;
}

/* 5) CREST ALTAR: Full-Height Ceremonial Border + Grounded Placard */
.nc-altar-frame {
  position: absolute;
  inset: clamp(10px, 2vw, 20px);
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 20px;
  pointer-events: none;
  z-index: 9;
}
.nc-altar-frame > span {
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 15px;
}
#coverGate .nc-gate-stage[data-cover-model="crest-altar"] {
  justify-content: flex-end !important;
  padding: 0 14px clamp(22px, 4.5vh, 42px) !important;
}
#coverGate .nc-gate-stage[data-cover-model="crest-altar"] #coverCardBox.nc-gate-card {
  margin: auto auto 0 !important;
  border-radius: 18px 18px 14px 14px !important;
  padding: 18px 22px 16px !important;
}

/* =========================================================================
   v75 PRIORITY 1: KINETIC INTERIOR MODULES (Deck, Tabs, RSVP Stamp, Reveals)
   ========================================================================= */

/* Archetype-distinct .reveal-item clip & settle kinetics */
#mainStage[data-archetype="editorial"] .reveal-item:not(.active) {
  clip-path: inset(0 0 18% 0);
  transform: translateY(14px);
}
#mainStage[data-archetype="editorial"] .reveal-item.active {
  clip-path: inset(0 0 0 0);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), clip-path 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
#mainStage[data-archetype="archival"] .reveal-item:not(.active) {
  transform: translateY(18px) scale(0.985);
}
#mainStage[data-archetype="royal"] .reveal-item:not(.active) {
  clip-path: inset(0 12% 0 12%);
  transform: translateY(20px);
}
#mainStage[data-archetype="royal"] .reveal-item.active {
  clip-path: inset(0 0 0 0);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), clip-path 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Interactive Protocol / Procession Step Tabs (.nc-sig-tabs) */
.nc-sig-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 10px;
}
.nc-sig-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  border: 1px solid var(--sig-border, rgba(160, 140, 110, 0.35));
  background: transparent;
  color: var(--sig-muted, currentColor);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.24s ease;
}
.nc-sig-tab-num {
  opacity: 0.65;
  font-family: ui-monospace, monospace;
}
.nc-sig-tab.is-active {
  background: var(--sig-acc, #7A4E28);
  color: #fff;
  border-color: transparent;
}
.nc-sig-module[data-interactive-sig="true"] .nc-sig-row {
  opacity: 0.56;
  transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  padding: 8px 10px;
  border-radius: 10px;
  border-left: 2px solid transparent;
}
.nc-sig-module[data-interactive-sig="true"] .nc-sig-row.is-active {
  opacity: 1;
  border-left-color: var(--sig-acc, #7A4E28);
  background: rgba(160, 140, 110, 0.08);
  transform: translateX(3px);
}
.nc-sig-swatch-btn {
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.nc-sig-swatch-btn.is-picked {
  border-color: var(--sig-acc, #7A4E28) !important;
  box-shadow: 0 0 0 1px var(--sig-acc, #7A4E28);
  transform: translateY(-1px);
}
.nc-sig-swatch-readout {
  flex-basis: 100%;
  font-size: 10.5px;
  color: var(--sig-muted, currentColor);
  margin-top: 4px;
}

/* Interactive Swipable Postcard / Polaroid Stack (.nc-deck-wrap) */
.nc-deck-wrap {
  max-width: 340px;
  margin: 0 auto;
  user-select: none;
}
.nc-deck-stack {
  position: relative;
  height: 318px;
  margin-bottom: 14px;
  perspective: 1100px;
}
.nc-deck-card {
  position: absolute;
  inset: 0;
  margin: auto;
  background: #FAF8F4;
  color: #1C1917;
  padding: 10px 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(130, 112, 92, 0.28);
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.34);
  transform-origin: center bottom;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.36s ease;
  transform:
    translate3d(calc(var(--di, 0) * 6px), calc(var(--di, 0) * -6px), calc(var(--di, 0) * -28px))
    rotate(calc((var(--di, 0) - 0.5) * 2.4deg));
  z-index: calc(10 - var(--di, 0));
  opacity: calc(1 - var(--di, 0) * 0.14);
  pointer-events: none;
  touch-action: pan-y;
}
.nc-deck-card.is-front {
  pointer-events: auto;
  cursor: grab;
  transform: translate3d(var(--drag-x, 0px), -4px, 0) rotate(var(--drag-r, 0deg));
}
.nc-deck-card.is-dragging {
  transition: none;
  cursor: grabbing;
}
.nc-deck-section[data-archetype="editorial"] .nc-deck-card {
  border-radius: 2px;
  background: #141413;
  color: #F4F4F2;
  border-color: rgba(255, 255, 255, 0.2);
}
.nc-deck-section[data-archetype="archival"] .nc-deck-card {
  border-radius: 6px;
  background: #F4EAD6;
  border: 1.5px solid #B89862;
}
.nc-deck-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.nc-deck-section[data-archetype="editorial"] .nc-deck-img-wrap { border-radius: 0; }
.nc-deck-zoom {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(16, 16, 16, 0.58);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nc-deck-cap {
  text-align: left;
  padding: 10px 4px 0;
}
.nc-deck-step {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  opacity: 0.65;
  display: block;
}
.nc-deck-text {
  font-size: 12.5px;
  font-weight: 700;
  margin-top: 2px;
}
.nc-deck-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.nc-deck-btn {
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(150, 130, 100, 0.4);
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nc-deck-btn:hover { transform: translateY(-1px); opacity: 0.85; }
.nc-deck-counter {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-family: ui-monospace, monospace;
}

/* Embossed RSVP Keepsake Stamp Card (.nc-rsvp-stamp-card) */
.nc-rsvp-stamp-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  margin: 0 0 16px;
  border-radius: 14px;
  border: 1.5px dashed var(--stamp-acc, #D4AF37);
  background: color-mix(in srgb, var(--stamp-acc, #D4AF37) 10%, transparent);
  text-align: left;
}
.nc-rsvp-stamp-kicker {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--stamp-acc, #D4AF37);
  display: block;
}
.nc-rsvp-stamp-name {
  font-size: 14px;
  font-weight: 800;
  margin: 2px 0 0;
}
.nc-rsvp-stamp-date {
  font-size: 10.5px;
  opacity: 0.78;
  margin: 0;
}
.nc-rsvp-seal {
  width: 58px;
  height: 58px;
  border-radius: 9999px;
  border: 2px double var(--stamp-acc, #D4AF37);
  color: var(--stamp-acc, #D4AF37);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 10px;
  letter-spacing: 0.14em;
  transform: rotate(-10deg);
  flex-shrink: 0;
  animation: ncSealStampIn 0.45s cubic-bezier(0.22, 1.35, 0.36, 1) forwards;
}
.nc-rsvp-seal small { font-size: 9px; font-weight: 700; opacity: 0.86; }
@keyframes ncSealStampIn {
  0%   { transform: scale(1.65) rotate(-24deg); opacity: 0; }
  100% { transform: scale(1) rotate(-10deg); opacity: 1; }
}

/* =========================================================================
   v75 PRIORITY 3: OPTICAL LIGHT PHYSICS & WATERCOLOR DEPTH (Zero Flat SVG Circles)
   ========================================================================= */
.nc-dio-botanical-depth {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}
.nc-dbd-glow {
  position: absolute;
  width: 44%;
  height: 44%;
  bottom: -10%;
  border-radius: 9999px;
  filter: blur(28px);
  opacity: 0.34;
}
.nc-dbd-bl {
  left: -10%;
  background: radial-gradient(circle, var(--fl-petal, #F2D6CE), var(--fl-leaf, #5E7D60) 56%, transparent 76%);
}
.nc-dbd-br {
  right: -10%;
  background: radial-gradient(circle, var(--fl-warm, #F4DFD1), var(--fl-leaf, #5E7D60) 58%, transparent 78%);
}
.nc-dbd-canopy {
  position: absolute;
  top: -12%;
  left: 10%;
  right: 10%;
  height: 26%;
  background: radial-gradient(ellipse at 50% 0%, var(--fl-leaf, #5E7D60), transparent 72%);
  opacity: 0.22;
  filter: blur(18px);
}
.nc-dio-raster-corner {
  position: absolute;
  top: 0;
  width: clamp(110px, 24vw, 190px);
  opacity: 0.62;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.nc-drc-l { left: 0; }
.nc-drc-r { right: 0; transform: scaleX(-1); }

/* Water Caustics & Breeze的光 Physics */
.nc-sp-caustics {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 46% 18% at 28% 72%, rgba(255, 255, 255, 0.22), transparent 65%),
    radial-gradient(ellipse 38% 16% at 74% 80%, rgba(190, 232, 255, 0.2), transparent 68%);
  mix-blend-mode: screen;
  animation: ncCausticsDrift 9s ease-in-out infinite alternate;
}
.nc-sp-caustics-dark {
  opacity: 0.62;
}
@keyframes ncCausticsDrift {
  0%   { transform: translate3d(-2%, 0, 0) scale(1); }
  100% { transform: translate3d(3%, -2%, 0) scale(1.06); }
}

.nc-sp-firelight {
  position: absolute;
  border-radius: 9999px;
  filter: blur(22px);
  mix-blend-mode: screen;
  animation: ncFireBreath 3.6s ease-in-out infinite alternate;
}
.nc-sp-fl-1 {
  left: 8%;
  top: 16%;
  width: 44%;
  height: 44%;
  background: radial-gradient(circle, var(--fl-core, rgba(255, 220, 140, 0.28)), var(--fl-tint, rgba(255, 160, 68, 0.24)) 52%, transparent 74%);
}
.nc-sp-fl-2 {
  right: 6%;
  bottom: 18%;
  width: 42%;
  height: 42%;
  animation-delay: -1.6s;
  background: radial-gradient(circle, var(--fl-tint, rgba(255, 160, 68, 0.24)), transparent 72%);
}
@keyframes ncFireBreath {
  0%   { transform: scale(0.94); opacity: 0.62; }
  100% { transform: scale(1.08); opacity: 1; }
}

.nc-sp-dappled-shade {
  position: absolute;
  inset: -14%;
  background: repeating-linear-gradient(114deg, rgba(255, 232, 238, 0.18) 0 36px, transparent 36px 96px);
  mix-blend-mode: soft-light;
  animation: ncGoboBreathe 7.5s ease-in-out infinite alternate;
}
.nc-sp-breeze-ray {
  position: absolute;
  inset: -8%;
  background: linear-gradient(128deg, rgba(255, 246, 224, 0.16) 0%, transparent 48%, rgba(255, 224, 210, 0.12) 100%);
  mix-blend-mode: screen;
  animation: ncGoboBreathe 6.5s ease-in-out infinite alternate;
}

/* ==========================================================================
   LIVING CANVAS WORLD, SECTION ETCHINGS & TRANSLUCENT ATMOSPHERE (v77)
   ========================================================================== */
#mainStage {
  position: relative;
  z-index: 2;
}

.nc-living-stage {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: rgb(var(--ls-bg, 248, 243, 235));
  transition: opacity 0.45s ease;
}

body:has(#coverGate:not(.gate-open):not([style*="display: none"])) #ncLivingStage {
  opacity: 0;
}

@media (min-width: 1024px) {
  body.nc-desk-split .nc-living-stage {
    left: 50%;
    right: 0;
    width: auto;
  }
}

.nc-ls-art {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  opacity: 0.44;
  filter: saturate(0.95) blur(1px);
  transform-origin: center center;
  animation: ncLivingBreath 24s ease-in-out infinite alternate;
}

.nc-living-stage[data-dark="true"] .nc-ls-art {
  opacity: 0.34;
  filter: saturate(0.9) contrast(1.06) blur(1px);
}

@keyframes ncLivingBreath {
  0%   { transform: scale(1.03) translate3d(-1%, -0.8%, 0); }
  100% { transform: scale(1.10) translate3d(1.2%, 0.8%, 0); }
}

.nc-ls-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 68% 78% at 50% 45%, rgba(var(--ls-bg, 248, 243, 235), var(--ls-veil-mid, 0.62)) 0%, rgba(var(--ls-bg, 248, 243, 235), var(--ls-veil-edge, 0.78)) 100%);
}

.nc-living-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.nc-ls-rays {
  position: absolute;
  inset: -12%;
  pointer-events: none;
  background: radial-gradient(circle at 22% 18%, rgba(var(--ls-acc, 168, 133, 63), 0.14), transparent 52%);
  mix-blend-mode: soft-light;
  animation: ncGoboBreathe 11s ease-in-out infinite alternate;
}

/* Center Card + Dock & Fullscreen Carousel: dunia hidup + dock menempel rapi di atas demo bar */
.nc-dock-world {
  background: transparent !important;
}

.nc-dock-nav {
  position: sticky;
  bottom: calc(var(--nc-demo-bar-h, 0px) + 14px);
  z-index: 40;
}

.nc-carousel-shell {
  height: calc(100svh - var(--nc-demo-hdr-h, 0px) - var(--nc-demo-bar-h, 0px));
  min-height: 520px;
}

.nc-cl-sec {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nc-cl[data-dark="true"] .nc-cl-greeting-sub,
.nc-cl[data-dark="true"] .nc-cl-to,
.nc-cl[data-dark="true"] .nc-cl-kicker {
  color: rgba(245, 239, 232, 0.78);
}
.nc-cl[data-dark="true"] .nc-cl-count > div,
.nc-cl[data-dark="true"] .nc-cl-event {
  background: rgba(24, 19, 14, 0.72);
  border-color: rgba(212, 175, 55, 0.28);
  color: #FAF7F2;
}

.nc-dock-paper {
  box-shadow: 0 28px 70px -18px rgba(24, 18, 12, 0.28), 0 0 0 1px rgba(var(--ls-acc, 168, 133, 63), 0.14);
}

.nc-frosted-card {
  backdrop-filter: blur(10px) saturate(1.06);
  -webkit-backdrop-filter: blur(10px) saturate(1.06);
  box-shadow: 0 10px 30px -12px rgba(22, 16, 12, 0.14);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.nc-frosted-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -14px rgba(22, 16, 12, 0.2);
}

/* Sketsa Etching Pen-and-Ink / Arsitektur Halus di Latar Seksi */
.nc-sec-etching {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  opacity: 0.13;
}
.nc-sec-etching svg {
  position: absolute;
  width: min(460px, 92%);
  height: 240px;
}
.nc-sec-etching.nc-etch-bismillah svg { right: -4%; bottom: -8%; }
.nc-sec-etching.nc-etch-couple svg { left: -4%; top: 4%; transform: scaleX(-1); }
.nc-sec-etching.nc-etch-acara svg { right: -2%; top: -4%; }
.nc-sec-etching.nc-etch-keepsake svg { left: -3%; bottom: 6%; opacity: 0.9; }

/* Diferensiasi Bingkai Countdown per Arketipe */
#mainStage[data-archetype="editorial"] .nc-cd-box,
#mainStage[data-archetype="monochrome"] .nc-cd-box {
  border-radius: 0px !important;
  border-top-width: 2px;
  box-shadow: none;
  backdrop-filter: blur(8px);
}
#mainStage[data-archetype="adat"] .nc-cd-box,
#mainStage[data-archetype="royal"] .nc-cd-box,
#mainStage[data-archetype="nocturnal"] .nc-cd-box {
  border-radius: 44% 44% 12px 12px / 24% 24% 12px 12px !important;
  backdrop-filter: blur(8px);
}
#mainStage[data-archetype="archival"] .nc-cd-box {
  border-radius: 6px !important;
  border-style: double;
  backdrop-filter: blur(8px);
}
#mainStage[data-archetype="organic"] .nc-cd-box {
  border-radius: 22px !important;
  backdrop-filter: blur(8px);
}

@media (prefers-reduced-motion: reduce) {
  .nc-ls-art,
  .nc-ls-rays,
  .nc-cb-halo,
  .nc-qd-audio.is-playing .nc-qd-disc,
  .nc-qd-audio.is-playing .nc-qd-eq i {
    animation: none !important;
  }
  .nc-living-canvas,
  .nc-foreground-canvas {
    display: none;
  }
}

/* Hilangkan sisa overhang 22px dari #mainStage.pb-40 saat mode penuh layar (slide-carousel / bab-per-bab) */
#mainStage:has(.nc-bab, .nc-carousel-shell) {
  padding-bottom: 0 !important;
  min-height: 0 !important;
}

/* Sembunyikan chrome panggung saat sampul penutup masih terkunci */
body:has(#coverGate:not(.gate-open):not([style*="display: none"])) #ncScrollRibbon,
body:has(#coverGate:not(.gate-open):not([style*="display: none"])) #ncForegroundCanvas,
body:has(#coverGate:not(.gate-open):not([style*="display: none"])) #ncQuickDock {
  opacity: 0;
  pointer-events: none;
}

/* Pita Progres Baca Atas (3-Plane Reading Ribbon) */
.nc-scroll-ribbon {
  position: fixed;
  top: var(--nc-demo-hdr-h, 0px);
  left: 0;
  right: 0;
  height: 3px;
  z-index: 55;
  pointer-events: none;
  background: rgba(128, 128, 128, 0.12);
  transition: opacity 0.35s ease;
}
.nc-scroll-ribbon > span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--sr-acc, #D4AF37), color-mix(in srgb, var(--sr-acc, #D4AF37) 65%, #ffffff));
  box-shadow: 0 0 8px color-mix(in srgb, var(--sr-acc, #D4AF37) 55%, transparent);
}

/* Canvas Depan 1.45x Parallax Bokeh / Kelopak (dibatasi di belakang teks utama agar tak mengganggu keterbacaan) */
.nc-foreground-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* Quick Utility Dock (2 Tombol: Lompat Bab & Piringan Audio + EQ) */
.nc-quick-dock {
  position: fixed;
  right: 16px;
  bottom: calc(var(--nc-demo-bar-h, 0px) + 16px);
  z-index: 54;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.35s ease, bottom 0.25s ease;
}
.nc-qd-btn {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--qd-bg, rgba(24, 20, 16, 0.9));
  color: var(--qd-fg, #FAF7F2);
  border: 1px solid var(--qd-bd, rgba(212, 175, 55, 0.35));
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
}
.nc-qd-btn:hover {
  transform: translateY(-2px);
  border-color: var(--qd-acc, #D4AF37);
}
.nc-qd-disc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--qd-acc, #D4AF37);
}
.nc-qd-audio.is-playing .nc-qd-disc {
  animation: ncVinylSpin 4.5s linear infinite;
}
.nc-qd-eq {
  position: absolute;
  bottom: 5px;
  right: 5px;
  display: inline-flex;
  align-items: flex-end;
  gap: 1.5px;
  height: 8px;
  opacity: 0.45;
}
.nc-qd-eq i {
  width: 2px;
  height: 3px;
  border-radius: 1px;
  background: var(--qd-acc, #D4AF37);
  display: block;
}
.nc-qd-audio.is-playing .nc-qd-eq {
  opacity: 1;
}
.nc-qd-audio.is-playing .nc-qd-eq i:nth-child(1) { animation: ncEqPulse 0.65s ease-in-out infinite alternate; }
.nc-qd-audio.is-playing .nc-qd-eq i:nth-child(2) { animation: ncEqPulse 0.48s 0.14s ease-in-out infinite alternate; }
.nc-qd-audio.is-playing .nc-qd-eq i:nth-child(3) { animation: ncEqPulse 0.72s 0.28s ease-in-out infinite alternate; }

@keyframes ncVinylSpin { to { transform: rotate(360deg); } }
@keyframes ncEqPulse { from { height: 3px; } to { height: 9px; } }

.nc-quick-popover {
  position: absolute;
  right: 0;
  bottom: 48px;
  min-width: 176px;
  padding: 6px;
  border-radius: 14px;
  background: var(--qd-bg, rgba(24, 20, 16, 0.94));
  color: var(--qd-fg, #FAF7F2);
  border: 1px solid var(--qd-bd, rgba(212, 175, 55, 0.35));
  box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nc-quick-popover button {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 10px;
  border-radius: 9px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nc-quick-popover button:hover {
  background: color-mix(in srgb, var(--qd-acc, #D4AF37) 18%, transparent);
  color: var(--qd-acc, #D4AF37);
}

/* Paralaks Mikro Berbasis Scroll Depth Tanpa Bentrok Dengan Hover Transform */
[data-scroll-depth] {
  translate: 0 var(--nc-sd-y, 0px);
}

/* Segel Inisial Jembatan Antara Kartu Mempelai Pria & Wanita */
.nc-couple-bridge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: -18px auto;
  border-radius: 9999px;
  position: relative;
  z-index: 25;
  background: var(--cb-bg, rgba(24, 20, 16, 0.94));
  border: 1px solid color-mix(in srgb, var(--cb-acc, #D4AF37) 55%, transparent);
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.45);
}
@media (min-width: 768px) {
  .nc-couple-bridge {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
  }
}
.nc-cb-halo {
  position: absolute;
  inset: -6px;
  border-radius: 9999px;
  border: 1px dashed color-mix(in srgb, var(--cb-acc, #D4AF37) 55%, transparent);
  animation: ncVinylSpin 18s linear infinite;
  pointer-events: none;
}
.nc-cb-monogram {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cb-acc, #D4AF37);
}
.nc-cb-monogram em {
  font-style: italic;
  font-weight: 400;
  margin: 0 2px;
  opacity: 0.85;
}

/* Kilau Spekular Halus di Dalam Bingkai Arsitektur Mempelai */
.nc-portrait-sheen [class*="nc-frame-"][class*="-inner"] {
  position: relative;
  overflow: hidden;
}
.nc-portrait-sheen [class*="nc-frame-"][class*="-inner"]::after {
  content: "";
  position: absolute;
  inset: -20% -60%;
  background: linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, 0.24) 48%, rgba(255, 255, 255, 0.04) 55%, transparent 64%);
  transform: translateX(-65%);
  transition: transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.nc-portrait-sheen:hover [class*="nc-frame-"][class*="-inner"]::after {
  transform: translateX(65%);
}

/* Tampilan Tanggal Editorial Split Ala Syar'i-04 */
.nc-cal-split {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 16px;
  border-top: 1px solid color-mix(in srgb, var(--cs-acc, #D4AF37) 35%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--cs-acc, #D4AF37) 35%, transparent);
}
.nc-cs-day {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cs-acc, #D4AF37);
}
.nc-cs-num {
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  padding: 0 12px;
  border-left: 1px solid color-mix(in srgb, var(--cs-acc, #D4AF37) 40%, transparent);
  border-right: 1px solid color-mix(in srgb, var(--cs-acc, #D4AF37) 40%, transparent);
  color: var(--cs-fg, inherit);
}
.nc-cs-my {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}
.nc-cs-my b {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cs-fg, inherit);
}
.nc-cs-my small {
  font-size: 11px;
  color: var(--cs-mut, inherit);
  opacity: 0.8;
}

/* Garis Timeline Menyala Mengikuti Scroll */
.nc-tl-spine-bg {
  position: absolute;
  left: 12px;
  top: 14px;
  bottom: 18px;
  width: 2px;
  background: color-mix(in srgb, var(--tl-acc, #D4AF37) 22%, transparent);
  border-radius: 9999px;
  overflow: hidden;
  pointer-events: none;
}
@media (min-width: 640px) {
  .nc-tl-spine-bg { left: 14px; }
}
.nc-tl-spine-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--tl-acc, #D4AF37), color-mix(in srgb, var(--tl-acc, #D4AF37) 55%, #ffffff));
  transform: scaleY(0);
  transform-origin: top center;
}
.nc-tl-item .nc-tl-node {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.nc-tl-item.is-lit .nc-tl-node {
  transform: scale(1.22);
  background: var(--tl-acc, #D4AF37) !important;
  box-shadow: 0 0 16px color-mix(in srgb, var(--tl-acc, #D4AF37) 85%, transparent) !important;
}
.nc-tl-item.is-lit .nc-tl-card {
  border-color: color-mix(in srgb, var(--tl-acc, #D4AF37) 75%, transparent) !important;
}

/* Detak Taktile Angka Detik Countdown */
.nc-cd-tick {
  display: inline-block;
  animation: ncCdTickAnim 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes ncCdTickAnim {
  0% { transform: translateY(-3px) scale(1.08); }
  100% { transform: translateY(0) scale(1); }
}

/* Low-Poly Metallic Sheen untuk Kartu Amplop Digital */
.nc-atm-poly {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.nc-atm-metallic::after {
  content: "";
  position: absolute;
  inset: -30% -70%;
  background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.18) 49%, transparent 62%);
  transform: translateX(-60%);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 2;
}
.nc-atm-metallic:hover::after {
  transform: translateX(60%);
}

/* Kartu Mempelai Model Editorial / Deluxe Full-Bleed Glass Overlay */
.nc-couple-deluxe {
  min-height: 520px;
}
.nc-couple-deluxe .nc-deluxe-bg {
  position: absolute;
  inset: 0;
}
.nc-couple-deluxe .nc-deluxe-bg img {
  object-position: 50% 16% !important;
}
.nc-couple-deluxe .nc-deluxe-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 14, 22, 0.04) 0%, rgba(12, 14, 22, 0.12) 45%, var(--dlx-fade, rgba(16, 16, 22, 0.94)) 82%);
}
.nc-couple-deluxe .nc-deluxe-glass {
  position: relative;
  z-index: 10;
  margin-top: auto;
  padding: 14px 16px !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nc-couple-deluxe .nc-deluxe-glass h3 {
  font-size: clamp(1.05rem, 1.45vw, 1.38rem) !important;
  line-height: 1.16 !important;
  margin-bottom: 6px !important;
}
.nc-couple-deluxe .nc-deluxe-glass p {
  font-size: 11.5px !important;
  line-height: 1.4 !important;
  margin-bottom: 8px !important;
}
.nc-couple-deluxe .nc-deluxe-glass > p:first-child {
  font-size: 9px !important;
  margin-bottom: 4px !important;
}
.nc-couple-deluxe .nc-deluxe-glass .h-px {
  margin-bottom: 8px !important;
}
.nc-couple-deluxe .nc-deluxe-glass a {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  font-size: 11px !important;
}

/* Modal e-Invitation QR Check-In Pass */
.nc-checkin-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.nc-ci-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 14, 0.68);
  backdrop-filter: blur(6px);
}
.nc-ci-card {
  position: relative;
  z-index: 2;
  width: min(390px, 100%);
  border-radius: 24px;
  border: 1px solid;
  box-shadow: 0 28px 64px -16px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}
.nc-ci-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid;
}
.nc-ci-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
}
.nc-ci-close {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  cursor: pointer;
}
.nc-ci-close:hover { opacity: 1; }
.nc-ci-body {
  padding: 20px 20px 22px;
  text-align: center;
}
.nc-ci-couple { font-size: 24px; font-weight: 700; line-height: 1.15; }
.nc-ci-date { font-size: 11px; margin-top: 4px; }
.nc-ci-qr-box {
  width: 148px;
  height: 148px;
  margin: 16px auto 14px;
  padding: 10px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.35);
}
.nc-ci-guest-lbl { font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; }
.nc-ci-guest { font-size: 20px; font-weight: 700; margin-top: 2px; }
.nc-ci-venue { font-size: 11px; margin-top: 4px; }
.nc-ci-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.nc-ci-dl {
  flex: 1;
  padding: 10px 14px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.nc-ci-done {
  padding: 10px 14px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.nc-qp-pass {
  border-top: 1px solid rgba(128, 128, 128, 0.22);
  margin-top: 2px;
  padding-top: 8px !important;
  color: var(--qd-acc, #D4AF37);
}

/* =========================================================================
   v84 REVISI TEMA + KEKONDANGAN MOTION & KINETIC MICRO-CHOREOGRAPHY
   ========================================================================= */

/* 1. Samawa Grand Signature (crest-center): Restorasi kartu segi delapan terpusat di atas konservatori full-bleed */
#coverGate .nc-gate-stage[data-cover-model="crest-center"] {
  justify-content: center !important;
  align-items: center !important;
  padding: clamp(20px, 4vh, 42px) 16px !important;
}
#coverGate .nc-gate-stage[data-cover-model="crest-center"] #coverCardBox.nc-gate-card {
  margin: auto !important;
  max-width: 470px;
  width: min(90vw, 470px) !important;
  padding: 28px 26px 24px !important;
  background: rgba(250, 248, 242, 0.86) !important;
  backdrop-filter: blur(12px) saturate(1.1) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.1) !important;
  box-shadow: 0 28px 64px -18px rgba(10, 24, 18, 0.34), inset 0 0 0 1px rgba(30, 82, 61, 0.14) !important;
}
#coverGate .nc-gate-stage[data-cover-model="crest-center"] #coverCardBox .nc-dio-tr-pill {
  margin-top: 10px;
  opacity: 0.78;
}

/* 2. Smooth Dissolve Sweep saat fade (terutama Samawa Signature tanpa lingkaran hijau) */
#mainStage:is([data-tr="fade"]) section.has-sweep > .nc-sweep {
  background: radial-gradient(circle at 50% 42%, rgba(250, 248, 242, 0.82), rgba(244, 241, 234, 0.94)) !important;
}
#mainStage[data-dark="true"]:is([data-tr="fade"]) section.has-sweep > .nc-sweep {
  background: radial-gradient(circle at 50% 42%, rgba(22, 20, 18, 0.82), rgba(14, 12, 10, 0.94)) !important;
}

/* 3. Terracotta Botanical & Hero Petals — bingkai sisi kanan-kiri saja agar countdown & nama tamu 100% bersih */
.nc-sa-hero .nc-scenic-stage .nc-diorama-canvas {
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.22) 15%, transparent 25%, transparent 75%, rgba(0,0,0,0.22) 85%, rgba(0,0,0,0.92) 100%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.22) 15%, transparent 25%, transparent 75%, rgba(0,0,0,0.22) 85%, rgba(0,0,0,0.92) 100%);
}
.nc-sa-hero .nc-sa-count .nc-sa-chip {
  position: relative;
  z-index: 9;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* 4. Adaptasi Kekondangan Motion: Staggered section children, Ken Burns potret, sheen tombol & milestone pulse */
@keyframes ncKekondanganRise {
  0% { opacity: 0.08; transform: translate3d(0, 16px, 0) scale(0.985); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes ncArchKenBurns {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.045) translate3d(0, -1.2%, 0); }
}
@keyframes ncCrestGleam {
  0%, 72% { transform: translateX(-140%) skewX(-20deg); opacity: 0; }
  84% { opacity: 0.42; }
  100% { transform: translateX(220%) skewX(-20deg); opacity: 0; }
}
@keyframes ncMilestonePulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--tl-acc, var(--sk, #D4AF37)) 55%, transparent); }
  70% { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

#mainStage.nc-kinetics-on :is(section.has-sweep.active, .reveal-item.active, .nc-sa-sec.active, .nc-cl-sec.active) > [style*="--nc-stagger-i"],
#mainStage.nc-kinetics-on :is(.nc-sa-events, .nc-sa-story, .nc-cl-events) > [style*="--nc-stagger-i"] {
  animation: ncKekondanganRise 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--nc-stagger-i, 0) * 80ms);
}

/* 5. Koreografi & Gaya Khas Per Arketipe Tema (Kekondangan & Galeri Undangan) */
@keyframes ncArchRoyalWingL {
  0% { opacity: 0; transform: translate3d(-26px, 8px, 0) scale(0.97); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes ncArchRoyalWingR {
  0% { opacity: 0; transform: translate3d(26px, 8px, 0) scale(0.97); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes ncArchOrganicBloom {
  0% { opacity: 0; transform: translate3d(0, 18px, 0) scale(0.92) rotate(-1.2deg); }
  65% { opacity: 1; transform: translate3d(0, -2px, 0) scale(1.015) rotate(0.3deg); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
}
@keyframes ncArchEditorialWipe {
  0% { opacity: 0.15; clip-path: inset(0 100% 0 0); transform: translate3d(-10px, 0, 0); }
  100% { opacity: 1; clip-path: inset(0 0 0 0); transform: translate3d(0, 0, 0); }
}
@keyframes ncArchNocturnalReveal {
  0% { opacity: 0; filter: blur(6px); transform: translate3d(0, 14px, 0) scale(0.98); }
  100% { opacity: 1; filter: blur(0px); transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes ncArchArchivalUnfold {
  0% { opacity: 0; transform: perspective(760px) rotateX(-11deg) translate3d(0, 14px, 0); }
  100% { opacity: 1; transform: perspective(760px) rotateX(0deg) translate3d(0, 0, 0); }
}

#mainStage {
  overflow-x: clip;
}
#mainStage[data-archetype="royal"].nc-kinetics-on :is(section.has-sweep.active, .reveal-item.active, .nc-sa-sec.active, .nc-cl-sec.active, .nc-sa-events, .nc-sa-story, .nc-cl-events) [style*="--nc-stagger-i"]:nth-child(odd) {
  animation-name: ncArchRoyalWingL;
}
#mainStage[data-archetype="royal"].nc-kinetics-on :is(section.has-sweep.active, .reveal-item.active, .nc-sa-sec.active, .nc-cl-sec.active, .nc-sa-events, .nc-sa-story, .nc-cl-events) [style*="--nc-stagger-i"]:nth-child(even) {
  animation-name: ncArchRoyalWingR;
}
#mainStage[data-archetype="organic"].nc-kinetics-on :is(section.has-sweep.active, .reveal-item.active, .nc-sa-sec.active, .nc-cl-sec.active, .nc-sa-events, .nc-sa-story, .nc-cl-events) [style*="--nc-stagger-i"] {
  animation-name: ncArchOrganicBloom;
  animation-duration: 0.88s;
}
#mainStage[data-archetype="editorial"].nc-kinetics-on :is(section.has-sweep.active, .reveal-item.active, .nc-sa-sec.active, .nc-cl-sec.active, .nc-sa-events, .nc-sa-story, .nc-cl-events) [style*="--nc-stagger-i"] {
  animation-name: ncArchEditorialWipe;
  animation-duration: 0.78s;
}
#mainStage[data-archetype="nocturnal"].nc-kinetics-on :is(section.has-sweep.active, .reveal-item.active, .nc-sa-sec.active, .nc-cl-sec.active, .nc-sa-events, .nc-sa-story, .nc-cl-events) [style*="--nc-stagger-i"] {
  animation-name: ncArchNocturnalReveal;
  animation-duration: 0.85s;
}
#mainStage[data-archetype="archival"].nc-kinetics-on :is(section.has-sweep.active, .reveal-item.active, .nc-sa-sec.active, .nc-cl-sec.active, .nc-sa-events, .nc-sa-story, .nc-cl-events) [style*="--nc-stagger-i"] {
  animation-name: ncArchArchivalUnfold;
  animation-duration: 0.82s;
  transform-origin: top center;
}
#mainStage[data-archetype="artisan"].nc-kinetics-on :is(section.has-sweep.active, .reveal-item.active, .nc-sa-sec.active, .nc-cl-sec.active, .nc-sa-events, .nc-sa-story, .nc-cl-events) [style*="--nc-stagger-i"] {
  animation-name: ncArchOrganicBloom;
  animation-duration: 0.82s;
}

/* Countdown Styles per Archetype */
.nc-cd-grid[data-cd-arch="organic"] .nc-cd-box {
  border-radius: 999px 999px 18px 18px !important;
}
.nc-cd-grid[data-cd-arch="editorial"] .nc-cd-box {
  border-radius: 2px !important;
  border-left: none !important;
  border-right: none !important;
  border-top-width: 2px !important;
}
.nc-cd-grid[data-cd-arch="archival"] .nc-cd-box {
  border-style: dashed !important;
  border-radius: 8px !important;
}
.nc-cd-grid[data-cd-arch="nocturnal"] .nc-cd-box {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}
.nc-cd-grid[data-cd-arch="royal"] .nc-cd-box {
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
}

/* Editorial Peel: monochrome halus menjadi penuh warna saat disentuh/hover */
#mainStage[data-archetype="editorial"] :is(.nc-couple-deluxe .nc-deluxe-bg img, .nc-galb-item img, .nc-noir-shot img) {
  filter: grayscale(0.32) contrast(1.06);
  transition: filter 0.45s ease, transform 0.55s ease;
}
#mainStage[data-archetype="editorial"] :is(.nc-couple-deluxe:hover .nc-deluxe-bg img, .nc-galb-item:hover img, .nc-noir-shot:hover img) {
  filter: grayscale(0) contrast(1.03);
}

/* Parallax Ornamen Latar Depan saat Scroll */
.nc-arch-parallax {
  transform: translate3d(0, calc(var(--nc-scroll-drift, 0px) * -0.85), 0);
  transition: transform 0.14s linear;
  will-change: transform;
}

/* Interactive Controls: Rundown Pills, Konfirmasi Gift Step, ATM Flip, & Wish Reaction */
.nc-rd-pill,
.nc-wish-fpill,
.nc-gchip {
  border-color: color-mix(in srgb, var(--rd-acc, var(--wf-acc, var(--gift-acc, #D4AF37))) 38%, transparent);
  color: inherit;
  background: transparent;
  transition: all 0.22s ease;
}
.nc-rd-pill.is-active,
.nc-wish-fpill.is-active,
.nc-gchip.is-picked {
  background: var(--rd-acc, var(--wf-acc, var(--gift-acc, #D4AF37))) !important;
  color: #14100C !important;
  border-color: var(--rd-acc, var(--wf-acc, var(--gift-acc, #D4AF37))) !important;
}
.nc-tl-item.is-expanded .nc-tl-card {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}
.nc-atm-metallic.is-card-flipped {
  background: linear-gradient(145deg, #1b1917, #2c241d) !important;
}
.nc-wish-amen-btn.is-amened {
  border-color: #D4AF37 !important;
  color: #D4AF37 !important;
  background: rgba(212, 175, 55, 0.14);
}
.nc-couple-note-panel {
  animation: ncKekondanganRise 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#mainStage.stage-opening .nc-sa-hero > *:not(.nc-scenic-stage),
#mainStage.stage-opening .nc-cl-hero-in > * {
  animation: ncKekondanganRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}
#mainStage.stage-opening .nc-sa-hero > *:not(.nc-scenic-stage):nth-of-type(2) { animation-delay: 90ms; }
#mainStage.stage-opening .nc-sa-hero > *:not(.nc-scenic-stage):nth-of-type(3) { animation-delay: 180ms; }
#mainStage.stage-opening .nc-sa-hero > *:not(.nc-scenic-stage):nth-of-type(4) { animation-delay: 260ms; }
#mainStage.stage-opening .nc-sa-hero > *:not(.nc-scenic-stage):nth-of-type(5) { animation-delay: 340ms; }

body.nc-motion :is(.nc-sa-couple-img, .nc-cl-couple-img, .nc-couple-deluxe-frame, .nc-frame-moongate-inner, .nc-frame-tongkonan-inner, .nc-gc-portrait) img {
  animation: ncArchKenBurns 14s ease-in-out infinite alternate;
  will-change: transform;
}

:is(.nc-dio-btn, .nc-sa-map, .nc-storybook-btn) {
  position: relative;
  overflow: hidden;
}
:is(.nc-dio-btn, .nc-sa-map, .nc-storybook-btn)::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  pointer-events: none;
  animation: ncCrestGleam 5.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.nc-tl-item.is-lit .nc-tl-dot {
  animation: ncMilestonePulse 2.4s ease-out 1;
}

.nc-sa-event,
.nc-event-card,
.nc-atm-card,
.nc-tl-card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
@media (hover: hover) {
  .nc-sa-event:hover,
  .nc-event-card:hover,
  .nc-atm-card:hover,
  .nc-tl-card:hover {
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #mainStage.nc-kinetics-on [style*="--nc-stagger-i"],
  #mainStage.stage-opening .nc-sa-hero > *,
  #mainStage.stage-opening .nc-cl-hero-in > *,
  body.nc-motion :is(.nc-sa-couple-img, .nc-cl-couple-img, .nc-couple-deluxe-frame, .nc-frame-moongate-inner, .nc-frame-tongkonan-inner, .nc-gc-portrait) img,
  :is(.nc-dio-btn, .nc-sa-map, .nc-storybook-btn)::after,
  .nc-tl-item.is-lit .nc-tl-dot,
  .nc-couple-note-panel {
    animation: none !important;
  }
  .nc-arch-parallax {
    transform: none !important;
  }
}

/* =========================================================================
   6. PEROMBAKAN 3 PILAR — CONTAINER PER ARKETIPE, BAND PENUH & LEDGER
   ========================================================================= */

/* Full-Bleed Seam Dividers & Contrast Band Adaptation */
.nc-sec-seam {
  width: 100%;
  line-height: 0;
  position: relative;
  z-index: 4;
  pointer-events: none;
}
.nc-seam-editorial {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px 6px;
  line-height: 1;
}
.nc-seam-editorial .nc-seam-rule {
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.22;
}
.nc-seam-editorial .nc-seam-tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--seam-acc, currentColor);
  white-space: nowrap;
}

.nc-sec-band[data-band="contrast"][data-band-dark="true"] :is(.nc-sig-card, .nc-sig-module) {
  --sig-card: rgba(255, 255, 255, 0.055);
  --sig-border: var(--band-bd, rgba(250, 246, 238, 0.22));
  --sig-text: var(--band-fg, #FAF6EE);
  --sig-muted: var(--band-mut, rgba(250, 246, 238, 0.78));
  --sig-acc: var(--band-acc, #E9C982);
  background: var(--sig-card) !important;
  color: var(--sig-text) !important;
  border-color: var(--sig-border) !important;
}
.nc-sec-band[data-band="contrast"][data-band-dark="true"] .nc-sig-tab.is-active {
  color: #14100C !important;
}
.nc-sec-band[data-band="contrast"][data-band-dark="false"] :is(.nc-sig-card, .nc-sig-module) {
  --sig-card: rgba(255, 252, 247, 0.88);
  --sig-border: var(--band-bd, rgba(92, 66, 38, 0.24));
  --sig-text: var(--band-fg, #241B14);
  --sig-muted: var(--band-mut, #665748);
  --sig-acc: var(--band-acc, #7A4E28);
  background: var(--sig-card) !important;
  color: var(--sig-text) !important;
  border-color: var(--sig-border) !important;
}
.nc-sec-band[data-band="contrast"][data-band-dark="false"] .nc-sig-tab.is-active {
  color: #FAF6EE !important;
}
.nc-sec-band[data-band="contrast"] .nc-tl-node {
  background: var(--band-bg, #181412) !important;
}
.nc-sec-band[data-band="contrast"] .nc-rd-pill:not(.is-active) {
  color: var(--band-fg) !important;
  border-color: var(--band-bd) !important;
}
#mainStage[data-archetype="artisan"] > .nc-sec-band,
#mainStage[data-archetype="artisan"] .nc-sec-band {
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Override generic rounded-2xl clamp on layout sections housing keepsake */
.nc-cl-sec.nc-cl-gift,
.nc-sa-sec.nc-sa-gift {
  max-width: 960px;
}

/* Pilar 1: Per-Archetype Container Geometry (Lepas dari Kotak rounded-2xl Seragam) */
/* 1) ROYAL: Sculpted Arch Domes & Gilded Inset Filigree */
#mainStage[data-archetype="royal"] :is(.nc-cl-event, .nc-sa-event, .nc-event-sculpted, .nc-couple-sculpted, .nc-guestbook-panel) {
  border-radius: clamp(92px, 24vw, 170px) clamp(92px, 24vw, 170px) 16px 16px !important;
  box-shadow: 0 18px 42px -18px rgba(20, 14, 8, 0.34), inset 0 0 0 1px color-mix(in srgb, var(--ev-acc, var(--sk, #C9A24D)) 28%, transparent);
  padding-top: 2.6rem;
}
#mainStage[data-archetype="royal"] .nc-couple-deluxe.nc-couple-sculpted {
  padding-top: 0 !important;
  min-height: 410px;
}
#mainStage[data-archetype="royal"] .nc-gal-sculpted {
  border-radius: 999px 999px 14px 14px;
}

/* 2) EDITORIAL: Zero-Radius Borderless Magazine Typography */
#mainStage[data-archetype="editorial"] :is(.nc-cl-event, .nc-sa-event, .nc-event-sculpted, .nc-couple-sculpted, .nc-couple-folio, .nc-guestbook-panel, .nc-story-sculpted, .nc-gal-sculpted, .nc-qr-frame, .nc-atm-metallic) {
  border-radius: 0px !important;
}
#mainStage[data-archetype="editorial"] :is(.nc-cl-event, .nc-sa-event, .nc-event-sculpted, .nc-guestbook-panel) {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  outline: none !important;
  border-left: none !important;
  border-right: none !important;
  border-top-width: 1px !important;
  border-bottom-width: 1px !important;
}
#mainStage[data-archetype="editorial"] .nc-couple-folio {
  min-height: 400px;
  border: none !important;
  box-shadow: none !important;
}

/* 3) ORGANIC / BOTANICAL: Open Oval Portraits & Asymmetric Petal Curves */
#mainStage[data-archetype="organic"] :is(.nc-cl-event, .nc-sa-event, .nc-event-sculpted) {
  border-radius: 46px 10px 46px 10px !important;
}
#mainStage[data-archetype="organic"] .nc-guestbook-panel {
  border-radius: 56px 14px 56px 14px !important;
}
#mainStage[data-archetype="organic"] .nc-open-oval {
  border-radius: 999px !important;
}
#mainStage[data-archetype="organic"] .nc-gal-sculpted {
  border-radius: 36px 8px 36px 8px;
}

/* 4) NOCTURNAL: Obsidian Smoked Stage + Luminous Top Rim */
#mainStage[data-archetype="nocturnal"] :is(.nc-cl-event, .nc-sa-event, .nc-event-sculpted, .nc-couple-sculpted, .nc-guestbook-panel) {
  border-radius: 6px !important;
  border-top-width: 2px !important;
  box-shadow: 0 22px 48px -20px rgba(0, 0, 0, 0.72) !important;
}

/* 5) ARCHIVAL: Vellum Stamp Double-Ruled Frame */
#mainStage[data-archetype="archival"] :is(.nc-cl-event, .nc-sa-event, .nc-event-sculpted, .nc-couple-sculpted, .nc-guestbook-panel) {
  border-radius: 4px !important;
  outline: 1px solid color-mix(in srgb, var(--sk, #B08D57) 35%, transparent);
  outline-offset: -7px;
}

/* 6) ARTISAN: Woven Soft Arch & Raw Craft Stitch Rules */
#mainStage[data-archetype="artisan"] :is(.nc-cl-event, .nc-sa-event, .nc-event-sculpted, .nc-guestbook-panel) {
  border-radius: 48px 48px 12px 12px !important;
  border-style: dashed !important;
}
#mainStage[data-archetype="artisan"] .nc-open-oval {
  border-radius: 999px 999px 18px 18px !important;
}

/* Deluxe Couple Full-Bleed Caption Overlays (No Inner Box Walls) */
.nc-couple-deluxe .nc-deluxe-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.nc-couple-deluxe .nc-deluxe-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 18%, rgba(12, 10, 8, 0.34) 44%, rgba(12, 10, 8, 0.78) 68%, rgba(12, 10, 8, 0.96) 100%);
}

/* Pilar 3: Hairline Timeline Entries & Unboxed Utility Ledgers */
.nc-tl-entry {
  position: relative;
}
.nc-tl-item:hover .nc-tl-entry {
  padding-left: 0.45rem;
}
.nc-gift-ledger,
.nc-utility-ledger,
.nc-wishlist-ledger {
  background: transparent;
}
.nc-wish-item:hover {
  background: color-mix(in srgb, currentColor 3%, transparent);
}
@media (max-width: 640px) {
  #mainStage[data-archetype="royal"] :is(.nc-cl-event, .nc-sa-event, .nc-event-sculpted, .nc-couple-sculpted, .nc-guestbook-panel) {
    border-radius: 68px 68px 14px 14px !important;
    padding-top: 2.1rem;
  }
}

/* =========================================================================
   7. MULTI-LAYOUT PILLAR EXPANSION, GALERI INTERAKTIF & POINTER TILT (v87)
   ========================================================================= */
.nc-wb-pane { border-radius: 24px; transition: border-radius 0.35s ease; }
.nc-wb-pane[data-wb-arch="editorial"] { border-radius: 0px !important; }
.nc-wb-pane[data-wb-arch="nocturnal"] { border-radius: 8px !important; }
.nc-wb-pane[data-wb-arch="organic"] { border-radius: 46px 12px 46px 12px !important; }
.nc-wb-pane[data-wb-arch="royal"] { border-radius: 56px 56px 18px 18px !important; }
.nc-wb-pane[data-wb-arch="archival"] { border-radius: 4px !important; }
.nc-wb-pane[data-wb-arch="artisan"] { border-radius: 42px 42px 14px 14px !important; }

#mainStage[data-archetype="editorial"] .nc-cl-count-band > div {
  border-radius: 0px !important;
  background: transparent !important;
  border-left: none !important;
  border-right: none !important;
}
#mainStage[data-archetype="royal"] .nc-cl-count-band > div {
  border-radius: 999px 999px 10px 10px !important;
}
#mainStage[data-archetype="organic"] .nc-cl-count-band > div {
  border-radius: 26px 6px 26px 6px !important;
}
#mainStage[data-archetype="nocturnal"] .nc-cl-count-band > div {
  border-radius: 4px !important;
}

.nc-ed-bw-hover {
  filter: grayscale(42%) contrast(1.04);
  transition: filter 0.45s ease, transform 0.65s ease;
}
.nc-story-ed-item:hover .nc-ed-bw-hover,
.nc-gal-tile:hover .nc-ed-bw-hover {
  filter: grayscale(0%) contrast(1.06);
}

.nc-gal-mode-btn {
  opacity: 0.72;
  color: inherit;
}
.nc-gal-mode-btn.is-active {
  opacity: 1;
  background: var(--gal-acc, #D4AF37);
  color: var(--gal-btn-ink, #14100C);
}
.nc-gal-cap {
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}
.nc-gal-plate {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  flex-shrink: 0;
}
.nc-gal-thumb {
  opacity: 0.62;
  border-radius: 8px;
}
#mainStage[data-archetype="editorial"] .nc-gal-thumb { border-radius: 0px; }
.nc-gal-thumb.is-picked {
  opacity: 1;
  transform: translateY(-2px);
}

.nc-tilt-card {
  transform: perspective(900px) rotateX(var(--nc-rx, 0deg)) rotateY(var(--nc-ry, 0deg));
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .nc-tilt-card { transform: none !important; transition: none !important; }
}

/* =========================================================================
   8. LIGHTBOX SWIPE + PREV/NEXT, ARCHITECTURAL COUNTDOWN & AUDIO RIPPLE (v88)
   ========================================================================= */
#ncLightbox .nc-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(16, 12, 10, 0.56);
  backdrop-filter: blur(8px);
  color: #FAF7F2;
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
#ncLightbox .nc-lb-nav:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-50%) scale(1.06);
}
#ncLightbox .nc-lb-prev { left: 16px; }
#ncLightbox .nc-lb-next { right: 16px; }
#ncLightbox .nc-lb-meta {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  max-width: min(88vw, 520px);
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(16, 12, 10, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  color: #FAF7F2;
  text-align: center;
}
#ncLightbox .nc-lb-index {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  opacity: 0.78;
}
#ncLightbox .nc-lb-caption {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 78vw;
}

/* Second-tick spring animation triggered by countdown.js (.nc-cd-tick) */
@keyframes ncCdTick {
  0% { transform: translateY(3px) scale(0.94); opacity: 0.65; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cd-s.nc-cd-tick {
  animation: ncCdTick 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Shared & Layout-Specific Countdown Archetype Geometry */
.nc-cd-grid[data-cd-arch="royal"] .nc-cd-box {
  border-radius: 999px 999px 10px 10px !important;
  padding-top: 1rem;
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(212, 175, 55, 0.22);
}
.nc-cd-grid[data-cd-arch="editorial"] {
  gap: 0 !important;
  border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}
.nc-cd-grid[data-cd-arch="editorial"] .nc-cd-box {
  border-radius: 0px !important;
  background: transparent !important;
  box-shadow: none !important;
  border-top: none !important;
  border-bottom: none !important;
  border-left: none !important;
}
.nc-cd-grid[data-cd-arch="editorial"] .nc-cd-box:last-child { border-right: none !important; }
.nc-cd-grid[data-cd-arch="organic"] .nc-cd-box { border-radius: 26px 6px 26px 6px !important; }
.nc-cd-grid[data-cd-arch="nocturnal"] .nc-cd-box { border-radius: 6px !important; border-top-width: 2px !important; }
.nc-cd-grid[data-cd-arch="archival"] .nc-cd-box { border-radius: 3px !important; outline: 1px solid color-mix(in srgb, currentColor 18%, transparent); outline-offset: -4px; }
.nc-cd-grid[data-cd-arch="artisan"] .nc-cd-box { border-radius: 24px 24px 8px 8px !important; border-style: dashed !important; }

.nc-sa-count[data-cd-arch] .nc-sa-chip { color: var(--sa-chip-ink, #FBF7F0); }
.nc-sa-count[data-cd-arch] .nc-sa-chip strong { color: var(--sa-chip-ink, #FBF7F0) !important; }
.nc-sa-count[data-cd-arch="organic"] .nc-sa-chip { border-radius: 26px 6px 26px 6px; }
.nc-sa-count[data-cd-arch="royal"] .nc-sa-chip { border-radius: 999px 999px 10px 10px; padding-top: 16px; }
.nc-sa-count[data-cd-arch="editorial"] {
  gap: 0;
  border-top: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  border-bottom: 1px solid color-mix(in srgb, currentColor 24%, transparent);
}
.nc-sa-count[data-cd-arch="editorial"] .nc-sa-chip {
  border-radius: 0;
  background: transparent;
  color: inherit;
  border-right: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}
.nc-sa-count[data-cd-arch="editorial"] .nc-sa-chip:last-child { border-right: none; }
.nc-sa-count[data-cd-arch="editorial"] .nc-sa-chip strong { color: var(--sk) !important; }

.nc-noir-count-arch {
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: stretch;
  justify-content: center;
  margin-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  padding: 10px 4px;
  letter-spacing: normal;
  background: rgba(14, 12, 10, 0.42);
  backdrop-filter: blur(8px);
}
.nc-noir-hero > *:not(.nc-scenic-stage):not(.nc-noir-scrim) {
  position: relative;
  z-index: 4;
}
.nc-noir-count-arch > div {
  padding: 2px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}
.nc-noir-count-arch > div:last-child { border-right: none; }
.nc-noir-count-arch strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 24px;
  line-height: 1.1;
  color: var(--sk, #F5EFE8);
}
.nc-noir-count-arch span {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.8;
}
.nc-noir-hero.nc-diorama-light .nc-noir-count-arch {
  background: rgba(255, 252, 247, 0.62);
  border-color: rgba(24, 20, 16, 0.22);
}
.nc-noir-hero.nc-diorama-light .nc-noir-count-arch > div {
  border-color: rgba(24, 20, 16, 0.16);
}
.nc-noir-hero.nc-diorama-light .nc-noir-count-arch strong {
  color: var(--dio-ink, #1F1B16);
}

/* Quick Dock Beat-Reactive Concentric Audio Ripple */
.nc-qd-ripple {
  position: absolute;
  inset: -2px;
  pointer-events: none;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.nc-qd-audio.is-playing .nc-qd-ripple { opacity: 1; }
.nc-qd-audio.is-playing .nc-qd-ripple i {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1.5px solid var(--qd-acc, #D4AF37);
  animation: ncAudioRipple 2s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
.nc-qd-audio.is-playing .nc-qd-ripple i:nth-child(2) {
  animation-delay: 1s;
}
@keyframes ncAudioRipple {
  0% { transform: scale(0.95); opacity: 0.75; }
  100% { transform: scale(1.68); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cd-s.nc-cd-tick, .nc-qd-audio.is-playing .nc-qd-ripple i { animation: none !important; }
}

/* =========================================================================
   MOTION SIGNATURE — koreografi masuk per elemen + ornamen sudut per seksi
   (app/src/presentation/motion-signature.js). Resep per keluarga tema dipilih
   lewat variabel di #mainStage[data-scroll-style]; keyframes hanya menulis
   keadaan AWAL agar elemen mendarat di gayanya sendiri (tilt/paralaks aman).
   ========================================================================= */
/* Sistem ini mengambil alih reveal blok & stagger lama agar tidak dobel. */
#mainStage[data-ms-on] :is(.reveal-item, .nc-sa-sec, .nc-cl-sec):not(.active) {
  opacity: 1 !important; transform: none !important; filter: none !important;
  clip-path: none !important; letter-spacing: normal !important;
}
#mainStage[data-ms-on].nc-kinetics-on [style*="--nc-stagger-i"]:not([data-ms]) { animation: none !important; }
/* Sapuan penutup seksi (panel polos yang menutupi isi) digantikan koreografi per elemen. */
#mainStage[data-ms-on] section.has-sweep > .nc-sweep { display: none !important; }

#mainStage[data-ms-on] [data-ms]:not(.ms-in) { opacity: 0 !important; }
#mainStage[data-ms-on] [data-ms].ms-in {
  animation: var(--ms-n, msUp) var(--ms-dur, .9s) var(--ms-ease, cubic-bezier(.16, 1, .3, 1)) calc(var(--ms-i, 0) * var(--ms-step, 90ms)) backwards !important;
}
#mainStage [data-ms="title"] { --ms-n: var(--ms-title); }
#mainStage [data-ms="text"] { --ms-n: var(--ms-text); }
#mainStage [data-ms="photo"] { --ms-n: var(--ms-photo); }
#mainStage [data-ms="btn"] { --ms-n: var(--ms-btn); }
#mainStage [data-ms="card"] { --ms-n: var(--ms-card-a); }
#mainStage [data-ms="card"][data-ms-p="0"] { --ms-n: var(--ms-card-b); }

/* Resep: judul · teks · foto · kartu ganjil/genap · tombol · tempo */
:is(#mainStage, #coverGate)[data-scroll-style="jawa"]       { --ms-title: msUnfold;  --ms-text: msUp;    --ms-photo: msIris;    --ms-card-a: msLeft;   --ms-card-b: msRight;  --ms-btn: msBounce; --ms-dur: 1s;    --ms-step: 100ms; }
:is(#mainStage, #coverGate)[data-scroll-style="batak"]      { --ms-title: msSliceL;  --ms-text: msUp;    --ms-photo: msMask;    --ms-card-a: msSliceL; --ms-card-b: msSliceR; --ms-btn: msDrop;   --ms-dur: .72s;  --ms-step: 70ms; }
:is(#mainStage, #coverGate)[data-scroll-style="sunda"]      { --ms-title: msWave;    --ms-text: msUp;    --ms-photo: msBloom;   --ms-card-a: msWave;   --ms-card-b: msWave;   --ms-btn: msBounce; --ms-dur: 1.1s;  --ms-step: 110ms; }
:is(#mainStage, #coverGate)[data-scroll-style="minang"]     { --ms-title: msCurtain; --ms-text: msUp;    --ms-photo: msFlipY;   --ms-card-a: msFlipX;  --ms-card-b: msFlipX;  --ms-btn: msBounce; --ms-dur: .95s;  --ms-step: 90ms; }
:is(#mainStage, #coverGate)[data-scroll-style="bali"]       { --ms-title: msZoom;    --ms-text: msUp;    --ms-photo: msIris;    --ms-card-a: msSwing;  --ms-card-b: msSwing;  --ms-btn: msBounce; --ms-dur: 1.05s; --ms-step: 100ms; }
:is(#mainStage, #coverGate)[data-scroll-style="arabian"]    { --ms-title: msBlur;    --ms-text: msUp;    --ms-photo: msIris;    --ms-card-a: msSwing;  --ms-card-b: msSwing;  --ms-btn: msZoom;   --ms-dur: 1.1s;  --ms-step: 110ms; }
:is(#mainStage, #coverGate)[data-scroll-style="sakura"]     { --ms-title: msBloom;   --ms-text: msDown;  --ms-photo: msBloom;   --ms-card-a: msLeafL;  --ms-card-b: msLeafR;  --ms-btn: msBounce; --ms-dur: 1.1s;  --ms-step: 110ms; }
:is(#mainStage, #coverGate)[data-scroll-style="ocean"]      { --ms-title: msWave;    --ms-text: msUp;    --ms-photo: msMask;    --ms-card-a: msLeft;   --ms-card-b: msRight;  --ms-btn: msBounce; --ms-dur: 1.2s;  --ms-step: 120ms; --ms-ease: cubic-bezier(.22, 1, .36, 1); }
:is(#mainStage, #coverGate)[data-scroll-style="autumn"]     { --ms-title: msDrop;    --ms-text: msUp;    --ms-photo: msZoom;    --ms-card-a: msLeafL;  --ms-card-b: msLeafR;  --ms-btn: msBounce; --ms-dur: 1s;    --ms-step: 100ms; }
:is(#mainStage, #coverGate)[data-scroll-style="minimalist"] { --ms-title: msMask;    --ms-text: msMask;  --ms-photo: msCurtain; --ms-card-a: msUp;     --ms-card-b: msUp;     --ms-btn: msUp;     --ms-dur: .7s;   --ms-step: 70ms; --ms-ease: cubic-bezier(.65, 0, .35, 1); }
:is(#mainStage, #coverGate)[data-scroll-style="fairytale"]  { --ms-title: msBlur;    --ms-text: msUp;    --ms-photo: msIris;    --ms-card-a: msFlipY;  --ms-card-b: msFlipY;  --ms-btn: msBounce; --ms-dur: 1.15s; --ms-step: 120ms; }
:is(#mainStage, #coverGate)[data-scroll-style="noir"]       { --ms-title: msBlur;    --ms-text: msMask;  --ms-photo: msCurtain; --ms-card-a: msUp;     --ms-card-b: msUp;     --ms-btn: msZoom;   --ms-dur: 1.15s; --ms-step: 120ms; }
:is(#mainStage, #coverGate)[data-scroll-style="floral"]     { --ms-title: msBloom;   --ms-text: msUp;    --ms-photo: msBloom;   --ms-card-a: msLeafL;  --ms-card-b: msLeafR;  --ms-btn: msBounce; --ms-dur: 1.05s; --ms-step: 110ms; }
:is(#mainStage, #coverGate)[data-scroll-style="destinasi"]  { --ms-title: msSliceL;  --ms-text: msLeft;  --ms-photo: msMask;    --ms-card-a: msRight;  --ms-card-b: msLeft;   --ms-btn: msBounce; --ms-dur: .9s;   --ms-step: 90ms; }
:is(#mainStage, #coverGate)[data-scroll-style="vintage"]    { --ms-title: msFlipX;   --ms-text: msUp;    --ms-photo: msZoom;    --ms-card-a: msFlipX;  --ms-card-b: msFlipX;  --ms-btn: msDrop;   --ms-dur: 1s;    --ms-step: 100ms; }

/* Jarak pendek + pendaratan lembut: terasa "tiba", bukan "dilempar". */
@keyframes msUp      { from { opacity: 0; transform: translate3d(0, 30px, 0); } }
@keyframes msDown    { from { opacity: 0; transform: translate3d(0, -26px, 0); } }
@keyframes msLeft    { from { opacity: 0; transform: translate3d(-40px, 0, 0); } }
@keyframes msRight   { from { opacity: 0; transform: translate3d(40px, 0, 0); } }
@keyframes msZoom    { from { opacity: 0; transform: scale(.86); } }
@keyframes msBounce  { 0% { opacity: 0; transform: scale(.82); } 60% { opacity: 1; transform: scale(1.035); } }
@keyframes msDrop    { 0% { opacity: 0; transform: translate3d(0, -30px, 0); } 65% { opacity: 1; transform: translate3d(0, 3px, 0); } }
@keyframes msBloom   { 0% { opacity: 0; transform: scale(.72) rotate(-6deg); } 65% { opacity: 1; transform: scale(1.025) rotate(.8deg); } }
@keyframes msWave    { 0% { opacity: 0; transform: translate3d(0, 28px, 0) rotate(2.4deg); } 60% { opacity: 1; transform: translate3d(0, -3px, 0) rotate(-.6deg); } }
@keyframes msSwing   { 0% { opacity: 0; transform: translate3d(0, -14px, 0) rotate(-7deg); transform-origin: 50% 0; } 50% { opacity: 1; transform: rotate(2.4deg); } 78% { transform: rotate(-.9deg); } 100% { transform-origin: 50% 0; } }
@keyframes msSliceL  { from { opacity: 0; transform: translate3d(-36px, 16px, 0) skewX(-4deg); } }
@keyframes msSliceR  { from { opacity: 0; transform: translate3d(36px, 16px, 0) skewX(4deg); } }
@keyframes msLeafL   { 0% { opacity: 0; transform: translate3d(-22px, -28px, 0) rotate(-6deg); } 65% { opacity: 1; transform: translate3d(2px, 1px, 0) rotate(.8deg); } }
@keyframes msLeafR   { 0% { opacity: 0; transform: translate3d(22px, -28px, 0) rotate(6deg); } 65% { opacity: 1; transform: translate3d(-2px, 1px, 0) rotate(-.8deg); } }
@keyframes msFlipX   { from { opacity: 0; transform: perspective(900px) rotateX(-34deg) translate3d(0, 18px, 0); } }
@keyframes msFlipY   { from { opacity: 0; transform: perspective(900px) rotateY(38deg) translate3d(18px, 0, 0); } }
@keyframes msBlur    { from { opacity: 0; filter: blur(10px); letter-spacing: .18em; transform: scale(1.03); } }
/* clip-path butuh keadaan akhir eksplisit (none tak bisa diinterpolasi); -20% = tidak memotong bayangan */
@keyframes msUnfold  { from { opacity: 0; clip-path: inset(-20% 50% -20% 50%); transform: scale(1.04); } 30% { opacity: 1; } to { clip-path: inset(-20% -20% -20% -20%); } }
@keyframes msCurtain { from { opacity: 0; clip-path: inset(100% -20% -20% -20%); transform: translate3d(0, 18px, 0); } 30% { opacity: 1; } to { clip-path: inset(-20% -20% -20% -20%); } }
@keyframes msMask    { from { opacity: 0; clip-path: inset(-20% 100% -20% -20%); } 30% { opacity: 1; } to { clip-path: inset(-20% -20% -20% -20%); } }
@keyframes msIris    { from { opacity: 0; clip-path: circle(8% at 50% 50%); transform: scale(1.1); } 30% { opacity: 1; } to { clip-path: circle(120% at 50% 50%); } }

/* Ornamen sudut: tumbuh dari pojok saat seksi masuk, lalu berayun pelan. */
#mainStage [data-ms-host] { isolation: isolate; }
.nc-ms-orn {
  position: absolute; z-index: -1; width: clamp(124px, 36vw, 220px); aspect-ratio: 1;
  pointer-events: none; opacity: .72; animation: msOrnFade 1.2s ease backwards;
}
.nc-ms-orn[data-c="tl"] { top: 0; left: 0; }
.nc-ms-orn[data-c="tr"] { top: 0; right: 0; transform: scaleX(-1); }
.nc-ms-orn[data-c="bl"] { bottom: 0; left: 0; transform: scaleY(-1); }
.nc-ms-orn[data-c="br"] { bottom: 0; right: 0; transform: scale(-1, -1); }
.nc-ms-orn > b, .nc-ms-orn svg { display: block; width: 100%; height: 100%; transform-origin: 0 0; }
.nc-ms-orn > b { animation: msOrnIn 1.5s cubic-bezier(.16, 1, .3, 1) backwards; }
.nc-ms-orn svg { animation: msOrnSway 7s ease-in-out 1.5s infinite alternate; }
#mainStage.ms-still .nc-ms-orn, #mainStage.ms-still .nc-ms-orn > b { animation: none; }
@keyframes msOrnFade { from { opacity: 0; } }
@keyframes msOrnIn   { from { transform: scale(.1) rotate(-38deg); } }
@keyframes msOrnSway { from { transform: rotate(-2.6deg); } to { transform: rotate(3deg); } }
@media (prefers-reduced-motion: reduce) {
  .nc-ms-orn, .nc-ms-orn > b, .nc-ms-orn svg { animation: none; }
}

/* ---- HERO: kaskade pembuka (stage-opening) memakai resep keluarga tema ---- */
/* Shorthand penuh + !important + .nc-kinetics-on: (1) aturan lain kadang menang, mis.
   napas judul 8s infinite — mengganti namanya saja membuat judul membuka berulang;
   (2) aturan "animation: none !important" untuk stagger lama di atas ikut mematikan
   elemen hero yang membawa --nc-stagger-i, jadi kaskade hero harus mengalahkannya.
   Tempo disalin dari blok STAGE-OPENING ORCHESTRATION & kaskade anak .nc-sa-hero. */
#mainStage[data-ms-on].nc-kinetics-on.stage-opening :is(h1, .nc-noir-hero-name) { animation: var(--ms-title, ncTitleGlideIn) 1.8s cubic-bezier(.16, 1, .3, 1) .38s both !important; }
#mainStage[data-ms-on].nc-kinetics-on.stage-opening section:first-of-type h1.active { animation: var(--ms-title, ncTitleGlideIn) 1.8s cubic-bezier(.16, 1, .3, 1) .38s both, ncTitleBreath 8s cubic-bezier(.37, 0, .63, 1) 2.4s infinite !important; }
#mainStage[data-ms-on].nc-kinetics-on.stage-opening :is(span.px-5.py-1, span.px-3\.5.py-1, span.px-4.py-1, .nc-cl-kicker, .nc-sa-kicker, .nc-noir-kicker) { animation: var(--ms-text, ncBadgeSettle) 1.5s cubic-bezier(.16, 1, .3, 1) .28s both !important; }
#mainStage[data-ms-on].nc-kinetics-on.stage-opening :is(.nc-sa-guest, .nc-cl-guest, .nc-noir-guest) { animation: var(--ms-card-a, ncGuestFadeUp) 1.6s cubic-bezier(.16, 1, .3, 1) .82s both !important; }
#mainStage[data-ms-on].nc-kinetics-on.stage-opening :is(.nc-sa-hero > *:not(.nc-scenic-stage):not(h1), .nc-cl-hero-in > *:not(h1)) { animation: var(--ms-text, ncKekondanganRise) .95s cubic-bezier(.16, 1, .3, 1) calc(.2s + var(--ms-hi, 0) * 110ms) both !important; }
#mainStage[data-ms-on].nc-kinetics-on.stage-opening :is(.nc-sa-hero > *:not(.nc-scenic-stage):not(h1), .nc-cl-hero-in > *:not(h1)):nth-of-type(2) { --ms-hi: 1; }
#mainStage[data-ms-on].nc-kinetics-on.stage-opening :is(.nc-sa-hero > *:not(.nc-scenic-stage):not(h1), .nc-cl-hero-in > *:not(h1)):nth-of-type(3) { --ms-hi: 2; }
#mainStage[data-ms-on].nc-kinetics-on.stage-opening :is(.nc-sa-hero > *:not(.nc-scenic-stage):not(h1), .nc-cl-hero-in > *:not(h1)):nth-of-type(4) { --ms-hi: 3; }
#mainStage[data-ms-on].nc-kinetics-on.stage-opening :is(.nc-sa-hero > *:not(.nc-scenic-stage):not(h1), .nc-cl-hero-in > *:not(h1)):nth-of-type(n+5) { --ms-hi: 4; }
#mainStage[data-ms-on].nc-kinetics-on.stage-opening :is(.cd-box, .nc-sa-chip, .nc-cl-count > div) { animation: var(--ms-btn, ncChipCascade) 1.4s cubic-bezier(.16, 1, .3, 1) calc(.68s + var(--ms-ci, 0) * .1s) both !important; }
#mainStage[data-ms-on].nc-kinetics-on.stage-opening :is(.cd-box, .nc-sa-chip, .nc-cl-count > div):nth-child(2) { --ms-ci: 1; }
#mainStage[data-ms-on].nc-kinetics-on.stage-opening :is(.cd-box, .nc-sa-chip, .nc-cl-count > div):nth-child(3) { --ms-ci: 2; }
#mainStage[data-ms-on].nc-kinetics-on.stage-opening :is(.cd-box, .nc-sa-chip, .nc-cl-count > div):nth-child(4) { --ms-ci: 3; }
#mainStage[data-ms-on].nc-kinetics-on.stage-opening :is(.w-24.h-28.mx-auto, .w-16.h-20.mx-auto, .w-16.h-18.mx-auto, .w-16.h-22.mx-auto) { animation: var(--ms-card-b, ncSymbolFloatIn) 1.8s cubic-bezier(.16, 1, .3, 1) .18s both !important; }
#mainStage[data-ms-on].nc-kinetics-on.stage-opening :is(.nc-frame-gebyok, .nc-frame-gorga, .nc-frame-siger, .nc-frame-moresque, .nc-frame-gonjong, .nc-frame-rococo, .nc-frame-candibentar, .nc-frame-gatsby, .nc-sa-hero .anim-breath, .nc-cl-hero .anim-breath) { animation: var(--ms-hero, ncHeroPhotoRise) 1.9s cubic-bezier(.16, 1, .3, 1) .52s both !important; }
/* Foto hero: varian per keluarga; keadaan akhir bayangan sama dengan ncHeroPhotoRise. */
#mainStage:is([data-scroll-style="jawa"], [data-scroll-style="arabian"]) { --ms-hero: msHeroIris; }
#mainStage:is([data-scroll-style="minang"], [data-scroll-style="minimalist"], [data-scroll-style="noir"]) { --ms-hero: msHeroCurtain; }
#mainStage:is([data-scroll-style="batak"], [data-scroll-style="ocean"], [data-scroll-style="destinasi"]) { --ms-hero: msHeroMask; }
#mainStage:is([data-scroll-style="sunda"], [data-scroll-style="sakura"], [data-scroll-style="autumn"], [data-scroll-style="fairytale"], [data-scroll-style="floral"]) { --ms-hero: msHeroBloom; }
#mainStage:is([data-scroll-style="bali"], [data-scroll-style="vintage"]) { --ms-hero: msHeroFlip; }
@keyframes msHeroIris    { from { opacity: 0; clip-path: circle(6% at 50% 45%); transform: scale(1.08); box-shadow: 0 0 0 rgba(0, 0, 0, 0); } 30% { opacity: 1; } to { clip-path: circle(130% at 50% 45%); box-shadow: 0 20px 42px -8px rgba(0, 0, 0, .52); } }
@keyframes msHeroCurtain { from { opacity: 0; clip-path: inset(100% -30% -30% -30%); transform: translate3d(0, 24px, 0); box-shadow: 0 0 0 rgba(0, 0, 0, 0); } 30% { opacity: 1; } to { clip-path: inset(-30% -30% -30% -30%); box-shadow: 0 20px 42px -8px rgba(0, 0, 0, .52); } }
@keyframes msHeroMask    { from { opacity: 0; clip-path: inset(-30% 100% -30% -30%); box-shadow: 0 0 0 rgba(0, 0, 0, 0); } 30% { opacity: 1; } to { clip-path: inset(-30% -30% -30% -30%); box-shadow: 0 20px 42px -8px rgba(0, 0, 0, .52); } }
@keyframes msHeroBloom   { 0% { opacity: 0; transform: scale(.74) rotate(-5deg); box-shadow: 0 0 0 rgba(0, 0, 0, 0); } 65% { opacity: 1; transform: scale(1.02) rotate(.6deg); } 100% { box-shadow: 0 20px 42px -8px rgba(0, 0, 0, .52); } }
@keyframes msHeroFlip    { from { opacity: 0; transform: perspective(1000px) rotateY(34deg) translate3d(24px, 0, 0); box-shadow: 0 0 0 rgba(0, 0, 0, 0); } to { box-shadow: 0 20px 42px -8px rgba(0, 0, 0, .52); } }

/* ---- SAMPUL: kaskade masuk teks memakai resep yang sama. Sampul diorama mulai
   setelah preloader selesai (sebelumnya teksnya muncul tanpa gerak sama sekali);
   sampul klasik hanya diganti nama keyframes-nya agar tempo & animasi napasnya tetap. ---- */
#ncPreload.done ~ #coverGate[data-scroll-style]:not(.gate-open) .nc-gate-stage:not(.ncv-still) .nc-dio-kicker   { animation: var(--ms-text, msUp) var(--ms-dur, .9s) var(--ms-ease, cubic-bezier(.16, 1, .3, 1)) calc(var(--sb-t, 0s) + .15s) backwards; }
#ncPreload.done ~ #coverGate[data-scroll-style]:not(.gate-open) .nc-gate-stage:not(.ncv-still) .nc-dio-names    { animation: var(--ms-title, msUp) calc(var(--ms-dur, .9s) * 1.25) var(--ms-ease, cubic-bezier(.16, 1, .3, 1)) calc(var(--sb-t, 0s) + .3s) backwards; }
#ncPreload.done ~ #coverGate[data-scroll-style]:not(.gate-open) .nc-gate-stage:not(.ncv-still) .nc-dio-date     { animation: var(--ms-text, msUp) var(--ms-dur, .9s) var(--ms-ease, cubic-bezier(.16, 1, .3, 1)) calc(var(--sb-t, 0s) + .5s) backwards; }
#ncPreload.done ~ #coverGate[data-scroll-style]:not(.gate-open) .nc-gate-stage:not(.ncv-still) .nc-dio-guestbox { animation: var(--ms-card-a, msUp) var(--ms-dur, .9s) var(--ms-ease, cubic-bezier(.16, 1, .3, 1)) calc(var(--sb-t, 0s) + .66s) backwards; }
#ncPreload.done ~ #coverGate[data-scroll-style]:not(.gate-open) .nc-gate-stage:not(.ncv-still) .nc-diorama-card .nc-gest-wrap { animation: var(--ms-btn, msBounce) var(--ms-dur, .9s) var(--ms-ease, cubic-bezier(.16, 1, .3, 1)) calc(var(--sb-t, 0s) + .84s) backwards; }
#ncPreload.done ~ #coverGate[data-scroll-style]:not(.gate-open) .nc-gate-stage:not(.ncv-still) .nc-dio-tr-pill  { animation: msUp var(--ms-dur, .9s) var(--ms-ease, cubic-bezier(.16, 1, .3, 1)) calc(var(--sb-t, 0s) + 1s) backwards; }
#coverGate[data-scroll-style] .nc-gate-stage:not(.ncv-still) .nc-gc-badge { animation: var(--ms-text, ncGateItemIn) .85s cubic-bezier(.22, 1, .36, 1) .12s both; }
#coverGate[data-scroll-style] .nc-gate-stage:not(.ncv-still) .nc-gc-kicker { animation: var(--ms-text, ncGateItemIn) .85s cubic-bezier(.22, 1, .36, 1) .22s both; }
#coverGate[data-scroll-style] .nc-gate-stage:not(.ncv-still) .nc-gc-portrait { animation: var(--ms-photo, ncGatePhotoIn) 1.05s cubic-bezier(.22, 1, .36, 1) .28s both, ncPortraitFloat 7s ease-in-out 1.4s infinite; }
#coverGate[data-scroll-style] .nc-gate-stage:not(.ncv-still) .nc-gc-names { animation: var(--ms-title, ncGateItemIn) .95s cubic-bezier(.22, 1, .36, 1) .42s both, ncTitleBreath 8s ease-in-out 1.5s infinite; }
#coverGate[data-scroll-style] .nc-gate-stage:not(.ncv-still) .nc-gc-date { animation: var(--ms-text, ncGateItemIn) .85s cubic-bezier(.22, 1, .36, 1) .54s both; }
#coverGate[data-scroll-style] .nc-gate-stage:not(.ncv-still) .nc-gc-guestbox { animation: var(--ms-card-a, ncGateItemIn) .85s cubic-bezier(.22, 1, .36, 1) .64s both; }
#coverGate[data-scroll-style] .nc-gate-stage:not(.ncv-still) .nc-gc-btn { animation: var(--ms-btn, ncGateItemIn) .85s cubic-bezier(.22, 1, .36, 1) .76s both; }
#coverGate[data-scroll-style]:not(.gate-open) .nc-gate-stage:not(.ncv-still) .nc-gate-card:not(.nc-diorama-card) .nc-gest-wrap { animation: var(--ms-btn, ncGateItemIn) .85s cubic-bezier(.22, 1, .36, 1) .76s backwards; }
@media (prefers-reduced-motion: reduce) {
  #coverGate[data-scroll-style] .nc-gate-stage :is(.nc-dio-kicker, .nc-dio-names, .nc-dio-date, .nc-dio-guestbox, .nc-gest-wrap, .nc-dio-tr-pill) { animation: none !important; }
}

/* =========================================================================
   SCENE BUILD — adegan menyusun dirinya sendiri (meniru "motion" referensi):
   latar tampil dulu sebagai establishing shot, sayap/pohon masuk dari samping,
   flora tumbuh dari bawah, kabut & properti menyusul, baru panel + teks.
   Memakai properti individual scale/translate/rotate agar tidak bentrok dengan
   transform paralaks (--mx/--my/--sy) dan animasi napas yang sudah ada.
   ========================================================================= */
/* --sb-0: tunggu preloader memudar (.7s) supaya establishing shot tidak tertutup. */
#coverGate[data-scroll-style] .nc-diorama-stage:not(.ncv-still) { --sb-0: .45s; --sb-t: 2.55s; }
#ncPreload.done ~ #coverGate[data-scroll-style]:not(.gate-open) .nc-diorama-stage:not(.ncv-still) .nc-diorama-depth-bg { animation: var(--sb-bg, sbPush) 3.2s cubic-bezier(.2, .7, .2, 1) var(--sb-0, 0s) backwards; }
#ncPreload.done ~ #coverGate[data-scroll-style]:not(.gate-open) .nc-diorama-stage:not(.ncv-still) :is(.nc-diorama-mist-glow, .nc-diorama-vignette, .nc-diorama-canvas) { animation: sbFade 2s ease calc(var(--sb-0, 0s) + 1.1s) backwards; }
#ncPreload.done ~ #coverGate[data-scroll-style]:not(.gate-open) .nc-diorama-stage:not(.ncv-still) .nc-3d-portal-l { animation: var(--sb-l, sbFromL) 1.9s cubic-bezier(.16, 1, .3, 1) calc(var(--sb-0, 0s) + .7s) backwards; }
#ncPreload.done ~ #coverGate[data-scroll-style]:not(.gate-open) .nc-diorama-stage:not(.ncv-still) .nc-3d-portal-r { animation: var(--sb-r, sbFromR) 1.9s cubic-bezier(.16, 1, .3, 1) calc(var(--sb-0, 0s) + .85s) backwards; }
#ncPreload.done ~ #coverGate[data-scroll-style]:not(.gate-open) .nc-diorama-stage:not(.ncv-still) .nc-dio-flora.nc-df-l { animation: sbGrowL 1.8s cubic-bezier(.16, 1, .3, 1) calc(var(--sb-0, 0s) + 1.1s) backwards; }
#ncPreload.done ~ #coverGate[data-scroll-style]:not(.gate-open) .nc-diorama-stage:not(.ncv-still) .nc-dio-flora.nc-df-r { animation: sbGrowR 1.8s cubic-bezier(.16, 1, .3, 1) calc(var(--sb-0, 0s) + 1.25s) backwards; }
#ncPreload.done ~ #coverGate[data-scroll-style]:not(.gate-open) .nc-diorama-stage:not(.ncv-still) .nc-dio-flora-top { animation: sbDrop 1.6s cubic-bezier(.16, 1, .3, 1) calc(var(--sb-0, 0s) + 1.4s) backwards; }
#ncPreload.done ~ #coverGate[data-scroll-style]:not(.gate-open) .nc-diorama-stage:not(.ncv-still) .nc-dio-botanical-depth { animation: sbRise 2s cubic-bezier(.16, 1, .3, 1) calc(var(--sb-0, 0s) + 1s) backwards; }
#ncPreload.done ~ #coverGate[data-scroll-style]:not(.gate-open) .nc-diorama-stage:not(.ncv-still) .nc-scene-props { animation: sbFade 1.6s ease calc(var(--sb-0, 0s) + 1.5s) backwards; }
#ncPreload.done ~ #coverGate[data-scroll-style]:not(.gate-open) .nc-diorama-stage:not(.ncv-still) :is(.nc-altar-frame, .nc-poster-masthead) { animation: sbFade 1.2s ease calc(var(--sb-0, 0s) + 2s) backwards; }
#ncPreload.done ~ #coverGate[data-scroll-style]:not(.gate-open) .nc-diorama-stage:not(.ncv-still) .nc-diorama-card { animation: sbCard 1.3s cubic-bezier(.16, 1, .3, 1) calc(var(--sb-0, 0s) + 1.9s) backwards; }
/* Hero: adegan yang sama tersusun lagi saat undangan dibuka. */
#mainStage[data-ms-on].stage-opening .nc-scenic-stage .nc-diorama-depth-bg { animation: var(--sb-bg, sbPush) 3s cubic-bezier(.2, .7, .2, 1) .1s backwards; }
#mainStage[data-ms-on].stage-opening .nc-scenic-stage .nc-3d-portal-l { animation: var(--sb-l, sbFromL) 1.9s cubic-bezier(.16, 1, .3, 1) .5s backwards; }
#mainStage[data-ms-on].stage-opening .nc-scenic-stage .nc-3d-portal-r { animation: var(--sb-r, sbFromR) 1.9s cubic-bezier(.16, 1, .3, 1) .65s backwards; }
#mainStage[data-ms-on].stage-opening .nc-scenic-stage .nc-dio-botanical-depth { animation: sbRise 2s cubic-bezier(.16, 1, .3, 1) .8s backwards; }
#mainStage[data-ms-on].stage-opening .nc-scenic-stage .nc-scene-props { animation: sbFade 1.6s ease 1.2s backwards; }
/* Varian per keluarga: adat = sayap gerbang menutup dari samping; botani = dahan
   merunduk masuk; pemandangan = kamera menggeser; sunyi = fajar menyingsing. */
:is(#mainStage, #coverGate):is([data-scroll-style="floral"], [data-scroll-style="sakura"], [data-scroll-style="fairytale"], [data-scroll-style="sunda"], [data-scroll-style="bali"]) { --sb-bg: sbBloomIn; --sb-l: sbBranchL; --sb-r: sbBranchR; }
:is(#mainStage, #coverGate):is([data-scroll-style="ocean"], [data-scroll-style="destinasi"], [data-scroll-style="autumn"]) { --sb-bg: sbPan; --sb-l: sbRise; --sb-r: sbRise; }
:is(#mainStage, #coverGate):is([data-scroll-style="noir"], [data-scroll-style="minimalist"]) { --sb-bg: sbDawn; --sb-l: sbFade; --sb-r: sbFade; }
@keyframes sbPush    { from { scale: 1.34; filter: blur(5px) saturate(.75); } 40% { filter: blur(0) saturate(1); } }
@keyframes sbBloomIn { from { scale: 1.16; filter: blur(8px) brightness(1.22); opacity: .45; } 45% { filter: blur(0) brightness(1.06); opacity: 1; } }
@keyframes sbPan     { from { scale: 1.22; translate: 7% 0; filter: blur(3px); } 35% { filter: blur(0); } }
@keyframes sbDawn    { from { scale: 1.1; filter: brightness(.3) saturate(.4); } }
@keyframes sbFromL   { from { translate: -130% 0; opacity: 0; } }
@keyframes sbFromR   { from { translate: 130% 0; opacity: 0; } }
@keyframes sbBranchL { from { rotate: -18deg; translate: -30% 12%; opacity: 0; } }
@keyframes sbBranchR { from { rotate: 18deg; translate: 30% 12%; opacity: 0; } }
@keyframes sbRise    { from { translate: 0 34%; opacity: 0; } }
@keyframes sbDrop    { from { translate: 0 -40%; opacity: 0; } }
@keyframes sbGrowL   { from { scale: .35; rotate: -14deg; opacity: 0; } }
@keyframes sbGrowR   { from { scale: .35; rotate: 14deg; opacity: 0; } }
@keyframes sbFade    { from { opacity: 0; } }
@keyframes sbCard    { from { opacity: 0; translate: 0 26px; scale: .965; } }
@media (prefers-reduced-motion: reduce) {
  #coverGate .nc-diorama-stage :is(.nc-diorama-depth-bg, .nc-diorama-mist-glow, .nc-diorama-vignette, .nc-diorama-canvas, .nc-3d-portal, .nc-dio-flora, .nc-dio-flora-top, .nc-dio-botanical-depth, .nc-scene-props, .nc-altar-frame, .nc-poster-masthead, .nc-diorama-card),
  #mainStage .nc-scenic-stage :is(.nc-diorama-depth-bg, .nc-3d-portal, .nc-dio-botanical-depth, .nc-scene-props) { animation: none !important; }
  #coverGate[data-scroll-style] .nc-diorama-stage:not(.ncv-still) { --sb-t: 0s; }
}

/* =========================================================================
   TAMAN DEPAN (.nc-fg) — kanopi & rumpun bunga ilustrasi di depan adegan
   (dibangkitkan motion-signature.js). Di sampul berada DI DEPAN kartu seperti
   bunga latar depan pada referensi; rumpun sengaja merendah ke tengah agar
   tombol buka & petunjuknya tetap bebas.
   ========================================================================= */
.nc-fg {
  position: absolute; z-index: 14; pointer-events: none;
  --fg-leaf: var(--fl-leaf, #4d6e4c); --fg-petal: var(--fl-petal, #fbf8f3); --fg-warm: var(--fl-warm, #e09270);
  /* tanpa filter/bayangan: isinya terus berayun, filter akan memaksa raster ulang tiap frame */
  transition: translate 1.1s cubic-bezier(.4, 0, .2, 1), opacity .9s ease, rotate .6s ease;
}
.nc-fg > i { position: absolute; inset: 0; display: block; }
.nc-fg.r > i { transform: scaleX(-1); }
/* dua SVG bertumpuk; ayunan = transform di tingkat elemen SVG (lapisan kompositor) */
.nc-fg svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; will-change: transform; }
.nc-fg-can { top: -6px; width: min(58vw, 330px); aspect-ratio: 240 / 190; }
.nc-fg-bed { bottom: -4px; width: min(51vw, 300px); aspect-ratio: 240 / 254; }
.nc-fg.l { left: -8px; transform: translate3d(calc(var(--mx, 0) * 20px), calc(var(--my, 0) * 12px), 0); }
.nc-fg.r { right: -8px; transform: translate3d(calc(var(--mx, 0) * 20px), calc(var(--my, 0) * 12px), 0); }
.nc-fg-can.l { transform-origin: 0 0; } .nc-fg-can.r { transform-origin: 100% 0; }
.nc-fg-bed.l { transform-origin: 0 100%; } .nc-fg-bed.r { transform-origin: 100% 100%; }
.nc-scenic-stage > .nc-fg { z-index: 6; opacity: .92; }
.nc-scenic-stage > .nc-fg-bed { bottom: auto; top: clamp(320px, calc(100dvh - 280px), 540px); }
.fg-l1 { fill: var(--fg-leaf); }
.fg-l2 { fill: color-mix(in srgb, var(--fg-leaf) 70%, #10241a); }
.fg-l3 { fill: color-mix(in srgb, var(--fg-leaf) 68%, #e9edc9); }
.fg-p1 { fill: var(--fg-petal); stroke: color-mix(in srgb, var(--fg-petal) 72%, #6b4a3a); stroke-width: .5; }
.fg-p2 { fill: color-mix(in srgb, var(--fg-petal) 55%, var(--fg-warm)); }
.fg-p3 { fill: var(--fg-warm); stroke: color-mix(in srgb, var(--fg-warm) 70%, #4a2a22); stroke-width: .5; }
.fg-core { fill: color-mix(in srgb, var(--fg-warm) 55%, #e9b949); }
.fg-plume { fill: color-mix(in srgb, var(--fg-petal) 75%, #d9c4a8); }
.fg-stem { fill: none; stroke: color-mix(in srgb, var(--fg-leaf) 62%, #3b2a1a); stroke-width: 1.3; stroke-linecap: round; }
.fg-branch { fill: none; stroke: color-mix(in srgb, var(--fg-leaf) 30%, #5a4130); stroke-width: 3; stroke-linecap: round; }
.fg-rib { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 1; stroke-linecap: round; }
.fg-gold { fill: var(--fg-acc, #d4af37); stroke: color-mix(in srgb, var(--fg-acc, #d4af37) 58%, #3b2410); stroke-width: .55; }
.fg-gold-line { fill: none; stroke: color-mix(in srgb, var(--fg-acc, #d4af37) 85%, #fff8e7); stroke-width: 1.05; stroke-linecap: round; stroke-linejoin: round; }
.fg-wood { fill: color-mix(in srgb, var(--fg-acc, #d4af37) 18%, #20120a); stroke: color-mix(in srgb, var(--fg-acc, #d4af37) 72%, #3b2410); stroke-width: .75; stroke-linejoin: round; }
.fg-halo { fill: var(--fg-acc, #d4af37); fill-opacity: .13; animation: fgGlowPulse 4.6s ease-in-out infinite alternate; }
.fg-dove-body { fill: #fffdf9; stroke: color-mix(in srgb, var(--fg-warm) 52%, #7c6753); stroke-width: .75; }
.fg-dove-shade { fill: color-mix(in srgb, var(--fg-warm, #c9a68a) 26%, #e7ddd1); opacity: .88; }
.fg-peacock-body { fill: color-mix(in srgb, var(--fg-leaf) 68%, #0d4b44); stroke: var(--fg-acc, #d4af37); stroke-width: .85; }
.fg-wing { fill: color-mix(in srgb, #ffffff 84%, var(--fg-petal)); stroke: color-mix(in srgb, var(--fg-warm) 48%, #8a735c); stroke-width: .7; transform-box: fill-box; transform-origin: 88% 82%; animation: fgWingFlap 3.4s cubic-bezier(.42, 0, .58, 1) infinite; }
.fg-wing-b { fill: color-mix(in srgb, var(--fg-petal) 72%, #d4c5b2); opacity: .88; transform-box: fill-box; transform-origin: 88% 82%; animation: fgWingFlap 3.4s cubic-bezier(.42, 0, .58, 1) -.18s infinite; }
.fg-eye { fill: #231812; }
.fg-beak { fill: var(--fg-acc, #d4af37); }
.fg-dove { animation: fgBirdFloat 7.2s cubic-bezier(.45, .05, .55, .95) infinite; }
.fg-dove-2 { animation: fgBirdGlide2 8.4s cubic-bezier(.45, .05, .55, .95) -2.4s infinite; }
.fg-sparrow { animation: fgBirdHop 5.6s cubic-bezier(.4, 0, .2, 1) infinite; }
.fg-bfl { animation: fgBirdFloat 5.6s cubic-bezier(.45, .05, .55, .95) infinite; }
.nc-fg.r .fg-fauna { animation-delay: -3.4s; }
.nc-fg.r .fg-dove-2 { animation-delay: -5.1s; }
.nc-fg.r .fg-wing { animation-delay: -1.6s; }
.nc-fg.r .fg-wing-b { animation-delay: -1.78s; }
.fg-peacock .fg-tail { transform-origin: 0 0; animation: fgTailFan 7.8s cubic-bezier(.45, .05, .55, .95) infinite alternate; }
.fg-wayang { transform-origin: 0 0; animation: fgWayangBreathe 6.4s cubic-bezier(.45, .05, .55, .95) infinite alternate; }
.fg-wayang .fg-arm { transform-origin: 0 0; animation: fgWayangArm 5.2s cubic-bezier(.45, .05, .55, .95) infinite alternate; }
.fg-wayang .fg-forearm { transform-origin: 0 0; animation: fgWayangForearm 5.2s cubic-bezier(.45, .05, .55, .95) -.9s infinite alternate; }
.fg-kayon { transform-origin: 0 0; animation: fgKayonSway 8.4s cubic-bezier(.45, .05, .55, .95) infinite alternate; }
.fg-lantern { transform-box: fill-box; transform-origin: 50% 0; animation: fgLanternSwing 6.4s cubic-bezier(.45, .05, .55, .95) infinite alternate; }
.fg-tedung { transform-origin: 0 0; animation: fgTedungSway 7.4s cubic-bezier(.45, .05, .55, .95) infinite alternate; }
.fg-suntiang { transform-origin: 0 0; animation: fgTailFan 6.2s cubic-bezier(.45, .05, .55, .95) infinite alternate; }
.fg-cloud { animation: fgCloudDrift 9.6s ease-in-out infinite alternate; }
.fg-boat { animation: fgBoatBob 5.8s ease-in-out infinite alternate; }
.fg-koi { animation: fgKoiSwim 7.4s ease-in-out infinite alternate; }
.fg-petal-drift { animation: fgPetalDrift 6.8s ease-in-out infinite alternate; }
.fg-firefly { fill: #ffe89e; animation: fgGlowPulse 3.2s ease-in-out infinite alternate; }
.fg-firefly.f2 { animation-delay: -1.1s; } .fg-firefly.f3 { animation-delay: -2.1s; }
/* PANGGUNG TENGAH & CAKRAWALA KINETIK PENUH (.nc-fg-theater) */
.nc-fg-theater {
  position: absolute; inset: 0; z-index: 11; pointer-events: none; overflow: hidden;
  --fg-leaf: var(--fl-leaf, #4d6e4c); --fg-petal: var(--fl-petal, #fbf8f3); --fg-warm: var(--fl-warm, #e09270);
  transition: opacity .9s ease, transform 1.1s cubic-bezier(.4, 0, .2, 1);
}
.nc-scenic-stage > .nc-fg-theater { z-index: 5; height: min(100dvh, 780px); bottom: auto; }
.nc-fg-theater .fg-theater-svg { width: 100%; height: 100%; display: block; overflow: visible; }
#coverGate.gate-open .nc-fg-theater { opacity: 0; transform: scale(1.12); }
.fg-spin-360 { transform-origin: 0 0; animation: fgSpin360 14s linear infinite; }
.fg-spin-slow { transform-origin: 0 0; animation: fgSpin360 36s linear infinite; }
.fg-cone-sweep { transform-origin: 0 0; animation: fgConeSweep 9.2s ease-in-out infinite alternate; }
.fg-kayon-l { transform-origin: 0 0; animation: fgKayonPartL 8.5s ease-in-out infinite alternate; }
.fg-kayon-r { transform-origin: 0 0; animation: fgKayonPartR 8.5s ease-in-out infinite alternate; }
.fg-sky-lantern { animation: fgSkyLanternRise 15s linear infinite; }
.fg-sail-across { animation: fgSailAcross 24s linear infinite; }
.fg-wave-1 { animation: fgWaveSlide 7.5s ease-in-out infinite alternate; }
.fg-wave-2 { animation: fgWaveSlide 9.5s ease-in-out -3s infinite alternate-reverse; }
.fg-balloon { animation: fgBalloonBob 6.8s ease-in-out infinite alternate; }
.fg-balloon-drift { animation: fgBalloonDrift 14s ease-in-out infinite alternate; }
.fg-ripple { fill: none; stroke: var(--fg-acc, #d4af37); stroke-width: 1.2; transform-origin: 0 0; animation: fgRippleExpand 6.4s cubic-bezier(.16, 1, .3, 1) infinite; }
.fg-ripple.r2 { animation-delay: -2.1s; } .fg-ripple.r3 { animation-delay: -4.2s; }
.fg-smoke-rise { animation: fgSmokeRise 6.8s ease-in-out infinite alternate; }
@keyframes fgSpin360        { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes fgConeSweep      { from { transform: rotate(-11deg); } to { transform: rotate(11deg); } }
@keyframes fgKayonPartL     { from { transform: rotate(-8deg) translateX(-12px); } to { transform: rotate(-22deg) translateX(-38px); } }
@keyframes fgKayonPartR     { from { transform: rotate(8deg) translateX(12px); } to { transform: rotate(22deg) translateX(38px); } }
@keyframes fgSkyLanternRise { 0% { transform: translate(0, 60px) scale(.85); opacity: 0; } 12% { opacity: .95; } 85% { opacity: .9; } 100% { transform: translate(24px, -680px) scale(1.08); opacity: 0; } }
@keyframes fgSailAcross     { 0% { transform: translateX(-60px); opacity: 0; } 8% { opacity: .95; } 92% { opacity: .95; } 100% { transform: translateX(480px); opacity: 0; } }
@keyframes fgWaveSlide      { from { transform: translateX(-28px); } to { transform: translateX(28px); } }
@keyframes fgBalloonBob     { from { transform: translate(-6px, 8px) rotate(-2deg); } to { transform: translate(8px, -14px) rotate(2.5deg); } }
@keyframes fgBalloonDrift   { from { transform: translate(-18px, 14px) rotate(-2.5deg); } to { transform: translate(28px, -22px) rotate(3deg); } }
@keyframes fgRippleExpand   { 0% { transform: scale(.15, .06); opacity: .75; } 100% { transform: scale(1.6, .55); opacity: 0; } }
@keyframes fgSmokeRise      { from { transform: translateY(8px) skewX(-3deg); opacity: .24; } to { transform: translateY(-18px) skewX(4deg); opacity: .48; } }
/* Gerak organik berirama: 2 kepakan lembut lalu melayang tenang (gliding) menuju tengah langit */
@keyframes fgWingFlap      { 0%, 58%, 100% { transform: rotate(-4deg) scaleY(.98); } 16% { transform: rotate(18deg) scaleY(.88); } 30% { transform: rotate(-11deg) scaleY(1.04); } 44% { transform: rotate(14deg) scaleY(.92); } }
@keyframes fgBirdFloat     { 0%, 100% { transform: translate(-14px, 10px) rotate(3.5deg) scale(.95); } 50% { transform: translate(26px, -16px) rotate(-4.5deg) scale(1.03); } }
@keyframes fgBirdGlide2    { 0%, 100% { transform: translate(-18px, 12px) rotate(5deg) scale(.92); } 55% { transform: translate(22px, -14px) rotate(-3.5deg) scale(1.04); } }
@keyframes fgBirdHop       { 0%, 62%, 100% { transform: translate(0, 0) rotate(0deg); } 72% { transform: translate(-2px, -3px) rotate(-6deg); } 84% { transform: translate(-1px, 0) rotate(3deg); } }
@keyframes fgTailFan       { 0% { transform: rotate(-2.5deg) scale(.985); } 60% { transform: rotate(3.2deg) scale(1.02); } 100% { transform: rotate(1.2deg) scale(1); } }
@keyframes fgWayangBreathe { from { transform: rotate(-1.6deg); } to { transform: rotate(2deg); } }
@keyframes fgWayangArm     { 0% { transform: rotate(-8deg); } 65% { transform: rotate(12deg); } 100% { transform: rotate(4deg); } }
@keyframes fgWayangForearm { 0% { transform: rotate(-14deg); } 55% { transform: rotate(18deg); } 100% { transform: rotate(6deg); } }
@keyframes fgKayonSway     { from { transform: rotate(-2.2deg); } to { transform: rotate(2.4deg); } }
@keyframes fgTedungSway    { from { transform: rotate(-2deg); } to { transform: rotate(2.2deg); } }
@keyframes fgLanternSwing  { from { transform: rotate(-3.2deg); } to { transform: rotate(3.2deg); } }
@keyframes fgCloudDrift    { from { transform: translate(-10px, 2px); } to { transform: translate(16px, -3px); } }
@keyframes fgBoatBob       { from { transform: translate(-4px, 2px) rotate(-2deg); } to { transform: translate(8px, -3px) rotate(2.2deg); } }
@keyframes fgKoiSwim       { 0% { transform: translate(-8px, 4px) rotate(-4deg); } 50% { transform: translate(6px, -3px) rotate(3deg); } 100% { transform: translate(14px, 2px) rotate(-2deg); } }
@keyframes fgPetalDrift    { from { transform: translate(-6px, -8px) rotate(-8deg); } to { transform: translate(14px, 12px) rotate(12deg); } }
@keyframes fgGlowPulse     { from { opacity: .38; transform: scale(.86); } to { opacity: .96; transform: scale(1.16); } }
/* ayunan angin: lapis belakang & depan beda tempo supaya terasa berkedalaman */
.nc-fg-can .fg-back { animation: fgSwayA 7.6s ease-in-out infinite alternate; }
.nc-fg-can .fg-front { animation: fgSwayB 5.8s ease-in-out infinite alternate; }
.nc-fg-can svg { transform-origin: 0 0; }
.nc-fg-bed svg { transform-origin: 0 100%; }
.nc-fg-bed .fg-back { animation: fgSwayB 8.2s ease-in-out infinite alternate; }
.nc-fg-bed .fg-front { animation: fgSwayA 6.1s ease-in-out infinite alternate; }
@keyframes fgSwayA { from { transform: rotate(-1.5deg); } to { transform: rotate(1.9deg); } }
@keyframes fgSwayB { from { transform: rotate(1.3deg); } to { transform: rotate(-1.6deg); } }
.nc-gust .nc-fg.l { rotate: 2.4deg; } .nc-gust .nc-fg.r { rotate: -2.4deg; }
/* masuk bersama scene build; menyibak ke samping saat sampul dibuka */
#ncPreload.done ~ #coverGate[data-scroll-style]:not(.gate-open) .nc-diorama-stage:not(.ncv-still) .nc-fg-can.l,
#ncPreload.done ~ main #coverGate[data-scroll-style]:not(.gate-open) .nc-diorama-stage:not(.ncv-still) .nc-fg-can.l { animation: fgCanL 2.1s cubic-bezier(.16, 1, .3, 1) calc(var(--sb-0, 0s) + .9s) backwards; }
#ncPreload.done ~ #coverGate[data-scroll-style]:not(.gate-open) .nc-diorama-stage:not(.ncv-still) .nc-fg-can.r,
#ncPreload.done ~ main #coverGate[data-scroll-style]:not(.gate-open) .nc-diorama-stage:not(.ncv-still) .nc-fg-can.r { animation: fgCanR 2.1s cubic-bezier(.16, 1, .3, 1) calc(var(--sb-0, 0s) + 1.05s) backwards; }
#ncPreload.done ~ #coverGate[data-scroll-style]:not(.gate-open) .nc-diorama-stage:not(.ncv-still) .nc-fg-bed.l,
#ncPreload.done ~ main #coverGate[data-scroll-style]:not(.gate-open) .nc-diorama-stage:not(.ncv-still) .nc-fg-bed.l { animation: fgBedL 2s cubic-bezier(.16, 1, .3, 1) calc(var(--sb-0, 0s) + 1.25s) backwards; }
#ncPreload.done ~ #coverGate[data-scroll-style]:not(.gate-open) .nc-diorama-stage:not(.ncv-still) .nc-fg-bed.r,
#ncPreload.done ~ main #coverGate[data-scroll-style]:not(.gate-open) .nc-diorama-stage:not(.ncv-still) .nc-fg-bed.r { animation: fgBedR 2s cubic-bezier(.16, 1, .3, 1) calc(var(--sb-0, 0s) + 1.4s) backwards; }
#mainStage[data-ms-on].stage-opening .nc-scenic-stage > .nc-fg-can.l { animation: fgCanL 2.1s cubic-bezier(.16, 1, .3, 1) .6s backwards; }
#mainStage[data-ms-on].stage-opening .nc-scenic-stage > .nc-fg-can.r { animation: fgCanR 2.1s cubic-bezier(.16, 1, .3, 1) .75s backwards; }
#mainStage[data-ms-on].stage-opening .nc-scenic-stage > .nc-fg-bed.l { animation: fgBedL 2s cubic-bezier(.16, 1, .3, 1) .9s backwards; }
#mainStage[data-ms-on].stage-opening .nc-scenic-stage > .nc-fg-bed.r { animation: fgBedR 2s cubic-bezier(.16, 1, .3, 1) 1.05s backwards; }
@keyframes fgCanL { from { translate: -46% -52%; rotate: -16deg; opacity: 0; } }
@keyframes fgCanR { from { translate: 46% -52%; rotate: 16deg; opacity: 0; } }
@keyframes fgBedL { from { translate: -18% 46%; scale: .5; rotate: -9deg; opacity: 0; } }
@keyframes fgBedR { from { translate: 18% 46%; scale: .5; rotate: 9deg; opacity: 0; } }
#coverGate.gate-open .nc-fg { opacity: 0; }
#coverGate.gate-open .nc-fg.l { translate: -70% 0; }
#coverGate.gate-open .nc-fg.r { translate: 70% 0; }
@media (prefers-reduced-motion: reduce) {
  .nc-fg, .nc-fg .fg-back, .nc-fg .fg-front, .nc-fg svg * { animation: none !important; transition: none; }
  .nc-fg-theater, .nc-fg-theater * { animation: none !important; transition: none; }
}

/* Hemat daya: panggung di luar viewport dijeda (kelas .fg-off dipasang motion-signature.js),
   dan theater sampul berhenti bekerja setelah pintu dibuka (masih memudar lembut). */
.fg-off .nc-fg-theater, .fg-off .nc-fg-theater *,
.fg-off .nc-fg, .fg-off .nc-fg * { animation-play-state: paused !important; }
#coverGate.gate-open .nc-fg-theater, #coverGate.gate-open .nc-fg-theater * { animation-play-state: paused !important; }

/* Panggung baru: hujan kelopak konservatori & daun maple berputar gugur */
.fg-petal-fall { animation: fgPetalFall 10.8s linear infinite; }
.fg-maple-fall { animation: fgMapleFall 12.4s linear infinite; }
@keyframes fgPetalFall {
  0% { transform: translate(0, -26px) rotate(0deg); opacity: 0; }
  10% { opacity: .92; }
  52% { transform: translate(-20px, 380px) rotate(160deg); }
  88% { opacity: .8; }
  100% { transform: translate(26px, 748px) rotate(340deg); opacity: 0; }
}
@keyframes fgMapleFall {
  0% { transform: translate(0, -30px) rotate(-10deg); opacity: 0; }
  10% { opacity: .95; }
  54% { transform: translate(-34px, 400px) rotate(185deg); }
  88% { opacity: .78; }
  100% { transform: translate(22px, 760px) rotate(395deg); opacity: 0; }
}

/* =========================================================================
   MODE MOBILE APP DEFAULT PADA SEMUA HALAMAN DEMO / STUDIO / UNDANGAN (body.nc-demo-mobile)
   Mayoritas calon pengantin & tamu membuka undangan lewat HP; saat demo.html,
   u.html, atau studio.html dibuka di layar lebar (>= 520px), undangan ditampilkan
   dalam bingkai aplikasi mobile (430px) secara default.
   ========================================================================= */
@media (min-width: 520px) {
  body.nc-demo-mobile {
    background: radial-gradient(circle at 50% 24%, #f5ede0 0%, #e4d6c3 100%) !important;
  }
  body.nc-demo-mobile #ncPreload,
  body.nc-demo-mobile #coverGate,
  body.nc-demo-mobile #ncLivingStage,
  body.nc-demo-mobile #ncForegroundCanvas,
  body.nc-demo-mobile #ncScrollRibbon,
  body.nc-demo-mobile .nc-amb {
    left: 50% !important;
    right: auto !important;
    width: min(100vw, 430px) !important;
    transform: translateX(-50%);
    overflow: hidden;
  }
  body.nc-demo-mobile :is(#demoHeader, body > header.fixed) {
    z-index: 60 !important;
  }
  body.nc-demo-mobile:has(#coverGate:not(.gate-open):not(.opacity-0)) #demoBar {
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
  }
  body.nc-demo-mobile #coverGate {
    border-left: 1px solid rgba(122, 78, 40, .22);
    border-right: 1px solid rgba(122, 78, 40, .22);
    box-shadow: 0 24px 70px rgba(38, 24, 14, .28);
  }
  body.nc-demo-mobile #coverGate #coverCardBox {
    width: min(92%, 394px) !important;
    max-width: 394px !important;
  }
  body.nc-demo-mobile #coverGate .nc-dio-names,
  body.nc-demo-mobile #mainStage h1 {
    font-size: clamp(2rem, 7.6vw, 2.55rem) !important;
    line-height: 1.14 !important;
  }
  body.nc-demo-mobile #mainStage,
  body.nc-demo-mobile #rsvpSection,
  body.nc-demo-mobile > footer {
    max-width: 430px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow-x: clip;
    box-shadow: 0 24px 70px rgba(38, 24, 14, .22), 0 0 0 1px rgba(122, 78, 40, .18);
  }
  body.nc-demo-mobile #ncQuickDock {
    right: calc(50% - 215px + 14px) !important;
  }
  body.nc-demo-mobile #mainStage .lg\:flex-row { flex-direction: column !important; }
  body.nc-demo-mobile #mainStage :is(.lg\:w-\[52\%\], .lg\:w-\[48\%\], .lg\:col-span-7, .lg\:col-span-5, .w-screen) { width: 100% !important; grid-column: 1 / -1 !important; }
  body.nc-demo-mobile #mainStage .lg\:sticky { position: relative !important; top: auto !important; height: auto !important; min-height: 360px !important; }
  body.nc-demo-mobile #mainStage .lg\:grid-cols-12 { grid-template-columns: minmax(0, 1fr) !important; }
  body.nc-demo-mobile #mainStage .lg\:grid-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body.nc-demo-mobile .nc-fg-can { width: min(58vw, 248px); }
  body.nc-demo-mobile:has(#demoHeader) #coverGate .nc-fg-can { top: 56px; }
  body.nc-demo-mobile .nc-fg-bed { width: min(51vw, 220px); }
}
