/* Midnight Cinema — birthday, memories, film, letter. */
/* A small birthday still life, drawn in SVG and CSS. */
.hero-stage{justify-content:center;padding:112px 0 14px}
.hero-stage::before{content:'';position:absolute;inset:20% 8% 9%;border-left:1px solid var(--rule);border-right:1px solid var(--rule);pointer-events:none;opacity:.65}
.birthday-garland{position:absolute;left:-32px;top:0;width:calc(100% + 64px);height:130px;pointer-events:none}
.birthday-garland svg{display:block;width:100%;height:100%;overflow:visible}
.garland-flag{transform-box:fill-box;transform-origin:50% 0;animation:flag-sway 7s ease-in-out var(--flag-delay) infinite alternate paused;filter:drop-shadow(0 3px 3px #10091530)}
.garland-flag polygon:first-child{stroke:#eed3ae3b;stroke-width:.45}
.hero-panel.is-current .garland-flag{animation-play-state:running}
.hero-title-wrap{position:relative;z-index:2;animation:title-arrive 1.3s var(--ease) .15s both}
.hero-stage .title{font-size:clamp(51px,13.8vw,65px);line-height:.94;letter-spacing:-.035em;text-shadow:0 5px 25px #130c1840}
.birthday-title>span{display:block;white-space:pre-line}
.birthday-title>em{display:block;font-size:1.37em;line-height:1.15;letter-spacing:-.045em;margin-top:8px}
.hero-stage .subtitle{max-width:270px;font-size:12px;line-height:1.75;margin-top:15px}
.birthday-candles{position:relative;width:254px;height:226px;flex:0 0 auto;margin:15px auto 17px;pointer-events:none;isolation:isolate;animation:candles-arrive 1.5s var(--ease) .3s both}
.birthday-candlelight{position:absolute;inset:-18px -58px -20px;background:radial-gradient(ellipse at 49% 35%,#d3984b1f,transparent 68%);animation:ambient-warmth 7s ease-in-out -2s infinite alternate paused;opacity:.85}
.candle-plate{position:absolute;left:5px;right:5px;bottom:7px;height:18px;border:1px solid #bd9a6b3b;border-radius:50%;background:radial-gradient(ellipse at 50% 30%,#bc9b6d24,#7552490c 65%);box-shadow:0 9px 17px #120a184a,inset 0 -2px 2px #b8946a1c}
.birthday-candle{position:absolute;bottom:16px;width:var(--candle-width);height:var(--candle-height);left:var(--candle-x);border-radius:4px 4px 2px 2px;background:linear-gradient(90deg,var(--wax-dark),var(--wax-light) 27%,var(--wax-bright) 46%,var(--wax-light) 70%,var(--wax-dark));box-shadow:inset 1px 0 1px #f9e1ba33,inset -1px 0 1px #1c0b1a45,3px 6px 10px #130a1b35}
.birthday-candle::before{content:'';position:absolute;left:0;right:0;top:-3px;height:7px;border-radius:50%;background:radial-gradient(ellipse,var(--wax-dark) 0 13%,var(--wax-bright) 32%,var(--wax-light) 70%);box-shadow:0 -1px 1px #fff0c040}
.birthday-candle::after{content:'';position:absolute;left:4px;top:1px;width:3px;height:27%;border-radius:0 0 3px 3px;background:linear-gradient(#fff0d137,transparent);opacity:.6}
.candle-left{--candle-x:48px;--candle-width:21px;--candle-height:122px;--wax-dark:#915c67;--wax-light:#c49498;--wax-bright:#deb6b0;--flicker-delay:-1.4s;--flicker-time:3.7s}
.candle-middle{--candle-x:115px;--candle-width:26px;--candle-height:154px;--wax-dark:#ad8a68;--wax-light:#dcc3a1;--wax-bright:#f3dfbc;--flicker-delay:-.4s;--flicker-time:4.3s}
.candle-right{--candle-x:183px;--candle-width:22px;--candle-height:104px;--wax-dark:#572936;--wax-light:#94545f;--wax-bright:#b7787d;--flicker-delay:-2.1s;--flicker-time:3.3s}
.candle-wick{position:absolute;left:50%;top:-9px;width:1.5px;height:10px;border-radius:50%;background:linear-gradient(#ad7750,#47303a);transform:rotate(-5deg);z-index:2}
.flame-holder{position:absolute;left:50%;bottom:calc(100% + 5px);width:28px;height:54px;transform:translateX(-50%);z-index:3}
.candle-flame{width:100%;height:100%;overflow:visible;transform-origin:50% 93%;animation:flame-breathe var(--flicker-time) ease-in-out var(--flicker-delay) infinite paused}
.flame-halo{position:absolute;left:50%;bottom:calc(100% - 14px);width:68px;height:100px;transform:translateX(-50%);background:radial-gradient(ellipse at 50% 58%,#ffd48923,#df9f4710 30%,transparent 68%);animation:ambient-warmth 4.8s ease-in-out var(--flicker-delay) infinite alternate paused}
.hero-panel.is-current .candle-flame,.hero-panel.is-current .flame-halo,.hero-panel.is-current .birthday-candlelight{animation-play-state:running}
.swipe-cue{display:inline-flex;align-items:center;justify-content:center;gap:30px;background:linear-gradient(120deg,#c69b9e,#ad7e89);color:#291b25;border:1px solid #d7b1ad40;border-radius:99px;min-height:46px;padding:10px 25px;box-shadow:0 10px 30px #140c162e;font-size:12px;letter-spacing:.035em;cursor:pointer;touch-action:manipulation;position:relative;z-index:2;transition:filter .22s var(--ease)}
.swipe-cue:active{filter:brightness(1.08)}
.hero-panel>.bottomline{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;min-height:46px}
.hero-panel>.bottomline>.swipe-cue{grid-column:2;grid-row:1;margin:0}
.hero-panel>.bottomline>span:first-child{grid-column:1;grid-row:1;justify-self:start}
.hero-panel>.bottomline>span:last-child{grid-column:3;grid-row:1;justify-self:end}
.swipe-arrow{font-size:19px;animation:swipe-hint 3.2s ease-in-out 2s infinite}
@keyframes flag-sway{from{transform:rotate(-1.8deg) skewX(-.4deg)}to{transform:rotate(1.8deg) skewX(.5deg)}}
@keyframes flame-breathe{0%,100%{transform:rotate(-1.2deg) scale(.97,1)}24%{transform:rotate(2deg) skewX(-2deg) scale(1.02,.97)}52%{transform:rotate(-2.1deg) skewX(1.4deg) scale(.95,1.025)}76%{transform:rotate(.9deg) scale(1,.985)}}
@keyframes ambient-warmth{from{opacity:.65}to{opacity:1}}
@keyframes title-arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes candles-arrive{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}
@keyframes swipe-hint{0%,55%,100%{transform:translateY(0)}70%{transform:translateY(4px)}85%{transform:translateY(0)}}

/* A landscape film window, with native controls as the inline fallback. */
.film-stage{gap:0}
.film-stage .kicker{margin-bottom:16px}
.film-stage .section-title{font-size:clamp(43px,11.3vw,61px);margin-bottom:29px}
.film-frame{position:relative;width:100%;aspect-ratio:16/10;background:#000;flex:0 0 auto;box-shadow:0 24px 60px #0005;border:1px solid #d3a4ac40;border-radius:3px;isolation:isolate}
.film-poster{position:absolute;inset:0;border:0;padding:0;background:#000;color:#fff3e7;width:100%;height:100%;overflow:hidden;border-radius:2px;touch-action:manipulation}
.film-label,.film-corner{position:absolute;z-index:2;left:17px;top:17px;font-size:8px;letter-spacing:.2em}
.film-corner{top:auto;bottom:17px;font-size:9px;letter-spacing:.15em}
.play{position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%);width:72px;height:72px;border:1px solid #fbe1dbbd;border-radius:50%;display:grid;place-items:center;background:#34253038;backdrop-filter:blur(5px);box-shadow:0 5px 30px #1b0e2044;transition:background .3s,transform .5s var(--ease)}
.play svg{width:30px;height:30px}
@media(hover:hover){.film-poster:hover .play{background:#cda5a440;transform:translate(-50%,-50%) scale(1.06)}}
#memory-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000;visibility:hidden;opacity:0;pointer-events:none;border-radius:2px}
.film-frame.is-playing #memory-video{visibility:visible;opacity:1;pointer-events:auto}
.film-frame.is-playing .film-poster{visibility:hidden;pointer-events:none}
#memory-video:fullscreen{width:100%;height:100%;visibility:visible;opacity:1;pointer-events:auto}
#memory-video::-webkit-media-controls{touch-action:manipulation}
.film-return{position:absolute;top:8px;right:8px;border:1px solid #efced744;background:#1b131edb;color:#f8ede6;min-height:36px;padding:7px 12px;border-radius:99px;font-size:10px;z-index:4}
.video-status{color:var(--muted);font-size:11px;line-height:1.5;min-height:16px;margin:10px 0 8px}
.orientation-guide{display:flex;align-items:center;gap:13px;text-align:left;width:100%;padding:18px 13px 17px;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);background:linear-gradient(110deg,#e1b5aa05,transparent)}
.rotation-lock{width:46px;height:46px;flex:0 0 46px;color:var(--accent);margin-top:1px;overflow:visible}
.orientation-title{font-family:var(--serif);font-size:21px;line-height:1.13;margin:0;color:#ebccc4;letter-spacing:-.012em}
.rotation-ring{transform-origin:32px 32px}
.film-panel.is-current .rotation-ring{animation:orientation-ring 8s ease-in-out infinite}
.film-panel.is-current .lock-shackle{animation:orientation-lock 8s ease-in-out infinite}
@keyframes orientation-ring{0%,15%,50%,100%{transform:rotate(0)}30%{transform:rotate(-13deg)}}
@keyframes orientation-lock{0%,20%,55%,100%{transform:translateY(0)}34%{transform:translateY(-2px)}}
.handwriting{font-family:var(--serif);font-style:italic;font-size:22px;color:var(--accent);margin-top:19px}

/* Cinematic Polaroid Carousel. The frame itself never opens anything. */
.gallery-stage{justify-content:flex-start;padding:25px 0 12px;gap:0}
.gallery-stage .kicker{margin-bottom:11px}
.gallery-stage .section-title{margin-bottom:12px;font-size:clamp(44px,11.5vw,61px)}
.gallery-note{max-width:330px;margin:0 auto 19px;font-size:11px;line-height:1.6;min-height:36px}
.gallery-images{position:relative;width:100%;flex:1;min-height:0;display:grid;place-items:center;perspective:1000px}
.gallery-track{position:relative;isolation:isolate;height:100%;width:min(100%,calc((var(--chapter-height) - 300px)*.77));max-width:410px;touch-action:pan-y pinch-zoom;outline-offset:8px!important}
.gallery-slide{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:9px 9px 33px;background:linear-gradient(140deg,#f4e9dd,#d9c8b8);border-radius:2px;box-shadow:0 17px 38px #09050e70,0 2px 5px #0005;visibility:hidden;pointer-events:none;transform-origin:50% 65%;backface-visibility:hidden}
.gallery-slide::after{opacity:.18}
.gallery-slide img{width:100%;height:100%;object-fit:contain;object-position:center;display:block;background:radial-gradient(ellipse,#40353e,#30272f);pointer-events:none}
.gallery-slide.is-active{visibility:visible;pointer-events:auto;z-index:3}
.gallery-slide.is-leaving{visibility:visible;z-index:4}
.polaroid-mark{position:absolute;bottom:10px;left:0;right:0;color:#926b70;font-family:var(--serif);font-style:italic;letter-spacing:.08em;font-size:13px;text-align:center}
.gallery-controls{display:flex;align-items:center;justify-content:center;gap:30px;margin-top:19px;flex:0 0 auto;min-height:48px;color:var(--accent)}
.gallery-controls button{display:grid;place-items:center;width:48px;height:48px;border:1px solid #d8ada44d;border-radius:50%;background:#ad849109;color:var(--accent);font-size:23px;transition:background .2s,opacity .2s}
.gallery-controls button:active{background:#ad849129}
.gallery-controls button:disabled{opacity:.25}
#gallery-counter{display:inline-block;min-width:72px;font-size:11px;letter-spacing:.14em;font-variant-numeric:tabular-nums}

/* Paper is a scroll area only when its settled content genuinely overflows. */
.letter-stage{perspective:1100px;isolation:isolate}
.letter-intro{margin-bottom:22px}
.letter-intro .section-title{margin-bottom:0}
.envelope-button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;border:0;background:transparent;color:#f8e6dc;padding:28px 0 6px;touch-action:manipulation;perspective:1100px}
.envelope-glow{position:absolute;inset:-20px -5% 10%;background:radial-gradient(ellipse,#c88d9a26,transparent 66%);pointer-events:none}
.envelope-shell{display:block;position:relative;width:270px;height:178px;perspective:900px;transform-style:preserve-3d;filter:drop-shadow(0 19px 16px #0a071080)}
.envelope-back{position:absolute;inset:0;background:linear-gradient(140deg,#a87982,#8f5b6a);border:1px solid #d0a3a0;border-radius:4px;z-index:1}
.envelope-paper{position:absolute;z-index:2;top:9px;left:7%;height:90%;width:86%;background:linear-gradient(120deg,#fff7e9,#d6c6b7);box-shadow:0 0 8px #2b141c40;text-align:center;border-radius:2px;padding-top:29px;color:#966c74;font:italic 22px var(--serif);transform-origin:50% 100%}
.paper-heart{display:block;margin-top:12px;color:#b07983;font-size:26px}
.envelope-front{position:absolute;inset:0;z-index:4;background:conic-gradient(from 0deg at 50% 53%,#bb8c94 0deg 58deg,#ce9fa2 58deg 124deg,#be8c94 124deg 236deg,#dfb1ad 236deg 302deg,#bb8c94 302deg);clip-path:polygon(0 0,50% 55%,100% 0,100% 100%,0 100%);border-radius:3px}
.envelope-front::after{content:'';position:absolute;inset:0;box-shadow:inset 0 -1px 1px #fae6d766;background:linear-gradient(0deg,#78485614,transparent 80%)}
.envelope-flap{position:absolute;left:0;right:0;top:0;height:106px;clip-path:polygon(0 0,100% 0,50% 97%);background:linear-gradient(140deg,#e6bbb4,#b88490);transform-origin:50% 0;backface-visibility:hidden;z-index:5}
.flap-back{z-index:1;backface-visibility:visible;background:#9f6c78}
.envelope-seal{position:absolute;z-index:6;top:77px;left:50%;transform:translateX(-50%);width:43px;height:43px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 35% 25%,#a95064,#6c2b42);border:1px solid #c5898b;box-shadow:0 3px 9px #4e2b3870,inset 0 0 0 3px #77394d;color:#f2c6c3;font-family:Georgia,serif;font-size:24px}
.envelope-instruction{position:relative;display:inline-block;margin-top:29px;font-size:11px;color:#e0b9bd;letter-spacing:.03em;border-bottom:1px solid #e8b8bf40;padding-bottom:7px;transition:opacity .25s}
.envelope-instruction>span{margin-left:8px}
.envelope-subtitle{font-size:11px;line-height:1.7;color:var(--muted);max-width:245px;margin:15px auto 0}
.letter-paper{position:absolute;inset:17px 0 18px;z-index:10;text-align:left;overflow:hidden;overflow:clip;overscroll-behavior-y:none;touch-action:pinch-zoom;background:linear-gradient(115deg,#fff8eb,#f0e3d0);color:#59433e;box-shadow:0 15px 40px #0a06114d;border:1px solid #edddca;border-radius:2px;scrollbar-width:thin;scrollbar-color:#ab7f8055 transparent;transform-origin:50% 70%}
.letter-paper.is-scrollable{overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:none;touch-action:pan-y pinch-zoom;-webkit-overflow-scrolling:touch}
.letter-paper.is-zoomed{touch-action:pan-x pan-y pinch-zoom}
.letter-paper::after{opacity:.14}
.letter-paper-content{position:relative;padding:34px 29px 26px;min-height:100%}
.letter-symbol{display:block;text-align:center;color:#9e626f;font:31px Georgia,serif;margin-bottom:19px}
.letter-paper .kicker{color:#9e626f;text-align:center;font-size:8px;margin-bottom:13px}
.letter-paper h3{font:italic 400 39px/.98 var(--serif);letter-spacing:-.035em;margin:0 0 27px;text-align:center;color:#7b4555}
.letter-full-body p{font-size:14px;line-height:1.9;white-space:pre-wrap;margin:0 0 19px;color:#654e47}
.letter-sign{font:italic 27px var(--serif);text-align:right;color:#9e626f;margin:29px 0 28px}
.paper-end{display:block;text-align:center;font-size:13px;letter-spacing:.15em;color:#ad8187}
.is-opening .envelope-shell{animation:envelope-lift 1.9s var(--ease) forwards}
.is-opening .envelope-seal{animation:seal-release .35s .12s ease forwards}
.is-opening .envelope-flap{animation:flap-open .65s .25s var(--ease) forwards}
.is-opening .envelope-paper{animation:paper-rise 1s .65s var(--ease) forwards}
.is-opening .envelope-instruction,.is-opening>.envelope-subtitle{opacity:0}
.is-opening .letter-intro{animation:intro-away .55s .8s ease forwards}
.is-opening .envelope-button{animation:envelope-away .5s 1.5s ease forwards}
.is-opening .letter-paper{animation:paper-unfold .95s 1.15s var(--ease) both}
.is-opening .letter-paper-content{animation:ink-appear .45s 1.65s ease both}
.is-opening .letter-full-body,.is-opening .letter-sign,.is-opening .paper-end{animation:ink-appear .4s 1.95s ease both}
.letter-stage.is-open .letter-intro,.letter-stage.is-open .envelope-button,.letter-stage.is-open>.envelope-subtitle{visibility:hidden;pointer-events:none}
@keyframes envelope-lift{0%{transform:translateY(0)}25%,70%{transform:translateY(-12px) rotateX(5deg);filter:drop-shadow(0 28px 20px #0a071090)}100%{transform:translateY(15px)}}
@keyframes seal-release{to{opacity:0;transform:translateX(-50%) translateY(6px) scale(.92)}}
@keyframes flap-open{to{transform:rotateX(180deg)}}
@keyframes paper-rise{0%{transform:translateY(0)}65%{transform:translateY(-100px) rotateX(-4deg)}100%{transform:translateY(-135px) rotateX(-7deg)}}
@keyframes intro-away{to{opacity:0;transform:translateY(-12px)}}
@keyframes envelope-away{to{opacity:0;transform:translateY(35px) scale(.96)}}
@keyframes paper-unfold{0%{opacity:0;transform:translateY(35px) rotateX(20deg) scale(.67,.38)}22%{opacity:1}65%{transform:translateY(-5px) rotateX(-3deg) scale(.98,.99)}100%{opacity:1;transform:none}}
@keyframes ink-appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}


@media(max-width:370px){.orientation-guide{padding:13px 5px;gap:9px}.rotation-lock{width:39px;height:39px;flex-basis:39px}.orientation-title{font-size:19px}.gallery-controls{gap:23px}.letter-paper-content{padding:28px 22px}.letter-paper h3{font-size:34px}.letter-full-body p{font-size:13px}}
@media(max-height:740px){
 .hero-stage{padding-top:82px}.birthday-garland{height:110px}.hero-stage .title{font-size:50px}.hero-stage .subtitle{font-size:11px;margin-top:12px;max-width:270px}.birthday-candles{height:203px;zoom:.88;margin:10px auto 14px}.birthday-candle{--candle-height:104px}.candle-middle{--candle-height:126px}.candle-right{--candle-height:87px}.swipe-cue{min-height:44px;font-size:11px}
 .film-stage .section-title{font-size:44px;margin-bottom:19px}.film-stage .kicker{margin-bottom:12px}.orientation-guide{padding:13px 8px}.orientation-title{font-size:19px}.handwriting{font-size:19px;margin-top:12px}.gallery-stage{padding-top:15px}.gallery-stage .section-title{font-size:46px}.gallery-stage .kicker{margin-bottom:8px}.gallery-note{font-size:10px;line-height:1.5;min-height:30px;margin-bottom:12px}.gallery-controls{margin-top:12px}.gallery-track{width:min(100%,calc((var(--chapter-height) - 260px)*.78))}.letter-intro{margin-bottom:13px}.envelope-shell{width:240px;height:158px}.envelope-flap{height:94px}.envelope-seal{top:68px}.envelope-button{padding-top:22px}.envelope-instruction{margin-top:24px}
}
@media(max-height:620px){
 .hero-stage{padding:78px 0 5px}.birthday-garland{height:93px}.hero-stage .title{font-size:43px}.birthday-title>em{font-size:1.34em;margin-top:4px}.hero-stage .subtitle{font-size:10px;line-height:1.6;max-width:245px;margin-top:10px}.birthday-candles{height:203px;zoom:.76;margin:8px auto 11px}.swipe-cue{min-height:40px;padding:8px 22px;font-size:11px}
 .film-stage .section-title{font-size:38px;margin-bottom:14px}.film-stage .kicker{margin-bottom:9px;font-size:8px}.film-frame{aspect-ratio:16/9}.film-label,.film-corner{font-size:7px;left:12px;top:12px}.film-corner{top:auto;bottom:12px}.play{width:56px;height:56px}.orientation-guide{padding:11px 4px;gap:8px}.orientation-title{font-size:17px;line-height:1.1}.rotation-lock{width:35px;height:35px;flex-basis:35px}.video-status{margin:6px 0 3px;min-height:12px;font-size:10px}.handwriting{font-size:17px;margin-top:9px}.gallery-stage{padding:10px 0 4px}.gallery-stage .section-title{font-size:36px;margin-bottom:8px}.gallery-stage .kicker{margin-bottom:6px}.gallery-note{font-size:9px;min-height:27px;margin-bottom:9px}.gallery-track{width:min(100%,calc((var(--chapter-height) - 225px)*.78))}.gallery-controls{margin-top:9px;min-height:44px;gap:23px}.gallery-controls button{width:44px;height:44px}.gallery-slide{padding:7px 7px 25px}.polaroid-mark{bottom:6px;font-size:11px}.letter-intro{margin-bottom:5px}.letter-intro .section-title{font-size:40px}.envelope-shell{width:215px;height:140px}.envelope-flap{height:83px}.envelope-seal{top:58px;width:38px;height:38px}.envelope-instruction{margin-top:21px;font-size:10px}.envelope-subtitle{margin-top:10px;font-size:10px}.letter-paper{inset:9px 0}.letter-paper-content{padding-top:25px}.letter-paper h3{font-size:34px}.letter-full-body p{line-height:1.8}
}
@media(orientation:landscape) and (max-height:600px) and (min-width:480px){
 .panel{padding-left:max(36px,env(safe-area-inset-left) + 18px);padding-right:max(36px,env(safe-area-inset-right) + 18px)}
 .hero-stage{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr;column-gap:24px;padding:44px 0 8px;align-items:center;justify-items:center}.birthday-garland{top:-7px;height:90px;opacity:.85}.hero-title-wrap{grid-column:2;grid-row:1;margin:0;animation:none}.hero-stage .title{font-size:34px;line-height:.9}.birthday-title>em{font-size:1.3em;margin-top:5px}.hero-stage .subtitle{font-size:9px;line-height:1.5;margin-top:9px;max-width:240px}.birthday-candles{grid-column:1;grid-row:1;zoom:.85;margin:0;align-self:end}.swipe-cue{grid-column:2;grid-row:2;min-height:36px;padding:6px 20px;font-size:10px;gap:25px}
 .film-stage{display:grid;grid-template-columns:1.1fr 1fr;grid-template-rows:auto auto auto;column-gap:30px;align-content:center}.film-stage>.kicker{grid-column:2;grid-row:1}.film-stage>.section-title{grid-column:2;grid-row:2}.film-frame{grid-column:1;grid-row:1/4;max-height:260px;align-self:center}.orientation-guide{grid-column:2;grid-row:3}.handwriting{display:none}.video-status{display:block;grid-column:1;grid-row:4;margin:5px 0 0;min-height:0;font-size:9px;line-height:1.3}.film-stage .section-title{font-size:clamp(29px,5.5vw,38px)}
 .gallery-stage{padding:5px 0;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto auto;column-gap:30px;align-content:center}.gallery-stage>.kicker{grid-column:1;grid-row:1}.gallery-stage>.section-title{grid-column:1;grid-row:2}.gallery-note{grid-column:1;grid-row:3}.gallery-controls{grid-column:1;grid-row:4}.gallery-images{grid-column:2;grid-row:1/5;height:calc(var(--chapter-height) - 90px)}.gallery-track{width:min(100%,calc((var(--chapter-height) - 90px)*.78))}
 .letter-stage .letter-intro{position:absolute;left:0;right:52%;top:22%}.letter-stage .envelope-button{align-self:flex-end;width:48%}.letter-stage>.envelope-subtitle{position:absolute;left:0;right:52%;bottom:18%;max-width:none}.letter-paper{left:15%;right:15%}.letter-paper-content{padding:25px 35px}
}
@media(prefers-reduced-motion:reduce){.hero-title-wrap,.birthday-candles{opacity:1;transform:none}.is-opening .letter-paper,.is-opening .letter-paper-content{opacity:1;transform:none}}
