.letter-photo-album{display:flex;justify-content:center;align-items:center;gap:4%;width:100%;padding:7% 6%;isolation:isolate;position:relative;background:#eee4d2 url(/materials/cotton-rag-v1.webp) 50%/420px;border-radius:2px;overflow:hidden}.letter-photo-frame{position:relative;margin:0;width:29%;flex:0 1 auto}.letter-photo-image{display:grid;place-items:center;width:100%;height:100%;overflow:hidden;color:#65594a;background:linear-gradient(135deg,#e6dece,#f3ede2)}.letter-photo-image img{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;opacity:0}.letter-photo-image[data-status=ready] img{opacity:1}@media (prefers-reduced-motion:no-preference){.letter-photo-image img{transition:opacity .2s ease-out}}.letter-photo-retry{display:grid;place-items:center;min-width:44px;min-height:44px;border-radius:50%;background-color:#fffcf6}.letter-photo-album[data-count="1"] .letter-photo-frame{width:52%}.letter-photo-album[data-count="2"] .letter-photo-frame{width:39%}.letter-photo-album[data-layout=locket]{padding:10% 5% 8%;background:radial-gradient(ellipse at 35% 15%,#537161,#1d3d34 75%)}.letter-photo-album[data-layout=locket]:before{content:"";position:absolute;width:120%;height:60%;border-bottom:2px solid #d7b776;border-radius:50%;top:-17%}.letter-photo-album[data-layout=locket] .letter-photo-frame{aspect-ratio:1;border:clamp(3px,.5vw,7px) ridge #d0ae68;border-radius:50%;box-shadow:0 0 0 1px #5e4525,0 8px 14px #091c1570}.letter-photo-album[data-layout=locket] .letter-photo-frame:before{content:"";position:absolute;width:12%;height:13%;border:2px solid #d4b274;border-radius:50%;left:44%;bottom:100%}.letter-photo-album[data-layout=locket] .letter-photo-image{border-radius:50%}.letter-photo-album[data-layout=locket][data-count="3"] figure:nth-child(2){transform:translateY(12%)}.letter-photo-album[data-layout=prints] figure{aspect-ratio:.87;padding:1.3% 1.3% 5%;background:#fffaf0;box-shadow:0 3px 9px #45351c48;transform:rotate(-6deg)}.letter-photo-album[data-layout=prints] figure:nth-child(2){transform:rotate(5deg) translateY(-4%)}.letter-photo-album[data-layout=prints] figure:nth-child(3){transform:rotate(-2deg)}.letter-photo-album[data-layout=film]{gap:2%;background:#262726;padding:8% 4%}.letter-photo-album[data-layout=film]:after,.letter-photo-album[data-layout=film]:before{content:"";position:absolute;left:2%;right:2%;height:4%;background:repeating-linear-gradient(90deg,#e2d8bf 0 2%,transparent 2% 5%)}.letter-photo-album[data-layout=film]:before{top:4%}.letter-photo-album[data-layout=film]:after{bottom:4%}.letter-photo-album[data-layout=film] figure{aspect-ratio:.94;width:32%}.letter-photo-album[data-layout=gallery]{background-color:#d5c6b5;background-blend-mode:multiply;gap:3%}.letter-photo-album[data-layout=gallery] figure{aspect-ratio:.82;border:4px ridge #ab8651;padding:2%;background:#fff7e8;box-shadow:2px 4px 5px #53422d45}.template-showcase{position:relative;isolation:isolate;overflow:hidden;aspect-ratio:4/5;border-radius:var(--radius-panel);color-scheme:light;pointer-events:none}.template-showcase-texture{position:absolute;inset:0;background:url(/materials/cotton-rag-v1.webp) 50%/420px;opacity:.18;mix-blend-mode:multiply}.template-showcase-stationery.gallery-preview{position:absolute;inset:0;height:100%;min-height:0;background:transparent;border-radius:0;overflow:visible}.template-showcase-stationery .gallery-preview-shade{display:none}.template-showcase-stationery .gallery-preview-paper-window{top:11%;left:13%;width:74%;transform:rotate(-3deg);filter:drop-shadow(0 12px 9px #30241725)}.template-showcase-stationery .gallery-preview-paper{width:360px;transform:scale(calc(100cqw / 360px))}.template-showcase-stationery .letter-card-grain{height:480px;min-height:480px}.template-showcase-photos{position:absolute;z-index:2;left:7%;right:7%;bottom:8%;filter:drop-shadow(0 6px 6px #30241730)}.template-showcase-photos .letter-photo-album{min-height:0;padding:7% 6%}.template-showcase-envelope.tactile-letter{position:absolute;z-index:3;width:26%;right:5%;top:4%;transform:rotate(8deg)}.template-showcase-envelope .tactile-address-name{font-size:12px}.template-showcase-badge{position:absolute;z-index:4;top:12px;left:12px;padding:5px 10px;border-radius:99px;font-size:10px;line-height:1.4;color:#394638;background:#fffcf0ed}.template-showcase-price{position:absolute;z-index:4;bottom:14px;right:14px;padding:5px 11px;border-radius:99px;background:#fff8e9;color:#493c29;font-size:12px;box-shadow:0 2px 8px #0002}.template-showcase[data-layout=locket] .gallery-preview-paper-window{top:8%;left:14%;width:72%;transform:none}.template-showcase[data-layout=locket] .template-showcase-photos{top:auto;bottom:8%;left:1%;right:auto;width:48%}.template-showcase[data-layout=locket] .letter-photo-album{background:none;padding:0 14% 6%}.template-showcase[data-layout=locket] .letter-photo-album:before{border-color:#bc994d;top:-24%}.template-showcase[data-layout=locket] .letter-photo-frame{width:52%}.template-showcase[data-layout=prints] .gallery-preview-paper-window{top:8%;left:22%;width:72%;transform:none}.template-showcase[data-layout=prints] .template-showcase-photos{top:32%;bottom:auto;left:3%;right:auto;width:33%;transform:rotate(-7deg)}.template-showcase[data-layout=prints] .letter-photo-album{flex-direction:column;gap:14px;padding:0;background:none;overflow:visible}.template-showcase[data-layout=prints] .letter-photo-frame{width:90%;flex-shrink:0;padding:4% 4% 16%}.template-showcase[data-layout=film] .gallery-preview-paper-window{top:8%;left:14%;width:72%;transform:none}.template-showcase[data-layout=film] .template-showcase-photos{left:0;right:0;bottom:7%;transform:rotate(-5deg) scale(1.04)}.template-showcase[data-layout=film] .letter-photo-album{padding:8% 4%}.template-showcase[data-layout=gallery] .gallery-preview-paper-window{top:8%;left:14%;width:72%;transform:none}.template-showcase[data-layout=gallery] .template-showcase-photos{left:5%;right:5%;bottom:6%}.template-showcase[data-layout=gallery] .letter-photo-album{background:#d9cdbad9;padding:5% 4%}.template-showcase[data-festive] .gallery-preview-paper-window{top:8%;left:14%;width:72%;transform:none}.template-showcase[data-festive] .letter-card-grain{height:480px;min-height:480px}.template-showcase[data-festive] .template-showcase-envelope{top:auto;bottom:7%;right:auto;left:3%;width:30%;transform:rotate(-12deg)}.template-showcase-pepero{background:#f8eee2}@media (prefers-reduced-motion:reduce){.template-showcase *{transition:none!important}}.template-choice-card{display:grid;min-width:0;grid-template-rows:auto 3rem 3rem 3rem;gap:.5rem}.template-choice-cover{display:block;width:100%;min-width:0;padding:0}.template-choice-cover .template-showcase{width:100%;aspect-ratio:4/5}.template-choice-description,.template-choice-title{margin:0;min-width:0;height:3rem;overflow:hidden;overflow-wrap:anywhere}.template-choice-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.5rem;height:3rem;align-items:stretch}.template-choice-actions>a,.template-choice-actions>button{min-width:0;min-height:44px;height:3rem;text-align:left;line-height:1rem}.template-choice-actions>:last-child{justify-content:flex-end;text-align:right}.template-choice-actions svg{flex-shrink:0}.template-theme-card{display:grid;grid-template-rows:auto 3rem;gap:.5rem}.template-choice-main{display:grid;min-width:0;grid-template-rows:auto 3rem 3rem;gap:.5rem}.template-theme-actions{height:3rem;display:flex;align-items:center}.template-showcase-stationery .gallery-preview-paper>div{margin-top:0}.template-choice-description>span,.template-choice-title>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.5rem}.holiday-card-front{position:relative;width:100%;aspect-ratio:4/5;container-type:inline-size;overflow:hidden;isolation:isolate;color-scheme:light}.holiday-card-art{position:absolute;inset:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.holiday-card-heading{position:absolute;top:4%;left:7%;right:7%;text-align:center}.holiday-card-greeting{margin:0;font-family:var(--font-playfair),var(--font-thai-serif),var(--font-cjk-serif),serif;font-size:clamp(17px,9cqw,46px);font-weight:500;line-height:1.08;white-space:pre-line;text-wrap:balance}.holiday-card-line{margin:3% 0 0;font-size:clamp(7px,2.8cqw,13px);line-height:1.4;text-wrap:balance}.holiday-card-front[data-holiday=hanukkah] .holiday-card-greeting{font-family:var(--font-playfair),var(--font-thai-serif),var(--font-cjk-serif),serif;letter-spacing:.015em}.holiday-card-front[data-holiday=christmas] .holiday-card-greeting{font-style:italic}.holiday-card-address{position:absolute;left:6%;bottom:4%;max-width:85%;padding:5px 10px;border-radius:99px;background:#fffbefed;color:#334639;font-size:clamp(10px,3.5cqw,14px);overflow-wrap:anywhere}.holiday-card-opening{width:min(100%,380px);display:flex;flex-direction:column;align-items:center;perspective:1200px}.holiday-card-open-button{display:block;width:100%;padding:0;text-align:inherit;border-radius:5px;transform-origin:left center;box-shadow:0 15px 40px #24312830,0 2px 4px #24312820}.holiday-card-open-button:focus-visible{outline:3px solid hsl(var(--primary));outline-offset:5px}.holiday-card-open-button .holiday-card-front{border-radius:5px}.holiday-card-opening[data-opening=opening] .holiday-card-open-button{animation:holiday-card-fold .7s ease-in forwards}@keyframes holiday-card-fold{0%{transform:rotateY(0);opacity:1}75%{opacity:1}to{transform:rotateY(-100deg);opacity:0}}@media (prefers-reduced-motion:reduce){.holiday-card-opening[data-opening=opening] .holiday-card-open-button{animation:none}}