@import "https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@400;500;600&display=swap";:root{color:#392f2a;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#f6f0e5;font-family:DM Sans,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button{font:inherit;cursor:pointer}button:focus-visible{outline-offset:3px;outline:2px solid #874f54}#root{min-height:100vh}.site{background:#f6f0e5;max-width:760px;min-height:100vh;margin:0 auto;padding-bottom:100px}.topbar{border-bottom:1px solid #dfd3c2;justify-content:space-between;align-items:center;height:70px;padding:0 24px;display:flex}.brand{color:#392f2a;background:0 0;border:0;font-family:Cormorant Garamond,serif;font-size:25px;font-style:italic;font-weight:600}.topbar-symbol{color:#874f54;font-size:25px}.home{padding:34px 24px 50px}.eyebrow{letter-spacing:3px;color:#874f54;text-align:center;font-size:10px;font-weight:600}.hero{background:#fffdf8;width:min(78%,300px);margin:38px auto 32px;padding:12px 12px 8px;position:relative;transform:rotate(-3deg);box-shadow:2px 8px 22px #392f2a24}.tape{background:#c6a47d88;width:100px;height:28px;position:absolute;top:-16px;left:50%;transform:translate(-50%)rotate(3deg)}.photo-placeholder{aspect-ratio:4/4.5;text-align:center;color:#81705e;background:#e5d5be;place-items:center;padding:25px;font-family:Caveat,cursive;font-size:25px;display:grid}.photo-caption{text-align:center;margin:12px 0 2px;font-family:Caveat,cursive;font-size:22px}h1{letter-spacing:-2px;text-align:center;margin:28px 0 22px;font-family:Cormorant Garamond,serif;font-size:clamp(55px,12vw,88px);font-weight:500;line-height:.94}h1 em{color:#874f54;font-weight:400}.intro{text-align:center;color:#62564e;max-width:370px;margin:0 auto;font-size:14px;line-height:1.9}.handwritten{color:#874f54;text-align:center;margin:25px 0 60px;font-family:Caveat,cursive;font-size:26px;transform:rotate(-3deg)}.section-heading{letter-spacing:2px;color:#81705e;border-bottom:1px solid #d6c7b4;justify-content:space-between;padding-bottom:14px;font-size:10px;font-weight:600;display:flex}.section-list{gap:12px;margin-top:18px;display:grid}.section-card{text-align:left;color:#392f2a;background:#fffcf5;border:1px solid #e2d5c4;border-radius:3px;align-items:center;width:100%;min-height:94px;padding:18px;transition:transform .2s,box-shadow .2s;display:flex}.section-card:hover{transform:translateY(-2px);box-shadow:0 5px 15px #392f2a12}.section-icon{color:#874f54;width:47px;font-size:29px}.section-copy{flex:1;gap:4px;display:grid}.section-copy strong{font-family:Cormorant Garamond,serif;font-size:27px;font-weight:600}.section-copy small{color:#81705e;font-size:11px;line-height:1.5}.section-arrow{color:#874f54;font-size:22px}footer{text-align:center;letter-spacing:2px;color:#81705e;margin-top:65px;font-size:9px}.bottom-nav{width:100%;max-width:760px;padding:10px 8px calc(10px + env(safe-area-inset-bottom));z-index:10;background:#fffcf5;border-top:1px solid #dfd3c2;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.bottom-nav button{color:#81705e;background:0 0;border:none;flex:1;justify-items:center;gap:3px;min-height:49px;display:grid}.bottom-nav button span{font-size:22px}.bottom-nav button small{font-size:10px}.bottom-nav .nav-active{color:#874f54;font-weight:600}.inner-page{text-align:center;min-height:65vh;padding:30px 24px}.back{color:#874f54;background:0 0;border:none;padding:10px 0;display:block}.inner-icon{color:#874f54;margin-top:70px;font-size:60px;display:block}.inner-page h1{font-size:64px}.inner-page>p:not(.eyebrow){color:#81705e}.coming-soon{color:#874f54;border:1px dashed #c6a47d;margin-top:65px;padding:45px 20px;font-family:Caveat,cursive;font-size:25px}@media (width>=600px){.home{padding-left:60px;padding-right:60px}.section-list{grid-template-columns:repeat(2,1fr)}}@media (prefers-reduced-motion:reduce){.section-card{transition:none}}.photo-placeholder{padding:0;overflow:hidden}.hero-photo{aspect-ratio:4/4.5;object-fit:cover;width:100%;height:100%;display:block}.photo-box-page{padding:35px 22px 70px}.photo-box-page h1{margin:25px 0 15px;font-size:clamp(52px,12vw,76px)}.photo-box-intro{text-align:center;color:#81705e;max-width:350px;margin:0 auto 45px;font-size:14px;line-height:1.8}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px;padding:8px;display:grid}.gallery-polaroid{color:#392f2a;background:#fffdf8;border:none;min-width:0;padding:8px 8px 12px;box-shadow:2px 5px 12px #392f2a24}.gallery-polaroid img{aspect-ratio:3/4;object-fit:cover;background:#e5d5be;width:100%;display:block}.gallery-polaroid span{margin-top:10px;font-family:Caveat,cursive;font-size:19px;line-height:1.1;display:block}.photo-lightbox{z-index:100;background:#241c19ed;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.lightbox-content{text-align:center;width:100%;max-width:600px}.lightbox-content img{object-fit:contain;max-width:100%;max-height:75vh}.lightbox-content p{color:#fffdf8;font-family:Caveat,cursive;font-size:28px}.lightbox-close{color:#fff;background:0 0;border:none;padding:10px;font-size:38px;position:absolute;top:15px;right:20px}@media (width>=600px){.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}}.story-page{padding:40px 24px 90px}.story-page h1{margin:25px 0 15px;font-size:clamp(58px,12vw,82px)}.story-intro{text-align:center;color:#81705e;max-width:330px;margin:0 auto 65px;font-size:14px;line-height:1.9}.story-timeline{border-left:1px solid #c6a47d;max-width:480px;margin:0 auto;padding-left:28px}.memory{padding-bottom:48px;position:relative}.memory-marker{background:#874f54;border:3px solid #f6f0e5;border-radius:50%;width:13px;height:13px;position:absolute;top:4px;left:-35px;box-shadow:0 0 0 1px #874f54}.memory-date{letter-spacing:2px;color:#874f54;font-size:10px;font-weight:600}.memory h2{margin:10px 0 12px;font-family:Cormorant Garamond,serif;font-size:35px;font-weight:500;line-height:1.1}.memory-content>p{color:#62564e;margin:0;font-size:14px;line-height:1.9}.story-ending{text-align:center;color:#874f54;margin:20px 0;font-family:Caveat,cursive;font-size:32px;transform:rotate(-3deg)}.letters-page{text-align:center;padding:40px 24px 90px}.letters-page h1{margin:25px 0 18px;font-size:clamp(52px,12vw,78px)}.letters-intro{color:#81705e;margin-bottom:60px;font-size:14px;line-height:1.8}.letter-envelope-button{color:#392f2a;background:0 0;border:none;width:100%;max-width:340px;margin:0 auto;padding:0;display:block}.letter-envelope{aspect-ratio:1.6;background:#e5d5be;border:1px solid #c6a47d;border-radius:3px;width:100%;transition:transform .3s;position:relative;overflow:hidden;transform:rotate(-3deg);box-shadow:3px 8px 20px #392f2a24}.letter-envelope-button:hover .letter-envelope{transform:rotate(0)translateY(-4px)}.envelope-fold{clip-path:polygon(0 100%,50% 35%,100% 100%);background:#ecdec8;position:absolute;inset:0}.envelope-flap{clip-path:polygon(0 0,100% 0,50% 65%);z-index:2;background:#d8c3a5;position:absolute;inset:0}.wax-seal{color:#ead7bf;z-index:3;background:#874f54;border:3px double #b77b80;border-radius:50%;place-items:center;width:47px;height:47px;font-size:29px;display:grid;position:absolute;top:61%;left:50%;transform:translate(-50%,-50%);box-shadow:0 3px 7px #392f2a45}.envelope-name{color:#62564e;z-index:4;width:100%;font-family:Caveat,cursive;font-size:24px;position:absolute;bottom:12px;left:0}.letter-envelope-button h2{margin:32px 0 8px;font-family:Cormorant Garamond,serif;font-size:35px;font-weight:500}.letter-hint{color:#874f54;letter-spacing:1px;font-size:12px}.birthday-letter{background:#fffdf8;border:1px solid #dfd3c2;max-width:500px;margin:0 auto;padding:32px 24px;animation:.5s both unfold-letter;box-shadow:2px 6px 20px #392f2a15}.birthday-letter h2{color:#874f54;font-family:Cormorant Garamond,serif;font-size:38px;font-weight:500;line-height:1.1}.letter-divider{color:#874f54;margin:20px 0;font-size:25px}.letter-text{white-space:pre-wrap;overflow-wrap:anywhere;text-align:left;color:#392f2a;font-family:Cormorant Garamond,serif;font-size:22px;line-height:1.7}.close-letter{color:#874f54;background:0 0;border:1px solid #c6a47d;border-radius:3px;margin-top:35px;padding:12px 20px;font-size:13px}@keyframes unfold-letter{0%{opacity:0;transform:translateY(15px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}@media (prefers-reduced-motion:reduce){.birthday-letter{animation:none}.letter-envelope{transition:none}}
