.inner-main {
    min-height: 70vh;
}

.inner-hero {
    position: relative;
    display: grid;
    min-height: 31rem;
    padding: calc(var(--header-height) + 5rem) 0 5rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 40%, rgba(227, 170, 141, 0.35), transparent 28%),
        linear-gradient(125deg, var(--color-parchment), var(--color-ivory));
    text-align: center;
    place-items: center;
}

.inner-hero::before,
.inner-hero::after {
    position: absolute;
    width: 18rem;
    height: 28rem;
    background: linear-gradient(140deg, rgba(23, 61, 50, 0.16), rgba(113, 128, 107, 0.04));
    border-radius: 100% 0 100% 0;
    content: "";
}

.inner-hero::before { bottom: -13rem; left: -8rem; transform: rotate(30deg); }
.inner-hero::after { top: -15rem; right: -8rem; transform: rotate(210deg); }
.inner-hero .container { position: relative; z-index: 1; max-width: 800px; }
.inner-hero .script-kicker { font-size: clamp(3.2rem, 7vw, 5.5rem); }
.inner-hero h1 { margin: 0.5rem 0 1rem; font-size: clamp(3.3rem, 8vw, 6rem); }
.inner-hero p:last-child { max-width: 620px; margin: auto; }
.inner-hero__sun { position: absolute; top: 40%; left: 50%; width: 22rem; height: 22rem; background: rgba(255, 215, 141, 0.17); border-radius: 50%; filter: blur(8px); transform: translate(-50%, -50%); }
.inner-hero--compact { min-height: 25rem; }
.inner-hero--compact h1 { font-size: clamp(3rem, 7vw, 5rem); }

