.after-memories{position:relative;max-width:560px;margin:0 auto;color:#3d4437;background:#ece7d9;isolation:isolate;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow:clip;touch-action:pan-y}
.after-memories *{box-sizing:border-box}.after-memories :is(figure,h3,ol){margin:0}.after-memories h2{font:400 clamp(34px,9.3vw,48px)/1.08 LightSerif,Georgia,serif;letter-spacing:-.045em}.after-memories h2 em{font-weight:400;color:#7b7c59}.am-chapter{position:relative;width:100%;--am-progress:.5}.am-heading{position:relative;z-index:3;padding:72px 28px 27px;text-align:center}.am-kicker{font-size:10px;line-height:1.7;letter-spacing:.18em;text-transform:uppercase;color:#787c67;margin:0 0 19px}.am-heading>p:last-child:not(.am-kicker){font-size:15px;line-height:1.8;margin:20px auto 0;max-width:360px;color:#656853}.am-keepsakes{background:linear-gradient(#e9e5d7,#e8dfcd)}
.am-box-scene{position:relative;padding-bottom:9%;isolation:isolate}.am-box-image{display:block;width:100%;height:auto;aspect-ratio:2/3}.am-box-scene::before{content:"";position:absolute;z-index:1;inset:0 0 auto;height:13%;background:linear-gradient(#e9e3d4,transparent);pointer-events:none}.am-box-contents{position:absolute;left:0;right:0;top:0;width:100%;aspect-ratio:2/3;perspective:1000px;pointer-events:none}.am-kept-photo{position:absolute;z-index:2;left:19%;top:44.5%;width:31%;padding:7px 7px 0;background:#f8f4e6;box-shadow:0 2px 3px #30251955,0 6px 12px #30251940;transform:translateY(calc((.5 - var(--am-progress))*5px)) rotate(-8deg);transform-origin:50% 70%}.am-kept-photo>img{display:block;width:100%;aspect-ratio:.85;object-fit:cover;object-position:50% 35%;height:auto}.am-kept-photo figcaption{font:italic clamp(11px,3.2vw,16px)/1.45 LightSerif,Georgia,serif;text-align:center;color:#4a4d3b;white-space:nowrap;padding:10px 0 12px}.am-receipt{position:absolute;z-index:1;left:52%;top:44%;width:29%;padding:10px 8px 15px;background:#ebe5d4;color:#655b46;filter:drop-shadow(1px 4px 4px #3023193b);text-align:center;transform:translateY(calc((.5 - var(--am-progress))*3px)) rotate(7deg);clip-path:polygon(0 0,100% 0,100% 96%,95% 98%,90% 96%,85% 98%,80% 96%,75% 98%,70% 96%,65% 98%,60% 96%,55% 98%,50% 96%,45% 98%,40% 96%,35% 98%,30% 96%,25% 98%,20% 96%,15% 98%,10% 96%,5% 98%,0 96%)}.am-receipt-mark{display:block;width:22px;height:22px;fill:none;stroke:#8b8967;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;margin:0 auto 5px}.am-receipt strong{display:block;font:600 clamp(9px,2.45vw,13px)/1.5 ui-monospace,SFMono-Regular,monospace;letter-spacing:.01em;white-space:nowrap}.am-receipt>span:not(.am-receipt-mark){display:block;font-size:clamp(8px,2.2vw,12px);line-height:1.6;margin-top:4px}.am-receipt i{display:block;border-top:1px dashed #92846d66;margin:8px 0}.am-receipt>p{font:400 clamp(11px,3.1vw,15px)/1.6 LightSerif,Georgia,serif}.am-receipt small{display:block;font:400 clamp(8px,2.2vw,11px)/1.7 ui-monospace,SFMono-Regular,monospace;margin-top:9px;opacity:.75}.am-box-flower{position:absolute;z-index:3;left:68%;top:51%;width:22%;height:auto;transform:translateY(calc((.5 - var(--am-progress))*4px)) rotate(24deg);transform-origin:50% 75%;filter:drop-shadow(2px 4px 2px #3d301d2b)}.am-box-caption{position:relative;z-index:3;padding:16px 25px 0;margin-top:-2%;font:400 clamp(20px,5.5vw,27px)/1.4 LightSerif,Georgia,serif;text-align:center;color:#55573d}.am-box-caption em{color:#7f6f50}
.am-letter{background:#d3c1a1;padding-bottom:88px;background-image:linear-gradient(#e8dfcd 0%,#d8c8ad 12%,#cdbb99 100%)}.am-letter .am-heading{padding-top:65px;padding-bottom:45px}.am-letter-desk{position:relative;padding:0 29px;isolation:isolate}.am-letter-underlay{position:absolute;left:30px;right:30px;top:5px;bottom:4px;z-index:-1;transform:rotate(2deg);background:#e4dcc7;box-shadow:0 7px 20px #4538232b}.am-letter-sheet{position:relative;padding:28px 27px 34px;background-color:#f9f2df;background-image:repeating-linear-gradient(0deg,transparent 0 28px,#a99b7630 28px 29px);background-position:0 12px;color:#565342;box-shadow:0 1px 2px #5e482b20,0 10px 30px #59482c38;transform:rotate(-1deg);border:1px solid #eee3c7;border-radius:1px}.am-letter-sheet::before{content:"";position:absolute;left:15px;top:0;bottom:0;width:1px;background:#b57d7a2b}.am-letter-date{display:block;color:#8c8268;font-size:9px;letter-spacing:.035em;line-height:1.6;margin-bottom:22px}.am-letter-sheet p{font:400 15px/1.93 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;margin:0 0 20px}.am-letter-sheet .am-salutation{font:italic 29px/1.3 LightSerif,Georgia,serif;color:#697351;margin:5px 0 24px}.am-letter-sheet .am-letter-signature{font:italic 17px/1.65 LightSerif,Georgia,serif;color:#727750;padding-top:5px;margin-bottom:0}.am-letter-signature>span{font-size:27px}.am-letter-heart{position:absolute;right:25px;bottom:36px;width:87px;height:38px;fill:none;stroke:#9e7965;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;opacity:.7}.am-letter-heart path{stroke-dasharray:170;stroke-dashoffset:calc((1 - var(--am-progress))*38)}.am-pencil{position:absolute;z-index:4;right:14px;top:31%;width:9px;height:215px;transform:rotate(11deg);border-radius:2px 2px 0 0;background:linear-gradient(90deg,#334735 0 19%,#718268 20% 45%,#4b6248 46% 77%,#2b3b2c 78% 100%);box-shadow:3px 4px 3px #3d34292e}.am-pencil::before{content:"";position:absolute;bottom:-25px;left:0;border-left:4.5px solid transparent;border-right:4.5px solid transparent;border-top:25px solid #c8a375}.am-pencil::after{content:"";position:absolute;bottom:-25px;left:3px;border-left:1.5px solid transparent;border-right:1.5px solid transparent;border-top:8px solid #32372d}.am-pencil>span{position:absolute;top:8px;width:9px;height:11px;border-block:1px solid #e8d9b0;background:linear-gradient(90deg,#a69263,#e8d6a5,#8f7d54)}.am-letter-flower{position:absolute;z-index:4;left:-18px;bottom:-38px;width:88px;height:auto;transform:rotate(-22deg);filter:drop-shadow(2px 4px 2px #58482a2b);pointer-events:none}
.am-plans{background:#e7e9de;padding-bottom:80px;background-image:linear-gradient(#cdbb99,#e2e4d7 8%,#e7e9de 28%,#d7ddcb)}.am-plans .am-heading{padding-top:83px;padding-bottom:42px}.am-planner{position:relative;margin:0 24px;padding:35px 20px 29px 26px;background-color:#f7f4e7;background-image:linear-gradient(90deg,transparent 35px,#b48e7c42 35px 36px,transparent 36px),repeating-linear-gradient(0deg,transparent 0 23px,#92a19524 23px 24px);border:1px solid #e2ddcb;box-shadow:0 3px 0 #e8e2ce,0 4px 0 #c0b8a3,0 8px 0 #ebe5d4,0 10px 0 #c5bda8,0 16px 28px #46563f24;transform:rotate(.5deg);isolation:isolate}.am-planner::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#a99c7f15,transparent 8%,transparent 48%,#c4b89b22 49.7%,#fff8e077 50%,transparent 52%,transparent 98%,#a99c7f15)}.am-planner-binding{position:absolute;top:-8px;left:28px;right:28px;height:19px;background:repeating-linear-gradient(90deg,transparent 0 16px,#807f6b 16px 19px,#dfdaca 19px 20px,#777b68 20px 21px,transparent 21px 38px);filter:drop-shadow(1px 2px 1px #655f4626)}.am-planner-heading{position:relative;margin:0 3px 30px 15px;border-bottom:1px solid #8d9a773b;padding-bottom:20px}.am-planner-heading>p{font:400 24px/1.1 LightSerif,Georgia,serif;letter-spacing:.09em;color:#586749}.am-planner-heading>span{display:block;font:italic 15px/1.5 LightSerif,Georgia,serif;margin-top:7px;color:#7d8669}.am-planner-heading>svg{position:absolute;right:4px;top:8px;width:48px;fill:none;stroke:#b0926a;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;transform:rotate(-12deg)}.am-plan-list{list-style:none;padding:0}.am-plan-entry{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 30%;gap:12px;min-height:212px;padding:7px 0 34px 15px;margin-bottom:28px;border-bottom:1px dashed #8c96774d;align-items:start}.am-plan-entry:last-child{margin-bottom:0}.am-plan-number{position:absolute;left:-19px;top:12px;font:400 11px/1 ui-monospace,SFMono-Regular,monospace;color:#929985}.am-plan-words h3{font:400 23px/1.17 LightSerif,Georgia,serif;letter-spacing:-.035em;color:#4d5d41;margin:0 0 13px}.am-plan-words p{font-size:15px;line-height:1.7;color:#70725e;margin:0}.am-plan-aside{display:block;font:italic 14px/1.5 LightSerif,Georgia,serif;color:#9c7c60;margin-top:12px}.am-plan-print{position:relative;background:#fffbec;padding:5px 5px 13px;box-shadow:0 3px 5px #464b372b;transform-origin:50% 12%;will-change:auto}.am-plan-print>img{display:block;width:100%;height:auto;aspect-ratio:.75;object-fit:cover}.am-plan-print::before{content:"";position:absolute;left:25%;top:-9px;width:50%;height:17px;background:#d2b68170;border-inline:1px solid #c8b18255;transform:rotate(-8deg);z-index:2}.am-plan-print-walk{transform:rotate(calc(-5deg + var(--am-progress)*1.5deg));margin-top:14px}.am-plan-print-walk img{object-position:50% 40%}.am-plan-print-film{transform:rotate(calc(5deg - var(--am-progress)*1.4deg));margin-top:8px}.am-plan-print-film img{object-position:48% 52%}.am-plan-print-table{transform:rotate(calc(-4deg + var(--am-progress)*1deg));margin-top:20px}.am-plan-print-table img{object-position:60% 50%}.am-planner-foot{padding:28px 4px 0 16px;font:400 16px/1.55 LightSerif,Georgia,serif;color:#737b60}.am-planner-foot em{color:#a08463}
.am-ending{background:#283c34;color:#f5e9d1}.am-evening-room{position:relative;isolation:isolate}.am-evening-room>img{display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:cover}.am-evening-room::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(#26392f55,transparent 45%,transparent 70%,#283c34)}.am-evening-room .am-heading{position:absolute;z-index:2;top:0;left:0;right:0;padding-top:55px;text-shadow:0 2px 18px #18241f99}.am-ending .am-kicker{color:#e3d7b9}.am-ending h2 em{color:#e1c998}.am-ending-note{position:relative;z-index:3;padding:5px 30px 65px;text-align:center;background:#283c34}.am-ending-thread{display:block;width:1px;height:43px;background:linear-gradient(transparent,#b9a37a);margin:-16px auto 30px}.am-ending-note>p:first-of-type{font-size:15px;line-height:1.9;color:#cbd0b9}.am-ending-main{font:400 clamp(28px,8vw,37px)/1.25 LightSerif,Georgia,serif;margin:29px 0 21px;letter-spacing:-.025em}.am-ending-main em{color:#ddc39b}.am-ending-signoff{font-size:15px;line-height:1.7;color:#d4d5bd}.am-ending-signature{position:relative;display:inline-flex;align-items:center;gap:6px;font:italic 23px/1.4 LightSerif,Georgia,serif;color:#e4cdaa;margin:25px 0 0}.am-ending-signature svg{width:26px;height:26px;fill:none;stroke:#bd9e7a;stroke-width:1.2;transform:rotate(12deg);margin-left:5px}.am-ending-small{font-size:11px;line-height:1.7;color:#aab49d;margin-top:42px}
@media(max-width:350px){.am-heading{padding-inline:20px}.am-heading>p:last-child:not(.am-kicker){font-size:15px}.am-letter-desk{padding-inline:23px}.am-letter-sheet{padding:24px 23px 31px}.am-letter-sheet p{font-size:15px;line-height:1.9}.am-letter-date{font-size:8px}.am-pencil{right:10px;height:190px}.am-letter-heart{right:15px;bottom:38px;width:63px}.am-planner{margin-inline:18px;padding-left:23px;padding-right:15px}.am-plan-entry{grid-template-columns:minmax(0,1fr) 28%;gap:9px;padding-left:15px;min-height:230px}.am-plan-words h3{font-size:21px}.am-plan-words p{font-size:15px;line-height:1.65}.am-plan-aside{font-size:13px}.am-planner-heading>span{font-size:13px}.am-planner-heading>svg{right:0;width:34px;top:18px}.am-kept-photo{padding:5px 5px 0}.am-kept-photo figcaption{padding:8px 0 10px}.am-receipt{padding-top:10px}.am-receipt-mark{font-size:19px;margin-bottom:4px}.am-receipt i{margin:8px 0}.am-receipt small{margin-top:9px}.am-evening-room .am-heading{padding-top:40px}.am-ending .am-kicker{font-size:9px}.am-ending-note{padding-inline:23px}}
@media(prefers-reduced-motion:reduce){.after-memories .am-chapter{--am-progress:.5!important}.am-kept-photo{transform:rotate(-8deg)}.am-receipt{transform:rotate(7deg)}.am-box-flower{transform:rotate(24deg)}.am-letter-heart path{stroke-dashoffset:0}.am-plan-print-walk{transform:rotate(-4deg)}.am-plan-print-film{transform:rotate(4deg)}.am-plan-print-table{transform:rotate(-3deg)}}

/* The visitor moves the objects. Scroll remains an ordinary document gesture. */
.after-memories [data-am-js-only]{display:none}
.after-memories.am-enhanced [data-am-js-only]{display:block}
.after-memories .am-touch-cue{font:italic 16px/1.5 LightSerif,Georgia,serif!important;color:#8d785a!important;margin-top:16px!important}
.am-memory-object{appearance:none;border:0;cursor:pointer;color:inherit;font:inherit;pointer-events:auto;touch-action:pan-y;-webkit-tap-highlight-color:transparent}
.am-memory-object:disabled{cursor:default}
.am-memory-object:focus-visible{outline:2px solid #f2dfac;outline-offset:6px}
.am-box-contents .am-memory-object{transition:filter .2s}
.am-memory-object[data-held=true]{visibility:hidden}
.am-kept-photo>.am-photo-caption{display:block;font:italic clamp(11px,3.2vw,16px)/1.45 LightSerif,Georgia,serif;text-align:center;color:#4a4d3b;white-space:nowrap;padding:10px 0 12px}
.am-receipt.am-memory-object>.am-receipt-lines{display:block;font:400 clamp(11px,3.1vw,15px)/1.6 LightSerif,Georgia,serif;margin:0}
.am-box-flower{padding:0;background:none;border:0;min-width:44px;min-height:44px}
.am-box-flower>img{display:block;width:100%;height:auto}
.am-memory-dialog{box-sizing:border-box;position:fixed;inset:0;width:min(100%,560px);height:100dvh;max-width:560px;max-height:none;margin:auto;border:0;padding:0 25px 28px;overflow-y:auto;overscroll-behavior:contain;background:linear-gradient(#eae1cefa,#e7ddc7fa);color:#4b503c;font-family:ui-sans-serif,system-ui,sans-serif}
.am-memory-dialog:not([open]){display:none}
.am-memory-dialog::backdrop{background:#17241ccd;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.am-memory-close-row{display:flex;justify-content:flex-start;padding-top:calc(17px + env(safe-area-inset-top));margin-bottom:18px}
.am-put-back{min-height:44px;padding:9px 12px 9px 0;display:flex;align-items:center;gap:8px;border:0;background:none;font-size:13px;color:#697054}
.am-put-back svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.am-memory-held{position:relative;width:min(65vw,260px);margin:8px auto 25px;transform-origin:center;flex:none}
.am-memory-held[data-kind=photo]{padding:10px 10px 0;background:#fff9e9;box-shadow:0 20px 35px #4c3e263d,0 2px 3px #71624455;max-width:calc(41svh*.85 + 20px)}
.am-memory-held[data-kind=photo]>img{display:block;width:100%;height:auto;aspect-ratio:.85;object-fit:cover;object-position:50% 35%}
.am-memory-held .am-photo-caption{display:block;padding:15px 0 18px;text-align:center;font:italic 19px/1.4 LightSerif,Georgia,serif;color:#657050}
.am-memory-held[data-kind=receipt]{width:min(62vw,236px);padding:24px 23px 32px;background:#f6efdf;filter:drop-shadow(0 15px 16px #4c3e2633);text-align:center;color:#72644c;clip-path:polygon(0 0,100% 0,100% 98%,95% 100%,90% 98%,85% 100%,80% 98%,75% 100%,70% 98%,65% 100%,60% 98%,55% 100%,50% 98%,45% 100%,40% 98%,35% 100%,30% 98%,25% 100%,20% 98%,15% 100%,10% 98%,5% 100%,0 98%)}
.am-memory-held .am-receipt-mark{width:38px;height:38px;margin-bottom:16px}
.am-memory-held>strong{font:600 15px/1.4 ui-monospace,monospace;display:block;letter-spacing:.015em}
.am-memory-held>i{display:block;border-top:1px dashed #aea080;margin:19px 0}
.am-memory-held>.am-receipt-lines{display:block;font:400 27px/1.45 LightSerif,Georgia,serif}
.am-memory-held>small{display:block;margin-top:23px;font:400 13px/1.7 ui-monospace,monospace;opacity:.75}
.am-memory-held[data-kind=flower]{width:min(54vw,220px);max-width:26svh;filter:drop-shadow(0 12px 10px #4d4e3430)}
.am-memory-held[data-kind=flower]>img{display:block;width:100%;height:auto}
.am-memory-thought{max-width:330px;margin:0 auto;text-align:center;padding-bottom:25px}
.am-memory-thought h2{font:400 30px/1.13 LightSerif,Georgia,serif;letter-spacing:-.035em;margin:0 0 14px}
.am-memory-thought>p{font:400 15px/1.8 ui-sans-serif,system-ui,sans-serif;color:#7c765d;margin:0}
.am-memory-thought [tabindex]:focus{outline:none}
.am-letter-fold{position:relative;perspective:1600px}
.am-letter-seal{cursor:pointer;list-style:none;touch-action:pan-y;position:relative;display:block;outline-offset:7px}
.am-letter-seal::-webkit-details-marker{display:none}
.am-folded-paper{position:relative;display:block;height:255px;background:#f9f2df;border:1px solid #e7dcc2;box-shadow:0 10px 30px #59482c38;transform:rotate(-1deg);isolation:isolate;color:#687353}
.am-fold-upper,.am-fold-lower{position:absolute;left:0;right:0;pointer-events:none;background:#f9f2df}
.am-fold-upper{top:0;height:50%;border-bottom:1px solid #c6b79644;box-shadow:0 2px 3px #6d5c3420;background:linear-gradient(#fff8e7,#eee4ca)}
.am-fold-lower{bottom:0;height:50%;background:linear-gradient(#f1e6ce,#f9f2df)}
.am-fold-address{position:absolute;top:32px;left:25px;right:25px;font:italic 27px/1.35 LightSerif,Georgia,serif}
.am-fold-address em{font-size:15px;color:#9b8b6b}
.am-paper-seal{position:absolute;left:calc(50% - 29px);top:calc(50% - 28px);width:58px;height:58px;display:grid;place-items:center;border:1px solid #6f7650;border-radius:48% 52% 49% 48%;background:radial-gradient(circle at 35% 30%,#a0a87e,#7a8660 55%,#697650);box-shadow:inset 0 0 0 4px #a6aa7a3b,inset 0 0 0 5px #59644742,1px 4px 4px #584d3233;transform:rotate(-9deg)}
.am-paper-seal svg{width:36px;height:36px;fill:none;stroke:#c8ccaa;stroke-width:1.1;filter:drop-shadow(0 1px 0 #4f5b3a)}
.am-fold-instruction{position:absolute;bottom:30px;left:0;right:0;text-align:center;font:italic 15px/1.5 LightSerif,Georgia,serif;color:#918261}
.am-fold-close{display:none;width:44px;height:44px;place-items:center;border-radius:50%;color:#8f8f6b;background:#efe8d0a6}
.am-fold-close svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.3;fill:none;stroke-linecap:round;stroke-linejoin:round}
.am-letter-fold[open]>.am-letter-seal{position:absolute;right:10px;top:9px;z-index:8;width:44px;height:44px}
.am-letter-fold[open] .am-folded-paper{display:none}.am-letter-fold[open] .am-fold-close{display:grid}
.am-letter-fold[open] .am-letter-date{padding-right:25px;max-width:calc(100% - 8px)}
.am-letter-panel{position:relative;transform-style:preserve-3d;backface-visibility:hidden;transform-origin:50% 50%}
.am-letter-fold[data-unfolding=true] .am-letter-panel-top{animation:am-unfold-top .82s cubic-bezier(.2,.65,.23,1) both;transform-origin:50% 100%}
.am-letter-fold[data-unfolding=true] .am-letter-panel-bottom{animation:am-unfold-bottom .9s cubic-bezier(.2,.65,.23,1) both;transform-origin:50% 0}
.am-letter-fold:not([open])~.am-pencil{top:19%;height:175px;transform:rotate(14deg)}
.am-letter-fold:not([open])~.am-letter-flower{bottom:-25px}
@keyframes am-unfold-top{from{transform:rotateX(-112deg);opacity:.45}to{transform:rotateX(0);opacity:1}}
@keyframes am-unfold-bottom{from{transform:rotateX(112deg);opacity:.45}to{transform:rotateX(0);opacity:1}}
.am-plan-entry{isolation:isolate}
.am-wish-pick{display:none;position:absolute;inset:0;z-index:4;width:100%;border:0;background:none;color:#72825b;touch-action:pan-y;min-height:44px;cursor:pointer;text-align:left}
.am-enhanced .am-wish-pick{display:block}.am-enhanced .am-plan-number{opacity:0}
.am-wish-pick:focus-visible{outline:2px solid #b8a27a;outline-offset:5px;border-radius:1px}
.am-wish-ring{position:absolute;left:-24px;top:6px;width:31px;height:31px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.1;transform:rotate(-8deg)}
.am-wish-ring ellipse{stroke:#aab18d;stroke-width:.85}.am-wish-ring path{stroke:#64774e;stroke-width:1.7;stroke-dasharray:33;stroke-dashoffset:33;transition:stroke-dashoffset .65s ease .1s}
.am-wish-pick[aria-pressed=true] .am-wish-ring path{stroke-dashoffset:0}
.am-wish-nib{position:absolute;left:-13px;top:23px;width:5px;height:48px;border-radius:1px;background:linear-gradient(90deg,#595b3f,#a8aa79 40%,#737851 60%,#4c5438);transform:translate(0,-46px) rotate(35deg);transform-origin:50% 100%;opacity:0;pointer-events:none}
.am-wish-nib::after{content:"";position:absolute;bottom:-9px;left:0;border-left:2.5px solid transparent;border-right:2.5px solid transparent;border-top:9px solid #8d7453}
.am-plan-entry[data-selected=true] .am-wish-nib{animation:am-mark-wish .8s ease both}
.am-plan-entry[data-selected=true] .am-plan-print{box-shadow:0 6px 9px #464b3733;filter:saturate(1.07)}
.am-plan-response{grid-column:1/-1;font:italic 17px/1.6 LightSerif,Georgia,serif;color:#7f7754;margin:5px 0 0!important;padding:11px 0 0;border-top:1px solid #a4ac8244;animation:am-ink-arrives .45s ease both}
@keyframes am-mark-wish{0%{opacity:0;transform:translate(-4px,-49px) rotate(35deg)}14%{opacity:1}38%{transform:translate(2px,-43px) rotate(30deg)}72%{opacity:1;transform:translate(12px,-55px) rotate(20deg)}100%{opacity:0;transform:translate(20px,-65px) rotate(15deg)}}
@keyframes am-ink-arrives{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.am-evening-room{--room-warm:1}.am-enhanced .am-evening-room{--room-warm:0}
.am-evening-room>img{filter:saturate(calc(.6 + var(--room-warm)*.4)) brightness(calc(.76 + var(--room-warm)*.24));transition:filter 1.4s ease}
.am-room-warmth{position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(ellipse at 8% 32%,#ffe2a1a8,transparent 51%);mix-blend-mode:screen;opacity:calc(var(--room-warm)*.22);transition:opacity 1.5s ease}
.am-settling-throw{position:absolute;inset:0;background:url('assets/after-sofa-evening.webp') center/100% 100% no-repeat;clip-path:polygon(100% 52%,90% 55%,82% 58%,76% 59%,72% 62%,74% 73%,83% 80%,93% 82%,100% 79%);pointer-events:none;opacity:0;transform-origin:96% 58%;z-index:1}
.am-lamp-touch{display:none;position:absolute;z-index:5;left:0;top:22%;width:22%;height:16%;min-width:44px;min-height:44px;border:0;background:none;border-radius:45%;touch-action:pan-y}
.am-enhanced .am-lamp-touch{display:block}.am-lamp-touch:focus-visible{outline:2px dashed #eed6a8;outline-offset:-5px}
.am-lamp-cue{position:absolute;z-index:4;left:22%;top:33%;color:#e9d9b5;pointer-events:none;font:italic 15px/1.4 LightSerif,Georgia,serif;text-shadow:0 1px 6px #2e2819}
.am-lamp-cue svg{position:absolute;left:-40px;top:7px;width:36px;height:23px;fill:none;stroke:#dfcaa2;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
.am-evening-room[data-warm=true]{--room-warm:1}.am-evening-room[data-warm=true] .am-settling-throw{animation:am-throw-settles 1.2s ease both}
.am-lamp-response{font:italic 25px/1.35 LightSerif,Georgia,serif;color:#dec49b;margin:0 0 31px;animation:am-ink-arrives .7s ease both}
.am-lamp-response em{font-style:normal;color:#f0e2c8}
@keyframes am-throw-settles{0%{opacity:0;transform:translate(0,0) rotate(0)}18%{opacity:1}58%{opacity:1;transform:translate(-1.3px,1.2px) rotate(.15deg)}100%{opacity:0;transform:translate(0,0) rotate(0)}}
.after-memories[data-motion-paused=true] *{animation-play-state:paused!important}
@media(max-width:350px){.am-kept-photo>.am-photo-caption{padding:8px 0 10px}.am-fold-address{font-size:25px;left:20px;right:20px}.am-fold-address em{font-size:14px}.am-folded-paper{height:240px}.am-memory-dialog{padding-inline:20px}.am-memory-close-row{margin-bottom:7px}.am-memory-thought h2{font-size:27px}.am-memory-thought>p{font-size:15px;line-height:1.65}.am-memory-held[data-kind=photo]{max-width:calc(36svh*.85 + 20px)}.am-memory-held .am-photo-caption{font-size:16px;padding-block:12px}.am-memory-held[data-kind=receipt]{padding-top:16px;padding-bottom:22px}.am-memory-held .am-receipt-mark{width:30px;height:30px;margin-bottom:10px}.am-memory-held>i{margin:12px 0}.am-memory-held>small{margin-top:14px}.am-memory-held>.am-receipt-lines{font-size:24px}.am-lamp-cue{font-size:14px}.am-letter-fold[open] .am-letter-date{max-width:calc(100% - 8px);font-size:8px}}
@media(prefers-reduced-motion:reduce){.am-memory-object,.am-evening-room>img,.am-room-warmth,.am-wish-ring path{transition:none!important}.am-letter-panel,.am-plan-response,.am-lamp-response{animation:none!important}.am-wish-nib,.am-settling-throw{display:none}.am-memory-held,.am-memory-thought{transform:none!important}}

.am-chapter[data-motion-paused=true] *{animation-play-state:paused!important}
.am-memory-static{padding:0 28px 50px;color:#67654f}.am-memory-static p{font-size:15px;line-height:1.8;margin-top:20px}.am-memory-static strong{display:block;font:400 23px/1.3 LightSerif,Georgia,serif;margin-bottom:8px}

.am-heading>p:not(.am-kicker):not(.am-touch-cue){font-size:15px;line-height:1.8;margin:20px auto 0;max-width:360px;color:#656853}
.am-ending-note>p:not([class]){font-size:15px;line-height:1.9;color:#cbd0b9}
.am-ending-note>p.am-lamp-response{font:italic 25px/1.35 LightSerif,Georgia,serif;color:#dec49b;margin:0 0 31px}
.am-letter-fold[data-unfolding=true] .am-letter-panel{background-color:#f9f2df;background-image:repeating-linear-gradient(0deg,transparent 0 28px,#a99b7630 28px 29px);box-shadow:0 1px 0 #c6b99538}
.am-letter-panel:not(:first-child){transform-style:flat}
.am-letter-fold[open] .am-letter-sheet{transform:none}
.am-letter-fold:not([data-unfolding=true]) .am-letter-panel{transform:none;backface-visibility:visible}

/* V11: four places, each with a physical consequence to native scroll. */
.after-memories{--am-box-camera-scale:1;--am-box-camera-y:0px;--am-box-camera-tilt:0deg;--am-photo-lift:0px;--am-receipt-lift:0px;--am-flower-lift:0px;--am-paper-enter:1;--am-writing-pan:0px;--am-shadow-x:0px;--am-garden-pan:0px;--am-evening-scale:1;--am-evening-y:0px;--am-night:0}
.am-keepsakes{background:#443324 url('assets/story-phone-desk.webp') center top/max(100%,66.667svh) auto no-repeat;color:#f4e6cc;isolation:isolate}
/* Same wood scale and warm endpoint as the phone; no dark seam or spacer. */
.am-keepsakes::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#67462e,#3a2e2255 clamp(58px,9svh,82px),#3a2e2266 35%,#3b2c2088 85%,#172833),linear-gradient(180deg,transparent calc(100svh - 110px),#443324 100svh);pointer-events:none}
.am-keepsakes .am-heading h2{color:#f5e8cf}.am-keepsakes .am-heading h2 em{color:#d8be8b}.am-keepsakes .am-kicker{color:#c8bba1}
.am-keepsakes .am-heading>p:not(.am-kicker):not(.am-touch-cue){color:#d8c9ad}.am-keepsakes .am-touch-cue{color:#d6b983!important}
.am-keepsakes .am-heading{padding-top:44px;padding-bottom:12px}
.am-keep-scroll{position:relative}.am-keep-pin{position:relative;isolation:isolate;perspective:1100px}.am-keep-camera{position:relative;width:100%;margin:auto;z-index:2;transform-origin:50% 54%}
.am-enhanced .am-keep-scroll{height:auto;min-height:0}
.am-enhanced .am-keep-pin{position:relative;top:auto;height:auto;min-height:0;display:block;overflow:visible}
.am-enhanced .am-keep-camera{width:100%;max-width:430px;margin:-20px auto 0;transform:none}
.am-box-scene{padding-bottom:0}.am-box-scene::before{height:10%;background:linear-gradient(#44332444,transparent)}
.am-box-caption{margin:0;padding:20px 18px 14px;color:#e6d4ae;font-size:clamp(19px,5vw,25px);line-height:1.35;background:linear-gradient(#473325,#3b2c20)}
.am-box-caption>span:first-child{display:block;min-height:2.7em}.am-box-caption .am-keep-caption-cue{display:block;font:italic 12px/1.5 LightSerif,Georgia,serif;color:#bda581;margin-top:11px}
.am-keep-shade{position:absolute;z-index:1;inset:-10%;pointer-events:none;background:repeating-linear-gradient(115deg,transparent 0 55px,#100f0c19 56px 66px,transparent 67px 125px);filter:blur(8px);transform:translateX(var(--am-shadow-x))}
.am-enhanced .am-kept-photo{transform:translateY(var(--am-photo-lift)) rotate(calc(-8deg - var(--am-keep-reveal,0)*4deg)) scale(calc(1 + var(--am-keep-reveal,0)*.09));transform-origin:50% 75%;box-shadow:0 2px 3px #30251955,0 calc(6px + var(--am-keep-reveal,0)*8px) calc(12px + var(--am-keep-reveal,0)*10px) #30251940}
.am-enhanced .am-receipt{transform:translateY(var(--am-receipt-lift)) rotate(calc(7deg + var(--am-keep-reveal,0)*5deg))}
.am-enhanced .am-box-flower{transform:translateY(var(--am-flower-lift)) rotate(calc(24deg - var(--am-keep-reveal,0)*6deg))}
.am-keepsakes .am-memory-static{color:#ddcfb3}
.am-letter{background:#22353e;padding-top:0;padding-bottom:100px;isolation:isolate;color:#e9eee4}
.am-writing-world{position:absolute;inset:0;z-index:0;pointer-events:none}
.am-writing-world-pin{position:sticky;top:0;height:100svh;overflow:clip;background:#23343d}
.am-writing-backdrop{position:absolute;inset:-65px -6%;background:url('assets/after-rain-writing-desk.webp') center/cover no-repeat;transform:translateY(var(--am-writing-pan));filter:brightness(.87)}
.am-writing-world-pin::after{content:"";position:absolute;inset:0;background:linear-gradient(#12293555,transparent 47%,#1d2d3640 78%,#1d2d3688);pointer-events:none}
.am-letter>.am-heading{color:#f1eada;padding-top:65px;padding-bottom:45px;text-shadow:0 2px 17px #102834c9}
.am-letter>.am-heading h2 em{color:#c2cbb2}.am-letter>.am-heading .am-kicker{color:#c4cfcb}
.am-letter-desk{z-index:2;margin-top:max(45px,calc(56svh - 220px));min-height:var(--am-letter-space,0px);transform-origin:50% 80%;transform:translate(calc((1 - var(--am-paper-enter))*20px),calc((1 - var(--am-paper-enter))*75px)) rotate(calc((1 - var(--am-paper-enter))*5deg))}
.am-letter-desk:has([open]){transform:none}
.am-letter-underlay{background:#d7d4be;box-shadow:0 16px 35px #081b253e}.am-letter-sheet{box-shadow:0 3px 5px #0b1d2344,0 18px 38px #0a1f2859}
.am-letter-sheet p{font-size:16px;line-height:1.85}
.am-window-light{position:absolute;z-index:1;inset:0;opacity:.55;background:linear-gradient(115deg,transparent 0 42%,#bed9e623 44% 48%,transparent 50% 62%,#c6e0e91f 64% 66%,transparent 69%);transform:translateX(var(--am-shadow-x));pointer-events:none}
.am-rain-pane{position:absolute;z-index:1;left:0;right:23%;top:0;height:58%;overflow:hidden;transform:translateY(calc(var(--am-writing-pan)*-.3));pointer-events:none;mask-image:linear-gradient(transparent,#000 8% 85%,transparent)}
.am-rain-pane i{position:absolute;top:-70px;width:1px;height:56px;border-radius:100%;background:linear-gradient(transparent,#dbf2ff7d,#b8d9ee24,transparent);animation:am-rain-runs 7s linear infinite;left:18%;animation-delay:-1s;opacity:.7}
.am-rain-pane i:nth-child(2){left:37%;height:82px;animation-duration:9s;animation-delay:-4s}.am-rain-pane i:nth-child(3){left:61%;height:45px;animation-duration:8s;animation-delay:-6s}.am-rain-pane i:nth-child(4){left:78%;height:69px;animation-duration:10s;animation-delay:-3s}.am-rain-pane i:nth-child(5){left:9%;height:93px;animation-duration:11s;animation-delay:-8s}.am-rain-pane i:nth-child(6){left:89%;height:51px;animation-duration:8.5s;animation-delay:-5s}
@keyframes am-rain-runs{0%{transform:translate(0,-70px);opacity:0}12%{opacity:.6}80%{opacity:.6}100%{transform:translate(-9px,620px);opacity:0}}
.am-plans{background:#c9cfb5;padding-bottom:88px;isolation:isolate}
.am-plan-world{position:absolute;inset:0;z-index:0;pointer-events:none}.am-plan-world-pin{position:sticky;top:0;height:100svh;overflow:clip;background:#556549}
.am-plan-world img{position:absolute;inset:-70px -5%;width:110%;height:calc(100% + 140px);object-fit:cover;object-position:50% 40%;opacity:0;transform:translateY(var(--am-garden-pan)) scale(1.04);transition:opacity 1.15s ease;filter:saturate(.85)}
.am-plans[data-wish-world=walk] [data-am-world-image=walk],.am-plans[data-wish-world=film] [data-am-world-image=film],.am-plans[data-wish-world=table] [data-am-world-image=table]{opacity:1}
.am-plan-world img[data-am-world-image=film]{object-position:47% 48%;filter:saturate(.82) brightness(.72)}
.am-plan-world img[data-am-world-image=table]{object-position:61% 50%;filter:saturate(.82) brightness(.8)}
.am-plan-world-shade{position:absolute;inset:0;background:linear-gradient(#22382d75,#263b2c14 40%,#56624924 75%,#394c3a7d)}
.am-plans>.am-heading{min-height:65svh;padding-top:78px;padding-bottom:100px;text-shadow:0 2px 15px #253729c9;color:#fff2d5}
.am-plans>.am-heading h2 em{color:#e9d7a7}.am-plans>.am-heading .am-kicker{color:#e7e3c9}.am-plans>.am-heading>p:not(.am-kicker):not(.am-touch-cue){color:#e6e8d6}
.am-plans .am-touch-cue{color:#e0d1a7!important}
.am-planner{position:relative;z-index:2;margin-top:-55px;transform:none;box-shadow:0 3px 0 #e8e2ce,0 4px 0 #c0b8a3,0 8px 0 #ebe5d4,0 10px 0 #c5bda8,0 22px 38px #1e2e2359}
.am-garden-shadows{position:absolute;inset:-10% -25%;opacity:.35;filter:blur(2px);transform:translateX(var(--am-shadow-x)) rotate(calc(-13deg + var(--am-progress,.5)*12deg));transform-origin:50% 100%;pointer-events:none}
.am-garden-shadows svg{position:absolute;right:-5%;top:5%;width:72%;height:90%;fill:#132b1b55;stroke:#142b1b55;stroke-width:3}
.am-plan-words p{font-size:16px;line-height:1.7}.am-plan-aside{font-size:15px}
.am-plan-print{--am-print-enter:1;backface-visibility:visible;transform-origin:50% 0;transition:box-shadow .4s,filter .4s}
.am-enhanced .am-plan-print-walk{transform:translateY(calc((1 - var(--am-print-enter))*24px)) rotate(calc(-5deg + (1 - var(--am-print-enter))*12deg)) scaleX(calc(.68 + var(--am-print-enter)*.32))}
.am-enhanced .am-plan-print-film{transform:translateY(calc((1 - var(--am-print-enter))*24px)) rotate(calc(5deg - (1 - var(--am-print-enter))*10deg)) scaleX(calc(.68 + var(--am-print-enter)*.32))}
.am-enhanced .am-plan-print-table{transform:translateY(calc((1 - var(--am-print-enter))*24px)) rotate(calc(-4deg + (1 - var(--am-print-enter))*12deg)) scaleX(calc(.68 + var(--am-print-enter)*.32))}
.am-plan-entry[data-selected=true] .am-plan-print{scale:1.08}
.am-ending{isolation:isolate;background:#172a2d}
.am-evening-scroll{position:relative}.am-evening-pin{position:relative;isolation:isolate}
.am-enhanced .am-evening-scroll{height:150svh;min-height:700px}.am-enhanced .am-evening-pin{position:sticky;top:0;height:100svh;min-height:400px;display:grid;place-items:center;overflow:clip}
.am-evening-distance{position:absolute;inset:-25px;z-index:-1;background:linear-gradient(#172a2da6,#172a2dad),url('assets/after-sofa-evening-off.webp') center/cover;filter:blur(12px);transform:scale(1.08)}
.am-evening-room{position:relative;width:100%;transform-origin:55% 62%;transform:translateY(var(--am-evening-y)) scale(var(--am-evening-scale));max-height:none}
.am-evening-room>img{filter:none!important;transition:none}
.am-evening-room .am-sofa-on{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 1.5s ease}
.am-evening-room[data-warm=true] .am-sofa-on{opacity:1}
.after-memories:not(.am-enhanced) .am-sofa-on{opacity:1}
.am-outside-night{position:absolute;z-index:1;right:0;top:0;width:29%;height:44%;background:linear-gradient(90deg,transparent,#0c213e66);opacity:var(--am-night);mix-blend-mode:multiply;pointer-events:none}
.am-seat-warmth{position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(ellipse at 48% 61%,#e9bb633d,transparent 36%);mix-blend-mode:screen;opacity:0;transition:opacity 1.1s ease .35s}
.am-evening-room[data-warm=true] .am-seat-warmth{opacity:1}
.am-room-warmth{opacity:0;transition:opacity 1.2s ease .12s}.am-evening-room[data-warm=true] .am-room-warmth{opacity:.18}
.am-glass-reflection{position:absolute;z-index:2;width:4%;height:.6%;border-radius:50%;background:#ffe6a4;filter:blur(1.1px);mix-blend-mode:screen;opacity:0;transition:opacity 1.2s ease .65s;pointer-events:none}
.am-glass-one{left:23%;top:71.5%}.am-glass-two{left:45%;top:73.5%}.am-evening-room[data-warm=true] .am-glass-reflection{opacity:.55}
.am-evening-room::after{background:linear-gradient(#172a2d33,transparent 43%,transparent 75%,#172a2d)}
.am-ending-note{background:#172a2d;padding-top:25px}.am-ending-thread{margin-top:-20px}
.am-chapter[data-motion-paused=false] :is(.am-writing-backdrop,.am-window-light,.am-plan-world img,.am-evening-room){will-change:transform}
@media(max-width:350px){.am-letter-sheet p{font-size:16px;line-height:1.85}.am-plan-words p{font-size:16px;line-height:1.65}.am-plan-aside{font-size:14px}.am-plans>.am-heading{padding-inline:22px}.am-box-caption{padding-inline:15px}.am-letter-desk{margin-top:max(45px,calc(56svh - 220px))}}
@media(orientation:landscape) and (max-height:500px){.am-enhanced .am-evening-scroll{height:auto;min-height:0}.am-enhanced .am-evening-pin{position:relative;height:auto;min-height:0;overflow:clip}.am-enhanced .am-keep-camera{width:100%;max-width:430px;transform:none}.am-evening-room{transform:none}.am-writing-world-pin,.am-plan-world-pin{height:100vh;min-height:400px}.am-letter-desk{margin-top:80px}.am-plans>.am-heading{min-height:450px}}
@media(prefers-reduced-motion:reduce){.am-enhanced .am-evening-scroll{height:auto;min-height:0}.am-enhanced .am-evening-pin{position:relative;height:auto;min-height:0;overflow:clip}.am-enhanced .am-keep-camera{width:100%;transform:none}.am-evening-room,.am-letter-desk,.am-writing-backdrop,.am-window-light,.am-garden-shadows,.am-plan-world img,.am-rain-pane{transform:none!important}.am-enhanced .am-kept-photo{transform:rotate(-8deg)}.am-enhanced .am-receipt{transform:rotate(7deg)}.am-enhanced .am-box-flower{transform:rotate(24deg)}.am-enhanced .am-plan-print-walk{transform:rotate(-5deg)}.am-enhanced .am-plan-print-film{transform:rotate(5deg)}.am-enhanced .am-plan-print-table{transform:rotate(-4deg)}.am-rain-pane{display:none}.am-plan-world img,.am-sofa-on,.am-room-warmth,.am-seat-warmth,.am-glass-reflection{transition:none!important}.am-letter-desk{margin-top:100px}.am-writing-world-pin,.am-plan-world-pin{position:relative;height:100%;min-height:100svh}.am-plans>.am-heading{min-height:430px}.am-outside-night{opacity:0}}

.am-box-caption .am-keep-caption-cue{font-size:14px}.am-memory-held .am-photo-caption{font-size:19px}.am-plan-entry[data-selected=true] .am-plan-print{transition:scale .7s cubic-bezier(.2,.65,.2,1),box-shadow .4s,filter .4s}

.am-memory-object.am-receipt{color:#655b46}
.am-box-image{mask-image:linear-gradient(to right,transparent,#000 7% 93%,transparent),linear-gradient(to bottom,transparent,#000 9% 83%,transparent);mask-composite:intersect}
.am-box-caption{background:none}
.am-plans>.am-heading{background:linear-gradient(#142b2159,#142b216b 66%,transparent)}

/* Four tiny prints drift behind the keepsake scene. No full-size photo clones. */
.am-memory-weather{display:none;position:absolute;inset:0;z-index:0;pointer-events:none!important;user-select:none}
.am-enhanced .am-memory-weather{display:block}
.am-memory-weather *{pointer-events:none!important}
.am-memory-weather-pin{position:sticky;top:0;height:100svh;overflow:clip;contain:layout paint}
.am-falling-print{position:absolute;top:0;left:var(--am-fall-left,6%);width:clamp(58px,16.5vw,82px);height:auto;max-width:none;padding:4px 4px 13px;background:#f5e8cf;box-shadow:0 3px 7px #100c0926;opacity:0;transform-origin:50% 35%;animation:am-photo-fall var(--am-fall-time,29s) var(--am-fall-delay,-8s) linear infinite both;animation-play-state:paused;-webkit-user-drag:none;--am-fall-opacity:.2;--am-fall-sway:13px;--am-fall-tilt:-12deg}
.am-falling-print:nth-child(2){--am-fall-left:77%;--am-fall-time:34s;--am-fall-delay:-23s;--am-fall-opacity:.16;--am-fall-sway:-17px;--am-fall-tilt:14deg;width:clamp(56px,15vw,76px)}
.am-falling-print:nth-child(3){--am-fall-left:24%;--am-fall-time:38s;--am-fall-delay:-31s;--am-fall-opacity:.12;--am-fall-sway:24px;--am-fall-tilt:-8deg;width:clamp(50px,14vw,70px)}
.am-falling-print:nth-child(4){--am-fall-left:64%;--am-fall-time:32s;--am-fall-delay:-6s;--am-fall-opacity:.15;--am-fall-sway:-22px;--am-fall-tilt:11deg;width:clamp(58px,16vw,80px)}
.am-enhanced .am-keepsakes[data-motion-paused=false] .am-falling-print{animation-play-state:running}
.after-memories[data-motion-paused=true] .am-falling-print,.after-memories:has(.am-memory-dialog[open]) .am-falling-print{animation-play-state:paused!important}
@keyframes am-photo-fall{
  0%{opacity:0;transform:translate(0,-150px) rotate(var(--am-fall-tilt))}
  15%{opacity:var(--am-fall-opacity);transform:translate(var(--am-fall-sway),8svh) rotate(calc(var(--am-fall-tilt) + 9deg))}
  50%{opacity:var(--am-fall-opacity);transform:translate(calc(var(--am-fall-sway)*-.45),49svh) rotate(calc(var(--am-fall-tilt) - 7deg))}
  85%{opacity:var(--am-fall-opacity);transform:translate(var(--am-fall-sway),91svh) rotate(calc(var(--am-fall-tilt) + 13deg))}
  100%{opacity:0;transform:translate(calc(var(--am-fall-sway)*.5),calc(100svh + 150px)) rotate(calc(var(--am-fall-tilt) + 20deg))}
}
@media(prefers-reduced-motion:reduce){.am-enhanced .am-memory-weather{display:none}.am-falling-print{animation:none}}

/* A fifth tactile chapter: three promises, loosely held by one ribbon. */
.am-promises{--am-promise-pan:0px;--am-promise-light:0px;background:#d5c6a5;color:#4e5842;padding-bottom:60px;isolation:isolate}
.am-promise-world{position:absolute;inset:0;z-index:0;pointer-events:none}.am-promise-world-pin{position:sticky;top:0;height:100svh;overflow:clip;background:#d5c6a5}
.am-promise-backdrop{position:absolute;inset:-26px 0;background:url('assets/story-apology-wall.webp') center bottom/cover no-repeat;transform:translateY(var(--am-promise-pan))}
.am-promise-world-pin::after{content:"";position:absolute;inset:0;background:linear-gradient(#eee5cf7a,transparent 46%,#66553a12)}
.am-promise-daylight{position:absolute;inset:0;background:linear-gradient(115deg,transparent 30%,#fff9e636 43%,transparent 57%);transform:translateX(var(--am-promise-light))}
.am-promises>.am-heading{padding:62px 25px 30px;text-shadow:0 1px 12px #f3ead669}.am-promises>.am-heading h2{font-size:clamp(33px,8.5vw,44px)}.am-promises>.am-heading h2 em{color:#6b7657}.am-promises>.am-heading .am-kicker{color:#79765b}.am-promises>.am-heading>p:not(.am-kicker){font-size:16px;color:#66644d;line-height:1.75}
.am-promise-stage{position:relative;z-index:2;margin:0 29px}.am-promise-bundle{position:relative;max-width:400px;margin:auto}
.am-promise-knot{position:relative;display:block;list-style:none;cursor:pointer;height:274px;touch-action:pan-y;outline-offset:8px;-webkit-tap-highlight-color:transparent}.am-promise-knot::-webkit-details-marker{display:none}.am-promise-knot:focus-visible{outline:2px solid #7c855a;border-radius:2px}
.am-promise-wrap{position:absolute;inset:8px 5px 15px;pointer-events:none}.am-promise-wrap>span{position:absolute;inset:0;background:#f4ecd9;border:1px solid #e4d8bc;box-shadow:0 4px 9px #50432b26;transform:rotate(-3deg)}.am-promise-wrap>span:nth-child(2){transform:rotate(3deg);background:#eee3c8}.am-promise-wrap>span:nth-child(3){transform:rotate(-.5deg);background:linear-gradient(105deg,#fbf4e3,#efe5ce);box-shadow:0 1px 2px #6f614537,0 8px 18px #4f412c26}
.am-promise-cover-copy{position:absolute;top:36px;left:15px;right:15px;text-align:center;font:italic 25px/1.3 LightSerif,Georgia,serif;color:#657153}.am-promise-cover-copy small{display:block;font:400 13px/1.6 ui-sans-serif,system-ui,sans-serif;color:#898066;margin-top:8px;letter-spacing:.01em}
.am-promise-band{position:absolute;top:56%;height:17px;width:calc(50% + 3px);pointer-events:none;background:linear-gradient(#a6b087,#7b8860 24%,#9ca77a 52%,#6d7d52 88%,#b2b38a);box-shadow:0 2px 3px #4a45242e}.am-promise-band-left{left:0;transform:rotate(-.5deg);transform-origin:100% 50%}.am-promise-band-right{right:0;transform:rotate(.5deg);transform-origin:0 50%}
.am-promise-bow{position:absolute;top:calc(56% - 33px);left:calc(50% - 70px);width:140px;height:91px;overflow:visible;pointer-events:none}.am-promise-bow path{fill:url(#am-ribbon-silk);stroke:#66724d;stroke-width:.7;stroke-linejoin:round}.am-bow-left{transform-origin:78px 49px}.am-bow-right{transform-origin:82px 49px}
.am-promise-untie{position:absolute;bottom:37px;left:15px;right:15px;text-align:center;font:italic 15px/1.4 LightSerif,Georgia,serif;color:#8b7957}.am-promise-retie{display:none!important}
.am-promise-papers{position:relative;padding:2px 5px 0;isolation:isolate}.am-promise-thread{position:absolute;z-index:-1;left:50%;top:-20px;bottom:12px;width:8px;transform:translateX(-50%) rotate(-2deg);background:linear-gradient(90deg,#7e8b6080,#a8b180,#84935f99);box-shadow:1px 0 1px #44522e29}
.am-promise-slip{position:relative;margin:0 0 23px;padding:30px 25px 27px;background:linear-gradient(110deg,#f9f2de,#eee4c9);border:1px solid #e1d5b6;box-shadow:0 2px 2px #62533724,0 8px 16px #62533721;transform:rotate(-1.7deg);transform-origin:50% 0;color:#5a5e49}.am-promise-slip:nth-of-type(2){transform:rotate(1.6deg);background:linear-gradient(110deg,#f8f1df,#eae4cf)}.am-promise-slip:nth-of-type(3){transform:rotate(-.7deg);margin-bottom:0}
.am-promise-slip::before{content:"";position:absolute;top:9px;left:calc(50% - 3px);width:6px;height:6px;border-radius:50%;background:#78805b;box-shadow:inset 0 1px 2px #424d2d77,0 1px 0 #fff8e7}
.am-promise-number{display:block;font:italic 13px/1 LightSerif,Georgia,serif;color:#a58d62;letter-spacing:.05em;margin-bottom:12px}.am-promise-slip h3{font:400 27px/1.12 LightSerif,Georgia,serif;color:#596649;letter-spacing:-.03em;margin:0 0 16px}.am-promise-slip p{font:400 16px/1.75 ui-sans-serif,system-ui,sans-serif;margin:0;color:#64624e}.am-promise-postscript{display:block;font:italic 15px/1.5 LightSerif,Georgia,serif;color:#937954;border-top:1px solid #ae9a7052;padding-top:14px;margin-top:18px}
.am-promise-bundle[open] .am-promise-knot{height:81px}.am-promise-bundle[open] :is(.am-promise-wrap,.am-promise-cover-copy,.am-promise-untie){display:none}.am-promise-bundle[open] .am-promise-band{top:22px;width:43%;opacity:.7}.am-promise-bundle[open] .am-promise-band-left{transform:translate(-9px,6px) rotate(-12deg)}.am-promise-bundle[open] .am-promise-band-right{transform:translate(9px,6px) rotate(12deg)}.am-promise-bundle[open] .am-promise-bow{top:-10px}.am-promise-bundle[open] .am-bow-left{transform:translate(-12px,5px) rotate(-24deg)}.am-promise-bundle[open] .am-bow-right{transform:translate(12px,5px) rotate(24deg)}.am-promise-bundle[open] .am-bow-knot{opacity:.5}.am-enhanced .am-promise-bundle[open] .am-promise-retie{display:block!important;position:absolute;inset:auto 0 0;text-align:center;font:italic 14px/1.5 LightSerif,Georgia,serif;color:#777957}
.am-promise-afterword{position:relative;max-width:340px;margin:33px auto 0;padding:20px 18px;background:linear-gradient(110deg,#f7efdc,#eee3c9);border:1px solid #d8c9a7;box-shadow:0 2px 3px #4339231a,0 7px 16px #4339231f;font:400 19px/1.5 LightSerif,Georgia,serif;color:#566044;text-align:center;text-shadow:none}.am-promise-afterword em{color:#706044}
.am-promise-bundle[data-untying=true] .am-promise-band-left{animation:am-ribbon-left .65s ease-out both}.am-promise-bundle[data-untying=true] .am-promise-band-right{animation:am-ribbon-right .65s ease-out both}.am-promise-bundle[data-untying=true] .am-promise-slip{animation:am-promise-settles .72s cubic-bezier(.2,.7,.2,1) both}.am-promise-bundle[data-untying=true] .am-promise-slip:nth-of-type(2){animation:am-promise-middle-settles .82s cubic-bezier(.2,.7,.2,1) both}.am-promise-bundle[data-untying=true] .am-promise-slip:nth-of-type(3){animation:am-promise-last-settles .9s cubic-bezier(.2,.7,.2,1) both}
@keyframes am-ribbon-left{from{transform:translate(0,0) rotate(0)}to{transform:translate(-9px,6px) rotate(-12deg)}}@keyframes am-ribbon-right{from{transform:translate(0,0) rotate(0)}to{transform:translate(9px,6px) rotate(12deg)}}
@keyframes am-promise-settles{from{transform:translateY(-16px) rotate(5deg)}to{transform:translateY(0) rotate(-1.7deg)}}@keyframes am-promise-middle-settles{from{transform:translateY(-23px) rotate(-5deg)}to{transform:translateY(0) rotate(1.6deg)}}@keyframes am-promise-last-settles{from{transform:translateY(-30px) rotate(4deg)}to{transform:translateY(0) rotate(-.7deg)}}
.am-letter{padding-bottom:74px}.am-plans>.am-heading{min-height:54svh;padding-top:65px;padding-bottom:87px}.am-planner{margin-top:-38px}.am-enhanced .am-evening-scroll{height:138svh}
@media(max-width:350px){.am-promise-stage{margin-inline:23px}.am-promises>.am-heading{padding-inline:20px}.am-promises>.am-heading h2{font-size:32px}.am-promise-cover-copy{font-size:23px}.am-promise-slip{padding:29px 21px 25px}.am-promise-slip h3{font-size:25px}.am-promise-slip p{font-size:16px}}
@media(orientation:landscape) and (max-height:500px){.am-enhanced .am-evening-scroll{height:auto}.am-promises>.am-heading{padding-top:48px}.am-promise-stage{max-width:400px;margin-inline:auto}}
@media(prefers-reduced-motion:reduce){.am-promise-backdrop,.am-promise-daylight{transform:none!important}.am-promise-bundle[data-untying=true] *{animation:none!important}.am-enhanced .am-evening-scroll{height:auto}.am-promise-world-pin{position:relative;height:100%;min-height:100svh}}

/* The box rests in document flow; its full artwork coordinates reserve the lid. */
.am-keepsakes{--am-keep-reveal:0;--am-photo-lift:0px;--am-receipt-lift:0px;--am-flower-lift:0px}
.am-keepsakes .am-box-caption{padding:12px 18px 22px}
.am-keepsakes .am-keep-caption-cue{min-height:3em;margin-top:8px;font-size:16px;line-height:1.5}

/* V19: a few objects offered gently. Arrival is a finite beat, never a task. */
.am-letter-desk,.am-letter-desk:has([open]){transform:none;margin-top:clamp(100px,25svh,180px)}
.am-writing-backdrop,.am-window-light,.am-rain-pane,.am-promise-backdrop,.am-promise-daylight,.am-garden-shadows,.am-plan-world img{transform:none}
.am-chapter[data-motion-paused=false] :is(.am-writing-backdrop,.am-window-light,.am-plan-world img,.am-evening-room){will-change:auto}
.am-letter>.am-heading{padding-top:66px;padding-bottom:16px}
.am-letter-underlay{left:35px;right:30px;top:8px;bottom:-6px;transform:rotate(2.2deg);background:#cfc7b2;box-shadow:0 14px 25px #091b2442}
.am-folded-paper{height:270px;background:#f5edd8;border-color:#d8c8a7;box-shadow:0 2px 3px #0b141b38,0 14px 25px #071c2647;transform:rotate(-1.4deg)}
.am-fold-address{top:29px;font:400 35px/1.08 LightHand,LightSerif,Georgia,serif;color:#59644b}
.am-fold-address em{display:block;margin-top:10px;font:400 19px/1.25 LightHand,LightSerif,Georgia,serif;color:#85755b}
.am-fold-instruction{bottom:29px;font:400 21px/1.2 LightHand,LightSerif,Georgia,serif;color:#7b694b}
.am-paper-seal{top:calc(53% - 28px);box-shadow:inset 0 0 0 4px #b3b88a35,inset 0 0 0 5px #53613b6b,1px 5px 5px #463d3038}
.am-letter-flower{left:-9px;bottom:-33px;width:100px;transform:rotate(-17deg);pointer-events:none}
.am-letter .am-pencil{right:10px;top:21%;height:173px;transform:rotate(10deg)}
.am-letter-sheet .am-salutation,.am-letter-sheet .am-letter-signature{font-family:LightHand,LightSerif,Georgia,serif;font-style:normal}
.am-letter-sheet .am-salutation{font-size:34px}.am-letter-sheet .am-letter-signature{font-size:23px}.am-letter-signature>span{font-size:31px}
.am-letter-date{font-size:10px;letter-spacing:.025em}
.am-letter-heart path{stroke-dashoffset:0}

.am-promises{padding-bottom:72px}
.am-promises>.am-heading{padding-top:64px;padding-bottom:41px}
.am-promise-stage{margin:0 27px}
.am-promise-cover-copy{top:32px;font:400 31px/1.1 LightHand,LightSerif,Georgia,serif;color:#536144}
.am-promise-cover-copy small{font:400 19px/1.35 LightHand,LightSerif,Georgia,serif;color:#8a795a;margin-top:9px}
.am-promise-untie{bottom:31px;font:400 21px/1.2 LightHand,LightSerif,Georgia,serif;color:#786547}
.am-promise-wrap>span:last-child{background:repeating-linear-gradient(2deg,#927a4c04 0 1px,transparent 1px 4px),linear-gradient(110deg,#fff8e6,#eee2c5);border-color:#dbccac;box-shadow:0 2px 3px #4e3f2e38,0 13px 24px #59462b29}
.am-promise-slip{border-color:#d5c5a5;box-shadow:0 2px 3px #4e3f2e26,0 10px 21px #59462b24}
.am-promise-postscript{font:400 21px/1.3 LightHand,LightSerif,Georgia,serif;color:#8d7048}
.am-promise-afterword{margin-top:30px;background:none;border:0;box-shadow:none;padding:12px 12px 0;font:400 27px/1.2 LightHand,LightSerif,Georgia,serif;color:#596245}
.am-promise-afterword em{font-style:normal;color:#86704e}
.am-promise-bundle[data-untying=true] .am-bow-left{animation:am-bow-opens-left .65s ease both}
.am-promise-bundle[data-untying=true] .am-bow-right{animation:am-bow-opens-right .65s ease both}
.am-promise-bundle[data-untying=true] .am-promise-slip{animation-delay:.13s}
.am-promise-bundle[data-untying=true] .am-promise-slip:nth-of-type(2){animation-delay:.25s}
.am-promise-bundle[data-untying=true] .am-promise-slip:nth-of-type(3){animation-delay:.37s}
@keyframes am-bow-opens-left{from{transform:translate(0,0) rotate(0)}to{transform:translate(-12px,5px) rotate(-24deg)}}
@keyframes am-bow-opens-right{from{transform:translate(0,0) rotate(0)}to{transform:translate(12px,5px) rotate(24deg)}}

/* Each photograph is the touch target, with a small handwritten response. */
.am-plans>.am-heading{min-height:0;padding:71px 26px 36px;background:linear-gradient(#142b217d,#142b213d 75%,transparent)}
.am-plans .am-touch-cue{font:400 23px/1.3 LightHand,LightSerif,Georgia,serif!important;margin-top:19px!important}
.am-planner{margin:0 26px;padding:0;background:none;border:0;box-shadow:none;transform:none}
.am-planner::after,.am-planner-binding{display:none}
.am-planner-heading{margin:0 5px 25px;padding:0;border:0;color:#f1e5c9;text-align:center;text-shadow:0 1px 8px #263c2d70}
.am-planner-heading>p{font:400 35px/1.1 LightHand,LightSerif,Georgia,serif;color:#f2e7cb;letter-spacing:0;text-transform:lowercase}
.am-planner-heading>span{font:400 18px/1.4 LightHand,LightSerif,Georgia,serif;color:#dedabf;margin-top:5px}
.am-planner-heading>svg{display:none}
.am-plan-entry{--postcard-tilt:-1.2deg;display:flex;flex-direction:column;gap:0;padding:11px 11px 62px;margin:0 0 33px;min-height:0;border:1px solid #dfd3b9;background:linear-gradient(112deg,#fff9e9,#f3ebd8);box-shadow:0 2px 3px #1e2c2333,0 14px 24px #1e2e2340;transform:rotate(var(--postcard-tilt));border-radius:2px}
.am-plan-entry:nth-child(2){--postcard-tilt:1deg}.am-plan-entry:nth-child(3){--postcard-tilt:-.7deg}
.am-plan-number{display:none}
.am-plan-entry .am-plan-print,.am-enhanced .am-plan-entry .am-plan-print{order:-1;width:100%;margin:0 0 19px;padding:0;background:#c9ccba;box-shadow:none;transform:none;scale:1;transition:none;filter:none}
.am-plan-print::before{display:none}
.am-plan-print>img{aspect-ratio:1.36;object-fit:cover;border-radius:1px}
.am-plan-print-walk img{object-position:50% 36%}.am-plan-print-film img{object-position:50% 53%}
.am-plan-words{padding:0 12px}
.am-plan-words h3{font-size:28px;line-height:1.08;letter-spacing:-.035em;margin-bottom:12px;color:#43563d}
.am-plan-words p{font-size:15px;line-height:1.75;color:#6d6d57}
.am-plan-aside{font:400 22px/1.25 LightHand,LightSerif,Georgia,serif;color:#9b7652;margin-top:12px}
.am-wish-pick{border-radius:2px}
.am-wish-pick:focus-visible{outline:3px solid #e2c887;outline-offset:6px}
.am-wish-invitation{position:absolute;bottom:18px;left:23px;right:60px;font:400 21px/1.2 LightHand,LightSerif,Georgia,serif;color:#7c815e}
.am-wish-invitation em{display:none;font-style:normal;color:#9c6e58}
.am-wish-pick[aria-pressed=true] .am-wish-invitation>span{display:none}
.am-wish-pick[aria-pressed=true] .am-wish-invitation em{display:block}
.am-wish-ring{left:auto;top:auto;right:13px;bottom:10px;width:47px;height:42px;transform:rotate(-11deg)}
.am-wish-ring path{stroke:#a9745b;stroke-width:1.25;stroke-dasharray:190;stroke-dashoffset:190;transition:stroke-dashoffset .85s ease .08s}
.am-wish-pick[aria-pressed=true] .am-wish-ring path{stroke-dashoffset:0}
.am-plan-response{margin:16px 12px 0!important;padding:14px 0 0;border-top:1px solid #c2b59466;font:400 23px/1.35 LightHand,LightSerif,Georgia,serif;color:#866b4f;animation:am-ink-arrives .65s ease both}
.am-planner-foot{padding:5px 12px 0;font:400 26px/1.3 LightHand,LightSerif,Georgia,serif;color:#f0e4c8;text-align:center;text-shadow:0 1px 8px #263c2d70}
.am-planner-foot em{font-style:normal;color:#d8c39c}
.am-plan-world-pin{background:#47553f}
.am-plan-world-shade{background:linear-gradient(#273b2a75,#263b2c32 35%,#33472d70)}

/* A quiet, finite approach leaves the lamp exactly where the visitor expects. */
.am-enhanced .am-evening-scroll{height:auto;min-height:0}
.am-enhanced .am-evening-pin{position:relative;height:auto;min-height:0;display:block;overflow:clip}
.am-evening-distance{display:none}
.am-evening-room{transform:none;transform-origin:55% 62%}
.am-evening-room .am-heading{padding-top:42px}
.am-lamp-cue{font:400 22px/1.15 LightHand,LightSerif,Georgia,serif;color:#f0dfbd}
.am-lamp-response,.am-ending-note>p.am-lamp-response{font:400 34px/1.15 LightHand,LightSerif,Georgia,serif}
.am-ending-signature{font:400 28px/1.2 LightHand,LightSerif,Georgia,serif}
.am-ending-small{font-size:13px}
.am-evening-room .am-sofa-on{transition-duration:1.15s}
.am-ending-note{padding-top:35px}

.am-enhanced [data-am-arrival][data-arriving=true]{animation:am-arrive-paper 1.1s cubic-bezier(.16,1,.3,1) both}
.am-enhanced [data-am-arrival=promises][data-arriving=true]{animation-name:am-arrive-bundle}
.am-enhanced [data-am-arrival=room][data-arriving=true]{animation:am-arrive-room 1.25s cubic-bezier(.2,.7,.2,1) both}
[data-am-arrival][data-arrival-paused=true]{animation-play-state:paused!important}
@keyframes am-arrive-paper{from{translate:8px 30px;rotate:2.3deg;opacity:.5}to{translate:0 0;rotate:0deg;opacity:1}}
@keyframes am-arrive-bundle{from{translate:-9px 25px;rotate:-2.4deg;opacity:.55}to{translate:0 0;rotate:0deg;opacity:1}}
@keyframes am-arrive-room{from{scale:.965;opacity:.65}to{scale:1;opacity:1}}
@media(max-width:350px){.am-letter-desk{padding-inline:23px;margin-top:110px}.am-fold-address{font-size:32px;left:20px;right:20px}.am-fold-address em{font-size:18px}.am-folded-paper{height:256px}.am-planner{margin-inline:20px;padding:0}.am-plan-entry{padding:10px 10px 62px}.am-plan-words{padding-inline:10px}.am-plan-words h3{font-size:26px}.am-plan-words p{font-size:15px}.am-plan-response{font-size:22px}.am-promise-stage{margin-inline:23px}.am-promise-cover-copy{font-size:28px}.am-evening-room .am-heading{padding-top:31px}.am-ending h2{font-size:34px}.am-lamp-cue{font-size:20px}}
@media(prefers-reduced-motion:reduce){.am-enhanced [data-am-arrival][data-arriving=true]{animation:none!important}.am-wish-ring path{transition:none}.am-plan-entry{transform:none}.am-letter-desk{margin-top:110px}.am-enhanced .am-evening-scroll{height:auto}.am-evening-room .am-sofa-on{transition:none}.am-promise-bundle[data-untying=true] *{animation:none!important}}

/* V23: the gesture belongs to the object, and disappears once it is used. */
.after-memories .am-symbols{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.after-memories .am-tap-cue{position:absolute;z-index:7;display:none;width:36px;height:36px;margin:0;padding:0;pointer-events:none!important;user-select:none;opacity:1;visibility:visible;transition:opacity .2s ease,visibility .2s ease}
.am-enhanced .am-tap-cue{display:block}
.after-memories .am-tap-cue *{pointer-events:none!important}
.after-memories .am-tap-cue svg{position:absolute;inset:0;width:36px;height:36px;fill:#fff5df;stroke:#7b6546;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;filter:none;opacity:.9;animation:am-tap-finger 4.8s ease-in-out infinite;animation-play-state:paused}
.after-memories .am-tap-cue i{position:absolute;left:6px;top:4px;display:block;width:18px;height:18px;margin:0;border:1px solid #fff6df;border-radius:50%;box-shadow:0 0 0 1px #79634666;opacity:0;animation:am-tap-ring 4.8s ease-out infinite;animation-play-state:paused}
.am-enhanced [data-am-cue-visible=true]:not([data-am-cue-used=true]) .am-tap-cue :is(svg,i){animation-play-state:running}
.after-memories [data-am-cue-used=true] .am-tap-cue{opacity:0;visibility:hidden}
.after-memories :disabled .am-tap-cue,.am-memory-held .am-tap-cue{display:none!important}
.am-tap-seal{left:30px;top:24px;transform:rotate(9deg)}
.am-tap-ribbon{left:calc(50% + 12px);top:calc(56% - 5px)}
.am-tap-plan{right:22px;top:clamp(76px,25vw,140px)}
.am-tap-lamp{left:calc(50% - 13px);top:calc(43% - 8px)}
.am-tap-photo{right:5px;top:42%}
.am-tap-receipt{left:8px;top:52%}
.am-tap-flower{left:calc(50% - 13px);top:35%;transform:rotate(-24deg)}
.after-memories .am-tap-receipt :is(svg,i),.am-plan-entry:nth-child(2) .am-tap-cue :is(svg,i){animation-delay:-1.6s}
.after-memories .am-tap-flower :is(svg,i),.am-plan-entry:nth-child(3) .am-tap-cue :is(svg,i){animation-delay:-3.2s}
@keyframes am-tap-finger{0%,44%,100%{transform:translateY(5px);opacity:0}10%{transform:translateY(5px);opacity:.94}22%,29%{transform:translateY(0);opacity:.94}39%{transform:translateY(5px);opacity:0}}
@keyframes am-tap-ring{0%,19%,44%,100%{transform:scale(.35);opacity:0}22%{transform:scale(.55);opacity:.9}39%{transform:scale(1.55);opacity:0}}

/* Rain stays outside. The paper and its touch target rest within easy reach. */
.am-letter-desk,.am-letter-desk:has([open]){margin-top:clamp(48px,9svh,78px)}
.am-letter{padding-bottom:96px}
.am-writing-world-pin{background:#172833}
.am-writing-world-pin::after{background:linear-gradient(#172833c9,transparent 25%,transparent 72%,#1d2d3673)}
.am-rain-pane i{width:1.5px;background:linear-gradient(transparent,#e6f6ffd9,#b9d8ee65,transparent);animation-name:am-window-rain;animation-play-state:paused}
.am-letter[data-motion-paused=false] .am-rain-pane i{animation-play-state:running}
.am-window-light{opacity:.54;background:linear-gradient(115deg,transparent 0 39%,#c9e6f24a 43% 47%,transparent 51% 62%,#d8edf738 65% 67%,transparent 70%);animation:am-window-daylight 12s ease-in-out infinite;animation-play-state:paused}
.am-letter[data-motion-paused=false] .am-window-light{animation-play-state:running}
.am-enhanced .am-letter-desk[data-arriving=true]{animation:none}
.am-enhanced .am-letter-desk[data-arriving=true] .am-folded-paper{animation:am-arrive-envelope .95s cubic-bezier(.16,1,.3,1) both}
.am-letter-seal:active .am-paper-seal{scale:.96}
.am-letter-fold[data-unfolding=true] .am-letter-panel-bottom{animation-delay:.1s}
@keyframes am-window-rain{0%{transform:translate(0,-70px);opacity:0}12%,80%{opacity:.85}100%{transform:translate(-9px,620px);opacity:0}}
@keyframes am-window-daylight{0%,100%{opacity:.4;translate:-6px 0}50%{opacity:.78;translate:7px 0}}
@keyframes am-arrive-envelope{from{translate:7px 18px;rotate:2deg;opacity:.6}to{translate:0 0;rotate:0deg;opacity:1}}

/* The knot stays exactly where it was tapped as the slips unfold below it. */
.am-promise-bundle[open] .am-promise-knot{height:274px}
.am-promise-bundle[open] :is(.am-promise-wrap,.am-promise-cover-copy){display:block}
.am-promise-bundle[open] .am-promise-wrap>span:not(:last-child){opacity:.4}
.am-promise-bundle[open] .am-promise-band{top:56%}
.am-promise-bundle[open] .am-promise-bow{top:calc(56% - 33px)}
.am-enhanced .am-promise-bundle[open] .am-promise-retie{bottom:31px;top:auto;font:400 20px/1.3 LightHand,LightSerif,Georgia,serif}
.am-enhanced [data-am-arrival=promises][data-arriving=true]{animation:none}
.am-enhanced [data-am-arrival=promises][data-arriving=true] .am-promise-wrap{animation:am-arrive-envelope .95s cubic-bezier(.16,1,.3,1) both}
.am-promise-bundle:not([open]) .am-bow-left,.am-promise-bundle:not([open]) .am-bow-right{animation:am-ribbon-air 7.5s ease-in-out infinite;animation-play-state:paused}
.am-promise-bundle:not([open]) .am-bow-right{animation-direction:reverse;animation-delay:-1.5s}
.am-promise-knot[data-am-cue-visible=true] :is(.am-bow-left,.am-bow-right){animation-play-state:running}
.am-promise-daylight{inset:0 -12%;background:linear-gradient(115deg,transparent 24%,#fff6dc66 40%,#fff9e633 47%,transparent 61%);animation:am-promise-sun 14s ease-in-out infinite;animation-play-state:paused}
.am-promises[data-motion-paused=false] .am-promise-daylight{animation-play-state:running}
@keyframes am-ribbon-air{0%,100%{rotate:-.8deg}50%{rotate:1.2deg}}
@keyframes am-promise-sun{0%,100%{translate:-12px 0;opacity:.45}50%{translate:14px 0;opacity:.85}}

/* Stable postcards; the photograph settles, then a tap leaves a visible note. */
.am-plan-entry{--am-postcard-entry-x:8px;--am-postcard-entry-angle:2.2deg}
.am-plan-entry:nth-child(2){--am-postcard-entry-x:-8px;--am-postcard-entry-angle:-2.4deg}
.am-plan-entry:nth-child(3){--am-postcard-entry-x:6px;--am-postcard-entry-angle:1.6deg}
.am-enhanced .am-plan-entry[data-arriving=true]{animation:none}
.am-enhanced .am-plan-entry[data-arriving=true] .am-plan-print{animation:am-arrive-postcard 1.1s cubic-bezier(.16,1,.3,1) both}
.am-plan-print::after{content:"";position:absolute;top:-7px;left:calc(50% - 27px);width:54px;height:16px;background:#ece2bfbd;border-inline:1px solid #fcf3d584;transform:rotate(-4deg);pointer-events:none}
.am-plan-entry:nth-child(2) .am-plan-print::after{left:auto;right:15px;transform:rotate(9deg)}
.am-plan-entry:nth-child(3) .am-plan-print::after{left:16px;transform:rotate(-10deg)}
.am-plan-kept{position:absolute;top:22px;left:22px;display:flex;align-items:center;gap:6px;padding:8px 11px;background:#fff5daed;border:1px solid #d1b58a80;box-shadow:1px 3px 6px #241e2030;transform:rotate(-4deg);font:400 20px/1.15 LightHand,LightSerif,Georgia,serif;color:#846347;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .3s ease,visibility .3s ease}
.am-plan-kept svg{width:19px;height:19px;fill:none;stroke:#a66f59;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.am-wish-pick[aria-pressed=true] .am-plan-kept{opacity:1;visibility:visible;animation:am-kept-note .45s ease both}
.am-plan-entry[data-selected=true]{border-color:#c3a579}
.am-garden-shadows{filter:none;opacity:.28;animation:am-garden-air 16s ease-in-out infinite;animation-play-state:paused;transform-origin:85% 100%}
.am-plans[data-motion-paused=false] .am-garden-shadows{animation-play-state:running}
@keyframes am-arrive-postcard{from{translate:var(--am-postcard-entry-x) 21px;rotate:var(--am-postcard-entry-angle);opacity:.55}to{translate:0 0;rotate:0deg;opacity:1}}
@keyframes am-kept-note{from{translate:0 -5px;rotate:3deg;opacity:0}to{translate:0 0;rotate:0deg;opacity:1}}
@keyframes am-garden-air{0%,100%{rotate:-.7deg;opacity:.23}50%{rotate:1deg;opacity:.34}}

/* One warm response, then stillness. Glass catches the new light only once. */
.am-evening-room[data-warm=true] .am-glass-reflection{animation:am-glass-warms 1.65s ease .3s both}
.am-evening-room[data-warm=true] .am-glass-two{animation-delay:.5s}
.am-evening-room[data-warm=true] .am-room-warmth{opacity:.28}
@keyframes am-glass-warms{0%{opacity:0;translate:-4px 0;scale:.6 1}45%{opacity:.85;translate:2px 0;scale:1.45 1}100%{opacity:.55;translate:0 0;scale:1}}

/* Background veils join the later rooms without covering the physical objects. */
.am-letter::after,.am-promises::after,.am-plans::after{content:"";position:absolute;z-index:1;left:0;right:0;bottom:0;height:82px;pointer-events:none;background:linear-gradient(transparent,#d5c6a5)}
.am-promises::after{background:linear-gradient(transparent,#47553f)}
.am-plans::after{background:linear-gradient(transparent,#172a2d)}
.am-letter .am-letter-sheet,.am-promise-stage,.am-planner{position:relative;z-index:2}
/* Match the incoming edge too: an outgoing veil alone ends against an image. */
.am-writing-world-pin::before,.am-promise-world-pin::before,.am-plan-world-pin::before,.am-evening-room::before{content:"";position:absolute;z-index:2;inset:0 0 auto;height:clamp(64px,12svh,104px);pointer-events:none;background:linear-gradient(#172833,transparent)}
.am-promise-world-pin::before{background:linear-gradient(#d5c6a5,transparent)}
.am-plan-world-pin::before{background:linear-gradient(#47553f,transparent)}
.am-plans>.am-heading{background:linear-gradient(transparent,#142b213d 75%,transparent)}
.am-evening-room::before{z-index:1;background:linear-gradient(#172a2d,transparent)}

.after-memories[data-motion-paused=true] :is(*)::before,.after-memories[data-motion-paused=true] :is(*)::after,.am-chapter[data-motion-paused=true] :is(*)::before,.am-chapter[data-motion-paused=true] :is(*)::after{animation-play-state:paused!important}
.after-memories:has(.am-memory-dialog[open]) *,.after-memories:has(.am-memory-dialog[open]) *::before,.after-memories:has(.am-memory-dialog[open]) *::after{animation-play-state:paused!important}
[data-am-arrival][data-arrival-paused=true] *{animation-play-state:paused!important}
.after-memories[data-motion-paused=true] *,.am-chapter[data-motion-paused=true] *{transition:none!important}
.after-memories[data-motion-paused=true] *::before,.after-memories[data-motion-paused=true] *::after,.am-chapter[data-motion-paused=true] *::before,.am-chapter[data-motion-paused=true] *::after{transition:none!important}
@media(max-width:350px){.am-letter-desk,.am-letter-desk:has([open]){margin-top:48px}.am-plan-kept{left:18px;top:18px;font-size:19px;padding:7px 9px}}
@media(prefers-reduced-motion:reduce){
  .after-memories .am-tap-cue svg{animation:none!important;transform:none;opacity:.9}
  .after-memories .am-tap-cue i{display:none;animation:none}
  .am-window-light,.am-promise-daylight,.am-garden-shadows,.am-promise-bundle:not([open]) :is(.am-bow-left,.am-bow-right),.am-evening-room[data-warm=true] .am-glass-reflection,.am-wish-pick .am-plan-kept,.am-enhanced [data-arriving=true] :is(.am-folded-paper,.am-promise-wrap,.am-plan-print){animation:none!important;translate:none;rotate:none}
  .am-plan-kept,.am-tap-cue{transition:none!important}
  .am-letter-seal:active .am-paper-seal{scale:1}
}

/* A real little plush rests on the cushion; its feet share the room's coordinates. */
.am-sofa-teddy{position:absolute;z-index:1;left:40.8%;bottom:38.5%;width:17.8%;line-height:0;pointer-events:none;user-select:none}
.am-sofa-teddy::before{content:"";position:absolute;left:9%;right:3%;bottom:4.8%;height:8%;background:radial-gradient(ellipse,#30251dd1,transparent 70%);transform:rotate(-3deg)}
.am-sofa-teddy img{display:block;width:100%;height:auto;filter:brightness(.66) saturate(.64);transition:filter 1.15s ease;-webkit-user-drag:none}
.am-evening-room[data-warm=true] .am-sofa-teddy img,.after-memories:not(.am-enhanced) .am-sofa-teddy img{filter:brightness(.94) saturate(.9)}
@media(prefers-reduced-motion:reduce){.am-sofa-teddy img{transition:none}}

/* Lamplight reveals a framed memory on the wall, without moving the room. */
.am-evening-room .am-heading{padding-inline:0;pointer-events:none}
.am-evening-room .am-heading .am-kicker{padding-inline:20px;margin-bottom:0}
.am-evening-room .am-heading h2{width:48%;margin:20px 0 0 49%;text-align:left;font-size:clamp(30px,8.6vw,44px);line-height:1.1}
.am-wall-portrait{position:absolute;z-index:1;left:24%;top:12.8%;width:20%;aspect-ratio:3/4;margin:0;padding:clamp(3px,.9vw,5px);border:1px solid #503720;background:linear-gradient(38deg,#aa814b,#78522d 32%,#503922 70%,#695033);box-shadow:inset -1px 1px 0 #d3ac6d66,2px -2px 1px #34241866,4px -4px 7px #291b1233;opacity:0;visibility:hidden;pointer-events:none;user-select:none;transition:opacity 1.15s ease,visibility 0s linear 1.15s}
.am-wall-portrait-mat{display:block;width:100%;height:100%;padding:clamp(3px,1vw,6px);background:#cdbb98;box-shadow:inset 0 0 0 1px #b39a70,inset 0 1px 3px #49301f3d}
.am-wall-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 29%;filter:sepia(.18) saturate(.68) brightness(.78) contrast(.94);box-shadow:0 0 0 1px #795d3c6b;-webkit-user-drag:none}
/* The lamp is below-left: warm spill nearby, gentle shade on the far edge. */
.am-wall-portrait::after{content:"";position:absolute;z-index:2;inset:0;pointer-events:none;background:linear-gradient(38deg,#ffbd6630,transparent 47%,#21190f4d);box-shadow:inset -2px 2px 5px #241b1526}
.am-evening-room[data-warm=true] .am-wall-portrait{opacity:1;visibility:visible;transition-delay:0s}
@media(prefers-reduced-motion:reduce){.am-wall-portrait{transition:none}}
