:root {
    /* Palette */
    --mulberry: #390000;
    --claret: #610d08;
    --rose: #893941;
    --pink: #cb7885;
    --brown: #423b1b;
    --olive: #8c8a45;
    --sage: #aeb081;
    --cream: #fffdf6;

    --text: #2a2a2a;
    --shadow: 0 22px 60px rgba(0, 0, 0, .14);
    --container: 1280px;

    --display-min: 25px;
    --display-fluid: 5vw;
    --display-max: 80px;
    --display-size: clamp(var(--display-min), var(--display-fluid), var(--display-max));
    --display-font: "Boska", serif;
}

/* Base */
* {
    box-sizing: border-box;
}

/* ========================= */
/* Page Loader Overlay       */
/* ========================= */

#loader {
    position: fixed;
    inset: 0;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--brown);
    border-top-color: var(--claret);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

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

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}


html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    color: var(--text);
    background-color: var(--olive);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: color-mix(in srgb, var(--olive) 90%, white);
    border-bottom: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    background: color-mix(in srgb, var(--cream) 30%, transparent);
    backdrop-filter: blur(12px) saturate(1.08);
    -webkit-backdrop-filter: blur(12px) saturate(1.08);
}

.site-header .nav-inner,
.site-header .nav {
    background: transparent !important;
}

.site-header:not(.scrolled) .nav-links a {
    color: var(--cream);
}

.site-header.scrolled .nav-links a {
    color: var(--rose);
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding-top: 15px;
}

.nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: 76px;
    padding: 12px 20px;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(12px, 2.6vw, 28px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-family: var(--display-font);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 20px;
    text-decoration: none;
    color: var(--cream);
    padding: 9px 10px;
    border-radius: 999px;
    transition: color .2s ease, transform .15s ease;
    will-change: color, transform;
}

.nav-links a:hover {
    color: var(--olive);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
}


