* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f3e9e4;
    color: #633f3c;

font-family:
    "Cormorant Garamond",
    Georgia,
    serif;
}


/* =========================
   COVER
========================= */

.cover {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 25px;

    background: #f3e9e4;

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.cover.hide-cover {
    opacity: 0;
    transform: scale(1.03);
    pointer-events: none;
}

.invitation-frame {
    width: 100%;
    max-width: 430px;

    min-height: 720px;

    background: #fffaf6;

    border: 1px solid #9a625e;

    border-radius:
        210px
        210px
        10px
        10px;

    padding:
        75px
        35px
        40px;

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;

    box-shadow:
        0 15px 45px
        rgba(87, 53, 50, 0.12);
}

.bismillah {
    font-size: 36px;
    margin-bottom: 18px;
}

.event-title {
    font-size: 11px;

    letter-spacing: 4px;

    margin-bottom: 25px;
}

.invitation-text {
    max-width: 290px;

    font-size: 12px;

    line-height: 1.8;

    margin-bottom: 30px;
}

.couple h1 {
    font-size: 43px;

    font-weight: normal;
    font-style: italic;

    line-height: 1;
}

.couple span {
    display: block;

    font-size: 21px;
    font-style: italic;

    margin: 13px 0;
}

.divider {
    width: 170px;
    height: 1px;

    background: #9a625e;

    margin: 32px 0 22px;
}

.date-small {
    font-size: 11px;

    letter-spacing: 3px;

    margin-bottom: 12px;
}

.date {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    margin-bottom: 35px;
}

.date span {
    font-size: 11px;

    letter-spacing: 1px;
}

.date strong {
    font-size: 34px;

    font-weight: normal;

    padding: 0 18px;

    border-left:
        1px solid #9a625e;

    border-right:
        1px solid #9a625e;
}

.brand {
    margin-top: auto;

    font-size: 11px;

    letter-spacing: 3px;

    opacity: 0.6;
}


/* =========================
   BUTTONS
========================= */

.primary-button {
    padding:
        13px
        28px;

    background: #a86563;
    color: #fffaf6;

    border: none;

    border-radius: 30px;

    font-family: inherit;

    font-size: 11px;

    letter-spacing: 2px;

    cursor: pointer;

    transition: 0.3s;
}

.primary-button:hover {
    background: #633f3c;

    transform:
        translateY(-2px);
}

.secondary-button {
    display: inline-block;

    padding:
        12px
        20px;

    border:
        1px solid #a86563;

    border-radius: 30px;

    color: #633f3c;

    text-decoration: none;

    font-size: 11px;

    letter-spacing: 1px;

    transition: 0.3s;
}

.secondary-button:hover {
    background: #a86563;
    color: #fffaf6;
}


/* =========================
   MAIN CONTENT
========================= */

.main-content {
    display: none;

    background: #fffaf6;

    opacity: 0;
}

.main-content.show-content {
    display: block;

    animation:
        fadeInContent
        1.2s
        ease
        forwards;
}

@keyframes fadeInContent {

    from {
        opacity: 0;

        transform:
            translateY(25px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


/* =========================
   GENERAL SECTIONS
========================= */

.section {
    width: 100%;

    padding:
        90px
        24px;

    text-align: center;
}

.section:nth-child(even) {
    background: #f7efeb;
}

.section-eyebrow {
    font-size: 10px;

    letter-spacing: 4px;

    margin-bottom: 18px;

    color: #a86563;
}

.section-title {
    font-size: 35px;

    font-weight: normal;
    font-style: italic;

    margin-bottom: 45px;
}

.section-card {
    width: 100%;
    max-width: 620px;

    margin: 0 auto;

    padding:
        55px
        35px;

    background: #fffaf6;

    border:
        1px solid
        rgba(168, 101, 99, 0.35);

    border-radius:
        180px
        180px
        18px
        18px;

    box-shadow:
        0 15px 40px
        rgba(93, 58, 55, 0.08);
}

.section-card h3 {
    font-size: 30px;

    font-weight: normal;
    font-style: italic;

    margin-bottom: 25px;
}

.section-card p {
    max-width: 430px;

    margin: 0 auto;

    font-size: 14px;

    line-height: 1.9;
}

.small-divider {
    width: 90px;
    height: 1px;

    background: #a86563;

    margin:
        30px
        auto;
}


/* =========================
   HERO — EDITORIAL
========================= */

.hero {
    min-height: 100vh;

    padding:
        90px
        8vw
        45px;

    display: flex;
    flex-direction: column;

    justify-content: center;

    background: #fffaf6;
}


.hero-editorial {
    width: min(100%, 900px);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1.25fr
        0.75fr;

    gap: 70px;

    align-items: center;
}


/* =========================
   LEFT SIDE — NAMES
========================= */

.hero-left {
    text-align: left;
}


.hero-left .section-eyebrow {
    margin-bottom: 28px;
}


.hero-couple {
    display: flex;
    flex-direction: column;

    align-items: flex-start;
}


.hero-name {
    margin: 0;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: clamp(
        64px,
        9vw,
        105px
    );

    font-weight: 500;
    font-style: italic;

    line-height: 0.82;

    letter-spacing: -3px;

    color: #633f3c;
}


.hero-and {
    margin:
        18px
        0
        18px
        65px;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 28px;

    font-style: italic;

    color: #a86563;
}


/* =========================
   RIGHT SIDE — DETAILS
========================= */

.hero-right {
    padding-left: 35px;

    border-left:
        1px solid
        rgba(168, 101, 99, 0.3);

    text-align: left;
}


.hero-info-block {
    margin:
        18px
        0;
}


.hero-info-label {
    margin-bottom: 8px;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 8px;

    font-weight: 500;

    letter-spacing: 2.5px;

    color: #a86563;
}


.hero-info-value {
    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 18px;

    line-height: 1.45;

    color: #633f3c;
}


.hero-info-line {
    width: 100%;

    height: 1px;

    margin:
        24px
        0;

    background:
        rgba(168, 101, 99, 0.22);
}


/* Quote */

.hero-quote {
    margin-top: 38px;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 24px;

    font-style: italic;

    line-height: 1.4;

    color: #8b5c58;
}


/* =========================
   SCROLL
========================= */

.hero-scroll {
    margin-top: 65px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 7px;

    letter-spacing: 1.7px;

    color: #a86563;

    opacity: 0.65;
}


.scroll-arrow {
    font-size: 15px;

    animation:
        scrollBounce
        1.8s
        ease-in-out
        infinite;
}


@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .hero {
        padding:
            75px
            28px
            38px;
    }


    .hero-editorial {
        display: block;

        width: 100%;
    }


    .hero-left {
        text-align: center;
    }


    .hero-left
    .section-eyebrow {
        margin-bottom: 26px;
    }


    .hero-couple {
        align-items: center;
    }


    .hero-name {
        font-size: 58px;

        line-height: 0.9;

        letter-spacing: -2px;
    }


    .hero-and {
        margin:
            16px
            0;

        font-size: 23px;
    }


    .hero-right {
        margin-top: 48px;

        padding:
            28px
            0
            0;

        border-left: none;

        border-top:
            1px solid
            rgba(168, 101, 99, 0.25);

        text-align: center;
    }


    .hero-info-line {
        width: 55px;

        margin:
            22px
            auto;
    }


    .hero-info-value {
        font-size: 17px;
    }


    .hero-quote {
        margin-top: 34px;

        font-size: 21px;
    }


    .hero-scroll {
        margin-top: 50px;
    }

}


/* =========================
   INVITATION
========================= */

.invitation-section {
    background: #f7efeb;
}

.couple-mini {
    font-style: italic;

    font-size:
        20px !important;
}


/* =========================
   DETAILS
========================= */

.details-grid {
    width: 100%;
    max-width: 900px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.detail-card {
    padding:
        35px
        20px;

    border:
        1px solid
        rgba(168, 101, 99, 0.3);

    background: #fffaf6;

    border-radius: 18px;

    box-shadow:
        0 8px 25px
        rgba(93, 58, 55, 0.05);
}

.detail-icon {
    display: block;

    font-size: 27px;

    margin-bottom: 18px;
}

.detail-card h4 {
    font-size: 13px;

    letter-spacing: 2px;

    margin-bottom: 12px;
}

.detail-card p {
    font-size: 16px;

    margin-bottom: 7px;
}

.detail-card small {
    font-size: 11px;

    opacity: 0.65;
}


/* =========================
   COUNTDOWN
========================= */

.countdown-section {
    background:
        #b47773 !important;

    color: #fffaf6;
}

.countdown-section
.section-eyebrow {
    color: #f8dfda;
}

.countdown {
    width: 100%;
    max-width: 650px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;
}

.countdown-box {
    padding:
        25px
        12px;

    border:
        1px solid
        rgba(255, 250, 246, 0.4);

    border-radius: 14px;
}

.countdown-box span {
    display: block;

    font-size: 34px;

    margin-bottom: 8px;
}

.countdown-box small {
    font-size: 10px;

    letter-spacing: 1px;
}


/* =========================
   TIMELINE
========================= */

.timeline {
    width: 100%;
    max-width: 650px;

    margin: 0 auto;

    text-align: left;
}

.timeline-item {
    display: grid;

    grid-template-columns:
        110px
        1fr;

    gap: 25px;

    padding:
        28px
        0;

    border-bottom:
        1px solid
        rgba(168, 101, 99, 0.25);
}

.timeline-time {
    font-size: 12px;

    letter-spacing: 1px;

    color: #a86563;
}

.timeline-content h4 {
    font-size: 17px;

    margin-bottom: 8px;

    font-weight: normal;
}

.timeline-content p {
    font-size: 13px;

    line-height: 1.6;

    opacity: 0.75;
}


/* =========================
   LOCATION
========================= */

.location-section {
    background: #f7efeb;
}

.location-address {
    margin-top:
        10px !important;
}

.location-buttons {
    margin-top: 30px;

    display: flex;

    justify-content: center;

    gap: 12px;

    flex-wrap: wrap;
}


/* =========================
   EDITORIAL GALLERY
========================= */

.gallery-section {
    overflow: hidden;

    padding-top: 75px;
    padding-bottom: 85px;
}


/* Heading area */

.gallery-heading {
    max-width: 500px;

    margin:
        0 auto
        30px;

    text-align: center;
}


.gallery-heading .section-title {
    margin-bottom: 18px;
}


.gallery-intro {
    max-width: 320px;

    margin:
        0 auto;

    font-size: 14px;
    line-height: 1.7;

    opacity: 0.7;
}


/* Couple names */

.gallery-names {
    margin-top: 20px;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 26px;
    font-weight: 500;
    font-style: italic;

    line-height: 1.4;

    color: #633f3c;
}


/* Main gallery container */

.editorial-gallery {
    width: min(90%, 720px);

    margin: 0 auto;
}


.editorial-gallery figure {
    margin: 0;
}


/* =========================
   MAIN ARCH PHOTO
========================= */

.gallery-main {
    width: 72%;

    margin:
        0 auto
        24px !important;

    aspect-ratio: 4 / 5;

    overflow: hidden;

    border-radius:
        50% 50%
        8px 8px;

    border:
        1px solid
        rgba(168, 101, 99, 0.28);
}


.gallery-main img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition:
        transform 1.2s ease;
}


.gallery-main:hover img {
    transform: scale(1.035);
}


/* =========================
   TWO PHOTO ROW
========================= */

.gallery-pair {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 14px;

    margin-bottom: 22px;
}


.gallery-small {
    aspect-ratio: 3 / 4;

    overflow: hidden;

    border-radius: 8px;
}


/* Remove old staggered positioning */
.gallery-small-lower {
    margin-top: 0 !important;
}


.gallery-small img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition:
        transform 1.2s ease;
}


.gallery-small:hover img {
    transform: scale(1.04);
}


/* =========================
   WIDE CINEMATIC PHOTO
========================= */

.gallery-wide {
    position: relative;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    border-radius: 8px;
}


.gallery-wide img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition:
        transform 1.2s ease;
}


.gallery-wide:hover img {
    transform: scale(1.035);
}


/* =========================
   CAPTION OVERLAY
========================= */

.gallery-caption {
    position: absolute;

    left: 16px;
    bottom: 14px;

    padding:
        10px
        14px;

    background:
        rgba(255, 250, 246, 0.9);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    color: #633f3c;

    border-radius: 5px;
}


.gallery-caption span {
    display: block;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 22px;
    font-style: italic;

    line-height: 1.2;
}


.gallery-caption p {
    margin-top: 4px;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 7px;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


/* =========================
   MOBILE GALLERY
========================= */

@media (max-width: 600px) {

    .gallery-section {
        padding-top: 65px;
        padding-bottom: 75px;
    }


    .gallery-heading {
        margin-bottom: 24px;
    }


    .gallery-heading .section-title {
        margin-bottom: 14px;
    }


    .gallery-intro {
        max-width: 285px;

        font-size: 13px;
    }


    .gallery-names {
        margin-top: 18px;

        font-size: 23px;
    }


    .editorial-gallery {
        width: 88%;
    }


    .gallery-main {
        width: 84%;

        margin-bottom:
            18px !important;
    }


    .gallery-pair {
        gap: 12px;

        margin-bottom: 18px;
    }


    .gallery-small-lower {
        margin-top: 0 !important;
    }


    .gallery-caption {
        left: 10px;
        bottom: 10px;

        padding:
            8px
            11px;
    }

}

/* =========================
   RSVP — REFINED
========================= */

.rsvp-section {
    background: #fffaf6;
}


/* =========================
   HEADING
========================= */

.rsvp-heading {
    max-width: 500px;

    margin:
        0 auto
        38px;

    text-align: center;
}


.rsvp-intro {
    max-width: 330px;

    margin:
        0 auto;

    font-size: 14px;
    line-height: 1.7;

    opacity: 0.65;
}


/* =========================
   MAIN RSVP CARD
========================= */

.rsvp-card {
    width: min(90%, 580px);

    margin: 0 auto;

    padding:
        55px
        45px
        42px;

    background: #fffaf6;

    border:
        1px solid
        rgba(168, 101, 99, 0.28);

    border-radius:
        120px
        120px
        18px
        18px;

    box-shadow:
        0 15px 40px
        rgba(93, 58, 55, 0.05);
}


/* =========================
   FORM
========================= */

#rsvpForm {
    width: 100%;

    display: flex;
    flex-direction: column;
}


/* Normal HTML label */

#rsvpForm > label {
    display: block;

    margin:
        0 0
        10px;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 8px;
    font-weight: 500;

    letter-spacing: 2.2px;

    text-transform: uppercase;

    text-align: center;

    color: #a86563;
}


