/* A tactile, swipeable project reel in normal page flow. */
.work{height:auto!important;min-height:0;background:#20372f;overflow:hidden}
.work-stage{position:relative;top:auto;height:auto;min-height:0;padding:100px 0 55px;background:radial-gradient(ellipse at 48% 52%,#405446,#20372f 75%)}
.work-heading{position:relative;inset:auto;width:82%;max-width:1140px;margin:0 auto 40px;pointer-events:auto;align-items:flex-end}
.work-heading h2{font-size:clamp(46px,4.6vw,66px);line-height:1.02;margin-top:19px}
.work-heading>p{font-size:12px;line-height:1.8;max-width:250px;color:#d4d8c8}
.gallery-viewport{--slide-width:min(64vw,820px);position:relative;inset:auto;height:auto;margin:0;overflow-x:auto;overflow-y:hidden;perspective:none;pointer-events:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;cursor:grab;-webkit-overflow-scrolling:touch;overflow-anchor:none}
.gallery-viewport::-webkit-scrollbar{display:none}
.gallery-track{position:relative;display:flex;width:max-content;height:auto;gap:25px;padding:0 calc((100vw - var(--slide-width))/2) 26px;overflow:visible;pointer-events:auto;transform-style:flat;scroll-snap-type:none}
.project-panel{position:relative;inset:auto;margin:0;flex:0 0 var(--slide-width);width:var(--slide-width);max-width:none;height:auto;transform:none!important;opacity:1!important;pointer-events:auto!important;scroll-snap-align:center;scroll-snap-stop:always;will-change:auto}
.project-button{height:auto;aspect-ratio:1.65;max-height:55svh;border:1px solid #d8c8a066;box-shadow:0 18px 28px #0c1e164d;cursor:inherit}
.project-button img{height:100%;width:100%;transform:none!important;will-change:auto;user-select:none;-webkit-user-drag:none}
.project-caption{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding-top:18px;font:400 23px/1.3 var(--serif);color:#f0e7d5}
.project-caption>span:last-child{font:400 9px/1.5 var(--sans);letter-spacing:.08em;color:#c9ceba;text-align:right}
.gallery-bottom{position:relative;inset:auto;width:82%;max-width:1140px;margin:10px auto 0}
.gallery-position{font-size:11px;gap:11px;min-width:110px}.gallery-position b{font-size:18px}.gallery-position>i{width:45px}
.gallery-viewport.is-dragging{cursor:grabbing;scroll-snap-type:none;user-select:none}
.gallery-viewport.is-recentering{scroll-snap-type:none!important;scroll-behavior:auto!important}
/* Original photographic roses and a brass arch around the invitation stationery. */
.occasion-stage{padding-top:102px;padding-bottom:100px}
.occasion-note{margin-bottom:95px}
.invitation-perspective{width:min(880px,85%)}
.invitation-floral-surround{position:absolute;z-index:1;inset:-87px -115px -65px;pointer-events:none;background:url('assets/invitation-floral-surround.png') center/100% 100% no-repeat;filter:drop-shadow(0 7px 8px #14241a30)}
.invitation-card{box-shadow:0 20px 55px #0b211663}
.letter-underlay{transform:rotate(1.4deg);background-color:#e5d6b8}
.invitation-details{position:relative;z-index:4}
.invitation-card h2{font-size:clamp(46px,4.2vw,60px)}
.flower-shower{position:absolute;inset:0;z-index:12;pointer-events:none;overflow:hidden;contain:strict}
.flower-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.flower-machine{position:absolute;width:clamp(105px,9.5vw,155px);height:auto;bottom:14px;left:6px;filter:drop-shadow(0 7px 11px #0c211450);user-select:none;pointer-events:none}
.flower-machine-right{left:auto;right:6px;transform:scaleX(-1)}
@media(max-width:1000px) and (min-width:701px){.invitation-perspective{width:85%}.invitation-floral-surround{inset:-65px -85px -50px}.invitation-card{padding-inline:24px}.invitation-layout{gap:19px}.invitation-details{padding-left:19px}.invitation-hosts span{font-size:22px}}
@media(max-width:700px){
 .work-stage{padding:88px 0 42px}
 .work-heading{display:block;width:84%;margin-bottom:27px}
 .work-heading .eyebrow{font-size:8px;letter-spacing:.13em}
 .work-heading h2{font-size:45px;line-height:1.02;margin-top:19px}
 .work-heading>p{font-size:11px;line-height:1.75;max-width:none;margin-top:19px}.work-heading>p br{display:none}
 .gallery-viewport{--slide-width:84vw}
 .gallery-track{gap:15px;padding-bottom:20px}
 .project-button{aspect-ratio:1.27;max-height:48svh}
 .project-button img{object-position:center}
 .project-caption{font-size:19px;line-height:1.25;align-items:flex-start;gap:15px;padding-top:15px}.project-caption>span:first-child{max-width:68%}.project-caption>span:last-child{font-size:7px;line-height:1.7;max-width:33%;margin-top:2px}
 .image-open-hint{width:32px;height:32px}
 .gallery-bottom{width:84%;margin-top:5px}
 .gallery-position{min-width:85px;gap:8px;font-size:9px}.gallery-position b{font-size:16px}.gallery-position>i{width:27px}
 .occasion-stage{padding:76px 22px 64px}
 .occasion-note{margin-bottom:55px}
 .invitation-perspective{width:100%;max-width:440px}
 .invitation-floral-surround{inset:-40px -20px -30px;background:none;filter:drop-shadow(0 4px 4px #14241a25)}
 .invitation-floral-surround:before,.invitation-floral-surround:after{content:'';position:absolute;background-image:url('assets/invitation-floral-surround.png');background-repeat:no-repeat;pointer-events:none;width:145px;height:137px;background-size:360px 240px}
 .invitation-floral-surround:before{top:0;left:-1px;background-position:0 0}
 .invitation-floral-surround:after{bottom:0;right:-1px;background-position:100% 100%}
 .invitation-card h2{font-size:clamp(42px,12.2vw,49px)}
 .invitation-kicker{position:relative;z-index:4}
 .flower-machine{width:78px;left:-17px;bottom:15px}.flower-machine-right{left:auto;right:-17px}
}
@media(max-width:370px){.gallery-position{gap:6px}.project-caption{font-size:18px}.flower-machine{width:69px}}
@media(prefers-reduced-motion:reduce){.project-button img{transition:none}.flower-canvas{display:none}.invitation-floral-surround{filter:none}}
@media print{.flower-shower,.gallery-bottom{display:none!important}.gallery-viewport{overflow:visible}.gallery-track{display:grid;width:100%;padding:0;grid-template-columns:1fr 1fr}.project-panel{width:100%}.project-button{max-height:none}.invitation-floral-surround{display:none}}
