:root{--paper:#f6f3ee;--paper-light:#fcfaf7;--ink:#363330;--muted:#8b827d;--wine:#793e4b;--wine-deep:#61303c;--rose:#b7888c;--line:#e3ddd5;--serif:"STZhongsong","Noto Serif SC","Source Han Serif SC","Songti SC","SimSun",serif;--sans:"Microsoft YaHei","PingFang SC",system-ui,sans-serif}
svg{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.gift-box:hover,.gift-box:focus-visible{animation-play-state:paused}
.memory-card.matched:disabled{opacity:1}
*{box-sizing:border-box}html{font-size:16px;scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}body:has(dialog[open]){overflow:hidden}button,a,input,select{-webkit-tap-highlight-color:transparent}button,select{font:inherit}button{cursor:pointer}button{border:0;background:none;color:inherit}a{color:inherit;text-decoration:none}button:disabled{opacity:.3;cursor:default}button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid var(--rose);outline-offset:5px}button,select,a{touch-action:manipulation}button svg,span svg,a svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none}img{display:block;max-width:100%}button{transition:color .2s,background .2s,transform .2s,opacity .2s}[hidden]{display:none!important}.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}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.icon-button{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;flex-shrink:0}.icon-button:hover{background:#793e4b0c;color:var(--wine)}.text-button{display:inline-flex;align-items:center;gap:9px;font-size:.875rem;padding:8px 0}.text-button:hover{color:var(--wine)}.eyebrow{font-family:Georgia,serif;font-size:.73rem;letter-spacing:.19em;color:var(--wine);line-height:1.8}.primary-button{min-height:56px;padding:0 30px;display:inline-flex;align-items:center;justify-content:center;gap:14px;border-radius:5px;background:var(--wine);color:#fff8f2;font-size:.96rem;letter-spacing:.08em;box-shadow:0 5px 12px #793e4b0c}.primary-button:hover{background:var(--wine-deep);transform:translateY(-2px);box-shadow:0 8px 20px #793e4b20}.primary-button:active{transform:translateY(0)}
.home-view{max-width:1460px;margin:auto;padding:0 64px;background:radial-gradient(ellipse at 79% 32%,#e8dcd344,transparent 46%)}.site-header{height:104px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:24px}.wordmark{display:flex;align-items:center;gap:12px;font-family:var(--serif);font-size:1.18rem;letter-spacing:.1em;white-space:nowrap}.logo-mark{display:grid;place-items:center;width:33px;height:36px;transform:rotate(-12deg);color:var(--wine)}.logo-mark svg{width:30px;height:30px;stroke-width:1.6}.wordmark-divider{margin:0 10px;color:#bfb0a5;font-family:Georgia,serif;font-weight:normal}.main-nav{display:flex;gap:32px;margin-left:55px;align-self:stretch}.nav-link{position:relative;font-size:.875rem;color:#79716b;padding:3px 0 0}.nav-link:hover,.nav-link.active{color:var(--wine)}.nav-link.active:after{content:"";height:2px;width:19px;position:absolute;bottom:23px;left:calc(50% - 9px);background:var(--wine)}.header-tools{display:flex;align-items:center;gap:17px}.music-button{display:flex;align-items:center;gap:10px;font-size:.8rem;color:#71655e;padding:8px 0}.music-button:hover{color:var(--wine)}.sound-bars{display:flex;gap:3px;align-items:center;height:22px;width:22px;justify-content:center}.sound-bars i{display:block;width:2px;background:var(--wine);height:10px;border-radius:3px}.sound-bars i:nth-child(2){height:18px}.sound-bars i:nth-child(3){height:14px}.sound-bars i:nth-child(4){height:8px}.music-on .sound-bars i{animation:equalizer 1.1s ease-in-out infinite alternate}.music-on .sound-bars i:nth-child(2){animation-delay:-.8s}.music-on .sound-bars i:nth-child(3){animation-delay:-.4s}.music-on .sound-bars i:nth-child(4){animation-delay:-.1s}.tool-divider{height:17px;width:1px;background:var(--line)}
.hero{display:grid;grid-template-columns:47% 53%;gap:0;min-height:598px;padding-top:48px;align-items:center}.hero-copy{padding:0 0 26px 7px;position:relative;z-index:2}.hero-copy .eyebrow{display:flex;align-items:center;gap:10px;font-size:.69rem;letter-spacing:.17em}.tiny-star{font-size:1rem;color:#aa7b6c}h1{font-family:var(--serif);font-size:clamp(3.5rem,5.2vw,5rem);letter-spacing:.055em;line-height:1.3;font-weight:400;margin:22px 0 27px}.title-second{display:flex;align-items:center;gap:20px}.title-second em{font-family:Georgia,serif;font-weight:400;color:var(--wine);font-size:1.08em;letter-spacing:-.035em;margin-left:4px}.title-heart{width:67px;height:63px;fill:none;stroke:#ad7a80;stroke-width:1.6;stroke-linecap:round;transform:rotate(11deg);margin-left:9px}.hero-greeting{font-family:var(--serif);font-size:1.24rem;line-height:1.9;letter-spacing:.04em}.hero-greeting span{color:var(--wine)}.hero-description{color:var(--muted);font-size:.875rem;line-height:1.95;margin:19px 0 27px;letter-spacing:.04em}.hero-actions{display:flex;align-items:center;gap:21px;flex-wrap:wrap}.start-button{padding:0 25px;min-width:222px}.play-disc{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;border:1px solid #ffffff5c}.play-disc svg{width:15px;height:15px;fill:currentColor;stroke-width:0;margin-left:1px}.viewing-note{display:flex;align-items:center;gap:7px;font-size:.73rem;color:#9a8a81;margin-top:17px;letter-spacing:.02em}.viewing-note svg{width:13px;height:13px;color:#ac8886}.hero-art{height:540px;position:relative;margin-top:3px;margin-left:-10px;isolation:isolate}.love-orbit{position:absolute;width:112%;height:100%;left:-7%;top:0;z-index:-1;fill:none;stroke:#b9a192;stroke-width:1;stroke-dasharray:4 6;opacity:.64}.polaroid{background:#fffcf6;border:1px solid #f5f0e5;box-shadow:0 9px 28px #55403316,0 1px 3px #55403312;padding:12px 12px 14px;position:absolute;transition:transform .6s cubic-bezier(.2,.7,.2,1)}.polaroid img{width:100%;height:auto;object-fit:cover;filter:saturate(.88)}.photo-main{width:270px;left:10%;top:20px;transform:rotate(-7deg);z-index:2;padding-bottom:16px}.photo-main img{aspect-ratio:3/4}.photo-back{width:234px;left:54%;top:40px;transform:rotate(10deg);z-index:1}.photo-back img{aspect-ratio:1.09;object-fit:cover;object-position:center}.photo-front{width:259px;left:47%;top:300px;transform:rotate(7deg);z-index:3;padding:10px 10px 15px}.photo-front img{aspect-ratio:1.49}.hero-art:hover .photo-main{transform:rotate(-9deg) translate(-3px,-3px)}.hero-art:hover .photo-back{transform:rotate(12deg) translate(3px,-4px)}.hero-art:hover .photo-front{transform:rotate(5deg) translate(0,3px)}.photo-caption{display:block;text-align:center;font-family:var(--serif);font-size:.79rem;letter-spacing:.07em;line-height:1.6;margin-top:13px;white-space:nowrap}.photo-date{display:block;text-align:center;font-family:Georgia,serif;color:#a9988b;font-size:.55rem;letter-spacing:.13em;margin-top:5px}.tape{position:absolute;display:block;height:32px;width:88px;background:#d7c5a372;backdrop-filter:blur(2px);clip-path:polygon(2% 0,100% 4%,97% 16%,100% 27%,97% 43%,99% 66%,96% 78%,99% 100%,0 97%,3% 83%,0 71%,3% 56%,0 39%,3% 20%);z-index:3}.tape-main{top:-13px;left:91px;transform:rotate(5deg)}.tape-back{top:-12px;left:77px;transform:rotate(-7deg);background:#c5b4a969}.art-note{position:absolute;font-family:Georgia,var(--serif);font-style:italic;font-size:1.12rem;color:#a28377;letter-spacing:.02em}.note-top{top:-6px;right:42px;transform:rotate(9deg)}.note-side{right:-18px;top:227px;writing-mode:vertical-rl;font-size:.75rem;font-style:normal;letter-spacing:.22em;color:#a19084}.anniversary-stamp{position:absolute;left:12%;top:427px;display:flex;flex-direction:column;align-items:center;gap:7px;width:118px;height:118px;border:1px solid #b58a8061;border-radius:50%;justify-content:center;transform:rotate(-17deg);color:#a77b73;outline:1px solid #b58a8045;outline-offset:-7px}.anniversary-stamp span{font-family:Georgia,serif;font-size:.53rem;letter-spacing:.1em}.anniversary-stamp svg{width:29px;height:29px;stroke-width:1}.little-spark{position:absolute;color:#9d7974;font-family:Georgia,serif;z-index:4}.spark-one{font-size:2.7rem;left:8%;top:338px}.spark-two{font-size:1.4rem;right:0;top:424px}.anniversary-line{height:73px;display:flex;align-items:center;justify-content:center;gap:21px;font-family:Georgia,var(--serif);font-size:.75rem;color:#93857a;letter-spacing:.1em;max-width:650px;margin:0 auto 7px}.date-thread{width:74px;height:1px;background:#cbb9ab}.anniversary-line svg{width:14px;height:14px;color:var(--wine);margin-right:-10px;fill:#793e4b07}.together-days{font-family:var(--serif);white-space:nowrap;font-size:.8rem;letter-spacing:.08em}.together-days strong{font-family:Georgia,serif;font-size:1.05rem;color:var(--wine);font-weight:400;margin:0 4px}.chapters-preview{border-top:1px solid var(--line);padding:24px 6px 29px}.section-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.section-label h2{font-family:var(--serif);font-size:1rem;font-weight:400;letter-spacing:.06em;margin:0}.section-label .text-button{font-size:.73rem;color:#918178;padding:0}.section-label .text-button svg{width:13px;height:13px}.chapter-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:0}.chapter-card{display:flex;align-items:center;text-align:left;gap:12px;padding:0 16px;border-left:1px solid var(--line);min-width:0}.chapter-card:first-child{border:0;padding-left:0}.chapter-card:last-child{padding-right:0}.chapter-card img{width:65px;height:65px;object-fit:cover;filter:saturate(.7);border-radius:2px;flex-shrink:0;transition:filter .3s,transform .3s}.chapter-card:hover img{filter:saturate(1);transform:rotate(-3deg)}.chapter-card strong{display:block;font-size:.82rem;font-weight:400;line-height:1.8;white-space:nowrap}.chapter-card small{display:block;color:#9b8c80;font-size:.66rem;margin-top:4px;white-space:nowrap}.site-footer{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:22px 7px 24px;color:#a4978d;font-size:.63rem;letter-spacing:.09em}.site-footer span:first-child{display:flex;align-items:center;gap:6px;font-family:Georgia,var(--serif)}.site-footer svg{width:10px;height:10px;stroke-width:1.3}.site-footer span:nth-child(2){font-family:var(--serif);font-size:.75rem;letter-spacing:.15em}.site-footer span:last-child{font-family:Georgia,serif;font-size:.6rem}
/* The screening room */
.opening-view,.player-view,.ending-view,.gift-view{position:fixed;inset:0;z-index:10;overflow:hidden;min-height:100dvh}.opening-view{background:#181414;color:#f6eee4;display:grid;place-items:center}.opening-grain{position:absolute;inset:0;opacity:.16;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.5' d='M0 0h150v150H0z'/%3E%3C/svg%3E");pointer-events:none}.cinema-border{position:absolute;left:0;right:0;height:12vh;background:#100d0d}.cinema-border.top{top:0}.cinema-border.bottom{bottom:0}.opening-center{position:relative;max-width:850px;padding:25px;text-align:center;animation:opening-in 1.3s both}.opening-kicker{font-family:Georgia,var(--serif);font-size:.75rem;color:#b69b91;letter-spacing:.25em;margin-bottom:30px}.opening-copy{font-family:var(--serif);font-size:clamp(1.5rem,3.2vw,2.75rem);line-height:2;letter-spacing:.08em;white-space:pre-line}.opening-copy em{font-family:Georgia,var(--serif);font-style:normal;color:#deb9b5}.opening-flower{display:block;font-size:1.8rem;color:#a27872;margin-top:30px}.opening-mark{position:absolute;top:17%;left:0;right:0;text-align:center;color:#7b6a63;font-family:Georgia,var(--serif);font-size:.63rem;letter-spacing:.24em}.opening-back,.opening-skip{position:absolute;z-index:2;color:#a99a91;font-size:.78rem}.opening-back{left:40px;top:30px}.opening-skip{right:40px;bottom:35px}.opening-view .text-button:hover{color:#f6eee4}.opening-progress{position:absolute;height:1px;bottom:0;left:0;right:0;background:#ffffff0a}.opening-progress span{display:block;height:100%;background:#9b6b70;width:0;transition:width .1s linear}.opening-center.fading{animation:opening-out .7s both}.opening-center.entering{animation:opening-in 1.1s both}
.player-view{background:#191615;color:#f3ece4;display:flex;flex-direction:column}.player-backdrop{position:absolute;inset:-40px;filter:blur(45px);background-position:center;background-size:cover;opacity:.14;transition:background-image 1s}.player-vignette{position:absolute;inset:0;background:linear-gradient(90deg,#19161544,#19161599),linear-gradient(0deg,#191615 0,transparent 22%,transparent 78%,#191615aa);pointer-events:none}.player-header{height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 48px;position:relative;z-index:2;flex-shrink:0;gap:20px}.player-home{font-family:var(--serif);gap:12px;letter-spacing:.08em;color:#e1c9c0}.player-home svg{width:21px;height:21px}.player-header-tools{display:flex;gap:10px}.player-view .icon-button:hover{background:#ffffff10;color:#fff3ea}.player-header-tools [aria-pressed=true]{color:#deb9b5;background:#ffffff0b}.player-chapter{font-size:.75rem;color:#b29b90;letter-spacing:.22em}.slide-stage{position:relative;flex:1;min-height:0;margin:0 auto;width:100%;max-width:1300px}.memory-slide{position:absolute;inset:0;display:grid;grid-template-columns:52% 48%;align-items:center;padding:16px 50px 24px;gap:45px;opacity:1;animation:slide-in 1.15s both}.memory-slide.leaving{animation:slide-out .85s both;pointer-events:none}.memory-photo{margin:0;min-width:0;height:100%;max-height:65vh;display:flex;align-items:center;justify-content:center;position:relative}.memory-photo-button{padding:0;position:relative;display:flex;align-items:center;justify-content:center;max-height:100%;height:100%;width:100%;overflow:hidden}.memory-photo img{max-height:100%;width:auto;max-width:100%;object-fit:contain;box-shadow:0 18px 55px #0004;animation:photo-drift 36s ease-out both;transform-origin:50% 45%;border:5px solid #f1e9dfed}.memory-photo .photo-zoom{position:absolute;bottom:14px;right:14px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#171414a3;color:#f9f2e7;opacity:0;transition:opacity .3s}.memory-photo-button:hover .photo-zoom,.memory-photo-button:focus-visible .photo-zoom{opacity:1}.photo-zoom svg{width:17px;height:17px}.memory-copy{padding-right:35px;align-self:center;min-width:0;max-height:100%;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#7e6359 transparent}.memory-eyebrow{display:flex;align-items:center;gap:12px;font-size:.67rem;letter-spacing:.19em;color:#bd9a91}.memory-eyebrow:before{content:"";width:27px;height:1px;background:#a77b73}.memory-copy h2{font-family:var(--serif);font-size:clamp(1.5rem,2.5vw,2.4rem);font-weight:400;line-height:1.65;letter-spacing:.045em;margin:22px 0 23px}.memory-text{font-family:var(--serif);font-size:clamp(1rem,1.45vw,1.25rem);line-height:2.12;letter-spacing:.035em;color:#d5c8bc;white-space:pre-line;margin:0}.memory-copy .small-heart{display:flex;align-items:center;gap:14px;margin-top:29px;color:#b58782}.small-heart svg{width:16px;height:16px;stroke-width:1}.small-heart:after{content:"";height:1px;width:57px;background:#94766a63}.player-controls{position:relative;z-index:2;width:calc(100% - 96px);margin:0 auto;padding:14px 0 18px;flex-shrink:0}.playback-track{height:2px;width:100%;background:#ffffff18;overflow:hidden}.track-fill{height:100%;background:#b28b84;transform-origin:left;width:0}.control-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;padding-top:17px}.slide-counter{display:flex;align-items:baseline;gap:10px;white-space:nowrap;font-family:Georgia,var(--serif)}.slide-counter strong{font-weight:400;font-size:1.5rem;color:#dfc0b4}.slide-counter>span{font-size:.73rem;color:#9e8e83;letter-spacing:.04em}.slide-counter #page-count{font-family:var(--sans);font-size:.65rem;margin-left:9px;color:#8f827a}.transport{display:flex;align-items:center;gap:22px}.transport .icon-button{width:38px;height:38px}.transport .icon-button svg{width:19px;height:19px}.transport .play-toggle{width:47px;height:47px;border:1px solid #c09a8a66}.play-toggle svg:has(use[href="#i-play"]){fill:currentColor;stroke:0}.player-options{display:flex;gap:22px;align-items:center;justify-content:flex-end}.speed-control{position:relative}.speed-control:after{content:"";position:absolute;right:4px;top:calc(50% - 3px);width:5px;height:5px;border-right:1px solid #bfa597;border-bottom:1px solid #bfa597;transform:rotate(45deg);pointer-events:none}.speed-control select{appearance:none;background:transparent;color:#bfa597;border:0;border-radius:3px;font-size:.75rem;padding:10px 21px 10px 4px;cursor:pointer}.speed-control option{background:#24201e;color:#eadbd0}.player-options .text-button{font-size:.75rem;color:#bfa597}.keyboard-hint{text-align:center;font-size:.6rem;color:#807167;margin-top:10px;letter-spacing:.05em}.keyboard-hint span{margin:0 12px}
/* Archives and letters */
dialog{color:var(--ink);border:1px solid #e7ded5;background:var(--paper);border-radius:9px;padding:0;max-height:88dvh;max-width:calc(100vw - 36px);box-shadow:0 22px 100px #1b10184d;overscroll-behavior:contain}dialog[open]{animation:dialog-in .3s ease-out}dialog::backdrop{background:#21171bd4;backdrop-filter:blur(7px)}.close-dialog{position:absolute;top:19px;right:20px;z-index:3}.dialog-heading{display:flex;justify-content:space-between;gap:20px;padding:36px 40px 20px}.dialog-heading h2{font-family:var(--serif);font-size:1.8rem;font-weight:400;letter-spacing:.04em;margin:11px 0 12px}.dialog-heading p{font-size:.875rem;color:var(--muted);line-height:1.8;margin:0}.gallery-dialog{width:1080px;height:85dvh}.gallery-filters{display:flex;flex-wrap:wrap;gap:9px;padding:4px 40px 23px;position:sticky;top:0;z-index:2;background:var(--paper);border-bottom:1px solid var(--line)}.gallery-filter{font-size:.8rem;padding:8px 15px;color:#8c7b70;border:1px solid var(--line);border-radius:25px;white-space:nowrap}.gallery-filter:hover{border-color:#b99392;color:var(--wine)}.gallery-filter.selected{background:var(--wine);color:white;border-color:var(--wine)}.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding:26px 40px 38px}.gallery-item{display:flex;flex-direction:column;padding:0;text-align:left;gap:9px;min-width:0}.gallery-item-image{position:relative;display:block;width:100%;aspect-ratio:1.15;overflow:hidden;background:#e7e0d6;border-radius:3px}.gallery-item img{height:100%;width:100%;object-fit:cover;transition:transform .5s,filter .5s;filter:saturate(.8)}.gallery-item:hover img{transform:scale(1.055);filter:saturate(1)}.gallery-item-image span{position:absolute;bottom:8px;left:8px;background:#281b20a3;color:#fff9f0;padding:3px 7px;border-radius:2px;font-family:Georgia,serif;font-size:.7rem}.gallery-item strong{font-family:var(--serif);font-size:.82rem;font-weight:400;line-height:1.6}.gallery-item small{font-size:.66rem;color:#9b8b7e}.letter-dialog{width:760px}.letter-paper{padding:65px 65px 53px;background:repeating-linear-gradient(0deg,transparent,transparent 35px,#ddd2c326 35px,#ddd2c326 36px)}.letter-paper h2{font-family:var(--serif);font-size:1.8rem;font-weight:400;margin:30px 0}.letter-paper p{font-family:var(--serif);font-size:1.05rem;line-height:2.15;letter-spacing:.035em;margin:0 0 18px}.letter-signature{font-family:var(--serif);text-align:right;position:relative;padding-top:30px;line-height:2;font-size:1rem;color:var(--wine)}.letter-signature svg{width:17px;height:17px;vertical-align:middle;margin-left:8px}.letter-signature small{display:block;color:var(--muted);font-size:.75rem;margin-top:5px}
/* The encore */
.ending-view,.gift-view{background:radial-gradient(ellipse at 50% 46%,#eee0db55,transparent 60%),var(--paper);overflow-y:auto;display:flex;align-items:center;justify-content:center}.ending-home{position:absolute;left:45px;top:30px;color:var(--wine);font-family:var(--serif);letter-spacing:.08em}.ending-content{text-align:center;padding:105px 24px 90px;animation:opening-in 1s both}.ending-content>.eyebrow{font-size:.7rem;letter-spacing:.23em}.ending-heart{margin:32px auto 22px;color:#b28486;transform:rotate(-10deg)}.ending-heart svg{width:51px;height:51px;stroke-width:1}.ending-content h2{font-size:clamp(2rem,4vw,3.7rem);font-family:var(--serif);font-weight:400;letter-spacing:.06em;line-height:1.55;margin:0 0 23px}.ending-content p{font-size:.95rem;line-height:2;color:#927d71;margin:0 0 30px}.replay-link{display:flex;justify-content:center;margin:15px auto 0;color:#a48b7d;font-size:.75rem}.ending-footnote{position:absolute;bottom:28px;color:#ae998b;letter-spacing:.13em;font-family:var(--serif);font-size:.75rem}.game-dialog{width:600px;padding:43px 40px 35px;text-align:center}.game-heading h2{font-family:var(--serif);font-size:1.9rem;letter-spacing:.04em;font-weight:400;margin:14px 0}.game-heading p{font-size:.85rem;color:#958173;line-height:1.9}.game-heading .eyebrow{font-size:.64rem}.memory-game{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:25px auto 20px;max-width:410px}.memory-card{padding:0;aspect-ratio:.93;perspective:800px;position:relative;border-radius:5px}.card-inner{position:absolute;inset:0;transform-style:preserve-3d;transition:transform .55s cubic-bezier(.2,.7,.25,1)}.memory-card.flipped .card-inner,.memory-card.matched .card-inner{transform:rotateY(180deg)}.card-back,.card-front{position:absolute;inset:0;backface-visibility:hidden;overflow:hidden;display:flex;align-items:center;justify-content:center;border-radius:5px}.card-back{background:var(--wine);border:5px solid #884c59;box-shadow:inset 0 0 0 1px #d2a39255}.card-back:after{content:"";position:absolute;inset:10px;border:1px solid #e4bbb433;border-radius:50%}.card-back svg{width:31px;height:31px;color:#f0d4ca;stroke-width:1}.card-front{transform:rotateY(180deg);background:#e5dbd0;border:4px solid #fffaf2}.card-front img{width:100%;height:100%;object-fit:cover}.memory-card.matched .card-front{outline:2px solid #b79187;outline-offset:-3px}.memory-card.matched:after{content:"♡";position:absolute;right:5px;bottom:4px;width:24px;height:24px;display:grid;place-items:center;background:#fff8eee8;border-radius:50%;color:var(--wine);z-index:3;font-size:1.1rem}.game-status{display:flex;justify-content:space-between;align-items:center;max-width:410px;margin:auto;color:#a18779;font-size:.75rem}.game-status .text-button{font-size:.75rem}.game-dialog>.primary-button{margin-top:21px;min-height:48px;font-size:.8rem;padding:0 23px}.gift-content{text-align:center;padding:105px 24px 55px;width:100%;max-width:900px;position:relative;z-index:1;animation:opening-in 1s both}.gift-content>h2{font-family:var(--serif);font-size:clamp(1.75rem,3.1vw,2.8rem);font-weight:400;letter-spacing:.05em;margin:20px 0}.gift-content>p{font-size:.9rem;color:#9c8273;line-height:1.9}.gift-box{display:block;position:relative;width:270px;height:275px;margin:70px auto 60px;isolation:isolate;animation:gift-float 3s ease-in-out infinite}.gift-box:hover{transform:rotate(-3deg)}.gift-base{position:absolute;bottom:20px;left:23px;right:23px;height:182px;background:linear-gradient(90deg,#7b3444,#a65964 52%,#823948);box-shadow:inset -15px 0 30px #4a192724,0 6px 10px #45202c12;border-radius:2px 2px 5px 5px;overflow:visible}.gift-ribbon{position:absolute;left:calc(50% - 23px);top:0;bottom:0;width:46px;background:linear-gradient(90deg,#d6b68a,#f4dab0 45%,#d8b589);box-shadow:1px 0 2px #46232b15}.gift-lid{position:absolute;top:61px;left:12px;right:12px;height:43px;display:block;background:linear-gradient(90deg,#8d4150,#af6570,#8d4050);box-shadow:0 6px 7px #4d1d352b,inset 0 2px 1px #cb8a9290;border-radius:3px;z-index:3;transition:transform 1.2s cubic-bezier(.4,0,.3,1),opacity 1.2s}.lid-ribbon{display:block;position:absolute;left:calc(50% - 23px);top:0;bottom:0;width:46px;background:linear-gradient(90deg,#d3b083,#f6dcb4,#d6b485)}.bow{position:absolute;bottom:34px;width:87px;height:54px;border:13px solid #e4c59a;border-top-width:11px;border-bottom-width:15px;border-radius:50% 55% 10% 60%;box-shadow:inset 1px 2px 4px #5d33232b,0 2px 2px #4f2b2522;background:#7b34441c}.bow-left{right:calc(50% - 2px);transform:rotate(21deg)}.bow-right{left:calc(50% - 2px);transform:scaleX(-1) rotate(21deg)}.bow-knot{position:absolute;z-index:4;left:calc(50% - 17px);top:-16px;width:34px;height:25px;transform:rotate(-7deg);background:linear-gradient(100deg,#c7a572,#f3d7ac,#cfac7d);border-radius:9px}.gift-shadow{position:absolute;bottom:4px;left:0;right:0;height:25px;filter:blur(12px);border-radius:50%;background:#6d3a4324}.gift-tag{position:absolute;right:19px;top:49px;width:67px;height:95px;background:#f7eddd;transform:rotate(-12deg);box-shadow:0 3px 8px #3e192130;z-index:2;color:#9d7369;padding:13px 0;letter-spacing:.1em;font: .6rem/1.7 Georgia,var(--serif);border-radius:2px}.gift-tag:before{content:"";position:absolute;top:-28px;left:32px;height:31px;width:1px;background:#b59576}.gift-tag strong{display:block;font-family:var(--serif);font-size:.8rem;font-weight:400;margin:3px 0}.gift-tag svg{width:12px;height:12px;margin:3px auto}.gift-glow{position:absolute;inset:50px 20px 0;z-index:-1;border-radius:50%;background:#efc68b88;filter:blur(35px);opacity:0;transition:opacity 1s,transform 1s}.gift-box.opened{animation:none;pointer-events:none}.gift-box.opened .gift-lid{transform:translate(-25px,-150px) rotate(-23deg);opacity:0}.gift-box.opened .gift-glow{opacity:1;transform:scale(2)}.gift-box.vanishing{transition:opacity .6s,transform .6s;opacity:0;transform:scale(.8)}.gift-photo-button{display:block;position:relative;padding:10px 10px 35px;background:#fffaf3;max-width:600px;margin:30px auto 20px;box-shadow:0 10px 40px #6d3e4b1c;transform:rotate(-1deg);animation:gift-reveal 1.1s both}.gift-photo-button img{max-height:48vh;object-fit:contain;margin:auto;width:auto}.gift-photo-button>span{position:absolute;bottom:11px;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:6px;font-size:.66rem;letter-spacing:.06em;color:#a58b79}.gift-photo-button svg{height:13px;width:13px}.gift-message{font-family:var(--serif);font-size:1rem;letter-spacing:.04em;color:var(--wine);margin:24px 0}.gift-reveal>.primary-button{font-size:.8rem;min-height:49px}.gift-home{display:flex;justify-content:center;margin:12px auto 0;font-size:.75rem;color:#9c8273}.confetti{position:fixed;inset:0;z-index:3;pointer-events:none;overflow:hidden}.confetti i{position:absolute;top:-30px;left:var(--x);width:var(--size);height:calc(var(--size)*1.6);background:var(--color);opacity:0;animation:confetti-fall var(--duration) var(--delay) linear both}.lightbox{padding:55px 25px 18px;background:#181514;max-width:96vw;width:fit-content;border:1px solid #59443d;color:#e2cfc4;max-height:96dvh}.lightbox img{max-height:calc(90dvh - 95px);max-width:calc(94vw - 50px);object-fit:contain;margin:auto}.lightbox p{font-family:var(--serif);font-size:.8rem;text-align:center;margin:14px 0 0;letter-spacing:.05em}.lightbox .close-dialog{top:7px;right:8px}.lightbox .icon-button:hover{background:#ffffff16;color:#fff6ee}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);max-width:90vw;background:#3d2b32ee;color:#fff4e8;padding:13px 22px;border:1px solid #ffffff16;border-radius:5px;font-size:.8rem;z-index:100;box-shadow:0 6px 30px #31202c20;text-align:center}.noscript-note{position:fixed;top:0;left:0;right:0;background:var(--wine);color:#fff8ee;padding:15px;text-align:center}
@keyframes equalizer{to{transform:scaleY(.35)}}@keyframes opening-in{from{opacity:0;transform:translateY(14px);filter:blur(4px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}@keyframes opening-out{to{opacity:0;transform:translateY(-9px);filter:blur(3px)}}@keyframes slide-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes slide-out{to{opacity:0;transform:translateY(-7px)}}@keyframes photo-drift{from{transform:scale(.974)}to{transform:scale(1)}}@keyframes dialog-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes gift-float{50%{transform:translateY(-8px) rotate(-1deg)}}@keyframes gift-reveal{from{opacity:0;transform:translateY(35px) scale(.92) rotate(-5deg)}to{opacity:1;transform:translateY(0) scale(1) rotate(-1deg)}}@keyframes confetti-fall{0%{opacity:0;transform:translateY(-3vh) rotate(0)}8%{opacity:1}90%{opacity:.9}100%{opacity:0;transform:translate(100px,105vh) rotate(600deg)}}
@media(min-width:1500px){.hero{min-height:655px}.hero-art{transform:scale(1.07);transform-origin:center center}.hero-copy{padding-left:20px}.home-view{padding:0 76px}.hero-copy h1{font-size:5.5rem}}
@media(max-width:1200px){.home-view{padding:0 40px}.site-header{height:90px}.main-nav{gap:24px;margin-left:20px}.hero{min-height:560px;padding-top:36px;grid-template-columns:46% 54%}.hero-art{transform:scale(.88);transform-origin:15% 48%;width:550px;margin-left:-10px;margin-right:-100px}.hero-copy h1{font-size:4.1rem}.hero-greeting{font-size:1.12rem}.hero-description{font-size:.8rem}.chapter-card{padding:0 12px;gap:10px}.chapter-card img{width:54px;height:58px}.chapter-card strong{font-size:.75rem}.chapter-card small{font-size:.61rem}.memory-slide{gap:30px;padding-left:38px;padding-right:38px}.memory-copy{padding-right:10px}}
@media(max-width:1000px){.home-view{padding:0 30px}.main-nav{gap:20px;margin-left:0}.hero{min-height:565px;grid-template-columns:48% 52%;overflow:hidden}.hero-copy h1{font-size:3.8rem}.hero-art{transform:scale(.77);transform-origin:4% 43%;margin-left:0}.hero-greeting{font-size:1rem}.hero-description{font-size:.75rem}.hero-copy .eyebrow{font-size:.58rem}.viewing-note{font-size:.67rem}.title-heart{width:50px;height:50px;margin-left:0}.hero-copy{padding-left:0}.chapter-card{flex-direction:column;align-items:flex-start;gap:8px}.chapter-card img{width:100%;height:75px}.chapter-card strong{font-size:.8rem}.chapter-card small{font-size:.65rem}.hero-actions{gap:10px}.hero-actions>.text-button{font-size:.7rem}.player-header{padding:0 28px}.player-controls{width:calc(100% - 56px)}.memory-slide{grid-template-columns:50% 50%;gap:24px;padding:16px 28px 24px}.memory-copy h2{font-size:1.6rem}.memory-text{font-size:1.05rem}.gallery-grid{grid-template-columns:repeat(3,1fr)}.site-footer{font-size:.55rem}}
@media(max-width:760px){.home-view{padding:0 22px}.site-header{height:79px;gap:12px}.wordmark{font-size:1.03rem;gap:6px}.logo-mark{width:26px}.logo-mark svg{width:25px}.wordmark-divider{margin:0 6px}.main-nav{display:none}.header-tools{gap:12px}.music-button{gap:7px}.music-label{font-size:.68rem}.tool-divider{display:none}.header-tools>.icon-button{width:29px}.header-tools>.icon-button svg{width:18px}.hero{padding-top:36px;display:flex;flex-direction:column;align-items:stretch;overflow:visible;min-height:0}.hero-copy{padding:0 3px;z-index:2}.hero-copy .eyebrow{font-size:.6rem;letter-spacing:.16em}.hero-copy h1{font-size:3.65rem;line-height:1.26;margin:18px 0 24px;letter-spacing:.07em}.title-second{gap:18px}.title-heart{width:53px;height:49px;margin-left:4px}.hero-greeting{font-size:1.06rem;line-height:1.9}.hero-description{font-size:.8rem;line-height:1.9;margin:17px 0 24px}.hero-actions{gap:15px}.primary-button{min-height:53px;font-size:.9rem}.start-button{min-width:208px;padding:0 22px}.viewing-note{font-size:.68rem;margin-top:15px}.hero-art{height:390px;width:100%;transform:none;margin:41px 0 0;max-width:480px;align-self:center}.photo-main{width:47%;left:5%;top:0;padding:8px 8px 13px}.photo-main img{aspect-ratio:3/4}.photo-back{width:42%;left:52%;top:15px;padding:8px 8px 11px}.photo-front{width:47%;left:44%;top:210px;padding:8px 8px 12px}.photo-caption{font-size:.58rem;letter-spacing:.02em;margin-top:9px}.photo-date{font-size:.45rem;margin-top:3px}.tape{width:65px;height:24px}.tape-main{left:calc(50% - 31px);top:-10px}.tape-back{left:calc(50% - 31px);top:-10px}.note-top{right:4%;top:-28px;font-size:.95rem}.note-side{right:-8px;top:173px;font-size:.63rem;letter-spacing:.18em}.anniversary-stamp{width:83px;height:83px;left:10%;top:291px;gap:4px;outline-offset:-5px}.anniversary-stamp span{font-size:.37rem}.anniversary-stamp svg{width:20px;height:20px}.spark-one{left:0;top:232px;font-size:2rem}.spark-two{right:1%;top:319px;font-size:1.1rem}.love-orbit{width:105%;height:100%;left:0}.anniversary-line{height:74px;gap:11px;letter-spacing:.03em;font-size:.62rem;margin:2px auto}.date-thread{width:24px}.anniversary-line svg{width:11px;height:11px;margin-right:-5px}.together-days{font-size:.67rem;letter-spacing:.03em}.together-days strong{font-size:.9rem;margin:0 1px}.chapters-preview{padding:23px 0 24px}.section-label{margin-bottom:18px}.section-label h2{font-size:.9rem}.section-label .text-button{font-size:.64rem;gap:5px}.chapter-cards{grid-template-columns:repeat(5,140px);overflow-x:auto;gap:16px;padding-bottom:10px;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#c9b3a6 transparent}.chapter-card{padding:0;border:0;gap:9px;scroll-snap-align:start}.chapter-card img{height:94px;border-radius:2px}.chapter-card strong{font-size:.79rem}.chapter-card small{font-size:.65rem;margin-top:2px}.site-footer{padding:21px 0 24px;gap:16px;flex-wrap:wrap;font-size:.55rem;letter-spacing:.04em}.site-footer span:nth-child(2){font-size:.65rem;letter-spacing:.08em}.site-footer span:last-child{display:none}.opening-back{left:23px;top:23px;font-size:.7rem}.opening-mark{font-size:.53rem;top:19%}.opening-copy{font-size:1.4rem;line-height:2.15;letter-spacing:.04em}.opening-kicker{font-size:.61rem;letter-spacing:.2em}.opening-skip{right:25px;bottom:32px;font-size:.7rem}.opening-center{padding:20px}.player-header{height:65px;padding:0 18px;gap:10px}.player-home{font-size:.77rem;gap:8px;white-space:nowrap}.player-home svg{width:17px;height:17px}.player-chapter{display:none}.player-header-tools{gap:3px}.player-header-tools .icon-button{width:34px;height:34px}.player-header-tools svg{width:18px;height:18px}.memory-slide{display:flex;flex-direction:column;justify-content:center;gap:22px;padding:3px 26px 13px}.memory-photo{height:44%;width:100%;flex:1;max-height:43dvh;min-height:120px}.memory-photo img{border-width:3px}.memory-copy{width:100%;padding:0 3px;max-height:43%;flex-shrink:0;overflow-y:auto}.memory-eyebrow{font-size:.55rem;gap:8px;letter-spacing:.12em}.memory-eyebrow:before{width:18px}.memory-copy h2{font-size:1.28rem;line-height:1.55;margin:10px 0 11px;letter-spacing:.035em}.memory-text{font-size:.91rem;line-height:1.95;letter-spacing:.015em}.memory-copy .small-heart{display:none}.player-controls{width:calc(100% - 40px);padding:5px 0 13px}.control-row{gap:6px;padding-top:13px;grid-template-columns:1fr auto 1fr}.slide-counter{gap:5px;flex-wrap:wrap;max-width:105px;row-gap:0}.slide-counter strong{font-size:1.3rem}.slide-counter>span{font-size:.58rem}.slide-counter #page-count{font-size:.55rem;margin-left:0;width:100%}.transport{gap:9px}.transport .icon-button{width:31px;height:31px}.transport .play-toggle{width:41px;height:41px}.transport .icon-button svg{width:17px;height:17px}.player-options{gap:0}.player-options>.text-button{display:none}.speed-control select{font-size:.65rem;padding-right:15px}.keyboard-hint{font-size:.53rem;margin-top:9px}.keyboard-hint span{margin:0 7px}.dialog-heading{padding:37px 23px 17px}.dialog-heading h2{font-size:1.35rem;line-height:1.6;margin:10px 0}.dialog-heading p{font-size:.75rem;max-width:90%}.dialog-heading .eyebrow{font-size:.6rem}.gallery-filters{padding:0 23px 17px;gap:7px}.gallery-filter{font-size:.65rem;padding:7px 11px}.gallery-grid{padding:21px 23px 28px;grid-template-columns:repeat(2,1fr);gap:20px 15px}.gallery-item strong{font-size:.74rem}.gallery-item small{font-size:.6rem}.gallery-item-image{aspect-ratio:1}.close-dialog{top:12px;right:12px;width:34px;height:34px}.letter-paper{padding:55px 28px 38px}.letter-paper>.eyebrow{font-size:.57rem;letter-spacing:.12em}.letter-paper h2{font-size:1.45rem;margin:25px 0}.letter-paper p{font-size:.94rem;line-height:2}.letter-signature{font-size:.9rem}.ending-home{left:25px;top:22px;font-size:.8rem}.ending-content{padding-top:90px;padding-bottom:80px}.ending-content h2{font-size:2.3rem}.ending-content p{font-size:.82rem}.ending-content>.eyebrow{font-size:.62rem}.ending-heart{margin-top:28px}.ending-heart svg{width:43px;height:43px}.ending-footnote{font-size:.65rem}.game-dialog{padding:42px 23px 30px;max-width:calc(100vw - 30px)}.game-heading h2{font-size:1.6rem}.game-heading p{font-size:.76rem}.game-heading .eyebrow{font-size:.52rem}.memory-game{gap:10px;margin-top:23px}.card-back svg{width:26px;height:26px}.game-status,.game-status .text-button{font-size:.68rem}.game-dialog>.primary-button{font-size:.72rem;padding:0 17px}.gift-content{padding:100px 22px 38px}.gift-content>.eyebrow{font-size:.55rem;letter-spacing:.13em}.gift-content>h2{font-size:1.8rem;margin:19px 0 17px;line-height:1.6}.gift-content>p{font-size:.77rem}.gift-box{margin:72px auto 50px;transform:scale(.9)}.gift-message{font-size:.87rem;line-height:1.8}.gift-photo-button{margin-top:26px}.gift-photo-button img{max-height:43dvh}.gift-reveal>.primary-button{font-size:.75rem;padding:0 19px}.lightbox{padding:49px 12px 15px;max-width:96vw}.lightbox img{max-width:calc(94vw - 24px);max-height:78dvh}.lightbox p{font-size:.68rem;line-height:1.8}.toast{font-size:.72rem;padding:12px 18px;bottom:22px;white-space:normal;width:max-content}}
@media(max-width:380px){.hero-copy h1{font-size:3.2rem}.hero-art{height:350px}.photo-front{top:183px}.anniversary-stamp{top:260px}.spark-two{top:290px}.note-side{top:158px}.anniversary-line{gap:8px}.date-thread{width:15px}.memory-text{font-size:.84rem}.memory-copy h2{font-size:1.18rem}.memory-slide{gap:15px}.memory-eyebrow{font-size:.5rem}}
@media(max-height:700px) and (min-width:761px){.player-header{height:65px}.player-controls{padding-bottom:10px}.memory-photo{max-height:62vh}.memory-slide{padding-top:5px;padding-bottom:5px}.memory-copy h2{font-size:1.65rem;margin:17px 0}.memory-text{font-size:1rem;line-height:1.9}.memory-copy .small-heart{margin-top:15px}.keyboard-hint{margin-top:6px}.control-row{padding-top:10px}.game-dialog{padding-top:27px;padding-bottom:23px}.memory-game{max-width:315px;margin-top:17px;gap:10px}.game-heading h2{margin:10px 0}.game-heading p{font-size:.78rem}.game-dialog>.primary-button{margin-top:12px}.ending-content{padding-top:60px;padding-bottom:50px}.ending-heart{margin:18px auto}.ending-content h2{font-size:2.5rem}.gift-content{padding-top:75px}.gift-content>h2{font-size:2rem}.gift-box{margin:45px auto 30px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.memory-photo img{transform:none}.hero-art:hover .polaroid{transform:none}}
.memory-slide{grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
.memory-photo{min-height:0}
.ending-view,.gift-view{align-items:flex-start}
.ending-content,.gift-content{margin-block:auto}
@media(max-width:1000px){.memory-slide{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media(max-width:760px){.memory-text{font-size:1rem;line-height:1.9}.memory-copy{max-height:50%}}
@media(max-height:520px) and (min-width:600px){
  .player-header{height:52px;padding:0 24px}
  .player-controls{width:calc(100% - 48px);padding:4px 0 8px}
  .control-row{padding-top:8px}
  .transport .play-toggle{width:39px;height:39px}
  .keyboard-hint{display:none}
  .memory-slide{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);grid-template-rows:minmax(0,1fr);padding:4px 30px 12px;gap:28px}
  .memory-photo{height:100%;max-height:100%;min-height:0;width:100%}
  .memory-copy{max-height:100%;padding:0;width:auto;align-self:center}
  .memory-eyebrow,.memory-copy .small-heart{display:none}
  .memory-copy h2{font-size:1.3rem;line-height:1.5;margin:0 0 12px}
  .memory-text{font-size:1rem;line-height:1.75}
  .ending-footnote{display:none}
  .ending-content{padding-top:70px;padding-bottom:35px}
  .ending-content h2{font-size:2rem}
  .ending-heart{margin:15px auto}
  .ending-heart svg{width:32px;height:32px}
  .ending-content p{font-size:.8rem;margin-bottom:20px}
  .gift-content{padding-top:72px;padding-bottom:35px}
}

/* One photograph, one uninterrupted letter, gently scrolling upward. */
.memory-slide.is-letter{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}
.is-letter .memory-photo img{height:auto}
.is-letter .letter-copy{display:flex;flex-direction:column;justify-content:center;overflow:visible;min-height:0;max-height:100%;height:100%;padding-top:22px;padding-bottom:22px}
.letter-copy h2{flex-shrink:0;margin-bottom:17px}
.letter-copy .memory-eyebrow{flex-shrink:0}
.letter-scroll-viewport{height:min(44dvh,460px);min-height:100px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#a47c7040 transparent;mask-image:linear-gradient(to bottom,transparent,#000 20px,#000 calc(100% - 20px),transparent);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 20px,#000 calc(100% - 20px),transparent)}
.scrolling-letter-text{padding:19px 10px 22px 0;font-size:1.14rem;line-height:2.1}
.scrolling-letter-text p{margin:0 0 1.3em}
.scrolling-letter-text p:last-child{margin-bottom:0;color:#eed0c4}
.letter-scroll-note{display:flex;align-items:center;gap:8px;flex-shrink:0;color:#aa8b7f;font-family:var(--serif);font-size:.69rem;letter-spacing:.05em;margin-top:18px;line-height:1.8}
.letter-scroll-note svg{width:13px;height:13px;stroke-width:1}
@media(max-width:1000px){.scrolling-letter-text{font-size:1.05rem}.letter-copy h2{font-size:1.6rem}}
@media(max-width:760px){
  .memory-slide.is-letter{gap:16px;padding-top:8px}
  .is-letter .memory-photo{height:29%;flex:0 1 29%;max-height:29dvh;min-height:90px}
  .is-letter .letter-copy{flex:1;min-height:0;max-height:none;height:auto;justify-content:flex-start;padding:0 3px}
  .letter-copy h2{font-size:1.25rem;margin:9px 0 9px}
  .letter-scroll-viewport{flex:1;height:auto;min-height:0;max-height:none;mask-image:linear-gradient(to bottom,transparent,#000 15px,#000 calc(100% - 15px),transparent);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 15px,#000 calc(100% - 15px),transparent)}
  .scrolling-letter-text{padding:13px 6px 16px 0;font-size:1rem;line-height:2}
  .scrolling-letter-text p{margin-bottom:1.2em}
  .letter-scroll-note{font-size:.61rem;gap:6px;margin-top:10px}
  .letter-scroll-note svg{width:11px;height:11px}
  .is-letter~.player-controls .slide-counter #page-count{font-size:.52rem}
}
@media(max-height:520px) and (min-width:600px){
  .memory-slide.is-letter{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:25px}
  .is-letter .memory-photo{height:100%;max-height:100%;min-height:0}
  .is-letter .letter-copy{height:100%;max-height:100%;padding:0}
  .letter-copy h2{font-size:1.2rem;margin:0 0 8px}
  .letter-scroll-viewport{flex:1;height:auto;min-height:0}
  .scrolling-letter-text{font-size:1rem;line-height:1.9;padding:15px 7px 18px 0}
  .letter-scroll-note{margin-top:8px;font-size:.6rem}
}

/* Keep these memories together and give their complete paragraphs more room. */
.memory-slide.is-continuous{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:36px}
.is-continuous .memory-copy{padding-right:0;max-height:100%}
.is-continuous .memory-photo img{height:auto}
@media(max-width:760px){
  .memory-slide.is-continuous{gap:18px;padding-top:8px}
  .is-continuous .memory-photo{height:30%;flex:0 1 30%;max-height:30dvh;min-height:90px}
  .is-continuous .memory-copy{flex:1;min-height:0;max-height:none;padding:0 3px;display:flex;flex-direction:column;justify-content:center}
}
@media(max-height:520px) and (min-width:600px){
  .memory-slide.is-continuous{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:26px}
  .is-continuous .memory-photo{height:100%;max-height:100%;min-height:0}
  .is-continuous .memory-copy{display:block;max-height:100%;padding:0}
}
