/* Natural proportions for the silver and lace, with tightly linked initials. */
:root{--names:'Great Vibes','Pinyon Script',cursive;--fine-lace:url('assets/ivory-lace-trim.webp')}
.heirloom-opening{padding:2rem .5rem 1.5rem;gap:0}
.presentation-tray{width:min(570px,96vw);aspect-ratio:2/3;min-height:0;padding:0;background-image:url('assets/antique-silver-plate.webp');background-size:contain;filter:drop-shadow(0 16px 22px #10181166)}
.presentation-tray .cover-inner{position:absolute;inset:19% 16%;width:auto;padding:2rem .8rem;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(-2deg);background:#f8f4e9;box-shadow:0 5px 12px #1d251b33;border:1px solid #d3ccb9}
.presentation-tray .cover-inner:before,.presentation-tray .cover-inner:after{content:'';position:absolute;inset:auto -1px;height:42px;background:var(--fine-lace) center top/180px auto repeat-x;z-index:0;pointer-events:none;opacity:1}
.presentation-tray .cover-inner:before{top:-4px}.presentation-tray .cover-inner:after{bottom:-4px;transform:rotate(180deg)}
.presentation-tray .cover-emblem{width:82px;height:82px;margin:0 auto .9rem;object-fit:contain}
.presentation-tray h1{font-family:var(--names);font-size:clamp(3rem,6vw,4.5rem);line-height:1.06;margin:1rem 0 .7rem;letter-spacing:0}
.presentation-tray h1 em{font-family:var(--names);font-size:.48em;line-height:1;margin:.15rem 0}
.presentation-tray .eyebrow{font-size:.75rem;line-height:1.5;margin:0;max-width:none}
.presentation-tray .cover-date{font-size:1.2rem;margin:1rem 0;gap:.4rem;white-space:nowrap}
.presentation-tray .plate-open{font-size:.875rem;padding:.6rem 0;min-height:44px}
.cover-full-names{font-size:.875rem;color:#eee8dc;line-height:1.6;margin:1rem .5rem 0;text-align:center}
.hero-title h2{font-family:var(--names);font-size:clamp(5rem,10vw,10rem);line-height:1.2;letter-spacing:0}
.hero-title h2 em{font-family:var(--names);font-size:.7em}
.letter-content h2 em{font-family:var(--names)}
/* Repeat a small section of fine embroidery, never stretch one frame to fill a page. */
.letter-stage .invitation{background:#e5dece}
.lace-underlay{inset:8% 5%;background:var(--fine-lace) center top/330px auto repeat-x,var(--fine-lace) center bottom/330px auto repeat-x;opacity:.85;transform:rotate(-4deg);filter:none}
.letter-content{padding:5.3rem 3rem;background:#fcf9f1;border:1px solid #d5cbb8}
.letter-content:before,.letter-content:after{height:84px;background:var(--fine-lace) center top/252px auto repeat-x;opacity:1}
.letter-content:before{top:0}.letter-content:after{bottom:0}
.letter-stage .letter-fold{background-color:#eee7d8;background-image:var(--fine-lace);background-size:252px auto;background-repeat:repeat-x;background-position:center top}
.letter-stage .fold-right{background-position:center bottom}
.heirloom-countdown:before,.heirloom-countdown:after,.rsvp-panel:before,.rsvp-panel:after,.faq:before,.attire-notes:before{background-image:var(--fine-lace);background-size:180px auto;background-repeat:repeat-x;height:60px}
.venue-photo:before,.venue-photo:after{background-image:var(--fine-lace);background-size:240px auto;height:80px}
.palette-wrap:before{background:var(--fine-lace) center top/210px auto repeat-x;opacity:.7}
.palette button:before{background:var(--fine-lace) center top/180px auto repeat;opacity:.45}
@media(max-width:800px){
 .heirloom-opening{padding-top:1.5rem}.presentation-tray{width:min(520px,98vw);min-height:0;padding:0}
 .presentation-tray .cover-inner{inset:18% 13%;padding:1.8rem .5rem}
 .presentation-tray .cover-emblem{width:56px;height:56px;margin:0 auto .55rem}
 .presentation-tray h1{font-size:clamp(2.8rem,10.8vw,4rem);line-height:1.05;margin:.6rem 0 .4rem}
 .presentation-tray h1 em{font-size:.5em;margin:.12rem 0}
 .presentation-tray .eyebrow{font-size:.75rem;letter-spacing:.045em;max-width:180px}
 .presentation-tray .cover-date{font-size:1rem;margin:.65rem 0;gap:.3rem}
 .presentation-tray .cover-date span{padding-inline:.4rem}
 .presentation-tray .plate-open{font-size:.875rem;gap:.4rem}
 .hero-title h2{font-size:clamp(4.2rem,16vw,6.8rem);line-height:1.12}
 .hero-title h2 em{font-size:.6em;line-height:1;margin:.2rem 0;display:block}
 .hero-title{bottom:12%}
 .letter-content{padding:4.5rem 1.2rem}
 .letter-content:before,.letter-content:after{height:66px;background-size:198px auto}
 .lace-underlay{inset:7% 0;background-size:240px auto}
 .letter-content p:not(.eyebrow){font-size:1rem}
 .letter-stage .invitation{min-height:850px;padding-inline:5%}
}
@media(max-width:370px){.presentation-tray .cover-inner{inset:16% 11%}.presentation-tray .cover-emblem{width:46px;height:46px}.presentation-tray h1{font-size:2.6rem}.presentation-tray .cover-date{font-size:.95rem}.presentation-tray .cover-inner:before,.presentation-tray .cover-inner:after{height:30px;background-size:135px auto}}
@media(prefers-reduced-motion:reduce){.presentation-tray .cover-inner,.lace-underlay{transform:none}}
