@font-face{font-family:BirthdayScript;src:url('fonts/alex-brush.woff2') format('woff2');font-display:swap}
:root{--cream:#f4ede3;--ink:#31222b;--wine:#622c42;--rose:#b48283;--gold:#c7a67c;--dark:#21171d;--line:#775b4930;--progress:0;color-scheme:light;scroll-behavior:smooth}
*{box-sizing:border-box}html,body{margin:0}body{font-family:Georgia,'Times New Roman',serif;background:var(--cream);color:var(--ink);-webkit-font-smoothing:antialiased}button,a,summary{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{font:inherit;cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #b68062;outline-offset:5px}button{color:inherit}img{display:block;max-width:100%;height:auto}::selection{background:#c7a67c70}[hidden]{display:none!important}.script{font-family:BirthdayScript,Georgia,serif;font-weight:400}.eyebrow{font:10px/1.6 system-ui,sans-serif;letter-spacing:.2em;margin:0 0 25px}.skip-link{position:fixed;top:-100px;z-index:100;background:var(--cream);padding:16px}.skip-link:focus{top:15px}.site-header{position:absolute;left:0;right:0;top:0;z-index:8;height:105px;padding:0 5vw;display:flex;align-items:center;justify-content:space-between;gap:20px}.monogram{font-size:22px;letter-spacing:.13em;text-decoration:none;min-height:44px;display:flex;gap:12px;align-items:center}.monogram i{font-style:normal;font-size:15px;color:#945467}.header-date{font:9px system-ui,sans-serif;letter-spacing:.17em}.header-date span{padding:0 10px;color:#a67e6a}.motion-toggle{padding:12px 16px;border:1px solid #795b4d38;border-radius:30px;background:#f4ede3c9;font:10px system-ui,sans-serif;min-height:44px}.motion-toggle span{padding-left:8px}.opening{position:relative;background:var(--cream);--p:0}.opening-stage{position:relative;min-height:850px;height:100svh;overflow:hidden}.opening-rule{position:absolute;top:105px;left:5%;right:5%;height:1px;background:var(--line);z-index:2}.opening-edition{position:absolute;top:145px;left:6.5%;font:9px/1.8 system-ui,sans-serif;letter-spacing:.18em;z-index:3}.hero-photo{position:absolute;top:16%;left:49%;width:40%;height:75%;overflow:hidden;border-radius:46% 46% 3px 3px;transform-origin:50% 50%;background:#967868;will-change:transform,border-radius}.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 44%;transform:scale(1.025)}.photo-shade{position:absolute;inset:0;background:linear-gradient(0deg,#24141a90,transparent 55%);opacity:.35}.opening-title{position:absolute;top:32%;left:9%;z-index:4;max-width:80%;will-change:transform,opacity}.opening-title .eyebrow{font-size:9px;margin-bottom:15px}.birthday-script{font-size:clamp(40px,5.2vw,77px);margin:0 0 -5px;color:var(--wine)}h1{font-weight:400;font-size:clamp(60px,8.7vw,150px);line-height:1.1;letter-spacing:-.055em;margin:0 0 28px;color:var(--wine)}h1>span{color:#a67766}.opening-dedication{font-size:17px;line-height:1.8;color:#67505a}.hero-caption{position:absolute;bottom:14%;right:13%;display:flex;flex-direction:column;z-index:3;color:#fff5e8;text-align:center;transform:rotate(-7deg);opacity:.95}.hero-caption>span:first-child{font:8px system-ui,sans-serif;letter-spacing:.13em}.hero-caption .script{font-size:50px;line-height:1.3}.scroll-cue{position:absolute;left:9%;bottom:15%;z-index:4;display:flex;align-items:center;gap:13px;font:9px system-ui,sans-serif;letter-spacing:.13em;text-decoration:none;min-height:44px}.scroll-line{display:block;width:35px;height:1px;background:#97745f}.scroll-cue>span:last-child{font-size:23px}.opening-signature{position:absolute;left:6.5%;bottom:22px;font:8px system-ui,sans-serif;letter-spacing:.17em;z-index:3}
h2{font-weight:400;font-size:clamp(35px,4.5vw,68px);line-height:1.13;letter-spacing:-.035em;margin:0}h2 em{font-weight:400}.us{background:var(--dark);color:var(--cream);position:relative;--p:0}.us-stage{position:relative;min-height:850px;height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;overflow:hidden;padding:55px 24px}.us-stage>.eyebrow{position:absolute;top:55px;color:#c7a69a}.us-center{position:relative;z-index:2;width:min(650px,90%)}.years-number{font-size:clamp(160px,23vw,300px);font-weight:400;line-height:.9;position:relative;letter-spacing:-.07em;color:#d7ba9e;margin-bottom:35px}.years-number .script{font-size:clamp(43px,6vw,75px);position:absolute;left:50%;top:59%;transform:translateX(-50%) rotate(-9deg);white-space:nowrap;letter-spacing:0;color:#f5e9dc;text-shadow:0 2px 15px #21171d}.us h2{font-size:clamp(32px,3.6vw,54px)}.us h2 em{color:#c79ca1}.word-reveal{max-width:430px;margin:26px auto 0;font-size:19px;line-height:1.8;color:#e7d9ce}.word-reveal span{transition:color .2s}.motion-on .word-reveal span{color:#786770}.motion-on .word-reveal span.lit{color:#f4ede3}.orbit-photo{position:absolute;width:18vw;max-width:260px;height:330px;overflow:hidden;opacity:.78;box-shadow:0 30px 70px #0003;will-change:transform}.orbit-photo img{width:100%;height:100%;object-fit:cover}.orbit-photo-left{left:4%;top:23%;transform:rotate(-12deg)}.orbit-photo-right{right:4%;bottom:14%;transform:rotate(12deg)}.us-foot{position:absolute;bottom:32px;font:9px system-ui,sans-serif;letter-spacing:.19em;color:#c7a69a}.us-foot span{margin-left:15px;color:var(--gold)}
.memories{position:relative;background:#e9ddd0;--p:0}.memories-stage{position:relative;overflow:hidden;min-height:800px;padding:64px 0 35px}.memory-heading{display:flex;align-items:end;justify-content:space-between;gap:35px;padding:0 7vw;margin-bottom:40px}.memory-heading .eyebrow{font-size:9px;margin-bottom:16px}.memory-heading h2{font-size:clamp(30px,3.7vw,52px);max-width:670px}.memory-heading h2 em{color:var(--wine)}.memory-instruction{font:9px/1.8 system-ui,sans-serif;letter-spacing:.12em;min-width:170px}.memory-instruction>span{font-size:26px;vertical-align:middle;margin-left:8px}.memory-instruction small{display:block;font:8px/1.8 system-ui,sans-serif;letter-spacing:.04em;opacity:.7}.memory-window{overflow:auto;scrollbar-width:thin;scrollbar-color:#b48283 transparent;padding:20px 0 30px}.memory-track{display:flex;gap:45px;width:max-content;padding:0 8vw;will-change:transform}.memory-card{flex:none;width:330px;margin:0;transform:rotate(-3deg);transform-origin:center center;will-change:transform}.memory-card:nth-child(even){transform:rotate(3deg)}.photo-open{display:block;position:relative;border:0;padding:0;background:#d6c4b5;width:100%;overflow:hidden;text-align:left}.memory-card .photo-open{border:9px solid #f9f3e8;box-shadow:0 9px 30px #4430281c;height:360px}.photo-open img{width:100%;height:100%;object-fit:cover;transition:transform .65s ease}.memory-card:nth-child(2) img{object-position:48% center}.memory-card:nth-child(4) img{object-position:50% 59%}.memory-card:nth-child(5) img{object-position:50% 65%}.photo-open:hover img{transform:scale(1.04)}.enlarge{position:absolute;bottom:12px;right:12px;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#f8f2e8df;font:20px Georgia,serif;color:var(--ink);box-shadow:0 0 0 1px #fff4}.memory-card figcaption{padding:20px 10px}.memory-card figcaption>span{display:block;font:8px system-ui,sans-serif;letter-spacing:.15em;margin-bottom:12px;color:#785b5d}.memory-card strong{font-size:27px;font-weight:400;line-height:1.25;letter-spacing:-.025em}.memory-bottom{display:flex;align-items:center;gap:25px;padding:10px 7vw 0;font:8px system-ui,sans-serif;letter-spacing:.13em}.memory-progress{flex:1;height:1px;background:#8e6a552e}.memory-progress span{display:block;height:2px;background:var(--wine);width:20%}
.portrait-section{max-width:1440px;display:grid;grid-template-columns:1fr 1fr;gap:10%;padding:140px 9%;margin:auto;align-items:center}.portrait-image{position:relative}.portrait-image .photo-open{height:660px;border-radius:45% 45% 2px 2px}.portrait-image img{object-position:50% 45%}.portrait-scribble{position:absolute;bottom:35px;left:25px;transform:rotate(-12deg);font-size:65px;color:#fff3df;text-shadow:0 2px 12px #31182070;pointer-events:none}.portrait-copy h2 em{color:var(--wine)}.portrait-copy>p:not(.eyebrow){font-size:17px;line-height:1.8;max-width:300px;color:#745d63;margin:28px 0}.notes{margin-top:40px;border-top:1px solid var(--line)}.note{width:100%;display:block;text-align:left;border:0;border-bottom:1px solid var(--line);background:transparent;padding:21px 0}.note>span{display:flex;justify-content:space-between;align-items:center;font:8px system-ui,sans-serif;letter-spacing:.13em;color:#806968}.note i{font:23px Georgia,serif;transition:transform .3s}.note[aria-expanded=true] i{transform:rotate(45deg)}.note strong{display:block;font-weight:400;font-size:19px;margin-top:8px}.note small{display:block;margin:14px 20px 0 0;font:15px/1.8 Georgia,serif;color:#6e515d}.letter-section{padding:100px 24px 110px;text-align:center;background:#eadad5;overflow:hidden}.letter-heading{margin-bottom:55px}.letter-heading h2 em{color:var(--wine)}.letter-heading>p:last-child{font-size:16px;line-height:1.8;color:#785865;margin-top:24px}.letter-envelope{max-width:640px;margin:0 auto;box-shadow:0 22px 55px #57333318;text-align:left;perspective:1000px}.letter-envelope summary{display:block;position:relative;height:310px;cursor:pointer;list-style:none;background:#f6eadd;border:1px solid #bca08470;isolation:isolate}.letter-envelope summary::-webkit-details-marker{display:none}.envelope-flap{position:absolute;inset:0 0 auto;height:175px;background:#edddca;clip-path:polygon(0 0,100% 0,50% 100%);transform-origin:top;transition:transform .65s ease;z-index:2;filter:drop-shadow(0 1px 1px #684c4633)}.envelope-fold{position:absolute;inset:0;background:linear-gradient(27deg,transparent 49.8%,#bca08440 50%,transparent 50.2%),linear-gradient(-27deg,transparent 49.8%,#bca08440 50%,transparent 50.2%);opacity:.6;pointer-events:none}.envelope-to{position:absolute;bottom:75px;left:0;right:0;text-align:center;font-size:43px;color:var(--wine)}.seal{display:grid;place-items:center;position:absolute;left:calc(50% - 29px);top:140px;border-radius:50%;width:58px;height:58px;background:#77384b;color:#f5d8b2;font-size:25px;box-shadow:0 0 0 4px #77384b29,inset 0 0 0 4px #9c5d68,0 5px 9px #49242c30;z-index:3;transition:transform .6s,opacity .4s}.envelope-instruction{position:absolute;bottom:25px;left:0;right:0;text-align:center;font:9px system-ui,sans-serif;letter-spacing:.18em}.envelope-instruction span{margin-left:12px}.letter-envelope[open] .envelope-flap{transform:rotateX(175deg);z-index:-1}.letter-envelope[open] .seal{transform:translateY(25px) rotate(20deg);opacity:0}.letter-envelope[open] summary{height:190px}.letter-envelope[open] .envelope-to{bottom:65px}.letter-envelope[open] .envelope-instruction{font-size:0}.letter-envelope[open] .envelope-instruction:after{content:'FOLD YOUR LETTER ↗';font-size:9px}.love-letter{background:#fff9ef;padding:40px clamp(25px,5vw,70px) 50px;border:1px solid #bca08450;border-top:0;animation:unfold .75s ease both;transform-origin:top;position:relative}.letter-date{font:9px system-ui,sans-serif;letter-spacing:.17em;color:#8a6b60;margin-bottom:30px}.love-letter h3{font-size:clamp(23px,3vw,32px);font-weight:400;line-height:1.5;color:var(--wine);margin:0 0 25px}.love-letter>p:not(.letter-date):not(.signature){font-size:18px;line-height:1.95;margin:0 0 22px}.signature{font-size:16px;line-height:1.8;margin:30px 0 0;color:var(--wine)}.signature .script{font-size:54px}.letter-after{font-size:13px;color:#785865;margin:40px 0 0;font-style:italic}
.wish{position:relative;padding:110px 24px 100px;overflow:hidden;min-height:900px;text-align:center;background:#21171d;color:#f8eedf;isolation:isolate}.wish-aura{position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 50% 54%,#8754425c,transparent 58%);transition:opacity 1.2s}.wish.celebrated .wish-aura{opacity:.18}.wish .eyebrow{color:#d1ac97}.wish h2 em{color:#d9b699}.wish-intro{font-size:17px;line-height:1.8;color:#c9b3b9;margin:25px 0}.cake{position:relative;width:280px;height:245px;margin:25px auto 30px}.cake-body{position:absolute;bottom:24px;left:35px;width:210px;height:94px;border-radius:0 0 45% 45% / 0 0 18% 18%;background:repeating-linear-gradient(90deg,#dcc1ac 0,#f6e6d0 5px,#efdbc5 10px);box-shadow:inset 0 -12px 20px #b8997335;z-index:1}.cake-body span{display:block;font-size:38px;color:#895e55;margin-top:31px}.icing{position:absolute;z-index:2;left:35px;bottom:98px;width:210px;height:40px;border-radius:50%;background:#fff0d9;border:1px solid #e8d0b7}.plate{position:absolute;width:270px;height:28px;bottom:12px;left:5px;border-radius:50%;background:#b48c65;box-shadow:0 12px 22px #160d1540}.candle{position:absolute;z-index:3;left:133px;bottom:118px;width:14px;height:61px;background:repeating-linear-gradient(135deg,#a76874 0 7px,#f3caca 7px 14px);border-radius:3px}.wick{position:absolute;top:-7px;left:6px;width:2px;height:8px;background:#352a22}.flame{position:absolute;top:-37px;left:0;width:15px;height:30px;background:radial-gradient(ellipse at 50% 80%,#fff 0,#ffe2a4 36%,#efae50 75%);border-radius:60% 40% 55% 45%;box-shadow:0 0 28px #ffdd8b9c;transform-origin:50% 100%;animation:flicker 2s ease-in-out infinite;transition:opacity .6s,transform .6s}.candle-glow{position:absolute;top:-35px;left:0;width:280px;height:230px;background:radial-gradient(ellipse,#efbd673a,transparent 65%);transition:opacity .8s}.cake.wished .flame{opacity:0;transform:scale(.1) translateY(-30px)}.cake.wished .candle-glow{opacity:0}.wish-button{position:relative;z-index:2;border:1px solid #b28b71;background:#f1dfc7;padding:18px 28px;color:#492733;min-height:54px;font:11px system-ui,sans-serif;letter-spacing:.06em}.wish-button span{margin-left:16px}#wish-message{position:relative;z-index:2;max-width:480px;margin:27px auto 0;min-height:60px;font-size:17px;line-height:1.8;color:#d9bda9}.celebrated #wish-message{font-size:21px;animation:unfold .8s ease}.confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}.spark{position:absolute;left:50%;top:65%;width:6px;height:12px;background:var(--c);animation:spark 3s cubic-bezier(.15,.6,.35,1) forwards}.spark:nth-child(3n){border-radius:50%;width:5px;height:5px;box-shadow:0 0 8px #f2d2a9}.forever{position:relative;min-height:900px;height:110svh;display:flex;align-items:center;justify-content:center;overflow:hidden;text-align:center;color:#fff6e9;background:#2b3639}.forever-photo{position:absolute;inset:-10% 0}.forever-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 64%;opacity:.75}.forever:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#10151988,#1616202e 55%,#16151ac9);z-index:1}.forever-content{position:relative;z-index:2;padding:70px 25px 200px;text-shadow:0 2px 25px #1116}.forever .eyebrow{font-size:9px}.forever h2{font-size:clamp(47px,7vw,100px)}.forever h2 em{color:#ecd1b7}.forever-content>p:not(.eyebrow):not(.forever-sign){font-size:19px;line-height:1.8;margin-top:28px}.forever-mark{display:block;font-size:clamp(31px,4vw,52px);margin-top:36px}.forever-sign{font:9px system-ui,sans-serif;letter-spacing:.2em;margin-top:26px}.forever-sign span{margin-left:12px;font:21px Georgia,serif}.replay{position:absolute;bottom:45px;left:50%;transform:translateX(-50%);z-index:3;font:10px system-ui,sans-serif;letter-spacing:.05em;padding:14px;text-decoration:none;border-bottom:1px solid #fff6;white-space:nowrap}footer{display:flex;justify-content:space-between;gap:20px;background:var(--dark);color:#cbb5a7;padding:28px 6vw;font:8px/1.8 system-ui,sans-serif;letter-spacing:.12em}footer i{font-style:normal;padding-left:14px}.chapter-nav{position:fixed;bottom:22px;right:22px;display:flex;background:#f8efe8df;backdrop-filter:blur(10px);border:1px solid #bc9f8d45;box-shadow:0 4px 20px #291a1920;border-radius:30px;padding:0 5px;z-index:10}.chapter-nav a{width:34px;min-height:44px;display:grid;place-items:center;text-decoration:none}.chapter-nav a>span{height:5px;width:5px;border-radius:50%;background:#a0807c;transition:transform .3s,background .3s}.chapter-nav a.active>span{background:#652c42;transform:scale(1.7)}.photo-dialog{border:0;padding:60px 24px 24px;background:#20181cee;color:#f3e5d5;width:min(96vw,1100px);max-width:none;max-height:95svh;overflow:auto}.photo-dialog::backdrop{background:#130c11ed;backdrop-filter:blur(12px)}.photo-dialog>img{max-height:75svh;max-width:100%;object-fit:contain;margin:auto;width:auto}.photo-dialog>p{font:12px/1.6 system-ui,sans-serif;text-align:center;margin:17px 0 0}.photo-close{position:absolute;right:15px;top:10px;min-height:44px;padding:10px 12px;background:none;border:0;color:#f3e5d5;font:12px system-ui,sans-serif}.photo-close span{font-size:23px;vertical-align:middle;margin-left:12px}body.dialog-open{overflow:hidden}
/* Scroll scenes use native scrolling; JS only draws their progress. */
.motion-on .opening{height:190svh}.motion-on .us{height:170svh}.motion-on .memories{height:var(--memory-height,360svh)}.motion-on .sticky-stage{position:sticky;top:0;height:100svh;min-height:0}.motion-on .memory-window{overflow:hidden}.motion-on .memories-stage{padding-top:6svh}.motion-on .memory-card .photo-open{height:min(43svh,400px)}.motion-on .memory-heading{margin-bottom:3svh}.motion-on .memory-card{width:min(31vw,360px)}.motion-on .memory-bottom{padding-top:0}.motion-on .reveal{opacity:0;transform:translateY(35px);transition:opacity .85s ease,transform .85s cubic-bezier(.2,.8,.3,1)}.motion-on .reveal.shown{opacity:1;transform:none}.motion-on .portrait-image.reveal{clip-path:inset(8% 8% 8% 8% round 40% 40% 0 0);transition:clip-path 1.3s cubic-bezier(.2,.8,.3,1),opacity .9s,transform .9s}.motion-on .portrait-image.reveal.shown{clip-path:inset(0 round 0)}
@keyframes flicker{50%{transform:scale(.88,1.1) rotate(5deg)}}@keyframes unfold{from{opacity:0;transform:translateY(-16px) rotateX(-5deg)}to{opacity:1;transform:none}}@keyframes spark{0%{opacity:0;transform:translate(0,0) rotate(0)}12%{opacity:1}100%{opacity:0;transform:translate(var(--x),var(--y)) rotate(var(--r))}}
@media(min-width:1700px){.hero-photo{left:52%;width:35%}.opening-title{left:13%}.opening-dedication{font-size:21px}}
@media(max-width:760px){.site-header{height:78px;padding:0 22px;gap:10px}.monogram{font-size:17px;gap:7px}.header-date{font-size:7px;letter-spacing:.09em}.header-date span{padding:0 3px}.motion-toggle{font-size:9px;padding:10px;min-height:42px}.motion-toggle span{display:none}.opening-rule{top:78px;left:22px;right:22px}.opening-stage{min-height:790px;height:100svh}.opening-edition{left:26px;top:93px;font-size:7px;line-height:1.6}.hero-photo{left:15%;top:19%;width:70%;height:59%;border-radius:46% 46% 3px 3px}.hero-photo img{object-position:50% 43%}.opening-title{top:55%;left:0;width:100%;max-width:none;text-align:center;color:#fff4e5}.opening-title .eyebrow{display:none}.birthday-script{color:#f9eedf;font-size:41px;text-shadow:0 1px 15px #3214186b;line-height:1}.opening-title h1{font-size:clamp(48px,13.6vw,99px);margin:7px 0 0;color:#fff8e9;text-shadow:0 2px 20px #21121d70;letter-spacing:-.055em}.opening-title h1>span{color:#e8c6a9}.opening-dedication{margin:24px auto 0;font-size:14px;color:#55444e;line-height:1.65;max-width:300px}.hero-caption{display:none}.scroll-cue{left:50%;transform:translateX(-50%);bottom:8%;font-size:8px;white-space:nowrap;gap:10px}.scroll-line{width:20px}.opening-signature{left:0;right:0;text-align:center;bottom:19px;font-size:7px}.us-stage{min-height:820px}.us-stage>.eyebrow{top:42px;font-size:8px}.us-center{width:100%}.years-number{font-size:180px;margin-bottom:30px}.years-number .script{font-size:50px}.us h2{font-size:35px}.word-reveal{max-width:290px;font-size:17px}.orbit-photo{width:110px;height:150px;opacity:.55}.orbit-photo-left{top:11%;left:-20px}.orbit-photo-right{bottom:9%;right:-20px}.us-foot{font-size:7px;bottom:26px}.memory-heading{padding:0 24px;display:block;margin-bottom:30px}.memory-heading .eyebrow{font-size:8px}.memory-heading h2{font-size:36px;max-width:350px}.memory-instruction{display:block;font-size:7px;margin-top:16px}.memory-instruction small{display:inline;margin-left:14px;font-size:7px}.memory-instruction>span{font-size:16px}.memories-stage{padding-top:55px;min-height:740px}.memory-track{gap:28px;padding:0 10vw}.memory-card{width:270px}.memory-card .photo-open{height:340px}.memory-card figcaption{padding:18px 8px}.memory-card strong{font-size:25px}.memory-card figcaption>span{font-size:7px}.memory-bottom{padding:10px 24px 0;gap:16px;font-size:6px}.memory-bottom>span:last-child{display:none}.portrait-section{grid-template-columns:1fr;gap:55px;padding:85px 28px}.portrait-image{width:90%;margin:auto}.portrait-image .photo-open{height:480px}.portrait-scribble{font-size:50px;left:15px;bottom:25px}.portrait-copy{padding:0 5px}.portrait-copy h2{font-size:49px}.portrait-copy h2 br:nth-of-type(2){display:none}.portrait-copy .eyebrow{font-size:8px}.portrait-copy>p:not(.eyebrow){font-size:16px}.notes{margin-top:28px}.letter-section{padding:85px 22px 75px}.letter-heading h2{font-size:38px}.letter-heading .eyebrow{font-size:8px}.letter-heading>p:last-child{font-size:15px}.letter-envelope summary{height:265px}.envelope-flap{height:135px}.seal{top:108px;width:50px;height:50px;left:calc(50% - 25px)}.envelope-to{font-size:35px;bottom:66px}.envelope-instruction{font-size:8px}.love-letter{padding:30px 24px}.love-letter>p:not(.letter-date):not(.signature){font-size:16px}.letter-date{font-size:8px;line-height:1.8}.love-letter h3{font-size:25px}.wish{padding:80px 24px;min-height:850px}.wish h2{font-size:43px}.wish .eyebrow{font-size:8px}.wish-intro{font-size:16px}.cake{margin-top:10px}#wish-message{font-size:15px;max-width:310px}.celebrated #wish-message{font-size:19px}.forever{min-height:880px;height:110svh}.forever-photo{inset:0 -20%}.forever-photo img{object-position:50% 64%;opacity:.75}.forever-content{padding:50px 20px 300px}.forever .eyebrow{font-size:8px}.forever h2{font-size:48px}.forever-content>p:not(.eyebrow):not(.forever-sign){font-size:17px}.forever-mark{font-size:33px;max-width:290px;margin:27px auto 0;line-height:1.3}.forever-sign{font-size:8px}.replay{bottom:50px}.chapter-nav{bottom:14px;right:12px}.chapter-nav a{width:28px;min-height:40px}footer{font-size:6px;padding:24px 24px 76px}.motion-on .opening{height:170svh}.motion-on .us{height:155svh}.motion-on .memory-card{width:72vw;max-width:330px}.motion-on .memory-card .photo-open{height:41svh;max-height:400px}.motion-on .memory-heading{margin-bottom:1svh}.motion-on .memories-stage{padding-top:5svh}.motion-on .memory-window{padding-top:16px;padding-bottom:20px}.photo-dialog{padding:60px 12px 20px;width:96vw}.photo-dialog>img{max-height:73svh}.photo-dialog>p{font-size:11px}}
@media(max-width:360px){.header-date{display:none}.birthday-script{font-size:35px}.opening-title h1{font-size:13.3vw}.opening-dedication{font-size:13px}.memory-heading h2{font-size:31px}.memory-instruction small{font-size:6px;margin-left:7px}.memory-card strong{font-size:22px}.portrait-copy h2{font-size:43px}.forever h2{font-size:40px}}
/* Reading mode keeps every photograph and interaction in ordinary document flow. */
.reading-mode{scroll-behavior:auto}.reading-mode .scroll-scene{height:auto!important}.reading-mode .sticky-stage{position:relative;height:auto;min-height:800px}.reading-mode .opening-stage{height:900px}.reading-mode .opening-title,.reading-mode .hero-photo,.reading-mode .hero-photo img,.reading-mode .photo-shade,.reading-mode .hero-caption,.reading-mode .orbit-photo,.reading-mode .memory-track,.reading-mode .memory-card,.reading-mode .forever-photo{transform:none!important;opacity:1!important}.reading-mode .memory-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:auto;gap:35px;padding:20px 5vw}.reading-mode .memory-card{width:100%;max-width:none}.reading-mode .memory-window{overflow:visible}.reading-mode .memory-card .photo-open{height:330px}.reading-mode .memory-instruction{font-size:0}.reading-mode .memory-instruction>span{display:none}.reading-mode .memory-instruction small{font-size:8px}.reading-mode .memory-progress{display:none}.reading-mode .reveal{opacity:1;transform:none;clip-path:none}.reading-mode *{animation:none!important;transition:none!important}.reading-mode .confetti{display:none}.reading-mode .word-reveal span{color:inherit}
@media(max-width:760px){.reading-mode .opening-stage{height:850px}.reading-mode .memory-track{grid-template-columns:1fr;padding:20px 12vw;gap:35px}.reading-mode .memory-card .photo-open{height:420px}}
@media(max-height:620px){.motion-on .scroll-scene{height:auto!important}.motion-on .sticky-stage{position:relative;height:auto;min-height:780px}.motion-on .opening-stage{height:850px}.motion-on .memory-window{overflow:auto}.motion-on .memory-track{transform:none!important}.motion-on .memory-card{width:300px}.motion-on .memory-card .photo-open{height:330px}.motion-on .memory-heading{margin-top:20px}.motion-on .us-stage{min-height:800px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.reveal{opacity:1!important;transform:none!important}.confetti{display:none}.photo-open:hover img{transform:none}}
@media(max-width:760px){.hero-photo{height:56%}.opening-title{top:52%}.opening-dedication{position:absolute;top:calc(23svh + 20px);left:0;right:0;margin:0 auto;color:#67505a;font-size:13px;line-height:1.65}.opening-signature{bottom:23px;text-align:left;left:24px;right:auto;font-size:6px}.chapter-nav{bottom:12px}.hero-photo .photo-shade{background:linear-gradient(0deg,#24141ab0,transparent 70%)}}
@media(max-width:760px){.us-foot{bottom:70px}.forever-sign{position:absolute;left:0;right:0;bottom:60px}.hero-photo-button{position:absolute;inset:0;background:transparent;border:0;z-index:2;width:100%}}
.hero-photo-button{position:absolute;inset:0;background:transparent;border:0;z-index:2;width:100%;cursor:zoom-in}
@media(min-width:761px){.forever-photo{left:48%;right:0}.forever-content{width:55%;margin-right:auto;padding:70px 4vw 180px}.forever:after{background:linear-gradient(90deg,#211c26 0%,#211c26eb 29%,#211c2633 67%,#211c261f)}.forever h2{font-size:clamp(43px,5.2vw,78px)}.forever-mark{font-size:clamp(33px,3.2vw,47px)}.forever .replay{left:27.5%}}
@media(max-width:760px){.forever-content{padding-bottom:430px}.forever-sign{bottom:110px}}
.music-toggle{position:fixed;bottom:22px;left:22px;z-index:11;display:flex;align-items:center;gap:10px;min-height:46px;padding:10px 17px;border-radius:30px;border:1px solid #bc9f8d45;background:#f8efe8ed;backdrop-filter:blur(10px);box-shadow:0 4px 20px #291a1920;color:#622c42;font:11px system-ui,sans-serif}.music-bars{height:15px;display:flex;gap:3px;align-items:center}.music-bars i{display:block;width:2px;height:5px;background:currentColor;border-radius:3px}.music-bars i:nth-child(2){height:13px}.music-bars i:nth-child(3){height:9px}.music-toggle[aria-pressed=true] .music-bars i{animation:music-wave .9s ease-in-out infinite alternate}.music-toggle[aria-pressed=true] .music-bars i:nth-child(2){animation-delay:-.4s}.music-toggle[aria-pressed=true] .music-bars i:nth-child(3){animation-delay:-.7s}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes music-wave{from{transform:scaleY(.4)}to{transform:scaleY(1.2)}}@media(max-width:760px){.music-toggle{bottom:12px;left:12px;min-height:42px;font-size:10px;padding:10px 13px}.opening-signature{bottom:70px;font-size:6px}.scroll-cue{bottom:12%}}
/* iPhone safe areas and thumb-friendly controls; preserve native momentum scrolling. */
html{-webkit-text-size-adjust:100%}
.photo-dialog{max-height:calc(100svh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 16px)}
.photo-dialog::backdrop{-webkit-backdrop-filter:blur(12px)}
.music-toggle,.chapter-nav{-webkit-backdrop-filter:blur(10px)}
@media(max-width:760px){
 .site-header{padding-top:env(safe-area-inset-top,0px);height:calc(78px + env(safe-area-inset-top,0px))}
 .opening-rule{top:calc(78px + env(safe-area-inset-top,0px))}
 .opening-edition{top:calc(93px + env(safe-area-inset-top,0px))}
 .music-toggle,.chapter-nav{bottom:calc(12px + env(safe-area-inset-bottom,0px))}
 .music-toggle{left:max(12px,env(safe-area-inset-left,0px));min-height:44px}
 .chapter-nav{right:max(12px,env(safe-area-inset-right,0px))}
 .chapter-nav a{min-height:44px;width:32px}
 .motion-toggle{min-height:44px}
 .opening-signature{bottom:calc(70px + env(safe-area-inset-bottom,0px))}
 footer{padding-bottom:calc(85px + env(safe-area-inset-bottom,0px))}
 .photo-dialog{padding-top:60px;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:350px){.chapter-nav a{width:28px}.music-toggle{padding-inline:10px}}
@media(orientation:landscape) and (max-height:620px){.site-header{padding-left:max(24px,env(safe-area-inset-left,0px));padding-right:max(24px,env(safe-area-inset-right,0px))}.music-toggle{left:max(22px,env(safe-area-inset-left,0px));bottom:max(14px,env(safe-area-inset-bottom,0px))}.chapter-nav{right:max(22px,env(safe-area-inset-right,0px));bottom:max(14px,env(safe-area-inset-bottom,0px))}}
@media(max-width:760px) and (min-height:621px) and (max-height:740px){
 .motion-on .hero-photo{height:50%}
 .motion-on .opening-title{top:48%}
 .motion-on .opening-dedication{top:calc(21svh + 16px)}
 .motion-on .memory-card .photo-open{height:37svh}
 .motion-on .memory-bottom{display:none}
}
/* Curated portraits: keep faces clear of the title and preserve both faces in the album. */
.hero-photo img{object-position:50% 32%}
.portrait-image img{object-position:50% 40%}
.memory-card:nth-child(2) img{object-position:50% 42%}
.memory-card:nth-child(5) img{object-position:50% 43%}
.forever-photo img{object-position:50% 49%}
.birthday-keepsake{width:230px;margin:35px auto 15px;transform:rotate(-4deg)}
.birthday-keepsake .photo-open{height:280px;border:7px solid #f4e8d7;box-shadow:0 12px 35px #0003}
.birthday-keepsake img{object-position:50% 45%}
.birthday-keepsake>p{font-size:32px;color:#e6c5a5;margin:15px -30px 0}
@media(max-width:760px){.hero-photo img{object-position:50% 30%}.forever-photo{inset:0 -8%}.forever-photo img{object-position:50% 50%}.birthday-keepsake{width:205px}.birthday-keepsake .photo-open{height:260px}.forever-content{padding-bottom:470px}.forever-sign{bottom:130px}}
/* A short curtain reveal, then a scroll-controlled photographic fan. */
.opening-curtain{display:none;position:fixed;inset:0;z-index:30;pointer-events:none;overflow:hidden}.curtain-play .opening-curtain{display:block}.opening-curtain>span{position:absolute;top:0;bottom:0;width:50.5%;background:linear-gradient(90deg,#3e2030,#6e354a 42%,#442433);animation:curtain-left 1.8s cubic-bezier(.65,0,.2,1) .2s both}.opening-curtain>span:nth-child(2){right:0;animation-name:curtain-right;background:linear-gradient(90deg,#442433,#6e354a 60%,#3e2030)}.opening-curtain i{position:absolute;left:0;right:0;top:44%;text-align:center;font-size:clamp(35px,6vw,70px);color:#f6e5d1;animation:curtain-title 1.3s ease both}
.portrait-fan{background:radial-gradient(ellipse at 50% 48%,#faeee1,#e7d6ce);position:relative}.fan-stage{min-height:800px;padding:65px 24px 55px;text-align:center;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center}.fan-stage>.eyebrow{font-size:9px}.fan-stage h2{font-size:clamp(33px,4.3vw,60px)}.fan-stage h2 em{color:var(--wine)}.fan-photos{display:flex;justify-content:center;gap:24px;margin:45px auto;width:min(950px,100%)}.fan-card{margin:0;width:30%;padding:9px 9px 0;background:#fff9ee;box-shadow:0 15px 45px #44243122;will-change:transform;transform-origin:center 75%}.fan-card img{width:100%;height:320px;object-fit:cover;object-position:center 35%}.fan-card figcaption{font-size:30px;color:var(--wine);padding:13px 0;white-space:nowrap}.fan-foot{font:8px/1.8 system-ui,sans-serif;letter-spacing:.18em;color:#795665;margin:0}.motion-on .portrait-fan{height:190svh}.motion-on .fan-stage{min-height:0;padding-top:5svh;padding-bottom:7svh}.motion-on .fan-photos{position:relative;display:block;height:48svh;max-height:475px;margin:35px auto;width:100%}.motion-on .fan-card{position:absolute;left:50%;margin-left:-145px;top:0;width:290px}.motion-on .fan-card img{height:min(36svh,360px)}.motion-on .fan-card:nth-child(1){z-index:1}.motion-on .fan-card:nth-child(2){z-index:2}.motion-on .fan-card:nth-child(3){z-index:3}.wish-stars{position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity 1.2s;z-index:-1}.wish-stars span{position:absolute;font-size:22px;color:#f2d5a9}.celebrated .wish-stars{opacity:1}.celebrated .wish-stars span{animation:star-breathe 2.8s ease-in-out var(--delay) 3 alternate}.celebrated .wish-aura{opacity:.85;background:radial-gradient(ellipse at 50% 45%,#85524770,transparent 70%)}.spark{animation:heart-gather 3.8s cubic-bezier(.17,.67,.25,1) forwards}.photo-dialog[open]{animation:photo-arrive .4s ease both}.reading-mode .opening-curtain{display:none}.reading-mode .fan-card{transform:none!important}
@keyframes curtain-left{to{transform:translateX(-102%)}}@keyframes curtain-right{to{transform:translateX(102%)}}@keyframes curtain-title{0%,35%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-15px)}}@keyframes star-breathe{from{opacity:.3;transform:scale(.7)}to{opacity:1;transform:scale(1.15)}}@keyframes heart-gather{0%{opacity:0;transform:translate(0,0) scale(.2)}18%{opacity:1}65%,80%{opacity:1;transform:translate(var(--x),var(--y)) rotate(var(--r)) scale(1)}100%{opacity:0;transform:translate(var(--x),calc(var(--y) - 35px)) rotate(var(--r)) scale(.3)}}@keyframes photo-arrive{from{opacity:0;transform:scale(.95) translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:760px){.fan-stage{min-height:760px;padding:70px 20px}.fan-stage h2{font-size:34px}.fan-stage>.eyebrow{font-size:8px}.fan-photos{gap:12px;flex-wrap:wrap}.fan-card{width:43%}.fan-card img{height:220px}.fan-card figcaption{font-size:22px}.motion-on .portrait-fan{height:175svh}.motion-on .fan-card{width:190px;margin-left:-95px;padding:7px 7px 0}.motion-on .fan-card img{height:32svh;max-height:285px}.motion-on .fan-photos{height:43svh;margin:45px 0 20px}.motion-on .fan-card figcaption{font-size:25px;padding:12px 0}.fan-foot{font-size:7px;max-width:230px}.reading-mode .fan-photos{display:flex}.reading-mode .fan-card{width:80%;max-width:290px}.reading-mode .fan-card img{height:350px}}
@media(prefers-reduced-motion:reduce){.opening-curtain{display:none!important}.wish-stars span{animation:none!important}.photo-dialog[open]{animation:none}}
.curtain-preparing .opening-curtain{display:block}.curtain-preparing .opening-curtain>span,.curtain-preparing .opening-curtain i{animation-play-state:paused}.reading-mode .opening-curtain{display:none!important}