/* =========================
   NAME INPUT
========================= */

#guestName {
    width: 100%;
    height: 48px;

    margin:
        0 0
        32px;

    padding:
        0
        18px;

    box-sizing: border-box;

    background:
        rgba(255, 255, 255, 0.55);

    border:
        1px solid
        rgba(168, 101, 99, 0.3);

    border-radius: 999px;

    outline: none;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 16px;

    text-align: center;

    color: #633f3c;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


#guestName::placeholder {
    color:
        rgba(99, 63, 60, 0.45);
}


#guestName:focus {
    background: #ffffff;

    border-color:
        rgba(168, 101, 99, 0.7);

    box-shadow:
        0 0 0 4px
        rgba(168, 101, 99, 0.06);
}


/* =========================
   SMALL FORM LABELS
========================= */

.rsvp-label {
    margin:
        0 0
        15px;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 8px;

    font-weight: 500;

    letter-spacing: 2.2px;

    text-transform: uppercase;

    text-align: center;

    color: #a86563;
}


/* =========================
   ATTENDANCE
========================= */

.attendance-options {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;

    margin-bottom: 32px;
}


.attendance-card {
    min-height: 150px;

    padding:
        25px
        15px;

    background:
        rgba(255, 255, 255, 0.45);

    border:
        1px solid
        rgba(168, 101, 99, 0.25);

    border-radius: 22px;

    color: #633f3c;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.attendance-card:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(168, 101, 99, 0.55);
}


