@font-face{font-family:Caveat;src:url('./assets/fonts/Caveat.ttf') format('truetype');font-style:normal;font-weight:400 700;font-display:swap}
:root{--rose:#fce9f0;--pink:#f4b8ce;--dust:#d58da8;--paper:#fff8f3;--light:#ffdfa8;--ink:#3e2334;--muted:#704458;--accent:#85425e;--font:Georgia,'Times New Roman',serif;--hand:Caveat,'Segoe Print','Bradley Hand',cursive;--ease:cubic-bezier(.2,.7,.2,1)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{margin:0;background:var(--rose);color:var(--ink);font-family:var(--font);font-size:19px;line-height:1.6;-webkit-font-smoothing:antialiased}button,summary,a{-webkit-tap-highlight-color:transparent}button,summary{font:inherit;color:inherit}a{color:inherit}button,a,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:6px}::selection{background:var(--pink);color:var(--ink)}[hidden]{display:none!important}p,h1,h2{margin:0}p+p{margin-top:1.15em}h1,h2{font-weight:400}button{min-height:44px;min-width:44px}.handwritten{font-family:var(--hand);font-weight:500}.skip-link{position:fixed;z-index:20;top:12px;left:16px;transform:translateY(-180%);padding:10px 20px;background:var(--paper);border-radius:3px}.skip-link:focus{transform:translateY(0)}
.arrival{position:relative;overflow:clip}.sky-stage{position:relative;min-height:800px;height:100svh;max-height:1200px;isolation:isolate}.sky-art{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}.sky-poster{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center center}#sky{position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity 800ms var(--ease)}html[data-sky-state=playing] #sky,html[data-sky-state=paused] #sky{opacity:1}.greeting-wrap{position:relative;width:min(1280px,calc(100% - 112px));margin:auto;padding-top:clamp(90px,14vh,170px)}h1{font-size:clamp(112px,12.5vw,190px);line-height:1.05;letter-spacing:-.065em;max-width:800px}h1 span{display:block;font-size:clamp(23px,2.5vw,37px);letter-spacing:-.025em;line-height:1.35;margin-bottom:16px}.greeting-message{max-width:440px;font-size:clamp(23px,2vw,29px);line-height:1.48;margin-top:26px;text-wrap:pretty}.primary-link{display:inline-flex;align-items:center;gap:42px;min-height:52px;margin-top:35px;padding:11px 23px;text-decoration:none;background:var(--ink);color:var(--paper);border-radius:3px;font-size:17px;transition:transform 180ms var(--ease),background-color 180ms}.primary-link:hover{background:var(--accent);transform:translateY(-2px)}.primary-link:active{transform:translateY(1px)}.primary-link span{font-size:24px;line-height:1}.sky-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:start;position:absolute;right:44px;bottom:26px;max-width:550px;justify-content:flex-end;font-size:15px}.sky-controls>button,.sky-controls>details>summary{padding:10px 17px;background:var(--paper);border:0;border-radius:3px;list-style:none;cursor:pointer;min-height:44px}.sky-controls>details{position:relative}.sky-controls summary::-webkit-details-marker{display:none}.sky-controls>details[open]>summary{background:var(--pink)}.camera-controls{display:flex;flex-wrap:wrap;gap:7px;position:absolute;right:0;bottom:calc(100% + 9px);min-width:280px;max-width:340px;padding:14px;background:var(--paper);border-radius:3px;box-shadow:0 8px 28px #3e23341a}.camera-controls button{background:var(--rose);border:0;padding:7px 13px;border-radius:2px;font-size:15px}.camera-controls button:hover{background:var(--pink)}.sky-status{position:absolute;right:44px;bottom:22px;font-size:15px;max-width:320px}.sky-status:empty{display:none}.reading-width{width:min(720px,calc(100% - 48px));margin-inline:auto}.intro-note{position:relative;padding:65px 0 125px;font-size:22px;line-height:1.75}.intro-note::before{content:'';position:absolute;top:0;left:-110px;width:90px;height:90px;background:url('./assets/flor.svg') center/contain no-repeat;transform:rotate(-18deg)}.intro-sign{font-size:36px;line-height:1.25;margin-top:30px;color:var(--accent);max-width:520px}
.letters-section{position:relative;background:var(--paper);padding:105px max(24px,calc((100vw - 1120px)/2)) 125px;isolation:isolate;overflow:clip}.letters-section::before{content:'';position:absolute;z-index:-1;right:-30px;top:80px;width:220px;height:270px;background:url('./assets/flor.svg') center/contain no-repeat;opacity:.55;transform:rotate(20deg)}.section-heading{display:flex;align-items:flex-end;gap:80px;margin-bottom:66px}.section-heading h2{font-size:clamp(44px,5.5vw,75px);line-height:1.07;letter-spacing:-.045em;flex:0 0 44%}.section-heading>p{font-size:19px;line-height:1.65;max-width:380px;padding-bottom:4px}.letter-stack{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:50px}.letter{width:min(100%,850px);background:var(--rose);border-radius:3px;isolation:isolate;position:relative}.letter>summary{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:42px 58px;min-height:260px;cursor:pointer;list-style:none;overflow:hidden;isolation:isolate;transition:background-color 240ms var(--ease)}.letter>summary::-webkit-details-marker{display:none}.envelope-decoration{position:absolute;inset:0;z-index:-1;pointer-events:none}.envelope-decoration::before{content:'';position:absolute;inset:0;background:#f7d7e2;clip-path:polygon(0 0,100% 0,50% 56%);transform-origin:50% 0;transition:transform 550ms var(--ease)}.envelope-decoration::after{content:'';position:absolute;inset:0;background:#efc8d8;clip-path:polygon(0 100%,0 28%,50% 78%,100% 28%,100% 100%)}.letter-address{position:relative;font-size:38px;line-height:1.2;margin-bottom:10px}.letter-subject{position:relative;font-size:19px}.letter-invite{position:relative;display:flex;align-items:center;gap:25px;font-size:15px;margin-top:29px;min-height:28px}.letter-invite>span:last-child{font-size:24px;line-height:1}.when-open{display:none}.letter[open] .when-open{display:inline}.letter[open] .when-closed{display:none}.letter[open] .envelope-decoration::before{transform:scaleY(-.8);opacity:.4}.letter>summary:hover{background:#f7d9e5}.letter[open]>summary{min-height:180px;padding-top:28px;padding-bottom:24px}.letter[open] .letter-address{font-size:32px}.letter[open] .letter-invite{margin-top:13px}.letter-body{position:relative;padding:50px 66px 60px;background:#fffcf8;font-family:var(--hand);font-weight:500;font-size:30px;line-height:1.38;border-radius:0 0 3px 3px;transform-origin:top center}.letter[open] .letter-body{animation:unfold 480ms var(--ease) both}.letter-body p+p{margin-top:22px}.letter-body .letter-emphasis{font-family:var(--font);font-size:25px;line-height:1.5;margin-top:36px;letter-spacing:-.025em}.letter-body::after{content:'';display:block;width:45px;height:45px;margin-top:32px;background:url('./assets/estrella.svg') center/contain no-repeat}.letter-listen{width:min(100%,720px);align-self:flex-end;transform:rotate(1.1deg);background:#f5dfdd}.letter-listen .envelope-decoration::before{background:#f8e8e1}.letter-listen .envelope-decoration::after{background:#efdad3}.letter-listen>summary:hover{background:#f7e5e0}.letter-real{width:min(100%,780px);transform:rotate(-.7deg);margin-left:15px}.letter-real .envelope-decoration::before{background:#f3c9db}.letter-real .envelope-decoration::after{background:#eebed1}.letter[open]{transform:none}.letter-real .letter-address{font-size:35px}.little-things{display:flex;gap:90px;align-items:flex-start;margin-top:100px}.little-things-intro{font-size:21px;max-width:370px;line-height:1.6}.star-notes{flex:1;display:flex;flex-direction:column;gap:22px}.star-note summary{display:flex;align-items:center;gap:17px;cursor:pointer;list-style:none;min-height:48px;font-size:18px}.star-note summary::-webkit-details-marker{display:none}.star-note svg{width:32px;height:32px;fill:var(--dust);flex:none;transition:transform 300ms var(--ease)}.star-note summary:hover svg,.star-note[open] svg{transform:rotate(40deg)}.star-note p{font-size:30px;line-height:1.3;margin:10px 0 0 49px;max-width:320px}.star-note[open] p{animation:unfold 320ms var(--ease) both}
.closing{position:relative;overflow:clip;padding:105px 24px 65px;min-height:880px;text-align:center;background:var(--rose);isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center}.closing::before{content:'';position:absolute;z-index:-1;width:600px;height:600px;background:radial-gradient(ellipse,#fff8f3 3%,#ffdfa855 27%,#f4b8ce55 53%,#fce9f000 72%);left:50%;top:-120px;transform:translateX(-50%)}.final-star{width:150px;height:150px;margin-bottom:20px}.closing-intro{font-size:25px;line-height:1.4;letter-spacing:-.015em}.closing-note{font-size:19px;line-height:1.65;margin-top:42px}.closing h2{font-size:clamp(54px,7.9vw,110px);line-height:1.1;letter-spacing:-.065em;margin-top:16px;max-width:100%;overflow-wrap:normal}.closing-sign{font-size:33px;line-height:1.3;margin-top:27px;color:var(--accent)}.back-link{display:inline-flex;align-items:center;gap:25px;min-height:44px;margin-top:65px;text-decoration:none;font-size:16px}.back-link:hover{text-decoration:underline;text-underline-offset:6px}.closing-stars{position:absolute;inset:0;z-index:-1;pointer-events:none}.closing-stars span{position:absolute;width:12px;height:12px;background:var(--dust);clip-path:polygon(50% 0,62% 39%,100% 50%,62% 61%,50% 100%,38% 61%,0 50%,38% 39%)}.closing-stars span:nth-child(1){left:17%;top:26%;width:17px;height:17px}.closing-stars span:nth-child(2){right:18%;top:18%;width:11px;height:11px}.closing-stars span:nth-child(3){left:24%;bottom:24%;width:9px;height:9px}.closing-stars span:nth-child(4){right:15%;bottom:34%;width:22px;height:22px}
.closing .closing-title{font-size:clamp(34px,5vw,64px);line-height:1.12;letter-spacing:-.045em;max-width:760px;margin:0 0 30px;text-wrap:balance}.closing-copy{width:100%;max-width:650px;font-size:clamp(18px,2vw,21px);line-height:1.7;text-wrap:pretty}.closing-copy p+p{margin-top:22px}
@keyframes unfold{from{opacity:0;transform:translateY(-7px) rotate(-.25deg)}to{opacity:1;transform:none}}
@media(min-width:1600px){.greeting-wrap{padding-top:17vh}.sky-poster{object-position:center 55%}}
@media(max-width:900px){.sky-stage{height:950px;min-height:820px;max-height:none}.greeting-wrap{width:calc(100% - 64px);padding-top:100px}h1{font-size:150px}.sky-poster{object-position:62% 50%}.greeting-message{max-width:350px;font-size:25px}.sky-controls{right:24px;bottom:25px}.intro-note{font-size:21px}.intro-note::before{left:auto;right:-15px;top:-28px;width:70px;height:70px}.section-heading{gap:35px}.section-heading h2{flex-basis:46%}.letter{width:95%}.letter-listen{width:90%}.little-things{gap:40px}.letter-body{padding:40px 45px 45px}.closing{min-height:820px}.closing-stars span:nth-child(1){left:8%}.closing-stars span:nth-child(2){right:8%}}
@media(max-width:560px){body{font-size:18px}.sky-stage{height:900px;min-height:800px}.greeting-wrap{width:calc(100% - 48px);padding-top:69px}h1{font-size:110px;line-height:1.02;letter-spacing:-.07em}h1 span{font-size:22px;margin-bottom:15px;letter-spacing:-.035em}.greeting-message{font-size:23px;line-height:1.47;max-width:310px;margin-top:24px}.primary-link{font-size:16px;gap:40px;margin-top:29px;min-height:50px;padding:10px 21px}.sky-poster{object-position:66% 50%;transform:scale(1.05);transform-origin:60% 70%}.sky-controls{left:24px;right:24px;justify-content:flex-start;bottom:24px;font-size:14px;gap:8px}.sky-controls>button,.sky-controls>details>summary{padding:10px 12px}.camera-controls{left:auto;right:0;min-width:260px;max-width:calc(100vw - 48px)}.sky-status{right:auto;left:24px;bottom:22px;max-width:calc(100% - 48px)}.intro-note{padding:35px 0 78px;font-size:19px;line-height:1.7}.intro-note::before{top:-25px;right:0;width:52px;height:52px}.intro-sign{font-size:30px;margin-top:24px}.letters-section{padding:75px 24px 80px}.letters-section::before{width:130px;height:160px;right:-28px;top:44px;opacity:.45}.section-heading{display:block;margin-bottom:38px}.section-heading h2{font-size:47px;line-height:1.05}.section-heading>p{font-size:18px;margin-top:22px;max-width:300px}.letter-stack{gap:31px}.letter,.letter-listen,.letter-real{width:100%;margin-left:0}.letter>summary{padding:30px 25px;min-height:235px}.letter-address,.letter-real .letter-address{font-size:31px;line-height:1.16;max-width:230px}.letter-subject{font-size:17px;line-height:1.4;max-width:230px}.letter-invite{font-size:14px;margin-top:24px}.letter[open]>summary{min-height:165px;padding:23px 25px}.letter[open] .letter-address{font-size:29px}.letter-body{padding:32px 26px 35px;font-size:28px;line-height:1.37}.letter-body .letter-emphasis{font-size:22px;margin-top:27px}.letter-body p+p{margin-top:20px}.little-things{display:block;margin-top:63px}.little-things-intro{font-size:19px}.star-notes{margin-top:25px;gap:19px}.star-note summary{font-size:17px}.star-note p{font-size:28px;max-width:240px}.closing{min-height:770px;padding:75px 24px 45px}.final-star{width:125px;height:125px;margin-bottom:24px}.closing-intro{font-size:23px}.closing-note{font-size:17px;line-height:1.6;margin-top:34px}.closing h2{font-size:clamp(46px,13vw,70px);margin-top:18px;letter-spacing:-.06em}.closing-sign{font-size:29px;margin-top:24px}.back-link{margin-top:47px}.closing-stars span:nth-child(1){top:18%;left:7%}.closing-stars span:nth-child(2){top:28%;right:6%}.closing-stars span:nth-child(4){bottom:17%;right:10%}}
@media(max-width:350px){h1{font-size:96px}h1 span{font-size:20px}.greeting-message{font-size:21px}.sky-stage{height:850px}.letter>summary{padding-inline:21px}.letter-body{padding-inline:22px}.letter-address,.letter-real .letter-address{font-size:29px}.letter-subject{font-size:16px}.letter-body{font-size:27px}.closing h2{font-size:45px}.camera-controls{right:-10px;min-width:250px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.letter-listen,.letter-real{transform:none}#sky-controls{display:none!important}#sky{display:none}}
/* Keep flowers out of the greeting's reading area, including the optional 3D layer. */
#sky{-webkit-mask-image:linear-gradient(90deg,transparent 0 54%,#000 78%);mask-image:linear-gradient(90deg,transparent 0 54%,#000 78%)}
.intro-note{width:min(850px,calc(100% - 48px))}.intro-note p{max-width:720px}
.section-heading{width:min(100%,850px);margin-inline:auto;gap:45px}.little-things{width:min(100%,850px);margin-inline:auto}
.letter-stack{width:100%;max-width:850px;margin-inline:auto;gap:24px;align-items:stretch}
.letter-stack>.letter{width:100%;margin-left:0;align-self:stretch;transform:none}
.letter>summary{min-height:210px;padding:32px 44px}.letter[open]>summary{min-height:150px;padding:24px 44px}
.letter-stack .letter-address{font-size:clamp(29px,3.5vw,36px);max-width:none}
.letter-body{padding:30px 44px 24px}.letter-body::after{width:24px;height:24px;margin-top:16px}
@media(max-width:900px){#sky{-webkit-mask-image:linear-gradient(180deg,transparent 0 60%,#000 78%);mask-image:linear-gradient(180deg,transparent 0 60%,#000 78%)}}
@media(max-width:560px){.letter-stack{gap:22px}.letter>summary{min-height:195px;padding:28px 24px}.letter[open]>summary{min-height:140px;padding:22px 24px}.letter-body{padding:25px 24px 24px}}
@media print{.sky-controls,.sky-status,.primary-link,.back-link,.skip-link{display:none!important}.sky-stage{height:500px;min-height:0}.letter{break-inside:avoid;transform:none}.letter-body{font-size:24px}.letters-section,.closing{padding-block:35px}.closing{min-height:500px}}
