@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500&family=Montserrat:wght@300;400;500&display=swap');


/* =========================================================
   01. RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    background: #181818;
    color: #263b32;
    overflow-x: hidden;
}

button,
input,
select,
textarea {
    font-family: inherit;
}


/* =========================================================
   02. PAGE LOAD
========================================================= */

html.page-loading body {
    opacity: 0;
}

html.page-loaded body {
    opacity: 1;
    transition: opacity .45s ease;
}


/* =========================================================
   03. DESKTOP LAYOUT
========================================================= */

.desktop-layout {
    width: 100%;
    min-height: 100vh;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        430px;
}


/* =========================================================
   04. DESKTOP LEFT PANEL
========================================================= */

.desktop-panel {
    position: fixed;

    top: 0;
    left: 0;

    width: calc(100% - 430px);
    height: 100vh;

    overflow: hidden;

    background: #111;
}

.desktop-photo {
    position: absolute;
    inset: 0;

    background-image:
        url("assets/images/background-desktop.jpg");

    background-size: cover;

    background-position:
        center center;

    background-repeat:
        no-repeat;

    filter:
        contrast(1.08)
        saturate(1.04)
        brightness(.88);
}

.desktop-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, .08),
            rgba(0, 0, 0, .18),
            rgba(0, 0, 0, .68)
        );
}

.desktop-content {
    position: absolute;

    left: 55px;
    bottom: 50px;

    z-index: 2;

    color: white;
}

.desktop-label {
    margin-bottom: 10px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 22px;
}

.desktop-name {
    margin-bottom: 14px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        clamp(
            64px,
            6vw,
            96px
        );

    font-weight: 400;

    line-height: .9;
}

.desktop-date {
    font-size: 12px;

    letter-spacing: 1px;
}


/* =========================================================
   05. MOBILE PANEL
========================================================= */

.mobile-panel {
    width: 430px;

    min-height: 100vh;

    background: #f4efe7;
    
    grid-column: 2;
}

.mobile-shell {
    position: relative;

    width: 100%;

    min-height: 100vh;

    padding-bottom: 0;

    background: #f4efe7;
}

/* =========================================================
   06. OPENING COVER
========================================================= */

.opening-cover {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    height: 100vh;
    height: 100svh;

    min-height: 650px;

    z-index: 100;

    display: flex;

    justify-content: center;
    align-items: flex-end;

    overflow: hidden;

    background: #111;

    transition:
        opacity .9s ease,
        visibility .9s ease;
}

.opening-photo {
    position: absolute;

    inset: 0;

    background-image:
        url("assets/images/foto-cover.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transition:
        transform 1.2s cubic-bezier(.22, .61, .36, 1),
        filter 1.2s ease;
        filter:
    brightness(.65);
}

.opening-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, .05),
            rgba(0, 0, 0, .15),
            rgba(0, 0, 0, .78)
        );
}

.opening-content {
    position: relative;

    z-index: 2;

    width: 88%;
    max-width: 340px;

    padding:
        0
        15px
        45px;

    text-align: center;

    color: white;

    transition:
        opacity .65s ease,
        transform .8s ease;
}

.opening-label {
    margin-bottom: 12px;

    font-size: 10px;

    letter-spacing: 3px;
}

.opening-name {
    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 58px;

    font-weight: 400;

    line-height: .8;
}

.opening-name span {
    display: block;

    margin:
        10px 0;

    font-size: .42em;
}

.opening-date {
    margin-top: 20px;

    font-size: 10px;

    letter-spacing: 1px;
}

.guest {
    margin-top: 24px;

    font-size: 10px;

    line-height: 1.7;
}

.guest strong {
    display: block;

    margin-top: 3px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 20px;

    font-weight: 400;
}

#openInvitation {
    margin-top: 20px;

    padding:
        12px
        25px;

    border: none;

    border-radius: 30px;

    background: white;

    color: #2c3e34;

    font-size: 10px;

    cursor: pointer;
}


/* =========================================================
   07. COVER ANIMATION
========================================================= */

.opening-label,
.opening-name,
.opening-date,
.guest,
#openInvitation {
    opacity: 0;

    transform:
        translateY(18px);
}

.page-loaded .opening-label {
    animation:
        coverContentIn
        .7s ease
        .20s
        forwards;
}

.page-loaded .opening-name {
    animation:
        coverContentIn
        .8s ease
        .38s
        forwards;
}

.page-loaded .opening-date {
    animation:
        coverContentIn
        .7s ease
        .58s
        forwards;
}

.page-loaded .guest {
    animation:
        coverContentIn
        .7s ease
        .76s
        forwards;
}

.page-loaded #openInvitation {
    animation:
        coverContentIn
        .7s ease
        .95s
        forwards;
}

@keyframes coverContentIn {

    from {
        opacity: 0;

        transform:
            translateY(18px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}

.opening-cover.opening-exit
.opening-content {
    opacity: 0;

    transform:
        translateY(-25px);
}

.opening-cover.opening-exit
.opening-photo {
    transform:
        scale(1);

    filter:
        blur(4px)
        brightness(.75);
}

.opening-cover.hide {
    opacity: 0;

    visibility: hidden;

    pointer-events: none;
}
/* =========================================
   PREMIUM 1 — MOBILE SCROLL FIX
   Membebaskan sentuhan saat cover keluar
========================================= */

.opening-cover.opening-exit {
    pointer-events: none;
}

/* =========================================================
   08. HERO
========================================================= */

/* =========================================================
   HERO - FINAL
========================================================= */

.hero {
    position: relative;

    width: 100%;

    min-height: 100vh;
    min-height: 100svh;

    display: flex;

    justify-content: center;
    align-items: center;

    overflow: hidden;

    text-align: center;

    background-image:
        url("assets/images/background-hero.png");

    background-size:
        cover;

    background-position:
        center;

    background-repeat:
        no-repeat;

    z-index: 1;
}

.hero::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        rgba(255, 252, 245, .24);

    pointer-events: none;
}

.hero-content {
    position: relative;

    z-index: 3;

    width: 84%;
    max-width: 320px;

    opacity: 0;

    transform:
        translateY(30px);

    transition:
        opacity 1s ease,
        transform 1s ease;
}

body.invitation-open .hero-content {
    opacity: 1;

    transform:
        translateY(0);
}

.hero-frame {
    width: 100%;

    padding:
        34px
        20px;

    border:
        1px solid
        rgba(58, 79, 66, .38);

    border-radius: 18px;

    background:
        rgba(255, 252, 245, .25);

    backdrop-filter:
        blur(3px);

    -webkit-backdrop-filter:
        blur(3px);
}

.hero-label {
    margin-bottom: 18px;

    font-size: 9px;

    letter-spacing: 4px;

    color: #566b5e;
}

.hero-name {
    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 60px;

    font-weight: 400;

    line-height: .82;

    color: #30473b;
}

.hero-name span {
    display: block;

    margin:
        12px 0;

    font-size: .42em;
}

.hero-date {
    margin-top: 24px;

    font-size: 10px;

    letter-spacing: 2.5px;

    color: #4d6356;
}

/* =========================================================
   HERO ORNAMENT - REPEAT ENTRANCE
   MASUK SATU-SATU
========================================================= */

.hero-parallax {
    opacity: 0;

    transition:
        opacity .75s ease;
}


/* =========================================================
   1. BUNGA KIRI ATAS
========================================================= */

.hero.ornament-enter
.hero-flower-top-left {
    opacity: 1;

    transition-delay:
        .10s;
}


/* =========================================================
   2. BUNGA KANAN ATAS
========================================================= */

.hero.ornament-enter
.hero-flower-top-right {
    opacity: 1;

    transition-delay:
        .28s;
}


/* =========================================================
   3. BUNGA TENGAH ATAS
========================================================= */

.hero.ornament-enter
.hero-flower-top-center {
    opacity: 1;

    transition-delay:
        .46s;
}

/* =========================================================
   ANIMASI BUNGA TERTIUP ANGIN
   - Tidak mengganggu parallax scroll
   - Gerakan sangat lembut
========================================================= */


/* bunga kiri atas */
.hero-flower-top-left {
    transform-origin:
        20% 15%;

    animation:
        flowerWindLeft
        6.5s
        ease-in-out
        infinite;
}


/* bunga kanan atas */
.hero-flower-top-right {
    transform-origin:
        80% 15%;

    animation:
        flowerWindRight
        7s
        ease-in-out
        infinite;
}


/* =========================================================
   ANIMASI KIRI
========================================================= */

@keyframes flowerWindLeft {

    0% {
        rotate: 0deg;
    }

    25% {
        rotate: 1.3deg;
    }

    50% {
        rotate: -0.8deg;
    }

    75% {
        rotate: 1deg;
    }

    100% {
        rotate: 0deg;
    }

}


/* =========================================================
   ANIMASI KANAN
========================================================= */

@keyframes flowerWindRight {

    0% {
        rotate: 0deg;
    }

    25% {
        rotate: -1.2deg;
    }

    50% {
        rotate: .7deg;
    }

    75% {
        rotate: -1deg;
    }

    100% {
        rotate: 0deg;
    }

}


/* HERO - OVAL WEDDING PORTRAIT */

.hero .hero-content.hero-portrait-layout {
    position: absolute;
    top: 14%;
    left: 50%;
    z-index: 4;

    width: 85%;
    max-width: 320px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    opacity: 0;
    transform: translate(-50%, 25px);

    transition:
        opacity 1s ease,
        transform 1s ease;
}

body.invitation-open
.hero .hero-content.hero-portrait-layout {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* TULISAN ATAS */

.hero-portrait-label {
    margin-bottom: 20px;
    font-size: 10px;
    letter-spacing: 4px;

    color: #748178;
}

/* BINGKAI FOTO OVAL */

.hero-oval-frame {
    width: clamp(165px, 46vw, 205px);
    aspect-ratio: 3 / 4;

    border-radius: 50%;
    overflow: hidden;

    border: 5px solid #f8f5ed;
    outline: 1px solid #91a393;

    box-shadow:
        0 12px 35px rgba(48, 66, 57, .16);

    background: #e5ebe2;

    opacity: 0;

    transform: translateY(45px) scale(.85);

    transition:
        opacity 1.2s ease,
        transform 1.4s cubic-bezier(.16, 1, .3, 1);

    will-change: opacity, transform;
}



/* BINGKAI OVAL MUNCUL */

.hero-oval-frame.oval-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ZOOM HALUS FOTO DI DALAM BINGKAI */

.hero-oval-frame.oval-visible img {
    animation: heroPhotoSoftZoom
        8s ease-in-out 1.4s infinite;
}

@keyframes heroPhotoSoftZoom {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.045);
    }
}


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

