:root{--wine:#4c1728;--gold:#c5a069;--paper:#f4e8cd;--ink:#401a26;--progress:0}*{box-sizing:border-box}html{scroll-behavior:auto}body{margin:0;background:var(--wine);color:var(--wine);font-family:'Cormorant Garamond',Georgia,serif;overflow-x:clip}body.gate-closed{overflow:hidden}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}a,button{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:2px solid currentColor;outline-offset:6px}button[hidden]{display:none!important}::selection{background:var(--wine);color:var(--paper)}.skip-link{position:fixed;top:-100px;left:30px;z-index:100;background:var(--paper);padding:15px}.skip-link:focus{top:30px}.masthead{position:fixed;z-index:30;inset:0 0 auto;height:96px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;color:var(--paper);transition:color .7s}.monogram{font:36px 'Great Vibes',cursive;display:flex;align-items:center;gap:6px}.monogram span{font-size:19px}.masthead-note{position:absolute;left:50%;transform:translateX(-50%);font-size:10px}.masthead-note,.header-date,.eyebrow,.folio-label,.chapter-nav,.controls,.text-link,.actions,.location,.weekday,.enter-button,.door-hint{font-family:Georgia,serif;text-transform:uppercase;letter-spacing:.2em}.header-date{font-size:11px;padding:16px 0}.stage{position:fixed;inset:0;pointer-events:none;overflow:hidden;background:var(--wine)}.painting{position:absolute;inset:0;background-position:center;background-repeat:no-repeat;opacity:0}.garden{display:none}.terrace{background-image:url('assets/terrace.webp');background-size:cover}.terrace:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#f4e7cc 0%,#f4e7ccf5 19%,#f4e7ccbd 35%,#f4e7cc00 64%)}.manuscript{background:radial-gradient(ellipse at 50% 44%,#703344 0%,#4c1728 70%)}.manuscript:after{content:"";position:absolute;inset:0;opacity:.16;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22100%22%20height%3D%22120%22%20viewBox%3D%220%200%20100%20120%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23c5a069%22%20stroke-width%3D%221%22%3E%3Cpath%20d%3D%22M50%20100V37M50%2076Q20%2076%2029%2052Q49%2055%2050%2076M50%2059Q77%2059%2072%2035Q51%2038%2050%2059M50%2038C24%2020%2039%208%2050%2020C61%208%2076%2020%2050%2038Z%22/%3E%3Cpath%20d%3D%22M25%20104Q50%2089%2075%20104%22/%3E%3C/g%3E%3C/svg%3E");background-size:100px 120px;mask-image:radial-gradient(ellipse,transparent 28%,#000 100%)}.edge{position:fixed;z-index:40;inset:18px;border:2px solid #bf985e;box-shadow:inset 0 0 0 5px #4c172818,0 0 0 1px #39172366;pointer-events:none}.edge:after{content:'';position:absolute;inset:5px;border:1px solid #c8a36c}.edge:before{content:'';position:absolute;inset:-4px;background:linear-gradient(var(--gold),var(--gold)) left top/30px 4px no-repeat,linear-gradient(var(--gold),var(--gold)) right top/30px 4px no-repeat,linear-gradient(var(--gold),var(--gold)) left bottom/30px 4px no-repeat,linear-gradient(var(--gold),var(--gold)) right bottom/30px 4px no-repeat}.water,#petals{display:none}#watercolour{position:absolute;inset:0;width:100%;height:100%;opacity:0}.paint-in-progress.at-together #watercolour{opacity:1}.paint-in-progress.at-together .terrace{visibility:visible}main{position:relative}.chapter{position:relative;height:100svh;min-height:780px;display:flex;align-items:center;justify-content:center}.copy{position:relative;z-index:3}.eyebrow{font-size:10px;line-height:1.7;font-weight:400;margin:0 0 23px}.opening{background:radial-gradient(ellipse at 50% 70%,#713248,#32131f);overflow:hidden;color:var(--paper)}.opening:before{content:'';position:absolute;inset:0;opacity:.15;background:repeating-linear-gradient(90deg,transparent 0 79px,#c5a069 80px,transparent 81px),repeating-linear-gradient(0deg,transparent 0 79px,#c5a069 80px,transparent 81px);mask-image:linear-gradient(90deg,#000,transparent 32%,transparent 68%,#000)}.portal-surround{position:absolute;bottom:0;width:min(620px,74vw);height:calc(100% - 105px);border:14px double #a8814d;border-bottom:0;border-radius:50% 50% 0 0 / 29% 29% 0 0;box-shadow:0 0 0 9px #461e2a,0 0 0 11px #a8814d,0 0 0 26px #713748,0 0 0 28px #ad8750,0 15px 90px #180810b3;overflow:hidden;perspective:1600px;background:#f3e8d1}.portal-reveal{position:absolute;inset:0;background:url('assets/terrace.webp') 68% center/auto 100% no-repeat;transform:scale(1.1);transition:transform 2.3s}.door-leaf{position:absolute;top:0;bottom:0;width:50%;background:linear-gradient(90deg,#4a1728,#672b3b 50%,#3e1221);transition:transform 2.2s cubic-bezier(.3,.02,.2,1);backface-visibility:hidden;will-change:transform;box-shadow:inset 0 0 30px #210815}.door-leaf.left{left:0;transform-origin:left;border-right:2px solid #a5814d}.door-leaf.right{right:0;transform-origin:right;border-left:2px solid #a5814d}.door-inlay{width:100%;height:100%;opacity:.8}.knocker{position:absolute;top:58%;width:24px;height:34px;border:4px solid #d4ae69;border-radius:50%;box-shadow:1px 3px 5px #1d0b12,inset 1px 2px 5px #210a11}.left .knocker{right:22px}.right .knocker{left:22px}.opening-copy{text-align:center;padding:34px 24px 28px;background:radial-gradient(ellipse,#4c1728 0%,#4c1728f2 48%,#4c172800 73%);width:560px;max-width:90%;margin-top:65px;transition:opacity .65s,transform .9s}.opening h1{font:400 clamp(72px,7.2vw,110px)/1.1 'Great Vibes',cursive;display:flex;flex-direction:column;gap:0;margin:15px 0}.opening h1 em{font:italic 32px 'Cormorant Garamond',serif;color:#dfbf85;margin:5px 0}.opening-line{font-size:23px;font-style:italic;margin:20px 0 22px}.enter-button{display:inline-flex;align-items:center;justify-content:center;gap:24px;font-size:10px;min-height:50px;background:#f1e4c9;color:#4c1728;border:1px solid #dab87f;padding:0 28px;box-shadow:0 0 0 4px #4c1728,0 0 0 5px #b68c50;transition:background .3s,transform .3s}.enter-button:hover{background:#fff7e5;transform:translateY(-2px)}.enter-button span{font-size:20px}.door-hint{font-size:8px;letter-spacing:.19em;margin:24px 0 0;color:#d7bc91}.doors-open .door-leaf.left{transform:rotateY(-105deg)}.doors-open .door-leaf.right{transform:rotateY(105deg)}.doors-open .portal-reveal{transform:scale(1)}.doors-open .opening-copy{opacity:0;transform:translateY(-15px);pointer-events:none}.folio-label{position:absolute;left:5%;bottom:38px;display:flex;align-items:center;gap:14px;color:var(--paper);font-size:9px;letter-spacing:.12em;z-index:5}.folio-label span{font:italic 21px 'Cormorant Garamond',serif;border-right:1px solid currentColor;padding-right:14px}.together{justify-content:flex-start}.together-copy{margin-left:9%;width:440px;max-width:44%;padding:24px 18px 24px 0}.together h2{font-size:clamp(76px,7.4vw,112px);font-weight:400;line-height:.9;letter-spacing:-.04em;margin:28px 0 15px}.together h2 em{font:400 1.18em/1.15 'Great Vibes',cursive;letter-spacing:0;display:inline-block;margin:12px 0 0 20px}.flourish{width:155px;height:25px;fill:none;stroke:#98723f;stroke-width:1.3}.verse{font-size:22px;line-height:1.45;margin:24px 0;max-width:390px}.text-link{display:inline-flex;align-items:center;gap:22px;font-size:10px;min-height:48px;border-bottom:1px solid #97703c}.text-link span{font-size:22px}.at-together .masthead,.at-together .chapter-nav{color:var(--wine)}.at-together .masthead{background:linear-gradient(#f4e7cced,transparent)}.together .folio-label{background:#f4e8cdeb;color:var(--wine);padding:7px 11px}.scroll-invitation{position:relative;width:min(540px,calc(100% - 110px));margin:100px 0 90px;padding:0 25px;filter:drop-shadow(0 24px 22px #20081170)}.final-copy{text-align:center;background:linear-gradient(90deg,#dac69d 0%,#f4e8cd 6%,#fbf3df 49%,#f0e1bf 94%,#c7ac79 100%);padding:38px 24px 36px;border-left:1px solid #cfb480;border-right:1px solid #cfb480;position:relative}.final-copy:before{content:'';position:absolute;inset:13px;border:1px solid #b9955b;pointer-events:none}.final-copy:after{content:'';position:absolute;inset:18px;border:1px solid #bb975737;pointer-events:none}.final-copy>.eyebrow{font-size:10px;letter-spacing:.27em;margin:0 0 20px}.final-names{font:400 66px/1.25 'Great Vibes',cursive;display:flex;justify-content:center;align-items:center;gap:14px;white-space:nowrap;padding:0 8px}.final-names em{font:italic 28px 'Cormorant Garamond',serif;color:#99733e}.date-rule{display:flex;align-items:center;justify-content:center;gap:15px;margin:22px 0}.date-rule span{height:1px;width:60px;background:#aa8349}.date-rule svg{width:20px;height:20px;fill:none;stroke:#97703c}.weekday{font-size:10px;margin:0 0 10px}.wedding-date{font-weight:500;font-size:38px;line-height:1.15;margin:0 0 15px;font-variant-numeric:lining-nums}.location{font-size:10px;letter-spacing:.17em}.invitation-note{font-size:19px;font-style:italic;margin:23px 0}.actions{font-size:9px;letter-spacing:.13em;display:flex;justify-content:center}.primary{display:flex;align-items:center;justify-content:center;gap:20px;min-height:47px;padding:0 24px;background:var(--wine);color:var(--paper);border:1px solid #4c1728;transition:background .3s}.primary:hover{background:#752f43}.primary span{font-size:18px}.closing{font-size:17px;font-style:italic;margin:22px 0 0}.scroll-rod{position:absolute;left:0;right:0;height:23px;z-index:5;border:1px solid #9a7340;border-radius:9px;background:linear-gradient(#6b472a,#d6b779 25%,#f1d79c 42%,#a67e44 68%,#5d3b25);box-shadow:0 4px 8px #40241950}.scroll-rod.top{top:-11px}.scroll-rod.bottom{bottom:-11px}.scroll-rod:before,.scroll-rod:after{content:'';position:absolute;width:14px;top:-5px;bottom:-5px;border-radius:45%;border:1px solid #9e743c;background:linear-gradient(90deg,#754b27,#dfbe7d,#76502d)}.scroll-rod:before{left:-8px}.scroll-rod:after{right:-8px}.chapter-nav{position:fixed;right:3%;top:50%;transform:translateY(-50%);z-index:30;display:flex;flex-direction:column;gap:8px;color:var(--paper);font-size:9px}.chapter-nav a{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:44px;min-height:44px}.chapter-nav i{width:5px;height:5px;background:currentColor;transform:rotate(45deg)}.chapter-nav span{opacity:0}.chapter-nav a[aria-current] span,.chapter-nav a:hover span{opacity:1}.chapter-nav a[aria-current] i{width:10px;height:10px;background:transparent;border:1px solid currentColor}.controls{position:fixed;z-index:30;bottom:30px;right:5%;display:flex;align-items:center;gap:20px;color:var(--paper);font-size:8px;letter-spacing:.1em}.controls button,.controls a{border:0;background:none;display:flex;align-items:center;gap:8px;min-height:44px;padding:5px;font:inherit;text-transform:inherit;letter-spacing:inherit}.controls svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.4}.controls{background:#4c1728e8;padding:0 10px;border:1px solid #c5a06960}.at-beginning .controls,.at-beginning .chapter-nav{visibility:hidden}#replay{display:none}.at-finale #replay{display:flex}.at-finale #repaint{display:none}.progress-line{position:fixed;z-index:50;bottom:0;left:0;width:calc(var(--progress)*100%);height:3px;background:var(--gold)}
@media(max-width:760px){.edge{inset:10px}.edge:after{inset:4px}.masthead{height:79px;padding:0 28px}.monogram{font-size:28px}.masthead-note{display:none}.header-date{font-size:9px;letter-spacing:.12em}.chapter{min-height:780px}.portal-surround{width:76%;height:calc(100% - 126px);border-width:9px;box-shadow:0 0 0 7px #461e2a,0 0 0 9px #a8814d,0 0 0 18px #713748,0 0 0 20px #ad8750}.opening-copy{max-width:94%;margin-top:65px;padding:28px 10px}.opening .eyebrow{font-size:8px;letter-spacing:.14em}.opening h1{font-size:82px}.opening h1 em{font-size:28px}.opening-line{font-size:21px}.enter-button{font-size:9px;padding:0 22px}.door-hint{font-size:7px}.knocker{width:17px;height:25px;border-width:3px}.left .knocker{right:12px}.right .knocker{left:12px}.terrace{background-size:auto 67%;background-position:82% bottom;background-color:#f4e7cc}.terrace:after{background:linear-gradient(#f4e7cc 0%,#f4e7cc 35%,#f4e7ccf5 40%,#f4e7ccbd 48%,#f4e7cc59 58%,#f4e7cc00 70%)}.together{align-items:flex-start}.together-copy{margin:110px 35px 0;padding:0;max-width:calc(100% - 70px);width:350px}.together .eyebrow{font-size:8px;letter-spacing:.12em;margin-bottom:18px}.together h2{font-size:65px;margin:18px 0 10px}.together h2 em{margin-top:8px}.flourish{display:none}.verse{font-size:19px;line-height:1.35;margin:16px 0 12px;max-width:300px}.desktop-br{display:none}.text-link{font-size:9px;letter-spacing:.11em}.folio-label{left:28px;bottom:31px;font-size:8px;gap:9px}.folio-label span{font-size:18px;padding-right:9px}.together .folio-label{bottom:85px;padding:5px 8px}.scroll-invitation{width:calc(100% - 64px);padding:0 12px;margin:105px 0 112px}.final-copy{padding:32px 20px}.final-copy:before{inset:10px}.final-copy:after{inset:14px}.final-copy>.eyebrow{font-size:9px;margin-bottom:21px}.final-names{flex-direction:column;font-size:67px;line-height:1;gap:0;white-space:normal}.final-names em{font-size:25px;margin:3px 0 9px}.date-rule{margin:20px 0}.wedding-date{font-size:29px;white-space:nowrap}.location{font-size:9px;letter-spacing:.12em}.invitation-note{font-size:17px;margin:20px 0}.primary{font-size:8px;min-height:46px;padding:0 17px;gap:12px}.closing{font-size:16px;line-height:1.2;margin-top:20px}.chapter-nav{right:11px;font-size:8px;gap:4px}.chapter-nav a{min-width:24px;gap:0}.chapter-nav span{display:none}.chapter-nav a[aria-current] i{width:7px;height:7px}.controls{right:27px;bottom:27px;font-size:7px;gap:9px;padding:0 6px}.controls button span{display:none}.controls #repaint span{display:inline}.controls #replay{font-size:7px}.finale .folio-label{display:none}}
@media(min-width:761px) and (max-height:850px){.chapter{min-height:720px}.scroll-invitation{width:500px;margin-top:95px;margin-bottom:90px}.final-copy{padding:30px 24px}.final-names{font-size:61px}.final-copy>.eyebrow{margin-bottom:14px}.date-rule{margin:17px 0}.invitation-note{margin:18px 0}.closing{margin-top:17px}.opening h1{font-size:88px}}
@media(max-width:370px){.final-copy{padding:30px 16px}.wedding-date{font-size:26px}.final-names{font-size:63px}.closing{font-size:15px}.together-copy{margin-left:29px;max-width:calc(100% - 58px)}.together h2{font-size:60px}.opening h1{font-size:75px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.doors-open .door-leaf{opacity:0}#motion,#repaint{display:none!important}}
body:not(.enhanced) .stage .terrace{opacity:0}body:not(.enhanced) .opening-copy{opacity:1}body:not(.enhanced) .together{background:#f4e7cc}body:not(.enhanced) .controls{display:none}

.at-together .header-date{background:#f4e8cde8;padding:12px;color:var(--wine)}

.opening{min-height:100svh}.gate-closed .masthead{color:var(--paper)}
@media(max-height:700px){.opening-copy{margin-top:55px;padding:20px 10px}.opening h1{font-size:66px;line-height:1;margin:8px 0}.opening h1 em{font-size:25px;margin:3px 0}.opening .eyebrow{margin-bottom:12px;font-size:8px}.opening-line{font-size:19px;margin:14px 0 18px}.door-hint{margin-top:18px}.portal-surround{height:calc(100% - 85px)}.opening .folio-label{bottom:25px}}
@media(max-height:590px){.opening h1{font-size:54px}.opening-copy{margin-top:65px}.opening .door-hint{display:none}.opening .eyebrow{font-size:7px}.opening-line{font-size:18px;margin:12px 0 15px}.opening .enter-button{min-height:44px}.opening .folio-label{display:none}}
/* Painted architectural entrance and illuminated manuscript edition. */
.monogram{width:52px;height:58px;padding:0!important;background:none!important;display:block;color:inherit}.monogram svg{width:100%;height:100%;overflow:visible}.seal-outline{fill:none;stroke:currentColor;stroke-width:.7}.masthead{height:100px}.masthead-note{font-size:9px;letter-spacing:.26em}.header-date{font-size:10px;letter-spacing:.2em}.edge{inset:23px;border:1px solid #b8965d96;box-shadow:none;z-index:40}.edge:before,.edge:after{display:none}.edge i{position:absolute;width:17px;height:17px;border:1px solid #b8965db8;transform:rotate(45deg);background:transparent}.edge i:after{content:'';position:absolute;inset:4px;border:1px solid #b8965d80}.edge i:nth-child(1){top:-9px;left:-9px}.edge i:nth-child(2){top:-9px;right:-9px}.edge i:nth-child(3){bottom:-9px;right:-9px}.edge i:nth-child(4){bottom:-9px;left:-9px}.at-beginning .edge{opacity:0}.opening{background:#3f1824;isolation:isolate}.opening:before{display:none}.gateway-camera{position:absolute;width:max(100vw,150svh);height:max(100svh,66.6667vw);left:50%;top:50%;translate:-50% -50%;transform-origin:50% 62%;will-change:transform,opacity;transform:scale(1);transition:transform 3.2s cubic-bezier(.55,.02,.33,1),opacity .8s}.gateway-art{position:absolute;inset:0;background:url('assets/gateway.webp') center/100% 100% no-repeat}.gateway-aperture{position:absolute;left:36.1%;top:20.1%;width:27.8%;height:69.2%;clip-path:url(#door-aperture);perspective:1400px;background:#1e1516}.gateway-view{position:absolute;inset:0;background:url('assets/terrace.webp') 74% center/auto 100% no-repeat;box-shadow:inset 0 0 60px #321c2080}.painted-door{position:absolute;top:0;bottom:0;width:50%;background-image:url('assets/gateway.webp');background-size:719.424% 144.509%;background-repeat:no-repeat;will-change:transform;backface-visibility:hidden;transition:transform 2.3s cubic-bezier(.25,.05,.25,1),filter 2.3s;filter:brightness(1)}.painted-door.left{left:0;background-position:41.928% 65.26%;transform-origin:left center}.painted-door.right{right:0;background-position:58.07% 65.26%;transform-origin:right center}.opening:after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#2f1723cf 0%,#2f17237a 19%,transparent 37%,transparent 75%,#2f17233d),linear-gradient(0deg,#29141f55,transparent 25%);transition:opacity .8s}.opening-copy{position:absolute;left:5.7%;top:29%;margin:0;width:27%;max-width:330px;padding:0;background:none;text-align:center;z-index:3;transition:opacity .7s,transform .9s}.opening .eyebrow{font-size:8px;letter-spacing:.18em;color:#efdfbf;line-height:1.8;max-width:220px;margin:0 auto 25px}.opening h1{font-size:clamp(70px,6.3vw,100px);line-height:1.15;margin:0;gap:0}.opening h1 em{font-size:27px;margin:8px 0;color:#d4b888}.opening-line{font-size:22px;margin:28px 0 0;color:#efe2ca}.entrance-action{position:absolute;z-index:4;left:50%;top:74%;transform:translate(-50%,-50%);text-align:center;transition:opacity .5s}.enter-button{color:#f5e8ce;background:#411724ee;border:1px solid #c6a570a8;box-shadow:0 2px 18px #25131d30;padding:0 23px;min-height:52px;letter-spacing:.16em;font-size:9px;gap:18px;white-space:nowrap}.enter-button:hover{background:#562334;transform:none}.enter-button .enter-label{font-size:inherit}.enter-button svg{width:23px;height:16px;fill:none;stroke:currentColor;stroke-width:1}.door-hint{font-size:8px;color:#f3dfbc;text-shadow:0 1px 4px #210c13;margin:17px 0 0;letter-spacing:.2em}.doors-open .painted-door.left{transform:rotateY(-100deg);filter:brightness(.6)}.doors-open .painted-door.right{transform:rotateY(100deg);filter:brightness(.6)}.doors-open .opening-copy,.doors-open .entrance-action{opacity:0;pointer-events:none}.doors-open .opening:after{opacity:0}.entering .gateway-camera{transform:scale(5.3)}.entered .gateway-camera{opacity:0}.entering .masthead,.entering .opening .folio-label{opacity:0;transition:opacity .5s}.masthead{transition:color .5s,opacity .5s}.at-beginning .masthead{color:#f3e6c9;background:linear-gradient(#2a182254,transparent)}.opening .folio-label{font-size:8px;letter-spacing:.18em;color:#ecddc2}.at-together .masthead{background:linear-gradient(#f4e7ccc4,transparent)}.at-together .header-date{background:none;padding:12px 0}.manuscript{background:#401623}.manuscript:after{display:none}.scroll-invitation{width:min(600px,calc((100svh - 95px)*.666667));height:auto;aspect-ratio:2/3;margin:70px 0 25px;padding:0;filter:none;background:url('assets/royal-scroll.webp') center/100% 100% no-repeat;position:relative;flex-shrink:0}.final-copy{position:absolute;left:17%;right:17%;top:21%;bottom:18%;border:0;background:none;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.final-copy:before,.final-copy:after{display:none}.final-copy>.eyebrow{font-size:9px;letter-spacing:.24em;margin:0 0 21px}.final-names{font-size:clamp(45px,4.3vw,65px);gap:13px;padding:0;line-height:1.25}.final-names em{font-size:24px}.date-rule{margin:20px 0;gap:15px}.date-rule span{width:44px;background:#a4804d85}.date-rule svg{width:15px;height:15px;stroke-width:.8}.weekday{font-size:9px;letter-spacing:.25em;margin:0 0 8px}.wedding-date{font-size:34px;white-space:nowrap;font-weight:400;line-height:1.2;margin:0 0 10px}.location{font-size:8px;margin:0;letter-spacing:.18em}.invitation-note{font-size:18px;margin:22px 0}.actions{font-size:8px;letter-spacing:.12em}.primary{min-height:43px;background:#521f2c;color:#f3e8d1;border-color:#521f2c;padding:0 20px;gap:16px}.closing{font-size:16px;line-height:1.3;margin:19px 0 0}.finale{min-height:780px}.controls{border:0;background:#4c1728c7;font-size:7px;letter-spacing:.12em;padding:0 9px}.chapter-nav{font-size:8px;right:3%}.chapter-nav i{width:3px;height:3px}.chapter-nav a[aria-current] i{width:7px;height:7px}.at-finale .masthead-note{visibility:hidden}.at-finale #motion{display:none}.at-finale .controls{background:none}.at-finale .folio-label{font-size:8px}.clip-definitions{position:absolute}
@media(min-width:761px) and (max-height:850px){.scroll-invitation{width:470px;height:705px;margin:60px 0 15px}.final-copy>.eyebrow{margin-bottom:16px}.final-names{font-size:50px}.date-rule{margin:16px 0}.wedding-date{font-size:31px}.invitation-note{margin:17px 0;font-size:17px}.closing{font-size:15px;margin-top:16px}.finale{min-height:800px}.finale .folio-label{bottom:28px}}
@media(max-width:760px){.edge{inset:16px}.edge i{width:11px;height:11px}.edge i:after{inset:3px}.edge i:nth-child(1){top:-6px;left:-6px}.edge i:nth-child(2){top:-6px;right:-6px}.edge i:nth-child(3){bottom:-6px;right:-6px}.edge i:nth-child(4){bottom:-6px;left:-6px}.masthead{height:86px;padding:0 29px}.monogram{width:39px;height:45px}.header-date{font-size:8px}.gateway-camera{width:150svh;height:100svh;top:50%;transform-origin:50% 60%}.opening:after{background:linear-gradient(#311924b5 0%,#31192480 17%,transparent 37%,transparent 73%,#3119247a)}.opening-copy{left:0;right:0;top:91px;margin:0 auto;width:100%;max-width:none;padding:0 25px;text-shadow:0 2px 12px #29111b66}.opening .eyebrow{font-size:7px;letter-spacing:.14em;max-width:none;margin-bottom:13px}.opening h1{font-size:58px;flex-direction:row;justify-content:center;align-items:center;gap:13px;line-height:1.2;white-space:nowrap}.opening h1 em{font-size:21px;margin:0}.opening-line{font-size:18px;margin:10px 0 0}.entrance-action{top:auto;bottom:13%;transform:translateX(-50%)}.enter-button{min-height:47px;font-size:8px;padding:0 20px}.door-hint{font-size:7px;margin-top:14px}.opening .folio-label{left:29px;bottom:31px;font-size:7px;display:flex}.scroll-invitation{width:calc(100vw + 30px);height:auto;aspect-ratio:2/3;margin:80px -15px 80px;background-size:100% 100%}.final-copy{left:17%;right:17%;top:21%;bottom:18%;padding:0}.final-copy>.eyebrow{font-size:8px;margin:0 0 16px}.final-names{flex-direction:row;font-size:43px;line-height:1.2;gap:10px;white-space:nowrap}.final-names em{font-size:20px;margin:0}.date-rule{margin:18px 0;gap:13px}.date-rule span{width:35px}.weekday{font-size:8px;margin-bottom:8px}.wedding-date{font-size:28px;margin-bottom:10px}.location{font-size:8px;letter-spacing:.1em}.invitation-note{font-size:16px;margin:20px 0}.primary{min-height:42px;padding:0 15px;font-size:7px;gap:13px}.closing{font-size:14px;margin-top:17px}.finale{min-height:780px}.controls{right:29px;bottom:27px}.at-finale .controls{bottom:22px}.together-copy{margin-top:115px}.together .folio-label{left:29px}.chapter-nav{right:17px}.at-finale .chapter-nav{display:none}}
@media(max-width:370px){.opening h1{font-size:49px;gap:10px}.opening h1 em{font-size:19px}.opening-copy{top:95px}.final-names{font-size:38px;gap:9px}.wedding-date{font-size:25px}.final-copy>.eyebrow{margin-bottom:13px}.date-rule{margin:14px 0}.invitation-note{margin:16px 0;font-size:15px}.closing{font-size:13px;margin-top:15px}.primary{min-height:40px}.scroll-invitation{width:calc(100vw + 30px)}}
@media(max-height:590px){.opening-copy{top:82px}.opening h1{font-size:48px;line-height:1.15}.opening h1 em{font-size:20px}.opening .eyebrow{font-size:7px;margin-bottom:10px}.opening-line{font-size:17px;margin:10px 0 0}.opening .door-hint{display:block}.entrance-action{bottom:10%}.opening .folio-label{display:none}}
@media(prefers-reduced-motion:reduce){.gateway-camera,.painted-door{transition:none!important}.doors-open .painted-door{opacity:0}.entering .gateway-camera{transform:scale(1)}}
.opening{background:linear-gradient(90deg,#f4e7cc 0%,#f4e7ccf5 19%,#f4e7ccbd 35%,#f4e7cc00 64%),url('assets/terrace.webp') center/cover no-repeat}
@media(max-width:760px){.opening{background-color:#f4e7cc;background-image:linear-gradient(#f4e7cc 0%,#f4e7cc 35%,#f4e7ccf5 40%,#f4e7ccbd 48%,#f4e7cc59 58%,#f4e7cc00 70%),url('assets/terrace.webp');background-size:100% 100%,auto 67%;background-position:center,82% bottom}}

.manuscript{background:radial-gradient(ellipse at center,#581d29 0%,#401623 72%)}.scroll-invitation{background:none}.scroll-invitation:before{content:"";position:absolute;inset:0;background:url('assets/royal-scroll.webp') center/100% 100% no-repeat;mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent),linear-gradient(transparent,#000 4%,#000 96%,transparent);mask-composite:intersect;-webkit-mask-composite:source-in;pointer-events:none}
.edge i{border:0;transform:none;width:40px;height:40px;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23b8965d%22%20stroke-width%3D%22.7%22%3E%3Cpath%20d%3D%22M8%2041Q11%2014%2040%208M12%2030Q2%2024%207%2018Q15%2021%2012%2030M20%2019Q15%208%2023%206Q28%2013%2020%2019M28%2013Q32%2020%2038%2013Q35%208%2028%2013M36%209Q40%204%2044%207Q42%2012%2036%209%22/%3E%3Cpath%20d%3D%22M7%2038Q20%2035%2018%2028Q9%2027%207%2038%22/%3E%3Ccircle%20cx%3D%226%22%20cy%3D%2243%22%20r%3D%221.3%22/%3E%3C/g%3E%3C/svg%3E");background-size:100% 100%;opacity:.9}.edge i:after{display:none}.edge i:nth-child(1){top:-6px;left:-6px}.edge i:nth-child(2){top:-6px;right:-6px;transform:scaleX(-1)}.edge i:nth-child(3){bottom:-6px;right:-6px;transform:scale(-1)}.edge i:nth-child(4){bottom:-6px;left:-6px;transform:scaleY(-1)}
@media(max-width:760px){.edge i{width:28px;height:28px}}
.finale{overflow:hidden}
@media(min-width:761px) and (max-width:1000px){.opening-copy{left:0;right:0;top:100px;width:100%;max-width:none;padding:0 30px}.opening h1{flex-direction:row;justify-content:center;gap:17px;font-size:72px;line-height:1.2}.opening h1 em{font-size:24px;margin:0}.opening .eyebrow{max-width:none;margin-bottom:12px}.opening-line{font-size:21px;margin:14px 0 0}.opening:after{background:linear-gradient(#301824b0,transparent 45%,transparent 80%,#30182450)}.entrance-action{top:auto;bottom:12%;transform:translateX(-50%)}}

/* A fixed destination behind a moving architectural frame. */
.gateway-art{mask-image:url("data:image/svg+xml,%3Csvg%20preserveAspectRatio%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%201000%201000%22%3E%3Cdefs%3E%3Cmask%20id%3D%22m%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%220%22%20y%3D%220%22%20width%3D%221000%22%20height%3D%221000%22%3E%3Crect%20width%3D%221000%22%20height%3D%221000%22%20fill%3D%22white%22/%3E%3Cpath%20transform%3D%22translate%28361%20201%29%20scale%28278%20692%29%22%20d%3D%22M0%201V.28Q0%20.20%20.05%20.18Q.04%20.135%20.13%20.13Q.12%20.09%20.22%20.09Q.23%20.055%20.32%20.055Q.40%20.03%20.44%20.03Q.49%20.01%20.5%200Q.51%20.01%20.56%20.03Q.60%20.03%20.68%20.055Q.77%20.055%20.78%20.09Q.88%20.09%20.87%20.13Q.96%20.135%20.95%20.18Q1%20.20%201%20.28V1Z%22%20fill%3D%22black%22/%3E%3C/mask%3E%3C/defs%3E%3Crect%20width%3D%221000%22%20height%3D%221000%22%20fill%3D%22white%22%20mask%3D%22url%28%23m%29%22/%3E%3C/svg%3E");mask-size:100% 100%;mask-repeat:no-repeat}.gateway-aperture{background:transparent}.gateway-view{display:none}.entered .gateway-camera{opacity:0}.gateway-camera{transition:transform 3.2s cubic-bezier(.55,.02,.33,1),opacity .65s}.opening:after{display:none}
#gateway-wash{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2;opacity:1;background:#f4e8cd;transition:opacity 1.15s ease}.wash-ready #gateway-wash{background:none}.doors-open #gateway-wash{opacity:0}.opening-copy{color:var(--wine);text-shadow:none}.opening .eyebrow,.opening-line{color:var(--wine)}.opening h1 em{color:#98713e}.at-beginning .masthead{color:var(--wine);background:none}.opening .folio-label{color:var(--wine)}.enter-button{position:relative;background:#4b192aec;border:1px solid #cfb17b;outline:1px solid #6e4637;outline-offset:4px;padding:0 32px;min-height:53px;box-shadow:0 5px 20px #2f152222;letter-spacing:.21em}.enter-button:before,.enter-button:after{content:'';position:absolute;top:50%;width:7px;height:7px;background:#c8aa72;transform:translateY(-50%) rotate(45deg)}.enter-button:before{left:10px}.enter-button:after{right:10px}.enter-button svg{display:none}.enter-button:hover{background:#643043}.enter-button .enter-label{font-size:9px}.entrance-action{top:76%}.manuscript{background:#f2e6ca url('assets/unfinished-garden.webp') center/cover no-repeat}.scroll-invitation:before{background-image:url('assets/scroll-cutout.webp');mask-image:none;-webkit-mask-image:none;filter:drop-shadow(0 8px 14px #5c44351c)}.at-finale .masthead,.at-finale .controls,.at-finale .folio-label,.at-finale .chapter-nav{color:var(--wine)}.at-finale .masthead{background:linear-gradient(#f4e8cdb3,transparent)}
@media(max-width:760px){.opening-copy{top:94px}.opening .eyebrow,.opening-line{color:var(--wine)}.opening h1{font-size:54px}.entrance-action{top:auto;bottom:13%}.manuscript{background-size:auto 100%;background-position:51% center}.scroll-invitation{width:calc(100vw + 18px);margin-left:-9px;margin-right:-9px}.enter-button{min-height:48px;padding:0 30px}.enter-button .enter-label{font-size:8px}}
@media(max-width:370px){.opening h1{font-size:47px}.opening-copy{top:88px}}
@media(max-height:590px){.opening-copy{top:78px}.opening h1{font-size:45px}.entrance-action{bottom:12%}}
html{scrollbar-gutter:stable}
@media(max-width:760px){.manuscript{background-position:85% center}.at-finale .header-date{background:#f4e8cdc4;padding:9px 6px}}
@media(max-width:760px){.at-finale .controls{background:#f4e8cde6;padding:0 9px}}

/* Selected calligraphic identity — concept 09. */
.monogram{width:78px;height:74px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.monogram img{display:block;width:100%;height:100%;object-fit:contain}.monogram:hover{opacity:.8}@media(max-width:760px){.monogram{width:64px;height:62px}}

/* Unpainted panels and construction lines belong to the artwork itself. */
#gateway-wash{display:none}.opening-copy{background:radial-gradient(ellipse,#f4e8cdeb 0%,#f4e8cdb5 45%,transparent 73%);padding:18px 5px}.at-beginning .masthead{background:linear-gradient(#f4e8cde6,transparent)}
.scene-dissolve{position:fixed!important;left:0;width:calc(100% - 15px);z-index:21;pointer-events:none;margin:0;min-height:0;background:linear-gradient(90deg,#f4e7cc 0%,#f4e7ccf5 19%,#f4e7ccbd 35%,#f4e7cc00 64%),var(--terrace-image,url('assets/terrace.webp')) center/cover no-repeat;opacity:1;transition:opacity 1.5s cubic-bezier(.22,.4,.3,1)}.scene-dissolve.fading{opacity:0}.scene-dissolving .final-copy{animation:invitation-ink 1.6s ease both}.scene-dissolving .scroll-invitation:before{animation:invitation-ink 1.5s ease both}@keyframes invitation-ink{0%,15%{opacity:0}100%{opacity:1}}#final-painting{position:absolute;inset:0;width:100%;height:100%;opacity:0;pointer-events:none}
/* Opaque paper cartouches keep peripheral controls readable. */
.at-finale .masthead{background:linear-gradient(#f4e8cd 0%,#f4e8cde8 68%,#f4e8cd00 100%)}.at-finale .header-date{font-size:11px;color:#4c1728;background:#f4e8cd;padding:12px 15px;border-bottom:1px solid #a08050}.at-finale .folio-label{bottom:32px;background:#f4e8cd;color:#4c1728;padding:11px 15px;font-size:10px;letter-spacing:.15em;border-top:1px solid #a08050}.at-finale .controls{right:5%;bottom:32px;background:#f4e8cd;color:#4c1728;border:1px solid #a08050;padding:0 17px;font-size:10px;letter-spacing:.13em;min-height:44px}.at-finale #replay{display:flex;align-items:center;min-height:44px;font-size:10px}.at-finale #replay span{display:inline;margin-left:12px}.at-finale .chapter-nav{background:#f4e8cd;padding:9px 4px;border:1px solid #b69b73}.at-finale .chapter-nav a{color:#4c1728}
@media(max-width:760px){.gateway-camera{width:225vw;height:150vw;top:auto;bottom:55px;translate:-50% 0}.opening-copy{background:none;padding:0 25px}.opening{background:#f4e8cd}.entrance-action{bottom:18%}.opening .folio-label{background:#f4e8cd;padding:8px 10px;bottom:25px}.at-beginning .masthead{background:#f4e8cd}.scene-dissolve{background:linear-gradient(#f4e7cc 0%,#f4e7cc 35%,#f4e7ccf5 40%,#f4e7ccbd 48%,#f4e7cc59 58%,#f4e7cc00 70%),var(--terrace-image,url('assets/terrace.webp')) 82% bottom/auto 67% no-repeat;background-color:#f4e7cc}.at-finale .header-date{font-size:9px;letter-spacing:.13em;padding:10px}.at-finale .folio-label{display:none}.at-finale .controls{right:50%;transform:translateX(50%);bottom:24px;padding:0 16px;white-space:nowrap}.at-finale #replay{font-size:9px;letter-spacing:.12em}.at-finale .chapter-nav{display:none}}
@media(max-width:760px) and (max-height:650px){.gateway-camera{width:205vw;height:136.667vw;bottom:35px}.opening-copy{top:83px}.opening h1{font-size:44px}.opening-line{font-size:16px}.entrance-action{bottom:16%}.opening .folio-label{bottom:14px;font-size:7px}}
@media(prefers-reduced-motion:reduce){.scene-dissolve{transition:none}.scene-dissolving .final-copy,.scene-dissolving .scroll-invitation:before{animation:none}}
@media(max-width:760px){.doors-open .opening{background-color:#f4e7cc;background-image:linear-gradient(#f4e7cc 0%,#f4e7cc 35%,#f4e7ccf5 40%,#f4e7ccbd 48%,#f4e7cc59 58%,#f4e7cc00 70%),url('assets/terrace.webp');background-size:100% 100%,auto 67%;background-position:center,82% bottom}}

.at-finale .chapter-nav{display:none}
@media(max-width:760px){.gateway-camera{width:max(100vw,66.6667svh);height:max(150vw,100svh);top:50%;bottom:auto;translate:-50% -50%;transform-origin:50% 70%}.gateway-art{background-image:url('assets/gateway-mobile.webp');mask-image:url("data:image/svg+xml,%3Csvg%20preserveAspectRatio%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%201000%201000%22%3E%3Cdefs%3E%3Cmask%20id%3D%22m%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%220%22%20y%3D%220%22%20width%3D%221000%22%20height%3D%221000%22%3E%3Crect%20width%3D%221000%22%20height%3D%221000%22%20fill%3D%22white%22/%3E%3Cpath%20transform%3D%22translate%28302.7%20439.45%29%20scale%28394.6%20457.7%29%22%20d%3D%22M0%201V.28Q0%20.20%20.05%20.18Q.04%20.135%20.13%20.13Q.12%20.09%20.22%20.09Q.23%20.055%20.32%20.055Q.40%20.03%20.44%20.03Q.49%20.01%20.5%200Q.51%20.01%20.56%20.03Q.60%20.03%20.68%20.055Q.77%20.055%20.78%20.09Q.88%20.09%20.87%20.13Q.96%20.135%20.95%20.18Q1%20.20%201%20.28V1Z%22%20fill%3D%22black%22/%3E%3C/mask%3E%3C/defs%3E%3Crect%20width%3D%221000%22%20height%3D%221000%22%20fill%3D%22white%22%20mask%3D%22url%28%23m%29%22/%3E%3C/svg%3E")}.gateway-aperture{left:30.27%;top:43.945%;width:39.46%;height:45.77%}.painted-door{background-image:url('assets/gateway-mobile.webp');background-size:506.84% 218.48%}.painted-door.left{background-position:37.71% 81.04%}.painted-door.right{background-position:62.29% 81.04%}.entrance-action{bottom:18%}.opening .folio-label{bottom:20px}.at-beginning .masthead{background:linear-gradient(#f4e8cdc9,transparent)}}
.header-date{color:#4c1728;font-size:11px;background:#f4e8cde8;padding:10px 13px}
@media(max-width:760px){.header-date{font-size:9px}}
@media(max-width:760px) and (max-height:700px){.opening-copy{top:76px}.opening h1{font-size:40px;line-height:1.1}.opening .eyebrow{margin-bottom:8px}.opening-line{font-size:15px;margin-top:5px}.finale{min-height:100svh;height:100svh}.scroll-invitation{width:min(calc(100vw + 18px),calc((100svh - 125px)*.666667));margin:70px 0 55px}.final-copy>.eyebrow{font-size:7px;margin-bottom:8px}.final-names{font-size:32px;gap:7px}.final-names em{font-size:17px}.date-rule{margin:10px 0}.weekday{font-size:7px;margin-bottom:5px}.wedding-date{font-size:23px;margin-bottom:7px}.location{font-size:7px}.invitation-note{font-size:13px;margin:10px 0}.primary{min-height:38px;font-size:7px;padding:0 12px}.closing{font-size:12px;margin-top:9px}.at-finale .controls{bottom:14px;min-height:38px}.at-finale #replay{min-height:38px;font-size:8px}}
.scene-dissolve-content{position:absolute!important;left:0;width:100%;margin:0;min-height:0;background:none}

/* Final interaction and legibility polish. */
@media(min-width:761px){.opening .eyebrow{font-size:11px;font-weight:600;letter-spacing:.14em;line-height:1.65;max-width:none;width:fit-content;padding:9px 13px;background:#f4e8cd;color:#401321;border-top:1px solid #b39663;border-bottom:1px solid #b3966359}.opening-line{font-size:25px;font-weight:500;line-height:1.35;width:fit-content;max-width:100%;margin:24px auto 0;padding:7px 13px;background:#f4e8cd;color:#401321}}
.gateway-camera{transition:transform 1.65s cubic-bezier(.42,.03,.25,1),opacity .45s}.painted-door{transition:transform 1.35s cubic-bezier(.25,.05,.25,1),filter 1.35s}.opening-copy{transition:opacity .35s,transform .5s}.resetting-entrance .gateway-camera,.resetting-entrance .painted-door,.resetting-entrance .opening-copy,.resetting-entrance .entrance-action{transition:none!important}
.together .text-link{background:#4c1728;color:#fff0d6;border:1px solid #b99661;outline:1px solid #b9966180;outline-offset:3px;padding:0 24px;min-height:54px;font-size:11px;letter-spacing:.13em;gap:24px;box-shadow:0 4px 15px #40132118;transition:background .2s,transform .2s}.together .text-link:hover{background:#68283d;transform:translateY(-2px)}.together .text-link:active{transform:translateY(0)}.together .text-link span{font-size:24px}
.at-finale .masthead{background:none}.at-finale .header-date{background:none;border:0;color:#401321;text-shadow:0 1px 2px #fff7e8;font-weight:600}.at-finale .monogram{filter:drop-shadow(0 0 5px #f4e8cd)}
.return-dissolve{background:#f2e6ca url('assets/unfinished-garden.webp') center/cover no-repeat;transition-duration:1.15s}.return-dissolve .folio-label{background:#f4e8cd;color:#4c1728;padding:11px 15px;font-size:10px;bottom:32px;border-top:1px solid #a08050}
@media(max-width:760px){.together .text-link{min-height:48px;padding:0 18px;font-size:9px;gap:20px}.return-dissolve{background-size:auto 100%;background-position:85% center}.return-dissolve .folio-label{display:none}}
@media(prefers-reduced-motion:reduce){.gateway-camera,.painted-door,.together .text-link{transition:none}}

/* Scroll lettering stays inside the unpainted writing area. */
.scroll-invitation{container-type:inline-size}.final-copy{left:18%;right:18%;color:#35101e}.final-names{font-size:9cqw;gap:2cqw;max-width:100%;line-height:1.3;flex-shrink:0}.final-names em{font-size:4cqw;color:#76552d}.final-copy>.eyebrow{font-size:12px;letter-spacing:.16em;font-weight:600;margin-bottom:16px}.weekday{font-size:11px;letter-spacing:.16em;font-weight:600}.wedding-date{font-size:38px;font-weight:600}.location{font-size:11px;letter-spacing:.1em;font-weight:500}.invitation-note{font-size:21px;font-weight:500;margin:18px 0}.closing{font-size:18px;font-weight:500;margin-top:16px}.final-copy .primary{font-size:10px;letter-spacing:.1em;min-height:46px;padding:0 20px}.date-rule{margin:17px 0}
@media(min-width:761px){.opening .eyebrow{max-width:285px}}
@media(max-width:760px){.final-copy>.eyebrow{font-size:10px;letter-spacing:.13em;margin-bottom:13px}.weekday{font-size:10px;letter-spacing:.13em}.wedding-date{font-size:29px;margin-bottom:9px}.location{font-size:10px;letter-spacing:.06em}.invitation-note{font-size:18px;margin:15px 0}.closing{font-size:16px;line-height:1.25;margin-top:13px}.final-copy .primary{font-size:9px;min-height:44px;padding:0 15px}.date-rule{margin:13px 0}.opening .eyebrow{max-width:100%;font-size:8px;letter-spacing:.11em}}
@media(max-width:760px) and (max-height:700px){.final-copy>.eyebrow{font-size:9px;margin-bottom:7px}.weekday{font-size:9px;margin-bottom:4px}.wedding-date{font-size:24px;margin-bottom:5px}.location{font-size:9px;letter-spacing:.02em}.invitation-note{font-size:15px;margin:9px 0}.closing{font-size:13px;line-height:1.2;margin-top:8px}.final-copy .primary{font-size:8px;min-height:38px;padding:0 11px}.date-rule{margin:8px 0}.opening .eyebrow{font-size:7px;letter-spacing:.08em}}

/* One date treatment across all three painted scenes. */
body .masthead .header-date{color:#4c1728;font-family:Georgia,serif;font-size:11px;font-weight:400;letter-spacing:.2em;background:#f4e8cde8;padding:10px 13px;border:0;text-shadow:none}
.opening .eyebrow,.opening .opening-line{font-family:'Cormorant Garamond',Georgia,serif;font-size:23px;font-weight:600;font-style:normal;line-height:1.3;text-transform:none;letter-spacing:.015em;color:#35101e;background:none;border:0;padding:0;text-shadow:0 1px 3px #f8ecd2,0 0 10px #f4e8cd,0 0 20px #f4e8cd;max-width:100%;width:auto}.opening .eyebrow{margin:0 auto 22px}.opening .opening-line{margin:22px auto 0}.opening-copy{background:none}
.final-copy{top:20%;bottom:16%}.final-names{flex-direction:column;font-size:7.8cqw;gap:0;line-height:1.15;white-space:nowrap}.final-names em{font-size:3cqw;line-height:1.1;margin:1px 0 3px}.final-copy>.eyebrow{margin-bottom:12px}.date-rule{margin:12px 0}
@media(max-width:760px){body .masthead .header-date{font-size:9px;letter-spacing:.12em}.opening .eyebrow,.opening .opening-line{font-size:18px}.opening .eyebrow{margin-bottom:13px}.opening .opening-line{margin-top:10px}.final-names{font-size:7.8cqw}.date-rule{margin:10px 0}.final-copy>.eyebrow{margin-bottom:10px}.invitation-note{margin:12px 0}.closing{margin-top:10px}}
@media(max-width:760px) and (max-height:700px){.opening .eyebrow,.opening .opening-line{font-size:15px}.opening .eyebrow{margin-bottom:8px}.opening .opening-line{margin-top:5px}.final-names{font-size:7cqw;line-height:1.1}.final-names em{font-size:3cqw;margin:0}.final-copy>.eyebrow{margin-bottom:6px}.date-rule{margin:6px 0}.invitation-note{margin:7px 0}.closing{margin-top:6px}}
@media(max-width:760px) and (max-height:700px){.final-names{font-size:8.5cqw}}

/* Selected ivory pigment backing, identical across chapters. */
body .masthead .monogram{position:relative;isolation:isolate;filter:none}.monogram:before{content:'';position:absolute;inset:-14px -17px;background:url('assets/ivory-pigment.webp') center/100% 100% no-repeat;z-index:-1;pointer-events:none}.monogram img{position:relative}
.together h2{font-size:clamp(42px,4.2vw,64px);line-height:1.04;letter-spacing:-.025em;margin:22px 0}.together h2>span{display:block;max-width:440px}.together h2 em{font:400 1.02em/1.12 'Great Vibes',cursive;letter-spacing:0;display:block;margin:15px 0 0;max-width:440px}.together .verse{font-size:23px;line-height:1.4;max-width:360px;margin:20px 0 25px}
@media(max-width:760px){.monogram:before{inset:-9px -13px}.together h2{font-size:39px;line-height:1.04;margin:18px 0 12px}.together h2 em{font-size:40px;margin-top:10px;max-width:320px}.together .verse{font-size:19px;line-height:1.35;margin:15px 0 20px;max-width:300px}}
@media(max-width:370px),(max-height:650px){.together h2{font-size:34px}.together h2 em{font-size:35px}.together .verse{font-size:17px;margin:12px 0 16px}}

/* Final readability and the arrival of ink over the painting. */
.masthead{z-index:60;pointer-events:none}.masthead a{pointer-events:auto}
.opening .eyebrow,.opening .opening-line,.opening .folio-label{isolation:isolate;position:relative;color:#35101e;text-shadow:none}
.opening .eyebrow,.opening .opening-line{width:fit-content;padding:5px 12px}
.opening .eyebrow:before,.opening .opening-line:before,.opening .folio-label:before{content:'';position:absolute;inset:-12px -18px;z-index:-1;background:url('assets/ivory-pigment.webp') center/100% 100% no-repeat;pointer-events:none}
.opening .folio-label{position:absolute;background:none;padding:10px 14px;font-weight:600}
.opening h1 em{font-family:'Cormorant Garamond',Georgia,serif;font-weight:700;font-size:34px;color:#683346;line-height:1.1}
.final-names em{font-size:4.2cqw;font-weight:700;color:#683346;line-height:1;margin:2px 0 4px}
.together h2 em{font:inherit;letter-spacing:inherit;margin:10px 0 0}
.together h2{font-size:clamp(40px,3.8vw,58px)}
.arriving-together .together-copy>*{animation:painted-type 1.25s ease-out both}
.arriving-together .together-copy h2{animation-delay:.12s}
.arriving-together .together-copy .flourish{animation-delay:.2s}
.arriving-together .together-copy .verse{animation-delay:.27s}
.arriving-together .together-copy .text-link{animation-delay:.36s}
.arriving-together .masthead,.arriving-together .edge,.arriving-together .together .folio-label,.arriving-together .controls,.arriving-together .chapter-nav{animation:painted-type 1.4s ease-out both}
@keyframes painted-type{from{opacity:0}35%{opacity:.25}to{opacity:1}}
@media(max-width:760px){.opening h1 em{font-size:28px}.opening .eyebrow,.opening .opening-line{padding:3px 9px}.opening .eyebrow:before,.opening .opening-line:before{inset:-7px -12px}.together h2{font-size:34px;line-height:1.02}.together h2 em{font:inherit;margin-top:8px}}
@media(max-width:370px),(max-height:650px){.together h2{font-size:30px}.opening h1 em{font-size:25px}}
@media(prefers-reduced-motion:reduce){.arriving-together .together-copy>*,.arriving-together .masthead,.arriving-together .edge,.arriving-together .together .folio-label,.arriving-together .controls,.arriving-together .chapter-nav{animation:none}}

/* Ambient painting runs without guest-facing playback controls. */
.controls #repaint,.controls #motion{display:none!important}
body:not(.at-finale) .controls{display:none}

/* Let the invitation occupy more of the scroll's writing area. */
.final-copy{left:15%;right:15%;top:19%;bottom:15%}
.final-names{font-size:9.2cqw;line-height:1.15}
.final-names em{font-size:4.5cqw;margin:3px 0 5px}
.final-copy>.eyebrow{margin-bottom:17px}
.final-copy .date-rule{margin:18px 0}
.final-copy .wedding-date{font-size:clamp(29px,6.7cqw,43px)}
.final-copy .invitation-note{margin:20px 0}
.final-copy .closing{margin-top:18px}
@media(max-width:760px){.final-copy{left:15%;right:15%;top:19%;bottom:15%}.final-names{font-size:9.2cqw}.final-copy>.eyebrow{margin-bottom:13px}.final-copy .date-rule{margin:12px 0}.final-copy .invitation-note{margin:15px 0}.final-copy .closing{margin-top:13px}.final-copy .wedding-date{font-size:7cqw}}
@media(max-width:760px) and (max-height:700px){.final-copy{top:19%;bottom:15%}.final-names{font-size:9.5cqw}.final-names em{margin:1px 0 2px}.final-copy>.eyebrow{margin-bottom:8px}.final-copy .date-rule{margin:7px 0}.final-copy .invitation-note{margin:8px 0}.final-copy .closing{margin-top:7px}.final-copy .wedding-date{font-size:8cqw}}
@media(max-width:760px) and (max-height:700px){.final-copy{top:21%;bottom:17%}.final-names{font-size:9cqw;line-height:1.1}.final-names em{margin:0;font-size:4cqw}.final-copy>.eyebrow{margin-bottom:6px}.final-copy .date-rule{margin:5px 0}.final-copy .invitation-note{margin:6px 0}.final-copy .closing{margin-top:5px}}
/* A single folio treatment for every chapter and transition clone. */
body .chapter .folio-label{position:absolute;isolation:isolate;display:flex;left:5%;bottom:38px;align-items:center;gap:14px;padding:10px 14px;background:none;border:0;color:#35101e;font-family:Georgia,serif;font-size:8px;font-weight:600;font-style:normal;line-height:1.2;letter-spacing:.18em;text-transform:uppercase;text-shadow:none;z-index:5}
body .chapter .folio-label:before{content:'';position:absolute;inset:-12px -18px;z-index:-1;background:url('assets/ivory-pigment.webp') center/100% 100% no-repeat;pointer-events:none}
body .chapter .folio-label span{font:italic 21px 'Cormorant Garamond',serif;border-right:1px solid currentColor;padding-right:14px}
@media(max-width:760px){body .chapter .folio-label{left:29px;bottom:20px;font-size:7px;gap:9px;padding:10px 8px;letter-spacing:.12em}body .chapter .folio-label span{font-size:18px;padding-right:9px}.at-finale .controls{right:28px;bottom:20px;transform:none;padding:0 6px;min-height:38px}.at-finale #replay{font-size:7px;letter-spacing:.02em;min-height:38px}.at-finale #replay span{margin-left:3px}}
/* The corner details share the same painted ivory backing. */
body .masthead .header-date{position:relative;isolation:isolate;background:none;border:0;color:#35101e}
body .masthead .header-date:before,.at-finale .controls:before{content:'';position:absolute;inset:-12px -18px;z-index:-1;background:url('assets/ivory-pigment.webp') center/100% 100% no-repeat;pointer-events:none}
.at-finale .controls{isolation:isolate;background:none;border:0;color:#35101e}
@media(max-width:760px){body .masthead .header-date:before{inset:-7px -10px}.at-finale .controls:before{inset:-9px -10px}}

/* Original fine typography with a restrained antique-gold halo. */
.enter-button,.together .text-link,.final-copy .primary{filter:drop-shadow(0 0 5px #c5a06955);transition:filter .35s,background .25s}
.enter-button:hover,.together .text-link:hover,.final-copy .primary:hover{filter:drop-shadow(0 0 8px #c5a06988)}
.final-copy button.primary{font-family:Georgia,serif;font-weight:400;text-transform:uppercase;border:0;cursor:pointer;border-radius:0}
@media(prefers-reduced-motion:no-preference){.at-beginning .enter-button,.at-together:not(.arriving-together) .text-link,.at-finale .primary,.at-finale #replay{animation:quiet-glow 5.5s ease-in-out infinite}}
@keyframes quiet-glow{0%,100%{filter:drop-shadow(0 0 2px #c5a06925)}50%{filter:drop-shadow(0 0 10px #c5a06995)}}
#calendar-dialog{position:fixed;width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:32px;color:#401a26;background:#f8efdE;border:1px solid #b38c53;border-radius:8px;box-shadow:0 20px 90px #21081266;overflow:auto}
#calendar-dialog::backdrop{background:#25101dcc;backdrop-filter:blur(3px)}
.calendar-close{position:absolute;top:6px;right:6px;min-width:44px;min-height:44px;border:0;background:none;font:30px Georgia,serif}
.calendar-kicker{font:12px/1.5 Georgia,serif;margin:4px 22px 12px 0;letter-spacing:.04em}
#calendar-title{font:600 38px/1.1 'Cormorant Garamond',Georgia,serif;margin:0 0 10px}
#calendar-description{font:16px/1.5 Georgia,serif;margin:0 0 22px}
.calendar-options{display:grid;gap:10px}.calendar-options a{display:block;padding:14px 16px;border:1px solid #bca17c;border-radius:4px;background:#fff9ed;cursor:pointer;font-family:Georgia,serif;transition:background .15s}
.calendar-options a:hover{background:#eadbbd}.calendar-options strong{display:flex;justify-content:space-between;gap:12px;font-size:16px;font-weight:600}.calendar-options small{display:block;margin-top:6px;font-size:12px;line-height:1.5;color:#665344}
.calendar-footnote{font:13px/1.5 Georgia,serif;margin:20px 0 0;color:#665344}
@media(max-width:760px){#calendar-dialog{padding:28px 22px}.calendar-options a{padding:12px 14px}}

.calendar-web-fallback{font:13px/1.5 Georgia,serif;text-decoration:underline;display:block;margin-top:18px;padding:8px 0}.calendar-web-fallback[hidden]{display:none}
