@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;1,400;1,500&family=Quicksand:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Allura&display=swap');

/* Lock scrolling during the introduction */
html.intro-locked,
html.intro-locked body {
    overflow: hidden;
    overscroll-behavior: none;
}

html.intro-locked .intro {
    height: 100svh;
    overflow: hidden;
    touch-action: pan-x;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: #4c3d39;
    background: #fff;
    font-family: 'Quicksand', sans-serif
}

.intro {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 16px 32px;
    overflow: hidden;
    isolation: isolate;
    background: radial-gradient(ellipse 30% 26% at 1% 88%, #fbe5e1 0%, transparent 100%), radial-gradient(ellipse 31% 26% at 98% 15%, #fce9e5 0%, transparent 100%), radial-gradient(ellipse 42% 22% at 50% 83%, #fff1ee 0%, transparent 100%), #fff
}

.intro:before,
.intro:after {
    content: '';
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(35px);
    background: #f7d5d0;
    opacity: .25
}

.intro:before {
    width: 25vw;
    height: 30vw;
    left: -10vw;
    bottom: -15vw
}

.intro:after {
    width: 20vw;
    height: 25vw;
    right: -10vw;
    top: -10vw
}


/* Hide intro controls after completion */

#intro-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;

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

#intro-controls.intro-controls-hidden {
    opacity: 0;
    transform: translateY(15px);
    pointer-events: none;
    visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
    #intro-controls {
        transition: none;
    }
}

#intro-controls button {
    align-self: center;
}

.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #df9c9c;
    margin-bottom: 5px
}

.ornament span {
    display: block;
    width: 80px;
    height: 1.5px;
    background: #e7a5a4;
    border-radius: 100%;
    transform: rotate(5deg)
}

.ornament span:last-child {
    transform: rotate(-5deg)
}

.ornament svg {
    width: 37px;
    height: 32px;
    fill: none;
    stroke: #e9a1a1;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round
}

.heading {
    font-family: 'Playfair Display', Quicksand, serif;
    font-size: clamp(35px, 5.4vw, 70px);
    font-weight: 400;
    font-style: italic;
    text-align: center;
    line-height: 1.3;
    margin: 0 0 12px;
    letter-spacing: -.025em
}

.sub {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: center;
    color: #755f59;
    font-family: Quicksand, serif;
    letter-spacing: .06em;
    font-size: clamp(13px, 1.65vw, 22px);
    margin: 0 0 8px
}

.leaf {
    color: #e5a3a2;
    font-size: 28px;
    font-family: Quicksand, serif
}

.art {
    width: min(100%, 1450px);
    position: relative;
    margin: 0 auto
}

.art img {
    display: block;
    width: 100%;
    user-select: none;
    pointer-events: none
}

.art svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none
}

#thread {
    fill: none;
    stroke: #ed1e29;
    stroke-width: 9;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1
}

.control {
    width: min(275px, 78vw);
    margin: -9px auto 0;
    position: relative;
    z-index: 2
}

.track {
    height: 45px;
    border: 5px solid #fae3e2;
    border-radius: 50px;
    background: #fffafa;
    position: relative;
    touch-action: none;
    user-select: none;
    box-shadow: 0 0 20px #f7d6d58a, inset 0 0 2px #efbdbd
}

.fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: #f9dada;
    border-radius: 40px
}

.knob {
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 53px;
    height: 53px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #f9dfdc;
    box-shadow: 0 0 0 7px #f9dfdc55, 0 2px 14px #e8adac88;
    display: grid;
    place-items: center;
    color: #ed3b4a;
    font-size: 25px;
    cursor: grab;
    touch-action: none
}

.knob:active {
    cursor: grabbing
}

.chevrons {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-family: Arial, sans-serif;
    font-size: 27px;
    font-weight: bold;
    color: #eaa0a0;
    pointer-events: none;
    letter-spacing: -8px;
    padding-right: 7px
}

.hint {
    text-align: center;
    font-size: 12px;
    color: #9d817b;
    margin: 18px 0 2px
}

.skip {
    margin-top: 12px;
    background: none;
    border: 0;
    text-decoration: underline;
    text-underline-offset: 5px;
    color: #7d6660;
    font: 16px Quicksand, serif;
    cursor: pointer;
    padding: 9px 15px
}