/* Selected attendance */

.attendance-card.selected {
    background: #a86563;

    border-color: #a86563;

    color: #fffaf6;

    box-shadow:
        0 10px 25px
        rgba(99, 63, 60, 0.12);
}


/* Heart / dash */

.attendance-icon {
    margin-bottom: 13px;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 27px;

    line-height: 1;
}


/* Hadir */

.attendance-card strong {
    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 21px;

    font-weight: 500;

    line-height: 1.2;
}


/* Description */

.attendance-card small {
    margin-top: 8px;

    max-width: 150px;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 8px;

    line-height: 1.5;

    opacity: 0.65;
}


/* =========================
   GUEST COUNTER
========================= */

.guest-count-wrapper {
    display: none;

    margin:
        2px
        0
        30px;

    text-align: center;
}


.guest-count-wrapper.show {
    display: block;

    animation:
        showGuestCounter
        0.35s ease;
}


@keyframes showGuestCounter {

    from {
        opacity: 0;
        transform:
            translateY(-6px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }

}


.guest-counter {
    width: fit-content;

    margin:
        12px
        auto
        0;

    padding:
        6px;

    display: flex;

    align-items: center;

    gap: 22px;

    background:
        rgba(255, 255, 255, 0.6);

    border:
        1px solid
        rgba(168, 101, 99, 0.25);

    border-radius: 999px;
}


.counter-button {
    width: 36px;
    height: 36px;

    padding: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #f1dfdb;

    border: none;
    border-radius: 50%;

    color: #633f3c;

    font-size: 18px;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.counter-button:hover {
    transform: scale(1.06);

    background: #e8cfca;
}


.guest-count-number {
    min-width: 22px;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 24px;

    color: #633f3c;
}


/* =========================
   SUBMIT BUTTON
========================= */

.rsvp-submit {
    min-width: 155px;

    margin:
        2px
        auto
        0;

    padding:
        14px
        25px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .rsvp-heading {
        margin-bottom: 32px;
    }


    .rsvp-card {
        width: 90%;

        padding:
            48px
            24px
            34px;

        border-radius:
            95px
            95px
            16px
            16px;
    }


    #guestName {
        height: 50px;

        margin-bottom: 30px;

        font-size: 16px;
    }


    .attendance-options {
        gap: 10px;

        margin-bottom: 28px;
    }


    .attendance-card {
        min-height: 145px;

        padding:
            22px
            10px;

        border-radius: 18px;
    }


    .attendance-card strong {
        font-size: 19px;
    }


    .attendance-card small {
        max-width: 120px;

        font-size: 7.5px;
    }


    .attendance-icon {
        font-size: 25px;
    }

}


/* Very small phones */

@media (max-width: 380px) {

    .rsvp-card {
        padding-left: 18px;
        padding-right: 18px;
    }


    .attendance-options {
        grid-template-columns: 1fr;
    }


    .attendance-card {
        min-height: 110px;
    }

}

/* =========================
   WISHES / GUESTBOOK
========================= */

.wishes-section {
    background: #f7efeb;
}


/* Heading */

.wishes-heading {
    max-width: 500px;

    margin:
        0 auto
        35px;

    text-align: center;
}


.wishes-intro {
    max-width: 320px;

    margin:
        0 auto;

    font-size: 14px;
    line-height: 1.7;

    opacity: 0.72;
}


/* =========================
   WISH FORM CARD
========================= */

.wish-form-card {
    width: min(90%, 520px);

    margin:
        0 auto
        45px;

    padding:
        48px
        34px
        34px;

    background: #fffaf6;

    border:
        1px solid
        rgba(168, 101, 99, 0.3);

    border-radius:
        100px
        100px
        18px
        18px;

    box-shadow:
        0 12px 35px
        rgba(93, 58, 55, 0.06);
}


/* Heart */

.wish-form-heart {
    width: 40px;
    height: 40px;

    margin:
        0 auto
        28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(168, 101, 99, 0.35);

    border-radius: 50%;

    color: #a86563;

    font-size: 22px;
}


/* =========================
   FORM STRUCTURE
========================= */

.wish-form {
    width: 100%;

    display: flex;
    flex-direction: column;

    align-items: stretch;

    text-align: left;
}


/* Labels */

.wish-form label {
    display: block;

    margin:
        0 0
        9px;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 8px;
    font-weight: 500;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: #a86563;
}


/* =========================
   INPUT
========================= */

#wishName {
    width: 100%;
    height: 48px;

    margin:
        0 0
        24px;

    padding:
        0
        18px;

    box-sizing: border-box;

    background:
        rgba(255, 255, 255, 0.6);

    border:
        1px solid
        rgba(168, 101, 99, 0.3);

    border-radius: 999px;

    outline: none;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 16px;

    color: #633f3c;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


#wishName::placeholder {
    color:
        rgba(99, 63, 60, 0.45);
}