/* NAMA MEMPELAI */

.hero-portrait-name {
    margin-top: 12px;

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(35px, 9vw, 45px);
    font-weight: 400;
    line-height: 1.1;

    color: #304239;

    transition-delay: .55s;
}

.hero-portrait-name span {
    font-size: .65em;

    color: #859789;
}

/* TANGGAL */

.hero-portrait-date {
    margin-top: 12px;

    font-size: 10px;
    letter-spacing: 2.5px;

    color: #40564a;
}


/* =========================================
   HERO TEXT - LUXURY SCROLL REVEAL
========================================= */

.hero-text-reveal {
    opacity: 0;
    transform: translateY(25px);

    transition:
        opacity .9s ease,
        transform 1.1s cubic-bezier(.16, 1, .3, 1);
}

/* TULISAN MUNCUL */

.hero-text-reveal.text-visible {
    opacity: 1;
    transform: translateY(0);
}

/* URUTAN ANIMASI */

.hero-portrait-label {
    transition-delay: 0s;
}

.hero-portrait-name {
    transition-delay: 0s;
}

.hero-portrait-date {
    transition-delay: 0s;
}


/* RESPONSIVE UNTUK HP PENDEK */

@media (max-height: 700px) {
    .hero .hero-content.hero-portrait-layout {
        top: 11%;
    }

    .hero-oval-frame {
        width: 155px;
    }

    .hero-portrait-name {
        margin-top: 16px;
    }
}


/* =========================================================
   HERO PARALLAX - FINAL
   - posisi ornament
   - ukuran responsive otomatis
   - goyang seperti tertiup angin
   - fade saat scroll
========================================================= */


/* =========================================================
   SEMUA ORNAMENT
========================================================= */

.hero-parallax {
    position: absolute;

    z-index: 2;

    pointer-events: none;
    user-select: none;

    will-change:
        transform,
        opacity,
        rotate;

    --parallax-y: 0px;
    --fade-opacity: 1;
    --ornament-scale: 1;

    opacity:
        var(--fade-opacity);

    scale:
        var(--ornament-scale);

    transition:
        opacity .15s linear;
}


/* =========================================================
   BUNGA KIRI ATAS
========================================================= */

.hero-flower-top-left {
    width: 130px;

    top: -28px;
    left: -34px;

    transform:
        translate3d(
            0,
            var(--parallax-y),
            0
        );

    transform-origin:
        20% 15%;

    animation:
        flowerWindLeft
        6.5s
        ease-in-out
        infinite;
}


/* =========================================================
   BUNGA KANAN ATAS
========================================================= */

.hero-flower-top-right {
    width: 130px;

    top: -28px;
    right: -34px;

    transform:
        translate3d(
            0,
            var(--parallax-y),
            0
        );

    transform-origin:
        80% 15%;

    animation:
        flowerWindRight
        7s
        ease-in-out
        infinite;
}

/* =========================================================
   CONTENT / CARD
========================================================= */

.hero-content {
    position: relative;

    z-index: 4;
}


.hero-frame {
    position: relative;

    z-index: 4;

    width: 100%;

    max-width: 320px;

    padding:
        52px
        22px
        30px;

    background:
        rgba(255, 252, 245, .72);

    border:
        1px solid
        rgba(70, 92, 78, .22);

    border-radius: 24px;

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);

    box-shadow:
        0 18px 45px
        rgba(53, 64, 57, .08);
}


/* =========================================================
   ANIMASI GOYANG KIRI
========================================================= */

@keyframes flowerWindLeft {

    0% {
        rotate: 0deg;
    }

    20% {
        rotate: 2.2deg;
    }

    45% {
        rotate: -1.6deg;
    }

    70% {
        rotate: 1.8deg;
    }

    100% {
        rotate: 0deg;
    }

}


/* =========================================================
   ANIMASI GOYANG KANAN
========================================================= */

@keyframes flowerWindRight {

    0% {
        rotate: 0deg;
    }

    20% {
        rotate: -2.2deg;
    }

    45% {
        rotate: 1.6deg;
    }

    70% {
        rotate: -1.8deg;
    }

    100% {
        rotate: 0deg;
    }

}


/* =========================================================
   MOBILE
   Ukuran otomatis mengikuti desktop
========================================================= */

@media (max-width: 768px) {

    .hero-parallax {
        --ornament-scale: .90;
    }

    .hero-frame {
        max-width: 315px;

        padding:
            50px
            20px
            28px;
    }

}


/* =========================================================
   HP KECIL
========================================================= */

@media (max-width: 360px) {

    .hero-parallax {
        --ornament-scale: .84;
    }

}

/* =========================================================
   HERO → INTRO ORNAMENT
   SCROLL ENTRANCE + EXIT
========================================================= */

.hero-intro-ornament {
    position: relative;

    width: 100%;
    height: 0;

    z-index: 20;

    overflow: visible;

    clip-path:
        inset(
            -300px
            0
            -220px
            0
        );

    pointer-events: none;
}


/* =========================================================
   SEMUA ORNAMENT
   KONDISI AWAL = BELUM TERLIHAT
========================================================= */

.hero-boundary-flower {
    position: absolute;

    display: block;

    pointer-events: none;
    user-select: none;

    opacity: 0;

    translate:
        0
        35px;

    scale:
        1.20;

    transition:
    opacity 1.1s ease-in-out,
    translate 1.4s cubic-bezier(.22, 1, .36, 1),
    scale 1.4s cubic-bezier(.22, 1, .36, 1);

    will-change:
        opacity,
        translate,
        scale,
        rotate;
}


/* =========================================================
   BUNGA KIRI - NAIK LEBIH TINGGI
========================================================= */

.hero-boundary-left {
    width:
        clamp(
            200px,
            58vw,
            245px
        );

    left:
        clamp(
            -42px,
            -9vw,
            -24px
        );

    top:
        clamp(
            -185px,
            -43vw,
            -145px
        );

    z-index: 5;

    transform-origin:
        20% 85%;
}


/* =========================================================
   BUNGA KANAN - NAIK LEBIH TINGGI
========================================================= */

.hero-boundary-right {
    width:
        clamp(
            200px,
            58vw,
            245px
        );

    right:
        clamp(
            -42px,
            -9vw,
            -24px
        );

    top:
        clamp(
            -185px,
            -43vw,
            -145px
        );

    z-index: 5;

    transform-origin:
        80% 85%;
}


/* =========================================================
   HERO CANDLE - SMOOTH ENTRANCE
========================================================= */

.hero-boundary-candle {
    width:
        clamp(
            185px,
            52vw,
            220px
        );

    left: 50%;

    top:
        clamp(
            -285px,
            -66vw,
            -225px
        );

    z-index: 10;

    transform:
        translateX(-50%);

    transform-origin:
        center center;

    opacity: 0;

    translate:
        0
        28px;

    scale:
        1.10;

    transition:
        opacity .9s ease,
        translate 1.25s cubic-bezier(.16, 1, .3, 1),
        scale 1.25s cubic-bezier(.16, 1, .3, 1);

    animation:
        none;
}


/* =========================================================
   MASUK SAAT SCROLL
========================================================= */

.hero-intro-ornament.boundary-active
.hero-boundary-flower {
    opacity: 1;

    translate:
        0
        0;

    scale:
        1;
}


/* BUNGA KIRI MASUK DULU */

.hero-intro-ornament.boundary-active
.hero-boundary-left {
    transition-delay:
        .08s;
}


/* BUNGA KANAN MENYUSUL */

.hero-intro-ornament.boundary-active
.hero-boundary-right {
    transition-delay:
        .22s;
}


/* LILIN PALING AKHIR */

.hero-intro-ornament.boundary-active
.hero-boundary-candle {
    transition-delay:
        .34s;
}


/* =========================================================
   GERAK BUNGA SETELAH MASUK
========================================================= */

.hero-intro-ornament.boundary-active
.hero-boundary-left {
    animation:
        boundaryFlowerLeft
        7.5s
        ease-in-out
        infinite;
}


.hero-intro-ornament.boundary-active
.hero-boundary-right {
    animation:
        boundaryFlowerRight
        8s
        ease-in-out
        infinite;
}


/* =========================================================
   HERO CANDLE ACTIVE
========================================================= */

.hero-intro-ornament.boundary-active
.hero-boundary-candle {
    opacity: 1;

    translate:
        0
        0;

    scale:
        1;

    transition-delay:
        .30s;

    animation:
        heroCandleSoftZoom
        5s
        ease-in-out
        1.7s
        infinite;
}


/* =========================================================
   ANIMASI BUNGA KIRI
========================================================= */

@keyframes boundaryFlowerLeft {

    0% {
        rotate: 0deg;
    }

    25% {
        rotate: 1.8deg;
    }

    50% {
        rotate: -1.2deg;
    }

    75% {
        rotate: 1.3deg;
    }

    100% {
        rotate: 0deg;
    }

}


/* =========================================================
   ANIMASI BUNGA KANAN
========================================================= */

@keyframes boundaryFlowerRight {

    0% {
        rotate: 0deg;
    }

    25% {
        rotate: -1.8deg;
    }

    50% {
        rotate: 1.2deg;
    }

    75% {
        rotate: -1.3deg;
    }

    100% {
        rotate: 0deg;
    }

}


/* =========================================================
   HERO CANDLE SOFT ZOOM
========================================================= */

@keyframes heroCandleSoftZoom {

    0% {
        scale: 1;
    }

    25% {
        scale: 1.025;
    }

    50% {
        scale: 1.055;
    }

    75% {
        scale: 1.025;
    }

    100% {
        scale: 1;
    }

}


/* =========================================================
   SAAT COVER BELUM DIBUKA
========================================================= */

body.invitation-locked
.hero-intro-ornament {
    opacity: 0;
    visibility: hidden;
}


body.invitation-open
.hero-intro-ornament {
    opacity: 1;
    visibility: visible;
}

/* =========================================================
   09. GLOBAL SECTION
========================================================= */

.section {
    position: relative;

    width: 100%;

    min-height: 100vh;

    padding:
        85px
        30px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    text-align: center;

    background: #f4efe7;
}

.section-label {
    margin-bottom: 12px;

    font-size: 9px;

    letter-spacing: 4px;

    color: #748178;
}

.section-title {
    margin-bottom: 25px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 46px;

    font-weight: 400;

    color: #304239;
}

.section-text {
    max-width: 310px;

    font-size: 12px;

    line-height: 1.9;

    color: #687269;
}


/* =========================================================
   COUNTDOWN - PREMIUM GREEN
========================================================= */