.skip:hover {
    color: #c75e6c
}

.next {
    min-height: 100svh;
    background: linear-gradient(160deg, #fff9f7, #f9eae6);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px
}

.next h2 {
    font: italic clamp(42px, 7vw, 85px) 'Playfair Display', Quicksand, serif;
    margin: 10px
}

.next p {
    font: 15px 'Quicksand', sans-serif;
    color: #8a6d67
}

@media(min-width:1000px) and (max-height:800px) {
    .art {
        max-width: 1100px
    }

    .heading {
        font-size: clamp(35px, 4.5vw, 58px)
    }

    .intro {
        padding: 12px 16px
    }

    .control {
        margin: -20px auto 0
    }
}

@media(max-width:650px) {
    .intro {
        padding: 24px 8px 38px;
        justify-content: center
    }

    .ornament {
        gap: 11px
    }

    .ornament span {
        width: 45px
    }

    .heading {
        font-size: clamp(34px, 9vw, 49px);
        margin-bottom: 10px
    }

    .sub {
        gap: 8px;
        letter-spacing: 0;
        font-size: 13px;
        max-width: 95vw
    }

    .leaf {
        font-size: 17px
    }

    .art {
        width: 155%;
        max-width: none;
        flex-shrink: 0;
        margin: 12px 0 16px
    }

    .control {
        margin: 2px auto 0
    }

    .hint {
        margin-top: 17px
    }

    .skip {
        margin-top: 14px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }
}

/* Welcome section image: replace getting_married.png when ready. */
.welcome-image {
    display: block;
    width: min(100%, 620px);
    height: auto;
    margin: 24px auto 0;
    object-fit: contain
}


/* =====================================
   WEDDING INFORMATION
===================================== */

.wedding-info {
    padding: 100px 24px;
    background: linear-gradient(180deg,
            #fbf5f1 0%,
            #fff9f8 50%,
            #fbf1f0 100%);
    text-align: center;
}

.wedding-info-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Section heading */

.section-heading {
    margin-bottom: 55px;
}

.section-decoration {
    display: block;
    font-size: 34px;
    color: #d98e98;
    margin-bottom: 12px;
}

.section-heading>p:first-of-type {
    font-family: Quicksand, serif;
    font-size: 12px;
    letter-spacing: 3px;
    color: #b58b8e;
}

.section-heading h2 {
    font-family: Quicksand, serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: normal;
    font-style: italic;
    color: #67474b;
    margin: 16px 0;
}

.section-subtitle {
    font-size: 15px;
    line-height: 1.8;
    color: #8a7779;
    max-width: 450px;
    margin: 0 auto;
}

/* Wedding cards */

.wedding-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.wedding-card {
    padding: 48px 32px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #efd9d9;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(150, 90, 100, 0.07);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.wedding-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(150, 90, 100, 0.12);
}

.card-label {
    font-size: 11px;
    letter-spacing: 3px;
    color: #b58b8e;
}

.wedding-card h3 {
    font-family: Quicksand, serif;
    font-size: 42px;
    font-weight: normal;
    font-style: italic;
    color: #764d55;
    margin: 15px 0;
}

.card-divider {
    color: #d98e98;
    font-size: 24px;
    margin: 12px 0 22px;
}

/* Date */

.wedding-date {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.date-day {
    font-family: Quicksand, serif;
    font-size: 76px;
    line-height: 1;
    color: #ad6874;
}

.date-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    color: #95777c;
    font-size: 13px;
    letter-spacing: 2px;
}

/* =====================================
   WEDDING SCHEDULE
===================================== */

.wedding-schedule {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 25px 0;
    padding: 22px 12px;

    background: rgba(255, 255, 255, 0.45);
    border-top: 1px solid #efd8db;
    border-bottom: 1px solid #efd8db;
}

.schedule-item {
    text-align: center;
}

.schedule-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    font-family: Quicksand, serif;
    font-size: 15px;
    color: #9b717a;
    margin-bottom: 10px;
}

.schedule-icon {
    font-size: 21px;
    color: #c7838f;
    line-height: 1;
}

.schedule-time {
    font-family: Quicksand, serif;
    font-size: 29px;
    font-weight: normal;
    color: #67474b;
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 400px) {
    .wedding-schedule {
        gap: 8px;
        padding: 18px 5px;
    }

    .schedule-label {
        font-size: 13px;
        gap: 5px;
    }

    .schedule-time {
        font-size: 25px;
    }
}

/* Venue */

.venue-name {
    font-family: Quicksand, serif;
    font-size: 21px;
    color: #67474b;
    margin-bottom: 12px;
}

.venue-address {
    color: #8a7779;
    font-size: 14px;
    line-height: 1.7;
    min-height: 48px;
    margin-bottom: 28px;
}

/* Google Maps button */

.map-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 28px;
    border: 1px solid #dba6ad;
    border-radius: 30px;
    color: #a96673;
    background: #fff8f8;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.25s ease;
}