#wishName:focus {
    background: #ffffff;

    border-color:
        rgba(168, 101, 99, 0.7);

    box-shadow:
        0 0 0 4px
        rgba(168, 101, 99, 0.06);
}


/* =========================
   TEXTAREA
========================= */

#wishMessage {
    width: 100%;
    min-height: 130px;

    margin:
        0 0
        26px;

    padding:
        15px
        17px;

    resize: vertical;

    box-sizing: border-box;

    background:
        rgba(255, 255, 255, 0.6);

    border:
        1px solid
        rgba(168, 101, 99, 0.3);

    border-radius: 18px;

    outline: none;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 16px;
    line-height: 1.6;

    color: #633f3c;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


#wishMessage::placeholder {
    color:
        rgba(99, 63, 60, 0.45);
}


#wishMessage:focus {
    background: #ffffff;

    border-color:
        rgba(168, 101, 99, 0.7);

    box-shadow:
        0 0 0 4px
        rgba(168, 101, 99, 0.06);
}


/* Submit */

.wish-submit {
    align-self: center;

    min-width: 165px;

    margin-top: 2px;

    padding:
        14px
        24px;
}


/* =========================
   DIVIDER
========================= */

.wish-divider {
    width: 100%;
    max-width: 560px;

    margin:
        0 auto
        35px;

    display: flex;
    align-items: center;

    gap: 15px;
}