.countdown-section {
    min-height: auto;

    padding:
        58px
        30px
        64px;

    background:
        linear-gradient(
            180deg,
            #40564a 0%,
            #34483d 100%
        );

    color:
        #ffffff;
}


/* =========================================================
   LABEL
========================================================= */

.countdown-section .section-label {
    margin-bottom: 9px;

    color:
        rgba(255, 255, 255, .62);
}


/* =========================================================
   TITLE
========================================================= */

.countdown-section .section-title {
    margin-bottom: 10px;

    color:
        #ffffff;
}


.countdown-section .section-title::after {
    content: "";

    display: block;

    width: 44px;
    height: 1px;

    margin:
        14px
        auto
        0;

    background:
        rgba(255, 255, 255, .30);
}


/* =========================================================
   COUNTDOWN CONTAINER
========================================================= */

.countdown {
    width: 100%;

    max-width: 340px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 9px;

    margin-top: 28px;
}


/* =========================================================
   COUNTDOWN BOX
========================================================= */

.countdown-box {
    position: relative;

    padding:
        20px
        5px
        17px;

    border:
        1px solid
        rgba(255, 255, 255, .20);

    border-radius:
        18px;

    background:
        rgba(255, 255, 255, .10);

    box-shadow:
        0
        10px
        28px
        rgba(24, 35, 29, .16);

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);
}


/* dekorasi garis kecil */

.countdown-box::before {
    content: "";

    position: absolute;

    top: 8px;
    left: 50%;

    width: 18px;
    height: 1px;

    transform:
        translateX(-50%);

    background:
        rgba(255, 255, 255, .25);
}


/* =========================================================
   ANGKA
========================================================= */

.countdown-box span {
    display: block;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 36px;

    font-weight: 400;

    line-height: 1;

    color:
        #ffffff;
}


/* =========================================================
   TEXT DAYS / HOURS / MINUTES / SECONDS
========================================================= */

.countdown-box small {
    display: block;

    margin-top: 8px;

    font-size: 7px;

    letter-spacing: 1.5px;

    text-transform:
        uppercase;

    color:
        rgba(255, 255, 255, .62);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .countdown-section {
        padding:
            52px
            22px
            58px;
    }


    .countdown {
        max-width: 315px;

        gap: 8px;

        margin-top: 24px;
    }


    .countdown-box {
        padding:
            18px
            4px
            15px;

        border-radius:
            16px;
    }


    .countdown-box span {
        font-size: 32px;
    }

}


/* =========================================================
   HP KECIL
========================================================= */

@media (max-width: 390px) {

    .countdown-section {
        padding-left: 18px;
        padding-right: 18px;
    }


    .countdown {
        max-width: 300px;

        gap: 7px;
    }


    .countdown-box span {
        font-size: 29px;
    }


    .countdown-box small {
        font-size: 6px;

        letter-spacing: 1px;
    }

}


/* =========================================================
   11. INTRO - PREMIUM
========================================================= */

.intro-section {
    position: relative;

    z-index: 3;

    min-height: auto;

    padding:
        112px
        30px
        64px;

    background:
        linear-gradient(
            to bottom,
            #f4efe7 0%,
            #f1ece4 65%,
            #eef0ea 100%
        );

    overflow: visible;
}


/* Ruang aman untuk ornament Hero → Intro pada HP */
@media (max-width: 768px) {

    .intro-section {
        padding:
            104px
            24px
            62px;
    }

}


@media (max-width: 390px) {

    .intro-section {
        padding:
            94px
            20px
            58px;
    }

}


.intro-section .section-label {
    margin-bottom: 10px;

    color:
        #7b887f;
}


.intro-section .section-title {
    margin-bottom: 18px;

    color:
        #304239;
}


.intro-section .section-title::after {
    content: "";

    display: block;

    width: 42px;
    height: 1px;

    margin:
        14px
        auto
        0;

    background:
        rgba(71, 91, 78, .28);
}


.intro-section .section-text {
    position: relative;

    z-index: 2;

    max-width: 320px;

    margin:
        0
        auto;

    padding:
        24px
        22px;

    border:
        1px solid
        rgba(82, 99, 88, .12);

    border-radius:
        22px;

    background:
        rgba(255, 255, 255, .32);

    box-shadow:
        0
        12px
        30px
        rgba(59, 72, 63, .05);

    line-height: 2;

    color:
        #657168;
}


/* =========================================================
   BUNGA PEMBATAS INTRO + COUPLE
   ZOOM + SCROLL ENTRANCE
========================================================= */

.intro-couple-flower {
    position: absolute;

    left: 50%;

    bottom: -72px;

    width:
        clamp(
            180px,
            55vw,
            250px
        );

    z-index: 10;

    pointer-events: none;
    user-select: none;

    transform-origin:
        center center;

    opacity: 0;

    transform:
        translateX(-50%)
        scale(1.24);

    transition:
        opacity .8s ease,
        transform 1s
        cubic-bezier(.22, .61, .36, 1);

    will-change:
        transform,
        opacity;
}


/* BUNGA AKTIF SAAT MASUK VIEWPORT */

.intro-section.intro-flower-active
.intro-couple-flower {
    opacity: 1;

    animation:
        introCoupleFlowerZoom
        5.5s
        ease-in-out
        infinite;
}


/* =========================================================
   ZOOM LEMBUT
========================================================= */

@keyframes introCoupleFlowerZoom {

    0% {
        transform:
            translateX(-50%)
            scale(1);
    }

    50% {
        transform:
            translateX(-50%)
            scale(1.06);
    }

    100% {
        transform:
            translateX(-50%)
            scale(1);
    }

}

/* =========================================================
   COUPLE SECTION
========================================================= */

.couple-section {
    position: relative;

    z-index: 1;

    width: 100%;

    padding:
        88px
        20px
        90px;

    background:
        linear-gradient(
            to bottom,
            #eef0ea 0%,
            #f0ede6 45%,
            #f4efe7 100%
        );

    overflow: hidden;
}


/* =========================================================
   CONTAINER
========================================================= */

.couple-container {
    width: 100%;
    max-width: 430px;

    margin: 0 auto;
}


/* =========================================================
   HEADING
========================================================= */

.couple-section .section-heading {
    width: 100%;

    margin-bottom: 42px;

    text-align: center;
}


.couple-section .section-desc {
    max-width: 310px;

    margin: 0 auto;

    font-size: 12px;
    line-height: 1.9;

    color: #687269;
}


/* =========================================================
   GRID
   SATU KOLOM = ATAS BAWAH
========================================================= */

.couple-grid {
    display: grid;

    grid-template-columns:
        1fr;

    gap: 68px;

    width: 100%;
}


/* =========================================================
   CARD
========================================================= */

.couple-card {
    position: relative;

    width: 100%;
    max-width: 330px;

    margin: 0 auto;

    padding:
        22px
        14px
        10px;

    text-align: center;

    isolation: isolate;
}


/* =========================================================
   ORNAMENT
========================================================= */

.couple-ornament {
    position: absolute;

    z-index: 1;

    display: block;

    pointer-events: none;
    user-select: none;
}


/* =========================================================
   BUNGA KIRI
========================================================= */

.couple-ornament-left {
    width: 145px;

    top: -18px;
    left: -4px;

    transform-origin:
        20% 80%;

    animation:
        coupleFlowerLeft
        7s
        ease-in-out
        infinite;
}


/* =========================================================
   BUNGA KANAN
========================================================= */

.couple-ornament-right {
    width: 140px;

    top: 72px;
    right: -4px;

    transform-origin:
        80% 80%;

    animation:
        coupleFlowerRight
        7.5s
        ease-in-out
        infinite;
}


/* =========================================================
   FRAME FOTO
========================================================= */

.couple-frame {
    position: relative;

    z-index: 3;

    width: 230px;

    margin:
        0
        auto
        22px;

    padding: 8px;

    border:
        1px solid
        rgba(74, 94, 81, .22);

    border-radius:
        120px
        120px
        24px
        24px;

    background:
        rgba(255, 252, 246, .78);

    box-shadow:
        0
        14px
        34px
        rgba(67, 81, 72, .08);

    backdrop-filter:
        blur(4px);

    -webkit-backdrop-filter:
        blur(4px);
}


/* =========================================================
   FOTO
========================================================= */

.couple-photo {
    position: relative;

    width: 100%;

    aspect-ratio:
        4 / 5;

    overflow: hidden;

    border-radius:
        112px
        112px
        18px
        18px;

    background:
        #e9e3d9;
}


.couple-photo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   ROLE
========================================================= */

.couple-role {
    position: relative;

    z-index: 4;

    margin-bottom: 5px;

    font-size: 8px;

    letter-spacing: 3px;

    text-transform: uppercase;

    color: #79867e;
}


/* =========================================================
   NAMA
========================================================= */

.couple-name {
    position: relative;

    z-index: 4;

    margin-bottom: 10px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 48px;

    font-weight: 400;

    line-height: 1;

    color: #304239;
}


/* =========================================================
   ORANG TUA
========================================================= */

.couple-parent {
    position: relative;

    z-index: 4;

    margin: 0;

    font-size: 10px;

    line-height: 1.8;

    color: #5f6c64;
}


/* =========================================================
   INSTAGRAM
========================================================= */

.couple-instagram {
    position: relative;

    z-index: 4;

    margin-top: 10px;

    font-size: 10px;

    letter-spacing: 1px;

    color: #7d8b82;
}


/* =========================================================
   ANIMASI BUNGA KIRI
========================================================= */

@keyframes coupleFlowerLeft {

    0% {
        rotate: 0deg;
        transform: translateY(0);
    }

    25% {
        rotate: 2deg;
        transform: translateY(-2px);
    }

    50% {
        rotate: -1.3deg;
        transform: translateY(1px);
    }

    75% {
        rotate: 1.5deg;
        transform: translateY(-1px);
    }

    100% {
        rotate: 0deg;
        transform: translateY(0);
    }

}


/* =========================================================
   ANIMASI BUNGA KANAN
========================================================= */

