.site-header {
    height: 84px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}
.monogram {
    font: 33px var(--serif);
    letter-spacing: -4px;
    white-space: nowrap;
}
.monogram span {
    font-style: italic;
    font-size: 20px;
    color: var(--burgundy);
    margin: 0 6px;
}
.main-nav,
.header-actions {
    display: flex;
    gap: 30px;
    align-items: center;
}
.main-nav {
    margin-left: 100px;
    font-size: 11px;
}
.main-nav a {
    position: relative;
}
.main-nav a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--burgundy);
    transition: width 0.25s;
}
.main-nav a:hover::after {
    width: 100%;
}
.language-switch {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 10px;
}
.language-switch button {
    background: none;
    padding: 6px 2px;
    border: none;
    color: #8c8a82;
    font-size: 10px;
}
.language-switch button[aria-pressed="true"] {
    color: var(--ink);
    font-weight: 700;
    border-bottom: 1px solid var(--burgundy);
}
.language-switch > span {
    color: #b8b1a4;
}
.header-rsvp {
    font-size: 10px;
    border-bottom: 1px solid var(--ink);
    padding: 7px 0;
}
.header-rsvp span {
    margin-left: 15px;
}
body.is-locked .main-nav,
body.is-locked .header-rsvp {
    visibility: hidden;
}
.envelope-gate {
    min-height: calc(100svh - 84px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 24px 25px;
    position: relative;
    background: radial-gradient(ellipse at 50% 45%, #e8dfcf55, transparent 60%);
    overflow: hidden;
}
.gate-top {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--muted);
}
.tiny-star {
    color: var(--gold);
    font-size: 22px;
}
.envelope-gate h1 {
    font-size: clamp(45px, 6vw, 78px);
    margin-top: 12px;
    letter-spacing: -0.045em;
    text-align: center;
}
.envelope-gate h1 i {
    font-size: 0.8em;
    color: var(--burgundy);
    margin: 0 10px;
}
.gate-date {
    font-size: 9px;
    letter-spacing: 0.22em;
    margin: 19px 0 22px;
}
.envelope {
    width: min(570px, 83vw);
    aspect-ratio: 1.55;
    padding: 0;
    position: relative;
    background: none;
    border: 0;
    margin: 15px 0 20px;
    perspective: 1200px;
    transition: transform 0.7s;
}
.envelope:hover {
    transform: translateY(-5px) rotate(-0.7deg);
}
.envelope-body,
.envelope-flap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    filter: drop-shadow(0 14px 18px #50433115);
}
.envelope-body img,
.envelope-flap img {
    position: absolute;
    width: 134%;
    max-width: none;
    left: -16.2%;
    top: -22%;
}
.envelope-flap {
    clip-path: polygon(0 0, 100% 0, 100% 9%, 51% 68%, 0 9%);
    transform-origin: top center;
    transition:
        transform 0.8s ease,
        filter 0.8s;
    backface-visibility: hidden;
    z-index: 4;
}
.envelope-body {
    clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0, 50% 65%);
    z-index: 3;
}
.wax-seal {
    position: absolute;
    width: 105px;
    height: 105px;
    left: calc(50% - 52px);
    top: 49%;
    z-index: 5;
    transition:
        opacity 0.3s,
        transform 0.5s;
}
.wax-seal img {
    width: 100%;
}
.wax-seal > span {
    position: absolute;
    inset: 24px 0 0;
    font: 46px var(--serif);
    color: #3f2b0d;
    text-shadow: 1px 1px 1px #eacc91;
}
.wax-seal i {
    font-style: normal;
    position: relative;
    top: 8px;
    margin-left: -10px;
}
.letter-preview {
    position: absolute;
    z-index: 2;
    background: #fbf6eb;
    border: 1px solid #ded2bf;
    inset: 15% 12% 4%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px;
    color: var(--ink);
    box-shadow: 0 3px 20px #3332;
    transition: transform 1s 0.35s;
}
.letter-preview .script {
    color: var(--burgundy);
    font-size: 38px;
}
.letter-preview > span:nth-child(2) {
    font: 26px var(--serif);
    margin: 12px;
}
.letter-preview > span:last-child {
    font-size: 9px;
    letter-spacing: 0.2em;
}
.envelope.is-opening {
    transform: translateY(40px);
}
.envelope.is-opening .wax-seal {
    opacity: 0;
    transform: scale(1.15);
}
.envelope.is-opening .envelope-flap {
    transform: rotateX(180deg);
}
.envelope.is-opening .letter-preview {
    transform: translateY(-65%);
}
.envelope-gate.is-leaving {
    animation: gateAway 0.65s forwards;
}
@keyframes gateAway {
    to {
        opacity: 0;
        transform: translateY(-30px);
    }
}
.open-hint {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--burgundy);
    font-size: 11px;
    letter-spacing: 0.03em;
}
.hint-line {
    width: 35px;
    height: 1px;
    background: #bfae91;
}
.gate-foot {
    margin-top: 32px;
    font: italic 19px var(--serif);
    color: var(--muted);
}
/* The navy paper is the continuous canvas, as in the original invitation. */
#main {
    color: #f2e8d6;
}
.hero {
    padding: 75px 24px 60px;
    text-align: center;
}
.save-date {
    display: block;
    color: #eadcc1;
    font-size: clamp(45px, 5vw, 65px);
}
.hero h1 {
    margin: 16px auto 20px;
    font-size: clamp(42px, 7.5vw, 88px);
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.hero-amp {
    font-style: italic;
    font-size: 0.7em;
    color: #d9bd85;
    margin: 0 10px;
}
.hero-date {
    font-family: var(--serif);
    font-size: 22px;
    letter-spacing: 0.03em;
}
.wedding-photo {
    width: min(1120px, 100%);
    margin: 0 auto;
}
/* Keep the full photograph and its proportions; feather its edges into the paper. */
.wedding-photo img,
.portrait-photo img {
    display: block;
    width: 100%;
    height: auto;
}
.story,
.ceremony,
.itinerary-section,
.dress-section,
.peru-section,
.rsvp-section {
    padding: 80px 28px;
}
.story-stationery {
    width: min(580px, 100%);
    min-height: 440px;
    margin: auto;
    position: relative;
    isolation: isolate;
}
.story-lace {
    position: absolute;
    width: 310px;
    right: 0;
    top: 35px;
    transform: rotate(14deg);
    z-index: -1;
}
.story-card {
    width: 340px;
    padding: 36px 34px 60px;
    text-align: center;
    margin: 0 auto 0 35px;
    min-height: 375px;
    box-shadow: 0 8px 18px #03132230;
}
.story-card h2,
.ceremony-card h2,
.itinerary-paper > h2,
.dress-paper h2,
.rsvp-heading h2 {
    color: var(--burgundy);
    font-size: 62px;
    letter-spacing: 0;
    font-weight: 400;
    line-height: 0.95;
}
.rsvp-heading::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border: 4px double #b9ad94;
    background: var(--paper) url("/img/stationery/paper-texture.webp");
}
.story-card p {
    margin-top: 25px;
    font: 24px/1.45 var(--serif);
}
.story-seal {
    position: absolute;
    width: 90px;
    left: 160px;
    bottom: 16px;
}
.countdown-section {
    text-align: center;
    padding: 0 24px 70px;
}
.countdown-title {
    font: 21px/1.4 var(--serif);
    letter-spacing: 0.08em;
    max-width: 360px;
    margin: 0 auto 35px;
}
.countdown-keepsakes {
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
    width: min(560px, 100%);
    margin: auto;
}
.portrait-photo {
    width: 235px;
    flex-shrink: 0;
    padding: 9px;
    background: #f4eddf url("/img/stationery/paper-texture.webp");
    box-shadow: 0 8px 18px #0003;
}
.lace-keepsake {
    width: 205px;
    flex-shrink: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.lace-keepsake .small-seal {
    width: 90px;
}
.countdown {
    margin: 35px auto 20px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 15px;
}
.countdown > div {
    min-width: 68px;
}
.countdown > div > span {
    font: 58px/1 var(--serif);
    font-variant-numeric: tabular-nums;
}
.countdown b {
    font: 35px var(--serif);
    color: #d0b781;
}
.countdown small {
    display: block;
    font: 9px var(--serif);
    letter-spacing: 0.06em;
    margin-top: 12px;
}
.countdown-note {
    font: 23px var(--serif);
    margin: 20px;
}
.countdown-section .text-link {
    font-size: 9px;
}
.ceremony {
    padding-top: 35px;
}
.ceremony-stationery {
    position: relative;
    isolation: isolate;
    width: min(600px, 100%);
    min-height: 530px;
    margin: auto;
}
.gold-doily {
    position: absolute;
    width: 310px;
    right: 0;
    bottom: 0;
    z-index: -1;
}
.gold-doily > img {
    width: 100%;
    height: auto;
}
.church-art {
    position: absolute;
    width: 170px;
    height: 170px;
    right: 70px;
    bottom: 50px;
    color: #6e5834;
}
.ceremony-card {
    width: 380px;
    text-align: center;
    padding: 30px 28px;
}
.ceremony-card h3 {
    font: 25px/1.3 var(--serif);
    margin-top: 17px;
}
.ceremony-time {
    font: 21px var(--serif);
    margin-top: 20px;
}
.ceremony-time span {
    display: block;
    margin-top: 7px;
}
.ceremony-address {
    font: 17px/1.4 var(--serif);
    margin: 18px 0 10px;
}
.ceremony-card .text-link {
    font-size: 9px;
}
.ceremony-seal {
    position: absolute;
    width: 80px;
    right: 180px;
    bottom: 125px;
}
.itinerary-section {
    padding-top: 55px;
    padding-bottom: 90px;
}
.itinerary-paper {
    width: min(485px, 100%);
    margin: auto;
    padding: 70px 45px 80px;
    color: var(--ink);
    background: none;
    position: relative;
    isolation: isolate;
}
.itinerary-paper::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("/img/stationery/itinerary-paper.webp") center / 100% 100% no-repeat;
}
.itinerary-paper::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: -28px -32px;
    /* Nine-slice the original floral frame, keeping corners and edges joined. */
    border: 82px solid transparent;
    border-image: url("/img/stationery/lace-itinerary.webp") 215 fill / 82px / 0 round;
    pointer-events: none;
}
.itinerary-paper > h2 {
    text-align: center;
    margin-bottom: 38px;
}
.timeline {
    position: relative;
}
.timeline-line {
    position: absolute;
    width: 1px;
    left: 38%;
    top: 15px;
    bottom: 30px;
    background: #b6a486;
}
.timeline-line > span {
    display: block;
    width: 2px;
    background: var(--burgundy);
}
.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 33% 10% 57%;
    align-items: start;
    padding-bottom: 36px;
}
.timeline-item:last-child {
    padding-bottom: 0;
}
.timeline-time {
    font: 22px/1.3 var(--serif);
    padding-top: 1px;
}
.timeline-time small {
    display: block;
    font-size: 12px;
}
.timeline-dot {
    width: 7px;
    height: 7px;
    margin: 10px auto 0;
    border-radius: 50%;
    border: 1px solid var(--burgundy);
    background: #f4ecd9;
    position: relative;
    z-index: 1;
}
.timeline-item.is-visible .timeline-dot {
    background: var(--burgundy);
}
.timeline-item h3 {
    font: 23px/1.3 var(--serif);
}
.dress-section {
    padding-top: 40px;
}
.dress-stripes {
    width: min(440px, 100%);
    margin: auto;
    padding: 38px 12px;
    background: repeating-linear-gradient(90deg, transparent 0 24px, #f7f0df 24px 48px);
}
.dress-paper {
    background: url("/img/stationery/dress-paper.webp") center / 100% 100% no-repeat;
    text-align: center;
    padding: 60px 44px 55px;
    color: var(--ink);
    min-height: 540px;
}
.dress-level {
    display: inline-block;
    margin: 22px 0;
    padding: 3px 12px;
    background: var(--burgundy);
    color: #fff3df;
    font: 16px var(--serif);
}
.dress-paper > p:not(.dress-level) {
    font: 22px/1.4 var(--serif);
}
.dress-request {
    margin-top: 20px;
}
.attire-art {
    width: 130px;
    height: 100px;
    color: #746a5b;
    margin: 30px auto 0;
}
.peru-section {
    max-width: 1000px;
    margin: auto;
}
.peru-section > h2 {
    text-align: center;
    font-size: 68px;
    margin-bottom: 45px;
}
.travel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    grid-auto-rows: 1fr;
    gap: 26px;
}
.travel-note {
    padding: 0;
    min-width: 0;
    box-shadow: 0 8px 24px #03132225;
    transition: box-shadow 0.35s;
}
@media (min-width: 601px) {
    .travel-note:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: calc(50% - 13px);
        justify-self: center;
    }
}
.travel-note summary {
    display: grid;
    grid-template-rows: auto minmax(40px, auto) minmax(60px, 1fr) auto;
    gap: 12px;
    min-height: 250px;
    height: 100%;
    list-style: none;
    padding: 28px 30px 22px;
    position: relative;
    cursor: pointer;
}
.travel-note summary::-webkit-details-marker {
    display: none;
}
.travel-note summary:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 7px;
}
.travel-number,
.travel-topic,
.travel-preview {
    display: block;
}
.travel-number {
    font-size: 8px;
    letter-spacing: 0.16em;
    color: var(--muted);
    margin-bottom: 0;
}
.travel-topic {
    color: var(--burgundy);
    font: 36px/1.1 var(--serif);
    margin-bottom: 0;
}
.travel-preview {
    font: italic 21px/1.4 var(--serif);
}
.travel-read {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 9px;
    letter-spacing: 0.1em;
    margin-top: 10px;
    color: var(--burgundy);
}
.travel-plus {
    font: 27px/1 var(--serif);
    transition: transform 0.35s;
}
.travel-note[open] .travel-plus {
    transform: rotate(45deg);
}
.travel-note .when-open,
.travel-note[open] .when-closed {
    display: none;
}
.travel-note[open] .when-open {
    display: inline;
}
.travel-note summary::after {
    content: "";
    position: absolute;
    inset: auto 30px 0;
    height: 2px;
    background: var(--burgundy);
    transform: scaleX(0);
    transform-origin: left;
}
.travel-note.is-waiting summary::after {
    transform: scaleX(1);
    transition: transform 1s linear;
}
.travel-note[open] {
    box-shadow: 0 14px 36px #03132245;
}
.travel-grid:has(.travel-note[open]) {
    grid-auto-rows: auto;
    align-items: start;
}
.travel-note[open] summary {
    height: auto;
}
.travel-details {
    padding: 22px 30px 30px;
    margin: 0 10px;
    border-top: 1px solid var(--line);
    animation: noteIn 0.35s ease both;
}
.travel-details p {
    font: 21px/1.5 var(--serif);
}
.travel-details p + p {
    margin-top: 16px;
}
.travel-eyebrow {
    display: block;
    text-align: center;
    color: #d9bd85;
    font-size: 9px;
    letter-spacing: 0.24em;
    margin-bottom: 18px;
}
.travel-intro {
    max-width: 570px;
    margin: -20px auto 25px;
    text-align: center;
    font: 23px/1.5 var(--serif);
}
.travel-intro p + p {
    margin-top: 12px;
}
.travel-instruction {
    text-align: center;
    color: #e4cfac;
    font-size: 10px;
    margin: 0 auto 32px;
}
@keyframes noteIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
.rsvp-section {
    max-width: 620px;
    margin: auto;
    padding-top: 40px;
    padding-bottom: 90px;
}
.rsvp-heading {
    text-align: center;
    position: relative;
    isolation: isolate;
    margin: 0 auto 35px;
    max-width: 430px;
    background: none;
    padding: 32px;
    color: var(--ink);
}
.rsvp-heading h2 {
    font-size: 58px;
}
.rsvp-heading p {
    font: 20px/1.4 var(--serif);
    margin-top: 15px;
}
.rsvp-lace {
    width: 190px;
    position: absolute;
    right: -65px;
    top: -20px;
    z-index: -2;
}
#main .form-paper {
    background: var(--paper) url("/img/stationery/paper-texture.webp");
    color: var(--ink);
}
footer {
    display: flex;
    gap: 22px;
    flex-direction: column;
    align-items: center;
    padding: 0 24px 45px;
}
.footer-names {
    font: 31px var(--serif);
}
footer a {
    font-size: 9px;
    letter-spacing: 0.12em;
}
@media (max-width: 850px) {
    .main-nav {
        margin-left: 0;
        gap: 15px;
    }
    .header-actions {
        gap: 20px;
    }
}
@media (max-width: 600px) {
    .site-header {
        height: 68px;
        padding: 0 6%;
    }
    .main-nav {
        display: none;
    }
    .header-rsvp {
        font-size: 9px;
    }
    .header-rsvp span {
        margin-left: 6px;
    }
    .header-actions {
        gap: 20px;
    }
    .monogram {
        font-size: 29px;
    }
    .envelope-gate {
        min-height: calc(100svh - 68px);
        padding: 35px 15px;
    }
    .envelope-gate h1 {
        font-size: clamp(38px, 10vw, 48px);
        margin-top: 18px;
    }
    .gate-top .eyebrow {
        font-size: 8px;
    }
    .gate-date {
        font-size: 8px;
        margin-bottom: 36px;
    }
    .envelope {
        width: 90vw;
        margin-bottom: 36px;
    }
    .wax-seal {
        width: 75px;
        height: 75px;
        left: calc(50% - 37px);
    }
    .wax-seal > span {
        font-size: 34px;
        top: 17px;
    }
    .gate-foot {
        font-size: 17px;
        margin-top: 35px;
    }
    .hero {
        padding: 50px 18px 38px;
    }
    .hero h1 {
        font-size: clamp(35px, 10vw, 56px);
    }
    .hero-amp {
        margin: 0 3px;
    }
    .hero-date {
        font-size: 19px;
    }
    .story,
    .ceremony,
    .itinerary-section,
    .dress-section,
    .peru-section,
    .rsvp-section {
        padding-left: 30px;
        padding-right: 30px;
    }
    .story {
        padding-top: 60px;
        padding-bottom: 55px;
    }
    .story-stationery {
        min-height: 395px;
    }
    .story-card {
        width: 87%;
        margin-left: 0;
        padding: 28px 25px 50px;
        min-height: 330px;
    }
    .story-card h2 {
        font-size: 53px;
    }
    .story-card p {
        font-size: 22px;
        margin-top: 18px;
    }
    .story-lace {
        width: 68%;
        right: 4px;
        top: 50px;
    }
    .story-seal {
        width: 75px;
        left: calc(43% - 37px);
        bottom: 10px;
    }
    .countdown-section {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 40px;
    }
    .countdown-title {
        font-size: 19px;
        max-width: 250px;
    }
    .countdown-keepsakes {
        gap: 15px;
    }
    .portrait-photo {
        width: 53%;
        padding: 7px;
    }
    .lace-keepsake {
        width: 38%;
        gap: 12px;
    }
    .lace-keepsake .small-seal {
        width: 65px;
    }
    .countdown {
        gap: 8px;
        margin-top: 30px;
    }
    .countdown > div {
        min-width: 52px;
    }
    .countdown > div > span {
        font-size: 44px;
    }
    .countdown small {
        font-size: 8px;
    }
    .countdown b {
        font-size: 26px;
    }
    .ceremony {
        padding-top: 30px;
        padding-bottom: 50px;
    }
    .ceremony-stationery {
        min-height: 550px;
    }
    .ceremony-card {
        width: 100%;
        padding: 27px 18px;
    }
    .ceremony-card h2 {
        font-size: 55px;
    }
    .ceremony-card h3 {
        font-size: 23px;
    }
    .ceremony-time {
        font-size: 20px;
    }
    .ceremony-address {
        font-size: 16px;
    }
    .gold-doily {
        width: 235px;
        right: -5px;
    }
    .church-art {
        width: 125px;
        height: 125px;
        right: 55px;
        bottom: 35px;
    }
    .ceremony-seal {
        width: 65px;
        right: auto;
        left: 20px;
        bottom: 100px;
    }
    .itinerary-section {
        padding: 35px 35px 60px;
    }
    .itinerary-paper {
        padding: 55px 26px 65px;
    }
    .itinerary-paper > h2 {
        font-size: 53px;
        margin-bottom: 30px;
    }
    .itinerary-paper::before {
        inset: -20px -25px;
        border-width: 55px;
        border-image-width: 55px;
    }
    .timeline-time {
        font-size: 18px;
    }
    .timeline-time small {
        font-size: 10px;
    }
    .timeline-item {
        grid-template-columns: 35% 10% 55%;
        padding-bottom: 29px;
    }
    .timeline-line {
        left: 40%;
    }
    .timeline-item h3 {
        font-size: 21px;
    }
    .dress-section {
        padding: 35px 25px 55px;
    }
    .dress-stripes {
        padding: 30px 8px;
    }
    .dress-paper {
        padding: 50px 28px;
        min-height: 485px;
    }
    .dress-paper h2 {
        font-size: 56px;
    }
    .dress-level {
        font-size: 14px;
    }
    .dress-paper > p:not(.dress-level) {
        font-size: 21px;
    }
    .travel-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .travel-note {
        padding: 0;
    }
    .travel-note summary {
        padding: 25px 24px 20px;
    }
    .travel-details {
        padding: 20px 14px 25px;
    }
    .travel-topic {
        font-size: 33px;
    }
    .travel-intro {
        font-size: 21px;
    }
    .peru-section > h2 {
        font-size: 58px;
    }
    .rsvp-section {
        padding-top: 30px;
    }
    .rsvp-heading {
        padding: 25px 20px;
    }
    .rsvp-heading h2 {
        font-size: 53px;
    }
    .rsvp-lace {
        width: 150px;
        right: -30px;
    }
}
@media (max-height: 760px) {
    .envelope-gate {
        padding: 18px 24px;
    }
    .envelope-gate h1 {
        font-size: clamp(38px, 6vw, 62px);
        margin-top: 6px;
    }
    .gate-date {
        margin: 12px 0;
    }
    .envelope {
        width: min(430px, 80vw);
        margin: 10px 0 14px;
    }
    .gate-foot {
        margin-top: 18px;
        font-size: 17px;
    }
}
.timeline-item h3 small {
    display: block;
    font-size: 16px;
    margin-top: 5px;
}

