@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Great+Vibes&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    --ice: #FBE4EC;
    --ice-2: #FBE4EC;
    --blue: #E7A8C0;
    --blue-deep: #C87598;
    --blue-soft: #F2C5D6;
    --gold: #D88DA9;
    --gold-soft: #F3B7CB;
    --silver: #F2C5D6;
    --silver-dark: #C87598;
    --burgundy: #C87598;
    --ink: #55465A;
    --white: #FFF8FB;
    --paper: #FFF8FB;
    --paper-blue: #FBE4EC;
    --font-serif: 'Cormorant Garamond', serif;
    --light-pink: #FBE4EC;
    --navy: #C87598;
    --font-script: 'Great Vibes', cursive;
    --font-sans: 'Montserrat', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    min-width: 320px;
    overflow-x: hidden;
    background: #FBE4EC;
    color: var(--ink);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: inherit; }

#envelope-intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(ellipse at 50% 100%, #F3B7CB 0%, #C87598 85%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.9s ease, visibility 0.9s ease;
}

#envelope-intro.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.envelope-wrapper {
    position: relative;
    width: 92%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    perspective: 1500px;
}

.envelope-text-top {
    text-align: center;
    color: rgba(255,244,248, 0.85);
    font-family: var(--font-serif);
    font-weight: 300;
    letter-spacing: 4px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.envelope-text-top .ornament-line {
    display: block;
    font-size: 1.2rem;
    color: var(--light-pink);
    margin-bottom: 12px;
    letter-spacing: 8px;
}

.envelope-text-top .invitation-label {
    font-weight: 500;
    letter-spacing: 6px;
    color: rgba(255,244,248, 0.9);
    margin-top: 4px;
}

.envelope-container {
    width: 100%;
    aspect-ratio: 4/3;
    position: relative;
    margin: 10px 0;
}

.envelope {
    position: relative;
    width: 100%;
    height: 100%;
    isolation: isolate;
}

.envelope-back {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #C87598, #B85F83);
    border-radius: 3px;
    box-shadow: 0 20px 60px rgba(184,95,131, 0.6), inset 0 1px 0 rgba(255,244,248, 0.05);
    z-index: 1;
}

.envelope-preview {
    position: absolute;
    bottom: 2%;
    left: 5%;
    width: 90%;
    height: 92%;
    background: linear-gradient(180deg, #FFF4F8 0%, #FFF4F8 100%);
    border-radius: 3px 3px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    z-index: 20;
    transform: translate3d(0, 30%, 0) scale(0.9);
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
    box-shadow: inset 0 -20px 40px rgba(184,95,131, 0.05);
}

.preview-ornament {
    font-size: 2.5rem;
    color: var(--burgundy);
    opacity: 0.2;
    font-family: var(--font-serif);
    margin-bottom: 5px;
}

.preview-xv {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    font-weight: 600;
    color: var(--burgundy);
    letter-spacing: 10px;
    line-height: 1;
}

.preview-name {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--navy);
    margin-top: -8px;
}

.preview-line {
    width: 60px;
    height: 1px;
    background: var(--gold);
    opacity: 0.3;
    margin: 8px 0;
}

.preview-sub {
    font-family: var(--font-serif);
    font-size: 0.8rem;
    color: var(--navy);
    opacity: 0.5;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.envelope-flap {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #C87598 0%, #B85F83 100%);
    clip-path: polygon(0 0, 100% 0, 50% 65%);
    z-index: 3;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 8px 30px rgba(184,95,131, 0.3);
    transform-origin: top;
}

.envelope-bottom {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #B85F83, #B85F83);
    clip-path: polygon(0 100%, 50% 55%, 100% 100%);
    z-index: 2;
}

.envelope-left {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #C87598, #B85F83);
    clip-path: polygon(0 0, 50% 50%, 0 100%);
    z-index: 3;
    filter: drop-shadow(2px 0 4px rgba(184,95,131, 0.2));
}

.envelope-right {
    position: absolute;
    inset: 0;
    background: linear-gradient(225deg, #C87598, #B85F83);
    clip-path: polygon(100% 0, 100% 100%, 50% 50%);
    z-index: 3;
    filter: drop-shadow(-2px 0 4px rgba(184,95,131, 0.2));
}

.envelope-top {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #C87598, #B85F83);
    clip-path: polygon(0 0, 100% 0, 50% 60%);
    z-index: 4;
    transform-origin: top;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 4px 20px rgba(184,95,131, 0.2);
}

.wax-seal-container {
    position: absolute;
    top: 56%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 30;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.wax-seal-container:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

.wax-seal {
    width: 72px;
    height: 72px;
    background: radial-gradient(circle at 35% 30%, #C87598, #B85F83 65%, #B85F83);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 20px rgba(184,95,131, 0.5), inset 0 2px 8px rgba(255,244,248, 0.25);
    border: 2px solid #B85F83;
    position: relative;
}

.wax-seal::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(255,244,248, 0.1);
}

.seal-inner {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #C87598, #B85F83);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255,244,248, 0.1);
}

.seal-initials {
    font-family: var(--font-script);
    color: var(--light-pink);
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(184,95,131, 0.3);
    letter-spacing: 1px;
}

.envelope-wrapper.is-opening .wax-seal-container {
    animation: breakSeal 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.envelope-wrapper.is-opening .envelope-top {
    transform: rotateX(180deg);
    z-index: 4;
}

.envelope-wrapper.is-opening .envelope-flap {
    transform: rotateX(180deg);
    z-index: 3;
}

.envelope-wrapper.is-opening .envelope-preview {
    opacity: 1;
    transform: translate3d(0, -58%, 0) scale(1);
    z-index: 20;
}

@keyframes breakSeal {
    0% { transform: translate(-50%, -50%) scale(1) rotate(0); }
    25% { transform: translate(-50%, -50%) scale(1.15) rotate(8deg); }
    50% { transform: translate(-50%, -50%) scale(0.9) rotate(-6deg); }
    75% { transform: translate(-50%, -50%) scale(1.05) rotate(3deg); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.4) rotate(0); opacity: 0; pointer-events: none; }
}

.envelope-text-bottom {
    text-align: center;
    color: rgba(255,244,248, 0.6);
    font-family: var(--font-serif);
    font-weight: 300;
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-top: 20px;
}

#invitation { opacity: 0; transition: opacity .9s ease; }
#invitation.active { opacity: 1; }

.section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    padding: clamp(78px, 10vw, 120px) 18px;
    background: var(--paper);
    isolation: isolate;
}
.section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(circle at 15% 25%, rgba(248,220,232,.16), transparent 27%),
        radial-gradient(circle at 85% 72%, rgba(243,199,216,.11), transparent 28%),
        linear-gradient(120deg, rgba(255,244,248,.78), transparent 45%, rgba(255,244,248,.42));
}
.section::after {
    content: '';
    position: absolute;
    inset: 12px;
    z-index: -2;
    border: 1px solid rgba(184,95,131,.045);
    pointer-events: none;
}

.paper-noise {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .18;
    pointer-events: none;
    background-image:
        radial-gradient(rgba(184,95,131,.08) .55px, transparent .55px),
        radial-gradient(rgba(216,141,169,.07) .5px, transparent .5px);
    background-size: 13px 13px, 21px 21px;
    background-position: 0 0, 7px 4px;
    mix-blend-mode: multiply;
}

.section-inner { width: min(100%, 680px); margin: 0 auto; position: relative; z-index: 2; text-align: center; }
.section-inner.narrow { width: min(100%, 610px); }

.card-surface {
    background: rgba(255,244,248,.78);
    border: 1px solid rgba(200,117,152,.075);
    box-shadow: 0 18px 55px rgba(184,95,131,.08), inset 0 1px rgba(255,244,248,.95);
    padding: clamp(42px, 7vw, 70px) clamp(22px, 7vw, 58px);
}

.eyebrow { font: 500 clamp(.72rem, 2vw, .95rem) var(--font-serif); letter-spacing: clamp(4px, 1.1vw, 7px); text-transform: uppercase; color: var(--blue-deep); }
.tiny-crown { display: block; color: rgba(200,117,152,.23); font-size: 1.25rem; margin-bottom: 14px; animation: crownPulse 3.4s ease-in-out infinite; }
.ornamental-divider { display: flex; align-items: center; justify-content: center; gap: 13px; margin: 18px auto 26px; max-width: 130px; }
.ornamental-divider span { width: 38px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-soft)); }
.ornamental-divider span:last-child { background: linear-gradient(90deg, var(--gold-soft), transparent); }
.ornamental-divider b { color: #D88DA9; font: 500 .75rem var(--font-serif); animation: sparklePulse 2.8s ease-in-out infinite; }
.ornamental-divider.small { margin-top: 14px; margin-bottom: 22px; }
.ornamental-divider.small span { width: 34px; }
.script-heading { color: var(--burgundy); font: 400 clamp(2.6rem, 8vw, 4.5rem)/1.05 var(--font-script); }
.script-heading.compact { font-size: clamp(2.3rem, 7vw, 4rem); }
.body-copy, .story-copy { color: #C87598; font: 400 clamp(.92rem, 2.3vw, 1.08rem)/1.75 var(--font-serif); }
.asset-slot { position: absolute; display: grid; place-items: center; pointer-events: none; overflow: hidden; }
.asset-slot > img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center; }
.asset-slot > span { color: rgba(200,117,152,.28); font: 500 .48rem var(--font-sans); letter-spacing: 1.5px; }

.section-hero { min-height: min(100vh, 900px); align-items: center; background: #FFF4F8; }
.hero-inner { padding-top: 25px; }
.hero-name { margin: 8px 0 10px; font: 600 clamp(4rem, 15vw, 8rem)/.78 var(--font-serif); color: var(--blue-deep); }
.hero-name span, .hero-name em { display: block; font-style: normal; }
.hero-name em { margin-top: 3px; color: var(--burgundy); font: 400 clamp(3.4rem, 13vw, 6.5rem)/.95 var(--font-script); }
.hero-copy { margin: 12px auto 0; color: #C87598; font: italic 400 clamp(.95rem, 2.4vw, 1.15rem)/1.9 var(--font-serif); }
.hero-date { display: inline-flex; align-items: center; gap: 14px; margin-top: 35px; color: var(--blue-deep); font: 500 .72rem var(--font-serif); letter-spacing: 3px; }
.hero-date strong { font: 600 2.5rem var(--font-serif); color: var(--gold); }
.hero-castle-slot { right: -2%; bottom: 4%; width: min(34vw, 240px); height: 180px; opacity: .09; }
.hero-tiara-slot { left: 8%; top: 10%; width: 75px; height: 55px; opacity: .22; }
.ambient-orb { position: absolute; width: 260px; aspect-ratio: 1; border-radius: 50%; opacity: .16; pointer-events: none; }
.orb-left { background: radial-gradient(circle, rgba(248,220,232,.72) 0%, rgba(248,220,232,.28) 42%, transparent 72%); }
.orb-right { background: radial-gradient(circle, rgba(248,220,232,.72) 0%, rgba(248,220,232,.28) 42%, transparent 72%); }
.orb-left { left: -140px; top: 35%; }
.orb-right { right: -150px; bottom: 15%; }

.section-countdown { background: #FFF4F8; }
.countdown-container { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: start; max-width: 620px; margin: 0 auto; }
.time-box strong { display: block; font: 500 clamp(2.15rem, 7vw, 4rem)/1 var(--font-serif); color: var(--burgundy); font-variant-numeric: tabular-nums; text-shadow: 0 2px 14px rgba(200,117,152,.08); }
.time-box span { display: block; margin-top: 8px; color: #D88DA9; font: 500 .58rem var(--font-sans); letter-spacing: 1.7px; }
.countdown-container > i { font: 400 clamp(1.6rem, 4vw, 2.6rem) var(--font-serif); color: #D88DA9; font-style: normal; padding-top: 2px; }
.countdown-date { margin-top: 28px; color: var(--blue-deep); font: 500 .75rem var(--font-serif); letter-spacing: 5px; }
.clock-wrap { margin: 38px auto 18px; }
.clock-ornament {
    position: relative;
    width: clamp(118px, 31vw, 150px);
    aspect-ratio: 1;
    margin: 0 auto;
    border: 1px solid rgba(216,141,169,.58);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255,244,248,.95), rgba(255,244,248,.55));
    box-shadow: inset 0 0 0 6px rgba(255,244,248,.55), 0 15px 28px rgba(184,95,131,.08);
}
.clock-ornament::before { content: ''; position: absolute; inset: 9px; border: 1px solid rgba(200,117,152,.11); border-radius: 50%; }
.clock-ticks { position: absolute; inset: 13px; border-radius: 50%; background: repeating-conic-gradient(from -1deg, rgba(200,117,152,.55) 0deg 1deg, transparent 1deg 30deg); mask: radial-gradient(circle, transparent 0 46%, #B85F83 47% 51%, transparent 52%); -webkit-mask: radial-gradient(circle, transparent 0 46%, #B85F83 47% 51%, transparent 52%); }
.clock-number { position: absolute; color: rgba(200,117,152,.68); font: 500 .54rem var(--font-serif); }
.clock-number.n12 { left: 50%; top: 16px; transform: translateX(-50%); }
.clock-number.n3 { right: 17px; top: 50%; transform: translateY(-50%); }
.clock-number.n6 { left: 50%; bottom: 16px; transform: translateX(-50%); }
.clock-number.n9 { left: 17px; top: 50%; transform: translateY(-50%); }
.clock-hand { position: absolute; left: 50%; bottom: 50%; width: 2px; background: var(--blue-deep); transform-origin: bottom center; border-radius: 3px; box-shadow: 0 1px 3px rgba(184,95,131,.15); }
.clock-hand.hour { height: 29%; transform: translateX(-50%) rotate(180deg); }
.clock-hand.minute { height: 39%; transform: translateX(-50%) rotate(0deg); background: var(--gold); }
.clock-center { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; transform: translate(-50%,-50%); border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(216,141,169,.12); }
.countdown-note { color: #D88DA9; font: italic 400 .95rem var(--font-serif); }
.floating-diamond { position: absolute; color: rgba(216,141,169,.34); animation: floatDiamond 4.5s ease-in-out infinite; pointer-events: none; }
.diamond-one { left: 12%; top: 20%; }
.diamond-two { right: 14%; bottom: 20%; animation-delay: -2.1s; }

.section-story { background: #FFF4F8; }
.illustration-frame { max-width: 470px; margin: 25px auto 22px; border: 9px solid rgba(255,244,248,.94); box-shadow: 0 18px 45px rgba(184,95,131,.13); }
.asset-frame { position: relative; overflow: hidden; width: 100%; aspect-ratio: 4 / 5; }
.asset-frame > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.asset-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: rgba(200,117,152,.5); background: linear-gradient(145deg, #F8DCE8, #F8DCE8); }
.asset-placeholder::before { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(216,141,169,.3); }
.cinderella-placeholder strong { color: var(--blue-deep); font: 600 1.3rem var(--font-serif); letter-spacing: 4px; }
.cinderella-placeholder small { color: rgba(200,117,152,.4); font: 500 .56rem var(--font-sans); letter-spacing: 2px; }
.placeholder-crown { color: var(--gold); font-size: 2rem; }
.story-copy { max-width: 470px; margin: 0 auto; }

.section-details { background: #FBE4EC; }
.event-card { width: min(100%, 560px); margin: 0 auto; padding: clamp(28px, 6vw, 46px); background: rgba(255,244,248,.86); border: 1px solid rgba(200,117,152,.08); box-shadow: 0 20px 55px rgba(184,95,131,.09), inset 0 1px rgba(255,244,248,.9); text-align: left; }
.event-item { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 18px; align-items: center; margin-bottom: 24px; }
.event-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-deep); color: #FFF4F8; font: 1rem var(--font-serif); box-shadow: 0 7px 16px rgba(184,95,131,.18); transition: transform .3s ease, box-shadow .3s ease; }
.event-icon i { font-size: .88rem; line-height: 1; }
.event-item:hover .event-icon { transform: scale(1.08); box-shadow: 0 10px 24px rgba(184,95,131,.28); }
.event-item small { display: block; margin-bottom: 3px; color: #D88DA9; font: 500 .62rem var(--font-sans); letter-spacing: 2px; }
.event-item p { color: var(--blue-deep); font: 500 1.05rem/1.3 var(--font-serif); }
.btn { position: relative; overflow: hidden; width: 100%; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 0; text-decoration: none; cursor: pointer; font: 500 .72rem var(--font-sans); letter-spacing: 2px; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(184,95,131,.14); }
.btn:focus-visible { outline: 3px solid rgba(216,141,169,.55); outline-offset: 3px; }
.btn-navy { background: var(--blue-deep); color: #FFF4F8; }
.btn-gold { background: linear-gradient(135deg, #C87598, #B85F83); color: #FFF4F8; }
.btn-burgundy { background: var(--burgundy); color: #FFF4F8; }
.btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,244,248,.12) 50%, transparent 70%); transform: translateX(-100%); transition: transform .6s ease; }
.btn:hover::after { transform: translateX(100%); }
.event-separator { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(216,141,169,.55), transparent); margin: 8px 0 30px; }

.section-dresscode { background: #FFF4F8; }
.section-dresscode::before { background: radial-gradient(circle at 50% 12%, rgba(248,220,232,.38), transparent 32%), radial-gradient(circle at 8% 78%, rgba(255,244,248,.34), transparent 25%), radial-gradient(circle at 92% 70%, rgba(248,220,232,.13), transparent 24%); }
.asset-row { display: flex; align-items: center; justify-content: center; gap: 15px; margin: 30px auto 22px; min-height: 180px; }
.dress-illustration, .glass-slipper { position: relative; width: 44%; height: 190px; }
.reserved-note { display: grid; gap: 7px; margin-top: 12px; padding-top: 22px; border-top: 1px solid rgba(216,141,169,.38); }
.reserved-note strong { color: #D88DA9; font: 500 .62rem var(--font-sans); letter-spacing: 2px; }
.reserved-note span { color: var(--blue-deep); font: 600 1.25rem var(--font-serif); letter-spacing: 2px; }
.reserved-note small { color: #D88DA9; font: italic .9rem var(--font-serif); }
.color-palette { display: flex; justify-content: center; gap: 14px; margin: 20px auto 0; }
.swatch { width: 90px; height: 62px; border-radius: 50%; display: block; box-shadow: inset 0 1px 5px rgba(255,244,248,.75), 0 8px 18px rgba(184,95,131,.08); transition: transform .4s ease; }
.swatch:hover { transform: scale(1.08) rotate(3deg); }
.swatch.sky { background: linear-gradient(145deg, #F3C7D8, #D88DA9); }
.swatch.silver { background: linear-gradient(145deg, #FFF4F8, #D88DA9 48%, #F8DCE8); }
.dress-floral-left { left: -15px; bottom: 7%; width: 145px; height: 150px; opacity: .25; }
.dress-floral-right { right: -15px; top: 7%; width: 145px; height: 150px; opacity: .25; }

.section-gift { background: #FFF4F8; }
.gift-emblem { width: 90px; height: 64px; margin: 26px auto 12px; display: grid; place-items: center; color: var(--blue-deep); border: 1px solid rgba(216,141,169,.55); background: linear-gradient(145deg, #F8DCE8, #F8DCE8); font-size: 2rem; box-shadow: 0 10px 25px rgba(184,95,131,.07); }
.gift-label { color: var(--gold); font: 600 .7rem var(--font-sans); letter-spacing: 2px; }
.gift-floral { right: -5px; top: 12%; width: 125px; height: 130px; opacity: .22; }

.section-rsvp { background: #FBE4EC; }
.rsvp-form { width: min(100%, 500px); margin: 30px auto 0; text-align: left; }
.rsvp-form label { display: block; margin-bottom: 8px; color: #D88DA9; font: 500 .64rem var(--font-sans); letter-spacing: 1.6px; }
.rsvp-form input { width: 100%; min-height: 52px; border: 1px solid rgba(200,117,152,.18); border-radius: 2px; padding: 0 16px; color: var(--blue-deep); background: rgba(255,244,248,.9); outline: none; transition: border-color .3s ease, box-shadow .3s ease; }
.rsvp-form input:focus { border-color: var(--blue-soft); box-shadow: 0 0 0 3px rgba(216,141,169,.12); }
.rsvp-form input::placeholder { color: #F3C7D8; }
.rsvp-form .btn { margin-top: 16px; }
.rsvp-note { margin-top: 20px; text-align: center; color: #D88DA9; font: italic .9rem/1.7 var(--font-serif); }
.form-status { min-height: 22px; margin-top: 8px; text-align: center; color: var(--burgundy); font: 500 .78rem var(--font-sans); }
.rsvp-tiara { right: 7%; top: 13%; width: 70px; height: 50px; opacity: .18; }

.section-footer { min-height: 580px; align-items: center; background: linear-gradient(180deg, #C87598, #B85F83); color: #FFF4F8; }
.section-footer::before { background: radial-gradient(circle at 50% 35%, rgba(255,244,248,.1), transparent 42%), linear-gradient(180deg, #C87598, #B85F83); }
.section-footer::after { border-color: rgba(255,244,248,.08); }
.footer-title { color: #FFF4F8; font: 400 clamp(4.2rem, 15vw, 7rem)/1 var(--font-script); }
.ornamental-divider.light span { background: rgba(255,244,248,.18); }
.ornamental-divider.light b { color: #F3C7D8; }
.footer-text { color: rgba(255,244,248,.72); font: 500 .85rem/2.2 var(--font-serif); letter-spacing: 4px; }
.footer-name { margin-top: 35px; color: rgba(255,244,248,.86); font: 400 2.2rem var(--font-script); }
.footer-ornament { margin-top: 28px; color: var(--gold-soft); font-size: 1.4rem; }
.glass-shoe-mark { width: 55px; height: 55px; margin: 0 auto 12px; display: grid; place-items: center; border: 1px solid rgba(255,244,248,.22); border-radius: 50%; color: rgba(255,244,248,.75); font-size: 1.5rem; }
.footer-shoe { right: 6%; bottom: 12%; width: 125px; height: 95px; opacity: .18; }
.footer-castle { left: 50%; bottom: -30px; transform: translateX(-50%); width: min(80vw, 480px); height: 170px; opacity: .08; }

.signature-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 12px 16px;
    background: #B85F83;
    color: rgba(255,244,248,.28);
    font: 400 .6rem var(--font-sans);
    letter-spacing: 1.4px;
    text-align: center;
}
.signature-line a {
    color: rgba(255,244,248,.38);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,244,248,.12);
    transition: color .3s ease, border-color .3s ease;
}
.signature-line a:hover {
    color: rgba(248,220,232,.75);
    border-bottom-color: rgba(248,220,232,.4);
}

.reveal {
    opacity: 0;
    transform: translateY(46px) scale(0.94);
    transition: opacity 1s cubic-bezier(.22,1,.36,1), transform 1s cubic-bezier(.22,1,.36,1);
    will-change: opacity, transform;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: .12s; }
.reveal:nth-child(3) { transition-delay: .24s; }
.reveal:nth-child(4) { transition-delay: .36s; }
.reveal:nth-child(5) { transition-delay: .48s; }
.reveal:nth-child(6) { transition-delay: .6s; }

.section .card-surface.reveal {
    transform: translateY(60px) scale(0.92);
}
.section .card-surface.reveal.visible {
    transform: translateY(0) scale(1);
}

.asset-photo { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center center; }
.asset-decor > img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center center; }

@keyframes envelopeFloat { 0%,100% { transform: translateY(0) rotateX(0); } 50% { transform: translateY(-8px) rotateX(.5deg); } }
@keyframes envelopeOpen { 0% { transform: translateY(0) scale(1); } 70% { transform: translateY(-12px) scale(1.025); } 100% { transform: translateY(-25px) scale(1.04); opacity: .1; } }
@keyframes hintPulse { 0%,100% { opacity: .65; } 50% { opacity: 1; } }
@keyframes sparklePulse { 0%,100% { opacity: .35; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes crownPulse { 0%,100% { opacity: .45; transform: translateY(0); } 50% { opacity: .9; transform: translateY(-3px); } }
@keyframes floatDiamond { 0%,100% { transform: translateY(0) rotate(0); opacity: .25; } 50% { transform: translateY(-14px) rotate(12deg); opacity: .8; } }
@keyframes dustDrift { 0%,100% { transform: translateY(0) translateX(0); opacity: .2; } 50% { transform: translateY(-20px) translateX(8px); opacity: .9; } }

@keyframes magicFloatGold {
    0% { transform: translate3d(0, 0, 0) scale(0.6); opacity: 0; }
    12% { opacity: .32; }
    50% { transform: translate3d(calc(var(--drift-x) * 0.5), calc(var(--rise-y) * 0.55), 0) scale(1); opacity: .38; }
    88% { opacity: .3; }
    100% { transform: translate3d(var(--drift-x), var(--rise-y), 0) scale(0.25); opacity: 0; }
}
@keyframes magicFloatIce {
    0% { transform: translate3d(0, 0, 0) scale(0.5) rotate(0deg); opacity: 0; }
    15% { opacity: .3; }
    50% { transform: translate3d(calc(var(--drift-x) * 0.55), calc(var(--rise-y) * 0.5), 0) scale(0.9) rotate(180deg); opacity: .34; }
    85% { opacity: .22; }
    100% { transform: translate3d(var(--drift-x), var(--rise-y), 0) scale(0.2) rotate(360deg); opacity: 0; }
}

#magic-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    opacity: .75;
}

.magic-particle {
    position: absolute;
    border-radius: 50%;
    contain: layout paint;
}

.magic-particle.gold {
    background: radial-gradient(circle at 30% 30%, #FFF4F8, #F3C7D8 45%, rgba(216,141,169,.05) 80%);
    box-shadow: 0 0 8px 2px rgba(243,199,216,.22);
    animation: magicFloatGold 9s ease-out infinite;
}

.magic-particle.ice {
    background: radial-gradient(circle at 35% 30%, #FFF4F8, #F8DCE8 50%, rgba(243,199,216,.05) 85%);
    box-shadow: 0 0 8px 2px rgba(248,220,232,.24);
    animation: magicFloatIce 10s ease-out infinite;
}

#magic-particles::before,
#magic-particles::after {
    content: '';
    position: absolute;
    inset: -10%;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 20%, rgba(243,199,216,.07), transparent 22%),
        radial-gradient(circle at 88% 30%, rgba(248,220,232,.08), transparent 24%),
        radial-gradient(circle at 30% 80%, rgba(243,199,216,.05), transparent 22%),
        radial-gradient(circle at 75% 78%, rgba(248,220,232,.06), transparent 22%);
    animation: ambientGlow 16s ease-in-out infinite;
}
#magic-particles::after {
    animation-delay: -8s;
    opacity: .6;
}

@keyframes ambientGlow {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: .5; }
    50% { transform: translate(2%, -1%) scale(1.06); opacity: .85; }
}

.ripple-effect {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,244,248,.55);
    transform: translate(-50%, -50%) scale(0);
    animation: rippleExpand 640ms ease-out forwards;
    pointer-events: none;
}
@keyframes rippleExpand {
    to { transform: translate(-50%, -50%) scale(22); opacity: 0; }
}

@media (max-width: 560px) {
    .section { padding-left: 14px; padding-right: 14px; }
    .section-inner { width: 100%; }
    .card-surface { padding: 38px 18px; }
    .hero-name { font-size: clamp(3.8rem, 20vw, 6rem); }
    .hero-name em { font-size: clamp(3.2rem, 17vw, 5rem); }
    .hero-copy br { display: none; }
    .hero-copy { max-width: 320px; }
    .hero-date { gap: 9px; letter-spacing: 2px; }
    .countdown-container { gap: 3px; }
    .countdown-container > i { padding-inline: 1px; }
    .time-box span { font-size: .48rem; letter-spacing: 1px; }
    .time-box strong { font-size: clamp(1.7rem, 8.2vw, 2.6rem); }
    .event-card { padding: 28px 20px; }
    .event-item p { font-size: .98rem; }
    .swatch { width: 82px; height: 58px; }
    .dress-illustration, .glass-slipper { height: 150px; }
    .hero-castle-slot { width: 180px; height: 140px; right: -35px; }
    .hero-tiara-slot { left: 3%; }
    .dress-floral-left, .dress-floral-right { width: 105px; height: 110px; }
    .gift-floral { width: 95px; height: 100px; }
    .footer-shoe { width: 95px; height: 75px; right: 2%; }
}

@media (max-width: 390px) {
    .envelope-stage { width: 94vw; }
    .intro-kicker { font-size: .67rem; letter-spacing: 3px; }
    .hero-date { flex-wrap: wrap; justify-content: center; }
    .countdown-container > i { font-size: 1.2rem; }
    .time-box strong { font-size: 1.55rem; }
    .time-box span { font-size: .43rem; }
    .event-item { grid-template-columns: 36px minmax(0,1fr); gap: 12px; }
    .event-icon { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .magic-particle { display: none !important; }
    #magic-particles::before,
    #magic-particles::after { animation: none !important; }
    .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
}

.paper-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: .075;
    background: linear-gradient(135deg, rgba(255,244,248,.18), rgba(255,244,248,0));
}
.paper-pattern img { width: 100%; height: 100%; object-fit: cover; object-position: center; display:block; mix-blend-mode:multiply; }

.asset-slot { overflow:hidden; }
.asset-slot > img { width:100%; height:100%; object-fit:contain; object-position:center; display:block; }
.asset-frame { overflow:hidden; }
.asset-frame .asset-image { width:100%; height:100%; display:block; object-fit:contain; object-position:center; }

.hero-castle-slot { z-index:0; pointer-events:none; animation: castleFloat 7s ease-in-out infinite; }
.hero-tiara-slot { z-index:1; animation: tiaraFloat 4.5s ease-in-out infinite; }
.countdown-sparkles { position:absolute; z-index:1; left:5%; top:18%; width:80px; height:80px; opacity:.45; animation: sparkleFloat 5s ease-in-out infinite; }
.countdown-clock-art { position:absolute; z-index:1; right:5%; bottom:10%; width:min(26vw,150px); height:min(26vw,150px); opacity:.16; animation: clockFloat 6s ease-in-out infinite; }
.event-ornament { position:absolute; z-index:1; right:5%; top:7%; width:72px; height:72px; opacity:.3; animation: ornamentFloat 5s ease-in-out infinite; }
.dress-floral-left { z-index:1; left:-3%; top:7%; width:min(27vw,180px); height:170px; opacity:.32; animation: floralSway 7s ease-in-out infinite; }
.dress-floral-right { z-index:1; right:-3%; bottom:7%; width:min(27vw,180px); height:170px; opacity:.32; animation: floralSway 8s ease-in-out infinite reverse; }
.dress-models { position:relative; z-index:2; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; max-width:430px; margin:30px auto 22px; }
.dress-model-slot { position:relative; width:100%; aspect-ratio:3/4; border:1px solid rgba(216,141,169,.16); background:rgba(255,244,248,.35); }
.dress-model-slot span, .detail-mini-slot span { position:absolute; inset:auto 0 8px; text-align:center; font:500 .5rem var(--font-sans); letter-spacing:1.5px; color:rgba(184,95,131,.32); }
.dress-details-assets { position:relative; z-index:2; display:flex; justify-content:center; align-items:center; gap:28px; margin:12px auto 4px; }
.detail-mini-slot { position:relative; width:70px; height:58px; opacity:.82; }
.detail-mini-slot span { bottom:-9px; }
.gift-emblem.asset-slot { position:relative; width:92px; height:78px; margin:24px auto 6px; border:1px solid rgba(216,141,169,.38); background:rgba(255,244,248,.5); }
.rsvp-tiara { z-index:1; right:5%; top:9%; width:82px; height:58px; opacity:.24; animation: tiaraFloat 5s ease-in-out infinite; }
.rsvp-shoe { z-index:1; left:4%; bottom:8%; width:105px; height:75px; opacity:.23; animation: shoeFloat 6s ease-in-out infinite; }
.footer-shoe { z-index:1; right:4%; bottom:5%; width:145px; height:115px; opacity:.38; animation: shoeFloat 6s ease-in-out infinite; }
.footer-castle { z-index:1; left:3%; bottom:0; width:190px; height:145px; opacity:.18; animation: castleFloat 8s ease-in-out infinite reverse; }

@keyframes castleFloat { 0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)} }
@keyframes tiaraFloat { 0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-5px) rotate(1deg)} }
@keyframes sparkleFloat { 0%,100%{transform:translate(0,0) rotate(0);opacity:.32}50%{transform:translate(5px,-9px) rotate(10deg);opacity:.72} }
@keyframes clockFloat { 0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-7px) rotate(1deg)} }
@keyframes ornamentFloat { 0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)} }
@keyframes floralSway { 0%,100%{transform:translateX(0) rotate(0)}50%{transform:translateX(5px) rotate(1deg)} }
@keyframes shoeFloat { 0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-7px) rotate(-1deg)} }

.section { scroll-margin-top: 0; }
.section:not(.section-footer)::after { border-color:rgba(184,95,131,.055); }
.section-countdown::before { background:radial-gradient(circle at 18% 35%,rgba(243,199,216,.22),transparent 28%),radial-gradient(circle at 85% 68%,rgba(248,220,232,.12),transparent 25%),linear-gradient(120deg,rgba(255,244,248,.86),transparent 48%,rgba(255,244,248,.48)); }
.section-story::before { background:radial-gradient(circle at 78% 25%,rgba(248,220,232,.2),transparent 28%),linear-gradient(135deg,rgba(255,244,248,.9),rgba(255,244,248,.55)); }
.section-details::before { background:radial-gradient(circle at 10% 70%,rgba(248,220,232,.18),transparent 25%),radial-gradient(circle at 90% 25%,rgba(243,199,216,.1),transparent 22%),linear-gradient(120deg,#FFF4F8,rgba(255,244,248,.72)); }
.section-dresscode::before { background:radial-gradient(circle at 15% 20%,rgba(248,220,232,.22),transparent 28%),radial-gradient(circle at 85% 80%,rgba(248,220,232,.2),transparent 28%),linear-gradient(135deg,#FFF4F8,rgba(255,244,248,.72)); }
.section-gift::before { background:radial-gradient(circle at 50% 15%,rgba(255,244,248,.95),transparent 35%),linear-gradient(145deg,rgba(255,244,248,.72),rgba(255,244,248,.9)); }
.section-rsvp::before { background:radial-gradient(circle at 18% 75%,rgba(248,220,232,.18),transparent 25%),radial-gradient(circle at 82% 20%,rgba(248,220,232,.1),transparent 25%),linear-gradient(120deg,#FFF4F8,rgba(255,244,248,.7)); }

@media (max-width: 480px) {
    .envelope-wrapper { width:92%; }
    .envelope-container { aspect-ratio:4/3; }
    .envelope-text-top { font-size:.7rem; letter-spacing:3px; }
    .envelope-text-top .invitation-label { letter-spacing:4px; }
    .envelope-text-bottom { font-size:.7rem; letter-spacing:2px; }
    .wax-seal { width:62px; height:62px; }
    .seal-inner { width:47px; height:47px; }
    .seal-initials { font-size:1.65rem; }
    .dress-models { gap:10px; margin-top:24px; }
    .detail-mini-slot { width:58px; height:50px; }
    .countdown-sparkles { width:58px; height:58px; left:2%; }
    .countdown-clock-art { width:90px; height:90px; right:1%; }
    .footer-shoe { width:105px; height:82px; right:1%; }
    .footer-castle { width:140px; height:105px; left:0; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-castle-slot,.hero-tiara-slot,.countdown-sparkles,.countdown-clock-art,.event-ornament,.dress-floral-left,.dress-floral-right,.rsvp-tiara,.rsvp-shoe,.footer-shoe,.footer-castle { animation:none !important; }
}

.section:not(.section-footer) {
    background-color: #FFF4F8;
}
.section:not(.section-footer)::before {
    opacity: 1;
}
.section-hero::before {
    background:
        radial-gradient(circle at 18% 28%, rgba(248,220,232,.34), transparent 30%),
        radial-gradient(circle at 84% 74%, rgba(255,244,248,.22), transparent 28%),
        linear-gradient(125deg, rgba(255,244,248,.88), rgba(255,244,248,.78));
}
.section-countdown::before {
    background:
        radial-gradient(circle at 18% 35%, rgba(243,199,216,.30), transparent 28%),
        radial-gradient(circle at 85% 68%, rgba(248,220,232,.16), transparent 25%),
        linear-gradient(120deg, rgba(255,244,248,.82), rgba(255,244,248,.74));
}
.section-story::before {
    background:
        radial-gradient(circle at 78% 25%, rgba(248,220,232,.30), transparent 28%),
        radial-gradient(circle at 18% 78%, rgba(255,244,248,.15), transparent 24%),
        linear-gradient(135deg, rgba(255,244,248,.86), rgba(255,244,248,.72));
}
.section-details::before {
    background:
        radial-gradient(circle at 10% 70%, rgba(248,220,232,.28), transparent 25%),
        radial-gradient(circle at 90% 25%, rgba(243,199,216,.14), transparent 22%),
        linear-gradient(120deg, rgba(255,244,248,.84), rgba(255,244,248,.72));
}
.section-dresscode::before {
    background:
        radial-gradient(circle at 15% 20%, rgba(248,220,232,.30), transparent 28%),
        radial-gradient(circle at 85% 80%, rgba(248,220,232,.25), transparent 28%),
        linear-gradient(135deg, rgba(255,244,248,.84), rgba(255,244,248,.70));
}
.section-gift::before {
    background:
        radial-gradient(circle at 50% 15%, rgba(255,244,248,.88), transparent 35%),
        radial-gradient(circle at 12% 80%, rgba(248,220,232,.22), transparent 24%),
        linear-gradient(145deg, rgba(255,244,248,.72), rgba(255,244,248,.84));
}
.section-rsvp::before {
    background:
        radial-gradient(circle at 18% 75%, rgba(248,220,232,.27), transparent 25%),
        radial-gradient(circle at 82% 20%, rgba(248,220,232,.14), transparent 25%),
        linear-gradient(120deg, rgba(255,244,248,.84), rgba(255,244,248,.72));
}

.hero-castle-slot,
.hero-tiara-slot,
.countdown-sparkles,
.countdown-clock-art,
.dress-floral-left,
.dress-floral-right,
.gift-floral,
.rsvp-tiara,
.rsvp-shoe,
.footer-shoe,
.footer-castle {
    z-index: 5;
}

.hero-castle-slot { opacity: .16; }
.hero-tiara-slot { opacity: .30; }
.countdown-sparkles { opacity: .58; }
.countdown-clock-art { opacity: .22; }
.dress-floral-left,
.dress-floral-right { opacity: .43; }
.gift-floral { opacity: .34; }
.rsvp-tiara { opacity: .28; }
.rsvp-shoe { opacity: .28; }
.footer-shoe { opacity: .42; top: 11%; bottom: auto; }
.footer-castle { opacity: .20; }

.illustration-frame,
.asset-frame {
    overflow: hidden;
}
.asset-frame .asset-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

.dress-models {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 430px;
    margin: 30px auto 26px;
    min-height: 0;
}
.dress-model-card {
    min-width: 0;
    text-align: center;
    position: relative;
}
.dress-model-slot {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border: 1px solid rgba(216,141,169,.16);
    background: rgba(255,244,248,.30);
    overflow: hidden;
}
.dress-model-slot > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center center;
    padding: 10px 10px 14px;
}
.dress-model-card > span {
    display: block;
    margin-top: 8px;
    color: rgba(184,95,131,.48);
    font: 500 .52rem var(--font-sans);
    letter-spacing: 1.5px;
}

.dress-details-assets { display: none !important; }

.gift-floral { pointer-events: none; }
.gift-emblem.asset-slot { z-index: 4; overflow: visible; }

@media (max-width: 560px) {
    .dress-models { gap: 10px; margin-top: 24px; }
    .dress-model-slot > img { padding: 8px 7px 12px; }
    .dress-model-card > span { font-size: .45rem; letter-spacing: 1.1px; }
    .dress-floral-left { left: 0; width: 112px; height: 118px; }
    .dress-floral-right { right: 0; width: 112px; height: 118px; }
    .footer-shoe { width: 105px; height: 82px; right: 2%; top: 9%; bottom: auto; }
}

.paper-pattern { opacity: .10; }
.paper-pattern img { object-fit: cover; object-position: center; }
.hero-castle-slot { right: 1%; bottom: 3%; width: 175px; height: 195px; }
.dress-floral-left { left: 0; bottom: 7%; width: 150px; height: 155px; }
.dress-floral-right { right: 0; top: 7%; width: 150px; height: 155px; }
.footer-castle { left: 2%; bottom: 1%; width: 170px; height: 205px; transform: none; }

@media (max-width: 560px) {
    .hero-castle-slot { right: 0; width: 150px; height: 175px; }
    .dress-floral-left { left: 0; width: 105px; height: 112px; }
    .dress-floral-right { right: 0; width: 105px; height: 112px; }
    .footer-castle { left: 0; width: 125px; height: 150px; }
}
#envelope-intro {
    background: radial-gradient(ellipse at 50% 100%, #F3C7D8 0%, #D88DA9 68%, #C87598 100%);
}

.envelope-back {
    background: linear-gradient(145deg, #D88DA9, #C87598);
}

.envelope-flap {
    background: linear-gradient(180deg, #D88DA9 0%, #C87598 100%);
}

.envelope-bottom {
    background: linear-gradient(180deg, #C87598, #C87598);
}

.envelope-left {
    background: linear-gradient(135deg, #D88DA9, #C87598);
}

.envelope-right {
    background: linear-gradient(225deg, #D88DA9, #C87598);
}

.envelope-top {
    background: linear-gradient(180deg, #F3C7D8, #C87598);
}

.rsvp-note {
    margin-top: 20px;
    padding: 10px 14px;
    border: 1px solid rgba(216,141,169,.28);
    background: rgba(243,199,216,.28);
    color: #C87598;
    font-weight: 600;
    font-style: normal;
    letter-spacing: .25px;
    box-shadow: 0 6px 18px rgba(200,117,152,.08);
}

.section-footer {
    background: linear-gradient(180deg, #D88DA9, #C87598);
}

.section-footer::before {
    background: radial-gradient(circle at 50% 35%, rgba(255,244,248,.16), transparent 42%), linear-gradient(180deg, #D88DA9, #C87598);
}

.signature-line {
    background: #C87598;
}


.envelope-text-top {
    color: #B85F83;
    font-weight: 600;
    font-size: .98rem;
    letter-spacing: 4.5px;
    text-shadow: 0 1px 6px rgba(255,244,248,.55);
}
.envelope-text-top .ornament-line {
    color: #C87598;
    font-size: 1.35rem;
    opacity: 1;
}
.envelope-text-top .invitation-label {
    color: #B85F83;
    font-weight: 700;
    letter-spacing: 6px;
    text-shadow: 0 1px 5px rgba(255,244,248,.65);
}
.envelope-text-bottom {
    color: #B85F83;
    font-weight: 600;
    font-size: .92rem;
    letter-spacing: 3px;
    text-shadow: 0 1px 6px rgba(255,244,248,.65);
}

.dress-models {
    display: flex;
    justify-content: center;
    margin: 30px auto 26px;
    max-width: 300px;
}
.dress-model-card {
    width: 100%;
}
.dress-model-slot.dress-model-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    border: 1px solid rgba(216,141,169,.32);
    background:
        radial-gradient(circle at 50% 42%, rgba(243,199,216,.22), transparent 42%),
        linear-gradient(145deg, rgba(248,220,232,.32), rgba(255,244,248,.58));
    position: relative;
}
.dress-model-slot.dress-model-placeholder::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(216,141,169,.22);
    pointer-events: none;
}
.dress-model-slot.dress-model-placeholder::after {
    content: '✦';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: rgba(200,117,152,.35);
    font: 1.35rem var(--font-serif);
}
.dress-model-card > span {
    display: none;
}

.rsvp-options {
    border: 0;
    margin: 22px 0 0;
    padding: 0;
}
.rsvp-options legend {
    width: 100%;
    margin-bottom: 10px;
    color: #B85F83;
    font: 500 .68rem var(--font-sans);
    letter-spacing: 1.7px;
    text-transform: uppercase;
}
.rsvp-option {
    display: block;
    position: relative;
    cursor: pointer;
    margin-bottom: 10px;
}
.rsvp-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.rsvp-option-card {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border: 1px solid rgba(216,141,169,.3);
    background: rgba(255,244,248,.7);
    color: #C87598;
    font: 500 .8rem var(--font-sans);
    letter-spacing: .4px;
    transition: border-color .25s ease, background .25s ease, transform .2s ease, box-shadow .25s ease;
}
.rsvp-option:hover .rsvp-option-card {
    transform: translateY(-1px);
    border-color: rgba(200,117,152,.5);
}
.rsvp-option input:checked + .rsvp-option-card {
    border-color: #C87598;
    background: rgba(248,220,232,.72);
    color: #B85F83;
    box-shadow: 0 6px 18px rgba(184,95,131,.08);
}
.rsvp-option input:focus-visible + .rsvp-option-card {
    outline: 3px solid rgba(216,141,169,.3);
    outline-offset: 2px;
}
.rsvp-option-dot {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    border: 1.5px solid #D88DA9;
    border-radius: 50%;
    display: grid;
    place-items: center;
}
.rsvp-option-dot::after {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #C87598;
    transform: scale(0);
    transition: transform .2s ease;
}
.rsvp-option input:checked + .rsvp-option-card .rsvp-option-dot::after {
    transform: scale(1);
}
.rsvp-single {
    margin: 18px 0 2px;
    padding: 11px 14px;
    border: 1px solid rgba(200,117,152,.28);
    background: rgba(248,220,232,.62);
    color: #B85F83;
    text-align: center;
    font: 600 .68rem var(--font-sans);
    letter-spacing: 1.3px;
}
.rsvp-note {
    border-color: rgba(216,141,169,.28);
    background: rgba(243,199,216,.28);
    color: #C87598;
}

.reserved-note {
    border-top-color: rgba(201,166,91,.38);
}
.reserved-note strong { color: #8491a7; }
.reserved-note span { color: #1d376f; }
.reserved-note small { color: #8c93a1; }
.color-palette .swatch.sky { background: linear-gradient(145deg, #F9D8E5, #EFAFC8 52%, #FCEAF1); }
.color-palette .swatch.silver { background: linear-gradient(145deg, #B7D4F0, #8FB9E2 52%, #D7E8F8); }
.color-palette .swatch {
    box-shadow: inset 0 1px 5px rgba(255,255,255,.75), 0 8px 18px rgba(42,65,105,.08);
}

@media (max-width: 560px) {
    .envelope-text-top {
        font-size: .84rem;
        letter-spacing: 3.5px;
    }
    .envelope-text-top .invitation-label {
        letter-spacing: 4.5px;
    }
    .envelope-text-bottom {
        font-size: .82rem;
        letter-spacing: 2.2px;
    }
    .dress-models {
        max-width: 260px;
        margin-top: 24px;
    }
    .rsvp-option-card {
        min-height: 50px;
    }
}

.section-story {
    padding-top: clamp(46px, 6vw, 68px);
    padding-bottom: clamp(48px, 7vw, 72px);
    border-top: 2px solid rgba(200,117,152,.24);
    border-bottom: 1px solid rgba(200,117,152,.14);
}
.section-story .script-heading {
    text-shadow: 0 2px 14px rgba(200,117,152,.10);
}
.section-story .ornamental-divider.small {
    margin-top: 10px;
    margin-bottom: 20px;
}
.section-story .story-copy {
    max-width: 520px;
    margin: 0 auto;
    color: #C87598;
    font-size: clamp(1rem, 2.6vw, 1.18rem);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: .15px;
    text-wrap: balance;
    text-shadow: 0 1px 8px rgba(255,244,248,.45);
}
.section + .section {
    border-top: 2px solid rgba(200,117,152,.24);
}
#magic-particles {
    z-index: 15;
    opacity: .9;
}
.magic-particle {
    z-index: 1;
}
.magic-particle.gold {
    box-shadow: 0 0 9px 2px rgba(243,199,216,.38);
}
.magic-particle.ice {
    box-shadow: 0 0 9px 2px rgba(248,220,232,.42);
}
.section-inner {
    z-index: 30;
}
.section-footer .section-inner {
    z-index: 30;
}
.section-footer {
    border-top-color: rgba(255,244,248,.24);
}
.countdown-note {
    color: #C87598;
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 0 1px 8px rgba(255,244,248,.5);
}
@media (max-width: 560px) {
    .section-story {
        padding-top: 42px;
        padding-bottom: 50px;
    }
    .section-story .story-copy {
        max-width: 330px;
        font-size: 1rem;
        line-height: 1.6;
    }
    .section + .section {
        border-top-width: 2px;
    }
}

.envelope-text-top .invitation-label {
    font-family: var(--font-serif);
    text-shadow: 0 2px 12px rgba(255,244,248,.6);
}
.envelope-text-bottom {
    text-shadow: 0 2px 10px rgba(255,244,248,.55);
}

.card-surface,
.event-card {
    position: relative;
    overflow: visible;
}

.card-floral {
    position: absolute;
    width: 118px;
    height: 118px;
    z-index: 8;
    pointer-events: none;
    opacity: .38;
    animation: floralSway 7s ease-in-out infinite;
}

.card-floral img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-floral-left {
    left: -24px;
    top: -24px;
}

.card-floral-right {
    right: -24px;
    top: -24px;
    animation-delay: -.9s;
    animation-direction: reverse;
}

.dress-card .card-floral-left,
.dress-card .card-floral-right {
    opacity: .46;
}

.rsvp-card .card-floral {
    opacity: .32;
}

.rsvp-card {
    position: relative;
}

.rsvp-card > .script-heading,
.rsvp-card > .ornamental-divider,
.rsvp-card > .body-copy,
.rsvp-card > .rsvp-form {
    position: relative;
    z-index: 10;
}

@media (max-width: 560px) {
    .card-floral {
        width: 92px;
        height: 92px;
    }

    .card-floral-left {
        left: -18px;
        top: -18px;
    }

    .card-floral-right {
        right: -18px;
        top: -18px;
    }

    .dress-card .card-floral {
        width: 96px;
        height: 96px;
    }

    .rsvp-card .card-floral {
        opacity: .29;
    }
}


/* Emojis Baby Pink: más visibles, grandes y con movimiento suave pero perceptible */
.floating-emoji-layer { position: fixed; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; opacity: 1; }
.float-emoji { position: absolute; display: block; font-family: system-ui, sans-serif; font-size: clamp(42px, 5.5vw, 58px); line-height: 1; opacity: .10; filter: saturate(.82); animation: babyFloat 7.5s ease-in-out infinite; will-change: transform; }
.float-emoji.e1 { left: 4%; top: 13%; animation-delay: -2s; font-size: 46px; }
.float-emoji.e2 { left: 88%; top: 20%; animation-delay: -4s; font-size: 42px; }
.float-emoji.e3 { left: 8%; top: 42%; animation-delay: -1s; font-size: 40px; }
.float-emoji.e4 { left: 91%; top: 49%; animation-delay: -6s; font-size: 48px; }
.float-emoji.e5 { left: 83%; top: 67%; animation-delay: -3s; font-size: 40px; }
.float-emoji.e6 { left: 4%; top: 77%; animation-delay: -5s; font-size: 44px; }
.float-emoji.e7 { left: 89%; top: 88%; animation-delay: -7s; font-size: 42px; }
.float-emoji.e8 { left: 18%; top: 92%; animation-delay: -2.5s; font-size: 40px; }
.float-emoji.e9 { left: 76%; top: 34%; animation-delay: -4.5s; font-size: 38px; }
.float-emoji.e10 { left: 93%; top: 7%; animation-delay: -.5s; font-size: 43px; }
@keyframes babyFloat { 0%,100% { transform: translate3d(0,0,0) rotate(-10deg) scale(.96); } 50% { transform: translate3d(22px,-34px,0) rotate(12deg) scale(1.06); } }
/* Mantener la decoración detrás del contenido, pero visible sobre el fondo. */
.section-inner { z-index: 3; }
.tiny-crown { display: none !important; }

#magic-particles { display: none !important; }
@media (prefers-reduced-motion: reduce) { .float-emoji { animation: none !important; } }


/* Placeholders de fotografía pendientes */
.story-photo-slot {
    position: relative;
    width: min(100%, 340px);
    aspect-ratio: 4 / 5;
    margin: 26px auto 22px;
    border: 1px solid rgba(216,141,169,.30);
    border-radius: 4px;
    background: radial-gradient(circle at 50% 40%, rgba(243,199,216,.20), transparent 45%), linear-gradient(145deg, rgba(248,220,232,.28), rgba(255,255,255,.72));
    box-shadow: 0 12px 30px rgba(160,105,126,.08);
    overflow: hidden;
}
.story-photo-slot > img { width:100%; height:100%; object-fit:cover; display:block; }
.story-photo-slot .story-photo-label {
    position:absolute; inset:auto 0 12px; text-align:center; color:rgba(184,95,131,.7);
    font:500 .65rem var(--font-sans); letter-spacing:1.5px;
}
.story-photo-slot:has(img[style*="display: none"]) { display:grid; place-items:center; }
.story-photo-slot:has(img[style*="display: none"]) .story-photo-label { inset:0; display:grid; place-items:center; }
.dress-model-slot.dress-model-placeholder > img { display:block; }


/* Ajustes finales: fotografía completa, vestimenta dentro del marco y tarjeta de nueva etapa */
.story-photo-slot {
    display: grid;
    place-items: center;
}
.story-photo-slot > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.story-photo-slot .story-photo-label {
    display: none !important;
}
.dress-model-slot.dress-model-placeholder > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    padding: 24px 22px 30px;
}
.rsvp-card > .eyebrow,
.rsvp-card > .script-heading,
.rsvp-card > .ornamental-divider,
.rsvp-card > .body-copy {
    position: relative;
    z-index: 10;
}
.rsvp-card > .script-heading {
    margin-top: 18px;
}
.rsvp-card > .body-copy {
    max-width: 440px;
    margin: 22px auto 0;
    text-align: center;
    line-height: 1.9;
}