@keyframes coupleFlowerRight {

    0% {
        rotate: 0deg;
        transform: translateY(0);
    }

    25% {
        rotate: -2deg;
        transform: translateY(-2px);
    }

    50% {
        rotate: 1.3deg;
        transform: translateY(1px);
    }

    75% {
        rotate: -1.5deg;
        transform: translateY(-1px);
    }

    100% {
        rotate: 0deg;
        transform: translateY(0);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .couple-section {
        padding:
            82px
            20px
            86px;
    }


    .couple-section .section-heading {
        margin-bottom: 40px;
    }


    .couple-grid {
        gap: 64px;
    }


    .couple-card {
        max-width: 320px;
    }


    .couple-frame {
        width: 220px;
    }


    .couple-ornament-left {
        width: 138px;

        top: -14px;
        left: 2px;
    }


    .couple-ornament-right {
        width: 134px;

        top: 70px;
        right: 2px;
    }

}


/* =========================================================
   DESKTOP
   TETAP 1 KOLOM
========================================================= */

@media (min-width: 769px) {

    .couple-container {
        max-width: 430px;
    }


    .couple-grid {
        grid-template-columns:
            1fr;

        gap: 72px;
    }


    .couple-card {
        max-width: 340px;
    }


    .couple-frame {
        width: 240px;
    }


    .couple-ornament-left {
        width: 150px;

        left: 0;
    }


    .couple-ornament-right {
        width: 145px;

        right: 0;
    }

}


/* =========================================================
   HP KECIL
========================================================= */

@media (max-width: 390px) {

    .couple-card {
        max-width: 300px;
    }


    .couple-frame {
        width: 210px;
    }


    .couple-ornament-left {
        width: 128px;
    }


    .couple-ornament-right {
        width: 125px;
    }

}


/* =========================================================
   13. WEDDING EVENT - FINAL CLEAN
========================================================= */

.event-section {
    position: relative;

    width: 100%;

    min-height: 100vh;

    padding:
        22px
        20px
        90px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-start;

    text-align: center;

    overflow: hidden;

    background:
        transparent;
}

/* =========================================================
   FADE HALUS COUPLE → EVENT
========================================================= */

.event-section::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 110px;

    z-index: 2;

    background:
        linear-gradient(
            to bottom,
            #f4efe7 0%,
            rgba(244, 239, 231, .92) 18%,
            rgba(244, 239, 231, .62) 42%,
            rgba(244, 239, 231, .28) 68%,
            rgba(244, 239, 231, 0) 100%
        );

    pointer-events: none;
}

/* =========================================================
   BACKGROUND FOTO EVENT
========================================================= */

.event-fixed-background {
    position: fixed;

    top: 0;
    right: 0;

    width: 430px;

    height: 100vh;
    height: 100svh;

    margin: 0;
    padding: 0;

    background-image:
        linear-gradient(
            to bottom,
            rgba(244, 240, 232, .22),
            rgba(244, 240, 232, .40)
        ),
        url("assets/images/background-event.jpg");

    background-size:
        auto 118%;

    background-position:
        center 45%;

    background-repeat:
        no-repeat;

    background-color:
        #eee9df;

    z-index: 0;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .35s ease,
        visibility .35s ease;
}


/* background aktif */

.event-section.event-active
.event-fixed-background {
    opacity: 1;

    visibility: visible;
}


/* =========================================================
   ORNAMENT EVENT - RESPONSIVE OTOMATIS
========================================================= */

/* =========================================================
   EVENT ORNAMENT - ZOOM SAAT SCROLL
========================================================= */

.event-ornament {
    position: absolute;

    display: block;

    z-index: 4;

    pointer-events: none;
    user-select: none;

    opacity: 0;

    scale: 1.22;

    transition:
        opacity .75s ease,
        scale 1s cubic-bezier(.22, .61, .36, 1);

    will-change:
        opacity,
        scale,
        transform,
        rotate;
}


/* BUNGA MASUK */

.event-section.event-ornament-enter
.event-ornament {
    opacity: 1;

    scale: 1;
}


/* BUNGA KIRI MASUK DULU */

.event-section.event-ornament-enter
.event-ornament-left {
    transition-delay:
        .10s;
}


/* BUNGA KANAN MENYUSUL */

.event-section.event-ornament-enter
.event-ornament-right {
    transition-delay:
        .25s;
}


/* BUNGA ATAS / KIRI */

.event-ornament-left {
    width: clamp(92px, 25vw, 108px);

    top: clamp(105px, 30vw, 130px);

    left: clamp(6px, 2vw, 10px);

    transform-origin:
        20% 70%;

    animation:
        eventFlowerLeft
        7s
        ease-in-out
        infinite;
}


/* BUNGA BAWAH / KANAN */

.event-ornament-right {
    width: clamp(100px, 27vw, 118px);

    right: clamp(6px, 2vw, 10px);

    bottom: clamp(-10px, -2vw, 0px);

    transform-origin:
        80% 70%;

    animation:
        eventFlowerRight
        7.5s
        ease-in-out
        infinite;
}


.event-section .section-label {
    position: relative;

    z-index: 3;

    margin-top: 36px;
    margin-bottom: 8px;

    color:
        #3f5248;

    font-weight: 500;

    text-shadow:
        0
        1px
        2px
        rgba(255, 255, 255, .70);
}


.event-section .section-title {
    position: relative;

    z-index: 3;

    margin-bottom: 26px;

    color:
        #2f4338;

    text-shadow:
        0
        2px
        6px
        rgba(255, 255, 255, .85);
}


/* KABUT LEMBUT DI BELAKANG JUDUL */

.event-section .section-title::before {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 260px;
    height: 120px;

    transform:
        translate(
            -50%,
            -50%
        );

    background:
        radial-gradient(
            ellipse at center,
            rgba(250, 247, 241, .72) 0%,
            rgba(250, 247, 241, .42) 45%,
            rgba(250, 247, 241, 0) 75%
        );

    filter:
        blur(8px);

    z-index: -1;

    pointer-events: none;
}


/* GARIS TIPIS DI BAWAH JUDUL */

.event-section .section-title::after {
    content: "";

    display: block;

    width: 58px;
    height: 1px;

    margin:
        12px
        auto
        0;

    background:
        rgba(58, 78, 66, .38);
}


/* =========================================================
   EVENT CARD
========================================================= */

.event-card {
    position: relative;

    z-index: 3;

    width: 100%;

    max-width: 330px;

    margin:
        10px
        auto;

    padding:
        34px
        24px
        32px;

    border:
        1px solid
        rgba(255, 255, 255, .54);

    border-radius:
        28px;

    background:
        rgba(250, 247, 241, .76);

    box-shadow:
        0
        16px
        36px
        rgba(48, 61, 52, .10);

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);

    overflow: hidden;
}


/* =========================================================
   EFEK DALAM CARD
========================================================= */

.event-card::before {
    content: "";

    position: absolute;

    top: -32px;

    right: -32px;

    width: 105px;

    height: 105px;

    border-radius:
        50%;

    background:
        radial-gradient(
            circle,
            rgba(180, 194, 182, .18),
            rgba(180, 194, 182, 0) 72%
        );

    z-index: 0;
}


.event-card > * {
    position: relative;

    z-index: 2;
}


/* =========================================================
   EVENT SMALL
========================================================= */

.event-small {
    margin-bottom: 12px;

    font-size: 8px;

    letter-spacing: 3px;

    color:
        #748178;
}


/* =========================================================
   HARI
========================================================= */

.event-card h3 {
    margin-top: 0;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 31px;

    font-weight: 400;

    color:
        #405348;
}


/* =========================================================
   TANGGAL
========================================================= */

.event-date-big {
    margin:
        5px
        0;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 76px;

    line-height: .9;

    color:
        #304239;
}


/* =========================================================
   TEXT
========================================================= */

.event-card p {
    font-size: 10px;

    line-height: 1.7;

    color:
        #627067;
}


/* =========================================================
   DIVIDER
========================================================= */

.event-divider {
    width: 38px;

    height: 1px;

    margin:
        18px
        auto;

    background:
        rgba(93, 112, 99, .38);
}


/* =========================================================
   LOCATION
========================================================= */

.event-location {
    margin-top: 18px;

    font-size:
        12px !important;

    font-weight: 500;

    color:
        #405348 !important;
}


/* =========================================================
   ADDRESS
========================================================= */

.event-address {
    max-width: 260px;

    margin:
        6px
        auto
        0;

    font-size:
        9px !important;

    line-height:
        1.8 !important;

    color:
        #68756c !important;
}


/* =========================================================
   BUTTON
========================================================= */

.location-button {
    margin-top: 20px;
}


/* =========================================================
   ANIMASI BUNGA KIRI
========================================================= */

@keyframes eventFlowerLeft {

    0% {
        rotate: 0deg;

        transform:
            translateY(0);
    }

    25% {
        rotate: 2deg;

        transform:
            translateY(-3px);
    }

    50% {
        rotate: -1.2deg;

        transform:
            translateY(1px);
    }

    75% {
        rotate: 1.4deg;

        transform:
            translateY(-2px);
    }

    100% {
        rotate: 0deg;

        transform:
            translateY(0);
    }

}


/* =========================================================
   ANIMASI BUNGA KANAN
========================================================= */

@keyframes eventFlowerRight {

    0% {
        rotate: 0deg;

        transform:
            translateY(0);
    }

    25% {
        rotate: -2deg;

        transform:
            translateY(-3px);
    }

    50% {
        rotate: 1.2deg;

        transform:
            translateY(1px);
    }

    75% {
        rotate: -1.4deg;

        transform:
            translateY(-2px);
    }

    100% {
        rotate: 0deg;

        transform:
            translateY(0);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .event-section {
        padding:
            18px
            20px
            85px;
    }


    .event-fixed-background {
        left: 0;

        right: auto;

        width: 100%;

        background-size:
            auto 118%;

        background-position:
            center 45%;
    }


    .event-section .section-label {
        margin-top: 34px;
    }


    .event-card {
        max-width: 325px;

        padding:
            34px
            22px
            30px;
    }

}


/* =========================================================
   HP KECIL
========================================================= */

@media (max-width: 390px) {

    .event-section {
        padding-top: 16px;
    }


    .event-section .section-label {
        margin-top: 30px;
    }


    .event-card {
        max-width: 305px;
    }

}

/* =========================================================
   14. BUTTON
========================================================= */

.outline-button {
    display: inline-block;

    margin-top: 20px;

    padding:
        11px
        24px;

    border:
        1px solid
        #65756b;

    border-radius: 30px;

    background: transparent;

    color: #405248;

    font-size: 9px;

    text-decoration: none;

    cursor: pointer;
}


/* =========================================================
   15. GALLERY - PREMIUM
========================================================= */

.gallery-section {
    min-height: auto;

    padding:
        70px
        24px
        78px;

    background:
        linear-gradient(
            to bottom,
            #f7f3ec 0%,
            #eee8de 100%
        );
}


/* =========================================================
   HEADING
========================================================= */

.gallery-section .section-label {
    margin-bottom: 8px;

    color:
        #7b887f;
}


.gallery-section .section-title {
    margin-bottom: 12px;

    color:
        #304239;
}


.gallery-section .section-title::after {
    content: "";

    display: block;

    width: 42px;
    height: 1px;

    margin:
        14px
        auto
        0;

    background:
        rgba(71, 91, 78, .28);
}


/* =========================================================
   GRID
========================================================= */

.gallery-grid {
    width: 100%;

    max-width: 350px;

    margin:
        30px
        auto
        0;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    grid-auto-rows:
        155px;

    gap: 9px;
}


/* =========================================================
   ITEM
========================================================= */

.gallery-item {
    position: relative;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, .60);

    border-radius:
        16px;

    background:
        #e8e1d6;

    box-shadow:
        0
        10px
        24px
        rgba(54, 68, 59, .08);
}


