*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#a69e83;color:#faf9f4;font-family:Montserrat,Arial,sans-serif;font-size:13px;letter-spacing:.1em}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button,a{color:inherit}button{font:inherit;background:none;border:0;cursor:pointer;padding:0}a{text-decoration:none}button:focus-visible,a:focus-visible,.rail:focus-visible{outline:2px solid #fff;outline-offset:7px}button img{display:block;width:100%;pointer-events:none}header{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 8%;font-size:11px}main{max-width:1920px;margin:auto;overflow:hidden}section{position:relative}.intro{height:54vw;max-height:1030px}.backcard{position:absolute;left:30.4%;top:9%;width:37.4%;transform:rotate(2.14deg)}.postcard{position:absolute;left:35.7%;top:36%;width:37.4%;aspect-ratio:2000/1444;perspective:1400px;transform:rotate(-4.65deg)}.flip{display:block;width:100%;height:100%;transform-style:preserve-3d;transition:transform .85s}.postcard[aria-pressed=true] .flip{transform:rotateY(180deg)}.flip img{position:absolute;inset:0;backface-visibility:hidden}.flip .back{transform:rotateY(180deg)}.hint{font-size:10px;letter-spacing:.08em;opacity:.75}.cardhint{position:absolute;top:85%;left:50%}.music{height:44vw;max-height:845px}#player{position:absolute;left:-7.2%;top:9%;width:29.2%;transition:transform .3s}#player:hover{transform:rotate(-5deg)}.musiclabel{position:absolute;left:13%;top:10%}.rail{display:flex;overflow-x:auto;scrollbar-width:none;align-items:center;cursor:grab;touch-action:pan-x pan-y;user-select:none;gap:3vw;padding:2vw;scroll-behavior:smooth}.rail::-webkit-scrollbar{display:none}.rail.dragging{cursor:grabbing;scroll-behavior:auto}.rail button{flex-shrink:0;transition:transform .25s}.rail button:hover{filter:drop-shadow(0 8px 7px #0003)}.discs{position:absolute;left:48%;right:0;top:12%;height:19vw;gap:5vw;padding-left:4vw}.disc{width:13vw;transform:rotate(-12deg)}.disc:nth-child(even){transform:rotate(13deg)}.disc.selected{filter:drop-shadow(0 0 7px #fff9)}.music-controls{position:absolute;left:26%;top:62%;font-size:10px;max-width:65%;line-height:1.7}.music-controls button{display:block;text-decoration:underline;margin-top:8px}#audiohint{font-size:9px;opacity:.7;letter-spacing:.03em}audio{max-width:100%;height:32px;margin-top:8px}.arrows{display:flex;gap:20px;align-items:center;justify-content:center;font-size:10px}.arrows button{padding:12px;font-size:20px}.music-arrows{position:absolute;top:58%;right:8%}.wardrobe{height:55vw;max-height:1050px}.clothes{height:44vw;padding-left:42%;gap:1vw}.clothes button{width:18vw;height:34vw;display:flex;align-items:center}.clothes button:nth-child(even){transform:translateY(6vw) rotate(4deg)}.clothes img{object-fit:contain;max-height:100%}.wardrobe>.arrows{position:absolute;bottom:4%;right:12%}.memories{height:57vw;max-height:1090px}.stack{position:absolute;left:17%;top:8%;width:20%;height:60%}.movie{position:absolute;inset:0;width:100%;height:100%;transition:transform .85s}.movie img{height:100%;object-fit:contain}.movie:nth-child(1){transform:rotate(-5deg)}.movie:nth-child(2){transform:rotate(3deg)}.movie:nth-child(4){transform:rotate(3deg)}.memories.open .movie:nth-child(1){transform:translate(0,-20%) rotate(-11deg)}.memories.open .movie:nth-child(2){transform:translate(125%,36%) rotate(8deg)}.memories.open .movie:nth-child(3){transform:translate(235%,0) rotate(-7deg)}.memories.open .movie:nth-child(4){transform:translate(10%,75%) rotate(5deg)}#note{position:absolute;left:9%;top:32%;width:28%;transform:rotate(-17deg);transition:all .8s}.memories.open #note{left:52%;top:5%;transform:rotate(-8deg)}.spread{position:absolute;left:16%;bottom:7%}#letter{height:56vw;max-height:1080px;min-height:500px}.envelope-open{position:absolute;left:25%;top:7%;width:34%;transform:rotate(-13deg);transition:opacity .5s}form{position:absolute;left:35%;top:26%;width:27%;height:72%;background:url('assets/9-28.webp') center/100% 100%;padding:4% 3% 2%;color:#565244;display:flex;flex-direction:column;gap:15px;transition:all .5s}form label{font-family:Georgia,serif;font-style:italic;letter-spacing:.02em;font-size:17px}textarea{resize:none;flex:1;width:100%;border:0;background:transparent;font:italic 15px/1.8 Georgia,serif;color:#565244;outline-offset:5px}form button{align-self:flex-end;padding:10px 0}form small{font-size:8px;line-height:1.5;letter-spacing:0}#sealed{position:absolute;left:30%;top:25%;width:34%;transform:rotate(-12deg)}#sealed span{display:block;margin:20px;font-size:10px}#letter.closed form,#letter.closed .envelope-open{opacity:0;pointer-events:none;transform:translateY(60px) scale(.8)}footer{padding:50px 8%;font-size:9px;display:flex;justify-content:space-between;opacity:.75}dialog{border:0;background:#e9e5d7;color:#474439;max-width:90vw;max-height:90vh;padding:40px;box-shadow:0 20px 90px #0005}dialog::backdrop{background:#302d2677;backdrop-filter:blur(5px)}dialog img{display:block;max-width:70vw;max-height:65vh;object-fit:contain}dialog p{font-size:12px;text-align:center}#close{position:absolute;right:14px;top:8px;font-size:28px}body.modal-open{overflow:hidden}[hidden]{display:none!important}@media(min-width:1920px){.intro{height:1030px}.music{height:845px}.wardrobe{height:1050px}.memories{height:1090px}}@media(max-width:650px){header{padding:0 6%;font-size:8px;letter-spacing:.04em;height:62px}.intro{height:95vw}.backcard{left:16%;width:59%;top:8%}.postcard{left:27%;width:60%;top:32%}.cardhint{left:45%;top:83%;font-size:8px}.music{height:95vw}#player{left:-15%;width:48%;top:4%}.musiclabel{left:16%;top:2%;font-size:10px}.discs{left:36%;top:10%;height:35vw;gap:7vw}.disc{width:27vw}.music-controls{left:12%;top:61%;max-width:80%}.music-arrows{top:44%}.wardrobe{height:100vw}.clothes{height:80vw;padding-left:20%;gap:4vw}.clothes button{width:35vw;height:65vw}.wardrobe>.arrows{right:10%;bottom:2%}.memories{height:110vw}.stack{left:16%;width:28%;height:50%;top:7%}.memories.open .movie:nth-child(2){transform:translate(110%,20%) rotate(8deg)}.memories.open .movie:nth-child(3){transform:translate(145%,105%) rotate(-7deg)}.memories.open .movie:nth-child(4){transform:translate(5%,95%) rotate(5deg)}#note{width:40%;left:6%}.memories.open #note{width:40%;left:52%;top:1%}.spread{bottom:0;font-size:9px}#letter{height:160vw;min-height:620px;margin-top:15vw}.envelope-open{left:9%;width:65%;top:3%}form{left:25%;top:22%;width:65%;height:72%;padding:12% 8% 5%}#sealed{left:15%;width:70%}footer{font-size:8px;gap:15px;padding:40px 6%}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