html {
    scroll-behavior: smooth;
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 100px;
    height: 100px;
    overflow: hidden;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand-text,
.btn,

.btn {
    display: inline-block;
    border-radius: 999px;
    padding: 10px 18px;
    border: 2px solid var(--claret);
    background: var(--claret);
    color: #fff;
    font-weight: 700;
    letter-spacing: .5px;
    text-decoration: none;
    transition: transform .15s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    background: #4e0a06;
}

.hero {
    background-image: url("./assets/img/hero2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
    min-height: 100lvh;
    display: grid;
    place-items: start-center;
    padding: 0;
    margin: 0;
}

.hero-inner {
    position: absolute;
    top: -5vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hero-names {
    height: auto;
    display: block;
    margin: 0 auto 10px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
    max-width: 90vw;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInNames 1.4s ease-out forwards;
    animation-delay: 0.3s;
}

.hero-names-desktop {
    display: block;
}

.hero-names-mobile {
    display: none;
}

@keyframes fadeInNames {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Pinyon Script', cursive;
    font-size: clamp(48px, 10vw, 120px);
    line-height: 0.55;
    color: var(--cream);
    margin: 0;
}

.hero-subline {
    margin: 10px 0 0 0;
    font-family: var(--display-font);
    letter-spacing: 1px;
    color: var(--rose);
    font-size: clamp(16px, 2.8vw, 26px);
}

.names-wrap {
    text-align: center;
    margin-top: 0;
    transform: translateY(clamp(-50px, -6vw, -26px));
}

.names {
    font-family: 'Pinyon Script', cursive;
    font-size: var(--display-size);
    font-weight: 400;
    color: var(--claret);
    margin: 0;
}

.subline {
    margin: 6px 0 0 0;
    font-family: 'Poiret One', sans-serif;
    letter-spacing: 2px;
    color: var(--rose);
}

.spacer {
    height: 40px;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ===== SAVE THE DATE PAGE ===== */
.details-page {
    position: relative;
    min-height: 100svh;
    padding: clamp(28px, 6vw, 80px) 0;
    background-color: color-mix(in srgb, var(--olive) 90%, white);
    z-index: 1;
}

.details-page::before {
    pointer-events: none;
}

.details {
    max-width: min(1200px, 92vw);
    margin: clamp(20px, 4vw, 60px) auto 0;
    margin-top: clamp(8px, 2vw, 24px);
    padding: 0;
    text-align: center;
    color: var(--text);
    z-index: 1;
}

.details-inner {
    pointer-events: none;
    position: absolute;
    top: 5vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.wedding-info {
    position: relative;
    text-align: center;
    margin: clamp(60px, 12vw, 180px) auto clamp(28px, 5vw, 60px);
    color: var(--cream);
}

.wedding-date {
    font-family: var(--display-font);
    font-size: clamp(30px, 6vw, 70px);
    font-weight: 500;
    margin: 0;
}

.wedding-location {
    font-family: var(--display-font);
    letter-spacing: 3px;
    font-size: clamp(14px, 2vw, 20px);
    font-weight: 500;
    text-transform: uppercase;
    color: var(--cream);
    margin-top: 6px;
}


.venue-btn {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 22px;
    border-radius: 6px;
    color: var(--cream);
    font-family: var(--display-font);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 16px;
    border: 2px solid var(--rose);
    transition: transform 5s ease, color .5s ease;
    z-index: 3;
}

.venue-btn:hover {
    border-color: var(--cream);
    transform: translateY(-1px);
}


.countdown {
    --gap: clamp(10px, 2vw, 22px);
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: var(--gap);
    margin-top: clamp(70px, 20vw, 120px);
}

.count-box {
    min-width: clamp(90px, 18vw, 150px);
    padding: clamp(10px, 2.2vw, 16px);
    border: 2px solid var(--cream);
    border-radius: 16px;
    background: color-mix(in srgb, var(--olive) 60%, white);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
    text-align: center;
}

.count-box .num {
    display: block;
    font-family: var(--display-font);
    font-size: clamp(28px, 6vw, 54px);
    line-height: 1;
    color: var(--claret);
}

.count-box .lbl {
    display: block;
    margin-top: 6px;
    font-family: var(--display-font);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: clamp(10px, 1.6vw, 13px);
    color: var(--rose);
}

.save-date-desktop {
    display: block;
}

.save-date-mobile {
    display: none;
}


.before-i-do {
    text-align: center;
    font-family: "Boska", serif;
    font-size: clamp(50px, 5vw, 50px);
    font-weight: 400;
    color: var(--cream);
    letter-spacing: 3px;
    margin-top: clamp(20px, 4vw, 40px);
}

.overlap-art {
    position: absolute;
    left: 50%;
    bottom: -400px;
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: none;
}

.overlap-art img {
    display: block;
    width: clamp(900px, 100vw, 1500px);
    height: auto;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .12));
}

/* ===== WELCOME PAGE ===== */
#welcome {
    position: relative;
    min-height: 100svh;
    padding-left: clamp(90px, 10vw, 200px);
    padding-right: clamp(90px, 10vw, 200px);
    background-image: url("./assets/img/finer-bckgd.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    overflow-x: clip;

}

.welcome {
    position: relative;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.border {
    position: absolute;
    width: clamp(1500px, 10vw, 500px);
    height: auto;
    z-index: 3;
    pointer-events: none;
}

.border-tl {
    left: -500px;
    transform: scaleX(-1);
}

.border-br {
    right: -500px;
    transform: none;
}

/* ===== Welcome Dinner Section ===== */
#welcome-dinner {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 80px);
    background: var(--cream);
    border-top: 3px solid var(--sage);
    color: var(--sage);
    overflow: hidden;
}

.welcome-dinner-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "photo title"
        "photo content";
    align-items: start;
    justify-content: center;
    gap: clamp(40px, 6vw, 100px);
    max-width: 1400px;
    width: 100%;
}

.welcome-dinner-image {
    grid-area: photo;
    margin: 0;
}

.welcome-dinner-image img {
    width: 100%;
    max-width: 450px;
    height: 700px;
    border: 5px solid var(--olive);
    padding: 3px;
    outline: 2px solid var(--olive);
    outline-offset: -16px;
    border-radius: 0;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

.welcome-dinner-title {
    grid-area: title;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-left: -120px;
}

.welcome-dinner-title img {
    display: block;
    width: clamp(700px, 44vw, 1400px);
}

.welcome-dinner-content {
    grid-area: content;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: -20vh;
    margin-left: -70px;

}

.welcome-dinner-date,
.welcome-dinner-location {
    font-family: var(--display-font);
    font-size: clamp(25px, 1.8vw, 28px);
    color: var(--olive);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.welcome-dinner-desc {
    font-family: var(--display-font);
    font-size: clamp(23px, 1.4vw, 22px);
    line-height: 1.6;
    max-width: 520px;
    margin-top: 8px;
    color: var(--olive);
}

.flower-corner {
    position: absolute;
    width: clamp(880px, 20vw, 320px);
    height: auto;
    opacity: 0.9;
    pointer-events: none;
    z-index: 2;
}

.flower-corner-br {
    bottom: -70px;
    right: -130px;
    transform: rotate(0deg);
}

.flower-corner-tr {
    top: 70px;
    right: -290px;
    transform: rotate(-90deg);
}

/* ===== Timeline Section ===== */
#timeline {
    position: relative;
    min-height: 100svh;
    padding-top: clamp(140px, 20vw, 240px);
    background-image: url("./assets/img/villa-background.png");
    background-repeat: no-repeat;
    background-size: clamp(1500px, 62vw, 1100px) auto;
    background-position: top 25% center;
    background-color: var(--cream);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
}

.timeline-wrapper {
    position: relative;
    width: 70%;
    margin: 0 auto;
    padding: 0 20px;
    margin-top: -250px;
}

.timeline-heading {
    display: block;
    margin: 0 auto;
    width: clamp(700px, 80vw, 1300px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transform: translateX(0);
    margin-bottom: clamp(60px, 10vw, 100px);
}

.itinerary {
    max-width: 800px;
    margin: -5vh auto 0;
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 5vw, 44px);
    text-align: center;
}

.itinerary-item {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--rose);
}

.itinerary-item:last-child {
    border-bottom: none;
    margin-bottom: 100px;
}

.itinerary-item h3 {
    font-family: var(--display-font);
    font-weight: 500;
    font-size: clamp(30px, 2.2vw, 28px);
    letter-spacing: 1px;
    margin: -5px 0 10px 0;
    color: var(--mulberry);
}

.itinerary-item .time {
    color: var(--claret);
}

.itinerary-item .event {
    color: var(--claret);
    font-style: italic;
    text-transform: uppercase;
    font-weight: 400;
}

.itinerary-item p {
    font-family: var(--display-font);
    font-size: clamp(23px, 1.6vw, 20px);
    font-weight: 400;
    line-height: 1.6;
    color: var(--mulberry);
    margin: 0;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Where to Stay ===== */
#accomodation {
    position: relative;
    background: var(--rose);
    padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 60px);
}

.stay-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    margin-top: -10vh;
}