/* overlay lembut */

.gallery-item::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, .02),
            rgba(42, 57, 48, .08)
        );

    pointer-events: none;
}


/* =========================================================
   FOTO
========================================================= */

.gallery-item img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform:
        scale(1.01);

    transition:
        transform .8s
        cubic-bezier(.22, .61, .36, 1),
        filter .6s ease;
}


.gallery-item:hover img {
    transform:
        scale(1.06);
}


/* =========================================================
   VARIASI UKURAN
========================================================= */

.gallery-large {
    grid-row:
        span 2;

    border-radius:
        20px;
}


.gallery-wide {
    grid-column:
        span 2;

    border-radius:
        20px;
}


/* =========================================================
   DETAIL ORNAMEN HALUS
========================================================= */

.gallery-grid {
    position: relative;
}


.gallery-grid::before {
    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    top: -28px;
    right: -20px;

    border:
        1px solid
        rgba(79, 98, 85, .10);

    border-radius:
        50%;

    pointer-events: none;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .gallery-section {
        padding:
            60px
            20px
            68px;
    }


    .gallery-grid {
        max-width: 315px;

        grid-auto-rows:
            145px;

        gap: 8px;
    }


    .gallery-item {
        border-radius:
            14px;
    }


    .gallery-large,
    .gallery-wide {
        border-radius:
            18px;
    }

}


/* =========================================================
   HP KECIL
========================================================= */

@media (max-width: 390px) {

    .gallery-section {
        padding-left: 18px;
        padding-right: 18px;
    }


    .gallery-grid {
        max-width: 300px;

        grid-auto-rows:
            138px;

        gap: 7px;
    }

}



/* =========================================================
   GALLERY - LUXURY CINEMATIC YOUTUBE VIDEO
========================================================= */

.gallery-section .gallery-video {
    width: 100%;
    max-width: 370px;

    margin: 30px auto 42px;
    text-align: center;
}

/* VIDEO HEADING */

.gallery-section .gallery-video-heading {
    margin-bottom: 20px;
}

.gallery-section .gallery-video-heading span {
    display: block;
    margin-bottom: 8px;

    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    letter-spacing: 2.5px;

    color: #b39a70;
}

.gallery-section .gallery-video-heading h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 29px;
    font-weight: 400;

    color: #354b3c;
}

/* VIDEO FRAME */

.gallery-section .gallery-video-frame {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;

    padding: 6px;

    overflow: hidden;

    background: #fffcf7;

    border: 1px solid rgba(178, 153, 113, .35);
    border-radius: 10px;

    box-shadow:
        0 8px 22px rgba(64, 61, 49, .06),
        0 18px 38px rgba(64, 61, 49, .09);
}

/* YOUTUBE IFRAME */

.gallery-section .gallery-video-frame iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: none;
    border-radius: 5px;

    background: #151515;
}

/* CAPTION */

.gallery-section .gallery-video-caption {
    margin-top: 17px;

    font-family: "Cormorant Garamond", serif;
    font-size: 18px;
    font-style: italic;

    color: #738076;
}

/* MOBILE */

@media (max-width: 480px) {

    .gallery-section .gallery-video {
        width: 100%;
        margin: 26px auto 36px;
    }

    .gallery-section .gallery-video-heading h3 {
        font-size: 27px;
    }

}





/* =========================================================
   16. LOVE STORY - LUXURY EDITORIAL FINAL
   Premium Design - Static Photo
   Tanpa Zoom / Hover / Scroll Zoom
========================================================= */

/* =========================================================
   SECTION
========================================================= */

.story-section {
    position: relative;
    overflow: hidden;

    padding: 85px 24px 90px;

    background: linear-gradient(
        180deg,
        #f4efe7 0%,
        #faf7f1 48%,
        #f0e9df 100%
    );

    text-align: center;
}

/* =========================================================
   HEADING
========================================================= */

.story-section .story-heading {
    position: relative;
    margin-bottom: 42px;
}

.story-section .story-heading-line {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 13px;
    margin: 18px auto;
}

.story-section .story-heading-line::before,
.story-section .story-heading-line::after {
    content: "";

    width: 45px;
    height: 1px;

    background: rgba(166, 139, 94, .45);
}

.story-section .story-heading-line span {
    color: #b39a70;
    font-size: 13px;
}

.story-section .story-intro {
    max-width: 270px;
    margin: 0 auto;

    font-family: "Cormorant Garamond", serif;
    font-size: 19px;
    font-style: italic;
    line-height: 1.5;

    color: #6d796f;
}

/* =========================================================
   TIMELINE
========================================================= */

.story-section .timeline {
    position: relative;

    width: 100%;
    max-width: 350px;

    margin: 0 auto;

    text-align: left;
}

.story-section .timeline::before {
    content: "";

    position: absolute;

    top: 12px;
    bottom: 15px;
    left: 7px;

    width: 1px;

    background: linear-gradient(
        to bottom,
        transparent,
        rgba(177, 149, 104, .7) 12%,
        rgba(177, 149, 104, .5) 88%,
        transparent
    );
}

/* =========================================================
   TIMELINE ITEM
========================================================= */

.story-section .timeline-item {
    position: relative;

    padding-left: 27px;
    margin-bottom: 45px;
}

.story-section .timeline-item:last-child {
    margin-bottom: 0;
}

/* =========================================================
   GOLD DOT
========================================================= */

.story-section .timeline-dot {
    position: absolute;

    top: 17px;
    left: 1px;

    width: 13px;
    height: 13px;

    border: 3px solid #f6f1e9;
    border-radius: 50%;

    background: #b69a6c;

    box-shadow:
        0 0 0 1px rgba(177, 149, 104, .6),
        0 0 12px rgba(177, 149, 104, .2);
}

/* =========================================================
   PREMIUM CARD
========================================================= */

.story-section .story-card {
    position: relative;
    overflow: hidden;

    width: 100%;

    border: 1px solid rgba(178, 153, 113, .25);
    border-radius: 5px;

    background: #fffcf7;

    box-shadow:
        0 7px 15px rgba(64, 61, 49, .035),
        0 20px 45px rgba(64, 61, 49, .07);
}

/* =========================================================
   PHOTO FRAME
========================================================= */

.story-section .story-photo-frame {
    position: relative;

    width: calc(100% - 20px);
    aspect-ratio: 4 / 5;

    margin: 10px auto 0;

    overflow: hidden;

    background: #e3ddd3;
}

/* =========================================================
   PHOTO - STATIC
   Tidak ada efek zoom atau animasi
========================================================= */

.story-section .story-photo-frame img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: none;
    scale: 1;

    animation: none;
    transition: none;

    filter:
        saturate(1.02)
        contrast(1.01);
}

/* FOTO TETAP DIAM SAAT HOVER DAN SCROLL */

.story-section .story-photo-frame:hover img,
.story-section .timeline-item.show
.story-photo-frame img,
.story-section .story-photo-frame.story-zoom-active img,
.story-section .story-photo-frame.story-photo-visible img {
    transform: none;
    scale: 1;
    animation: none;
    transition: none;
}

/* =========================================================
   PHOTO OVERLAY
========================================================= */

.story-section .story-photo-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        transparent 65%,
        rgba(0, 0, 0, .18) 100%
    );

    pointer-events: none;
}

/* HILANGKAN NOMOR FOTO */

.story-section .story-photo-number {
    display: none;
}

/* =========================================================
   CARD BODY
========================================================= */

.story-section .story-card-body {
    padding: 27px 22px 31px;
    text-align: center;
}

/* =========================================================
   YEAR
========================================================= */

.story-section .story-card-body .story-year {
    display: block;

    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 500;

    letter-spacing: 2.3px;
    line-height: 1.6;

    color: #ad936a;
}

/* =========================================================
   TITLE
========================================================= */

.story-section .story-card-body h3 {
    margin: 10px 0 14px;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(30px, 8vw, 38px);
    font-weight: 400;
    line-height: 1.1;

    color: #354b3c;
}

/* =========================================================
   DIVIDER
========================================================= */

.story-section .story-divider {
    width: 38px;
    height: 1px;

    margin: 0 auto 18px;

    background: #bea982;
}

/* =========================================================
   DESCRIPTION
========================================================= */

.story-section .story-card-body p {
    margin: 0;

    font-family: "Montserrat", sans-serif;
    font-size: 10.5px;
    font-weight: 400;

    line-height: 2;
    letter-spacing: .15px;

    color: #687268;
}

/* =========================================================
   ENDING
========================================================= */

.story-section .story-ending {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin-top: 55px;
}

.story-section .story-ending > span {
    margin-bottom: 14px;

    font-size: 16px;
    color: #b39a70;
}

.story-section .story-ending p {
    font-family: "Cormorant Garamond", serif;

    font-size: 23px;
    font-style: italic;
    line-height: 1.4;

    color: #576d5d;
}

.story-section .story-ending-line {
    width: 75px;
    height: 1px;

    margin-top: 22px;

    background: linear-gradient(
        to right,
        transparent,
        #b39a70,
        transparent
    );
}

/* =========================================================
   MOBILE RESPONSIVE
========================================================= */

@media (max-width: 480px) {

    .story-section {
        padding: 72px 22px 80px;
    }

    .story-section .timeline {
        max-width: 100%;
    }

    .story-section .timeline-item {
        padding-left: 25px;
        margin-bottom: 38px;
    }

    .story-section .story-card-body {
        padding: 24px 18px 28px;
    }

    .story-section .story-card-body p {
        font-size: 10px;
        line-height: 1.9;
    }

}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .story-section .story-photo-frame img {
        transform: none;
        scale: 1;
        animation: none;
        transition: none;
    }

}



/* =========================================================
   WEDDING GIFT - ATM PREMIUM
========================================================= */

.gift-section {
    min-height: auto;

    padding:
        68px
        28px
        78px;

    background:
        linear-gradient(
            to bottom,
            #f7f3ec 0%,
            #eee8de 100%
        );
}