.wish-divider::before,
.wish-divider::after {
    content: "";

    flex: 1;

    height: 1px;

    background:
        rgba(168, 101, 99, 0.25);
}


.wish-divider span {
    color: #a86563;

    font-size: 18px;
}


/* =========================
   WISH LIST
========================= */

.wish-list {
    width: 100%;
    max-width: 760px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 16px;
}


.wish-card {
    position: relative;

    padding:
        24px
        22px
        22px;

    background: #fffaf6;

    border:
        1px solid
        rgba(168, 101, 99, 0.22);

    border-radius: 18px;

    text-align: left;

    box-shadow:
        0 8px 24px
        rgba(93, 58, 55, 0.05);
}


.wish-card::before {
    content: "♡";

    position: absolute;

    top: 16px;
    right: 18px;

    font-size: 16px;

    color: #c48b87;

    opacity: 0.8;
}


.wish-card h4 {
    margin-bottom: 10px;

    padding-right: 28px;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 20px;
    font-weight: 500;
    font-style: italic;

    color: #633f3c;
}


.wish-card p {
    font-size: 13px;

    line-height: 1.75;

    opacity: 0.78;
}


/* Empty state */

.wish-list > p {
    grid-column: 1 / -1;

    text-align: center;

    font-size: 13px;

    opacity: 0.6;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 650px) {

    .wish-form-card {
        width: 90%;
        max-width: 360px;

        padding:
            44px
            24px
            30px;

        border-radius:
            90px
            90px
            16px
            16px;
    }


    .wish-form-heart {
        margin-bottom: 24px;
    }


    #wishName {
        height: 50px;
    }


    #wishMessage {
        min-height: 125px;
    }


    .wish-list {
        max-width: 380px;

        grid-template-columns: 1fr;

        gap: 13px;
    }


    .wish-card {
        padding:
            21px
            19px;
    }


    .wish-card h4 {
        font-size: 19px;
    }

}