.stay-title {
    display: block;
    margin: 0 auto clamp(40px, 6vw, 7px);
    width: clamp(420px, 60vw, 800px);
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .18));
}

.stay-subtitle {
    margin: clamp(8px, 2vw, 16px) auto clamp(24px, 4vw, 40px);
    max-width: 60ch;
    font-family: var(--display-font);
    font-size: clamp(25px, 1.6vw, 50px);
    color: var(--cream);
    opacity: 0.95;
}

.stay-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3.5vw, 40px);
    align-items: stretch;
}

.stay-card {
    height: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.stay-figure {
    margin: 0;
    border: 4px solid var(--cream);
    padding: 4px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.stay-figure img {
    display: block;
    width: 100%;
    height: clamp(220px, 22vw, 320px);
    object-fit: cover;
    transform: scale(1.001);
    transition: transform .4s ease;
}

.stay-card:hover .stay-figure img {
    transform: scale(1.04);
}

.stay-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
}

.stay-name {
    font-family: var(--display-font);
    font-weight: 500;
    font-size: clamp(18px, 2vw, 24px);
    letter-spacing: 1px;
    margin: 0;
    color: var(--cream);
    text-transform: uppercase;
}

.stay-desc {
    font-family: var(--display-font);
    font-size: clamp(20px, 1.4vw, 23px);
    line-height: 1.6;
    margin: 0;
    max-width: 32ch;
    color: var(--cream);
    opacity: 0.95;
}

.stay-link {
    display: inline-block;
    margin-top: auto;
    font-family: var(--display-font);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 16px;
    border: 2px solid var(--cream);
    border-radius: 999px;
    color: var(--cream);
    transition: transform .15s ease, background .2s ease, color .2s ease;
}

.stay-link:hover {
    transform: translateY(-1px);
    background: var(--cream);
    color: var(--rose);
}

/* ===== OUR LOVE STORY ===== */
#our-story {
    position: relative;
    background: var(--cream);
    padding: clamp(80px, 10vw, 160px) clamp(20px, 5vw, 60px);
    color: var(--text);
    text-align: center;
    overflow: hidden;
}