.map-button:hover {
    background: #bd7b87;
    border-color: #bd7b87;
    color: white;
}

/* Mobile */

@media (max-width: 700px) {
    .wedding-info {
        padding: 75px 18px;
    }

    .wedding-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .wedding-card {
        padding: 38px 24px;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .wedding-card h3 {
        font-size: 38px;
    }

    .date-day {
        font-size: 68px;
    }

    .venue-address {
        min-height: auto;
    }
}

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

    .wedding-card,
    .map-button {
        transition: none;
    }
}



/* =========================================
   RSVP — ROMANTIC INVITATION DESIGN
========================================= */

.rsvp-section {
    position: relative;
    padding: 110px 24px;
    background:
        radial-gradient(ellipse at 5% 10%,
            rgba(238, 177, 182, 0.22),
            transparent 45%),
        radial-gradient(ellipse at 95% 90%,
            rgba(244, 195, 198, 0.25),
            transparent 45%),
        #fff9f7;
    text-align: center;
    overflow: hidden;
}

.rsvp-invitation {
    position: relative;
    max-width: 620px;
    margin: 0 auto;
    padding: 35px 20px 55px;
    color: #67474b;
}

/* Decorative heart */

.rsvp-ornament {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.ornament-line {
    width: 55px;
    height: 1px;
    background: #dba0a6;
}

.ornament-heart {
    font-family: Quicksand, serif;
    font-size: 35px;
    color: #d78d98;
    line-height: 1;
}

.rsvp-small-title {
    display: block;
    font-family: Quicksand, serif;
    font-size: 14px;
    letter-spacing: 5px;
    color: #a87880;
    margin-bottom: 22px;
}

.rsvp-invitation h2 {
    font-family: Quicksand, serif;
    font-size: clamp(38px, 6vw, 58px);
    font-style: italic;
    font-weight: normal;
    color: #67474b;
    margin: 0 0 30px;
}

.rsvp-invitation-text {
    max-width: 470px;
    margin: 0 auto 38px;
    font-family: Quicksand, serif;
    font-size: clamp(16px, 2.5vw, 19px);
    line-height: 1.9;
    color: #795b60;
}

.rsvp-open-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 15px 38px;
    border: 1.5px solid #d98e98;
    border-radius: 50px;
    background: rgba(255, 239, 239, 0.75);
    color: #965d68;
    font-family: Quicksand, serif;
    font-size: 19px;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(189, 123, 135, 0.12);
    transition: all 0.25s ease;
}

.rsvp-open-button span {
    font-size: 28px;
    line-height: 1;
    color: #cf7d8a;
}

.rsvp-open-button:hover {
    background: #f7dddd;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(189, 123, 135, 0.18);
}

.rsvp-floral-decoration {
    position: absolute;
    bottom: -30px;
    right: 10px;
    font-size: 65px;
    color: rgba(210, 125, 140, 0.22);
    pointer-events: none;
}

/* =========================================
   MODAL OVERLAY
========================================= */

.rsvp-overlay,
.rsvp-success-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(66, 43, 49, 0.48);
    backdrop-filter: blur(5px);
}

.rsvp-overlay[hidden],
.rsvp-success-overlay[hidden] {
    display: none;
}

.rsvp-modal {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 92vh;
    max-height: 92dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff9f7;
    border: 1px solid #f0dbdc;
    border-radius: 30px;
    box-shadow: 0 25px 80px rgba(65, 40, 45, 0.25);
}

/* Modal header */

.rsvp-modal-header {
    position: relative;
    padding: 30px 40px 16px;
    text-align: center;
    flex-shrink: 0;
}

