/* One viewport. Scroll drives the scene; only the paper and dialogs scroll internally. */
html,body{width:100%;height:100%;overflow:hidden;overscroll-behavior:none;scroll-behavior:auto}body{background:#eeebe5}.header{position:absolute;top:0;left:0;right:0;height:80px;padding:0 4.5%;background:transparent;border-color:#76627f20;z-index:20}.header .brand{padding:0}.header-caption{font-size:8px;letter-spacing:1.7px;color:#8b7a92}.header-actions{display:flex;align-items:center;gap:28px}.header-actions>.text-link{font-size:11px}.nav-cta{font-size:11px;padding:12px 18px}.scene{position:absolute;top:80px;bottom:58px;left:0;right:0;overflow:hidden;isolation:isolate;--env-x:73vw;--env-y:50%;--env-width:400px;--env-height:280px;--env-angle:-9deg;--flap:0;--seal:1;--intro-alpha:1;--orb-alpha:1;--paper-x:73vw;--paper-y:50%;--paper-width:290px;--paper-height:220px;--paper-angle:-9deg;--cover-alpha:1;--content-alpha:0;--env-alpha:1;background:linear-gradient(135deg,#eeebe5,var(--scene-color,#eeebe5));transition:background 1s}.ambient{position:absolute;width:50vw;height:50vw;pointer-events:none;filter:blur(80px);border-radius:50%;opacity:.18;z-index:0}.ambient-one{right:-20%;top:-50%;background:#d0b6e0}.ambient-two{left:-35%;bottom:-70%;background:#e8cfa9}.intro{position:absolute;left:6%;top:50%;transform:translateY(calc(-50% - var(--intro-shift,0px)));opacity:var(--intro-alpha);z-index:8;max-width:650px}.intro-eyebrow{font-size:8px;letter-spacing:1.7px;color:#80698e;display:flex;gap:9px;align-items:center;margin-bottom:31px}.intro-eyebrow i{width:5px;height:5px;border-radius:50%;background:var(--accent)}.intro h1{font-size:clamp(52px,5.9vw,94px);line-height:.98;font-weight:400;letter-spacing:-4px}.intro h1 em{display:inline;letter-spacing:-3px}.intro>p{color:#887b8e;font-size:15px;line-height:1.65;margin-top:28px}.intro .button{margin-top:30px;padding:17px 23px;font-size:12px}.intro-footnote{display:block;font-size:8px;color:#9c8ea5;letter-spacing:.3px;margin-top:24px}.scene-orbit{position:absolute;left:73%;top:52%;border:1px solid #a38aaf25;border-radius:50%;width:min(47vw,620px);height:83%;transform:translate(-50%,-50%) rotate(-24deg);pointer-events:none;opacity:var(--orb-alpha)}.orbit-b{transform:translate(-50%,-50%) rotate(27deg);width:min(42vw,550px);height:94%}.scene-spark{position:absolute;color:var(--accent);opacity:var(--orb-alpha);pointer-events:none}.spark-a{left:56%;top:19%;font-size:38px;animation:slowSpin 35s linear infinite}.spark-b{right:6%;bottom:15%;font-size:60px;animation:float 7s ease-in-out infinite}.env-rig{position:absolute;left:var(--env-x);top:var(--env-y);width:var(--env-width);height:var(--env-height);transform:translate(-50%,-50%) rotate(var(--env-angle));opacity:var(--env-alpha);pointer-events:none;transform-style:flat}.env-shadow-rig{z-index:1}.env-back-rig{z-index:2}.env-flap-rig{z-index:6;perspective:900px}.env-front-rig{z-index:5}.seal-rig{z-index:7}.env-rig .envelope-back{box-shadow:inset 0 0 0 1px #f9f3ff80,3px 5px 0 #bda5cd;border-radius:5px 5px 8px 8px}.env-rig .envelope-front{border-radius:5px 5px 8px 8px;clip-path:polygon(0 0,50% 53%,100% 0,100% 100%,0 100%)}.env-rig .envelope-flap{height:61%;filter:drop-shadow(0 2px 2px #513a6a15);transform:rotateX(calc(var(--flap) * 180deg))}.env-rig .envelope-wordmark{bottom:17%;font-size:clamp(22px,2.3vw,32px)}.env-rig .envelope-caption{bottom:10%;font-size:5px;letter-spacing:1.6px}.env-rig .envelope-shadow{left:5%;right:5%;height:30%;top:88%;filter:blur(23px);opacity:.7}.seal-rig .wax-seal{pointer-events:auto;top:43%;width:58px;height:58px;left:calc(50% - 29px)}.envelope-side-note{position:absolute;right:5%;top:26%;font-size:7px;letter-spacing:2px;color:#a28baa;writing-mode:vertical-rl;opacity:var(--orb-alpha)}
.design-paper{position:absolute;left:var(--paper-x);top:var(--paper-y);width:var(--paper-width);height:var(--paper-height);transform:translate(-50%,-50%) rotate(var(--paper-angle));background:#faf6ef;border:1px solid #d9cfc04d;box-shadow:0 2px 0 #e6dfd6,0 5px 0 -2px #f6f1e9,0 20px 65px #45314f18;z-index:4;border-radius:3px;overflow:hidden;pointer-events:none;will-change:transform,width,height}.design-paper:after{content:'';position:absolute;inset:5px;border:1px solid #bba9c31f;pointer-events:none;z-index:8}.paper-cover{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:space-around;padding:10% 7%;opacity:var(--cover-alpha);text-align:center}.paper-cover>span:first-child{font-size:5px;letter-spacing:1.4px;color:#a18fa9}.paper-cover strong{font:var(--cover-font,30px)/1.1 var(--serif);font-weight:400;color:#6d547e}.paper-cover strong em{font-weight:400}.paper-cover .paper-cover-star{font-size:25px;color:#9677ab}.paper-cover small{font-size:4px;letter-spacing:1px;color:#a998b0}.paper-content{position:absolute;inset:0;display:flex;flex-direction:column;padding:30px 36px 17px;opacity:var(--content-alpha);transform:translateY(var(--content-y,15px))}.paper-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.paper-heading .eyebrow{font-size:7px;letter-spacing:1.4px}.paper-heading h2{font-size:clamp(24px,2.65vw,40px);letter-spacing:-1.6px;margin-top:12px;line-height:1.12}.paper-back{font-size:10px;border-bottom:1px solid #b5a5be;padding:6px 0;white-space:nowrap}.paper-content .catalog-toolbar{margin:23px 0 18px;padding-bottom:16px;flex-shrink:0}.paper-content .filter{padding:10px 15px;font-size:10px}.paper-gallery{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c4b4cb transparent;padding:0 9px 5px 0;outline-offset:-2px}.paper-gallery::-webkit-scrollbar{width:4px}.paper-gallery::-webkit-scrollbar-thumb{background:#c4b4cb;border-radius:5px}.paper-content .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 21px}.paper-content .template-art{height:clamp(205px,29vh,320px)}.paper-content .template-card-wrap{width:145px;height:210px}.paper-content .template-art .invite-name{font-size:22px;letter-spacing:-.7px;margin-top:14px}.paper-content .template-art .invite-category{font-size:4px}.paper-content .template-art .invite-mark{font-size:28px;margin-top:14px}.paper-content .template-art .invite-date{font-size:6px;margin-bottom:7px}.paper-content .template-art .invite-location,.paper-content .template-art .invite-message{font-size:4px;margin-top:6px}.paper-content .template-art .invite-top{padding-top:20px}.paper-content .template-art .invite-bottom{padding-bottom:17px}.paper-content .tile-number{font-size:7px;top:14px;left:14px}.paper-content .tile-type{font-size:6px;top:14px;right:14px}.paper-content .tile-open{width:29px;height:29px;bottom:12px;right:12px;font-size:15px}.paper-content .template-meta{margin-top:12px}.paper-content .template-meta h3{font-size:12px}.paper-content .template-meta p{font-size:8px}.paper-content .template-meta button{font-size:9px}.paper-content .collection-note{margin:22px 0 5px;font-size:8px}.paper-bottom{display:flex;justify-content:space-between;gap:20px;font-size:6px;letter-spacing:1.3px;color:#a28daa;border-top:1px solid #a18ba422;padding-top:13px;margin-top:10px;flex-shrink:0}.scene.catalog-ready .design-paper{pointer-events:auto;z-index:9}.scene.catalog-ready .intro{pointer-events:none}.scene.catalog-ready .env-rig{visibility:hidden}.scene-footer{position:absolute;left:4.5%;right:4.5%;bottom:0;height:58px;margin:0;padding:0;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #76627f20;z-index:20}.scene-instruction{display:flex;align-items:center;gap:10px;color:#8a7796;font-size:7px;letter-spacing:1.25px}.scroll-cue{width:22px;height:22px;border:1px solid #a28daf55;border-radius:50%;display:grid;place-items:center;font-size:11px;animation:float 4s ease-in-out infinite}.scene-progress{display:flex;align-items:center;gap:15px}.chapter{color:#a18bad;font-size:9px;padding:8px}.chapter.active{color:var(--accent)}.chapter-line{width:100px;height:1px;background:#bdafc655}.chapter-line i{display:block;height:100%;width:0;background:var(--accent)}.scene-edition{font-size:7px!important;letter-spacing:1.6px;color:#9b8aa5!important}.preview-display{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px}.phone-scroll{width:100%;height:100%;overflow-y:auto;scrollbar-width:none;overscroll-behavior:contain;border-radius:26px;background:var(--card-bg,#f7f0e5)}.phone-scroll::-webkit-scrollbar{display:none}.phone-frame #phoneCard{height:auto;min-height:100%}.phone-frame .invitation{height:465px;border-radius:0;flex-shrink:0}.preview-motion-controls{display:flex;gap:20px;font-size:9px;color:#776386}.preview-motion-controls button{border-bottom:1px solid #a894b855;padding:6px 0}.preview-story{background:var(--card-bg);color:var(--card-ink);padding:35px 22px;text-align:center;position:relative}.preview-story .story-overline{font-size:6px;letter-spacing:2px;opacity:.6}.preview-story h3{font:italic 29px/1.15 var(--serif);margin:18px 0}.preview-story p{font:11px/1.8 var(--sans);opacity:.75}.story-divider{height:1px;background:currentColor;opacity:.18;width:50%;margin:30px auto}.story-schedule{list-style:none;padding:0;margin:25px 0}.story-schedule li{padding:15px 0;border-top:1px solid #a28b9c33}.story-schedule strong{display:block;font:24px var(--serif);margin-bottom:7px}.story-schedule span{font-size:9px;opacity:.7}.story-footer{font:italic 32px var(--serif);padding:35px 0 10px}.story-restart{font-size:9px;border-bottom:1px solid currentColor;padding:8px 0;margin-top:25px}.preview-info .demo-note{font-size:9px}.phone-frame{height:490px}.preview-dialog{max-height:94dvh}.preview-content{min-height:590px}.preview-info{padding-top:60px}.editor-live #liveCard{transform:rotate(2deg)}
@media(min-width:1500px){.intro{left:8%}.paper-content{padding:35px 44px 20px}.paper-content .template-card-wrap{width:175px;height:250px}.paper-content .template-art .invite-name{font-size:25px}.paper-content .template-art .invite-mark{font-size:35px}.paper-content .template-art .invite-top{padding-top:25px}.paper-content .template-art .invite-bottom{padding-bottom:22px}}
@media(max-width:1000px){.intro h1{font-size:63px}.header-caption{display:none}.paper-heading h2{font-size:30px}.paper-content{padding:25px 26px 15px}.paper-content .catalog-grid{gap:23px 14px}.paper-content .template-card-wrap{width:130px;height:190px}.paper-content .template-art{height:235px}.paper-content .tile-type{display:none}.paper-content .template-meta{display:block}.paper-content .template-meta button{margin-top:5px}.scene-edition{display:none!important}}
@media(max-width:700px){.header{height:65px;padding:0 5%}.header .brand{font-size:32px}.header-actions{gap:18px}.header-actions>.text-link{font-size:9px}.nav-cta{display:none}.scene{top:65px;bottom:55px}.intro{left:5%;right:5%;top:7%;transform:translateY(calc(-1 * var(--intro-shift,0px)));text-align:center;max-width:none}.intro-eyebrow{justify-content:center;font-size:6px;letter-spacing:1.2px;margin-bottom:20px}.intro h1{font-size:clamp(46px,10.5vw,70px);letter-spacing:-2.8px;line-height:.97}.intro h1 em{letter-spacing:-2px}.intro>p{font-size:11px;line-height:1.6;margin-top:16px}.intro>p br{display:none}.intro .button{display:none}.intro-footnote{font-size:6px;letter-spacing:.2px;margin-top:13px}.scene-orbit{left:50%;top:66%;width:87%;height:48%}.orbit-b{width:93%;height:53%}.spark-a{left:12%;top:42%;font-size:25px}.spark-b{right:7%;bottom:12%;font-size:36px}.envelope-side-note{top:52%;right:4%;font-size:5px;letter-spacing:1px}.seal-rig .wax-seal{width:44px;height:44px;left:calc(50% - 22px)}.wax-seal>span:first-child{font-size:23px}.seal-ring{inset:5px}.env-rig .envelope-caption{font-size:4px;letter-spacing:1px}.paper-content{padding:22px 18px 13px}.paper-heading{align-items:flex-start;gap:8px}.paper-heading h2{font-size:27px;letter-spacing:-1.1px;line-height:1.1;max-width:280px;margin-top:10px}.paper-heading h2 em{display:block}.paper-heading .eyebrow{font-size:5px;letter-spacing:1.1px}.paper-back{font-size:8px;white-space:nowrap;margin-top:4px}.paper-content .catalog-toolbar{margin:18px 0 15px;padding-bottom:13px}.paper-content .filters{gap:5px}.paper-content .filter{font-size:8px;padding:8px 10px}.paper-content .filter span{display:none}.paper-content .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.paper-content .template-art{height:215px}.paper-content .template-card-wrap{width:116px;height:173px}.paper-content .template-art .invite-name{font-size:18px;letter-spacing:-.7px;margin-top:12px}.paper-content .template-art .invite-top{padding-top:16px}.paper-content .template-art .invite-bottom{padding-bottom:13px}.paper-content .template-art .invite-mark{font-size:23px;margin-top:10px}.paper-content .template-art .invite-category{font-size:3px;letter-spacing:1px}.paper-content .template-art .invite-date{font-size:5px}.paper-content .template-art .invite-location,.paper-content .template-art .invite-message{font-size:3.5px}.paper-content .tile-number{font-size:5px;left:10px;top:10px}.paper-content .template-meta h3{font-size:10px;line-height:1.3}.paper-content .template-meta p{font-size:7px;line-height:1.5;margin-top:4px}.paper-content .template-meta button{font-size:8px;margin-top:5px}.paper-content .collection-note{font-size:7px;line-height:1.5}.paper-gallery{padding-right:5px}.paper-bottom{font-size:5px;letter-spacing:.7px;padding-top:10px;margin-top:10px}.scene-footer{height:55px;left:5%;right:5%;flex-wrap:nowrap;gap:12px}.scene-instruction{font-size:5px;letter-spacing:.7px;gap:7px;max-width:210px;line-height:1.6}.scroll-cue{flex-shrink:0;height:19px;width:19px}.scene-progress{gap:4px}.chapter{font-size:7px}.chapter-line{width:35px}.preview-content{min-height:0}.preview-display{padding:28px 20px 18px;gap:12px}.phone-frame{width:210px;height:370px}.phone-frame .invitation{height:360px}.phone-frame .invite-top{padding-top:37px}.phone-frame .invite-bottom{padding-bottom:28px}.phone-frame .invite-name{font-size:30px}.phone-frame .invite-mark{font-size:36px}.preview-info{padding:23px}.preview-info h2{margin:10px 0 15px}.preview-motion-controls{font-size:8px;gap:30px}.preview-story h3{font-size:25px}.preview-story p{font-size:10px}}
@media(max-width:360px){.header-actions>.text-link{font-size:8px}.intro h1{font-size:43px}.intro-eyebrow{font-size:5px}.intro>p{font-size:10px}.intro-footnote{font-size:5px}.paper-content{padding:18px 13px 12px}.paper-heading h2{font-size:24px}.paper-back{font-size:7px}.paper-content .filter{font-size:7px;padding:7px 8px}.paper-content .catalog-grid{gap:20px 10px}.paper-content .template-art{height:185px}.paper-content .template-card-wrap{width:100px;height:150px}.paper-content .template-art .invite-name{font-size:16px}.paper-content .template-art .invite-mark{font-size:18px}.paper-content .template-art .invite-top{padding-top:14px}.paper-content .template-art .invite-bottom{padding-bottom:12px}.paper-content .template-art .invite-message{margin-top:4px}.scene-instruction{font-size:4.5px}.scene-footer{gap:5px}.chapter-line{width:25px}}
@media(max-height:600px) and (min-width:701px){.header{height:60px}.scene{top:60px;bottom:42px}.scene-footer{height:42px}.intro h1{font-size:57px}.intro-eyebrow{margin-bottom:20px}.intro>p{margin-top:15px;font-size:12px}.intro .button{margin-top:18px;padding:13px 20px;min-height:40px}.intro-footnote{margin-top:17px}.paper-content{padding:18px 25px 12px}.paper-heading h2{font-size:26px;margin-top:7px}.paper-content .catalog-toolbar{margin:14px 0 12px;padding-bottom:10px}.paper-content .template-art{height:220px}.preview-dialog{max-height:96dvh}.preview-content{min-height:440px}.phone-frame{height:360px;width:205px}.preview-display{padding:20px}.preview-info{padding:45px 25px 20px}.preview-info h2{font-size:30px}.preview-specs{margin:15px 0;gap:9px}}
@media(max-height:650px) and (max-width:700px){.intro{top:4%}.intro h1{font-size:40px}.intro-eyebrow{margin-bottom:12px}.intro>p{font-size:10px;margin-top:10px}.intro-footnote{display:none}.header{height:57px}.scene{top:57px;bottom:45px}.scene-footer{height:45px}.paper-content{padding-top:16px}.paper-heading h2{font-size:24px}.paper-content .catalog-toolbar{margin:13px 0 10px}.paper-content .filter{padding:7px 9px}.paper-bottom{display:none}}
@media(prefers-reduced-motion:reduce){.scene-orbit,.scene-spark{animation:none}.design-paper{will-change:auto}}