.flower-corner-blush {
    position: absolute;
    width: clamp(1000px, 20vw, 320px);
    height: auto;
    opacity: 0.9;
    pointer-events: none;
    z-index: 1;
}

.flower-corner-blush-bl {
    bottom: -100px;
    left: -100px;
    transform: rotate(0deg) scaleY(-1);
}

.story-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.story-title {
    display: block;
    margin: 0 auto clamp(60px, 8vw, 100px);
    width: clamp(400px, 60vw, 900px);
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .15));
    margin-top: -10vh;
}

.story-photos {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto clamp(80px, 8vw, 120px);
    height: 650px;
}

.story-photo {
    position: absolute;
    outline: 2px solid var(--cream);
    outline-offset: -10px;
    padding: 3px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

.story-photo:nth-child(2) {
    top: -10%;
    left: 35%;
    width: 400px;
    height: 400px;
    /* transform: rotate(-8deg); */
}

.story-photo:nth-child(1) {
    top: 10%;
    left: -10%;
    width: 480px;
    height: 380px;
    /* transform: rotate(6deg); */
}

.story-photo:nth-child(3) {
    top: 20%;
    left: 65%;
    width: 400px;
    height: 500px;
    /* transform: rotate(-4deg); */
}

.story-photo:nth-child(4) {
    top: 50%;
    left: 10%;
    width: 370px;
    height: 370px;
    /* transform: rotate(10deg); */
}

.story-photo:nth-child(5) {
    top: 58%;
    left: 40%;
    width: 280px;
    height: 280px;
    /* transform: rotate(-6deg); */
}

.story-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.story-text {
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--display-font);
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.7;
    color: var(--text);
    opacity: 0.9;
}

.story-text p {
    margin-bottom: clamp(16px, 3vw, 28px);
}


/* ===== GALLERY ===== */
#gallery {
    position: relative;
    background: var(--cream);
    padding: clamp(60px, 8vw, 140px) clamp(20px, 5vw, 60px);
    color: var(--text);
}

.gallery-inner {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: -50px;
}

.gallery-title {
    display: block;
    margin: 0 auto clamp(32px, 6vw, 64px);
    margin-bottom: -50px;
    width: clamp(120px, 52vw, 500px);
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .12));
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(10px, 2vw, 15px);
}

