/* The garden journey is the invitation's opening scene. */
.hero-journey{--scene-height:max(850px,100svh);height:calc(var(--scene-height) + 85svh);position:relative;background:#d2d0c6}
.hero-journey .hero-garden{height:var(--scene-height);min-height:0;position:sticky;top:min(0px,calc(100svh - var(--scene-height)));background:#d2d0c6;color:#384039}
.hero-garden-scenery{position:absolute;inset:0;z-index:-3;overflow:hidden;pointer-events:none}
.hero-distance{position:absolute;inset:-3%;transform:scale(var(--walk-distance-scale,1));transform-origin:65% 55%;will-change:transform}
.hero-garden .hero-landscape{z-index:0;inset:0}
.hero-garden .hero-landscape>img,.hero-garden .hero-landscape .ripple-canvas{filter:saturate(.42) brightness(.96);object-position:50% 55%}
.hero-garden .hero-shade{z-index:-2;background:linear-gradient(180deg,#e4e3d8b8,transparent 40%,#343f3338),radial-gradient(ellipse at 50% 27%,#e7e5dcc4,transparent 49%)}
.hero-garden .walk-tree{width:max(108vw,125vh);left:47%;bottom:-19vh;z-index:1;opacity:1;filter:saturate(.55) brightness(.83);transform-origin:73% 62%}
.hero-garden .walk-cloud{filter:grayscale(1) sepia(.32) saturate(1.1) hue-rotate(165deg) brightness(.96) contrast(1.06) drop-shadow(0 8px 18px #56758930)}
.hero-garden .walk-cloud-far{z-index:0;top:-8%;left:44%;width:42%;opacity:var(--cloud-far-opacity,.7)}
.hero-garden .walk-cloud-left{z-index:2;top:47%;left:-25%;width:51%}
.hero-garden .walk-cloud-right{z-index:2;top:6%;right:-27%;width:49%}
/* A light breeze continues between scrolls, independently of the depth transform. */
.hero-garden .walk-cloud{will-change:transform,opacity,translate}
.loaded:not(.intro-active) .hero-garden .walk-cloud{animation:cloud-breeze var(--cloud-breeze-duration,18s) var(--cloud-breeze-delay,0s) ease-in-out infinite}
.hero-garden .walk-cloud-left{--cloud-breeze-x:clamp(10px,1.2vw,20px);--cloud-breeze-y:-8px;--cloud-breeze-duration:14s;--cloud-breeze-delay:-3s}
.hero-garden .walk-cloud-right{--cloud-breeze-x:clamp(-20px,-1.1vw,-10px);--cloud-breeze-y:9px;--cloud-breeze-duration:18s;--cloud-breeze-delay:-9s}
.hero-garden .walk-cloud-far{--cloud-breeze-x:10px;--cloud-breeze-y:-5px;--cloud-breeze-duration:22s;--cloud-breeze-delay:-6s}
@keyframes cloud-breeze{0%,100%{translate:calc(-1 * var(--cloud-breeze-x)) calc(-1 * var(--cloud-breeze-y))}50%{translate:var(--cloud-breeze-x) var(--cloud-breeze-y)}}
@media(prefers-reduced-motion:reduce){.loaded:not(.intro-active) .hero-garden .walk-cloud{animation:none;translate:none}}
.loaded.motion-off:not(.intro-active) .hero-garden .walk-cloud{animation:none;translate:none}
.hero-garden .walk-butterfly{z-index:3;left:32%;top:62%;width:62px;opacity:1}
.hero-garden .hero-copy,body:not(.intro-active) .hero-garden:has(.is-open) .hero-copy{top:147px;left:16%;right:16%;color:#354037;text-shadow:0 1px 12px #eeece088}
.hero-garden .hero-copy h1.painted-title,body:not(.intro-active) .hero-garden:has(.is-open) h1.painted-title{font-size:clamp(68px,7.4vw,118px);line-height:1.05}
.hero-garden .hero-date,body:not(.intro-active) .hero-garden:has(.is-open) .hero-date{margin-top:26px;flex-wrap:wrap;gap:6px 14px;font-size:11px;letter-spacing:.1em}
.hero-garden .hero-copy>.eyebrow{font-size:11px;letter-spacing:.18em}
.hero-garden .title-leaf{filter:saturate(.6)}
.site-header{background:none;backdrop-filter:none;box-shadow:none;padding-bottom:25px;color:#344338}
.site-header nav a{color:#344338;text-shadow:0 1px 5px #f2f0e7;font-weight:500}
.site-header .nav-rsvp{border-bottom-color:#58634c80}
body:not(.intro-active) .hero-garden .envelope-tilt{--invitation-width:min(530px,59svh);left:50%;top:max(120px,calc(45% - var(--invitation-width)*.64 + 40px));width:var(--invitation-width)}
body:not(.intro-active) .hero-garden:has(.is-open) .envelope-tilt{--invitation-width:min(560px,62svh);left:50%;top:calc(48% - var(--invitation-width)*.62);width:var(--invitation-width)}
body:not(.intro-active) .hero-garden .open-caption,body:not(.intro-active) .hero-garden:has(.is-open) .open-caption{left:50%;bottom:40px;white-space:nowrap}
.hero-garden .hero-bottom{bottom:42px;left:11%;right:11%;z-index:7}
.hero-garden>.ornamental-frame{top:123px;bottom:27px;opacity:.8}
.hero-garden .hero-star{filter:drop-shadow(0 1px 3px #354235);z-index:3}
.hero-garden .hero-curtains{--drape:clamp(250px,38vw,650px)}
.hero-garden .hero-curtain{filter:sepia(.12) saturate(1.2) hue-rotate(-12deg) brightness(.88)}
.hero-garden .card-venue{max-width:100%;text-wrap:balance}
.garden-words>p:not(.cartouche-kicker){text-wrap:balance}
.venue-copy h2{font-size:clamp(42px,4.3vw,68px);text-wrap:balance}
.stay-booking h3{font-size:clamp(34px,3.3vw,49px);text-wrap:balance}
@media(max-width:1000px){
 .hero-garden .hero-copy,body:not(.intro-active) .hero-garden:has(.is-open) .hero-copy{left:12%;right:12%}
 .hero-garden .hero-copy h1.painted-title,body:not(.intro-active) .hero-garden:has(.is-open) h1.painted-title{font-size:8.7vw}
 body:not(.intro-active) .hero-garden .envelope-tilt,body:not(.intro-active) .hero-garden:has(.is-open) .envelope-tilt,body:not(.intro-active) .hero-garden .open-caption,body:not(.intro-active) .hero-garden:has(.is-open) .open-caption{left:50%}
}
@media(max-width:760px){
 .hero-journey{--scene-height:max(820px,100svh);height:calc(var(--scene-height) + 60svh)}
 .hero-garden .walk-tree{width:max(165vw,98vh);left:33%;bottom:-3vh;transform-origin:72% 65%}
 .hero-garden .hero-shade{background:linear-gradient(#e3e3d5b8 12%,#e1e0d7a6 33%,transparent 65%,#35413233)}
 .hero-garden .hero-copy,body:not(.intro-active) .hero-garden:has(.is-open) .hero-copy{top:151px;left:5%;right:5%}
 .hero-garden .hero-copy h1.painted-title,body:not(.intro-active) .hero-garden:has(.is-open) h1.painted-title{font-size:13vw}
 .hero-garden .hero-copy>.eyebrow{font-size:8px;letter-spacing:.12em}
 .hero-garden .hero-date,body:not(.intro-active) .hero-garden:has(.is-open) .hero-date{font-size:9px;gap:5px;max-width:260px;margin:24px auto 0}
 .hero-garden .hero-date>span:last-child{flex-basis:100%}
 .hero-garden .hero-date>span[aria-hidden]{display:none}
 body:not(.intro-active) .hero-garden .envelope-tilt{--invitation-width:min(460px,94vw);left:50%;top:calc(47% - var(--invitation-width)*.48)}
 body:not(.intro-active) .hero-garden:has(.is-open) .envelope-tilt{--invitation-width:min(460px,94vw);left:50%;top:calc(49% - var(--invitation-width)*.62)}
 body:not(.intro-active) .hero-garden .open-caption,body:not(.intro-active) .hero-garden:has(.is-open) .open-caption{left:50%;bottom:94px;font-size:10px}
 .hero-garden .hero-bottom{left:6%;right:6%;bottom:40px;font-size:8px}
 .hero-garden .hero-curtains{--drape:43vw}
 .hero-garden>.ornamental-frame{top:123px;bottom:25px}
 .hero-garden .walk-cloud-left{width:95%;left:-56%;top:53%}
 .hero-garden .walk-cloud-right{width:83%;right:-50%;top:10%}
 .hero-garden .walk-butterfly{width:44px;left:16%;top:39%}
}
@media(prefers-reduced-motion:reduce){.hero-journey{height:var(--scene-height)}.hero-journey .hero-garden{position:relative;top:0}.hero-garden .hero-distance,.hero-garden .walk-cloud{transform:none}.hero-garden .walk-tree{transform:translateX(-50%)}}
.motion-off .hero-journey{height:var(--scene-height)}
.motion-off .hero-journey .hero-garden{position:relative;top:0}

.hero-garden .title-swash{color:#354037;top:42%}
/* The lantern gates now mark the passage from the garden into the venue. */
.lantern-walk{height:155svh;background:#303a31}
.lantern-walk .walk-stage{background:#303a31;min-height:620px;color:#f1ede4}
.lantern-scene{position:absolute;inset:0;transform:scale(var(--gate-scale,1));will-change:transform}
.lantern-backdrop{width:100%;height:100%;object-fit:cover;filter:saturate(.52) brightness(.77)}
.lantern-scene .lantern-glow{z-index:1}
.lantern-shade{position:absolute;inset:0;background:linear-gradient(90deg,#17251c22,#1a261e73 40% 60%,#17251c22),linear-gradient(#17221c33,transparent 50%,#17221c66);pointer-events:none}
.lantern-walk .walk-copy{left:16%;right:16%;top:34%;color:#f1ede4;text-shadow:0 2px 16px #14251a;opacity:1;transform:translateY(var(--gate-copy-y,0px))}
.lantern-walk .walk-copy h2{font-size:clamp(52px,6.2vw,95px);line-height:1.1}
.lantern-walk .walk-caption{display:block;margin-top:45px}
.lantern-walk .ornamental-frame{inset:35px;opacity:.7}
@media(max-width:760px){.lantern-walk{height:135svh}.lantern-walk .walk-copy{left:9%;right:9%;top:33%}.lantern-walk .walk-copy h2{font-size:55px}.lantern-walk .walk-stage{min-height:620px}.lantern-walk .ornamental-frame{inset:22px}}
@media(prefers-reduced-motion:reduce){.lantern-walk{height:auto}.lantern-walk .walk-stage{position:relative}.lantern-scene{transform:none}}
.motion-off .lantern-walk{height:auto}.motion-off .lantern-walk .walk-stage{position:relative}

/* Lettering rests directly on the painting, like an engraved invitation. */
body:not(.intro-active) .hero-garden .open-caption,body:not(.intro-active) .hero-garden:has(.is-open) .open-caption{background:none;border:0;border-bottom:1px solid #f5f1e870;box-shadow:none;border-radius:0;padding:10px 4px;color:#f5f1e8;text-shadow:none;letter-spacing:.16em;transition:letter-spacing .4s,color .4s}
body:not(.intro-active) .hero-garden .open-caption:hover{letter-spacing:.21em;color:#fff}
.hero-garden .hero-bottom>span,.hero-garden .hero-bottom>a{background:none;box-shadow:none;border:0;padding:6px 0;color:#f5f1e8;text-shadow:0 1px 4px #233425,0 0 10px #233425}
.hero-garden .hero-bottom>a{border-bottom:1px solid #ede9de77}
/* Separate reveal, fabric sway and scroll travel so the movements blend. */
.hero-garden .hero-curtain{transform-origin:50% 0;will-change:transform,rotate,translate;animation-play-state:var(--curtain-play,running)}
.hero-garden .hero-curtain-left{left:calc(var(--drape)*-.47);transform:translate3d(calc(-1 * var(--curtain-travel,0px)),var(--curtain-lift,0px),0)}
.hero-garden .hero-curtain-right{right:calc(var(--drape)*-.47);transform:translate3d(var(--curtain-travel,0px),var(--curtain-lift,0px),0)}
.loaded:not(.intro-active) .hero-garden .hero-curtain-left{animation:drape-left-reveal 2.8s cubic-bezier(.2,.75,.3,1) both,drape-left-sway 6.8s 2.8s ease-in-out infinite}
.loaded:not(.intro-active) .hero-garden .hero-curtain-right{animation:drape-right-reveal 3.1s cubic-bezier(.2,.75,.3,1) both,drape-right-sway 8.2s 3.1s ease-in-out infinite}
@keyframes drape-left-reveal{from{translate:24vw 0;rotate:0deg;scale:1 1}to{translate:0 0;rotate:0deg;scale:1 1}}
@keyframes drape-right-reveal{from{translate:-24vw 0;rotate:0deg;scale:1 1}to{translate:0 0;rotate:0deg;scale:1 1}}
@keyframes drape-left-sway{0%,100%{rotate:0deg;translate:0 0;scale:1 1}32%{rotate:2.4deg;translate:1.8vw 6px;scale:1.065 1.02}70%{rotate:-2.6deg;translate:-.6vw -4px;scale:.99 1.035}}
@keyframes drape-right-sway{0%,100%{rotate:0deg;translate:0 0;scale:1 1}38%{rotate:-2.7deg;translate:-2vw 8px;scale:1.07 1.025}74%{rotate:2.3deg;translate:.5vw -5px;scale:.985 1.035}}
@media(max-width:760px){.hero-garden .hero-curtain-left{left:calc(var(--drape)*-.58)}.hero-garden .hero-curtain-right{right:calc(var(--drape)*-.58)}.site-header nav a{text-shadow:0 1px 5px #f4f2e8}.hero-garden .open-caption{max-width:90%;letter-spacing:.1em}}
@media(prefers-reduced-motion:reduce){.loaded:not(.intro-active) .hero-garden .hero-curtain{animation:none;transform:none;translate:none;rotate:none;scale:none}}
.loaded.motion-off:not(.intro-active) .hero-garden .hero-curtain{animation:none;transform:none;translate:none;rotate:none;scale:none}
.hero-garden .envelope-closed{transition:opacity .8s,transform 1.5s cubic-bezier(.2,.65,.25,1)}
.hero-garden .invitation-card{transition:transform 1.9s .25s cubic-bezier(.2,.65,.25,1),opacity .8s .15s}
.hero-garden .envelope-back,.hero-garden .envelope-front{transition:opacity .9s .15s}
/* The invitation passes the viewer on its own plane as the clouds part. */
body:not(.intro-active) .hero-garden .invitation-scene{z-index:4;transform-origin:50% 65%;transform:translate3d(var(--invitation-travel-x,0px),var(--invitation-travel-y,0px),0) scale(var(--invitation-travel-scale,1)) rotate(var(--invitation-travel-turn,0deg));opacity:var(--invitation-travel-opacity,1);will-change:transform,opacity}
body:not(.intro-active) .hero-garden .hero-copy{transform:translateY(var(--hero-copy-travel-y,0px));opacity:var(--hero-copy-travel-opacity,1);will-change:transform,opacity}
/* A distant garden scene grows to full size before scrolling past. */
.countdown-approach.has-depth{height:calc(var(--countdown-height,700px) + 60svh);position:relative;perspective:1500px;perspective-origin:50% 50%;isolation:isolate;background:radial-gradient(ellipse at 50% 40%,#646e46,#353f28 75%)}
.countdown-approach.has-depth .countdown-section{position:sticky;top:max(0px,calc((100svh - var(--countdown-height,700px))/2));transform-origin:50% 50%;transform:translate3d(0,var(--countdown-y,0px),var(--countdown-z,0px)) rotateX(var(--countdown-pitch,0deg));filter:brightness(var(--countdown-light,1));will-change:transform,filter}
@media(prefers-reduced-motion:reduce){body:not(.intro-active) .hero-garden .invitation-scene,body:not(.intro-active) .hero-garden .hero-copy{transform:none;opacity:1}.countdown-approach.has-depth{height:auto;perspective:none}.countdown-approach.has-depth .countdown-section{position:relative;top:0;transform:none;filter:none}}
.motion-off:not(.intro-active) .hero-garden .invitation-scene,.motion-off:not(.intro-active) .hero-garden .hero-copy{transform:none;opacity:1}
.motion-off .countdown-approach.has-depth{height:auto;perspective:none}.motion-off .countdown-approach.has-depth .countdown-section{position:relative;top:0;transform:none;filter:none}
@media(max-width:760px){
 .site-header{padding-inline:16%;gap:8px}
 .site-header .brand{width:70px;flex-shrink:0}
 .site-header .brand img{height:58px}
 .hero-garden .hero-bottom{justify-content:center;gap:25px}
}

/* Readable invitation type, including the small supporting labels. */
.hero-garden .hero-copy,body:not(.intro-active) .hero-garden:has(.is-open) .hero-copy{color:#233328;text-shadow:0 1px 1px #eeeade,0 0 6px #eeeadeb3}
.hero-garden .hero-copy h1.painted-title,body:not(.intro-active) .hero-garden:has(.is-open) h1.painted-title{font-size:clamp(84px,8.8vw,144px);font-weight:400;line-height:1.08;-webkit-text-stroke:0}
.hero-garden .title-initial,.hero-garden .title-ampersand{font-weight:400;-webkit-text-stroke:0}
.hero-garden .title-swash{width:90%;left:5%;top:31%;opacity:.75}
.hero-garden .hero-copy>.eyebrow{font-size:1rem;font-weight:700;line-height:1.5;letter-spacing:.1em}
.hero-garden .hero-date,body:not(.intro-active) .hero-garden:has(.is-open) .hero-date{font-size:1.0625rem;font-weight:700;line-height:1.5;letter-spacing:.055em;margin-top:24px}
.site-header nav a{font-size:1.0625rem;font-weight:700;line-height:1.45;letter-spacing:.075em;color:#25362a;text-shadow:0 1px 1px #efecdf,0 0 5px #efecdf}
body:not(.intro-active) .hero-garden .open-caption,body:not(.intro-active) .hero-garden:has(.is-open) .open-caption{font-size:1rem;font-weight:500;line-height:1.5;letter-spacing:.1em;text-shadow:none;filter:none}
.hero-garden .hero-bottom{font-size:1rem;font-weight:700;line-height:1.5;letter-spacing:.065em}
.hero-garden .hero-bottom>span,.hero-garden .hero-bottom>a{text-shadow:0 1px 2px #142319,0 0 4px #142319,1px 0 1px #142319,-1px 0 1px #142319}
@media(max-width:1000px){
 .hero-garden .hero-copy h1.painted-title,body:not(.intro-active) .hero-garden:has(.is-open) h1.painted-title{font-size:10vw}
 .site-header nav a{font-size:1rem}
}
@media(max-width:760px){
 .site-header{display:grid;grid-template-columns:minmax(0,1fr) 56px minmax(0,1fr);padding-inline:18%;gap:6px}
 .site-header .brand{width:56px}
 .site-header nav{gap:0;min-width:0}
 .site-header nav a{font-size:.875rem;letter-spacing:.025em;padding-block:8px;white-space:normal;text-align:center}
 .hero-garden .hero-copy h1.painted-title,body:not(.intro-active) .hero-garden:has(.is-open) h1.painted-title{font-size:14.8vw;-webkit-text-stroke:0}
 .hero-garden .title-initial,.hero-garden .title-ampersand{-webkit-text-stroke:0}
 .hero-garden .hero-copy>.eyebrow{font-size:.875rem;letter-spacing:.045em;margin-bottom:17px}
 .hero-garden .hero-date,body:not(.intro-active) .hero-garden:has(.is-open) .hero-date{font-size:.9375rem;line-height:1.45;letter-spacing:.025em;max-width:94%;margin-top:23px}
 body:not(.intro-active) .hero-garden .envelope-tilt{top:calc(43% - var(--invitation-width)*.48)}
 body:not(.intro-active) .hero-garden .open-caption,body:not(.intro-active) .hero-garden:has(.is-open) .open-caption{font-size:.9375rem;letter-spacing:.055em;bottom:100px;white-space:normal;width:max-content;max-width:90%;min-height:44px}
 .hero-garden .hero-bottom{flex-direction:column;gap:3px;bottom:26px;font-size:.875rem;line-height:1.35;letter-spacing:.035em}
 .hero-garden .hero-bottom>span,.hero-garden .hero-bottom>a{padding:3px 0}
}