.discs{left:0;padding-left:52%;width:100%}
#player,.musiclabel{z-index:2}
.clothes .clothing-item{position:relative;height:auto;flex-direction:column;justify-content:center}
.clothes .clothing-item img{max-height:34vw;object-fit:contain}
.clothing-caption{position:absolute;top:100%;left:0;width:100%;padding-top:16px;font-size:11px;line-height:1.5;opacity:0;transform:translateY(4px);transition:opacity .2s,transform .2s;pointer-events:none}
.clothing-item:hover .clothing-caption,.clothing-item:focus-visible .clothing-caption{opacity:1;transform:translateY(0)}
.clothing-caption:empty{display:none}
dialog.paper-only{background:transparent;box-shadow:none;border:0;padding:40px 24px 24px;overflow:visible;color:#fff}
dialog.paper-only::backdrop{background:transparent;backdrop-filter:none}
dialog.paper-only img{filter:drop-shadow(0 10px 22px #0003)}
@media(max-width:650px){.discs{left:0;padding-left:40%}.clothes .clothing-item img{max-height:65vw}.clothing-caption{font-size:10px;padding-top:10px}}
/* Updated Figma: 1920 x 4946, Montserrat Medium, brown ink. */
@font-face{font-family:Montserrat;src:url('assets/montserrat-medium.ttf') format('truetype');font-style:normal;font-weight:500;font-display:swap}
body{max-width:1920px;margin:0 auto;color:#3b3022;font-weight:500;position:relative;container-type:inline-size;background:#a69e83}
body::before{content:"";position:absolute;inset:0;background:url('assets/2005-7.webp') center top/100% 100% no-repeat;opacity:.66;pointer-events:none;z-index:-1}
button,a,textarea,input{font-family:Montserrat,Arial,sans-serif;font-weight:500}
button:focus-visible,a:focus-visible,.rail:focus-visible{outline-color:#3b3022}
.clothing-caption{white-space:pre-line;color:#3b3022;letter-spacing:.12em;font-weight:500}
#letterform label{font-family:Montserrat,Arial,sans-serif;font-style:normal;font-weight:500}
#letterform textarea{font-family:Montserrat,Arial,sans-serif;font-style:normal;font-weight:500;line-height:1.7;color:#3b3022;min-height:80px}
#reply-email{background:transparent;border:0;border-bottom:1px solid #3b302244;border-radius:0;width:100%;padding:8px 0;font-size:11px;color:#3b3022;letter-spacing:.04em}
#reply-email::placeholder,textarea::placeholder{color:#3b302288}
.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
#send-status{font-size:10px;letter-spacing:0;line-height:1.5;margin:0;min-height:0}
#send-status:empty{display:none}form button:disabled{opacity:.5;cursor:wait}form small a{text-decoration:underline}
dialog.paper-only{color:#3b3022}.hint{opacity:.85}
@media(min-width:651px){
 header{position:absolute;inset:0 0 auto;height:4.6cqw;padding:0 7.9%;font-size:clamp(10px,.78125cqw,15px);z-index:5}
 main{position:relative;height:257.6041667cqw;max-height:none;overflow:hidden}
 main>section{position:absolute;width:100%;max-height:none}
 .intro{top:0;height:52.08cqw}.postcard{left:24.0625%;top:13.859cqw;width:47.6124%;aspect-ratio:914.16/660.02;transform-origin:top left;transform:rotate(-4.65deg)}
 .cardhint{top:49cqw;left:40%;font-size:clamp(9px,.65cqw,12px)}
 .music{top:58.3333cqw;height:39cqw}#player{left:-7.2195%;top:3.66cqw;width:29.13%}.musiclabel{left:12.9167%;top:6.5625cqw;font-size:clamp(10px,.78125cqw,15px)}
 .discs{top:3cqw;left:0;width:100%;height:27cqw;padding:4cqw 3cqw 4cqw 31.2%;gap:5.7cqw}.disc{width:15.8974cqw}.disc:nth-child(1){transform:rotate(-16.6deg)}
 .music-controls{left:26%;top:32cqw;font-size:clamp(9px,.65cqw,12px)}.music-arrows{top:29cqw}
 .wardrobe{top:101.56cqw;height:48cqw}.clothes{height:44cqw;padding:2cqw 2cqw 7cqw 0;gap:1cqw;align-items:flex-start;overflow-y:hidden}
 .clothes .clothing-item{width:17.656cqw;flex-basis:17.656cqw;margin-top:0;transform:none}
 .clothes .clothing-item img{max-height:26.484cqw}
 .clothes .clothing-item:nth-child(even){margin-top:12cqw;transform:rotate(4deg)}
 .clothes .clothing-item:nth-child(6){width:25.457cqw;flex-basis:25.457cqw}
 .clothes .clothing-item:nth-child(9),.clothes .clothing-item:nth-child(10){width:8.977cqw;flex-basis:8.977cqw;margin-top:6cqw}
 .clothes .clothing-item:nth-child(10){margin-top:19cqw}
 .clothing-caption{font-size:clamp(9px,.78125cqw,15px);padding-top:.7cqw;line-height:1.8;transform:none}
 .wardrobe>.arrows{bottom:0;right:12%}
 .memories{top:156.25cqw;height:43cqw}.stack{left:16.2%;top:4.74cqw;width:19.0125%;height:28.52cqw}
 #note{left:7.759%;top:18.33cqw;width:28.297%}.memories.open #note{left:52%;top:0}.spread{bottom:0}
 #letter{top:201.04cqw;height:56.56cqw;min-height:0;margin:0}.envelope-open{left:19.21875%;top:5.86cqw;width:39.7025%;transform-origin:top left;transform:rotate(-12.77deg)}
 #letterform{left:33.337%;top:17.03cqw;width:33.4375%;height:45.677cqw;padding:4cqw 3.5cqw 9cqw;gap:1cqw;font-size:clamp(10px,.78125cqw,15px)}
 #letterform label{font-size:clamp(12px,.9cqw,18px)}#letterform textarea{font-size:clamp(11px,.82cqw,16px)}
 #sealed{left:28%;top:10cqw;width:40.7%}
}
@media(max-width:650px){body::before{background-size:auto 100%;background-position:center top}.intro{height:86vw}.postcard{left:15%;top:12%;width:72%}.cardhint{top:82%;left:40%}header{font-size:9px}.clothing-caption{white-space:pre-line;letter-spacing:.04em;line-height:1.6;padding:10px 3px 0}.clothes{height:86vw;padding-bottom:15vw}.wardrobe{height:112vw}.clothes .clothing-item:nth-child(9),.clothes .clothing-item:nth-child(10){width:24vw}form{gap:9px;padding-bottom:6%}#letter{height:190vw;min-height:720px}form small{font-size:8px}#send-status{font-size:10px}}

body{isolation:isolate}

#note{z-index:2}

/* Tuck the note between the movie covers. */
.stack{pointer-events:none}.movie{pointer-events:auto}.movie:nth-child(1){z-index:1}.movie:nth-child(2){z-index:2}.movie:nth-child(3){z-index:4}.movie:nth-child(4){z-index:5}#note{z-index:3}
.memories:not(.open) #note{left:13%;width:20%}.memories.open #note{z-index:6}
@media(max-width:650px){.memories:not(.open) #note{left:12%;width:28%}}

.signature{display:flex;align-items:baseline;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:8px}.signature label{white-space:nowrap}#letterform .signature label{font-family:'Segoe Script','Brush Script MT',cursive;font-style:italic;font-size:clamp(20px,2cqw,38px);font-weight:400;letter-spacing:.03em}.signature #reply-email{width:52%;min-width:100px;border:0;padding:4px 0;font-size:clamp(9px,.7cqw,14px)}#letterform button[type=submit]{text-decoration:underline;text-underline-offset:4px}#send-status:empty{display:none}
@media(max-width:650px){.signature{gap:7px}#letterform .signature label{font-size:24px}.signature #reply-email{font-size:10px}}

.signature{flex-wrap:nowrap}#letterform .signature label{font-size:clamp(18px,1.6cqw,30px)}.signature #reply-email{flex:1;width:0;min-width:0}@media(max-width:650px){#letterform .signature label{font-size:20px}}

@media(min-width:651px){.clothing-caption{width:max(180px,24cqw);left:50%;translate:-50% 0}.clothing-item:last-child .clothing-caption{left:auto;right:0;translate:none}}

.clothing-item:nth-child(9) .clothing-caption{top:auto;bottom:100%;padding-top:0;padding-bottom:12px}
#letterform>label{font-family:'Segoe Script','Brush Script MT',cursive;font-style:italic;font-size:clamp(18px,1.6cqw,30px);font-weight:400;letter-spacing:.03em}
@media(max-width:650px){#letterform>label{font-size:20px}.clothing-item:nth-child(9) .clothing-caption{width:44vw;left:50%;translate:-50% 0}}

/* Weathered cardboard opens, then fades through darkness. */
#box-opening{display:none;position:fixed;inset:0;z-index:1000;isolation:isolate;align-items:center;justify-content:center;overflow:hidden;background:#aaa18a;color:#3b3022}
html.box-intro{overflow:hidden}html.box-intro #box-opening{display:flex;animation:opening-away .65s 3.85s ease-in-out forwards}
#box-opening::before{content:'';position:absolute;inset:0;background:url('assets/2005-7.webp') center/cover;opacity:.14;z-index:-1}
#box-opening::after{content:'';position:absolute;inset:0;background:#100d0a;z-index:10;pointer-events:none;opacity:0;animation:opening-darken .8s 3s ease-in-out forwards}
.opening-scene{width:min(76vw,560px);height:min(65vw,440px);display:grid;place-items:center;perspective:1200px}
.cardboard-box{position:relative;width:72%;height:62%;transform:rotate(-7deg);transform-style:preserve-3d;filter:drop-shadow(4px 9px 3px #35271840) drop-shadow(15px 29px 19px #30231645)}
.box-inside{position:absolute;inset:0;background:linear-gradient(180deg,#372619b8,#996b3a40 20%,#3e2c1970),url('assets/9-28.webp') center/145% 140%,#9b7449;background-blend-mode:multiply,multiply,normal;border:14px solid;border-color:#6e4c2b #bc9661 #d2ad77 #8e643a;box-shadow:inset 3px 13px 25px #160e0bc4,0 0 0 2px #5f4428;display:grid;place-items:center}
.box-inside::before{content:'';position:absolute;inset:0;border:1px solid #33221888;box-shadow:inset 0 0 3px #21140b}
.box-inside span{color:#e0cfaf;text-shadow:0 1px 2px #21180f;font:500 clamp(10px,1.05vw,14px)/1.6 Montserrat,sans-serif;letter-spacing:.1em;transform:rotate(3deg);opacity:0;animation:inside-reveal .5s 1.1s forwards;text-align:center;padding:15px}
.box-flap{position:absolute;background-color:#b89461;background-image:linear-gradient(120deg,#f0d7a64d,#61421b30),url('assets/9-28.webp'),repeating-linear-gradient(91deg,#50351318 0 1px,transparent 1px 5px);background-size:100% 100%,135% 190%,100% 100%;background-position:center;background-blend-mode:multiply,multiply,normal;border:1px solid #856442;backface-visibility:visible;transform-style:preserve-3d;box-shadow:inset 2px 2px 4px #f5ddb073,inset -2px -3px 5px #3f291d60,1px 3px 3px #2a1c1438}
.box-flap::before{content:'';position:absolute;inset:0;opacity:.45;background:linear-gradient(168deg,transparent 30%,#3c291530 30.5%,#e8cf9a55 31%,transparent 32%),linear-gradient(36deg,transparent 65%,#3c291527 65.5%,transparent 66.5%);pointer-events:none}
.box-flap::after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:repeating-linear-gradient(90deg,#48301e 0 2px,#cfaa76 2px 4px,#8b603b 4px 6px);opacity:.7}
.flap-top,.flap-bottom{left:0;width:100%;height:50.5%;z-index:3}
.flap-top{top:0;transform-origin:center top;clip-path:polygon(0 1%,99.7% 0,100% 97%,68% 99%,30% 98%,0 100%);animation:open-top 1s .35s cubic-bezier(.3,.05,.2,1) forwards}
.flap-bottom{bottom:0;transform-origin:center bottom;background-position:center,center bottom,center;clip-path:polygon(0 1%,35% 0,71% 1.5%,100% 0,99.5% 100%,0 99%);animation:open-bottom 1s .5s cubic-bezier(.3,.05,.2,1) forwards}
.flap-left,.flap-right{top:0;height:100%;width:50.5%;z-index:2;background-color:#987446}
.flap-left{left:0;transform-origin:left center;animation:open-left .9s .75s ease-in-out forwards}
.flap-right{right:0;transform-origin:right center;animation:open-right .9s .85s ease-in-out forwards}
.box-tape{position:absolute;left:-1%;top:44%;width:102%;height:12%;z-index:4;transform:rotate(.6deg);background:linear-gradient(179deg,#bba679aa,#e1cc9e9c 35%,#a88d5caa 80%,#e0c492b0);border-top:1px solid #e0cda266;border-bottom:1px solid #89704766;clip-path:polygon(0 10%,3% 0,40% 4%,73% 0,99% 5%,100% 90%,97% 100%,66% 96%,31% 100%,0 94%);box-shadow:0 1px 2px #0003;animation:tape-release .4s .15s forwards}
@keyframes tape-release{to{opacity:0;transform:translateY(-22px) rotate(-4deg)}}
@keyframes open-top{to{transform:rotateX(150deg)}}
@keyframes open-bottom{to{transform:rotateX(-145deg)}}
@keyframes open-left{to{transform:rotateY(-140deg)}}
@keyframes open-right{to{transform:rotateY(140deg)}}
@keyframes inside-reveal{to{opacity:1}}
@keyframes opening-darken{to{opacity:1}}
@keyframes opening-away{to{opacity:0;visibility:hidden}}
@media(max-width:650px){.opening-scene{width:90vw;height:76vw}.box-inside{border-width:9px}.box-inside span{font-size:9px;letter-spacing:.04em;padding:5px}}
@media(prefers-reduced-motion:reduce){html.box-intro #box-opening{display:none}html.box-intro{overflow:auto}}