/* =========================
   CLOSING SECTION
========================= */

.closing-section {
    min-height: 100vh;

    padding:
        80px
        28px
        35px;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    background: #714845;

    color: #fff7f1;

    text-align: center;
}


/* =========================
   MAIN CONTENT
========================= */

.closing-content {
    width: 100%;

    max-width: 470px;

    margin: auto;
}


/* Heart */

.closing-heart {
    width: 42px;
    height: 42px;

    margin:
        0 auto
        28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(255, 247, 241, 0.35);

    border-radius: 50%;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 22px;

    color: #f3d9d3;
}


/* Eyebrow */

.closing-eyebrow {
    margin-bottom: 28px;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 8px;
    font-weight: 500;

    letter-spacing: 4px;

    color:
        rgba(255, 247, 241, 0.78);
}


/* Message */

.closing-message {
    max-width: 380px;

    margin:
        0 auto;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 21px;

    font-weight: 500;
    font-style: italic;

    line-height: 1.55;

    color: #fff7f1;
}


/* =========================
   DIVIDER
========================= */

.closing-divider {
    width: 52px;
    height: 1px;

    margin:
        34px
        auto;

    background:
        rgba(255, 247, 241, 0.4);
}


/* =========================
   COUPLE
========================= */

.closing-couple {
    display: flex;
    flex-direction: column;

    align-items: center;

    gap: 3px;
}


.closing-couple h2 {
    margin: 0;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 34px;

    font-weight: 500;
    font-style: italic;

    line-height: 1;

    color: #fff7f1;
}


.closing-couple span {
    margin:
        7px
        0;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 18px;

    font-style: italic;

    color: #e7c0ba;
}


/* =========================
   DATE
========================= */

.closing-date {
    margin-top: 25px;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 8px;

    letter-spacing: 3px;

    color:
        rgba(255, 247, 241, 0.75);
}


/* =========================
   WITH LOVE
========================= */

.closing-love {
    margin-top: 22px;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 13px;

    font-style: italic;

    color:
        rgba(255, 247, 241, 0.62);
}


/* =========================
   FOOTER
========================= */

.closing-footer {
    width: 100%;

    max-width: 470px;

    margin-top: 60px;
}


.closing-footer-line {
    display: block;

    width: 100%;

    height: 1px;

    margin-bottom: 22px;

    background:
        rgba(255, 247, 241, 0.18);
}