/* =========================================================
   HEADING
========================================================= */

.gift-section .section-label {
    margin-bottom: 8px;

    color:
        #7b887f;
}


.gift-section .section-title {
    margin-bottom: 14px;

    color:
        #304239;
}


.gift-section .section-text {
    max-width: 315px;

    margin-bottom: 28px;

    color:
        #687269;
}


/* =========================================================
   CARD ATM
========================================================= */

.gift-card {
    position: relative;

    width: 100%;

    max-width: 335px;

    margin:
        14px
        auto;

    padding:
        26px
        24px
        24px;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, .55);

    border-radius:
        26px;

    background:
        linear-gradient(
            145deg,
            rgba(65, 84, 72, .98),
            rgba(46, 64, 54, .98)
        );

    box-shadow:
        0
        18px
        42px
        rgba(47, 60, 52, .16);

    text-align: left;

    color:
        #ffffff;
}


/* =========================================================
   DEKORASI CARD
========================================================= */

.gift-card::before {
    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    top: -105px;
    right: -80px;

    border-radius:
        50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, .17),
            rgba(255, 255, 255, 0) 70%
        );

    pointer-events: none;
}


.gift-card::after {
    content: "";

    position: absolute;

    width: 125px;
    height: 125px;

    bottom: -75px;
    left: -48px;

    border:
        1px solid
        rgba(255, 255, 255, .10);

    border-radius:
        50%;

    pointer-events: none;
}


.gift-card > * {
    position: relative;

    z-index: 2;
}


/* =========================================================
   HEADER LOGO BANK
========================================================= */

.gift-bank-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    min-height: 32px;

    margin-bottom: 18px;
}


/* =========================================================
   LOGO BCA / MANDIRI
========================================================= */

.gift-bank-logo {
    display: block;

    width: auto;

    max-width: 105px;

    height: 28px;

    object-fit: contain;
}


/* =========================================================
   NAMA BANK
========================================================= */

.gift-bank-name {
    margin: 0;

    font-size: 8px;

    letter-spacing: 2.4px;

    text-transform: uppercase;

    color:
        rgba(255, 255, 255, .62);
}


/* =========================================================
   NOMOR REKENING
========================================================= */

.gift-account-number {
    margin:
        20px
        0
        8px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 31px;

    font-weight: 400;

    line-height: 1;

    letter-spacing: 1.8px;

    color:
        #ffffff;
}


/* =========================================================
   NAMA PEMILIK
========================================================= */

.gift-account-name {
    display: block;

    font-size: 9px;

    letter-spacing: 1px;

    color:
        rgba(255, 255, 255, .72);
}


/* =========================================================
   TOMBOL COPY
========================================================= */

.gift-copy-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-top: 22px;

    padding:
        10px
        19px;

    border:
        1px solid
        rgba(255, 255, 255, .30);

    border-radius:
        30px;

    background:
        rgba(255, 255, 255, .10);

    color:
        #ffffff;

    font-size: 8px;

    letter-spacing: 1px;

    cursor: pointer;

    backdrop-filter:
        blur(4px);

    -webkit-backdrop-filter:
        blur(4px);

    transition:
        transform .25s ease,
        background .25s ease;
}


.gift-copy-button:hover {
    transform:
        translateY(-1px);

    background:
        rgba(255, 255, 255, .18);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .gift-section {
        padding:
            58px
            22px
            68px;
    }


    .gift-section .section-text {
        max-width: 300px;

        margin-bottom: 24px;
    }


    .gift-card {
        max-width: 315px;

        margin:
            12px
            auto;

        padding:
            24px
            21px
            22px;

        border-radius:
            24px;
    }


    .gift-bank-header {
        min-height: 30px;

        margin-bottom: 16px;
    }


    .gift-bank-logo {
        max-width: 92px;

        height: 25px;
    }


    .gift-bank-name {
        font-size: 7px;

        letter-spacing: 2px;
    }


    .gift-account-number {
        margin-top: 18px;

        font-size: 28px;

        letter-spacing: 1.4px;
    }


    .gift-account-name {
        font-size: 8px;
    }


    .gift-copy-button {
        margin-top: 19px;

        padding:
            9px
            17px;

        font-size: 7px;
    }

}


/* =========================================================
   HP KECIL
========================================================= */

@media (max-width: 390px) {

    .gift-section {
        padding-left: 18px;

        padding-right: 18px;
    }


    .gift-card {
        max-width: 300px;

        padding:
            22px
            19px
            21px;
    }


    .gift-bank-logo {
        max-width: 84px;

        height: 23px;
    }


    .gift-account-number {
        font-size: 26px;
    }

}


/* =========================================================
   RSVP + WEDDING WISHES - PREMIUM
========================================================= */

.rsvp-section,
.wishes-section {
    min-height: auto;

    padding:
        70px
        26px
        78px;

    background:
        linear-gradient(
            to bottom,
            #f7f3ec 0%,
            #efe9df 100%
        );
}


/* =========================================================
   HEADING
========================================================= */

.rsvp-section .section-label,
.wishes-section .section-label {
    margin-bottom: 8px;

    color:
        #7b887f;
}


.rsvp-section .section-title,
.wishes-section .section-title {
    margin-bottom: 14px;

    color:
        #304239;
}


.rsvp-section .section-title::after,
.wishes-section .section-title::after {
    content: "";

    display: block;

    width: 42px;
    height: 1px;

    margin:
        14px
        auto
        0;

    background:
        rgba(71, 91, 78, .28);
}


.rsvp-section .section-text,
.wishes-section .section-text {
    max-width: 315px;

    margin:
        0
        auto
        26px;

    color:
        #687269;
}


/* =========================================================
   FORM CARD
========================================================= */

.rsvp-form,
.wish-form {
    position: relative;

    width: 100%;

    max-width: 330px;

    margin:
        18px
        auto
        0;

    padding:
        24px
        22px;

    display: flex;

    flex-direction: column;

    gap: 12px;

    border:
        1px solid
        rgba(82, 99, 88, .13);

    border-radius:
        24px;

    background:
        rgba(255, 255, 255, .42);

    box-shadow:
        0
        14px
        32px
        rgba(59, 72, 63, .06);

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);
}


/* =========================================================
   INPUT
========================================================= */

.rsvp-form input,
.rsvp-form select,
.wish-form input,
.wish-form textarea {
    width: 100%;

    padding:
        13px
        14px;

    border:
        1px solid
        rgba(72, 87, 79, .14);

    border-radius:
        14px;

    background:
        rgba(255, 252, 246, .72);

    color:
        #405248;

    font-size:
        10px;

    outline: none;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}


/* =========================================================
   FOCUS
========================================================= */

.rsvp-form input:focus,
.rsvp-form select:focus,
.wish-form input:focus,
.wish-form textarea:focus {
    border-color:
        rgba(72, 95, 81, .42);

    background:
        rgba(255, 255, 255, .88);

    box-shadow:
        0
        0
        0
        3px
        rgba(83, 105, 91, .06);
}


/* =========================================================
   PLACEHOLDER
========================================================= */

.rsvp-form input::placeholder,
.wish-form input::placeholder,
.wish-form textarea::placeholder {
    color:
        #97a198;
}


/* =========================================================
   TEXTAREA
========================================================= */

.wish-form textarea {
    min-height: 125px;

    resize: vertical;

    line-height: 1.7;
}


/* =========================================================
   BUTTON
========================================================= */

.rsvp-form button,
.wish-form button {
    margin-top: 4px;

    padding:
        13px
        20px;

    border:
        1px solid
        rgba(255, 255, 255, .18);

    border-radius:
        30px;

    background:
        linear-gradient(
            145deg,
            #4b6255,
            #354a3e
        );

    color:
        #ffffff;

    font-size:
        8px;

    letter-spacing:
        1.4px;

    text-transform:
        uppercase;

    cursor:
        pointer;

    box-shadow:
        0
        10px
        22px
        rgba(48, 66, 57, .14);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.rsvp-form button:hover,
.wish-form button:hover {
    transform:
        translateY(-1px);

    box-shadow:
        0
        13px
        26px
        rgba(48, 66, 57, .18);
}


/* =========================================================
   FORM MESSAGE
========================================================= */

.form-message {
    margin-top: 14px;

    font-size: 9px;

    line-height: 1.6;

    color:
        #516359;

    opacity: 0;

    transition:
        opacity .3s ease;
}


.form-message.show {
    opacity: 1;
}


/* =========================================================
   WISH LIST - SCROLL MAKSIMAL ± 5 KOMENTAR
========================================================= */

.wish-list {
    width: 100%;

    max-width: 330px;

    margin:
        28px
        auto
        0;

    display: flex;

    flex-direction: column;

    gap: 12px;

    /*
       Area komentar dibatasi.
       Komentar berikutnya dibaca dengan scroll.
    */
    max-height: 500px;

    overflow-y: auto;
    overflow-x: hidden;

    padding:
        2px
        6px
        2px
        2px;

    scroll-behavior: smooth;

    scrollbar-width: thin;

    scrollbar-color:
        rgba(64, 83, 72, .30)
        transparent;
}


/* =========================================================
   WISH ITEM / CARD KOMENTAR
========================================================= */

.wish-item {
    position: relative;

    flex:
        0
        0
        auto;

    width: 100%;

    padding:
        18px
        18px
        17px;

    border:
        1px solid
        rgba(82, 99, 88, .12);

    border-radius:
        18px;

    background:
        rgba(255, 255, 255, .44);

    box-shadow:
        0
        10px
        24px
        rgba(59, 72, 63, .05);

    text-align: left;

    backdrop-filter:
        blur(6px);

    -webkit-backdrop-filter:
        blur(6px);
}


/* =========================================================
   NAMA TAMU
========================================================= */

.wish-item strong {
    display: block;

    margin-bottom: 6px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 17px;

    font-weight: 500;

    line-height: 1.2;

    color:
        #405348;
}


/* =========================================================
   ISI UCAPAN
========================================================= */

.wish-item p {
    margin: 0;

    font-size: 10px;

    line-height: 1.8;

    color:
        #687269;

    overflow-wrap: anywhere;
}


/* =========================================================
   SCROLLBAR
========================================================= */

.wish-list::-webkit-scrollbar {
    width: 4px;
}


.wish-list::-webkit-scrollbar-track {
    background: transparent;
}


.wish-list::-webkit-scrollbar-thumb {
    background:
        rgba(64, 83, 72, .28);

    border-radius: 20px;
}


.wish-list::-webkit-scrollbar-thumb:hover {
    background:
        rgba(64, 83, 72, .45);
}


/* =========================================================
   HP
========================================================= */

@media (max-width: 768px) {

    .wish-list {
        max-width: 315px;

        max-height: 470px;

        gap: 11px;
    }


    .wish-item {
        padding:
            16px
            16px
            15px;

        border-radius:
            16px;
    }

}


/* =========================================================
   HP KECIL
========================================================= */

@media (max-width: 390px) {

    .wish-list {
        max-width: 300px;

        max-height: 450px;
    }


    .wish-item {
        padding:
            15px
            15px
            14px;
    }


    .wish-item strong {
        font-size: 16px;
    }


    .wish-item p {
        font-size: 9.5px;
    }

}



/* =========================================================
   20. CLOSING SECTION - PREMIUM SAGE GREEN
========================================================= */

.closing-section {
    position: relative;

    width: 100%;

    min-height: 100vh;
    min-height: 100svh;

    padding:
        clamp(110px, 24vw, 145px)
        clamp(18px, 5vw, 26px)
        clamp(245px, 65vw, 285px);

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    text-align: center;

    background-image:
        url("assets/images/background-hero.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* lebih gelap */
    background-color: #d8ddd5;
}

.closing-section::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;

    /* overlay diperkuat agar background lebih gelap */
    background:
        linear-gradient(
            180deg,
            rgba(36, 48, 41, .28) 0%,
            rgba(48, 66, 57, .38) 45%,
            rgba(58, 78, 66, .48) 100%
        );

    pointer-events: none;
}

/* =========================================================
   PREMIUM CREAM CONTENT PANEL
========================================================= */

.closing-content {
    position: relative;

    z-index: 4;

    width: 100%;
    max-width: 315px;

    margin: 0 auto;

    /* POSISI BINGKAI TETAP */
    transform: translateY(30px);

    padding:
        clamp(28px, 7vw, 36px)
        clamp(18px, 5vw, 25px)
        clamp(30px, 7vw, 38px);

    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(255, 252, 245, .96) 0%,
            rgba(247, 246, 238, .94) 55%,
            rgba(235, 240, 231, .96) 100%
        );

    border:
        1px solid rgba(116, 137, 120, .48);

    border-radius:
        clamp(22px, 6vw, 28px);

    box-shadow:
        0 18px 45px rgba(53, 72, 58, .13),
        0 5px 15px rgba(53, 72, 58, .06),
        inset 0 0 0 3px rgba(255, 252, 245, .65);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}


