@font-face{font-family:'Pinyon Script';src:url('fonts/pinyon-script.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
.story-page{color:#f6ebda}
.story-page::before{background-image:linear-gradient(#21030a28,#21030a28),url('assets/burgundy-fabric.webp')}
.story-page .page-bar{width:min(900px,calc(100% - 80px))}
.story-letter{width:min(800px,calc(100% - 80px));margin:0 auto;padding:20px 0 44px;text-align:center;container-type:inline-size}
.story-page .eyebrow{color:#e7d1bb;font-size:10px;letter-spacing:.16em}
.story-intro h1{margin:9px 0 5px;padding:0 .12em;font:400 min(104px,19cqw)/1.45 'Pinyon Script',cursive;color:#fff3df;font-synthesis:none;text-shadow:0 2px 12px #24071055;overflow-wrap:break-word}
.story-subtitle{margin:0;color:#e9d7c4;font-size:22px;line-height:1.4;font-style:italic}
.story-portrait{width:min(640px,100%);margin:20px auto 0}
.portrait-art{position:relative;isolation:isolate;aspect-ratio:1}
.portrait-window{position:absolute;inset:18%;border-radius:16%;overflow:hidden;background:#2b1019}
.portrait-window>img{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--story-photo-position,50% 50%);transform:scale(var(--story-photo-zoom,1))}
.portrait-lace{position:absolute;z-index:1;inset:0;width:100%;height:100%;filter:drop-shadow(0 8px 10px #16020b60);pointer-events:none;user-select:none}
.story-portrait figcaption{margin:13px auto 0;color:#e6cfb9;font-size:16px;line-height:1.5;font-style:italic}
.story-lead{max-width:580px;margin:38px auto 0;padding:0 14px;font-size:29px;line-height:1.5;font-style:italic;text-wrap:balance;white-space:pre-line;color:#fff3df}
.story-divider{display:flex;align-items:center;gap:17px;width:min(300px,70%);height:25px;margin:29px auto 34px;color:#dcbda2b3}
.story-divider::before,.story-divider::after{content:'';height:1px;flex:1;background:linear-gradient(90deg,transparent,currentColor)}
.story-divider::after{background:linear-gradient(90deg,currentColor,transparent)}
.story-divider svg{display:block;width:84px;height:24px;flex:0 0 84px;fill:none;stroke:currentColor;stroke-width:.85;stroke-linecap:round;stroke-linejoin:round}
.story-chapters{width:min(550px,100%);margin:0 auto}
.story-chapter{margin:0 auto 37px;padding:0 16px}
.story-chapter-number{font-size:10px;letter-spacing:.14em;color:#d5b596}
.story-chapter h2{margin:8px 0 17px;font:400 min(45px,8cqw)/1.5 'Pinyon Script',cursive;color:#fff3df;overflow-wrap:break-word}
.story-chapter p{margin:0 0 14px;font-size:20px;line-height:1.65;color:#efdeca;text-wrap:pretty}
.story-chapter p:last-child{margin-bottom:0}
.story-signoff{padding-top:0}
.story-signoff .story-divider{margin-top:6px;margin-bottom:29px}
.story-closing{max-width:500px;margin:0 auto 24px;padding:0 12px;font-size:22px;line-height:1.5;color:#efdeca;font-style:italic;text-wrap:balance}
.story-signature{font:400 min(74px,12cqw)/1.55 'Pinyon Script',cursive;margin:11px auto 22px;padding:0 .1em;color:#fff3df;overflow-wrap:break-word;font-synthesis:none}
.story-actions{display:flex;flex-direction:column;align-items:center;gap:10px;margin:0 auto}
.story-rsvp{min-width:200px;background:#f8efdf;color:var(--wine);border:1px solid #e8d7c0;box-shadow:0 5px 14px #1e06174d;font-size:18px}
.story-rsvp:hover{background:#fff8ec;transform:translateY(-2px)}
.story-rsvp .icon{width:14px;height:14px;flex-basis:14px;margin-left:7px}
.story-details{display:inline-flex;align-items:center;min-height:44px;padding:8px;font-size:17px;color:#f4e3cf;text-decoration:none}
.story-details:hover{text-decoration:underline}
.story-page a:focus-visible{outline-color:#f8efdf}
.story-page .signoff-return{color:#dabda3;margin-top:17px;font-size:15px}
@media(max-width:760px){.story-page .page-bar,.story-letter{width:calc(100% - 36px)}.story-letter{padding-top:14px}.story-portrait{max-width:590px}.story-chapter p{font-size:19px}.story-chapter h2{font-size:min(42px,8cqw)}}
@media(max-width:560px){.story-page .page-bar,.story-letter{width:calc(100% - 24px)}.story-letter{padding-top:15px;padding-bottom:30px}.story-page .eyebrow{font-size:9px;letter-spacing:.12em}.story-intro h1{font-size:19cqw;margin:9px 0 6px}.story-subtitle{font-size:18px;padding:0 10px}.story-portrait{margin-top:16px}.story-portrait figcaption{font-size:14px;margin-top:10px}.story-lead{font-size:24px;line-height:1.5;padding-inline:18px;margin-top:29px}.story-divider{margin-block:23px 29px;width:70%;gap:11px}.story-chapter{padding-inline:20px;margin-bottom:30px}.story-chapter h2{font-size:10cqw;margin-top:8px;margin-bottom:13px}.story-chapter p{font-size:18px;line-height:1.6;margin-bottom:13px}.story-closing{font-size:20px;padding-inline:21px;margin-bottom:21px}.story-signature{font-size:12cqw;margin-top:10px;margin-bottom:19px}.story-signoff .story-divider{margin-bottom:25px}.story-rsvp{min-width:196px}.story-details{font-size:16px}.story-page .signoff-return{font-size:14px;margin-top:12px}}
