@font-face{font-family:Invitation;src:url('../assets/fonts/cormorant-garamond-400.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Signature;src:url('../assets/fonts/pinyon-script-400.ttf') format('truetype');font-weight:400;font-display:swap}
body{font-family:Invitation,Georgia,serif;color:#76634e;font-size:18px;line-height:1.5}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:400}p+p{margin-top:16px}
.opening{background:#f8f4ec;transition:opacity 1.6s ease-in-out;overflow:hidden}.cinematic-envelope{position:relative;width:100%;height:100svh;height:100dvh;background:#f8f4ec}.cinematic-envelope video,.opening-trigger,.opening-trigger img,.light-dissolve{position:absolute;inset:0;width:100%;height:100%}.cinematic-envelope video,.opening-trigger img{object-fit:cover}.opening-trigger{border:0;padding:0;background:none;cursor:pointer;z-index:2;transition:opacity .5s}.opening-trigger span{position:absolute;top:max(20%,env(safe-area-inset-top));left:0;right:0;color:#fff;font:14px Georgia,serif;text-transform:uppercase;letter-spacing:.25em;text-shadow:0 1px 8px #53442b}.opening.is-playing .opening-trigger{opacity:0;pointer-events:none}.light-dissolve{z-index:3;background:#f8f4ec;opacity:0;pointer-events:none;transition:opacity 1.6s ease-in-out}.opening.is-dissolving .light-dissolve{opacity:1}.opening.is-finished{opacity:0;pointer-events:none}.skip-opening{position:absolute;z-index:4;bottom:max(25px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);border:0;border-bottom:1px solid #b69c76;background:#f8f4eced;padding:10px 14px;color:#76634e;font:16px Invitation,serif;white-space:nowrap;cursor:pointer}.skip-opening[hidden]{display:none}
.canvas{transition:opacity 1.2s ease-in-out}.sealed .canvas{opacity:0}.hero-copy{position:relative;margin:6px auto 0;z-index:5}.hero-copy h1{font-family:Signature,serif;font-size:clamp(42px,12vw,62px);line-height:1.3;margin:10px -5px}.hero-copy h1 span{font-family:Invitation,serif;font-size:.6em;padding:0 4px}.eyebrow{font-size:14px;letter-spacing:.13em;text-transform:uppercase}.date-line{font-size:17px;letter-spacing:.13em}.hero{padding-bottom:55px}.hero-arch{max-height:73svh;overflow:hidden}.hero-arch img{height:73svh;object-fit:cover}.formal{min-height:0;padding-top:20px;padding-bottom:40px}.formal-frame{aspect-ratio:auto;min-height:760px}.formal-content{padding:110px 17% 65px;font-size:17px;line-height:1.4}.formal-content .ornament{font-size:30px}.formal-content .eyebrow{font-size:12px;letter-spacing:.1em;margin:10px 0 18px}.family-names{font-size:18px}.couple-script{font-family:Signature,serif;font-size:51px;line-height:.85;margin:28px 0 20px}.couple-script span{font-family:Invitation,serif;font-size:24px;line-height:1.5}.formal-content .fine-rule{margin:18px auto}.formal-venue{font-size:21px}.formal-venue span{font-size:17px}.section-title{font-size:clamp(32px,8.6vw,43px);line-height:1.15;margin:15px 0 20px}.details{min-height:650px;padding-top:65px}.detail-pair{gap:14px;margin:38px auto 20px}.detail-pair h3{font-size:23px}.detail-pair p{font-size:17px}.detail-pair .event-time{font-size:21px;margin-top:12px;letter-spacing:.06em}.detail-pair>div+div{padding-left:14px}.stem{padding-top:12px}.stem i{height:48px}.closing-line{font-style:italic;font-size:22px;margin-top:28px}.countdown{min-height:490px;padding-top:65px}.countdown-values{margin:40px 0 25px;gap:8px}.countdown-values span{font-size:40px;line-height:1.2;font-variant-numeric:tabular-nums}.countdown-values small{display:block;font-size:14px;letter-spacing:.03em;margin-top:10px}.venue{min-height:700px;text-align:center;padding:90px 0 65px}.venue-lines{z-index:3;position:relative;padding:0 28px;margin-top:22px}.map-scene{min-height:550px;padding-top:55px;padding-bottom:45px}.map-mount{margin:35px auto 35px}.sample-note{font-size:13px;letter-spacing:.01em;opacity:.85}.dress{min-height:650px;padding-top:60px}.fashion{margin:30px auto 25px}.dress-copy{padding:0 25px}.closing{min-height:430px;text-align:center;padding:50px 24px 85px}.signature{font-family:Signature,serif;font-size:43px;margin:18px 0}.brand-signature{font-size:15px;letter-spacing:.35em;margin-top:45px}.closing .sample-note{margin-top:14px}.music-control{top:max(16px,env(safe-area-inset-top));bottom:auto;width:38px;height:38px;padding:11px}
@media(min-width:600px){.cinematic-envelope{width:min(100%,56.25dvh)}.hero-arch,.hero-arch img{height:630px;max-height:630px}.formal-content{padding-top:145px;padding-bottom:100px}.formal-frame{min-height:860px}}
@media(prefers-reduced-motion:reduce){.canvas,.opening,.light-dissolve,.opening-trigger{transition:none}}

/* A single illustrated frontispiece: the families and couple sit on the artwork. */
.hero{min-height:max(820px,105svh);padding:0;isolation:isolate;display:flex;align-items:flex-start;justify-content:center}
.hero-arch{position:absolute;inset:0;height:100%;max-height:none;width:100%;mask-image:linear-gradient(#000 92%,transparent);overflow:hidden}
.hero-arch img{width:100%;height:100%;max-height:none;object-fit:cover;object-position:50% 65%;translate:0 calc(var(--scene-shift,0px) * .4);scale:1.035}
.hero:after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#f8f4eced 0%,#f8f4ece8 20%,#f8f4ecc9 37%,#f8f4ec52 49%,transparent 61%)}
.hero-copy{z-index:5;position:relative;margin:0;width:100%;padding:55px 27px 0;color:#594531;text-shadow:0 1px 2px #fff9ef80}
.hero-copy .ornament{display:block;font-size:35px;margin:0 0 8px}.hero-copy .eyebrow{font-size:13px;letter-spacing:.11em}
.hero-families{font-size:22px;line-height:1.2;margin:17px auto 0!important}.hero-families span{font-style:italic;font-size:17px;line-height:1.3}
.hero-copy h1{font-size:clamp(46px,13vw,64px);line-height:1.25;margin:20px -10px 10px}.hero-copy .hero-invitation{font-size:17px;line-height:1.3;margin:0}.hero-copy .fine-rule{margin:18px auto}.hero-copy .date-line{font-size:19px;margin:0;letter-spacing:.14em}
.hero-scroll{position:absolute;bottom:20px;z-index:5;font-size:13px;letter-spacing:.12em;color:#715b42;text-shadow:0 1px 4px #fff}.hero-scroll .scroll-line{margin:12px auto 0;height:32px;transform-origin:top}
.hero-left{bottom:10%;width:48%;opacity:.5;left:-25%}.hero-right{top:56%;right:-25%;width:48%;opacity:.5}

/* Reveal and scroll motion use separate transform channels to avoid fighting each other. */
.js .reveal{opacity:0;transform:translate3d(0,38px,0);transition:opacity 1.1s ease var(--reveal-delay,0ms),transform 1.35s cubic-bezier(.16,1,.3,1) var(--reveal-delay,0ms)}
.js .reveal.visible{opacity:1;transform:translate3d(0,0,0)}
.js .detail-pair>div:first-child{transform:translate3d(-24px,22px,0)}.js .detail-pair>div:last-child{transform:translate3d(24px,22px,0)}.js .detail-pair>div.visible{transform:none}
.branch{translate:0 var(--scene-shift,0px);transform-origin:60% 70%;animation:botanical-breathe 7s ease-in-out infinite alternate;animation-play-state:paused}
.scene.in-view .branch{animation-play-state:running}.branch:nth-of-type(even){animation-delay:-3s;animation-direction:alternate-reverse}
.palace-art{translate:0 calc(var(--scene-shift,0px) * -.75);transition-duration:1.8s!important;mask-image:linear-gradient(transparent,#000 10%,#000 86%,transparent)}
.palace-halo{scale:calc(.96 + var(--scene-progress,.5) * .08);transition:opacity 1.8s ease;transform-origin:center 80%}
.map-mount{translate:0 calc(var(--scene-shift,0px) * -.3)}.map-seal{transform-origin:50% 10%;animation:seal-drift 6s ease-in-out infinite alternate;animation-play-state:paused}.in-view .map-seal{animation-play-state:running}
.fine-rule.reveal{transform:scaleX(.15)}.fine-rule.reveal.visible{transform:scaleX(1)}
.in-view .hero-scroll .scroll-line{animation:scroll-guide 2.4s ease-in-out infinite}
.in-view .stem i{transform-origin:top;animation:stem-reveal 1.8s cubic-bezier(.2,.7,.2,1) both}
.fashion{translate:0 calc(var(--scene-shift,0px) * .45)}
@keyframes botanical-breathe{from{rotate:-1.8deg}to{rotate:1.8deg}}
@keyframes seal-drift{from{rotate:-3deg}to{rotate:3deg}}
@keyframes scroll-guide{0%,100%{scale:1 .65;opacity:.45}50%{scale:1 1;opacity:1}}
@keyframes stem-reveal{from{transform:scaleY(0);opacity:0}to{transform:scaleY(1);opacity:1}}
.opening{background:#b7c5cd}
.cinematic-envelope{width:min(100%,480px);background:#b7c5cd;isolation:isolate;overflow:hidden}
.cinematic-envelope:before{content:'';position:absolute;inset:-35px;z-index:-1;background:url('../assets/images/blue-envelope-cover.webp') center/cover;filter:blur(24px);opacity:.55}
.cinematic-envelope video,.opening-trigger img{object-fit:contain;object-position:center}
.opening-trigger{transition:opacity .18s ease}
.opening-trigger span{top:auto;bottom:max(38px,calc(env(safe-area-inset-bottom) + 22px));font-family:Invitation,Georgia,serif;font-size:15px;letter-spacing:.2em;color:#fffdf8;text-shadow:0 1px 5px #40515d}
@media(min-width:600px){.hero{min-height:950px}.hero-copy{padding-top:75px}.hero-copy h1{font-size:67px}}
@media(prefers-reduced-motion:reduce){.js .reveal,.js .detail-pair>div,.fine-rule.reveal{opacity:1;transform:none;transition:none}.branch,.hero-arch img,.palace-art,.map-mount,.fashion{translate:none;rotate:none;scale:1}.branch,.map-seal,.hero-scroll .scroll-line,.stem i{animation:none!important}}
