        :root {
            --pink-50: #fdf6f8;
            --pink-100: #f8ecef;
            --pink-200: #eed9df;
            --pink-300: #e3c1cb;
            --rose: #c88fa0;
            --rose-deep: #a97284;
            --cream: #fffaf5;
            --text: #4f3d45;
            --text-light: #7d6870;
            --white: #ffffff;
            
            /* Responsiveness key: viewport variable replacement */
            --vw: 1vw; 
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
        }

        body {
            font-family: 'Geist', sans-serif;
            background: var(--cream);
            color: var(--text);
            line-height: 1.2;
            overflow-x: hidden;
        }

        body.locked {
            overflow: hidden;
            padding-right: var(--scrollbar-w, 0px);
        }

        ::-webkit-scrollbar {
            width: 6px;
        }

        ::-webkit-scrollbar-track {
            background: var(--pink-50);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--rose);
            border-radius: 3px;
        }

        /* ══ PRELOADER ══ */
        #preloader {
            position: fixed;
            inset: 0;
            z-index: 10000;
            background-color: #fffaf5;
            background-image: linear-gradient(rgba(200,143,160,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(200,143,160,.09) 1px, transparent 1px);
            background-size: 24px 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: opacity 1.2s ease, transform 1.2s ease;
        }
        #preloader.hidden {
            opacity: 0;
            transform: scale(1.1);
            pointer-events: none;
        }
        .preloader-inner {
            text-align: center;
            animation: preloaderFadeIn 1.4s ease forwards;
        }
        .preloader-initials {
            font-family: 'Great Vibes', cursive;
            font-size: clamp(4rem, calc(16 * var(--vw)), 7rem);
            color: var(--rose);
            line-height: 1.1;
            letter-spacing: .15em;
            animation: preloaderPulse 3s ease-in-out infinite;
        }
        .preloader-names {
            font-family: 'Alice', serif;
            font-size: clamp(.9rem, calc(2.6 * var(--vw)), 1.1rem);
            color: rgba(90,59,70,.65);
            margin-top: 8px;
            letter-spacing: .06em;
            animation: preloaderSlideUp 1.4s ease forwards;
        }
        @keyframes preloaderFadeIn {
            0% { opacity: 0; transform: scale(.8); }
            100% { opacity: 1; transform: scale(1); }
        }
        @keyframes preloaderPulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }
        @keyframes preloaderSlideUp {
            0% { opacity: 0; transform: translateY(12px); }
            100% { opacity: 1; transform: translateY(0); }
        }

        /* ══ GATE ══ */
        #gate {
            position: fixed;
            inset: 0;
            z-index: 9999;
            background: #1a0a00;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            transition: opacity 1.3s ease, transform 1.3s ease;
            overflow: hidden;
        }

        #gate.hide {
            opacity: 0;
            transform: scale(1.04);
            pointer-events: none;
        }

        #gate .gate-bg {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center top;
            opacity: .85;
            animation: gateBgSlideUp 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
        }

        #gate::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .10) 35%, rgba(0, 0, 0, .10) 55%, rgba(0, 0, 0, .70) 100%);
            z-index: 1;
            animation: gateOverlayReveal 2s ease both;
        }

        #gate .gate-inner {
            position: relative;
            z-index: 2;
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
            padding: clamp(2rem, calc(6 * var(--vw)), 4rem) 1.5rem 0;
            animation: gateInnerSlideUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) .4s both;
        }

        #gate .gate-top {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            margin-bottom: auto;
        }

        #gate .gate-bottom {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            padding-bottom: max(env(safe-area-inset-bottom, 0px), clamp(.4rem, calc(1.5 * var(--vw)), .8rem));
        }

        #gate .gate-script {
            font-family: 'Great Vibes', cursive;
            font-size: clamp(1.6rem, calc(5 * var(--vw)), 2.8rem);
            color: #fff;
            text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
            line-height: 1.2;
        }

        #gate .gate-names {
            font-family: 'Alice', sans-serif;
            font-size: clamp(2rem, calc(8 * var(--vw)), 4.2rem);
            font-weight: 700;
            color: #fff;
            text-shadow: 0 3px 16px rgba(0, 0, 0, .55);
            line-height: 1.1;
            text-align: center;
        }

        #gate .gate-date {
            font-size: clamp(.7rem, calc(2.2 * var(--vw)), 1rem);
            letter-spacing: .04em;
            color: rgba(255, 255, 255, .88);
            margin-top: 4px;
            text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
        }

        #gate .gate-to {
            font-family: 'Alice', sans-serif;
            font-size: clamp(.75rem, calc(2 * var(--vw)), .9rem);
            letter-spacing: .04em;
            color: rgba(255, 255, 255, .85);
            text-align: center;
            text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
            line-height: 1.35;
        }

        #gate .gate-to strong {
            display: block;
            font-size: clamp(1rem, calc(3 * var(--vw)), 1.4rem);
            font-weight: 400;
            letter-spacing: .04em;
            color: #fff;
            font-family: 'Cormorant Garamond', serif;
            font-style: italic;
        }

        #gate .gate-btn {
            margin-top: 4px;
            padding: 9px 38px;
            background: linear-gradient(135deg, #dcb4bf 0%, #c88fa0 100%);
            color: #fff;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            font-family: 'Geist', sans-serif;
            font-size: .75rem;
            letter-spacing: .04em;
            box-shadow: 0 8px 24px rgba(120, 95, 105, .18);
            transition: transform .25s, box-shadow .25s;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        #gate .gate-btn:hover {
            transform: translateY(-3px);
        }

        #gate .gate-btn.loading {
            pointer-events: none;
            opacity: .85;
        }

        #gate .gate-btn .btn-spinner {
            display: none;
            width: 13px;
            height: 13px;
            border: 2px solid rgba(255, 255, 255, .35);
            border-top-color: #fff;
            border-radius: 50%;
            animation: spinBtn .7s linear infinite;
            flex-shrink: 0;
        }

        #gate .gate-btn.loading .btn-spinner {
            display: block;
        }

        #gate .gate-btn.loading .btn-icon-mail {
            display: none;
        }

        #gate-loading-bar-wrap {
            width: 180px;
            height: 3px;
            background: rgba(255, 255, 255, .18);
            border-radius: 999px;
            overflow: hidden;
            margin-top: 10px;
            opacity: 0;
            transition: opacity .3s;
        }

        #gate-loading-bar-wrap.visible,
        #gate-loading-text.visible {
            opacity: 1;
        }

        #gate-loading-bar {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, #dcb4bf, #fff7f0);
            border-radius: 999px;
            transition: width .25s ease;
        }

        #gate-loading-text {
            font-size: .65rem;
            letter-spacing: .04em;
            color: rgba(255, 255, 255, .7);
            margin-top: 6px;
            opacity: 0;
            transition: opacity .3s;
            text-align: center;
        }

        /* ══ VIDEO INTRO ══ */
        body.intro-playing>*:not(#video-intro):not(#gate):not(.desktop-banner) {
            visibility: hidden;
        }

        #video-intro {
            position: fixed;
            inset: 0;
            z-index: 10001;
            background: #000;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        #video-intro.active {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }

        #video-intro video {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            background: #000;
        }

        #video-intro::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .12) 45%, rgba(0, 0, 0, .45) 100%);
            z-index: 1;
        }

        #video-intro .intro-overlay {
            position: relative;
            z-index: 2;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 2rem 1.5rem 6.5rem;
            opacity: 0;
            transform: translateY(18px);
            transition: opacity 1.2s ease, transform 1.2s ease;
            pointer-events: none;
        }

        #video-intro .intro-overlay.show {
            opacity: 1;
            transform: translateY(0);
        }

        #intro-enter-btn {
            position: absolute;
            bottom: 2.8rem;
            left: 50%;
            transform: translateX(-50%);
            z-index: 3;
            padding: 12px 40px;
            background: rgba(255, 255, 255, .15);
            border: 1.5px solid rgba(255, 255, 255, .8);
            border-radius: 999px;
            color: #fff;
            font-family: 'Alice', serif;
            font-size: clamp(.8rem, calc(2.5 * var(--vw)), 1rem);
            letter-spacing: .04em;
            cursor: pointer;
            backdrop-filter: blur(8px);
            opacity: 0;
            pointer-events: none;
            transition: opacity .8s ease, background .25s, transform .25s;
            display: flex;
            align-items: center;
            gap: 10px;
            white-space: nowrap;
        }

        #intro-enter-btn:hover {
            background: rgba(255, 255, 255, .28);
            transform: translateX(-50%) translateY(-3px);
        }

        #intro-fadeout {
            position: absolute;
            inset: 0;
            background: #fff;
            opacity: 0;
            pointer-events: none;
            z-index: 10;
            transition: opacity 1.2s ease;
        }

        #intro-fadeout.fading {
            opacity: 1;
            pointer-events: auto;
        }

        /* ══ SECTIONS ══ */
        section {
            padding: 80px 20px;
            position: relative;
            overflow: hidden;
        }
        [data-observe] {
            will-change: opacity;
        }
        .love-story-item { will-change: transform, opacity; }

        /* ══ SCROLL PERFORMANCE ══ */
        /* Drop only expensive paint filters while scrolling — animations stay running. */
        /* scroll perf: keep fixed bg scrollable */
        body.is-scrolling {
            background-attachment: scroll !important;
        }

        /* ══ FLOATING ORNAMENTS ══ */
        .floating-ornament {
            position: absolute;
            pointer-events: none;
            opacity: 0.15;
            z-index: 0;
        }

        .floating-ornament-1 {
            top: 8%;
            left: -5%;
            width: 140px;
            animation: float-gentle-1 20s ease-in-out infinite;
        }

        .floating-ornament-2 {
            top: 25%;
            right: -8%;
            width: 180px;
            animation: float-gentle-2 25s ease-in-out infinite 2s;
        }

        .floating-ornament-3 {
            bottom: 15%;
            left: -10%;
            width: 160px;
            animation: float-gentle-3 22s ease-in-out infinite 4s;
        }

        .floating-ornament-4 {
            bottom: 35%;
            right: -6%;
            width: 150px;
            animation: float-gentle-4 24s ease-in-out infinite 6s;
        }

        @keyframes float-gentle-1 {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            25% { transform: translate(15px, -20px) rotate(5deg); }
            50% { transform: translate(10px, -10px) rotate(-3deg); }
            75% { transform: translate(-10px, -15px) rotate(4deg); }
        }

        @keyframes float-gentle-2 {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            25% { transform: translate(-20px, 15px) rotate(-5deg); }
            50% { transform: translate(-15px, 10px) rotate(3deg); }
            75% { transform: translate(10px, 20px) rotate(-4deg); }
        }

        @keyframes float-gentle-3 {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            25% { transform: translate(18px, 12px) rotate(6deg); }
            50% { transform: translate(-8px, 18px) rotate(-4deg); }
            75% { transform: translate(12px, -10px) rotate(5deg); }
        }

        @keyframes float-gentle-4 {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            25% { transform: translate(-15px, -18px) rotate(-6deg); }
            50% { transform: translate(12px, -12px) rotate(4deg); }
            75% { transform: translate(-10px, 15px) rotate(-5deg); }
        }

        @media (prefers-reduced-motion: reduce) {
            .floating-ornament {
                animation: none;
            }
        }

        /* ══ HERO ══ */
        #hero {
            position: relative;
            padding: 0 20px 70px;
            background: linear-gradient(160deg, #f7dfe6 0%, #fde8ed 50%, #f7dfe6 100%);
            text-align: center;
            overflow: hidden;
        }

        #hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background: 
                radial-gradient(circle at 20% 30%, rgba(227, 193, 203, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(200, 143, 160, 0.12) 0%, transparent 50%),
                radial-gradient(circle at top, rgba(255, 255, 255, .08), transparent 38%);
            pointer-events: none;
        }


        @keyframes sparkle-drift {
            0% { background-position: 0 0, 40px 40px, 20px 20px; }
            100% { background-position: 60px 60px, 120px 120px, 120px 120px; }
        }

        .save-wrap {
            position: relative;
            z-index: 2;
            max-width: 390px;
            margin: 0 auto 22px;
        }

        .save-wrap::before,
        .save-wrap::after {
            content: "❀";
            position: absolute;
            font-size: 2rem;
            color: #c88fa0;
            opacity: 0.5;
            pointer-events: none;
        }

        .save-wrap::before {
            top: 15%;
            left: 5%;
            animation: float-random-flower-1 10s ease-in-out infinite;
        }

        .save-wrap::after {
            top: 70%;
            right: 8%;
            animation: float-random-flower-2 12s ease-in-out infinite 2s;
        }

        @keyframes float-random-flower-1 {
            0%, 100% { 
                transform: translate(0, 0) rotate(0deg) scale(1);
            }
            25% { 
                transform: translate(30px, -20px) rotate(45deg) scale(1.2);
            }
            50% { 
                transform: translate(-15px, 25px) rotate(-30deg) scale(0.9);
            }
            75% { 
                transform: translate(25px, -10px) rotate(60deg) scale(1.1);
            }
        }

        @keyframes float-random-flower-2 {
            0%, 100% { 
                transform: translate(0, 0) rotate(0deg) scale(1);
            }
            20% { 
                transform: translate(-25px, 30px) rotate(-50deg) scale(1.15);
            }
            40% { 
                transform: translate(20px, -20px) rotate(40deg) scale(0.85);
            }
            60% { 
                transform: translate(-30px, 15px) rotate(-35deg) scale(1.1);
            }
            80% { 
                transform: translate(15px, -25px) rotate(55deg) scale(0.95);
            }
        }

        .save-wrap .save-ornament-top,
        .save-wrap .save-title,
        .save-wrap .save-countdown,
        .save-wrap .save-desc,
        .save-wrap .save-btn {
            opacity: 0;
            transform: translateY(36px);
            transition: opacity 2.2s cubic-bezier(.25, .8, .3, 1), transform 2.2s cubic-bezier(.25, .8, .3, 1);
        }

        .save-wrap .save-title {
            transition-delay: .15s;
        }

        .save-wrap .save-countdown {
            transition-delay: .3s;
        }

        .save-wrap .save-desc {
            transition-delay: .45s;
        }

        .save-wrap .save-btn {
            transition-delay: .6s;
        }

        .save-wrap.visible .save-ornament-top,
        .save-wrap.visible .save-title,
        .save-wrap.visible .save-countdown,
        .save-wrap.visible .save-desc,
        .save-wrap.visible .save-btn {
            opacity: 1;
            transform: translateY(0);
        }

        .save-ornament-top {
            width: 120px;
            margin: 24px auto 18px;
            display: block;
            animation: none;
        }

        @keyframes float-flower {
            0%, 100% { 
                transform: translate(0, 0) rotate(0deg); 
            }
            25% { 
                transform: translate(20px, -15px) rotate(5deg); 
            }
            50% { 
                transform: translate(-15px, 10px) rotate(-3deg); 
            }
            75% { 
                transform: translate(10px, -10px) rotate(4deg); 
            }
        }

        .save-title {
            margin: 0 0 24px;
            font-family: 'Great Vibes', cursive;
            font-size: 54px;
            line-height: 1.1;
            font-weight: 400;
            color: #b86b86;
            position: relative;
            display: inline-block;
            text-shadow: 0 2px 8px rgba(184, 107, 134, 0.15);
        }

        .save-countdown {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 8px;
            max-width: 360px;
            margin: 24px auto 18px;
        }

        .cd-box {
            background: #fff;
            border-radius: 14px;
            padding: 14px 6px 12px;
            box-shadow: 0 4px 12px rgba(184, 107, 134, 0.08);
            position: relative;
            overflow: hidden;
        }

        /* .cd-box::before removed */
        .cd-box::before { display: none; }

        .save-countdown .num {
            font-size: 30px;
            line-height: 1;
            font-weight: 500;
            color: #b86b86;
            margin-bottom: 7px;
        }

        .save-countdown .lbl {
            font-size: 14px;
            line-height: 1.2;
            color: #8a6773;
        }

        .save-desc {
            max-width: 340px;
            margin: 24px auto 18px;
            font-size: 15px;
            line-height: 1.5;
            color: #b86b86;
        }

        .save-btn,
        .map-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 44px;
            padding: 0 22px;
            border-radius: 999px;
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
            transition: .25s ease;
        }

        .save-btn {
            background: #fffdf9;
            color: #8b6672;
            box-shadow: 0 8px 18px rgba(180, 140, 152, .14);
        }

        .map-btn {
            background: #ead9df;
            color: #6f5560;
            margin-top: 8px;
            font-family: "Geist", sans-serif;
            font-size: .82rem;
            position: relative;
            overflow: hidden;
        }

        .map-btn::after {
            content: "📍";
            position: absolute;
            left: -30px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1rem;
            opacity: 0;
            transition: left 0.3s, opacity 0.3s;
        }

        .map-btn:hover::after {
            left: 15px;
            opacity: 1;
        }

        .map-btn:hover {
            padding-left: 40px;
        }

        .save-btn:hover,
        .map-btn:hover {
            transform: translateY(-2px);
        }

        /* ══ EVENT CARDS SCROLL ══ */
        .hero-event-cards-scroll {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
            padding: 28px 20px 12px;
        }

        .hero-event-card {
            width: 100%;
            max-width: 340px;
            scroll-snap-align: center;
            opacity: 0;
            transform: translateY(44px);
            transition: opacity 2.2s cubic-bezier(.25, .8, .3, 1), transform 2.2s cubic-bezier(.25, .8, .3, 1);
            position: relative;
        }

        .hero-event-card::before {
            content: "";
            position: absolute;
            inset: -10px;
            background: radial-gradient(circle at center, rgba(227, 193, 203, 0.15) 0%, transparent 70%);
            opacity: 0;
            transition: opacity 0.4s;
            z-index: 0;
            border-radius: inherit;
        }

        .hero-event-card:hover::before {
            opacity: 1;
        }

        .hero-event-card:last-child .hero-event-bg {
            border-radius: 42px 42px 220px 220px/42px 42px 260px 260px;
        }
        .hero-event-card:last-child .hero-event-overlay {
            border-radius: 34px 34px 200px 200px/34px 34px 235px 235px;
        }

        /* merged card: rounded on top (fix inversion) */
        .hero-event-card--merged,
        .hero-event-card--merged:last-child .hero-event-bg,
        .hero-event-card--merged .hero-event-bg {
            border-radius: 220px 220px 42px 42px/260px 260px 42px 42px !important;
        }
        .hero-event-card--merged .hero-event-overlay,
        .hero-event-card--merged:last-child .hero-event-overlay,
        .hero-event-card--merged .hero-event-overlay--merged {
            border-radius: 200px 200px 34px 34px/235px 235px 34px 34px !important;
        }

        .hero-event-card.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .hero-event-bg {
            position: relative;
            min-height: 760px;
            border-radius: 220px 220px 42px 42px/260px 260px 42px 42px;
            overflow: hidden;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero-event-overlay {
            position: absolute;
            inset: 22px;
            border-radius: 200px 200px 34px 34px/235px 235px 34px 34px;
            background: rgba(255, 255, 255, .84);
            /* blur removed — opacity only for scroll perf */
            padding: 56px 24px 30px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: #4f3d45;
            box-shadow: inset 0 2px 8px rgba(200, 143, 160, 0.08);
        }

        .hero-event-overlay::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            background: linear-gradient(to bottom, rgba(255, 255, 255, .42) 0%, rgba(255, 255, 255, .52) 20%, rgba(255, 255, 255, .56) 50%, rgba(255, 255, 255, .50) 80%, rgba(255, 255, 255, .40) 100%);
            z-index: 0;
        }

        .hero-event-overlay::after {
            content: "";
            position: absolute;
            top: 30px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 80px;
            background: radial-gradient(circle, rgba(227, 193, 203, 0.2) 0%, transparent 70%);
            border-radius: 50%;
            z-index: 0;
        }

        .hero-event-overlay>* {
            position: relative;
            z-index: 1;
        }

        .event-script {
            margin-bottom: 18px;
            font-family: "Great Vibes", cursive;
            font-size: clamp(2rem, calc(5 * var(--vw)), 2.25rem);
            line-height: 1.15;
            color: #5a3b46;
            text-align: center;
        }

        .event-day {
            font-family: "Geist", sans-serif;
            font-size: clamp(.95rem, calc(2.8 * var(--vw)), 1.1rem);
            font-weight: 700;
            letter-spacing: .04em;
            margin-bottom: 8px;
            text-align: center;
        }

        .event-date {
            font-family: "Geist", sans-serif;
            font-size: clamp(.95rem, calc(2.7 * var(--vw)), 1.05rem);
            font-weight: 700;
            margin-bottom: 8px;
            text-align: center;
        }

        .event-time {
            font-family: "Geist", sans-serif;
            font-size: clamp(.92rem, calc(2.6 * var(--vw)), 1rem);
            line-height: 1.5;
            margin-bottom: 20px;
            text-align: center;
        }

        .event-pin {
            font-size: 1.1rem;
            margin-bottom: 10px;
        }

        .event-place {
            max-width: 250px;
            font-family: "Geist", sans-serif;
            font-size: clamp(.92rem, calc(2.6 * var(--vw)), 1rem);
            line-height: 1.5;
            margin: 24px auto 18px;
            text-align: center;
        }

        /* ══ HERO SLIDESHOW ══ */
        .hero-slideshow,
        .hero-static {
            position: relative;
            width: 100%;
            margin: 0 0 0;
            height: 100svh;
            max-height: 900px;
            min-height: 560px;
            overflow: hidden;
        }
        .hero-static {
            border-radius: 0;
            margin-left: -20px;
            margin-right: -20px;
            width: calc(100% + 40px);
        }

        .hero-static img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center top;
            display: block;
        }

        .hero-slide-gradient {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 30%;
            background: linear-gradient(to bottom, rgba(247,223,230,0) 0%, rgba(247,223,230,.25) 20%, rgba(247,223,230,.7) 55%, rgba(247,223,230,.98) 85%, #fde8ed 100%);
            z-index: 3;
            pointer-events: none;
        }

        .hero-slide-dots {
            position: absolute;
            bottom: 28px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 4;
            display: flex;
            gap: 7px;
            align-items: center;
        }

        .slide-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: rgba(255, 255, 255, .55);
            border: none;
            cursor: pointer;
            padding: 0;
            transition: width .35s, background .35s;
        }

        .slide-dot.active {
            width: 20px;
            border-radius: 3px;
            background: #fff;
        }

        /* ══ COUPLE ══ */
        #couple {
            background-color: #fffaf5;
            background-image: linear-gradient(rgba(200,143,160,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(200,143,160,.07) 1px, transparent 1px);
            background-size: 24px 24px;
            padding: 90px 20px;
            position: relative;
        }

        #couple::before {
            content: "";
            position: absolute;
            top: 10%;
            left: 50%;
            transform: translateX(-50%);
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(227, 193, 203, 0.15) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
            animation: pulse-glow 8s ease-in-out infinite;
        }

        @keyframes pulse-glow {
            0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.6; }
            50% { transform: translateX(-50%) scale(1.2); opacity: 0.3; }
        }

        .section-label {
            text-align: center;
            font-size: .68rem;
            letter-spacing: .04em;
            text-transform: uppercase;
            color: #b48a97;
            margin-bottom: 10px;
            opacity: 0;
            transform: translateY(-24px);
            transition: opacity 1.8s cubic-bezier(.25, .8, .3, 1), transform 1.8s cubic-bezier(.25, .8, .3, 1);
            position: relative;
        }

        .section-label::before,
        .section-label::after {
            content: "•";
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: #c88fa0;
            font-size: 0.8em;
        }

        .section-label::before {
            left: calc(50% - 80px);
        }

        .section-label::after {
            right: calc(50% - 80px);
        }

        .section-label.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .section-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(2rem, calc(5 * var(--vw)), 3.2rem);
            color: #8f6a76;
            text-align: center;
            margin-bottom: 50px;
            font-style: italic;
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 1.8s cubic-bezier(.25, .8, .3, 1) .15s, transform 1.8s cubic-bezier(.25, .8, .3, 1) .15s;
            position: relative;
        }

        .section-title::before {
            content: "";
            position: absolute;
            bottom: -12px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 2px;
            background: linear-gradient(90deg, transparent, #c88fa0, transparent);
            opacity: 0.4;
        }

        .section-title.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ══ FULL-SCREEN INTRO (cover + verse) ══ */
        #intro {
            position: relative;
            height: 100svh;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
            padding: 40px 32px;
            text-align: center;
            overflow: hidden;
            contain: layout style paint;
        }

        #intro::before {
            content: "";
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: 
                radial-gradient(circle at 20% 30%, rgba(227, 193, 203, 0.15) 0%, transparent 25%),
                radial-gradient(circle at 80% 70%, rgba(200, 143, 160, 0.12) 0%, transparent 25%);
            animation: intro-bg-drift 30s ease-in-out infinite;
            pointer-events: none;
            z-index: 1;
        }

        @keyframes intro-bg-drift {
            0%, 100% { transform: translate(0, 0); }
            25% { transform: translate(-5%, -5%); }
            50% { transform: translate(5%, 5%); }
            75% { transform: translate(-5%, 5%); }
        }

        .intro-bg {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
        }

        .intro-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 100%);
        }

        .intro-names {
            position: relative;
            z-index: 1;
            font-family: 'Great Vibes', cursive;
            font-size: clamp(2.4rem, calc(7 * var(--vw)), 3.4rem);
            color: #fff;
            text-shadow: 0 2px 14px rgba(0,0,0,.45);
            line-height: 1.1;
            opacity: 0;
            transform: translateY(-36px);
            transition: opacity 2.6s cubic-bezier(.25, .8, .3, 1), transform 2.6s cubic-bezier(.25, .8, .3, 1);
        }

        .intro-names.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .intro-verse-wrap {
            position: relative;
            z-index: 1;
            max-width: 520px;
        }

        .intro-verse {
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(1.05rem, calc(3.4 * var(--vw)), 1.3rem);
            line-height: 1.2;
            font-style: italic;
            color: rgba(255,255,255,.88);
            margin-bottom: 0;
            opacity: 0;
            transform: translateY(36px);
            transition: opacity 2.6s cubic-bezier(.25, .8, .3, 1) .4s, transform 2.6s cubic-bezier(.25, .8, .3, 1) .4s;
        }

        .intro-source {
            font-size: .7rem;
            letter-spacing: .04em;
            text-transform: uppercase;
            color: rgba(255,255,255,.6);
            font-weight: 500;
            margin-bottom: 10px;
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 2.4s cubic-bezier(.25, .8, .3, 1) .2s, transform 2.4s cubic-bezier(.25, .8, .3, 1) .2s;
        }

        .intro-verse-wrap.visible .intro-verse,
        .intro-verse-wrap.visible .intro-source {
            opacity: 1;
            transform: translateY(0);
        }

        .couple-wrap {
            max-width: 460px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0;
        }

        .couple-card-intro {
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
            padding: 0 24px 52px;
            width: 100%;
        }

        .couple-blangkon {
            width: clamp(140px, 38%, 180px);
            display: block;
            opacity: 0;
            transform: translateY(16px);
            transition: opacity 1.2s ease, transform 1.2s ease;
            animation: blangkonFloat 3.6s ease-in-out infinite;
            will-change: transform;
        }

        @keyframes blangkonFloat {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-6px); }
        }

        .couple-card-intro-title {
            font-family: 'Great Vibes', cursive;
            font-size: clamp(2.2rem, calc(7 * var(--vw)), 2.8rem);
            color: #8f6a76;
            line-height: 1.15;
            opacity: 0;
            transform: translateY(-34px);
            transition: opacity 2.4s cubic-bezier(.25, .8, .3, 1), transform 2.4s cubic-bezier(.25, .8, .3, 1);
        }

        .couple-card-intro-salam {
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(.95rem, calc(3 * var(--vw)), 1.1rem);
            color: var(--text);
            line-height: 1.5;
            font-weight: 600;
            letter-spacing: .04em;
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 2.4s cubic-bezier(.25, .8, .3, 1) .35s, transform 2.4s cubic-bezier(.25, .8, .3, 1) .35s;
        }

        .couple-card-intro-desc {
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(.9rem, calc(2.8 * var(--vw)), 1.02rem);
            font-style: italic;
            color: var(--text-light);
            line-height: 1.5;
            max-width: 300px;
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 2.4s cubic-bezier(.25, .8, .3, 1) .6s, transform 2.4s cubic-bezier(.25, .8, .3, 1) .6s;
        }

        .couple-card-intro.visible .couple-blangkon,
        .couple-card-intro.visible .couple-card-intro-title,
        .couple-card-intro.visible .couple-card-intro-salam,
        .couple-card-intro.visible .couple-card-intro-desc {
            opacity: 1;
            transform: translateY(0);
        }

        .couple-person {
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 22px;
            padding-bottom: 16px;
        }

        /* Photo + flowers left-right */
        .couple-person-photo-wrap {
            position: relative;
            width: clamp(200px, 62%, 280px);
            margin: 0 clamp(50px, calc(14 * var(--vw)), 80px);
            isolation: isolate;
            opacity: 0;
            transform: translateZ(0);
        }

        .couple-person[data-observe].visible .couple-person-photo-wrap {
            opacity: 0;
            transform: translateZ(0);
            animation: wd-zoomIn 2s ease both;
        }

        .couple-person-img {
            position: relative;
            z-index: 2;
            width: 100%;
            aspect-ratio: 3/4;
            border-radius: 50% 50% 44% 44% / 38% 38% 34% 34%;
            object-fit: cover;
            object-position: top center;
            border: 3px solid rgba(200, 143, 160, .20);
            box-shadow: 0 14px 36px rgba(95, 74, 82, .10);
            display: block;
            background: linear-gradient(160deg, var(--pink-100), var(--pink-300));
            transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
            transform: translateZ(0);
            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;
        }

        .couple-person-photo-wrap:hover .couple-person-img {
            transform: scale(1.05);
        }

        .person-flower {
            position: absolute;
            pointer-events: none;
            object-fit: contain;
            transform: translateZ(0);
            will-change: transform;
        }

        /* WOMAN */
        .couple-person--woman .person-flower.fl {
            z-index: 1;
            width: clamp(82px, calc(28 * var(--vw)), 108px);
            left: clamp(-38px, calc(-8 * var(--vw)), -16px);
            bottom: -14px;
            top: auto;
            transform: rotate(-8deg);
        }

        .couple-person--woman .person-flower.fr {
            z-index: 1;
            width: clamp(118px, calc(38 * var(--vw)), 156px);
            right: clamp(-38px, calc(-8 * var(--vw)), -16px);
            bottom: 22px;
            top: auto;
            transform: rotate(8deg);
        }

        /* MAN */
        .couple-person--man .person-flower.fl {
            z-index: 1;
            width: clamp(118px, calc(38 * var(--vw)), 156px);
            left: clamp(-38px, calc(-8 * var(--vw)), -16px);
            bottom: 6px;
            top: auto;
            transform: rotate(-8deg);
        }

        .couple-person--man .person-flower.fr {
            z-index: 1;
            width: clamp(82px, calc(28 * var(--vw)), 108px);
            right: clamp(-38px, calc(-8 * var(--vw)), -16px);
            bottom: -8px;
            top: auto;
            transform: rotate(8deg);
        }

        /* Flower animation */
        .person-flower {
            transform-origin: center bottom;
            will-change: transform;
        }

        .couple-person--woman .person-flower.fl {
            animation: flowerSwingWomanFront 4.2s ease-in-out infinite;
        }

        .couple-person--woman .person-flower.fr {
            animation: flowerSwingWomanBack 5.2s ease-in-out infinite;
            animation-delay: .6s;
        }

        .couple-person--man .person-flower.fl {
            animation: flowerSwingManBack 5s ease-in-out infinite;
            animation-delay: .4s;
        }

        .couple-person--man .person-flower.fr {
            animation: flowerSwingManFront 4s ease-in-out infinite;
        }

        @keyframes flowerSwingWomanFront {
            0%, 100% { transform: rotate(-8deg) translateY(0); }
            25% { transform: rotate(-13deg) translateY(-2px); }
            50% { transform: rotate(-6deg) translateY(0); }
            75% { transform: rotate(-11deg) translateY(-1px); }
        }

        @keyframes flowerSwingWomanBack {
            0%, 100% { transform: rotate(8deg) translateY(0); }
            25% { transform: rotate(13deg) translateY(-3px); }
            50% { transform: rotate(5deg) translateY(0); }
            75% { transform: rotate(10deg) translateY(-1px); }
        }

        @keyframes flowerSwingManBack {
            0%, 100% { transform: rotate(-8deg) translateY(0); }
            25% { transform: rotate(-12deg) translateY(-3px); }
            50% { transform: rotate(-5deg) translateY(0); }
            75% { transform: rotate(-10deg) translateY(-1px); }
        }

        @keyframes flowerSwingManFront {
            0%, 100% { transform: rotate(8deg) translateY(0); }
            25% { transform: rotate(12deg) translateY(-2px); }
            50% { transform: rotate(5deg) translateY(0); }
            75% { transform: rotate(10deg) translateY(-1px); }
        }

        @media (prefers-reduced-motion: reduce) {
            .couple-person--woman .person-flower.fl,
            .couple-person--woman .person-flower.fr,
            .couple-person--man .person-flower.fl,
            .couple-person--man .person-flower.fr,
            .couple-blangkon {
                animation: none;
            }
        }

        .couple-person-info {
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
        }

        .couple-person-script {
            font-family: 'Great Vibes', cursive;
            font-size: clamp(2.4rem, calc(8 * var(--vw)), 3.2rem);
            color: #8f6a76;
            line-height: 1.1;
            opacity: 0;
            transform: translateY(36px);
            transition: opacity 2.4s cubic-bezier(.25, .8, .3, 1) .25s, transform 2.4s cubic-bezier(.25, .8, .3, 1) .25s;
        }

        .couple-person-fullname {
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(1rem, calc(3.2 * var(--vw)), 1.2rem);
            font-weight: 600;
            color: var(--text);
            letter-spacing: .04em;
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 2.4s cubic-bezier(.25, .8, .3, 1) .45s, transform 2.4s cubic-bezier(.25, .8, .3, 1) .45s;
        }

        .couple-person-bio {
            font-family: 'Cormorant Garamond', serif;
            font-style: italic;
            font-size: clamp(.92rem, calc(2.8 * var(--vw)), 1.05rem);
            color: var(--text-light);
            line-height: 1.5;
            margin-top: 2px;
            opacity: 0;
            transform: translateY(28px);
            transition: opacity 2.4s cubic-bezier(.25, .8, .3, 1) .65s, transform 2.4s cubic-bezier(.25, .8, .3, 1) .65s;
        }

        .couple-person.visible .couple-person-script,
        .couple-person.visible .couple-person-fullname,
        .couple-person.visible .couple-person-bio {
            opacity: 1;
            transform: translateY(0);
        }

        .couple-and-divider {
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(3rem, calc(10 * var(--vw)), 4.5rem);
            font-weight: 300;
            color: #dcc6cd;
            line-height: 1;
            padding: 14px 0 22px;
        }

        .couple-oval-card {
            position: relative;
            max-width: 460px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.72);
            border: 6px solid rgba(232, 180, 195, 0.45);
            border-radius: 260px / 220px;
            box-shadow:
                0 10px 30px rgba(95, 74, 82, 0.08),
                0 2px 10px rgba(95, 74, 82, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
            padding: clamp(56px, calc(10 * var(--vw)), 80px) clamp(24px, calc(6 * var(--vw)), 48px);
            overflow: hidden;
        }

        .couple-oval-card::before {
            display: none;
        }

        .couple-oval-card::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(227, 193, 203, 0.08) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
            z-index: 0;
        }

        .couple-oval-card .couple-wrap {
            max-width: 100%;
            margin: 0;
            position: relative;
            z-index: 1;
        }

        /* ══ LOVE STORY ══ */
        #love-story {
            background: transparent;
            padding: 90px 20px 40px;
            position: relative;
            z-index: 1;
        }

        #love-story::before {
            display: none;
        }

        .love-story-wrap {
            position: relative;
            max-width: 760px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 26px;
            padding-left: 68px;
        }

        .love-story-line {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 34px;
            width: 2px;
            background: linear-gradient(to bottom, transparent 0%, #ead8de 12%, #c88fa0 50%, #ead8de 88%, transparent 100%);
            opacity: .85;
        }

        .love-story-wrap { overflow-anchor: none; }
        .love-story-card { contain: paint; }
        .love-story-item {
            position: relative;
            overflow-anchor: none;
        }
        .love-story-card {
            opacity: 0;
            transform: translate3d(0, 22px, 0);
            transition: opacity .55s ease-out, transform .55s cubic-bezier(.22,1,.36,1);
            will-change: transform, opacity;
        }
        .love-story-item.visible .love-story-card {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }

        .love-story-dot {
            position: absolute;
            left: -30px;
            top: 50%;
            transform: translateY(-50%);
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: var(--rose);
            box-shadow: 0 0 0 6px rgba(200, 143, 160, .14);
            animation: dot-pulse 2s ease-in-out infinite;
        }

        @keyframes dot-pulse {
            0%, 100% { box-shadow: 0 0 0 6px rgba(200, 143, 160, .14); transform: translateY(-50%) scale(1); }
            50% { box-shadow: 0 0 0 10px rgba(200, 143, 160, .08); transform: translateY(-50%) scale(1.02); }
        }

        .love-story-card {
            background: rgba(255, 255, 255, .88);
            border: none;
            border-radius: 24px;
            padding: 24px 22px;
            box-shadow: 0 10px 30px rgba(95, 74, 82, .08);
            position: relative;
            overflow: hidden;
        }

        /* .love-story-card::before removed */
        .love-story-card::before { display: none; }
.love-story-year {
            font-size: .72rem;
            letter-spacing: .04em;
            text-transform: uppercase;
            color: var(--rose);
            margin-bottom: 10px;
            font-weight: 600;
        }

        .love-story-card h3 {
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(1.35rem, calc(4 * var(--vw)), 1.8rem);
            color: #8f6a76;
            margin-bottom: 10px;
            font-style: italic;
        }

        .love-story-card p {
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(.98rem, calc(2.8 * var(--vw)), 1.08rem);
            line-height: 1.5;
            color: var(--text-light);
        }
        .love-story-img {
            display: block;
            width: 100%;
            aspect-ratio: 3/4;
            object-fit: cover;
            object-position: center top;
            border-radius: 14px;
            margin-top: 14px;
        }

        @media (max-width: 640px) {
            .love-story-wrap {
                padding-left: 48px;
            }
            .love-story-dot {
                left: -28px;
            }
            .love-story-line {
                left: 26px;
            }
            .love-story-card {
                padding: 20px 18px;
                border-radius: 20px;
            }
        }

        /* ══ ALBUM ══ */
        #album {
            background: var(--white);
            padding: 40px 20px 90px;
            position: relative;
        }

        #album::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 150px;
            background: linear-gradient(0deg, rgba(238, 217, 223, 0.12) 0%, transparent 100%);
            pointer-events: none;
        }

        .album-featured {
            max-width: 1000px;
            margin: 0 auto 0;
            border-radius: 4px;
            overflow: hidden;
            aspect-ratio: 4/3;
            box-shadow: 0 12px 36px rgba(95, 74, 82, .10);
            opacity: 0;
            transform: translateY(56px);
            transition: opacity 2s cubic-bezier(.25,.8,.3,1), transform 2s cubic-bezier(.25,.8,.3,1);
            cursor: pointer;
            position: relative;
        }

        .album-featured::before {
            content: "";
            position: absolute;
            inset: 0;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 4px;
            z-index: 2;
            pointer-events: none;
        }

        .album-featured::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(45deg, rgba(227, 193, 203, 0.2) 0%, transparent 50%, rgba(200, 143, 160, 0.2) 100%);
            opacity: 0;
            transition: opacity 0.5s;
            z-index: 1;
            pointer-events: none;
        }

        .album-featured:hover::after {
            opacity: 1;
        }

        .album-featured.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .album-featured img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform .6s ease;
        }

        .album-featured:hover img {
            transform: scale(1.03);
        }

        .album-connector {
            max-width: 1000px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 28px 4px;
            opacity: 0;
            transform: translateY(28px);
            transition: opacity 2.2s cubic-bezier(.25, .8, .3, 1), transform 2.2s cubic-bezier(.25, .8, .3, 1);
        }

        .album-connector.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .album-connector-line {
            flex: 1;
            height: 1px;
            background: linear-gradient(to right, rgba(200, 143, 160, .55), rgba(200, 143, 160, .15));
        }

        .album-connector-names {
            font-family: 'Great Vibes', cursive;
            font-size: clamp(1.6rem, calc(5 * var(--vw)), 2.2rem);
            color: #8f6a76;
            line-height: 1;
            white-space: nowrap;
        }

        .album-grid-2 {
            max-width: 1000px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 8px;
        }

        .album-item {
            border-radius: 4px;
            overflow: hidden;
                        aspect-ratio: 4/5;
            border: 1px solid rgba(0,0,0,.08);
            box-shadow: 0 8px 24px rgba(95, 74, 82, .08);
            opacity: 0;
            transform: translateY(70px);
            transition: opacity 2s cubic-bezier(.25,.8,.3,1), transform 2s cubic-bezier(.25,.8,.3,1);
            cursor: pointer;
            position: relative;
        }

        .album-item::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(227, 193, 203, 0.4) 0%, transparent 50%);
            opacity: 0;
            transition: opacity 0.4s;
            z-index: 1;
            pointer-events: none;
        }

        .album-item:hover::before {
            opacity: 1;
        }

        .album-item::after {
            content: "✦";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0);
            font-size: 3rem;
            color: #fff;
            z-index: 2;
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            pointer-events: none;
        }

        .album-item:hover::after {
            transform: translate(-50%, -50%) scale(1);
            opacity: 1;
        }

        .album-item.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .album-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            background: linear-gradient(160deg, var(--pink-100), var(--pink-300));
            transition: transform .5s ease;
        }

        .album-item:hover img {
            transform: scale(1.07);
        }

        /* ══ WEDDING GIFT ══ */
        #wedding-gift {
            background: transparent;
            padding: 40px 20px;
            position: relative;
            z-index: 1;
        }

        #wedding-gift::before {
            display: none;
        }
        /* gift toggle button */
        .gift-toggle-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            margin: 0 auto;
            padding: 10px 28px;
            background: linear-gradient(135deg, #dcb4bf 0%, #c88fa0 100%);
            color: #fff;
            border: none;
            border-radius: 999px;
            font-family: "Geist", sans-serif;
            font-size: .82rem;
            font-weight: 600;
            cursor: pointer;
            box-shadow: 0 4px 14px rgba(200,143,160,.28);
            transition: transform .2s, box-shadow .2s;
        }
        .gift-toggle-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(200,143,160,.35); }
        .gift-toggle-btn svg { flex-shrink: 0; }
        .gift-details { max-width: 560px; margin: 0 auto; }
        .gift-details summary::-webkit-details-marker { display: none; }
        .gift-details summary::marker { content: ""; }
        .gift-cards { max-width: 560px; margin: 24px auto 0; display: flex; flex-direction: column; gap: 16px; }
        .gift-card--intro {
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 16px;
            padding: 28px 22px;
        }

        .gift-details summary 
        .gift-card--intro.visible { opacity: 1 !important; transform: none !important; }
        .gift-card--intro .gift-intro {
            opacity: 1;
            transform: none;
            margin: 0;
        }

        .gift-intro {
            max-width: 480px;
            margin: 0 auto 48px;
            text-align: center;
            font-family: 'Cormorant Garamond', serif;
            font-style: italic;
            font-size: clamp(.95rem, calc(2.8 * var(--vw)), 1.08rem);
            line-height: 1.5;
            color: var(--text-light);
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 2.2s cubic-bezier(.25, .8, .3, 1), transform 2.2s cubic-bezier(.25, .8, .3, 1);
        }

        .gift-intro.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* gift-cards merged above */

        .gift-card {
            background: rgba(255, 255, 255, .92);
            border: none;
            border-radius: 22px;
            padding: 26px 28px;
            box-shadow: 0 8px 28px rgba(95, 74, 82, .07);
            display: flex;
            align-items: center;
            gap: 20px;
            opacity: 0;
            transform: translateY(52px);
            transition: opacity 1s ease, transform 1s ease;
            position: relative;
            overflow: hidden;
        }

        .gift-card::before {
            content: "";
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(227, 193, 203, 0.08) 0%, transparent 70%);
            opacity: 0;
            transition: opacity 0.3s;
        }

        /* hover card dihapus — hanya button hover */

        .gift-card.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .gift-card-icon {
            width: 52px;
            height: 52px;
            border-radius: 16px;
            background: linear-gradient(135deg, #f2dce3, #e8c5d0);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            color: #8b5e6b;
        }

        .gift-card-body {
            flex: 1;
            min-width: 0;
        }

        .gift-card-bank {
            font-size: .68rem;
            letter-spacing: .04em;
            text-transform: uppercase;
            color: #b48a97;
            font-weight: 500;
            margin-bottom: 4px;
        }

        .gift-card-name {
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(1rem, calc(3 * var(--vw)), 1.15rem);
            font-weight: 600;
            color: var(--text);
            margin-bottom: 2px;
        }

        .gift-card-number {
            font-family: 'Geist', sans-serif;
            font-size: clamp(.82rem, calc(2.4 * var(--vw)), .92rem);
            color: var(--text-light);
            letter-spacing: .04em;
        }

        .gift-copy-btn {
            flex-shrink: 0;
            width: 38px;
            height: 38px;
            border-radius: 12px;
            background: rgba(200, 143, 160, .10);
            border: 1px solid rgba(200, 143, 160, .20);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--rose);
            font-size: .85rem;
            transition: background .2s, transform .2s;
            position: relative;
        }

        .gift-copy-btn:hover {
            background: rgba(200, 143, 160, .20);
            transform: scale(1.06);
        }

        .gift-copy-btn.copied {
            background: rgba(100, 180, 140, .15);
            border-color: rgba(100, 180, 140, .30);
            color: #3a7a5a;
        }

        .gift-tooltip {
            position: absolute;
            bottom: calc(100% + 8px);
            left: 50%;
            transform: translateX(-50%);
            background: #4f3d45;
            color: #fff;
            font-size: .62rem;
            letter-spacing: .04em;
            padding: 5px 10px;
            border-radius: 8px;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: opacity .2s;
        }

        .gift-copy-btn.copied .gift-tooltip {
            opacity: 1;
        }

        .gift-note {
            max-width: 480px;
            margin: 36px auto 0;
            text-align: center;
            font-family: 'Cormorant Garamond', serif;
            font-style: italic;
            font-size: clamp(.88rem, calc(2.5 * var(--vw)), .98rem);
            color: rgba(200, 143, 160, .75);
            line-height: 1.5;
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 2.2s cubic-bezier(.25, .8, .3, 1), transform 2.2s cubic-bezier(.25, .8, .3, 1);
        }

        .gift-note.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ══ UCAPAN ══ */
        #wishes {
            position: relative;
            z-index: 2;
            background: linear-gradient(160deg, #fdf6f8, #fffaf5);
            padding: 90px 20px;
        }

        #wishes::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(227, 193, 203, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(200, 143, 160, 0.06) 0%, transparent 40%);
            pointer-events: none;
        }

        .wishes-wrap {
            max-width: 560px;
            margin: 0 auto;
        }

        /* Form card */
        .wishes-form-card {
            background: rgba(255, 255, 255, .92);
            border: 1px solid rgba(200, 143, 160, .14);
            border-radius: 28px;
            padding: 36px 32px;
            box-shadow: 0 16px 48px rgba(95, 74, 82, .07);
            /* blur removed for scroll perf */
            margin-top: 32px;
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 2.2s cubic-bezier(.25, .8, .3, 1), transform 2.2s cubic-bezier(.25, .8, .3, 1);
            position: relative;
            overflow: hidden;
        }

        /* .wishes-form-card::before removed */
        .wishes-form-card::before { display: none; }

        .wishes-form-card::after {
            content: "♥";
            position: absolute;
            top: 20px;
            right: 30px;
            font-size: 3rem;
            color: rgba(200, 143, 160, 0.06);
            pointer-events: none;
        }

        .wishes-form-card.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .wishes-field {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .wishes-label {
            font-size: .68rem;
            letter-spacing: .04em;
            text-transform: uppercase;
            color: #b48a97;
            font-weight: 500;
        }

        .wishes-char-count {
            font-size: .6rem;
            color: var(--muted);
            text-align: right;
            letter-spacing: .02em;
        }

        .wishes-form-card input,
        .wishes-form-card textarea,
        .wishes-form-card select {
            padding: 13px 18px;
            border: 1px solid rgba(200, 143, 160, .22);
            border-radius: 14px;
            font-family: 'Geist', sans-serif;
            font-size: .83rem;
            background: rgba(253, 246, 248, .6);
            color: var(--text);
            outline: none;
            resize: none;
            transition: border-color .25s, box-shadow .25s, background .25s;
            -webkit-appearance: none;
            appearance: none;
        }

        .wishes-form-card input:focus,
        .wishes-form-card textarea:focus,
        .wishes-form-card select:focus {
            border-color: var(--rose);
            background: #fff;
            box-shadow: 0 0 0 4px rgba(200, 143, 160, .10);
        }

        .wishes-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
        }

        .wishes-radio-group {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }

        .wishes-radio-label {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 10px;
            border: 1px solid rgba(200, 143, 160, .22);
            border-radius: 12px;
            cursor: pointer;
            font-size: .78rem;
            color: var(--text-light);
            background: rgba(253, 246, 248, .5);
            transition: border-color .2s, background .2s, color .2s;
            user-select: none;
            text-align: center;
            line-height: 1.3;
        }

        .wishes-radio-label input[type="radio"] {
            display: none;
        }

        .wishes-radio-label:has(input:checked) {
            border-color: var(--rose);
            background: rgba(200, 143, 160, .10);
            color: var(--rose-deep);
            font-weight: 500;
        }

        .wishes-radio-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .wishes-radio-label:has(input[value="attending"]:checked) .wishes-radio-icon {
            background: rgba(180, 230, 200, .4);
            color: #3a7a5a;
        }

        .wishes-radio-label:has(input[value="declined"]:checked) .wishes-radio-icon {
            background: rgba(220, 180, 180, .3);
            color: #8a4a4a;
        }

        .wishes-stepper {
            display: flex;
            align-items: center;
            gap: 0;
            border: 1px solid rgba(200, 143, 160, .22);
            border-radius: 14px;
            overflow: hidden;
            background: rgba(253, 246, 248, .6);
            height: 46px;
        }

        .wishes-stepper button {
            width: 46px;
            height: 100%;
            background: none;
            border: none;
            cursor: pointer;
            font-size: 1.1rem;
            color: var(--rose);
            transition: background .2s;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: none;
        }

        .wishes-stepper button:hover {
            background: rgba(200, 143, 160, .10);
        }

        .wishes-stepper-val {
            flex: 1;
            text-align: center;
            font-size: .9rem;
            font-weight: 500;
            color: var(--text);
            font-family: 'Geist', sans-serif;
            border-left: 1px solid rgba(200, 143, 160, .15);
            border-right: 1px solid rgba(200, 143, 160, .15);
        }

        .wishes-form-gap {
            display: flex;
            flex-direction: column;
            gap: 18px;
        }

        .wishes-submit {
            width: 100%;
            padding: 15px;
            background: linear-gradient(135deg, #d8a8b6, #bf8798);
            color: #fff;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            font-family: 'Geist', sans-serif;
            font-size: .75rem;
            letter-spacing: .04em;
            text-transform: uppercase;
            box-shadow: 0 8px 24px rgba(120, 95, 105, .14);
            transition: transform .25s, box-shadow .25s;
            margin-top: 6px;
        }

        .wishes-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 28px rgba(120, 95, 105, .20);
        }

        .wishes-list-wrap {
            margin-top: 48px;
            opacity: 0;
            transform: translateY(36px);
            transition: opacity 2.2s cubic-bezier(.25, .8, .3, 1) .15s, transform 2.2s cubic-bezier(.25, .8, .3, 1) .15s;
        }

        .wishes-list-wrap.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .wishes-list-head {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 22px;
        }

        .wishes-list-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(1.1rem, calc(3 * var(--vw)), 1.3rem);
            font-style: italic;
            color: #8f6a76;
            white-space: nowrap;
        }

        .wishes-list-line {
            flex: 1;
            height: 1px;
            background: linear-gradient(to right, rgba(200, 143, 160, .40), rgba(200, 143, 160, .08));
        }

        .wishes-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .wishes-item {
            background: rgba(255, 255, 255, .96);
            border: 1px solid rgba(200, 143, 160, .14);
            border-radius: 18px;
            padding: 18px 22px;
            box-shadow: 0 4px 16px rgba(95, 74, 82, .05);
            display: flex;
            gap: 14px;
            align-items: flex-start;
            position: relative;
            overflow: hidden;
            transition: transform .18s ease, box-shadow .18s ease;
        }

        .wishes-item::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 3px;
            height: 100%;
            background: linear-gradient(180deg, transparent, #c88fa0, transparent);
            opacity: 0;
            transition: opacity 0.3s;
        }

        .wishes-item:hover {
            transform: translateX(5px);
            box-shadow: 0 8px 24px rgba(95, 74, 82, .12);
        }

        .wishes-item:hover::before {
            opacity: 1;
        }

        .wishes-avatar {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: linear-gradient(135deg, #e8c5cf, #d4a0b0);
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Cormorant Garamond', serif;
            font-size: 1rem;
            color: #fff;
            flex-shrink: 0;
            font-style: italic;
            position: relative;
            overflow: visible;
        }

        .wishes-avatar-img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
        }

        .wishes-avatar-count {
            position: absolute;
            bottom: -3px;
            right: -3px;
            background: linear-gradient(135deg, #3a7a5a, #4a9a6a);
            color: #fff;
            font-size: .55rem;
            font-weight: 600;
            font-family: system-ui, sans-serif;
            font-style: normal;
            width: 17px;
            height: 17px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1.5px solid rgba(255,255,255,.85);
            line-height: 1;
        }

        .wishes-item-body {
            flex: 1;
            min-width: 0;
        }

        .wishes-item-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            margin-bottom: 6px;
            flex-wrap: wrap;
        }

        .wishes-item .uk-name {
            font-weight: 500;
            color: var(--text);
            font-size: .83rem;
            letter-spacing: .04em;
        }

        .wishes-badge {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            border-radius: 50%;
        }

        .wishes-badge.attending {
            background: rgba(180, 230, 200, .35);
            color: #3a7a5a;
        }

        .wishes-badge.declined {
            background: rgba(220, 180, 180, .25);
            color: #8a4a4a;
        }

        .wishes-item-meta {
            display: flex;
            align-items: center;
            gap: 4px;
            flex-shrink: 0;
        }

        .wishes-time {
            font-size: .6rem;
            color: var(--muted);
            white-space: nowrap;
        }

        .wishes-item-bottom {
            display: flex;
            justify-content: flex-end;
            margin-top: 6px;
        }

        .wishes-item .uk-msg {
            font-family: 'Cormorant Garamond', serif;
            font-style: italic;
            color: var(--text-light);
            font-size: 1rem;
            line-height: 1.5;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            cursor: pointer;
            transition: all .2s;
        }

        .wishes-item .uk-msg.expanded {
            -webkit-line-clamp: unset;
            display: block;
        }

        @media (max-width: 480px) {
            .wishes-form-card {
                padding: 26px 20px;
            }
            .wishes-row {
                grid-template-columns: 1fr;
            }
        }

        /* ══ BACKGROUND ══ */
        .photo-bg-wrap {
            position: relative;
            isolation: isolate;
        }

        .photo-bg-inner {
            position: sticky;
            top: 0;
            height: 100vh;
            margin-bottom: -100vh;
            background: 
                radial-gradient(circle at 30% 20%, rgba(227, 193, 203, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 70% 80%, rgba(200, 143, 160, 0.12) 0%, transparent 40%),
                #f5e8ec;
            z-index: 0;
        }

        #couple {
            position: relative;
            z-index: 1;
            background: transparent;
        }
        #love-story,
        #album {
            position: relative;
            z-index: 1;
            background: rgba(255, 255, 255, 0.86);
        }

        /* ══ FOOTER ══ */
        footer {
            position: relative;
            z-index: 2;
            background: linear-gradient(160deg, #c49aaa 0%, #a87a8e 100%);
            color: rgba(255, 255, 255, .70);
            text-align: center;
            padding: 0;
            font-size: .75rem;
            overflow: hidden;
        }

        .footer-inner {
            max-width: 560px;
            margin: 0 auto;
            padding: 60px 24px 36px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0;
        }

        .footer-inner .footer-ornament,
        .footer-inner .footer-names,
        .footer-inner .footer-date,
        .footer-inner .footer-prayer,
        .footer-inner .footer-bottom {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 2.2s cubic-bezier(.25, .8, .3, 1), transform 2.2s cubic-bezier(.25, .8, .3, 1);
        }

        .footer-inner .footer-names {
            transition-delay: .15s;
        }

        .footer-inner .footer-date {
            transition-delay: .3s;
        }

        .footer-inner .footer-divider {
            transform: scaleX(0);
            transition: transform 1.8s cubic-bezier(.25, .8, .3, 1) .45s;
        }

        .footer-inner .footer-prayer {
            transition-delay: .6s;
        }

        .footer-inner .footer-bottom {
            transition-delay: .9s;
        }

        .footer-inner.visible .footer-ornament,
        .footer-inner.visible .footer-names,
        .footer-inner.visible .footer-date,
        .footer-inner.visible .footer-prayer,
        .footer-inner.visible .footer-bottom {
            opacity: 1;
            transform: translateY(0);
        }

        .footer-inner.visible .footer-divider {
            transform: scaleX(1);
        }

        .footer-ornament {
            width: 80px;
            opacity: .55;
            margin-bottom: 24px;
        }

        .footer-names {
            font-family: 'Great Vibes', cursive;
            font-size: clamp(2rem, calc(6 * var(--vw)), 2.8rem);
            color: rgba(255, 255, 255, .90);
            line-height: 1.1;
            margin-bottom: 6px;
        }

        .footer-date {
            font-family: 'Cormorant Garamond', serif;
            font-style: italic;
            font-size: clamp(.85rem, calc(2.5 * var(--vw)), 1rem);
            color: rgba(255, 255, 255, .85);
            letter-spacing: .04em;
            margin-bottom: 28px;
        }

        .footer-divider {
            width: 48px;
            height: 1px;
            background: rgba(255, 255, 255, .25);
            margin-bottom: 28px;
        }

        .footer-prayer {
            font-family: 'Cormorant Garamond', serif;
            font-style: italic;
            font-size: clamp(.95rem, calc(2.8 * var(--vw)), 1.1rem);
            line-height: 1.5;
            color: rgba(255, 255, 255, .60);
            max-width: 360px;
            margin-bottom: 36px;
        }

        .footer-bottom {
            width: 100%;
            border-top: 1px solid rgba(255, 255, 255, 0.13);
            padding-top: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
        }

        .footer-credit {
            font-size: .65rem;
            letter-spacing: .04em;
            color: rgba(255, 255, 255, .30);
            text-transform: uppercase;
        }

        .footer-credit a {
            color: rgba(255, 255, 255, .60);
            text-decoration: none;
            transition: color .25s;
        }

        .footer-credit a:hover {
            color: rgba(200, 143, 160, .90);
        }

        /* ══ MUSIC ══ */
        #music-btn {
            position: fixed;
            bottom: 28px;
            right: 28px;
            z-index: 999;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: linear-gradient(135deg, #d8a8b6, #bf8798);
            color: #fff;
            font-size: 1.2rem;
            border: none;
            cursor: pointer;
            box-shadow: 0 8px 20px rgba(120, 95, 105, .16);
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 0;
            transition: transform .3s;
            overflow: hidden;
        }

        #music-btn svg {
            display: block;
            margin: 0;
        }

        #music-btn::before {
            content: "";
            position: absolute;
            inset: -2px;
            border-radius: 50%;
            background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
            opacity: 0;
            animation: music-shine 3s linear infinite;
        }

        @keyframes music-shine {
            0% { transform: translateX(-100%) rotate(45deg); opacity: 0; }
            50% { opacity: 1; }
            100% { transform: translateX(100%) rotate(45deg); opacity: 0; }
        }

        #music-btn:hover {
            transform: scale(1.1);
        }

        #music-btn.playing {
            animation: pulseRing 1.4s infinite;
        }

        /* ══ LIGHTBOX ══ */
        #lightbox {
            position: fixed;
            inset: 0;
            z-index: 10000;
            background: rgba(10, 6, 8, .94);
            display: flex;
            flex-direction: column;
            opacity: 0;
            pointer-events: none;
            transition: opacity .35s;
            color: #fff;
            user-select: none;
        }

        #lightbox.show {
            opacity: 1;
            pointer-events: all;
        }

        #lightbox-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 16px;
            flex-shrink: 0;
        }

        #lightbox-counter {
            font-size: .82rem;
            font-family: inherit;
            opacity: .8;
        }

        #lightbox-actions {
            display: flex;
            gap: 2px;
        }

        #lightbox-actions button,
        #lightbox-close {
            background: none;
            border: none;
            color: #fff;
            font-size: 1.3rem;
            cursor: pointer;
            padding: 6px 10px;
            border-radius: 6px;
            line-height: 1;
            opacity: .75;
            transition: opacity .2s, background .2s;
        }

        #lightbox-actions button:hover,
        #lightbox-close:hover {
            opacity: 1;
            background: rgba(255,255,255,.1);
        }

        #lightbox-close {
            font-size: 1.5rem;
            padding: 6px 12px;
        }

        #lightbox-body {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            min-height: 0;
        }

        #lightbox-prev,
        #lightbox-next {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 80px;
            background: none;
            border: none;
            color: #fff;
            font-size: 2.4rem;
            cursor: pointer;
            opacity: .3;
            transition: opacity .25s;
            z-index: 2;
            line-height: 1;
        }

        #lightbox-prev { left: 0; text-align: left; padding-left: 12px; }
        #lightbox-next { right: 0; text-align: right; padding-right: 12px; }

        #lightbox-prev:hover,
        #lightbox-next:hover {
            opacity: .9;
        }

        #lightbox-img-wrap {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
            cursor: zoom-in;
            overflow: hidden;
        }

        #lightbox-img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transition: transform .25s ease, left .25s ease, top .25s ease;
            position: relative;
            will-change: transform, left, top;
        }

        #lightbox-img.lb-drag {
            transition: none;
        }

        /* ══ KEYFRAMES ══ */
        @keyframes gateBgSlideUp {
            from { transform: translateY(60px) scale(1.08); opacity: 0 }
            to { transform: translateY(0) scale(1); opacity: .85 }
        }

        @keyframes gateOverlayReveal {
            from { opacity: 0 }
            to { opacity: 1 }
        }

        @keyframes gateInnerSlideUp {
            from { opacity: 0; transform: translateY(50px) }
            to { opacity: 1; transform: translateY(0) }
        }

        @keyframes spinBtn {
            to { transform: rotate(360deg) }
        }

        @keyframes pulseRing {
            0% { box-shadow: 0 0 0 0 rgba(200, 143, 160, .28) }
            70% { box-shadow: 0 0 0 14px rgba(200, 143, 160, 0) }
            100% { box-shadow: 0 0 0 0 rgba(200, 143, 160, 0) }
        }

        /* ══ PARALLAX SCROLL EFFECTS ══ */
        [data-parallax] {
            will-change: transform;
            transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        /* ══ SHIMMER LOADING ══ */
        @keyframes shimmer {
            0% { background-position: -1000px 0; }
            100% { background-position: 1000px 0; }
        }

        .skeleton-loading {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 1000px 100%;
            animation: shimmer 2s infinite;
        }

        /* ══ RESPONSIVE MOBILE ══ */
        @media (max-width:390px) {
            .hero-event-bg {
                min-height: 640px;
            }
            .hero-event-overlay {
                inset: 18px;
                padding: 50px 20px 26px;
            }
        }

        @media (max-width:640px) {
            .couple-person-photo-wrap {
                margin: 0 clamp(40px, calc(12 * var(--vw)), 60px);
            }
            .couple-person--woman .person-flower.fl,
            .couple-person--man .person-flower.fr {
                width: clamp(74px, calc(24 * var(--vw)), 92px);
            }
            .couple-person--woman .person-flower.fr,
            .couple-person--man .person-flower.fl {
                width: clamp(104px, calc(32 * var(--vw)), 132px);
            }
        }
        
        /* Desktop banner - hidden on mobile */
        .desktop-banner {
            display: none;
        }

        /* =========================================
           DESKTOP VIEW (Screen width above 992px)
           ========================================= */
        @media (min-width: 992px) {
            :root {
                /* VW variable key: set to 1% of 480px so text doesn't scale excessively */
                --vw: 4.8px;
            }

            body {
                background-color: #eed9df; 
                background-size: cover;
                background-position: center;
                background-attachment: fixed;
                
                display: flex;
                justify-content: flex-end; /* Align mobile view to the right edge */
                margin: 0;
            }

            .desktop-banner {
                display: flex;
                position: fixed;
                left: 0;
                top: 0;
                bottom: 0;
                right: 480px;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                text-align: center;
                padding: 40px;
                z-index: 0;
                opacity: 1;
                transition: opacity .8s ease;
                /* SVG line/grid background, same as intro */
                background-color: #fdf1ec;
                background-image:
                    linear-gradient(rgba(200,143,160,.12) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(200,143,160,.12) 1px, transparent 1px);
                background-size: 32px 32px;
                background-position: center 40%;
                background-repeat: repeat;
            }

            .desktop-banner-script {
                font-family: 'Great Vibes', cursive;
                font-size: 3rem;
                margin-bottom: 20px;
                color: #8f6a76;
            }

            .desktop-banner-names {
                font-family: 'Cormorant Garamond', serif;
                font-size: 2.5rem;
                font-weight: 600;
                margin-bottom: 12px;
                color: #6f5560;
            }

            .desktop-banner-date {
                font-family: 'Geist', sans-serif;
                font-size: 1.1rem;
                letter-spacing: .04em;
                color: #8a6773;
            }

            /* Mobile container locked at 480px */
            .mobile-container {
                width: 480px;
                min-height: 100vh;
                background: transparent;
                position: relative;
                z-index: 1;
                border-left: 1px solid rgba(200, 143, 160, 0.4);
            }

            /* Force full-screen elements (like initial gate) to fit mobile container width */
            #gate,
            #video-intro {
                width: 486px !important;
                left: auto !important;
                right: 0 !important;
            }

            /* Secure music button position */
            #music-btn {
                right: 28px !important; 
            }
        }



        /* ══════════════════════════════════════════════════════
           MODERN UPGRADES
           ══════════════════════════════════════════════════════ */

        /* -- 1. COUPLE: arch framing + monogram + divider -- */
        .couple-person-img {
            border-radius: 50% 50% 18% 18% / 32% 32% 10% 10%;
        }

        .couple-person-photo-wrap::after {
            content: "";
            position: absolute;
            inset: -8px;
            border: 1.5px solid rgba(200, 143, 160, .28);
            border-radius: 50% 50% 18% 18% / 36% 36% 12% 12%;
            z-index: 0;
            pointer-events: none;
        }

        .couple-person-photo-wrap {
            z-index: 1;
        }

        .couple-monogram { display: none !important; }

        .couple-and-divider {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
            width: 100%;
        }

        .couple-and-divider::before,
        .couple-and-divider::after {
            content: "";
            height: 1px;
            flex: 1;
            max-width: 70px;
            background: linear-gradient(to right, transparent, rgba(200, 143, 160, .4));
        }

        .couple-and-divider::after {
            background: linear-gradient(to left, transparent, rgba(200, 143, 160, .4));
        }

        /* -- 2. DATE HERO (big typography separator) -- */
        .date-hero {
            position: relative;
            text-align: center;
            padding: 70px 24px 40px;
            background: linear-gradient(160deg, #f7dfe6 0%, #fde8ed 50%, #f7dfe6 100%);
        }

        .date-hero-label {
            font-family: 'Alice', serif;
            letter-spacing: .22em;
            text-transform: uppercase;
            font-size: .7rem;
            color: #b48a97;
            margin-bottom: 14px;
            opacity: 0;
            transform: translateY(-14px);
            transition: opacity 1.4s ease, transform 1.4s ease;
        }

        .date-hero-big {
            font-family: 'Great Vibes', cursive;
            font-size: clamp(2.5rem, calc(11 * var(--vw)), 4rem);
            color: #8f6a76;
            line-height: 1.15;
            opacity: 0;
            transform: translateY(18px);
            transition: opacity 1.6s ease .1s, transform 1.6s ease .1s;
        }

        .date-hero-label.visible,
        .date-hero-big.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* -- 3. SECTION DIVIDER -- */
        .section-divider {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
            padding: 8px 24px;
            max-width: 220px;
            margin: 0 auto;
        }

        .section-divider::before,
        .section-divider::after {
            content: "";
            height: 1px;
            flex: 1;
            background: linear-gradient(to right, transparent, rgba(200, 143, 160, .45));
        }

        .section-divider::after {
            background: linear-gradient(to left, transparent, rgba(200, 143, 160, .45));
        }

        .section-divider span {
            width: 8px;
            height: 8px;
            background: var(--rose);
            transform: rotate(45deg);
            border-radius: 2px;
            flex: none;
        }

        /* -- 4. INFO / PANDUAN -- */
        #info {
            background: var(--white);
            padding: 70px 20px 40px;
            position: relative;
        }

        .info-grid {
            max-width: 440px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr;
            gap: 14px;
        }

        .info-card {
            background: linear-gradient(160deg, #fff 0%, #fdf4f6 100%);
            border: 1px solid rgba(200, 143, 160, .18);
            border-radius: 16px;
            padding: 22px 20px;
            text-align: center;
            box-shadow: 0 8px 24px rgba(95, 74, 82, .06);
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 1s ease, transform 1s ease;
        }

        .info-card.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .info-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 52px;
            height: 52px;
            margin: 0 auto 10px;
            border-radius: 50%;
            background: linear-gradient(160deg, #f8e9ee, #f3dbe3);
            color: var(--rose-deep);
            line-height: 1;
        }

        .info-card h3 {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.25rem;
            color: #8f6a76;
            margin-bottom: 6px;
        }

        .info-card p {
            font-size: .85rem;
            color: var(--text-light);
            line-height: 1.6;
        }

        .info-card em {
            font-style: italic;
            color: var(--text);
        }

        .info-link {
            display: inline-block;
            margin-top: 10px;
            color: var(--rose-deep);
            font-size: .82rem;
            text-decoration: none;
            border-bottom: 1px dashed var(--rose);
            padding-bottom: 2px;
        }

        .info-map-wrap {
            max-width: 440px;
            margin: 22px auto 0;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(95, 74, 82, .1);
            border: 1px solid rgba(200, 143, 160, .18);
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 1s ease, transform 1s ease;
        }

        .info-map-wrap.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .info-map {
            display: block;
            width: 100%;
            height: 260px;
            border: 0;
        }

        /* -- 5. ALBUM MASONRY -- */
        .album-grid-2 {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 8px;
        }

        .album-grid-2 .album-item {
                        aspect-ratio: 4/5;
            margin-bottom: 0;
        }

        /* -- 6. STICKY BOTTOM NAV -- */
        .bottom-nav {
            position: fixed;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 950;
            display: flex;
            justify-content: space-around;
            background: rgba(255, 255, 255, .97);
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            border-top: 1px solid rgba(200, 143, 160, .22);
            box-shadow: 0 -6px 24px rgba(95, 74, 82, .08);
            padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
        }

        .bn-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 3px;
            text-decoration: none;
            color: var(--text-light);
            font-size: .6rem;
            padding: 6px 10px;
            border-radius: 12px;
            min-width: 62px;
            transition: color .25s, background .25s;
        }

        .bn-item:hover,
        .bn-item.active {
            color: var(--rose-deep);
            background: rgba(200, 143, 160, .12);
        }

        .bn-icon {
            font-size: 1.15rem;
            line-height: 1;
        }

        .bn-label {
            letter-spacing: .02em;
        }

        /* Raise floating buttons above the nav and clear page bottom */
        #music-btn {
            bottom: 28px;
        }

        footer {
            margin-bottom: 0;
        }

        @media (prefers-reduced-motion: reduce) {
            .info-card,
            .info-map-wrap,
            .date-hero-label,
            .date-hero-big {
                transition: none;
                opacity: 1;
                transform: none;
            }
        }

        @media (min-width: 992px) {
            .bottom-nav {
                left: auto;
                right: 0;
                width: 480px;
            }
        }


        /* user request: hide ❀ emote in Save The Date only */
        .save-wrap::before,
        .save-wrap::after { content: none !important; display: none !important; }
        /* keep hero slideshow smooth */
        .hero-slide-dots, .slide-dot { display: none !important; }

        /* E · GRID — user chosen (replaces DB theme_background) */
        body {
            background-color: #fffaf5 !important;
            background-image: linear-gradient(rgba(200,143,160,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(200,143,160,.07) 1px, transparent 1px) !important;
            background-size: 24px 24px !important;
            background-attachment: scroll !important;
        }
        /* mobile bg via theme_background — photo-bg-inner restored, desktop kanan via .desktop-banner */
        .photo-bg-wrap { position: relative; }
        .photo-bg-inner {
            position: fixed !important;
            inset: 0;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            z-index: -1;
            opacity: 1;
        }
        @media (min-width: 992px) { .photo-bg-inner { left: auto; width: 480px; right: 0; } }
        .desktop-banner { }
        .desktop-banner.has-bg { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
        .desktop-banner.has-bg .desktop-banner-script,
        .desktop-banner.has-bg .desktop-banner-names,
        .desktop-banner.has-bg .desktop-banner-date { color: #fff; }


        /* merged Akad+Resepsi in one card */
        /* merged: simetris — center vertikal + horizontal */
        .hero-event-card--merged .hero-event-bg { min-height: 840px; display: flex; align-items: center; justify-content: center; }
        .hero-event-overlay--merged {
            justify-content: center !important;
            align-items: center !important;
            gap: 0 !important;
            padding: 48px 28px !important;
            min-height: 0;
        }
        .hero-event-card--merged .hero-event-overlay--merged .event-block {
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            text-align: center; gap: 8px; padding: 20px 0; width: 100%; flex: 1;
        }
        .hero-event-card--merged .event-divider {
            width: 56%; height: 1px; margin: 0 auto; flex-shrink: 0;
            background: linear-gradient(90deg, transparent, rgba(200,143,160,.32), transparent);
        }
        @media (max-width: 640px) { .hero-event-card--merged .hero-event-bg { min-height: 880px; } }

        .hero-map-wrap { margin: 28px auto 0; max-width: 560px; padding: 0 20px; }
        .hero-map-wrap .info-map-wrap { margin: 0; padding: 6px; background: #fffaf5; border: 1.5px solid rgba(200,143,160,.28); border-radius: 24px; box-shadow: 0 4px 18px rgba(90,59,70,.08); }
        .hero-map { width: 100%; height: 320px; border: 0; border-radius: 18px; display: block; }
        @media (max-width: 640px) { .hero-map { height: 260px; } }

        .wishes-pagination { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 18px; flex-wrap: wrap; }
        .wishes-pagination button { min-width: 36px; height: 36px; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(200,143,160,.28); background: #fff; color: #5a3b46; font-size: .78rem; font-weight: 600; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
        .wishes-pagination button:hover { background: rgba(200,143,160,.08); }
        .wishes-pagination button.active { background: #c88fa0; color: #fff; border-color: #c88fa0; }
        .wishes-pagination button:disabled { opacity: .45; cursor: not-allowed; }
        .wishes-pagination .pg-ellipsis { color: rgba(90,59,70,.45); padding: 0 4px; }

/* ZOOM-IN ENTRANCE (maps + wedding gift) - match ref waktutemu.id zoomIn 2s ease */
@keyframes wd-zoomIn {
  0% { opacity: 0; transform: scale3d(0.3, 0.3, 0.3); }
  50% { opacity: 1; }
  100% { opacity: 1; transform: scale3d(1, 1, 1); }
}
#location[data-observe], #wedding-gift[data-observe] {
    opacity: 0;
}
#location.visible, #wedding-gift.visible {
    animation: wd-zoomIn 2s ease both;
}


/* wedding gift details entrance */



/* section header zoom-in entrance (love story / album / wishes) */
#love-story .section-label.visible,
#love-story .section-title.visible,
#album .section-label.visible,
#album .section-title.visible,
#wishes .section-label.visible,
#wishes .section-title.visible {
    opacity: 0;
    transform: none;
    animation: wd-zoomIn 2s ease both;
}

        .save-photo {
            position: relative;
            margin: -70px -20px 0;
            overflow: hidden;
            height: 100svh;
            min-height: 420px;
            max-height: 720px;
        }
        .save-photo-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center top;
            display: block;
        }
        .save-photo-fade {
            position: absolute;
            left: -20px;
            right: -20px;
            bottom: 0;
            height: 18%;
            background: linear-gradient(to bottom, rgba(247,223,230,0) 0%, rgba(247,223,230,.7) 55%, #f7dfe6 100%);
            pointer-events: none;
        }