.rsvp-modal-heading .rsvp-ornament {
    margin-bottom: 12px;
}

.rsvp-modal-heading h2 {
    font-family: Quicksand, serif;
    font-size: clamp(29px, 4vw, 38px);
    font-weight: normal;
    font-style: italic;
    color: #67474b;
    margin: 0 0 18px;
}

.rsvp-modal-description {
    max-width: 390px;
    margin: 0 auto;
    font-family: Quicksand, serif;
    font-size: 15px;
    line-height: 1.7;
    color: #8b7075;
}

.rsvp-close-button {
    position: absolute;
    right: 16px;
    top: 14px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #87666d;
    font-size: 29px;
    cursor: pointer;
}

.rsvp-close-button:hover {
    background: #f5e5e5;
}

/* Modal body */

.rsvp-modal-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 20px 36px 38px;
}

/* =========================================
   FORM FIELDS
========================================= */

.rsvp-form {
    width: 100%;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label,
.attendance-group legend {
    display: block;
    margin-bottom: 11px;
    font-family: Quicksand, serif;
    font-size: 16px;
    color: #67474b;
}

.required {
    color: #c66b79;
}

.optional {
    font-size: 12px;
    color: #ae979b;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dfc6c8;
    border-radius: 14px;
    background: #fffdfc;
    color: #67474b;
    font-family: Quicksand, serif;
    font-size: 15px;
    outline: none;
    transition: all 0.2s ease;
}

.form-group textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #c78b96;
    box-shadow: 0 0 0 3px rgba(199, 139, 150, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b9a6a9;
}

/* =========================================
   ATTENDANCE CHOICES
========================================= */

.attendance-group {
    border: none;
    padding: 0;
    margin: 0 0 27px;
    min-width: 0;
}

.attendance-group legend {
    padding: 0;
    margin-bottom: 13px;
}

.attendance-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.attendance-option {
    position: relative;
    cursor: pointer;
}

.attendance-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.attendance-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 11px 9px;
    border: 1px solid #dfc6c8;
    border-radius: 28px;
    background: #fffdfc;
    color: #8d6c73;
    font-family: Quicksand, serif;
    font-size: 14px;
    text-align: center;
    transition: all 0.2s ease;
}