/* Cheerful RSVP shoreline hero */
.rsvp-page .rsvp-hero {
    isolation: isolate;
    min-height: clamp(39rem, 78svh, 47rem);
    padding: calc(var(--header-height) + 4.5rem) 0 9rem;
    background:
        radial-gradient(circle at 16% 24%, rgba(255, 204, 109, 0.36), transparent 20%),
        radial-gradient(circle at 84% 28%, rgba(244, 154, 124, 0.24), transparent 24%),
        radial-gradient(circle at 52% 55%, rgba(255, 255, 247, 0.88), transparent 40%),
        linear-gradient(135deg, #fff2d7 0%, #fff9eb 47%, #fce5dc 100%);
    border-bottom: 1px solid rgba(54, 141, 130, 0.28);
}

.rsvp-page .rsvp-hero::before,
.rsvp-page .rsvp-hero::after {
    z-index: 0;
    background: transparent;
    border: 1px solid rgba(31, 113, 102, 0.12);
    border-radius: 50%;
    transform: none;
    pointer-events: none;
}

.rsvp-page .rsvp-hero::before {
    bottom: -10rem;
    left: -7rem;
    width: 25rem;
    height: 25rem;
    box-shadow: 0 0 0 2.2rem rgba(88, 181, 168, 0.045), 0 0 0 5rem rgba(88, 181, 168, 0.025);
}

.rsvp-page .rsvp-hero::after {
    top: 7rem;
    right: -7rem;
    width: 19rem;
    height: 19rem;
    box-shadow: 0 0 0 2.5rem rgba(242, 187, 80, 0.05);
}

.rsvp-hero__content {
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 980px !important;
}

.rsvp-hero__deadline {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: fit-content;
    margin: 0 auto 0.45rem;
    padding: 0.35rem 0.8rem 0.35rem 0.42rem;
    color: #22574d;
    background: rgba(255, 253, 244, 0.76);
    border: 1px solid rgba(49, 139, 126, 0.26);
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(63, 105, 90, 0.08);
    font-size: 0.64rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    line-height: 1.25;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.rsvp-hero__deadline img {
    width: 2.15rem;
    height: 2.15rem;
    object-fit: contain;
}

.rsvp-hero__deadline strong {
    color: #b46a1c;
    font-weight: 800;
}

.rsvp-page .rsvp-hero .script-kicker {
    margin: 0;
    color: #d05f43;
    font-size: clamp(3.5rem, 6.2vw, 5.4rem);
    line-height: 1.05;
    text-shadow: 0 3px 0 rgba(255, 255, 255, 0.68);
}

.rsvp-page .rsvp-hero h1 {
    max-width: 900px;
    margin: 0.25rem auto 0.85rem;
    color: #17483e;
    font-size: clamp(3.7rem, 7vw, 6.2rem);
    line-height: 0.92;
    text-wrap: balance;
}

.rsvp-page .rsvp-hero h1 span {
    position: relative;
    display: inline-block;
    color: #167e78;
    font-style: italic;
    white-space: nowrap;
}

.rsvp-page .rsvp-hero h1 span::after {
    position: absolute;
    right: 2%;
    bottom: -0.08em;
    left: 2%;
    height: 0.12em;
    border-bottom: 2px solid rgba(224, 103, 72, 0.76);
    border-radius: 50%;
    content: "";
    transform: rotate(-1deg);
}

.rsvp-hero__intro {
    max-width: 640px !important;
    margin: 0 auto !important;
    color: rgba(24, 68, 59, 0.78);
    font-size: 0.94rem;
    line-height: 1.7;
    text-wrap: balance;
}

.rsvp-hero__moods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 1.25rem;
}

.rsvp-hero__moods span {
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    min-height: 2.35rem;
    padding: 0.3rem 0.7rem 0.3rem 0.38rem;
    color: #255c52;
    background: rgba(255, 252, 242, 0.78);
    border: 1px solid rgba(214, 153, 56, 0.25);
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(76, 111, 94, 0.07);
    font-size: 0.65rem;
    font-weight: 750;
}

.rsvp-hero__moods span:nth-child(2) {
    background: rgba(225, 248, 242, 0.82);
    border-color: rgba(45, 151, 138, 0.25);
}

.rsvp-hero__moods span:nth-child(3) {
    background: rgba(255, 230, 221, 0.82);
    border-color: rgba(221, 112, 83, 0.22);
}

.rsvp-hero__moods img {
    width: 1.75rem;
    height: 1.75rem;
    object-fit: contain;
}

.rsvp-hero__decor,
.rsvp-hero__waves {
    position: absolute;
    z-index: 2;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.rsvp-hero__sticker {
    position: absolute;
    width: clamp(3.5rem, 5vw, 5.5rem);
    height: auto;
    filter: drop-shadow(0 14px 18px rgba(37, 83, 70, 0.14));
    animation: rsvp-sticker-bob 5.5s ease-in-out infinite;
}

.rsvp-hero__sticker--sun {
    top: clamp(7rem, 16%, 9rem);
    right: clamp(2rem, 8vw, 9rem);
    width: clamp(6.2rem, 8vw, 8.5rem);
}

.rsvp-hero__sticker--palm {
    bottom: 2.1rem;
    left: clamp(1rem, 5vw, 5.5rem);
    width: clamp(6.7rem, 9vw, 9.5rem);
    transform: rotate(-8deg);
    animation-delay: -1.7s;
}

.rsvp-hero__sticker--starfish {
    top: 48%;
    left: clamp(1.2rem, 11vw, 11rem);
    transform: rotate(-12deg);
    animation-delay: -3.1s;
}

.rsvp-hero__sticker--boat {
    right: clamp(1rem, 6vw, 6rem);
    bottom: 2.3rem;
    width: clamp(5.5rem, 7vw, 7.5rem);
    transform: rotate(5deg);
    animation-delay: -2.4s;
}

.rsvp-hero__waves {
    z-index: 1;
    top: auto;
    height: 8.5rem;
}

.rsvp-hero__waves span,
.rsvp-hero__waves i {
    position: absolute;
    right: -8%;
    bottom: -4.4rem;
    left: -8%;
    height: 8rem;
    border-radius: 50% 50% 0 0 / 30% 35% 0 0;
}

.rsvp-hero__waves span:first-child {
    bottom: -3.2rem;
    background: rgba(126, 202, 190, 0.58);
    transform: rotate(-1deg);
    animation: rsvp-tide-back 10s ease-in-out infinite alternate;
}

.rsvp-hero__waves span:nth-child(2) {
    background: #3f9489;
    transform: rotate(1deg);
    animation: rsvp-tide-front 8s ease-in-out infinite alternate;
}

.rsvp-hero__waves i {
    bottom: -6.6rem;
    height: 8rem;
    background: #edce96;
    transform: rotate(-0.5deg);
}

@keyframes rsvp-sticker-bob {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -9px; }
}

@keyframes rsvp-tide-back {
    from { translate: -1.4% 0; }
    to { translate: 1.4% 0.25rem; }
}

@keyframes rsvp-tide-front {
    from { translate: 1.2% 0.2rem; }
    to { translate: -1.2% 0; }
}

@media (max-width: 760px) {
    .rsvp-page .rsvp-hero {
        min-height: 40rem;
        padding: calc(var(--header-height) + env(safe-area-inset-top) + 3.5rem) 0 8rem;
    }

    .rsvp-hero__content {
        width: min(calc(100% - 1.5rem), 620px);
    }

    .rsvp-page .rsvp-hero .script-kicker {
        font-size: clamp(3rem, 13vw, 4.2rem);
    }

    .rsvp-page .rsvp-hero h1 {
        font-size: clamp(3rem, 12vw, 4.4rem);
        line-height: 0.98;
    }

    .rsvp-hero__sticker--sun {
        top: 6.3rem;
        right: -1.4rem;
        width: 5.6rem;
        opacity: 0.84;
    }

    .rsvp-hero__sticker--starfish {
        top: 45%;
        left: -0.65rem;
        width: 3.5rem;
    }

    .rsvp-hero__sticker--palm {
        left: -1.5rem;
        width: 6.5rem;
    }

    .rsvp-hero__sticker--boat {
        right: -0.8rem;
        width: 5.5rem;
    }
}

@media (max-width: 430px) {
    .rsvp-page .rsvp-hero {
        min-height: 39rem;
        padding-top: calc(var(--header-height) + env(safe-area-inset-top) + 2.5rem);
    }

    .rsvp-hero__deadline {
        max-width: calc(100% - 1rem);
        padding-right: 0.65rem;
        font-size: 0.56rem;
        letter-spacing: 0.075em;
    }

    .rsvp-page .rsvp-hero .script-kicker {
        font-size: clamp(2.75rem, 14vw, 3.6rem);
    }

    .rsvp-page .rsvp-hero h1 {
        max-width: 22rem;
        font-size: clamp(2.65rem, 13.5vw, 3.55rem);
    }

    .rsvp-hero__intro {
        max-width: 21rem !important;
        font-size: 0.84rem;
    }

    .rsvp-hero__moods {
        gap: 0.4rem;
        margin-top: 1rem;
    }

    .rsvp-hero__moods span {
        min-height: 2.1rem;
        padding-block: 0.22rem;
        padding-right: 0.52rem;
        font-size: 0.56rem;
    }

    .rsvp-hero__moods img {
        width: 1.5rem;
        height: 1.5rem;
    }

    .rsvp-hero__sticker--starfish {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rsvp-hero__sticker,
    .rsvp-hero__waves span {
        animation: none;
    }
}

.rsvp-form-section { background: var(--color-parchment); }
.rsvp-layout { display: grid; grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.4fr); align-items: start; gap: clamp(2rem, 5vw, 4.5rem); }
.rsvp-aside { position: sticky; top: calc(var(--header-height) + 2rem); padding: clamp(2rem, 4vw, 3rem); color: var(--color-ivory); background: linear-gradient(155deg, var(--color-forest), #102e25); border: 1px solid var(--color-gold); border-radius: var(--radius-large); box-shadow: var(--shadow-card); }
.rsvp-aside h2 { margin-bottom: 2rem; color: var(--color-champagne); font-size: clamp(2.6rem, 5vw, 4rem); }
.aside-emblem { margin-bottom: 1rem; color: var(--color-gold); font-size: 3.2rem; line-height: 1; }
.rsvp-aside dl { margin: 0; }
.rsvp-aside dl > div { padding: 1rem 0; border-top: 1px solid rgba(233, 213, 182, 0.2); }
.rsvp-aside dt { color: var(--color-gold); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.rsvp-aside dd { margin: 0.25rem 0 0; font-family: var(--font-heading); font-size: 1.15rem; line-height: 1.45; }
.aside-help { margin-top: 2rem; color: rgba(255, 249, 239, 0.7); font-size: 0.76rem; }
.aside-help a { color: var(--color-champagne); }

.form-card { padding: clamp(1.5rem, 5vw, 4.5rem); background: rgba(255, 249, 239, 0.96); border: 1px solid rgba(183, 131, 47, 0.28); border-radius: var(--radius-large); box-shadow: var(--shadow-soft); }
.form-heading { margin-bottom: 2.5rem; }
.form-heading h2 { margin-bottom: 0.5rem; font-size: clamp(2.4rem, 5vw, 3.7rem); }
.form-heading p:last-child { color: rgba(32, 55, 47, 0.66); font-size: 0.78rem; }
.form-heading p span { color: #994c34; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.field { margin-bottom: 1.4rem; }
.field--full { grid-column: 1 / -1; }
.field label, .attendance-choice legend { display: block; margin-bottom: 0.45rem; color: var(--color-forest-dark); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.04em; }
.field label > span, .attendance-choice legend > span, .consent-field b { color: #994c34; }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 3.2rem; padding: 0.75rem 0.9rem; color: var(--color-charcoal); background: var(--color-white); border: 1px solid rgba(32, 55, 47, 0.25); border-radius: var(--radius-small); transition: border-color var(--transition), box-shadow var(--transition); }
.field textarea { min-height: auto; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--color-gold); box-shadow: 0 0 0 3px rgba(183, 131, 47, 0.14); outline: 0; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #994c34; }
.field small { display: block; margin-top: 0.35rem; color: rgba(32, 55, 47, 0.62); font-size: 0.68rem; line-height: 1.45; }
.field-error { min-height: 1.2rem; margin: 0.28rem 0 0; color: #853d2b; font-size: 0.68rem; line-height: 1.4; }
.attendance-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; margin: 0 0 2rem; padding: 0; border: 0; }
.attendance-choice legend { grid-column: 1 / -1; }
.attendance-choice > label { position: relative; cursor: pointer; }
.attendance-choice input { position: absolute; top: 1.25rem; left: 1rem; width: 1.1rem; height: 1.1rem; accent-color: var(--color-forest); }
.attendance-choice label > span { display: block; min-height: 6.5rem; padding: 1.1rem 1rem 1rem 3rem; background: var(--color-white); border: 1px solid rgba(32, 55, 47, 0.22); border-radius: var(--radius-medium); transition: border-color var(--transition), background var(--transition), transform var(--transition); }
.attendance-choice input:checked + span { background: rgba(233, 213, 182, 0.34); border-color: var(--color-gold); box-shadow: inset 0 0 0 1px var(--color-gold); }
.attendance-choice input:focus-visible + span { outline: 3px solid var(--color-gold); outline-offset: 3px; }
.attendance-choice strong, .attendance-choice small { display: block; }
.attendance-choice strong { font-family: var(--font-heading); font-size: 1.2rem; }
.attendance-choice small { margin-top: 0.25rem; color: rgba(32, 55, 47, 0.62); font-size: 0.67rem; }
.attendance-choice .field-error { grid-column: 1 / -1; }
.attendance-fields { margin-bottom: 0.5rem; padding: 1.5rem; background: rgba(233, 213, 182, 0.24); border: 1px solid rgba(183, 131, 47, 0.18); border-radius: var(--radius-medium); }
.attendance-fields.is-hidden { display: none; }
.consent-field { margin: 1.5rem 0; }
.consent-field label { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.76rem; line-height: 1.6; cursor: pointer; }
.consent-field input { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; accent-color: var(--color-forest); }
.submit-button { position: relative; min-width: 14rem; }
.submit-button:disabled { cursor: wait; opacity: 0.72; transform: none; }
.button-spinner { display: none; width: 1rem; height: 1rem; margin-left: 0.7rem; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: white; border-radius: 50%; animation: spin 700ms linear infinite; }
.submit-button.is-loading .button-spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-footnote { margin: 1rem 0 0; color: rgba(32, 55, 47, 0.58); font-size: 0.68rem; }
.form-status { margin-bottom: 1.5rem; padding: 1rem 1.1rem; border-radius: var(--radius-small); font-size: 0.82rem; }
.form-status.is-error { color: #702e21; background: #f8e4dd; border: 1px solid #d99d8a; }
.form-status.is-success { color: #124b39; background: #def1e7; border: 1px solid #91c6ae; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Upgraded seaside RSVP form */
.rsvp-page .rsvp-form-section {
    position: relative;
    isolation: isolate;
    padding-block: clamp(6rem, 9vw, 9rem);
    overflow: hidden;
    overflow: clip;
    background:
        radial-gradient(circle at 8% 16%, rgba(76, 184, 176, 0.18), transparent 22%),
        radial-gradient(circle at 93% 34%, rgba(255, 137, 105, 0.15), transparent 24%),
        radial-gradient(circle at 16% 87%, rgba(255, 199, 89, 0.2), transparent 24%),
        radial-gradient(circle, rgba(41, 104, 91, 0.055) 1px, transparent 1.5px),
        linear-gradient(145deg, #fff8ea 0%, #fff2df 50%, #eefaf6 100%);
    background-size: auto, auto, auto, 28px 28px, auto;
}

.rsvp-page .rsvp-form-section::before,
.rsvp-page .rsvp-form-section::after {
    position: absolute;
    z-index: -1;
    width: clamp(18rem, 28vw, 34rem);
    height: clamp(18rem, 28vw, 34rem);
    border: 1px solid rgba(29, 119, 105, 0.11);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.rsvp-page .rsvp-form-section::before {
    top: 7%;
    left: -15rem;
    box-shadow: 0 0 0 3rem rgba(61, 159, 145, 0.035), 0 0 0 6rem rgba(61, 159, 145, 0.02);
}

.rsvp-page .rsvp-form-section::after {
    right: -17rem;
    bottom: 10%;
    border-color: rgba(220, 144, 46, 0.12);
    box-shadow: 0 0 0 3.5rem rgba(255, 189, 81, 0.035);
}

.rsvp-form-section__decor {
    position: absolute;
    z-index: 2;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.rsvp-form-section__sticker {
    position: absolute;
    width: clamp(4.4rem, 6vw, 6.5rem);
    height: auto;
    filter: drop-shadow(0 14px 20px rgba(29, 76, 64, 0.14));
    animation: rsvp-sticker-bob 6s ease-in-out infinite;
}

.rsvp-form-section__sticker--umbrella {
    top: 2.1rem;
    left: clamp(1rem, 5vw, 5rem);
    transform: rotate(-9deg);
}

.rsvp-form-section__sticker--ball {
    top: 28%;
    right: clamp(0.8rem, 3vw, 3.5rem);
    width: clamp(3.9rem, 5vw, 5.4rem);
    transform: rotate(12deg);
    animation-delay: -2.1s;
}

.rsvp-form-section__sticker--pineapple {
    bottom: 2.4rem;
    left: clamp(1rem, 6vw, 6rem);
    width: clamp(4.8rem, 6.5vw, 7rem);
    transform: rotate(7deg);
    animation-delay: -3.7s;
}

.rsvp-page .rsvp-layout {
    position: relative;
    z-index: 3;
    grid-template-columns: minmax(19rem, 0.82fr) minmax(0, 1.45fr);
    gap: clamp(2rem, 5vw, 5rem);
    width: min(calc(100% - 2.5rem), 1280px);
    max-width: none;
}

.rsvp-page .rsvp-aside {
    top: calc(var(--header-height) + 1.5rem);
    padding: clamp(2rem, 3.6vw, 3.25rem);
    overflow: hidden;
    color: #fff8e9;
    background:
        radial-gradient(circle at 92% 5%, rgba(255, 197, 83, 0.2), transparent 24%),
        radial-gradient(circle at 8% 88%, rgba(76, 179, 163, 0.22), transparent 27%),
        linear-gradient(155deg, #17483c 0%, #0e382f 100%);
    border: 1px solid rgba(238, 183, 72, 0.76);
    border-radius: 7rem 2rem 2rem;
    box-shadow: 0 28px 60px rgba(19, 61, 50, 0.22);
}

.rsvp-page .rsvp-aside::before {
    position: absolute;
    right: -8%;
    bottom: -4.2rem;
    left: -8%;
    height: 8rem;
    background: rgba(66, 150, 137, 0.12);
    border-radius: 50% 50% 0 0 / 35% 35% 0 0;
    content: "";
    pointer-events: none;
}

.rsvp-page .rsvp-aside::after {
    right: -8rem;
    bottom: -7.5rem;
    width: 19rem;
    height: 19rem;
    border-color: rgba(255, 226, 169, 0.13);
    box-shadow: 0 0 0 2.8rem rgba(233, 213, 182, 0.025), 0 0 0 5.8rem rgba(233, 213, 182, 0.018);
}

.rsvp-aside__sticker {
    position: absolute;
    z-index: 2;
    top: 1rem;
    right: 0.8rem;
    width: clamp(4rem, 5.5vw, 5.5rem);
    height: auto;
    filter: drop-shadow(0 12px 16px rgba(0, 24, 20, 0.25));
    transform: rotate(7deg);
    animation: rsvp-sticker-bob 5.8s ease-in-out infinite -2s;
}

.rsvp-page .aside-emblem {
    display: grid;
    width: 4.6rem;
    height: 4.6rem;
    margin-bottom: 1.1rem;
    background: #fff5dc;
    border: 1px solid rgba(255, 201, 91, 0.72);
    border-radius: 50%;
    box-shadow: 0 12px 24px rgba(3, 36, 29, 0.24);
    place-items: center;
}

.rsvp-page .aside-emblem img {
    width: 3.55rem;
    height: 3.55rem;
    object-fit: contain;
}

.rsvp-page .rsvp-aside h2 {
    max-width: 8ch;
    margin: 0.45rem 0 0.6rem;
    color: #ffe8bd;
    font-size: clamp(3rem, 4vw, 4.35rem);
    line-height: 0.9;
}

.rsvp-aside__tagline {
    max-width: 19rem;
    margin: 0 0 1.7rem;
    color: rgba(255, 249, 237, 0.67);
    font-size: 0.78rem;
    line-height: 1.65;
}

.rsvp-page .rsvp-aside dl > div {
    position: relative;
    padding: 0.9rem 0 0.9rem 0.15rem;
    border-top: 1px solid rgba(255, 226, 169, 0.16);
}

.rsvp-page .rsvp-aside dt {
    display: flex;
    align-items: center;
    gap: 0.42rem;
    color: #ffc865;
    font-size: 0.59rem;
}

.rsvp-page .rsvp-aside dt img {
    width: 1.55rem;
    height: 1.55rem;
    object-fit: contain;
}

.rsvp-page .rsvp-aside dd {
    margin-left: 1.98rem;
    color: #fff6e6;
    font-size: 1.08rem;
}

.rsvp-aside__moods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.38rem;
    margin-top: 1.1rem;
}

.rsvp-aside__moods span {
    padding: 0.28rem 0.55rem;
    color: #c8f0e6;
    background: rgba(100, 199, 181, 0.1);
    border: 1px solid rgba(137, 220, 204, 0.16);
    border-radius: 999px;
    font-size: 0.56rem;
    font-weight: 750;
}

.rsvp-page .aside-help {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 1.5rem 0 0;
    padding: 0.7rem 0.8rem;
    color: rgba(255, 249, 239, 0.8);
    background: rgba(255, 255, 247, 0.06);
    border: 1px solid rgba(255, 229, 178, 0.13);
    border-radius: 1rem;
}

.rsvp-page .aside-help > img {
    width: 2.6rem;
    height: 2.6rem;
    object-fit: contain;
}

.rsvp-page .aside-help small {
    display: block;
    margin-bottom: 0.12rem;
    color: #f5bf59;
    font-size: 0.53rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rsvp-page .form-card {
    --rsvp-card-pad: clamp(1.55rem, 3.5vw, 3.4rem);
    position: relative;
    padding: var(--rsvp-card-pad);
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 10%, rgba(255, 185, 79, 0.12), transparent 19%),
        radial-gradient(circle at 5% 46%, rgba(65, 171, 157, 0.09), transparent 22%),
        rgba(255, 252, 244, 0.94);
    border: 1px solid rgba(197, 133, 38, 0.36);
    border-radius: 3rem 1.8rem 3rem 1.8rem;
    box-shadow: 0 30px 75px rgba(66, 86, 70, 0.17);
    backdrop-filter: blur(16px);
}

.rsvp-page .form-card::before {
    position: absolute;
    z-index: 0;
    inset: 0.55rem;
    border: 1px solid rgba(47, 137, 123, 0.13);
    border-radius: 2.55rem 1.4rem 2.55rem 1.4rem;
    content: "";
    pointer-events: none;
}

.rsvp-page .form-card > * {
    position: relative;
    z-index: 1;
}

.form-card__masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: calc(var(--rsvp-card-pad) * -1) calc(var(--rsvp-card-pad) * -1) 2rem;
    padding: 0.8rem var(--rsvp-card-pad);
    color: #22584f;
    background: linear-gradient(90deg, rgba(209, 244, 235, 0.88), rgba(255, 239, 207, 0.86), rgba(255, 222, 213, 0.78));
    border-bottom: 1px solid rgba(48, 139, 126, 0.18);
}

.form-card__masthead span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.form-card__masthead img {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}

.form-card__masthead strong {
    color: #bb6e27;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    letter-spacing: 0.08em;
}

.rsvp-page .form-heading {
    margin-bottom: 2.15rem;
    padding-inline: 0.25rem;
}

.rsvp-page .form-heading h2 {
    margin: 0.2rem 0 0.45rem;
    color: #17483e;
    font-size: clamp(3rem, 5vw, 4.25rem);
    line-height: 0.95;
}

.form-section-heading,
.attendance-fields__heading {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.form-section-heading {
    margin: 0.6rem 0 1.15rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(195, 135, 45, 0.2);
}

.form-section-heading:not(:first-of-type) {
    margin-top: 1.4rem;
}

.form-section-heading > img,
.attendance-fields__heading > img {
    width: 2.75rem;
    height: 2.75rem;
    object-fit: contain;
}

.form-section-heading span,
.attendance-fields__heading span {
    display: flex;
    flex-direction: column;
}

.form-section-heading small,
.attendance-fields__heading small {
    color: #bd702b;
    font-size: 0.53rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.form-section-heading strong,
.attendance-fields__heading strong {
    color: #20554b;
    font-family: var(--font-heading);
    font-size: 1.38rem;
    font-weight: 600;
    line-height: 1.15;
}

.rsvp-page .field label,
.rsvp-page .attendance-choice legend {
    color: #25584f;
}

.rsvp-page .field input,
.rsvp-page .field select,
.rsvp-page .field textarea {
    color: #233f38;
    background: rgba(255, 255, 252, 0.88);
    border-color: rgba(39, 105, 94, 0.28);
    border-radius: 0.9rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 6px 15px rgba(54, 95, 80, 0.035);
}

.rsvp-page .field input:focus,
.rsvp-page .field select:focus,
.rsvp-page .field textarea:focus {
    background: #fffef9;
    border-color: #318d7e;
    box-shadow: 0 0 0 4px rgba(49, 141, 126, 0.12), 0 10px 25px rgba(43, 102, 87, 0.08);
}

.rsvp-page .attendance-choice {
    position: relative;
    gap: 0.8rem;
    margin-bottom: 1.7rem;
}

.rsvp-page .attendance-choice legend {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.rsvp-page .attendance-choice input {
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
}

.rsvp-page .attendance-choice label > span {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 7.2rem;
    padding: 0.9rem 0.9rem 0.9rem 3rem;
    background: linear-gradient(140deg, rgba(230, 249, 242, 0.92), rgba(255, 253, 244, 0.96));
    border-color: rgba(43, 137, 123, 0.27);
    border-radius: 1.35rem;
}

.rsvp-page .attendance-choice label:nth-of-type(2) > span {
    background: linear-gradient(140deg, rgba(255, 231, 222, 0.88), rgba(255, 253, 244, 0.96));
    border-color: rgba(215, 111, 81, 0.23);
}

.rsvp-page .attendance-choice label > span > img {
    flex: 0 0 auto;
    width: 3.25rem;
    height: 3.25rem;
    object-fit: contain;
}

.rsvp-page .attendance-choice label > span > i {
    min-width: 0;
    font-style: normal;
}

.rsvp-page .attendance-choice input:checked + span {
    background: linear-gradient(140deg, rgba(200, 243, 232, 0.95), rgba(255, 247, 220, 0.96));
    border-color: #c7882e;
    box-shadow: inset 0 0 0 1px #d9a24d, 0 13px 28px rgba(51, 113, 95, 0.12);
    transform: translateY(-3px);
}

.rsvp-page .attendance-fields {
    position: relative;
    margin-bottom: 1.7rem;
    padding: clamp(1.2rem, 2.5vw, 2rem);
    background:
        radial-gradient(circle at 96% 6%, rgba(255, 195, 86, 0.18), transparent 22%),
        linear-gradient(145deg, rgba(225, 248, 241, 0.78), rgba(255, 246, 225, 0.82));
    border: 1px solid rgba(45, 143, 127, 0.25);
    border-radius: 1.8rem;
}

.attendance-fields__heading {
    margin-bottom: 1.2rem;
}

.attendance-fields__heading > img {
    width: 3rem;
    height: 3rem;
}

.form-section-heading--message {
    margin-top: 0.5rem;
}

.rsvp-page .consent-field {
    padding: 0.85rem 1rem;
    background: rgba(227, 246, 240, 0.56);
    border: 1px solid rgba(53, 134, 119, 0.16);
    border-radius: 1rem;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.4rem;
}

.rsvp-page .submit-button {
    gap: 0.55rem;
    min-width: 15rem;
    min-height: 3.2rem;
    box-shadow: 0 14px 30px rgba(179, 115, 24, 0.22);
}

.rsvp-page .form-footnote {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    max-width: 19rem;
    margin: 0;
    line-height: 1.5;
}

.rsvp-page .form-footnote img {
    flex: 0 0 auto;
    width: 2.2rem;
    height: 2.2rem;
    object-fit: contain;
}

.rsvp-page .form-card {
    scroll-margin-top: calc(var(--header-height) + 1rem);
}

.rsvp-progress {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0 0 1.8rem;
    padding: 0 0 1.35rem;
    list-style: none;
    border-bottom: 1px solid rgba(195, 135, 45, 0.2);
}

.rsvp-progress::before {
    position: absolute;
    top: 1.45rem;
    right: 12%;
    left: 12%;
    height: 1px;
    background: linear-gradient(90deg, rgba(58, 151, 136, 0.3), rgba(225, 159, 53, 0.4), rgba(222, 111, 82, 0.28));
    content: "";
}

.rsvp-progress li {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 0.38rem;
    color: rgba(35, 82, 72, 0.54);
    text-align: center;
    transition: color 250ms ease;
}

.rsvp-progress li > span {
    position: relative;
    display: grid;
    width: 2.9rem;
    height: 2.9rem;
    background: #fffaf0;
    border: 1px solid rgba(44, 128, 115, 0.22);
    border-radius: 50%;
    box-shadow: 0 6px 15px rgba(49, 91, 78, 0.07);
    place-items: center;
    transition: background 250ms ease, border-color 250ms ease, box-shadow 250ms ease, transform 250ms ease;
}

.rsvp-progress li img {
    width: 2.15rem;
    height: 2.15rem;
    object-fit: contain;
    opacity: 0.64;
    transition: opacity 250ms ease;
}

.rsvp-progress li > strong {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rsvp-progress li.is-current,
.rsvp-progress li.is-complete {
    color: #245e53;
}

.rsvp-progress li.is-current > span {
    background: #fff0c9;
    border-color: #d8942f;
    box-shadow: 0 9px 20px rgba(190, 123, 26, 0.16);
    transform: translateY(-2px) scale(1.06);
}

.rsvp-progress li.is-current img,
.rsvp-progress li.is-complete img {
    opacity: 1;
}

.rsvp-progress li.is-complete > span {
    background: #dcf3ec;
    border-color: rgba(38, 133, 117, 0.45);
}

.rsvp-progress li.is-skipped {
    color: rgba(35, 82, 72, 0.36);
}

.rsvp-progress li.is-skipped > span {
    background: rgba(255, 250, 240, 0.72);
    border-style: dashed;
    box-shadow: none;
}

.rsvp-progress li.is-skipped > strong::after {
    display: block;
    margin-top: 0.08rem;
    content: "Skipped";
    font-size: 0.42rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: none;
}

.rsvp-progress li.is-complete > span::after {
    position: absolute;
    right: -0.2rem;
    bottom: -0.12rem;
    display: grid;
    width: 1.05rem;
    height: 1.05rem;
    color: #fffdf5;
    background: #2c8c7d;
    border: 2px solid #fffaf0;
    border-radius: 50%;
    content: "\2713";
    font-size: 0.56rem;
    place-items: center;
}

.has-js .rsvp-step:not(.is-active),
.rsvp-step[hidden] {
    display: none !important;
}

.rsvp-step.is-active {
    animation: rsvp-step-enter 460ms cubic-bezier(0.2, 0.72, 0.25, 1) both;
}

.rsvp-step__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.35rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(195, 135, 45, 0.18);
}

.rsvp-step__actions--end {
    justify-content: flex-end;
}

.rsvp-step__actions > p {
    margin: 0 auto 0 0;
    color: rgba(34, 78, 69, 0.6);
    font-size: 0.65rem;
}

.rsvp-step__actions > p strong {
    display: block;
    color: #bc702a;
    font-size: 0.52rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rsvp-step__actions .button {
    gap: 0.55rem;
    min-width: 10.5rem;
    box-shadow: 0 11px 24px rgba(31, 92, 76, 0.15);
}

.rsvp-step__back {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    min-height: 2.8rem;
    padding: 0.45rem 0.55rem;
    color: #285e53;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(40, 94, 83, 0.28);
    font-size: 0.7rem;
    font-weight: 750;
    cursor: pointer;
    transition: color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.rsvp-step__back:hover {
    color: #b96c25;
    border-color: #c7812c;
    transform: translateX(-2px);
}

.rsvp-step__back:focus-visible {
    outline: 3px solid rgba(49, 141, 126, 0.3);
    outline-offset: 3px;
}

.rsvp-step .form-actions {
    display: grid;
    grid-template-columns: auto minmax(12rem, auto) minmax(0, 1fr);
    align-items: center;
}

@keyframes rsvp-step-enter {
    from { opacity: 0; transform: translateX(18px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (hover: hover) and (pointer: fine) {
    .rsvp-page .attendance-choice label:hover > span {
        border-color: rgba(196, 127, 35, 0.5);
        box-shadow: 0 10px 24px rgba(51, 109, 93, 0.09);
        transform: translateY(-2px);
    }
}

@media (min-width: 761px) and (max-width: 960px) {
    .rsvp-page .rsvp-aside {
        display: grid;
        grid-template-columns: minmax(15rem, 0.9fr) minmax(0, 1.2fr);
        gap: 0 2rem;
        width: min(100%, 52rem);
        margin-inline: auto;
        border-radius: 5rem 1.8rem 1.8rem;
    }

    .rsvp-page .rsvp-aside dl {
        grid-column: 2;
        grid-row: 1 / 6;
    }

    .rsvp-page .rsvp-aside__moods,
    .rsvp-page .aside-help {
        grid-column: 1;
    }
}

@media (max-width: 760px) {
    .rsvp-page .rsvp-form-section {
        padding-block: 3.75rem;
    }

    .rsvp-page .rsvp-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
        width: min(calc(100% - 1.5rem), 680px);
        max-width: 100%;
    }

    .rsvp-page .rsvp-aside {
        position: relative;
        top: auto;
        order: 2;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        border-radius: 4.5rem 1.5rem 1.5rem;
    }

    .rsvp-page .form-card {
        order: 1;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .rsvp-page .rsvp-aside h2 {
        font-size: clamp(2.8rem, 12vw, 3.8rem);
    }

    .rsvp-form-section__sticker--ball {
        top: 45%;
        right: -1.2rem;
    }

    .rsvp-form-section__sticker--pineapple {
        left: -1rem;
    }

    .rsvp-form-section__sticker--umbrella,
    .rsvp-form-section__sticker--ball,
    .rsvp-form-section__sticker--pineapple {
        opacity: 0.62;
    }

    .form-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .rsvp-step .form-actions {
        grid-template-columns: auto minmax(12rem, 1fr);
    }

    .rsvp-step .form-footnote {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .rsvp-page .rsvp-form-section {
        padding-block: 2.75rem;
    }

    .rsvp-page .rsvp-layout {
        width: calc(100% - 1rem);
    }

    .rsvp-page .rsvp-aside {
        padding: 1.25rem 1rem;
        border-radius: 2.6rem 1.1rem 1.1rem;
    }

    .rsvp-aside__sticker {
        top: 0.6rem;
        right: 0.55rem;
        width: 3.35rem;
    }

    .rsvp-page .aside-emblem {
        width: 3.4rem;
        height: 3.4rem;
        margin-bottom: 0.7rem;
    }

    .rsvp-page .aside-emblem img {
        width: 2.7rem;
        height: 2.7rem;
    }

    .rsvp-page .rsvp-aside .eyebrow {
        font-size: 0.55rem;
    }

    .rsvp-page .rsvp-aside h2 {
        max-width: calc(100% - 3.5rem);
        margin-block: 0.25rem 0.4rem;
        font-size: clamp(2.4rem, 12vw, 3.1rem);
        line-height: 0.9;
    }

    .rsvp-aside__tagline {
        max-width: 17rem;
        margin-bottom: 0.9rem;
        font-size: 0.7rem;
    }

    .rsvp-page .rsvp-aside dl {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 0.75rem;
    }

    .rsvp-page .rsvp-aside dl > div:last-child {
        grid-column: 1 / -1;
    }

    .rsvp-page .rsvp-aside dl > div {
        padding-block: 0.62rem;
    }

    .rsvp-page .rsvp-aside dd {
        margin-left: 1.75rem;
        font-size: 0.98rem;
    }

    .rsvp-page .rsvp-aside dt img {
        width: 1.35rem;
        height: 1.35rem;
    }

    .rsvp-aside__moods {
        display: none;
    }

    .rsvp-page .aside-help {
        margin-top: 0.8rem;
        padding: 0.55rem 0.65rem;
    }

    .rsvp-page .aside-help > img {
        width: 2.2rem;
        height: 2.2rem;
    }

    .rsvp-page .form-card {
        --rsvp-card-pad: 1rem;
        border-radius: 1.6rem 1rem 1.6rem 1rem;
    }

    .rsvp-page .form-card::before {
        inset: 0.35rem;
        border-radius: 1.35rem 0.75rem 1.35rem 0.75rem;
    }

    .form-card__masthead {
        gap: 0.45rem;
        margin-bottom: 1.05rem;
        padding-block: 0.55rem;
    }

    .form-card__masthead span {
        font-size: 0.54rem;
        letter-spacing: 0.07em;
    }

    .form-card__masthead img {
        width: 1.75rem;
        height: 1.75rem;
    }

    .form-card__masthead strong {
        display: none;
    }

    .rsvp-page .form-heading {
        margin-bottom: 1.1rem;
        padding-inline: 0.35rem;
    }

    .rsvp-page .form-heading h2 {
        margin-bottom: 0.3rem;
        font-size: clamp(2.25rem, 11vw, 2.65rem);
        line-height: 0.96;
    }

    .rsvp-page .form-heading p:last-child {
        font-size: 0.68rem;
        line-height: 1.5;
    }

    .form-section-heading {
        margin-bottom: 0.9rem;
    }

    .form-section-heading > img,
    .attendance-fields__heading > img {
        width: 2.35rem;
        height: 2.35rem;
    }

    .form-section-heading strong,
    .attendance-fields__heading strong {
        font-size: 1.2rem;
    }

    .rsvp-page .attendance-choice label > span {
        min-height: 6rem;
        padding-left: 2.8rem;
    }

    .rsvp-page .attendance-choice label > span > img {
        width: 2.8rem;
        height: 2.8rem;
    }

    .rsvp-page .attendance-fields {
        padding: 1rem;
        border-radius: 1.25rem;
    }

    .rsvp-page .submit-button {
        width: 100%;
        min-width: 0;
    }

    .rsvp-progress {
        gap: 0.35rem;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

    .rsvp-progress li > strong {
        font-size: 0.49rem;
        letter-spacing: 0.045em;
    }

    .rsvp-progress li > span {
        width: 2.4rem;
        height: 2.4rem;
    }

    .rsvp-progress li img {
        width: 1.72rem;
        height: 1.72rem;
    }

    .rsvp-progress::before {
        top: 1.2rem;
        right: 10%;
        left: 10%;
    }

    .rsvp-step__actions {
        gap: 0.65rem;
        margin-top: 0.9rem;
        padding-top: 0.9rem;
    }

    .rsvp-step__actions > p {
        display: none;
    }

    .rsvp-step__actions--end {
        justify-content: stretch;
    }

    .rsvp-step__actions--end .button {
        width: 100%;
    }

    .rsvp-step__actions .button {
        min-width: 0;
        min-height: 2.9rem;
    }

    .rsvp-step .form-actions {
        grid-template-columns: 1fr;
    }

    .rsvp-step .form-actions .rsvp-step__back {
        justify-self: start;
    }

    .rsvp-step .form-footnote {
        grid-column: auto;
    }

    .rsvp-form-section__sticker--umbrella,
    .rsvp-form-section__sticker--ball,
    .rsvp-form-section__sticker--pineapple {
        display: none;
    }
}

@media (max-width: 430px) {
    .rsvp-page .rsvp-form-section {
        padding-block: 2rem 2.5rem;
    }

    .rsvp-page .rsvp-layout {
        width: calc(100% - 0.65rem);
    }

    .rsvp-page .form-card {
        --rsvp-card-pad: 0.82rem;
        width: 100%;
        border-radius: 1.25rem 0.85rem 1.25rem 0.85rem;
    }

    .rsvp-page .form-card::before {
        inset: 0.28rem;
        border-radius: 1.05rem 0.62rem 1.05rem 0.62rem;
    }

    .form-card__masthead {
        padding-inline: 0.9rem;
    }

    .rsvp-page .form-heading {
        padding-inline: 0.2rem;
    }

    .rsvp-page .form-heading .eyebrow {
        margin-bottom: 0.25rem;
    }

    .rsvp-progress li > strong {
        max-width: 4.25rem;
        font-size: 0.44rem;
        line-height: 1.2;
    }

    .form-section-heading {
        gap: 0.5rem;
        padding-bottom: 0.6rem;
    }

    .form-section-heading small,
    .attendance-fields__heading small {
        font-size: 0.47rem;
        letter-spacing: 0.08em;
    }

    .form-section-heading strong,
    .attendance-fields__heading strong {
        font-size: 1.1rem;
    }

    .rsvp-page .field {
        margin-bottom: 0.82rem;
    }

    .rsvp-page .field label {
        font-size: 0.7rem;
    }

    .rsvp-page .field input,
    .rsvp-page .field select,
    .rsvp-page .field textarea {
        width: 100%;
        max-width: 100%;
        min-height: 3rem;
        padding: 0.68rem 0.72rem;
        border-radius: 0.78rem;
        font-size: 1rem;
    }

    .rsvp-page .attendance-choice {
        gap: 0.55rem;
    }

    .rsvp-page .attendance-choice label > span {
        gap: 0.5rem;
        min-height: 5.4rem;
        padding: 0.68rem 0.6rem 0.68rem 2.55rem;
        border-radius: 1rem;
    }

    .rsvp-page .attendance-choice input {
        left: 0.8rem;
    }

    .rsvp-page .attendance-choice label > span > img {
        width: 2.35rem;
        height: 2.35rem;
    }

    .rsvp-page .attendance-choice strong {
        font-size: 1.05rem;
        line-height: 1.1;
    }

    .rsvp-page .attendance-choice small {
        font-size: 0.59rem;
    }

    .rsvp-page .attendance-fields {
        margin-bottom: 1rem;
        padding: 0.72rem;
        border-radius: 1rem;
    }

    .rsvp-page .consent-field {
        margin-block: 0.9rem;
        padding: 0.7rem;
    }

    .rsvp-page .consent-field label {
        font-size: 0.69rem;
        line-height: 1.5;
    }

    .rsvp-step__back {
        min-height: 2.65rem;
    }

    .rsvp-page .rsvp-aside {
        border-radius: 2rem 1rem 1rem;
    }
}

@media (max-width: 360px) {
    .rsvp-page .rsvp-layout {
        width: calc(100% - 0.4rem);
    }

    .form-card__masthead span {
        font-size: 0.5rem;
        letter-spacing: 0.045em;
    }

    .rsvp-page .form-heading h2 {
        font-size: 2.05rem;
    }

    .rsvp-progress {
        padding-bottom: 0.7rem;
    }

    .rsvp-progress li > strong {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .rsvp-progress li > span {
        width: 2.25rem;
        height: 2.25rem;
    }

    .rsvp-progress li img {
        width: 1.58rem;
        height: 1.58rem;
    }

    .rsvp-progress::before {
        top: 1.12rem;
    }

    .rsvp-page .rsvp-aside dl {
        grid-template-columns: 1fr;
    }

    .rsvp-page .rsvp-aside dl > div:last-child {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rsvp-form-section__sticker,
    .rsvp-aside__sticker,
    .rsvp-step.is-active {
        animation: none;
    }
}

.celebration-page { display: grid; min-height: 100vh; padding: calc(var(--header-height) + 5rem) 1.5rem 5rem; background: radial-gradient(circle at 50% 32%, rgba(255, 230, 178, 0.75), transparent 28%), linear-gradient(155deg, var(--color-parchment), var(--color-ivory)); place-items: center; }
.celebration-card { position: relative; width: min(100%, 780px); padding: clamp(3rem, 8vw, 6rem); overflow: hidden; text-align: center; background: rgba(255, 249, 239, 0.8); border: 1px solid var(--color-gold); border-radius: var(--radius-large); box-shadow: var(--shadow-card); animation: celebration-in 800ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.celebration-card::before { position: absolute; inset: 0.7rem; border: 1px solid rgba(183, 131, 47, 0.34); border-radius: calc(var(--radius-large) - 0.45rem); content: ""; pointer-events: none; }
@keyframes celebration-in { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: none; } }
.celebration-icon { position: relative; display: grid; width: 5rem; height: 5rem; margin: 0 auto 1rem; color: var(--color-champagne); background: var(--color-forest); border-radius: 50%; font-size: 2rem; place-items: center; }
.celebration-card .script-kicker { font-size: clamp(3rem, 7vw, 5rem); }
.celebration-card h1 { margin: 0.6rem 0 1.2rem; font-size: clamp(3rem, 7vw, 5rem); }
.date-reminder { display: flex; flex-direction: column; margin: 2rem auto; padding: 1.5rem; border-block: 1px solid rgba(183, 131, 47, 0.35); }
.date-reminder strong { color: var(--color-bronze); font-family: var(--font-heading); font-size: 1.8rem; }
.date-reminder span { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.error-illustration { position: relative; width: 7rem; height: 5rem; margin: 0 auto 1.4rem; }
.error-sun { position: absolute; top: 0; left: 50%; width: 4.5rem; height: 4.5rem; border: 1px solid var(--color-gold); border-radius: 50%; transform: translateX(-50%); }
.error-wave { position: absolute; right: 0; bottom: 0; left: 0; height: 1.2rem; background: repeating-radial-gradient(ellipse at 50% 100%, transparent 0 14px, var(--color-forest) 15px 16px, transparent 17px 28px); }

.legal-section { background: var(--color-ivory); }
.legal-content { max-width: 780px; }
.legal-intro { padding-bottom: 1.5rem; font-family: var(--font-heading); font-size: 1.35rem; border-bottom: 1px solid rgba(183, 131, 47, 0.3); }
.legal-content h2 { margin: 2.4rem 0 0.6rem; font-size: 2rem; }
.legal-updated { margin-top: 3rem; color: rgba(32, 55, 47, 0.6); font-size: 0.75rem; }