/* =========================================================
   LABEL THANK YOU
========================================================= */

.closing-section .section-label {
    margin-bottom: 16px;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 9px;
    font-weight: 500;

    letter-spacing: 4px;

    color: #748178;
}


/* =========================================================
   NAMA MEMPELAI
========================================================= */

.closing-section .closing-name {
    margin: 0;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        clamp(42px, 11vw, 54px);

    font-weight: 400;

    line-height: .95;

    color: #304239;

    text-shadow: none;
}


/* =========================================================
   SIMBOL &
========================================================= */

.closing-section .closing-name span {
    display: block;

    margin:
        9px 0 11px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: .42em;

    font-weight: 400;

    color: #859789;
}


/* =========================================================
   ORNAMEN GARIS DI BAWAH NAMA
========================================================= */

.closing-name::after {
    content: "✦";

    display: block;

    margin:
        19px auto 0;

    font-family: serif;

    font-size: 14px;
    line-height: 1;

    color: #91a393;
}


/* =========================================================
   PARAGRAF PENUTUP
========================================================= */

.closing-section .closing-text {
    width: 100%;

    max-width: 265px;

    margin:
        21px auto 0;

    font-family:
        "Montserrat",
        sans-serif;

    font-size:
        clamp(11px, 2.9vw, 13px);

    font-weight: 400;

    line-height: 1.85;

    color: #5f6c64;
}


/* =========================================================
   TANGGAL PERNIKAHAN
========================================================= */

.closing-section .closing-date {
    display: inline-block;

    margin-top: 22px;

    padding:
        10px 18px;

    border:
        1px solid rgba(116, 137, 120, .38);

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            #f8f7ef,
            #e6ede3
        );

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 10px;
    font-weight: 500;

    letter-spacing: 3px;

    color: #40564a;

    box-shadow:
        0 5px 15px rgba(53, 72, 58, .07);
}


/* =========================================================
   CLOSING ORNAMENT - SCROLL ANIMATION
========================================================= */

.closing-ornament {
    position: absolute;

    z-index: 5;

    display: block;

    pointer-events: none;
    user-select: none;

    backface-visibility: hidden;

    opacity: 0;

    translate: 0 35px;
    scale: 1.20;

    transition:
        opacity .75s ease,
        translate 1s cubic-bezier(.22, .61, .36, 1),
        scale 1s cubic-bezier(.22, .61, .36, 1);

    will-change:
        opacity,
        translate,
        scale,
        rotate;
}


/* BUNGA KIRI ATAS - NAIK SEDIKIT */
.closing-flower-top-left {
    width: clamp(145px, 45vw, 175px);

    top: -48px;
    left: -34px;

    z-index: 5;

    transform-origin: 20% 20%;
}

/* BUNGA KANAN ATAS - NAIK SEDIKIT */
.closing-flower-top-right {
    width: clamp(145px, 45vw, 175px);

    top: -48px;
    right: -34px;

    z-index: 5;

    transform-origin: 80% 20%;
}

/* BUNGA KIRI BAWAH */
.closing-flower-bottom-left {
    width: clamp(245px, 68vw, 300px);

    /* Geser lebih ke kiri */
    left: clamp(-85px, -19vw, -55px);

    /* Turunkan bunga */
    bottom: clamp(-175px, -40vw, -125px);

    z-index: 5;

    transform-origin: 20% 85%;
}

/* BUNGA KANAN BAWAH */
.closing-flower-bottom-right {
    width: clamp(245px, 68vw, 300px);

    /* Geser lebih ke kanan */
    right: clamp(-85px, -19vw, -55px);

    /* Turunkan bunga */
    bottom: clamp(-175px, -40vw, -125px);

    z-index: 5;

    transform-origin: 80% 85%;
}


/* =========================================================
   CLOSING CANDLE - DEPAN GRID & LEBIH BAWAH
========================================================= */

.closing-candle-bottom {
    position: absolute;

    width:
        clamp(190px, 50vw, 235px);

    left: 50%;

    /* Diturunkan dari posisi sebelumnya */
    bottom:
        clamp(-125px, -28vw, -85px);

    /* Di depan grid closing */
    z-index: 10;

    transform: translateX(-50%);

    transform-origin: center bottom;

    pointer-events: none;
    user-select: none;
}

/* Grid / bingkai berada di belakang lilin */
.closing-section .closing-content {
    position: relative;
    z-index: 4;
}

/* Animasi zoom tetap berjalan */
.closing-section.closing-ornament-enter
.closing-candle-bottom {
    opacity: 1;
    translate: 0 0;

    animation:
        closingCandleZoom
        5s ease-in-out
        1.2s infinite;
}

@keyframes closingCandleZoom {
    0%, 100% {
        scale: 1;
    }

    50% {
        scale: 1.08;
    }
}


/* =========================================================
   ORNAMENT MASUK SAAT SCROLL
========================================================= */

.closing-section.closing-ornament-enter
.closing-ornament {
    opacity: 1;

    translate: 0 0;
    scale: 1;
}


/* =========================================================
   DELAY MASUK BERTAHAP
========================================================= */

.closing-section.closing-ornament-enter
.closing-flower-top-left {
    transition-delay: .15s;
}

.closing-section.closing-ornament-enter
.closing-flower-top-right {
    transition-delay: .25s;
}

.closing-section.closing-ornament-enter
.closing-flower-bottom-left {
    transition-delay: .35s;
}

.closing-section.closing-ornament-enter
.closing-flower-bottom-right {
    transition-delay: .45s;
}


/* =========================================================
   CLOSING - ORNAMENT ACTIVE ANIMATION
========================================================= */

/* RUMAH: ZOOM LEMBUT */

.closing-section.closing-ornament-enter
.closing-candle-bottom {
    opacity: 1;
    translate: 0 0;

    animation:
        closingCandleZoom
        5s ease-in-out
        1.2s infinite;
}

@keyframes closingCandleZoom {
    0%, 100% {
        scale: 1;
    }

    50% {
        scale: 1.08;
    }
}


/* =========================================================
   BUNGA KIRI ATAS DAN BAWAH
========================================================= */

.closing-section.closing-ornament-enter
.closing-flower-top-left,
.closing-section.closing-ornament-enter
.closing-flower-bottom-left {
    animation:
        closingFlowerLeft
        6s ease-in-out
        1s infinite;
}


/* =========================================================
   BUNGA KANAN ATAS DAN BAWAH
========================================================= */

.closing-section.closing-ornament-enter
.closing-flower-top-right,
.closing-section.closing-ornament-enter
.closing-flower-bottom-right {
    animation:
        closingFlowerRight
        6.5s ease-in-out
        1s infinite;
}


/* =========================================================
   GERAK BUNGA KIRI
========================================================= */

@keyframes closingFlowerLeft {
    0%, 100% {
        rotate: 0deg;
    }

    50% {
        rotate: 3deg;
    }
}


/* =========================================================
   GERAK BUNGA KANAN
========================================================= */

@keyframes closingFlowerRight {
    0%, 100% {
        rotate: 0deg;
    }

    50% {
        rotate: -3deg;
    }
}

/* =========================================================
   END CLOSING SECTION
========================================================= */



/* =========================================================
   21. FLOATING NAVIGATION
========================================================= */

.floating-nav {
    position: fixed;

    left:
        calc(100% - 215px);

    bottom: 16px;

    transform:
        translateX(-50%);

    width: 390px;

    max-width:
        calc(100% - 24px);

    z-index: 999;

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    padding:
        8px 10px;

    border-radius: 18px;

    background:
        rgba(43, 57, 49, .88);
}

.nav-item {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 3px;

    padding: 6px;

    color:
        rgba(255, 255, 255, .58);

    text-decoration: none;
}

.nav-item.active {
    color: white;
}

.nav-icon {
    font-size: 18px;
}

.nav-item small {
    font-size: 7px;
}


/* =========================================================
   22. MUSIC BUTTON
========================================================= */

.music-button {
    position: fixed;

    top: 18px;
    right: 18px;

    z-index: 1000;

    width: 42px;
    height: 42px;

    border: none;

    border-radius: 50%;

    background:
        rgba(48, 66, 57, .82);

    color: white;

    cursor: pointer;
}