.attendance-option input:checked+span {
    background: linear-gradient(135deg, #dca0a8, #c7828d);
    color: white;
    border-color: #c7828d;
    box-shadow: 0 5px 14px rgba(189, 123, 135, 0.18);
}

.attendance-option input:focus-visible+span {
    outline: 3px solid #a96673;
    outline-offset: 3px;
}

@media (hover: hover) {
    .attendance-option:hover span {
        border-color: #c7828d;
    }
}

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

.rsvp-actions {
    margin-top: 30px;
    text-align: center;
}

.rsvp-confirm-button {
    padding: 15px 42px;
    border: none;
    border-radius: 40px;
    background: linear-gradient(135deg, #dca0a8, #c7828d);
    color: white;
    font-family: Quicksand, serif;
    font-size: 17px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(189, 123, 135, 0.18);
    transition: all 0.2s ease;
}

.rsvp-confirm-button:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(189, 123, 135, 0.25);
}

.rsvp-confirm-button:disabled {
    background: #e9d9dc;
    color: #ae9da0;
    cursor: not-allowed;
    box-shadow: none;
}

.rsvp-feedback {
    min-height: 20px;
    margin: 15px 0 0;
    color: #b33e4f;
    font-size: 14px;
}

/* =========================================
   SUCCESS MODAL
========================================= */

.rsvp-success-card {
    width: 100%;
    max-width: 430px;
    padding: 45px 35px;
    border-radius: 30px;
    background: #fff9f7;
    border: 1px solid #f0dbdc;
    text-align: center;
    box-shadow: 0 25px 80px rgba(65, 40, 45, 0.2);
}

.success-envelope {
    position: relative;
    display: grid;
    place-items: center;
    width: 100px;
    height: 72px;
    margin: 0 auto 25px;
    background: #f2d3d5;
    border: 2px solid #d69aa3;
    border-radius: 8px;
}

.success-envelope::before {
    content: "";
    position: absolute;
    top: -31px;
    left: 0;
    width: 0;
    height: 0;
    border-left: 48px solid transparent;
    border-right: 48px solid transparent;
    border-bottom: 32px solid #e8b9be;
}

.success-envelope span {
    position: relative;
    z-index: 1;
    font-size: 34px;
    color: #c47783;
}

.rsvp-success-card h2 {
    font-family: Quicksand, serif;
    font-size: 40px;
    font-weight: normal;
    font-style: italic;
    color: #67474b;
    margin: 0 0 20px;
}

.rsvp-success-card p {
    font-family: Quicksand, serif;
    font-size: 16px;
    line-height: 1.9;
    color: #8b7075;
}

.rsvp-success-button {
    margin-top: 25px;
    padding: 15px 30px;
    border: none;
    border-radius: 35px;
    background: linear-gradient(135deg, #dca0a8, #c7828d);
    color: white;
    font-family: Quicksand, serif;
    font-size: 16px;
    cursor: pointer;
}

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

@media (max-width: 600px) {
    .rsvp-section {
        padding: 75px 16px;
    }

    .rsvp-invitation {
        padding: 30px 10px 45px;
    }

    .rsvp-invitation h2 {
        font-size: 38px;
    }

    .rsvp-overlay {
        padding: 12px;
    }

    .rsvp-modal {
        max-height: 94dvh;
        border-radius: 22px;
    }

    .rsvp-modal-header {
        padding: 28px 24px 10px;
    }

    .rsvp-modal-body {
        padding: 18px 20px 30px;
    }

    .attendance-options {
        gap: 9px;
    }

    .attendance-option span {
        font-size: 13px;
        min-height: 55px;
        padding: 10px 6px;
    }

    .rsvp-confirm-button {
        width: 100%;
    }

    .rsvp-success-card {
        padding: 40px 24px;
    }
}

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

    .rsvp-open-button,
    .rsvp-confirm-button,
    .attendance-option span {
        transition: none;
    }
}


/* =====================================
   THANK YOU SECTION
===================================== */

@import url('https://fonts.googleapis.com/css2?family=Allura&display=swap');

.thank-you-section {
    position: relative;
    padding: 110px 24px 85px;
    text-align: center;
    overflow: hidden;

    background:
        radial-gradient(ellipse at 10% 20%,
            rgba(238, 177, 182, 0.2),
            transparent 45%),
        radial-gradient(ellipse at 90% 85%,
            rgba(244, 195, 198, 0.25),
            transparent 45%),
        #fff9f7;
}

.thank-you-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* Decorative heart */

.thank-you-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    color: #d78d98;
    font-size: 30px;
    margin-bottom: 25px;
}

.thank-you-ornament span {
    width: 60px;
    height: 1px;
    background: #dba0a6;
}

/* Calligraphy heading */
.thank-you-title {
    font-family: 'Allura', cursive;
    font-size: clamp(95px, 15vw, 160px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 1px;
    color: #bd7b87;
    margin: 0 0 15px;
    padding: 15px 0;
}

/* Message */

.thank-you-message {
    max-width: 570px;
    margin: 0 auto 45px;

    font-family: Quicksand, serif;
    font-size: clamp(16px, 2.5vw, 19px);
    line-height: 2;
    color: #795b60;
}

/* Couple photo */

.thank-you-photo {
    width: min(100%, 620px);
    margin: 0 auto 55px;
    padding: 12px;

    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #efd9d9;
    border-radius: 20px;

    box-shadow: 0 15px 40px rgba(150, 90, 100, 0.1);
}

.thank-you-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
}

/* Closing signature */

.thank-you-ending {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;

    font-family: Quicksand, serif;
    font-size: 14px;
    font-style: italic;
    letter-spacing: 2px;
    color: #a87880;
}

.ending-heart {
    font-size: 28px;
    color: #d78d98;
    font-style: normal;
}

/* Mobile */

@media (max-width: 600px) {
    .thank-you-section {
        padding: 75px 18px 65px;
    }

    .thank-you-title {
        font-size: clamp(75px, 18vw, 105px);
    }

    .thank-you-message {
        font-size: 16px;
        line-height: 1.9;
        margin-bottom: 35px;
    }

    .thank-you-photo {
        padding: 8px;
        margin-bottom: 40px;
    }

    .thank-you-ornament span {
        width: 45px;
    }
}