/* ==================================================
   GLOBAL
================================================== */

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

body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    background: #1c1b19;
}

.mobile-page {
    width: 100%;
    max-width: 430px;
    min-height: 100vh;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: #1c1b19;
}

/* =================================
   INVITATION COVER
================================= */

.invitation-cover {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100dvh;

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

    background: #1c1b19;

    color: #f4f1eb;

    text-align: center;

    z-index: 9999;

    overflow: hidden;
}

.invitation-cover-content {
    position: relative;

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

    padding: 40px 30px;

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


/* =================================
   JUDUL
================================= */

.invitation-title {
    font-family: "Cormorant Garamond", serif;

    font-size: 1rem;

    font-weight: 600;

    letter-spacing: 0.28em;

    text-transform: uppercase;

    margin-bottom: 35px;

    opacity: 0.9;
}


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

.invitation-names {
    display: flex;

    flex-direction: column;

    align-items: center;

    font-family: "Great Vibes", cursive;
}

.invitation-name {
    font-size: 4rem;

    line-height: 1;
}

.invitation-ampersand {
    font-size: 2.5rem;

    line-height: 1;

    margin: 8px 0;
}


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

.invitation-date {
    margin-top: 25px;

    font-family: "Cormorant Garamond", serif;

    font-size: 1.4rem;

    font-weight: 600;

    letter-spacing: 0.2em;
}


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

.guest-invitation {
    display: flex;

    flex-direction: column;

    align-items: center;

    margin-top: 35px;

    font-family: "Cormorant Garamond", serif;
}

.guest-invitation span {
    font-size: 0.85rem;

    letter-spacing: 0.08em;

    opacity: 0.7;

    margin-bottom: 5px;
}

.guest-invitation strong {
    font-size: 1.25rem;

    font-weight: 600;

    letter-spacing: 0.04em;
}


/* =================================
   BUKA UNDANGAN
================================= */

.open-invitation-button {
    margin-top: 35px;

    padding: 12px 28px;

    border: 1px solid rgba(244, 241, 235, 0.5);

    border-radius: 30px;

    background: transparent;

    color: #f4f1eb;

    font-family: "Cormorant Garamond", serif;

    font-size: 1rem;

    font-weight: 600;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    cursor: pointer;
}

.open-invitation-button:active {
    transform: scale(0.96);
}

/* ==================================================
   SECTION 1 — OPENING
================================================== */

.opening {
    position: relative;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
}


/* ---------- Background ---------- */

.opening-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ---------- Clouds ---------- */

.opening-clouds {
    position: absolute;
    top: 4%;
    left: 0;
    width: max-content;
    height: auto;
    display: flex;
    z-index: 2;
    pointer-events: none;
}

.opening-clouds img {
    display: block;
    width: 100vw;
    height: auto;
    flex-shrink: 0;
}


/* ---------- Gapura ---------- */

.opening-gapura {
    position: absolute;
    width: 150%;
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    pointer-events: none;
}


/* ---------- Janur ---------- */

.opening-janur {
    position: absolute;
    width: auto;
    height: 45%;
    bottom: 20%;
    z-index: 3;
    pointer-events: none;
}

.janur-kiri {
    left: -12%;
}

.opening-janur-wrapper {
    position: absolute;
    height: 45%;
    width: auto;
    bottom: 20%;
    right: -14%;
    z-index: 3;
    pointer-events: none;
}

.opening-janur-wrapper img {
    display: block;
    width: auto;
    height: 100%;
    transform: scaleX(-1);
}


/* ---------- Wayang ---------- */

.opening-wayang {
    position: absolute;
    width: auto;
    height: 30%;
    bottom: 10%;
    z-index: 6;
    pointer-events: none;
}

.opening-wayang-pria {
    left: -8%;
}

.opening-wayang-wanita {
    right: -4%;
}


/* ---------- Gunungan ---------- */

.opening-gunungan {
    position: absolute;
    width: auto;
    height: 33%;
    bottom: 0;
    z-index: 5;
    pointer-events: none;
}

.gunungan-kiri-1 {
    left: -12%;
    bottom: 10%;
}

.gunungan-kiri-2 {
    left: 6%;
    bottom: -3%;
    z-index: 5;
}

.gunungan-kanan-1 {
    right: 6%;
    bottom: -3%;
    z-index: 5;
}

.gunungan-kanan-2 {
    right: -14%;
    bottom: 10%;
    z-index: 4;
}


/* ---------- Garden ---------- */

.opening-garden {
    position: absolute;
    width: 100%;
    height: 35%;
    left: 0;
    bottom: -2%;
    z-index: 6;
    overflow: hidden;
    pointer-events: none;
}

.garden {
    position: absolute;
    width: 100%;
    height: auto;
    left: 0;
    pointer-events: none;
}

.garden-back {
    bottom: -4%;
    left: -4%;
    width: 108%;
    opacity: 0.75;
    z-index: 1;
    animation: gardenMove 2s ease-in-out infinite alternate;
}

.garden-middle {
    bottom: -2%;
    left: -2%;
    width: 104%;
    opacity: 0.9;
    z-index: 2;
    animation: gardenMove 3s ease-in-out infinite alternate;
}

.garden-front {
    bottom: 2%;
    left: 0;
    width: 100%;
    z-index: 3;
    animation: gardenMove 4s ease-in-out infinite alternate;
}


/* ---------- Wayang & Gunungan Outline ---------- */

.opening-wayang,
.opening-gunungan {
    filter:
        drop-shadow(1px 0 0 #d6d6d6) drop-shadow(-1px 0 0 #d6d6d6) drop-shadow(0 1px 0 #d6d6d6) drop-shadow(0 -1px 0 #d6d6d6) drop-shadow(1px 1px 0 #d6d6d6) drop-shadow(-1px -1px 0 #d6d6d6);
}


/* ==================================================
   OPENING — NAMA PASANGAN
================================================== */

.opening-names {
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    white-space: nowrap;
    color: #111111;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.25);
}

.opening-names::before,
.opening-names::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
}

.opening-names::before {
    top: 45%;
    width: 160%;
    height: 150%;
    background: rgba(255, 255, 255, 0.25);
    filter: blur(20px);
    z-index: -1;
}

.opening-names::after {
    top: 45%;
    width: 220%;
    height: 200%;
    background: rgba(255, 255, 255, 0.12);
    filter: blur(35px);
    z-index: -2;
}


/* ---------- Wedding Label ---------- */

.opening-names .wedding-label {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 30px;
    opacity: 0.95;
}


/* ---------- Names ---------- */

.opening-names h1 {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "Great Vibes", cursive;
    font-weight: 400;
}

.opening-names .name {
    display: block;
    font-size: clamp(4rem, 9vw, 7rem);
    line-height: 1.15;
}

.opening-names .ampersand {
    display: block;
    width: 100%;
    margin: 8px 0 10px;
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1;
    opacity: 0.95;
}


/* ---------- Date ---------- */

.opening-date {
    margin-top: 30px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #212529;
}


/* ---------- Shimmer ---------- */

.opening-names .wedding-label,
.opening-names .name,
.opening-names .ampersand,
.opening-date {
    background: linear-gradient(110deg,
            #111111 0%,
            #111111 43%,
            #555555 49%,
            #777777 50%,
            #555555 51%,
            #111111 57%,
            #111111 100%);
    background-size: 300% 100%;
    background-position: 100% center;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* ==================================================
   SECTION 2 — INTRO
================================================== */

.section-intro {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 30px;
    background: #f4f1eb;
    color: #212529;
    text-align: center;
    overflow: hidden;
}


/* ---------- Content ---------- */

.intro-content {
    position: relative;
    width: 100%;
    max-width: 380px;
    z-index: 5;
}

.intro-salam {
    margin-bottom: 35px;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.08em;
}

.intro-arabic {
    margin-bottom: 30px;
    font-size: 1.3rem;
    line-height: 2;
}

.intro-quote {
    margin-bottom: 30px;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.2rem;
    line-height: 1.7;
    font-style: italic;
}

.intro-description {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.15rem;
    line-height: 1.7;
}


/* ---------- Gunungan ---------- */

.intro-gunungan {
    position: absolute;
    width: 32%;
    height: auto;
    top: 3%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
}


/* ---------- Garden ---------- */

.intro-garden {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 30%;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.intro-garden-back,
.intro-garden-middle,
.intro-garden-front {
    position: absolute;
    height: auto;
}

.intro-garden-back {
    width: 115%;
    left: -7%;
    bottom: -5%;
    opacity: 0.30;
    z-index: 1;
}

.intro-garden-middle {
    width: 110%;
    left: -5%;
    bottom: -7%;
    opacity: 0.45;
    z-index: 2;
}

.intro-garden-front {
    width: 105%;
    left: -2.5%;
    bottom: -10%;
    opacity: 0.65;
    z-index: 3;
}


/* ==================================================
   SECTION 3A — GROOM / RIKO
================================================== */

.section-groom {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f4f1eb;
    color: #212529;
    text-align: center;
    overflow: hidden;
}


/* ---------- Gunungan ---------- */

.groom-gunungan {
    position: absolute;
    width: 78%;
    height: auto;
    left: 50%;
    top: 9%;
    transform: translateX(-50%);
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}


/* ---------- Content ---------- */

.groom-content {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 55px;
    z-index: 5;
}

.groom-label {
    margin-bottom: 20px;
    font-family: "Cormorant Garamond", serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: #212529;
    text-transform: uppercase;
}

.groom-name {
    margin: 0;
    font-family: "Great Vibes", cursive;
    font-size: 3.2rem;
    font-weight: 400;
    line-height: 1;
    color: #8e4211;
    z-index: 6;
}


/* ---------- Photo ---------- */

.groom-photo {
    position: relative;
    width: 70%;
    height: 55%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: -5px;
    z-index: 5;
}

.groom-photo img {
    display: block;
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}


/* ---------- Family Info ---------- */

.groom-info {
    position: relative;
    margin-top: -5px;
    z-index: 6;
}

.groom-line {
    width: 80px;
    height: 1px;
    margin: 0 auto 10px;
    background: #8c8175;
}

.groom-child {
    margin: 0 0 4px;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.2rem;
    color: #55504a;
}

.groom-parents {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.6rem;
    line-height: 1.45;
    color: #212529;
}

/* ==================================================
   SECTION 3B — BRIDE / ANGGUN
================================================== */

.section-bride {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f4f1eb;
    color: #212529;
    text-align: center;
    overflow: hidden;
}


/* ---------- Gunungan ---------- */

.bride-gunungan {
    position: absolute;
    width: 78%;
    height: auto;
    left: 50%;
    top: 9%;
    transform: translateX(-50%);
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}


/* ---------- Content ---------- */

.bride-content {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 55px;
    z-index: 5;
}

.bride-label {
    margin-bottom: 20px;
    font-family: "Cormorant Garamond", serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: #212529;
    text-transform: uppercase;
}

.bride-name {
    margin: 0;
    font-family: "Great Vibes", cursive;
    font-size: 3.2rem;
    font-weight: 400;
    line-height: 1;
    color: #8e4211;
    z-index: 6;
}


/* ---------- Photo ---------- */

.bride-photo {
    position: relative;
    width: 70%;
    height: 55%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: -5px;
    z-index: 5;
}

.bride-photo img {
    display: block;
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}


/* ---------- Family Info ---------- */

.bride-info {
    position: relative;
    margin-top: -5px;
    z-index: 6;
}

.bride-line {
    width: 80px;
    height: 1px;
    margin: 0 auto 10px;
    background: #8c8175;
}

.bride-child {
    margin: 0 0 4px;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.2rem;
    color: #55504a;
}

.bride-parents {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.6rem;
    line-height: 1.45;
    color: #212529;
}

/* ==================================================
   SECTION 4 — RANGKAIAN ACARA
================================================== */

.section-event {
    position: relative;

    width: 100%;

    min-height: 100vh;

    padding: 70px 30px 0px;

    background: #f4f1eb;

    color: #212529;

    text-align: center;

    overflow: hidden;
}


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

.event-content {
    position: relative;

    width: 100%;

    max-width: 360px;

    margin: 0 auto;

    z-index: 5;
}


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

.event-day {
    position: relative;

    z-index: 5;
}


/* =================================
   HEADER
================================= */

.event-label {
    margin-bottom: 15px;

    font-family: "Cormorant Garamond", serif;

    font-size: 1rem;

    font-weight: 600;

    letter-spacing: 0.3em;

    text-transform: uppercase;
}


.event-date {
    margin-bottom: 8px;

    font-family: "Great Vibes", cursive;

    font-size: 3.5rem;

    line-height: 1;

    color: #8e4211;
}


.event-full-date {
    margin: 0 0 35px;

    font-family: "Cormorant Garamond", serif;

    font-size: 1.15rem;

    letter-spacing: 0.05em;

    color: #8e4211;
}


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

.event-item {
    position: relative;

    margin-bottom: 20px;

    padding: 22px 20px;

    background: rgba(255, 255, 255, 0.42);

    border: 1px solid rgba(140, 129, 117, 0.25);

    border-radius: 4px;

    z-index: 5;
}


.event-title {
    margin: 0 0 8px;

    font-family: "Great Vibes", cursive;

    font-size: 2.5rem;

    font-weight: 400;

    line-height: 1;

    color: #212529;
}


.event-time {
    margin: 0;

    font-family: "Cormorant Garamond", serif;

    font-size: 1.1rem;

    font-weight: 600;

    color: #55504a;
}


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

.event-location {
    position: relative;

    margin-top: 12px;

    z-index: 5;
}


.event-line {
    width: 55px;

    height: 1px;

    margin: 5px auto 15px;

    background: #8c8175;
}


.event-location-label {
    margin: 0 0 6px;

    font-family: "Cormorant Garamond", serif;

    font-size: 0.95rem;

    font-weight: 600;

    letter-spacing: 0.2em;

    text-transform: uppercase;

    color: #55504a;
}


.event-location-name {
    margin: 0 0 8px;

    font-family: "Cormorant Garamond", serif;

    font-size: 1.25rem;

    font-weight: 600;

    color: #212529;
}


.event-address {
    margin: 0;

    font-family: "Cormorant Garamond", serif;

    font-size: 1.05rem;

    line-height: 1.6;

    color: #8e4211;
}


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

.event-map-card {
    margin-top: 25px;

    margin-bottom: 50px;

    padding: 8px;

    background: rgba(255, 255, 255, 0.35);

    border: 1px solid rgba(140, 129, 117, 0.3);

    box-shadow:
        0 8px 25px rgba(33, 37, 41, 0.06);

    z-index: 5;
}


/* =================================
   MAP
================================= */

.event-map {
    width: 100%;

    height: 190px;

    overflow: hidden;

    border-radius: 2px;

    position: relative;

}


.event-map iframe {
    display: block;

    width: 100%;

    height: 100%;

    border: 0;

    filter: grayscale(25%) sepia(8%);

    transform: scale(1.01);
}


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

.event-map-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    margin-top: 12px;

    padding: 9px 20px;

    border: 1px solid #8c8175;

    border-radius: 30px;

    background: rgba(244, 241, 235, 0.8);

    color: #212529;

    font-family: "Cormorant Garamond", serif;

    font-size: 1rem;

    font-weight: 600;

    text-decoration: none;

    letter-spacing: 0.03em;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.event-map-button span {
    font-size: 1.05rem;
}


.event-map-button:active {
    transform: scale(0.96);
}


/* =================================
   PEMBATAS ANTAR HARI
================================= */

.event-day-divider {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin: 65px 0 55px;

    color: #8c8175;
}


.event-day-divider span:first-child,
.event-day-divider span:last-child {
    width: 55px;

    height: 1px;

    background: #8c8175;

    opacity: 0.7;
}


.event-day-divider span:nth-child(2) {
    font-size: 0.75rem;

    opacity: 0.8;
}


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

.event-day-second .event-date {
    font-size: 3.4rem;
}


.event-day-second .event-full-date {
    margin-bottom: 30px;
}


/* =================================
   GUNUNGAN
================================= */

.event-gunungan {
    position: absolute;

    width: 55%;

    height: auto;

    left: 50%;

    top: 3%;

    transform: translateX(-50%);

    opacity: 0.08;

    z-index: 1;

    pointer-events: none;
}

/* =================================
   SECTION 5 - SAVE THE DATE
================================= */

.section-save-date {
    position: relative;

    width: 100%;
    min-height: 100dvh;

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

    padding: 80px 30px;

    background: #1c1b19;

    color: #f4f1eb;

    text-align: center;

    overflow: hidden;
}

.save-date-content {
    position: relative;

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

    z-index: 5;
}

.save-date-label {
    font-family: "Great Vibes", cursive;

    font-size: 3rem;

    line-height: 1;

    margin-bottom: 12px;
}

.save-date-subtitle {
    font-family: "Cormorant Garamond", serif;

    font-size: 1rem;

    font-weight: 600;

    letter-spacing: 0.25em;

    text-transform: uppercase;

    opacity: 0.75;

    margin-bottom: 35px;
}

.save-date-timer {
    display: grid;

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

    gap: 8px;

    width: 100%;

    margin-bottom: 45px;
}

.save-date-time-box {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 14px 4px;

    border-top: 1px solid rgba(244, 241, 235, 0.25);

    border-bottom: 1px solid rgba(244, 241, 235, 0.25);
}

.save-date-time-box span {
    font-family: "Cormorant Garamond", serif;

    font-size: 2rem;

    font-weight: 600;

    line-height: 1;
}

.save-date-time-box small {
    font-family: "Cormorant Garamond", serif;

    font-size: 0.75rem;

    letter-spacing: 0.08em;

    margin-top: 7px;

    opacity: 0.6;
}

.save-date-date {
    font-family: "Great Vibes", cursive;

    font-size: 4rem;

    line-height: 1;

    margin-bottom: 10px;
}

.save-date-full {
    font-family: "Cormorant Garamond", serif;

    font-size: 1.1rem;

    letter-spacing: 0.04em;

    color: rgba(244, 241, 235, 0.8);
}

.save-date-button {
    display: inline-flex;

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

    gap: 7px;

    margin-top: 30px;

    padding: 11px 22px;

    border: 1px solid rgba(244, 241, 235, 0.45);

    border-radius: 30px;

    background: transparent;

    color: #f4f1eb;

    font-family: "Cormorant Garamond", serif;

    font-size: 1rem;

    font-weight: 600;

    letter-spacing: 0.03em;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.save-date-button span {
    font-size: 1.1rem;
}

.save-date-button:active {
    transform: scale(0.96);

    background: rgba(244, 241, 235, 0.08);
}

/* ==================================================
   SECTION 6 — OUR STORY
================================================== */

.section-story {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    padding: 85px 30px 100px;
    background: #1c1b19;
    color: #f4f1eb;
    text-align: center;
    overflow: hidden;
}

.story-content {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}


/* ---------- HEADING ---------- */

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

.story-label {
    margin-bottom: 8px;
    font-family: "Great Vibes", cursive;
    font-size: 3.2rem;
    line-height: 1;
    color: #f4f1eb;
}

.story-subtitle {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: .95rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #b8b0a6;
}


/* ---------- TIMELINE ---------- */

.story-timeline {
    position: relative;
}


/* ---------- STORY ITEM ---------- */

.story-item {
    position: relative;
    z-index: 2;
    padding-bottom: 85px;
}

.story-item:last-child {
    padding-bottom: 0;
}


/* ---------- MARKER ---------- */

.story-marker {
    position: relative;
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1c1b19;
    border: 1px solid rgba(184, 176, 166, .65);
    border-radius: 50%;
}

.story-marker span {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.2rem;
    letter-spacing: .05em;
    color: #c8c0b5;
}


/* ---------- DATE ---------- */

.story-date {
    margin-bottom: 25px;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: .16em;
    color: #b8b0a6;
}


/* ---------- TITLE ---------- */

.story-title {
    margin: 0 0 22px;
    font-family: "Great Vibes", cursive;
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1;
    color: #f4f1eb;
}


/* ---------- DESCRIPTION ---------- */

.story-description {
    width: 100%;
    max-width: 315px;
    margin: 0 auto 14px;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #c0b9b0;
}


/* ---------- PHOTO ---------- */

.story-photo {
    width: 100%;
    margin: 28px auto 25px;
    padding: 7px;
    background: rgba(244, 241, 235, .06);
    border: 1px solid rgba(184, 176, 166, .28);
}

.story-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}


/* ---------- COUPLE ---------- */

.story-couple {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-top: 30px;
    font-family: "Great Vibes", cursive;
    font-size: 2.25rem;
    color: #f4f1eb;
}

.story-couple-amp {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.25rem;
    color: #b8b0a6;
}

/* ==================================================
   SECTION 7 — OUR GALLERY
================================================== */

.section-gallery {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    padding: 85px 24px 110px;
    background: #f4f1eb;
    color: #212529;
    overflow: hidden;
}

.gallery-content {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}


/* ---------- HEADING ---------- */

.gallery-heading {
    margin-bottom: 45px;
    text-align: center;
}

.gallery-label {
    margin-bottom: 8px;
    font-family: "Great Vibes", cursive;
    font-size: 3.2rem;
    line-height: 1;
    color: #212529;
}

.gallery-subtitle {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: .95rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #6d665f;
}


/* ---------- GALLERY GRID ---------- */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}


/* ---------- PHOTO ---------- */

.gallery-item {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #ded8d0;
    aspect-ratio: 3 / 4;
}

.gallery-item-large {
    grid-column: 1 / -1;
    aspect-ratio: 3 / 5;
}

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


/* ---------- MOBILE TOUCH ---------- */

.gallery-item:active img {
    transform: scale(1.03);
}


/* ==================================================
   SECTION 8 — UCAPAN & DOA
================================================== */

.section-wishes {
    position: relative;
    width: 100%;
    padding: 80px 24px;
    background: #f4f1eb;
    color: #302b25;
    overflow: hidden;
}

.wishes-content {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
}

.wishes-heading {
    text-align: center;
    margin-bottom: 36px;
}

.wishes-label {
    margin-bottom: 12px;
    font-family: "Cormorant Garamond", serif;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #8a765b;
}

.wishes-title {
    margin: 0;
    font-family: "Great Vibes", cursive;
    font-size: 44px;
    font-weight: 400;
    line-height: 1.3;
    color: #302b25;
}

.wishes-subtitle {
    max-width: 280px;
    margin: 12px auto 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 17px;
    line-height: 1.6;
    color: #786b5a;
}

.wishes-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px 20px;
    background: rgba(255, 253, 248, 0.85);
    border: 1px solid rgba(120, 103, 79, 0.18);
    border-radius: 3px;
}

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

.wishes-field label {
    font-family: "Cormorant Garamond", serif;
    font-size: 16px;
    font-weight: 600;
    color: #302b25;
}

.wishes-field input,
.wishes-field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #ded5c7;
    border-radius: 2px;
    outline: none;
    background: #fffdf8;
    color: #302b25;
    font-family: "Cormorant Garamond", serif;
    font-size: 16px;
    line-height: 1.5;
    transition: border-color 0.2s ease;
}

.wishes-field input::placeholder,
.wishes-field textarea::placeholder {
    color: #a49a8d;
}

.wishes-field input:focus,
.wishes-field textarea:focus {
    border-color: #8a765b;
}

.wishes-field textarea {
    min-height: 120px;
    resize: vertical;
}

.wishes-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.wishes-submit {
    width: 100%;
    min-height: 48px;
    padding: 13px 18px;
    border: 1px solid #514637;
    border-radius: 2px;
    background: #514637;
    color: #fffdf8;
    font-family: "Cormorant Garamond", serif;
    font-size: 17px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        opacity 0.2s ease;
}

.wishes-submit:active {
    background: #3d3429;
}

.wishes-submit:disabled {
    opacity: 0.6;
    cursor: wait;
}

.wishes-feedback {
    display: none;
    margin: -8px 0 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
}

.wishes-feedback.is-visible {
    display: block;
}

.wishes-list-wrapper {
    margin-top: 48px;
}

.wishes-list-heading {
    margin-bottom: 20px;
    font-family: "Cormorant Garamond", serif;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    color: #302b25;
}

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

.wishes-empty {
    margin: 0;
    padding: 20px 16px;
    border: 1px solid rgba(120, 103, 79, 0.18);
    color: #786b5a;
    font-family: "Cormorant Garamond", serif;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
}

.wishes-card {
    padding: 18px;
    background: rgba(255, 253, 248, 0.85);
    border: 1px solid rgba(120, 103, 79, 0.18);
}

.wishes-card-name {
    margin: 0 0 8px;
    font-family: "Cormorant Garamond", serif;
    font-size: 17px;
    font-weight: 600;
    color: #302b25;
    overflow-wrap: anywhere;
}

.wishes-card-message {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 16px;
    line-height: 1.7;
    color: #514637;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

@media (max-width: 360px) {
    .section-wishes {
        padding: 64px 18px;
    }

    .wishes-form {
        padding: 20px 16px;
    }

    .wishes-title {
        font-size: 40px;
    }
}


/* ==================================================
   SECTION 9 — CLOSING
================================================== */

.section-closing {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100dvh;
    padding: 80px 30px;
    background: #1c1b19;
    color: #f4f1eb;
    text-align: center;
    overflow: hidden;
}

.closing-content {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

.closing-ornament {
    margin-bottom: 24px;
    font-size: 1.2rem;
    color: #b8b0a6;
}

.closing-label {
    margin-bottom: 25px;
    font-family: "Great Vibes", cursive;
    font-size: 3rem;
    line-height: 1.1;
    color: #f4f1eb;
}

.closing-description,
.closing-prayer {
    margin: 0 auto;
    max-width: 320px;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #c0b9b0;
}

.closing-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 32px 0;
    color: #b8b0a6;
}

.closing-divider span:first-child,
.closing-divider span:last-child {
    width: 45px;
    height: 1px;
    background: rgba(184, 176, 166, .55);
}

.closing-divider span:nth-child(2) {
    font-size: .8rem;
}

.closing-greeting {
    margin: 0 0 22px;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 600;
    color: #f4f1eb;
}

.closing-prayer {
    margin-bottom: 35px;
}

.closing-names {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: "Great Vibes", cursive;
    font-size: 2.8rem;
    line-height: 1.2;
    color: #f4f1eb;
}

.closing-ampersand {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    color: #b8b0a6;
}

.closing-date {
    margin-top: 15px;
    font-family: "Cormorant Garamond", serif;
    font-size: .9rem;
    letter-spacing: .25em;
    color: #b8b0a6;
}

/* ==================================================
   ANIMATIONS
================================================== */

@keyframes gardenMove {
    from {
        transform: translateX(-10px);
    }

    to {
        transform: translateX(10px);
    }
}

/* MUSIC TOGGLE */

.music-toggle {
    position: fixed;
    right: max(20px, calc((100vw - 430px) / 2 + 18px));
    bottom: 22px;
    z-index: 9000;

    width: 44px;
    height: 44px;

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

    border: 1px solid rgba(184, 176, 166, .65);
    border-radius: 50%;
    background: rgba(28, 27, 25, .9);
    color: #f4f1eb;

    font-family: sans-serif;
    font-size: 18px;

    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.music-toggle:active {
    transform: scale(.94);
}

.music-toggle.is-playing {
    animation: music-pulse 2s ease-in-out infinite;
}

@keyframes music-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(184, 176, 166, 0);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(184, 176, 166, .12);
    }
}

#wishes-form[hidden] {
    display: none !important;
}

.wishes-feedback.is-success {
    margin-top: 24px;
    padding: 22px 18px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 14px;
    background: rgba(212, 175, 55, 0.08);
    color: inherit;
    text-align: center;
    line-height: 1.8;
}

/* ==================================================
   WEDDING HASHTAG
================================================== */

.opening-hashtag,
.story-hashtag,
.closing-hashtag {
    margin-top: 12px;
    font-family: "Cormorant Garamond", serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.5px;
    line-height: 1.6;
    text-align: center;
}

/* Opening */
.opening-hashtag {
    color: #b8b0a6;
    opacity: 0.9;
}

/* Closing */
.closing-hashtag {
    color: #b8b0a6;
    opacity: 0.85;
    margin-bottom: 8px;
    overflow-wrap: anywhere;
}