.gallery-item {
    background: var(--cream);
    padding: 0px;
    outline: 2px solid #fff;
    outline-offset: -6px;
    transition: transform .25s ease;
}

.gallery-item:hover {
    transform: scale(2);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .16);
    border: none;
    outline: none;
    z-index: 2;
}

.gallery-item img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.gallery-toggle {
    display: none;
}

/* ===== FAQ SECTION (Questions & Details) ===== */
#faq {
    position: relative;
    background: var(--olive);
    padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 60px);
    color: var(--cream);
    text-align: center;
    overflow: hidden;
    z-index: 1;
    overflow-x: clip;

}

.faq-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.faq-title {
    font-family: var(--display-font);
    font-size: clamp(32px, 4vw, 44px);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0 0 clamp(32px, 4vw, 48px);
    margin-top: -10vh;
    color: var(--cream);
}

.faq-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(18px, 3vw, 28px);
}

.faq-item {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.faq-question {
    font-family: var(--display-font);
    font-size: clamp(20px, 2.2vw, 22px);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 6px;
    color: var(--cream);
}

.faq-answer {
    font-family: var(--display-font);
    font-size: clamp(20px, 1.6vw, 25px);
    line-height: 1.7;
    margin: 0;
    color: #fdfaf3;
    opacity: 0.96;
}

.faq-border {
    position: absolute;
    width: clamp(1600px, 10vw, 500px);
    height: auto;
    z-index: 3;
    opacity: 0.9;
    pointer-events: none;
}

.faq-border-tl {
    left: -850px;
    top: 75px;
    transform: scaleX(-1);
}

.faq-border-br {
    right: -850px;
    top: 75px;

    transform: none;
}


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

#rsvp {
    background: var(--cream);
    padding: clamp(80px, 10vw, 140px) 0;
    overflow-x: clip;
}

.rsvp-frame {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}

.rsvp-corner {
    position: absolute;
    width: clamp(1200px, 22vw, 700px);
    height: auto;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.rsvp-corner-tl {
    top: -250px;
    left: -250px;
    transform: scale(-1, -1);
}

.rsvp-corner-tr {
    top: -250px;
    right: -250px;
    transform: scaleY(-1);
}

.rsvp-corner-bl {
    bottom: -250px;
    left: -250px;
    transform: scaleX(-1);
}

.rsvp-corner-br {
    bottom: -250px;
    right: -250px;
}

.rsvp-panel {
    position: relative;
    /* background-image: url("./assets/img/garden-bckgd.png"); */
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding: clamp(40px, 6vw, 70px);
}

.rsvp-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 253, 246, 0.599);
    z-index: 0;
}

.rsvp-title-image,
.rsvp-content {
    position: relative;
    z-index: 1;
}

.rsvp-title-image {
    display: block;
    margin: 0 auto clamp(20px, 3vw, 28px);
    width: clamp(420px, 55vw, 700px);
    height: auto;
}

.rsvp-content {
    text-align: center;
}

.rsvp-title-mobile {
    display: none;
}

.rsvp-title,
.gift-title {
    font-family: var(--display-font);
    font-size: clamp(28px, 3vw, 34px);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 8px 0;
    color: var(--brown);
}

.rsvp-deadline,
.gift-text {
    margin: 0 0 18px 0;
    font-family: var(--display-font);
    font-size: clamp(25px, 1.5vw, 25px);
    color: var(--brown);
}

.rsvp-links {
    margin: clamp(16px, 2vw, 24px) 0 clamp(26px, 3vw, 34px);
}

.rsvp-btn {
    display: inline-block;
    padding: 10px 22px;
    border: 2px solid var(--olive);
    background: var(--cream);
    color: var(--brown);
    font-family: var(--display-font);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 18px;
    transition: transform 0.2s ease;
}

.rsvp-btn:hover {
    transform: scale(1.05);
}

.gift-corner {
    margin-top: clamp(24px, 3vw, 34px);
}