/* Printed-paper finish, inspired by the reference's grain and lifted editions. */
#main {
    position: relative;
    isolation: isolate;
}
#main::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.18;
    background-image: radial-gradient(#eee0c833 0.6px, transparent 0.9px);
    background-size: 4px 5px;
    mix-blend-mode: soft-light;
}
.wedding-photo,
.portrait-photo {
    position: relative;
    isolation: isolate;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent),
        linear-gradient(to bottom, transparent, #000 7%, #000 90%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent),
        linear-gradient(to bottom, transparent, #000 7%, #000 90%, transparent);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}
.wedding-photo::after,
.portrait-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: url("/img/stationery/navy-paper.webp") center / 650px auto;
    mix-blend-mode: soft-light;
    opacity: 0.18;
}
.portrait-photo {
    padding: 0;
    background: none;
    box-shadow: none;
}
.story-card,
.ceremony-card {
    transition: translate 0.4s ease, box-shadow 0.4s ease;
}
.text-link {
    transition: color 0.3s, letter-spacing 0.3s;
}
@media (hover: hover) and (pointer: fine) {
    .story-stationery:hover .story-card,
    .ceremony-stationery:hover .ceremony-card {
        translate: 0 -4px;
        box-shadow: 0 16px 28px #03132240;
    }
    .travel-note:hover {
        box-shadow: 0 16px 32px #03132240;
    }
    .text-link:hover {
        color: var(--gold);
        letter-spacing: 0.18em;
    }
}
@media (prefers-reduced-motion: reduce) {
    .story-card,
    .ceremony-card {
        translate: none !important;
    }
    .travel-details {
        animation: none;
    }
    .travel-note.is-waiting summary::after {
        transition: none;
    }
}