.closing-footer p {
    margin: 0;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 6px;

    letter-spacing: 2.5px;

    color:
        rgba(255, 247, 241, 0.5);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .closing-section {
        min-height: 100svh;

        padding:
            65px
            28px
            30px;
    }


    .closing-heart {
        margin-bottom: 25px;
    }


    .closing-eyebrow {
        margin-bottom: 25px;
    }


    .closing-message {
        max-width: 300px;

        font-size: 19px;
    }


    .closing-divider {
        margin:
            30px
            auto;
    }


    .closing-couple h2 {
        font-size: 32px;
    }


    .closing-footer {
        margin-top: 55px;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .section {
        padding:
            75px
            20px;
    }

    .hero-name {
        font-size: 48px;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .countdown {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .timeline-item {
        grid-template-columns:
            85px
            1fr;

        gap: 15px;
    }
.section-card {
        border-radius:
            120px
            120px
            16px
            16px;

        padding:
            55px
            25px
            35px;
    }

}


@media (max-width: 420px) {

    .cover {
        padding: 14px;
    }

    .invitation-frame {
        min-height: 680px;

        padding:
            65px
            25px
            35px;
    }

    .couple h1 {
        font-size: 39px;
    }

    .hero-name {
        font-size: 44px;
    }

    .section-title {
        font-size: 31px;
    }

}

/* =========================
   MUSIC PLAYER
========================= */

.music-player {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 999;
}


/* Button */

.music-button {
    width: 52px;
    height: 52px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        rgba(255, 250, 246, 0.94);

    border:
        1px solid
        rgba(168, 101, 99, 0.35);

    border-radius: 50%;

    box-shadow:
        0 8px 25px
        rgba(83, 52, 50, 0.12);

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


.music-button:hover {
    transform: scale(1.06);

    box-shadow:
        0 10px 30px
        rgba(83, 52, 50, 0.16);
}


.music-button:active {
    transform: scale(0.94);
}


/* =========================
   DISC
========================= */

.music-disc {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    border-radius: 50%;

    background: #714845;

    color: #fffaf6;
}


/* Inner vinyl detail */

.music-disc::before {
    content: "";

    position: absolute;

    width: 12px;
    height: 12px;

    border:
        1px solid
        rgba(255, 250, 246, 0.45);

    border-radius: 50%;
}


.music-disc::after {
    content: "";

    position: absolute;

    width: 4px;
    height: 4px;

    background: #e7c0ba;

    border-radius: 50%;
}


/* Music note */

.music-note {
    position: absolute;

    right: 7px;
    top: 5px;

    z-index: 2;

    font-family: Georgia, serif;

    font-size: 12px;

    color: #f6dcd7;
}


/* =========================
   PLAYING
========================= */

.music-button.playing
.music-disc {
    animation:
        musicSpin
        5s
        linear
        infinite;
}


@keyframes musicSpin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* =========================
   OUR SONG LABEL
========================= */

.music-label {
    position: absolute;

    right: 62px;
    top: 50%;

    transform:
        translateY(-50%)
        translateX(8px);

    white-space: nowrap;

    padding:
        8px
        13px;

    background:
        rgba(255, 250, 246, 0.96);

    border:
        1px solid
        rgba(168, 101, 99, 0.25);

    border-radius: 999px;

    box-shadow:
        0 7px 20px
        rgba(83, 52, 50, 0.08);

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 13px;
    font-style: italic;

    color: #714845;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0.3s;
}


.music-label.show {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(-50%)
        translateX(0);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .music-player {
        right: 16px;
        bottom: 16px;
    }


    .music-button {
        width: 48px;
        height: 48px;
    }


    .music-disc {
        width: 33px;
        height: 33px;
    }


    .music-label {
        right: 57px;

        font-size: 12px;
    }

}

/* =========================
   ADD TO CALENDAR BUTTON
========================= */

.calendar-button {
    display: block;
    width: fit-content;

    margin: 14px auto 0;
    padding: 11px 22px;

    background-color: #b86f6b;
    color: #fffaf7;

    border: 1px solid #b86f6b;
    border-radius: 999px;

    font-family: inherit;
    font-size: 11px;
    letter-spacing: 1px;

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.calendar-button:hover {
    background-color: #9f5c59;
    border-color: #9f5c59;

    transform: translateY(-2px);

    box-shadow:
        0 6px 15px rgba(120, 70, 65, 0.15);
}


.calendar-button:active {
    transform: translateY(0);
}

/* =========================
   CALENDAR OPTIONS
========================= */

.calendar-wrapper {
    position: relative;
    width: fit-content;
    margin: 14px auto 0;
}


.calendar-button {
    margin: 0;

    padding: 11px 22px;

    background-color: #b86f6b;
    color: #fffaf7;

    border: 1px solid #b86f6b;
    border-radius: 999px;

    font-family: inherit;
    font-size: 11px;
    letter-spacing: 1px;

    cursor: pointer;

    transition: 0.3s ease;
}


.calendar-button:hover {
    background-color: #9f5c59;
    border-color: #9f5c59;

    transform: translateY(-2px);
}


.calendar-options {
    position: absolute;

    top: calc(100% + 10px);
    left: 50%;

    transform:
        translateX(-50%)
        translateY(-5px);

    width: 190px;

    padding: 8px;

    background: #fffaf7;

    border: 1px solid rgba(184, 111, 107, 0.35);
    border-radius: 14px;

    box-shadow:
        0 10px 30px
        rgba(100, 60, 55, 0.12);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s;

    z-index: 20;
}


.calendar-options.show {
    opacity: 1;
    visibility: visible;

    transform:
        translateX(-50%)
        translateY(0);
}


.calendar-option {
    display: block;

    width: 100%;

    padding: 11px 12px;

    background: transparent;
    color: #704541;

    border: none;
    border-radius: 9px;

    font-family: inherit;
    font-size: 12px;

    cursor: pointer;

    transition:
        background 0.2s ease;
}


.calendar-option:hover {
    background: #f5e6e1;
}

/* =========================
   SCROLL REVEAL
========================= */

.reveal {
    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}


/* Slight stagger effect for cards */

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}


/* Accessibility */

@media (prefers-reduced-motion: reduce) {

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

}

/* =========================
   TYPOGRAPHY POLISH
========================= */

.event-title,
.date-small,
.date span,
.section-eyebrow,
.scroll-text,
.brand,
.footer-brand,
.primary-button,
.secondary-button,
.calendar-button,
.detail-card h4,
.countdown-box small,
label {
    font-family:
        "Montserrat",
        sans-serif;
}


/* Couple names */

.couple h1 {
    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 52px;
    font-weight: 500;
    font-style: italic;

    letter-spacing: -1px;
}


.couple span {
    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 24px;
    font-weight: 400;
    font-style: italic;
}


/* Main wedding page names */

.hero-name {
    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 68px;
    font-weight: 500;
    font-style: italic;

    letter-spacing: -2px;
}


.hero-and {
    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 25px;
    font-style: italic;
}


/* Section titles */

.section-title,
.section-card h3,
.form-card h3,
.closing-section h3 {
    font-family:
        "Cormorant Garamond",
        serif;

    font-weight: 500;
}


/* Tiny uppercase headings */

.section-eyebrow {
    font-size: 9px;

    font-weight: 500;

    letter-spacing: 4.5px;

    text-transform: uppercase;
}


/* Body text */

.invitation-text,
.section-card p,
.timeline-content p,
.wish-card p,
.location-address {
    font-size: 15px;

    line-height: 1.85;
}


/* Buttons */

.primary-button,
.secondary-button,
.calendar-button {
    font-size: 9px;

    font-weight: 500;

    letter-spacing: 1.6px;

    text-transform: uppercase;
}


/* Mobile typography */

@media (max-width: 600px) {

    .couple h1 {
        font-size: 48px;
    }

    .hero-name {
        font-size: 57px;
    }

    .section-title {
        font-size: 36px;
    }

}

/* =========================
   BYNEESH SUCCESS MODAL
========================= */

.success-modal {
    position: fixed;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 24px;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;

    z-index: 9999;
}


.success-modal.show {
    opacity: 1;
    visibility: visible;
}


/* Darkened background */

.success-modal-overlay {
    position: absolute;
    inset: 0;

    background:
        rgba(63, 39, 37, 0.45);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}


/* Modal card */

.success-modal-card {
    position: relative;

    width: 100%;
    max-width: 360px;

    padding:
        48px
        35px
        38px;

    background: #fffaf6;

    color: #633f3c;

    text-align: center;

    border:
        1px solid
        rgba(168, 101, 99, 0.35);

    border-radius:
        160px
        160px
        22px
        22px;

    box-shadow:
        0 25px 70px
        rgba(63, 39, 37, 0.25);

    transform:
        translateY(25px)
        scale(0.97);

    transition:
        transform 0.4s ease;
}


.success-modal.show
.success-modal-card {
    transform:
        translateY(0)
        scale(1);
}


/* Heart */

.success-heart {
    width: 50px;
    height: 50px;

    margin:
        0
        auto
        18px;

    display: flex;
    justify-content: center;
    align-items: center;

    border:
        1px solid
        rgba(168, 101, 99, 0.45);

    border-radius: 50%;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 28px;

    color: #a86563;
}


/* Small ByNeesh text */

.success-eyebrow {
    margin-bottom: 12px;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 8px;
    font-weight: 500;

    letter-spacing: 4px;

    color: #a86563;
}


/* Title */

.success-modal-card h3 {
    margin-bottom: 13px;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 35px;
    font-weight: 500;
    font-style: italic;
}


/* Message */

.success-message {
    max-width: 250px;

    margin:
        0
        auto
        28px;

    font-size: 14px;

    line-height: 1.7;

    opacity: 0.8;
}


/* Close button */

.success-close {
    padding:
        11px
        28px;

    background: #a86563;
    color: #fffaf6;

    border: none;
    border-radius: 999px;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 9px;
    font-weight: 500;

    letter-spacing: 2px;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}


.success-close:hover {
    background: #633f3c;

    transform:
        translateY(-2px);
}


/* Prevent page scrolling while modal is open */

body.modal-open {
    overflow: hidden;
}


/* Mobile */

@media (max-width: 480px) {

    .success-modal-card {
        max-width: 320px;

        padding:
            42px
            28px
            34px;

        border-radius:
            140px
            140px
            20px
            20px;
    }


    .success-modal-card h3 {
        font-size: 32px;
    }

}

/* =========================
   BYNEESH TOAST
========================= */

.toast {
    position: fixed;

    left: 50%;
    bottom: 28px;

    transform:
        translateX(-50%)
        translateY(20px);

    width: min(
        calc(100% - 40px),
        380px
    );

    padding:
        14px
        18px;

    display: flex;
    align-items: center;

    gap: 12px;

    background:
        rgba(255, 250, 246, 0.96);

    color: #633f3c;

    border:
        1px solid
        rgba(168, 101, 99, 0.3);

    border-radius: 999px;

    box-shadow:
        0 12px 35px
        rgba(63, 39, 37, 0.14);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0.3s;

    z-index: 10000;
}


.toast.show {
    opacity: 1;
    visibility: visible;

    transform:
        translateX(-50%)
        translateY(0);
}


.toast-icon {
    flex-shrink: 0;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(168, 101, 99, 0.35);

    border-radius: 50%;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 18px;

    color: #a86563;
}


.toast p {
    margin: 0;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 9px;

    line-height: 1.5;

    letter-spacing: 0.5px;
}


/* Error variation */

.toast.error {
    background:
        rgba(255, 247, 244, 0.98);
}


/* Mobile */

@media (max-width: 600px) {

    .toast {
        bottom: 18px;

        width:
            calc(100% - 34px);

        padding:
            12px
            15px;
    }

}