/* Original stationery and lettering; the existing navy canvas is untouched. */
.story-card h2,
.ceremony-card h2,
.itinerary-paper > h2,
.dress-paper h2,
.rsvp-heading h2 {
    font-family: "Original Eyesome", var(--script);
}

#story .story-stationery {
    container-type: inline-size;
    width: min(540px, 100%);
    min-height: 0;
    padding-bottom: clamp(50px, 10vw, 86px);
}
#story .story-card {
    position: relative;
    width: 64%;
    min-height: 96cqw;
    margin: 0;
    padding: 9cqw 6cqw 12cqw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5cqw;
    background: none;
    border: 14px solid transparent;
    border-image: url("/img/stationery/story-frame.webp") 45 fill / 14px / 0 stretch;
    box-shadow: 0 5px 12px #03132218;
}
#story .story-card h2 {
    width: 100%;
    margin: 0;
    text-align: center;
    font-size: clamp(20px, 7.5cqw, 42px);
    line-height: 1.5;
    text-wrap: balance;
}
#story .story-card p {
    width: 100%;
    margin: 0;
    text-align: center;
    text-wrap: balance;
    font: italic clamp(16px, 4.2cqw, 23px)/1.5 var(--serif);
    letter-spacing: 0.045em;
}
#story .story-lace {
    width: 84.7%;
    top: 12.3cqw;
    right: 0;
    transform: none;
    height: auto;
}
#story .story-seal {
    width: 44%;
    height: auto;
    left: 50%;
    bottom: -14cqw;
    transform: translateX(-50%);
    z-index: 2;
}

#wedding .countdown-title {
    line-height: 1.7;
    margin-bottom: 24px;
}
#wedding .countdown-title em {
    display: inline-block;
    font: 1.55em/1.6 "Original Berton", var(--serif);
    letter-spacing: 0.08em;
}
#wedding .countdown-keepsakes {
    display: block;
    width: min(440px, 100%);
}
#wedding .countdown-collage {
    width: 100%;
    height: auto;
}
#wedding .countdown > div > span {
    font-style: italic;
}

#ceremony .ceremony-schedule {
    font: 21px/1.4 var(--serif);
    text-align: center;
    margin: 0 auto 35px;
}
#ceremony .ceremony-stationery {
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    width: min(540px, 100%);
    min-height: 0;
}
#ceremony .ceremony-card {
    position: relative;
    z-index: 2;
    order: 1;
    width: 70%;
    padding: 8cqw 3cqw 7cqw;
    background: none;
    border: 12px solid transparent;
    border-image: url("/img/stationery/ceremony-frame.webp") 38 fill / 12px / 0 stretch;
}
#ceremony .ceremony-card h2 {
    font-size: clamp(42px, 12cqw, 68px);
    line-height: 1.2;
}
#ceremony .ceremony-copy {
    margin-top: 3cqw;
    font: italic clamp(17px, 4cqw, 22px)/1.4 var(--serif);
    letter-spacing: 0.035em;
}
#ceremony .ceremony-seal {
    width: 38%;
    height: auto;
    left: 25%;
    right: auto;
    bottom: 0;
    transform: translateY(70%);
    z-index: 3;
}
#ceremony .gold-doily {
    display: block;
    position: relative;
    order: 2;
    align-self: flex-end;
    width: 84%;
    margin-top: -45cqw;
    top: auto;
    right: auto;
    bottom: auto;
    z-index: 0;
}
#ceremony .gold-doily > img:first-child {
    width: 100%;
    height: auto;
}
#ceremony .gold-doily .church-art {
    position: absolute;
    width: 52%;
    height: auto;
    left: 28%;
    right: auto;
    bottom: 22%;
}
#ceremony .location-label {
    position: absolute;
    left: 0;
    bottom: 16%;
    width: 100%;
    text-align: center;
    font: italic clamp(17px, 4.2cqw, 23px)/1.2 var(--serif);
    color: #251c13;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.25s;
}
#ceremony .gold-doily:hover .location-label {
    color: var(--burgundy);
}
#ceremony > .ceremony-address {
    max-width: 440px;
    text-align: center;
    margin: 12px auto 0;
    font: italic 17px/1.4 var(--serif);
    color: #ebdfc9;
    letter-spacing: 0.035em;
}

/* Leave room for the original script's tall strokes and side flourishes. */
#rsvp .rsvp-heading {
    container-type: inline-size;
    padding: 48px 32px 30px;
}
#rsvp .rsvp-heading h2 {
    font-size: clamp(30px, 9.5cqw, 40px);
    line-height: 1.7;
    padding-inline: 8px;
    text-wrap: balance;
    overflow-wrap: anywhere;
}
#rsvp .rsvp-heading p {
    margin-top: 12px;
}

@media (max-width: 600px) {
    #rsvp .rsvp-heading {
        padding: 40px 24px 26px;
    }
    #story .story-card {
        border-width: 10px;
        border-image-width: 10px;
        padding-left: 6cqw;
        padding-right: 6cqw;
    }
    #story .story-card p {
        letter-spacing: 0.015em;
    }
    #ceremony .ceremony-card {
        border-width: 9px;
        border-image-width: 9px;
        width: 76%;
    }
    #ceremony .ceremony-card h2 {
        font-size: clamp(36px, 12cqw, 50px);
    }
    #ceremony .ceremony-copy {
        letter-spacing: 0.01em;
    }
    #ceremony .ceremony-schedule {
        font-size: 18px;
    }
    #wedding .countdown-keepsakes {
        width: min(400px, 100%);
    }
}
