:root {
    --ivory: #fffaf4;
    --cream: #f8eee4;
    --sand: #ead5c1;
    --tan: #c59a77;
    --brown: #81573d;
    --deep: #65422f;
    --text: #6b4b3b;
    --white: #fffdf9
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: radial-gradient(ellipse at 12% 20%, #fff8f0, transparent 35%), radial-gradient(ellipse at 90% 80%, #ead7c3, transparent 36%), #efe2d6;
    color: var(--text);
    font-family: "Cormorant Garamond", Georgia, serif;
    -webkit-font-smoothing: antialiased
}

button,
input,
select {
    font: inherit
}

button,
a {
    -webkit-tap-highlight-color: transparent
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid #be8b60;
    outline-offset: 3px
}

a {
    color: inherit
}

.phone-shell {
    width: min(100%, 430px);
    margin: 28px auto 15px;
    box-shadow: 0 14px 55px #70533a30, 0 2px 12px #70533a14;
    border: 1px solid #dfc5ae;
    border-radius: 16px;
    overflow: hidden
}

.invitation {
    position: relative;
    overflow: hidden;
    background: linear-gradient(105deg, #fffaf5 0%, #fffdf9 46%, #fcf5ed 100%);
    text-align: center;
    isolation: isolate
}

.invitation:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .18;
    z-index: -1;
    background-image: radial-gradient(#b99276 .55px, transparent .55px);
    background-size: 5px 5px
}

.gingham {
    height: 23px;
    background-color: #fff4e9;
    background-image: linear-gradient(90deg, #c99e7b29 50%, transparent 50%), linear-gradient(#c99e7b29 50%, transparent 50%);
    background-size: 25px 25px
}

.gingham-top {
    height: 14px
}

.gingham-divider {
    height: 42px;
    mask-image: linear-gradient(#000 75%, transparent)
}

.gingham-bottom {
    height: 24px
}

.bunting {
    display: flex;
    position: absolute;
    z-index: 2;
    top: 21px;
    left: -12px;
    width: 69%;
    height: 58px;
    gap: 3px;
    align-items: start;
    transform: rotate(-8deg);
    border-top: 2px solid #c2a285;
    border-radius: 50%
}

.bunting i {
    display: block;
    width: 24px;
    height: 32px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
    background-color: #e4d0b9;
    background-image: linear-gradient(90deg, #aa856140 50%, transparent 50%), linear-gradient(#aa856140 50%, transparent 50%);
    background-size: 10px 10px
}

.bunting i:nth-child(even) {
    height: 27px
}

.music-toggle {
    position: absolute;
    top: 16px;
    right: 17px;
    z-index: 5;
    width: 43px;
    height: 43px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #bc936c, #8b6042);
    box-shadow: 0 4px 12px #78513b45;
    font-size: 25px;
    cursor: pointer;
    display: grid;
    place-items: center
}

.music-toggle.playing {
    animation: musicPulse 2s infinite
}

.sparkle {
    position: absolute;
    color: #d6a970;
    font-size: 23px;
    pointer-events: none;
    z-index: 1
}

.star-a {
    top: 148px;
    left: 23px
}

.star-b {
    top: 340px;
    right: 23px
}

.star-c {
    top: 640px;
    left: 27px
}

.cover {
    position: relative;
    padding: 87px 34px 34px;
    min-height: 720px
}

.hero-bear {
    display: block;
    width: 100%;
    height: 296px;
    object-fit: contain;
    margin: 0 auto -6px;
    mix-blend-mode: multiply;
    filter: drop-shadow(0 7px 7px #b18b6730)
}

.eyebrow {
    font-size: 16px;
    letter-spacing: .04em;
    margin: 9px 0 0;
    color: #9d8069
}

.baby-title {
    font-weight: 500;
    color: #906446;
    font-size: clamp(78px, 22vw, 112px);
    line-height: .85;
    margin: 14px 0 10px;
    letter-spacing: -.04em
}

.fine-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #9f7556;
    font-size: 25px;
    line-height: 1
}

.fine-divider:before,
.fine-divider:after {
    content: "";
    display: block;
    width: 67px;
    border-top: 1px solid #b68c6b
}

.fine-divider.mini {
    margin: 3px 0 13px
}

.script-title {
    font-family: "Great Vibes", cursive;
    font-size: clamp(52px, 14vw, 68px);
    line-height: 1.05;
    color: #89583d;
    margin: 12px 0 12px;
    font-weight: 400
}

.ribbon {
    background: #f2dbc0;
    clip-path: polygon(0 10%, 8% 45%, 0 90%, 100% 90%, 92% 45%, 100% 10%);
    padding: 14px 21px 17px;
    max-width: 310px;
    margin: auto;
    font-size: 23px;
    line-height: .98;
    color: #674630
}

.little-heart {
    font-size: 24px;
    margin: 8px 0 0
}

.intro {
    font-size: 21px;
    line-height: 1.04;
    max-width: 320px;
    margin: 11px auto 19px
}

.scroll-down {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    text-decoration: none;
    color: #8d6646;
    font-family: "DM Sans", sans-serif;
    font-size: 10px;
    letter-spacing: .07em;
    text-transform: uppercase
}

.scroll-down span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    background: #97704f;
    border-radius: 50%;
    color: #fff;
    font: 30px/1 Georgia;
    animation: bob 2s infinite
}

.cloud {
    position: absolute;
    background: #fff;
    filter: drop-shadow(0 5px 7px #e0cbb4);
    border-radius: 50%;
    opacity: .64;
    pointer-events: none
}

.cloud:before,
.cloud:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: inherit
}

.cloud-one {
    width: 75px;
    height: 27px;
    top: 193px;
    left: -28px
}

.cloud-one:before {
    width: 40px;
    height: 43px;
    top: -19px;
    left: 7px
}

.cloud-one:after {
    width: 44px;
    height: 38px;
    top: -16px;
    left: 33px
}

.cloud-two {
    width: 76px;
    height: 30px;
    top: 345px;
    right: -25px
}

.cloud-two:before {
    width: 40px;
    height: 40px;
    top: -18px;
    left: 5px
}

.cloud-two:after {
    width: 42px;
    height: 39px;
    top: -16px;
    left: 32px
}

.section-block {
    position: relative;
    padding: 38px 33px
}

.parents {
    padding-top: 16px;
    padding-bottom: 33px
}

.sm-copy {
    font-size: 21px;
    line-height: 1.04;
    margin: 8px auto 12px;
    max-width: 270px
}

.section-heading {
    font-size: 28px;
    line-height: .96;
    font-weight: 500;
    color: #8e6346;
    margin: 10px 0
}

.parent-names {
    color: #81593f;
    font-size: 34px;
    line-height: 1.01;
    font-weight: 500;
    margin: 10px 0
}

.parent-names span {
    display: block
}

.parent-names b {
    display: block;
    font-weight: 400;
    font-size: 30px;
    margin: 0
}

.parent-message {
    margin-top: 18px
}

.baby-feet {
    color: #c79c7b;
    letter-spacing: 10px;
    font-size: 27px;
    transform: rotate(-20deg)
}

.pair-bears {
    display: block;
    object-fit: contain;
    mix-blend-mode: multiply;
    width: 100%;
    height: 300px;
    margin: 0 auto
}

.with-love {
    font-size: 22px;
    line-height: 1;
    margin: 3px 0 7px
}

.with-love em {
    font-family: "Great Vibes", cursive;
    font-style: normal;
    font-size: 36px
}

.event {
    padding: 0 22px 8px
}

.event .gingham-divider {
    margin: 0 -22px 1px
}

.arched-card {
    background: linear-gradient(180deg, #fffdf9, #fff8f0);
    border: 1px solid #dec7ae;
    border-top: 4px double #c7a079;
    border-radius: 48% 48% 28px 28px/16% 16% 25px 25px;
    box-shadow: 0 7px 25px #95735c12;
    padding: 27px 13px 21px;
    position: relative
}

.arch-heart {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    color: #9f7455;
    font-size: 24px
}

.arched-card h2 {
    font-size: 35px;
    font-weight: 500;
    line-height: .84;
    color: #8d5e40;
    margin: 12px 0 15px
}

.small-upper {
    font-size: 24px;
    margin: 8px 0;
    color: #92684a;
    letter-spacing: .12em
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 3px;
    background: #f5e5d5;
    border: 1px solid #efdbc8;
    border-radius: 22px;
    padding: 10px 6px;
    margin: 0 auto 2px;
    max-width: 350px
}

.countdown div {
    flex: 1;
    min-width: 0
}

.countdown strong {
    display: block;
    font-size: clamp(29px, 9vw, 40px);
    line-height: 1;
    font-weight: 500;
    color: #80573f;
    font-variant-numeric: tabular-nums
}

.countdown small {
    display: block;
    font-size: 9px;
    letter-spacing: .03em;
    font-family: "DM Sans", sans-serif;
    margin-top: 7px
}

.countdown>span {
    font-size: 30px;
    line-height: .85
}

.event-ended {
    color: #9a6a49;
    font-size: 20px
}

.event-details {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    margin: 26px 0 17px;
    font-size: 20px;
    line-height: .95
}

.detail {
    display: flex;
    align-items: center;
    gap: 8px
}

.detail strong {
    font-weight: 600
}

.detail-icon {
    font-size: 33px;
    color: #9e704d
}

.location-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    font-size: 20px;
    line-height: 1.08;
    padding: 0 50px 30px
}

.location-block strong {
    font-size: 25px;
    color: #80573e;
    font-weight: 600
}

.pin-icon {
    font-size: 27px;
    color: #ad7f5c
}

.maps-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 12px 22px;
    border: 1px solid #c69c7d;
    border-radius: 999px;
    background: #fffaf4;
    color: #80573e;
    font: 600 13px "DM Sans", sans-serif;
    letter-spacing: .04em;
    text-decoration: none;
    box-shadow: 0 3px 0 #fff, 0 5px 12px #76503a1f;
    transition: transform .2s, box-shadow .2s
}

.maps-button:active {
    transform: translateY(2px)
}

.maps-button .lucide {
    width: 16px;
    height: 16px;
    stroke-width: 1.9
}

.side-balloon {
    position: absolute;
    right: 0;
    bottom: 2px;
    width: 78px;
    height: 129px;
    object-fit: contain;
    mix-blend-mode: multiply;
    opacity: .78;
    pointer-events: none
}

.details {
    padding-top: 25px
}

.badge-icon {
    font-size: 37px;
    color: #ac8261
}

.details .section-heading {
    font-size: 29px
}

.details p {
    font-size: 22px;
    margin: 8px auto
}

.color-swatches {
    display: flex;
    justify-content: center;
    gap: 13px;
    margin: 20px 0 25px
}

.color-swatches i {
    display: block;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #d9c2a8;
    box-shadow: 0 2px 5px #a4856433
}

.decorative-rule {
    color: #be966f;
    font-size: 20px;
    margin: 18px auto 25px
}

.gift-symbol {
    font-size: 40px;
    color: #b88d68
}

.details .gift-text {
    font-size: 21px;
    line-height: 1.08;
    max-width: 315px
}

.rsvp {
    padding-top: 31px;
    padding-bottom: 35px
}

.rsvp-title {
    font-size: 58px
}

.rsvp>p:not(.farewell) {
    font-size: 21px;
    line-height: 1.05;
    max-width: 320px;
    margin: 14px auto
}

.primary-button {
    border: 2px solid #fff6ed;
    background: linear-gradient(135deg, #b78d69, #8f6346);
    color: white;
    border-radius: 35px;
    padding: 16px 20px;
    box-shadow: 0 4px 0 #8e63482c, 0 6px 20px #9e7b6230;
    font: 600 14px/1.2 "DM Sans", sans-serif;
    letter-spacing: .03em;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    max-width: 100%;
    width: 100%
}

.primary-button:active {
    transform: translateY(2px);
    box-shadow: 0 2px 8px #9e7b6230
}

.primary-button span {
    font-size: 18px;
    margin-left: 6px
}

.mail-art {
    font-size: 49px;
    color: #bb916e;
    transform: rotate(-12deg);
    margin: 18px auto 0
}

.final-bear {
    width: 380px;
    height: 350px;
    object-fit: contain;
    mix-blend-mode: multiply;
    display: block;
    margin: 2px auto
}

.farewell {
    font-family: "Great Vibes", cursive;
    font-size: 69px;
    color: #895d40;
    line-height: 1;
    margin: 0 0 10px
}

.footer {
    font: 11px/1.5 "DM Sans", sans-serif;
    background: #f7ebdf;
    padding: 12px;
    color: #967963
}

.footer a {
    font-weight: 700;
    text-decoration: none
}

.desktop-brand {
    text-align: center;
    margin-top: 24px;
    font-family: "Great Vibes", cursive;
    color: #a27c5d;
    font-size: 37px
}

.desktop-brand span {
    font-size: 15px;
    vertical-align: middle;
    margin: 0 10px
}

.desktop-note {
    text-align: center;
    color: #aa876c;
    font: 12px "DM Sans", sans-serif;
    letter-spacing: .03em;
    margin: 0 0 28px
}

.rsvp-dialog {
    padding: 0;
    border: 0;
    border-radius: 24px;
    width: min(calc(100% - 35px), 400px);
    box-shadow: 0 25px 100px #40291e55;
    background: #fffaf4;
    color: var(--text)
}

.rsvp-dialog::backdrop {
    background: #3e2c2580;
    backdrop-filter: blur(5px)
}

.dialog-content {
    position: relative;
    padding: 27px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.dialog-content h2 {
    font-size: 35px;
    text-align: center;
    font-weight: 500;
    color: var(--brown);
    margin: 0
}

.dialog-content>p {
    font-size: 20px;
    text-align: center;
    margin: 0 0 10px
}

.dialog-content .dialog-heart {
    font-size: 28px;
    margin: 0
}

.dialog-content label {
    font: 600 12px "DM Sans", sans-serif;
    margin-top: 7px
}

.dialog-content input,
.dialog-content select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #dcc4af;
    border-radius: 10px;
    background: white;
    padding: 13px;
    color: var(--deep);
    font: 15px "DM Sans", sans-serif;
    line-height: 1.2
}

.dialog-content select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2380573e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 38px
}

.dialog-content .primary-button {
    margin-top: 14px
}

.dialog-content .form-hint {
    font: 12px "DM Sans", sans-serif;
    color: #a1846d;
    margin: 4px 0 0
}

.close-dialog {
    position: absolute;
    right: 11px;
    top: 8px;
    border: none;
    background: transparent;
    font-size: 31px;
    color: #a17f62;
    cursor: pointer
}

/* Iconografía: Lucide reemplaza símbolos dependientes de la tipografía. */
.lucide {
    display: block;
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round
}

.music-toggle .lucide {
    width: 22px;
    height: 22px;
    stroke-width: 2
}

.sparkle {
    width: 23px;
    height: 23px
}

.fine-divider .lucide {
    width: 21px;
    height: 21px;
    stroke-width: 1.45
}

.little-heart .lucide {
    width: 22px;
    height: 22px;
    margin: auto
}

.scroll-down span {
    font: inherit
}

.scroll-down span .lucide {
    width: 21px;
    height: 21px;
    stroke-width: 2.2
}

.baby-feet {
    display: flex;
    justify-content: center;
    letter-spacing: 0;
    transform: rotate(-8deg)
}

.baby-feet .lucide {
    width: 34px;
    height: 34px;
    stroke-width: 1.5
}

.arch-heart {
    width: 22px;
    height: 22px;
    stroke-width: 1.5
}

.detail-icon {
    flex: 0 0 auto;
    width: 29px;
    height: 29px;
    stroke-width: 1.6
}

.pin-icon {
    width: 27px;
    height: 27px;
    stroke-width: 1.6
}

.badge-icon,
.gift-symbol,
.mail-art {
    display: flex;
    justify-content: center
}

.badge-icon .lucide {
    width: 36px;
    height: 36px;
    stroke-width: 1.45
}

.decorative-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px
}

.decorative-rule .lucide {
    width: 16px;
    height: 16px;
    stroke-width: 1.45
}

.decorative-rule .lucide-heart {
    width: 19px;
    height: 19px
}

.gift-symbol .lucide {
    width: 38px;
    height: 38px;
    stroke-width: 1.45
}

.primary-button {
    width: min(100%, 350px);
    min-height: 54px;
    margin-inline: auto;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid #c69c7d;
    border-radius: 999px;
    background: #a97856;
    box-shadow: 0 3px 0 #fff7ef, 0 5px 12px #76503a24;
    font-size: 13px;
    letter-spacing: .055em
}

.primary-button .lucide {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    stroke-width: 1.9
}

.rsvp-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: min(100%, 350px);
    margin-inline: auto
}

.rsvp-buttons .primary-button {
    width: 100%
}

.rsvp-buttons .primary-button.button-mami {
    background: #a9647b;
    border-color: #d8a6b7;
    box-shadow: 0 3px 0 #fff7ef, 0 5px 12px #7a4a5724
}

.mail-art .lucide {
    width: 48px;
    height: 48px;
    stroke-width: 1.35
}

.footer .lucide,
.desktop-brand .lucide {
    display: inline-block;
    vertical-align: -2px
}

.footer .lucide {
    width: 12px;
    height: 12px;
    stroke-width: 1.8
}

.desktop-brand .lucide {
    width: 15px;
    height: 15px;
    margin: 0 10px
}

.dialog-content .dialog-heart {
    display: flex;
    justify-content: center
}

.dialog-content .dialog-heart .lucide {
    width: 26px;
    height: 26px;
    stroke-width: 1.5
}

.close-dialog .lucide {
    width: 25px;
    height: 25px;
    stroke-width: 1.8
}

/* Refinamiento del bloque de fecha y ubicación. */
.event {
    padding-bottom: 28px
}

.arched-card {
    overflow: hidden;
    padding: 33px 15px 23px;
    background:
        radial-gradient(circle at 50% 0, #fff 0, transparent 42%),
        linear-gradient(180deg, #fffdf9 0%, #fff8f0 100%);
    border: 1px solid #ddc0a5;
    border-top-width: 1px;
    border-radius: 50% 50% 29px 29px / 15% 15% 25px 25px;
    box-shadow: 0 10px 28px #8d624417, inset 0 1px #fff
}

.arched-card:before {
    content: "";
    position: absolute;
    top: 7px;
    left: 13px;
    right: 13px;
    height: 46px;
    border-top: 1px solid #c89f7c;
    border-radius: 50%;
    opacity: .7;
    pointer-events: none
}

.arched-card .arch-heart {
    top: 10px;
    width: 20px;
    height: 20px;
    padding: 3px;
    background: #fffaf4;
    color: #a06f4d
}

.arched-card h2 {
    margin: 12px 0 16px;
    font-size: 34px;
    line-height: .88;
    letter-spacing: .025em
}

.arched-card .fine-divider.mini {
    margin: 2px 0 15px
}

.small-upper {
    margin: 7px 0 10px;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .28em
}

.countdown {
    align-items: center;
    gap: 0;
    max-width: 354px;
    padding: 13px 8px 12px;
    background: linear-gradient(180deg, #f7e9dc, #f3dfcc);
    border: 1px solid #ecd3bc;
    border-radius: 20px;
    box-shadow: inset 0 1px #fff9, 0 4px 12px #9a704917
}

.countdown strong {
    font-size: clamp(30px, 8.7vw, 38px);
    line-height: .9;
    font-weight: 500;
    letter-spacing: -.025em
}

.countdown small {
    margin-top: 8px;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .045em;
    color: #89644f
}

.countdown>span {
    flex: 0 0 1px;
    width: 1px;
    height: 34px;
    margin: 0 2px 10px;
    overflow: hidden;
    color: transparent;
    background: #d4b296;
    opacity: .65
}

.event-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: min(100%, 340px);
    margin: 20px auto 16px;
    padding: 13px 0;
    border-top: 1px solid #dec6b2;
    border-bottom: 1px solid #ead8c8;
    font-size: 18px;
    line-height: 1
}

.detail {
    justify-content: center;
    gap: 9px;
    padding: 0 8px
}

.detail:first-child {
    border-right: 1px solid #e2cdbc
}

.detail-icon {
    width: 38px;
    height: 38px;
    padding: 8px;
    border: 1px solid #e4ccb7;
    border-radius: 50%;
    background: #fffaf4;
    color: #9a6b4a;
    stroke-width: 1.7
}

.detail strong {
    font-size: 17px;
    letter-spacing: .035em
}

/* Refuerza la lectura de la fecha y la hora sin perder el acabado editorial. */
.event-details .detail > div {
    color: #5f3d2b;
    font-size: 20px;
    font-weight: 700
}

.event-details .detail strong {
    font-size: 19px;
    font-weight: 700
}

#eventDateText,
#eventTimeText {
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: .015em;
    font-variant-numeric: tabular-nums
}

.location-block {
    gap: 2px;
    padding: 4px 56px 29px;
    line-height: 1.05
}

.location-block .pin-icon {
    width: 39px;
    height: 39px;
    margin-bottom: 5px;
    padding: 9px;
    border: 1px solid #e1c7b1;
    border-radius: 50%;
    background: #fffaf4;
    color: #9b6c4c;
    stroke-width: 1.7
}

.location-block strong {
    font-size: 25px;
    line-height: 1
}

.location-block>span {
    font-size: 18px;
    line-height: 1.15
}

.side-balloon {
    right: 3px;
    bottom: 0;
    width: 74px;
    opacity: .67
}

/* El mantel continúa detrás del arco y se desvanece a media altura. */
.event {
    isolation: isolate;
    padding-top: 42px
}

.event .gingham-divider {
    position: absolute;
    z-index: 0;
    top: -60px;
    left: -22px;
    right: -22px;
    width: auto;
    height: 240px;
    margin: 0;
    background-color: #fff1e3;
    background-image: linear-gradient(90deg, #c99a7142 50%, transparent 50%), linear-gradient(#c99a7142 50%, transparent 50%);
    background-size: 24px 24px;
    opacity: .94;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 12%, #0003 24%, #0008 36%, #000 48%, #000 62%, #000c 78%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, transparent 12%, #0003 24%, #0008 36%, #000 48%, #000 62%, #000c 78%, transparent 100%);
    pointer-events: none
}

.event .arched-card {
    position: relative;
    z-index: 2;
    box-shadow: 0 12px 30px #815b3f24, inset 0 1px #fff
}

.event-details,
.location-block {
    position: relative;
    z-index: 1
}

.event .side-balloon {
    z-index: 2
}

/* Cierre de la invitación con mantel amplio y difuminado. */
.rsvp {
    padding-bottom: 12px
}

.gingham-bottom {
    height: 112px;
    background-color: #fff1e3;
    background-image: linear-gradient(90deg, #c99a7142 50%, transparent 50%), linear-gradient(#c99a7142 50%, transparent 50%);
    background-size: 24px 24px;
    opacity: .92;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #0004 17%, #000b 31%, #000 45%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #0004 17%, #000b 31%, #000 45%, #000 100%)
}

/* Inicio de la invitación: mantel sólido que se desvanece hacia abajo. */
.gingham-top {
    position: relative;
    z-index: 0;
    height: 112px;
    margin-bottom: -98px;
    background-color: #fff4ec;
    background-image: linear-gradient(90deg, #c99a712d 50%, transparent 50%), linear-gradient(#c99a712d 50%, transparent 50%);
    background-size: 24px 24px;
    opacity: .82;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 18%, #000b 36%, #0006 55%, transparent 82%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 18%, #000b 36%, #0006 55%, transparent 82%)
}

/* Guirnalda completa siguiendo un arco ascendente. */
.bunting {
    top: 18px;
    left: 0;
    width: 100%;
    height: 92px;
    padding: 0 5px;
    gap: 0;
    justify-content: space-between;
    align-items: flex-start;
    transform: none;
    border: 0;
    border-radius: 0
}

.bunting:before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: 40px;
    height: 52px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 430 52' preserveAspectRatio='none'%3E%3Cpath d='M2 8 Q215 50 428 8' fill='none' stroke='%23b99675' stroke-width='2'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    pointer-events: none
}

.bunting i {
    position: relative;
    z-index: 1;
    flex: 0 0 38px;
    width: 38px;
    height: 48px;
    background-size: 14px 14px;
    filter: drop-shadow(0 2px 2px #7651371a)
}

.bunting i:nth-child(even) {
    height: 43px
}

.bunting i:nth-child(1),
.bunting i:nth-child(9) {
    margin-top: 8px
}

.bunting i:nth-child(2),
.bunting i:nth-child(8) {
    margin-top: 16px
}

.bunting i:nth-child(3),
.bunting i:nth-child(7) {
    margin-top: 22px
}

.bunting i:nth-child(4),
.bunting i:nth-child(6) {
    margin-top: 27px
}

.bunting i:nth-child(5) {
    margin-top: 29px
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s ease, transform .8s ease
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0)
}

.float {
    animation: float 5s ease-in-out infinite
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-9px)
    }
}

@keyframes bob {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(5px)
    }
}

@keyframes musicPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 #b78b6270
    }

    50% {
        box-shadow: 0 0 0 9px #b78b6200
    }
}

@media(max-width:600px) {
    body {
        background: var(--ivory)
    }

    .desktop-brand,
    .desktop-note {
        display: none
    }

    .phone-shell {
        width: 100%;
        max-width: 430px;
        margin: 0 auto;
        border: 0;
        border-radius: 0;
        box-shadow: none
    }

    .cover {
        padding-left: 22px;
        padding-right: 22px
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *:before,
    *:after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important
    }

    .reveal {
        opacity: 1;
        transform: none
    }
}