/* =========================================================
   23. LOCK BEFORE OPEN
========================================================= */

body.invitation-locked {
    height: 100vh;

    overflow-x: hidden;
    overflow-y: hidden;

    touch-action: auto;
}

body.invitation-locked
.floating-nav,
body.invitation-locked
.music-button {
    opacity: 0;

    visibility: hidden;

    pointer-events: none;
}


/* =========================================================
   24. SCROLL REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(28px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.show {
    opacity: 1;

    transform:
        translateY(0);
}

.reveal-delay-1 {
    transition-delay: .10s;
}

.reveal-delay-2 {
    transition-delay: .20s;
}

.reveal-delay-3 {
    transition-delay: .30s;
}


/* =========================================================
   25. MOBILE
========================================================= */

@media (max-width: 768px) {

    .desktop-layout {
        display: block;
    }

    .desktop-panel {
        display: none;
    }

    .mobile-panel {
        width: 100%;
    }

    .opening-cover {
        position: fixed;

        inset: 0;

        min-height: 0;
    }

    .hero-name,
    .opening-name {
        font-size: 54px;
    }

    .floating-nav {
        left: 50%;

        width:
            calc(100% - 24px);

        bottom: 12px;
    }

    .music-button {
        top: 14px;
        right: 14px;
    }

}

/* =========================================================
   COUPLE FRAME - PREMIUM ARCH
   Fungsi:
   - Bingkai foto pengantin lebih elegan
   - Bentuk arch / oval wedding
========================================================= */

.couple-photo {
    position: relative;

    width: 220px;

    aspect-ratio: 4 / 5;

    margin:
        0 auto 24px;

    padding: 8px;

    overflow: visible;

    border:
        1px solid
        rgba(82, 100, 89, .34);

    border-radius:
        120px
        120px
        24px
        24px;

    background:
        rgba(255, 252, 247, .72);

    box-shadow:
        0 14px 35px
        rgba(47, 61, 52, .10);
}


/* garis bingkai kedua */

.couple-photo::before {
    content: "";

    position: absolute;

    inset: 4px;

    border:
        1px solid
        rgba(109, 124, 114, .20);

    border-radius:
        116px
        116px
        20px
        20px;

    pointer-events: none;
}


/* aksen kecil bawah */

.couple-photo::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -9px;

    width: 44px;
    height: 1px;

    background:
        rgba(79, 96, 86, .38);

    transform:
        translateX(-50%);
}


/* foto */

.couple-photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    border-radius:
        110px
        110px
        16px
        16px;
}


/* =========================================================
   COUPLE CARD DECORATION
========================================================= */

.couple-card {
    position: relative;
}

.couple-card::before {
    content: "✦";

    display: block;

    margin-bottom: 12px;

    font-size: 10px;

    color:
        rgba(70, 90, 78, .52);
}


/* =========================================================
   GALLERY FRAME - PREMIUM
   Fungsi:
   - Gallery lebih rapi dan elegan
   - Bingkai tipis seperti print wedding
========================================================= */

.gallery-item {
    position: relative;

    overflow: hidden;

    padding: 5px;

    border:
        1px solid
        rgba(79, 96, 86, .25);

    border-radius: 12px;

    background:
        rgba(255, 252, 247, .70);

    box-shadow:
        0 10px 24px
        rgba(44, 57, 49, .08);
}


/* inner frame */

.gallery-item::before {
    content: "";

    position: absolute;

    inset: 4px;

    z-index: 2;

    border:
        1px solid
        rgba(255, 255, 255, .70);

    border-radius: 8px;

    pointer-events: none;
}


/* foto gallery */

.gallery-item img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    border-radius: 7px;

    transition:
        transform .8s ease,
        filter .8s ease;
}


/* efek hover */

.gallery-item:hover img {
    transform:
        scale(1.04);

    filter:
        brightness(.97);
}


/* =========================================================
   GALLERY GRID SPACING
========================================================= */

.gallery-grid {
    gap: 9px;
}

/* =========================================================
   HERO ORNAMENT - FIX ENTRANCE SATU PER SATU
   LETAKKAN PALING BAWAH STYLE.CSS
========================================================= */

.hero .hero-parallax {
    opacity: 0 !important;

    transition:
        opacity .55s ease !important;
}


/* ornament yang sedang dimunculkan */

.hero .hero-parallax.ornament-visible {
    opacity: 1 !important;
}

/* =========================================================
   HERO ORNAMENT - ZOOM ENTRANCE / EXIT
   MASUK  : BESAR -> NORMAL
   KELUAR : NORMAL -> BESAR
========================================================= */


/* =========================================================
   KONDISI AWAL
   Ornament mulai dari ukuran besar
========================================================= */

.hero .hero-parallax {
    opacity: 0 !important;

    scale: 1.30;

    transition:
        opacity .75s ease,
        scale 1.05s cubic-bezier(
            .16,
            1,
            .3,
            1
        ) !important;
}


/* =========================================================
   SAAT MASUK HERO
   besar -> ukuran normal
========================================================= */

.hero .hero-parallax.ornament-visible {
    opacity: 1 !important;

    scale: 1;
}


/* =========================================================
   SAAT KELUAR HERO
   ukuran normal -> membesar
========================================================= */

.hero .hero-parallax.ornament-exit {
    opacity: 0 !important;

    scale: 1.30;

    transition:
        opacity .65s ease,
        scale .85s cubic-bezier(
            .22,
            .61,
            .36,
            1
        ) !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .hero .hero-parallax {
        scale: 1.18;
    }

    .hero .hero-parallax.ornament-visible {
        scale: .90;
    }

    .hero .hero-parallax.ornament-exit {
        scale: 1.18;
    }

}


/* =========================================================
   HP KECIL
========================================================= */

@media (max-width: 360px) {

    .hero .hero-parallax {
        scale: 1.10;
    }

    .hero .hero-parallax.ornament-visible {
        scale: .84;
    }

    .hero .hero-parallax.ornament-exit {
        scale: 1.10;
    }

}

/* =========================================================
   FIX LAYOUT SHIFT SAAT BUKA UNDANGAN
========================================================= */

html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    width: 100%;
}


/* =========================================================
   CREATOR CREDIT
========================================================= */

.creator-section {
    position: relative;

    width: 100%;

    min-height:
        clamp(
            340px,
            85vw,
            400px
        );

    padding:
        clamp(52px, 13vw, 68px)
        24px
        clamp(125px, 30vw, 145px);

    display: flex;

    align-items: flex-start;
    justify-content: center;

    background:
        #f4efe7;

    text-align: center;

    overflow: hidden;
}


/* =========================================================
   INNER
========================================================= */

.creator-section-inner {
    width: 100%;

    max-width: 260px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-start;
}


/* =========================================================
   GARIS ATAS
========================================================= */

.creator-line {
    width:
        clamp(
            38px,
            10vw,
            50px
        );

    height: 1px;

    margin-bottom:
        clamp(
            24px,
            6vw,
            30px
        );

    background:
        rgba(62, 77, 68, .28);
}


.creator-symbol {
    width:
        clamp(
            52px,
            15vw,
            68px
        );

    height: auto;

    margin:
        0
        auto
        clamp(
            14px,
            4vw,
            18px
        );

    object-fit: contain;
}


/* =========================================================
   CREATED BY
========================================================= */

.creator-label {
    margin:
        0
        0
        clamp(
            9px,
            2.5vw,
            12px
        );

    font-size:
        clamp(
            7px,
            2vw,
            9px
        );

    font-weight: 500;

    letter-spacing:
        clamp(
            3px,
            .9vw,
            4px
        );

    line-height: 1;

    color:
        #79857e;
}


.creator-brand-logo {
    width:
        clamp(
            105px,
            30vw,
            135px
        );

    height: auto;

    margin: 0 auto;

    object-fit: contain;
}

/* =========================================================
   CREATOR SOCIAL MEDIA - LEBIH BESAR & LEBIH DEKAT
========================================================= */

.creator-socials {
    margin-top:
        clamp(
            18px,
            4vw,
            24px
        );

    display: flex;

    align-items: center;
    justify-content: center;

    gap:
        clamp(
            12px,
            3vw,
            16px
        );
}


/* =========================================================
   AREA KLIK
========================================================= */

.creator-social-link {
    width:
        clamp(
            42px,
            11vw,
            50px
        );

    height:
        clamp(
            42px,
            11vw,
            50px
        );

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    text-decoration: none;

    transition:
        transform .3s ease,
        opacity .3s ease;
}


/* =========================================================
   ICON WA + INSTAGRAM
========================================================= */

.creator-social-icon {
    display: block;

    width:
        clamp(
            30px,
            8vw,
            36px
        );

    height:
        clamp(
            30px,
            8vw,
            36px
        );

    object-fit: contain;

    opacity: .9;

    transition:
        transform .3s ease,
        opacity .3s ease;
}


/* =========================================================
   HOVER
========================================================= */

.creator-social-link:hover {
    transform:
        translateY(-2px);
}


.creator-social-link:hover
.creator-social-icon {
    transform:
        scale(1.08);

    opacity: 1;
}

/* POSISI ISI HERO PREMIUM 1 DI HP */
@media (max-width: 768px) {
  .hero .hero-content.hero-portrait-layout {
    top: 20% !important;
  }
}

/* PREMIUM 1 — FOTO COUPLE PAS DI DALAM BINGKAI HP */
@media (max-width: 768px) {
  .couple-frame {
    box-sizing: border-box;
  }

  .couple-frame .couple-photo {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
  }

  .couple-frame .couple-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }
}

/* =========================================
   PREMIUM 1 — CLOSING MOBILE
========================================= */

@media (max-width: 768px) {

  /* Turunkan THANK YOU */
  .closing-section .section-label {
    position: relative;
    top: 12px;
  }

  /* Turunkan nama Arga & Citra */
  .closing-section .closing-name {
    position: relative;
    top: 12px;
  }

  /* Bunga kiri atas: naik dan geser ke kiri */
  .closing-section .closing-flower-top-left {
    top: -65px;
    left: -46px;
  }

  /* Bunga kanan atas: naik dan geser ke kanan */
  .closing-section .closing-flower-top-right {
    top: -65px;
    right: -46px;
  }

}

/* =========================================
   PREMIUM 1 — NAVBAR SVG MOBILE
========================================= */

@media (max-width: 768px) {

  .floating-nav .nav-item {
    flex: 1;
    min-width: 0;
    align-items: center;
    justify-content: center;
  }

  .floating-nav .nav-icon {
    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .floating-nav .nav-icon svg {
    width: 20px;
    height: 20px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;

    display: block;
  }

}