.invitation-intro{box-sizing:border-box;position:fixed;inset:0;margin:auto;padding:0;width:100%;max-width:480px;height:100vh;height:100svh;max-height:none;border:0;overflow:hidden;background:transparent;color:var(--intro-script);opacity:1;transition:opacity .4s ease}
.invitation-intro::backdrop{background:transparent}
.intro-welcome{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;background:var(--intro-paper);overflow:hidden;opacity:1;transition:opacity .7s ease,transform .9s cubic-bezier(.22,.6,.28,1),clip-path .9s cubic-bezier(.22,.6,.28,1),border-radius .9s ease}
.intro-type{position:relative;z-index:1;width:100%;padding:0 28px;opacity:0;transition:opacity .3s ease}
.intro-type h1{margin:0;font:400 clamp(24px,7vw,33px)/1.7 'Nanum Myeongjo',Georgia,serif;text-align:center;word-break:keep-all;letter-spacing:.02em;color:var(--intro-script)}
.intro-line{display:block;overflow:hidden}.intro-line-content{display:block}.intro-glyph{display:inline-block;white-space:pre;font-style:inherit}
.intro-playing .intro-type,.intro-playing .intro-art{opacity:1}
.intro-art{position:absolute;left:50%;transform:translateX(-50%);pointer-events:none;z-index:1;color:var(--intro-script);opacity:0;transition:opacity .3s ease}
.intro-art svg{width:100%;height:100%;display:block;stroke:currentColor;stroke-width:1;stroke-linecap:round;stroke-linejoin:round}
.intro-art path{stroke-dasharray:1;stroke-dashoffset:1}
.intro-panels{position:absolute;inset:0;z-index:0}.intro-panels i{position:absolute;display:block;background:var(--intro-paper);transition:transform .85s cubic-bezier(.3,.65,.3,1)}
.meet-panels i{left:0;width:100%;height:50.5%;top:0}.meet-panels i+i{top:49.5%}
[data-intro-scene=meet] .intro-welcome,[data-intro-scene=roll] .intro-welcome,[data-intro-scene=curtains] .intro-welcome{background:transparent}
.meet-art{top:calc(50% + 46px);width:250px;height:30px}
[data-intro-scene=meet] .intro-type{transform:translateY(-12px)}
.intro-playing[data-intro-scene=meet] .intro-glyph{animation:moment-meet-type .9s calc(.18s + var(--glyph)*.09s) both}
.intro-playing .meet-art path{animation:moment-line-meet 1.4s ease both}
@keyframes moment-meet-type{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@keyframes moment-line-meet{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
.grow-art{top:calc(50% - 158px);width:220px;height:170px}
[data-intro-scene=grow] .intro-type{transform:translateY(50px)}
.intro-playing .grow-stem{animation:moment-stem-grow 1.3s .05s both}
.intro-playing .grow-leaves{animation:moment-leaves-grow 1.2s .45s both}
.intro-playing[data-intro-scene=grow] .intro-glyph{animation:moment-seed-type 1s calc(.55s + var(--glyph)*.055s) both}
@keyframes moment-stem-grow{from{stroke-dashoffset:1;opacity:.2}to{stroke-dashoffset:0;opacity:1}}
@keyframes moment-leaves-grow{from{stroke-dashoffset:1;opacity:0}to{stroke-dashoffset:0;opacity:.7}}
@keyframes moment-seed-type{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
[data-intro-scene=grow] .intro-welcome{clip-path:ellipse(150% 120% at 50% 0)}
.drift-art{inset:0;left:0;transform:none;width:100%;height:100%}.drift-art i{position:absolute;width:18px;height:33px;display:block;background:color-mix(in srgb,var(--intro-script) 20%,transparent);border-radius:90% 10% 90% 10%;top:26%;left:20%;rotate:-20deg}
.drift-art i:nth-child(2){top:35%;left:77%;rotate:70deg}.drift-art i:nth-child(3){top:66%;left:33%;rotate:20deg}
.intro-playing .drift-art i{animation:moment-petal-drift 2.1s ease both}.intro-playing .drift-art i:nth-child(2){animation-delay:.2s}.intro-playing .drift-art i:nth-child(3){animation-delay:.4s}
[data-intro-scene=drift] h1{font-style:italic;line-height:2}
.intro-playing[data-intro-scene=drift] .intro-glyph{animation:moment-petal-type 1.2s calc(.2s + var(--glyph)*.07s) both}
@keyframes moment-petal-drift{from{opacity:0;transform:translate(-28px,-30px) rotate(-12deg)}45%{opacity:1}to{opacity:.6;transform:translate(20px,26px) rotate(35deg)}}
@keyframes moment-petal-type{from{opacity:0;transform:translateX(-4px)}to{opacity:1;transform:translateX(0)}}
.crop-art{top:calc(50% - 135px);left:28px;right:28px;width:auto;transform:none}.crop-art i{display:block;height:3px;background:#bd5b61;width:48px;transform-origin:left}
.crop-art span{display:block;margin-top:12px;font:9px Arial,sans-serif;letter-spacing:.14em}
[data-intro-scene=crop] h1{font:600 clamp(36px,11vw,55px)/1.12 Arial,sans-serif;letter-spacing:-.04em;text-align:left}
.intro-playing[data-intro-scene=crop] .intro-line-content{animation:moment-crop-type .85s calc(.15s + var(--row)*.16s) cubic-bezier(.2,.7,.2,1) both}
.intro-playing .crop-art i{animation:moment-red-rule .8s .1s both}
@keyframes moment-crop-type{from{transform:translateY(115%)}to{transform:translateY(0)}}
@keyframes moment-red-rule{from{transform:scaleX(0)}to{transform:scaleX(1)}}
[data-intro-scene=crop] .intro-welcome{clip-path:inset(0 0 0 0)}
.constellation-art{top:calc(50% - 165px);width:275px;height:145px;opacity:.8}
.constellation-art circle{fill:currentColor;stroke:none}
.intro-playing .constellation-art path{animation:moment-constellation 1.5s .2s both}
.intro-playing .constellation-art circle{animation:moment-star-point 1s both}.intro-playing .constellation-art circle:nth-of-type(2){animation-delay:.3s}.intro-playing .constellation-art circle:nth-of-type(3){animation-delay:.6s}.intro-playing .constellation-art circle:nth-of-type(4){animation-delay:.9s}
.intro-playing[data-intro-scene=constellation] .intro-glyph{animation:moment-night-type 1s calc(.5s + var(--glyph)*.06s) both}
@keyframes moment-constellation{from{stroke-dashoffset:1;opacity:0}to{stroke-dashoffset:0;opacity:.45}}
@keyframes moment-star-point{0%{opacity:0}50%{opacity:1}100%{opacity:.65}}
@keyframes moment-night-type{from{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur(0)}}
[data-intro-scene=constellation] .intro-welcome{clip-path:inset(0 0 0 0)}
.fold-art{top:calc(50% + 45px);width:100%;height:120px;opacity:.3}
.intro-playing .fold-art path{animation:moment-fold-crease 1.5s .1s both}
[data-intro-scene=fold] h1{font:400 clamp(34px,10vw,48px)/1.5 'Gaegu',cursive;letter-spacing:.04em}
.intro-playing[data-intro-scene=fold] .intro-line-content{animation:moment-letter-unfold 1.05s calc(.15s + var(--row)*.25s) both;transform-origin:50% 100%}
@keyframes moment-fold-crease{from{stroke-dashoffset:1;opacity:0}to{stroke-dashoffset:0;opacity:.35}}
@keyframes moment-letter-unfold{from{opacity:0;transform:perspective(500px) rotateX(-55deg) translateY(14px)}to{opacity:1;transform:perspective(500px) rotateX(0) translateY(0)}}
.roll-panels i{left:0;right:0;height:34%;top:calc(var(--panel)*33.333%);transition-delay:calc(var(--panel)*.07s)}
.roll-art{top:calc(50% - 138px);width:calc(100% - 56px);font:9px Arial,sans-serif;letter-spacing:.18em;text-align:center}.roll-art i{display:block;height:1px;background:currentColor;width:36px;margin:20px auto}
[data-intro-scene=roll] h1{font:400 clamp(50px,17vw,78px)/1.1 Georgia,serif;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.intro-playing[data-intro-scene=roll] .intro-glyph{animation:moment-date-roll .85s calc(.15s + var(--glyph)*.075s) cubic-bezier(.2,.7,.2,1) both}
@keyframes moment-date-roll{from{opacity:0;transform:translateY(120%)}to{opacity:1;transform:translateY(0)}}
.blossom-art{top:calc(50% - 155px);width:240px;height:180px}
.intro-playing .bloom-stem{animation:moment-bloom-stem 1.1s both}.intro-playing .bloom-petals{animation:moment-bloom-petals 1.5s .25s both}.intro-playing .blossom-art circle{animation:moment-bloom-heart 1s .55s both}
[data-intro-scene=blossom] .intro-type{transform:translateY(57px)}
.intro-playing[data-intro-scene=blossom] .intro-glyph{animation:moment-bloom-type 1s calc(.65s + var(--glyph)*.045s) both}
@keyframes moment-bloom-stem{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes moment-bloom-petals{from{stroke-dashoffset:1;fill:transparent}to{stroke-dashoffset:0;fill:color-mix(in srgb,var(--intro-script) 8%,transparent)}}
@keyframes moment-bloom-heart{from{opacity:0;transform:translateY(4px)}to{opacity:.6;transform:translateY(0)}}
@keyframes moment-bloom-type{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
[data-intro-scene=blossom] .intro-welcome{clip-path:circle(145% at 50% 50%)}
.wave-art{top:calc(50% + 44px);width:115%;height:140px}
.intro-playing .wave-art path{animation:moment-wave-line 1.7s ease both}.intro-playing .wave-art path+path{animation-delay:.2s}
.intro-playing[data-intro-scene=wave] .intro-glyph{animation:moment-tide-type 1.2s calc(.1s + var(--glyph)*.055s) both}
@keyframes moment-wave-line{from{stroke-dashoffset:1;transform:translateX(-12px);opacity:0}to{stroke-dashoffset:0;transform:translateX(12px);opacity:.5}}
@keyframes moment-tide-type{from{opacity:0;transform:translateY(7px) rotate(2deg)}to{opacity:1;transform:translateY(0) rotate(0)}}
.curtain-panels i{top:0;bottom:0;left:0;width:50.5%}.curtain-panels i+i{left:49.5%}
.film-art{top:calc(50% - 145px);width:160px;text-align:center;font:8px Arial,sans-serif;letter-spacing:.2em}.film-art i{display:block;height:16px;border-top:2px solid currentColor;border-bottom:1px solid currentColor;margin-bottom:16px;transform-origin:left}
.intro-playing .film-art i{animation:moment-clapper 1s .15s both}
[data-intro-scene=curtains] h1{font:400 italic clamp(40px,12vw,64px)/1.2 'Cormorant Garamond',Georgia,serif;letter-spacing:.03em}
.intro-playing[data-intro-scene=curtains] .intro-line-content{animation:moment-film-title 1.2s calc(.2s + var(--row)*.18s) both}
@keyframes moment-clapper{from{transform:rotate(-12deg);opacity:0}to{transform:rotate(0);opacity:.6}}
@keyframes moment-film-title{from{opacity:0;transform:translateY(9px);letter-spacing:.18em}to{opacity:1;transform:translateY(0);letter-spacing:.03em}}
.intro-photo-shade{position:absolute;inset:0;z-index:0;background:#0005;opacity:0;transition:opacity .7s ease}
.intro-photo-caption{position:absolute;z-index:1;left:var(--intro-caption-x,50%);top:var(--intro-caption-y,65%);width:var(--intro-caption-width,calc(100% - 44px));transform:translate(-50%,-50%);margin:0;text-align:center;font:400 var(--intro-caption-size,21px)/1.7 'Nanum Myeongjo',Georgia,serif;word-break:keep-all;overflow-wrap:anywhere;color:var(--intro-caption);opacity:0;text-shadow:0 1px 6px #0003}
[data-intro-scene=crop] .intro-photo-caption,[data-intro-scene=roll] .intro-photo-caption{font-family:Arial,sans-serif;letter-spacing:.08em}
[data-intro-scene=fold] .intro-photo-caption{font-family:'Gaegu',cursive}
[data-intro-scene=curtains] .intro-photo-caption{font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;letter-spacing:.08em}
.intro-photo-stage .intro-welcome{opacity:0}.intro-photo-stage .intro-photo-shade{opacity:1}.intro-photo-stage .intro-photo-caption{animation:moment-photo-caption .8s .25s both}
.intro-photo-stage .intro-type,.intro-photo-stage .intro-art{opacity:0!important;transition:opacity .25s ease}
.intro-photo-stage[data-intro-scene=meet] .intro-welcome,.intro-photo-stage[data-intro-scene=roll] .intro-welcome,.intro-photo-stage[data-intro-scene=curtains] .intro-welcome,.intro-photo-stage[data-intro-scene=grow] .intro-welcome,.intro-photo-stage[data-intro-scene=crop] .intro-welcome,.intro-photo-stage[data-intro-scene=constellation] .intro-welcome,.intro-photo-stage[data-intro-scene=blossom] .intro-welcome,.intro-photo-stage[data-intro-scene=wave] .intro-welcome{opacity:1}
.intro-photo-stage .meet-panels i:first-child{transform:translateY(-104%)}.intro-photo-stage .meet-panels i+i{transform:translateY(104%)}
.intro-photo-stage[data-intro-scene=grow] .intro-welcome{clip-path:ellipse(150% 0% at 50% 0)}
.intro-photo-stage[data-intro-scene=drift] .intro-welcome{transform:translateY(-14px)}
.intro-photo-stage[data-intro-scene=crop] .intro-welcome{clip-path:inset(0 100% 0 0)}
.intro-photo-stage[data-intro-scene=constellation] .intro-welcome{clip-path:inset(50% 0 50% 0)}
.intro-photo-stage[data-intro-scene=fold] .intro-welcome{transform-origin:50% 0;transform:perspective(900px) rotateX(65deg) translateY(-105%)}
.intro-photo-stage .roll-panels i{transform:translateX(-104%)}.intro-photo-stage .roll-panels i:nth-child(2){transform:translateX(104%)}
.intro-photo-stage[data-intro-scene=blossom] .intro-welcome{clip-path:circle(0% at 50% 50%)}
.intro-photo-stage[data-intro-scene=wave] .intro-welcome{border-radius:45% 45% 0 0;transform:translateY(105%)}
.intro-photo-stage .curtain-panels i:first-child{transform:translateX(-104%)}.intro-photo-stage .curtain-panels i+i{transform:translateX(104%)}
@keyframes moment-photo-caption{from{opacity:0;translate:0 6px}to{opacity:1;translate:0 0}}
.intro-without-photo .intro-photo-shade{background:#0001}.intro-without-photo .intro-photo-caption{color:var(--intro-script);text-shadow:none}
.intro-skip{position:absolute;inset:0;z-index:3;width:100%;height:100%;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer;-webkit-tap-highlight-color:transparent}.intro-skip:focus,.intro-skip:focus-visible{outline:0}
.intro-leaving{opacity:0;pointer-events:none}
@media(max-width:340px){.intro-type{padding:0 20px}.intro-type h1{font-size:24px}[data-intro-scene=crop] h1{font-size:36px}[data-intro-scene=roll] h1{font-size:53px}[data-intro-scene=fold] h1{font-size:34px}[data-intro-scene=curtains] h1{font-size:40px}}
@media(max-height:500px){.intro-type h1{font-size:21px}.grow-art,.blossom-art{width:85px;height:100px;top:calc(50% - 105px)}[data-intro-scene=grow] .intro-type,[data-intro-scene=blossom] .intro-type{transform:translateY(28px)}.constellation-art{width:160px;height:80px;top:calc(50% - 100px)}[data-intro-scene=crop] h1{font-size:34px}.crop-art{top:calc(50% - 110px)}[data-intro-scene=roll] h1{font-size:46px}.roll-art{top:calc(50% - 110px)}[data-intro-scene=fold] h1{font-size:30px}.fold-art{top:calc(50% + 15px)}[data-intro-scene=curtains] h1{font-size:36px}.film-art{top:calc(50% - 110px)}.wave-art{height:100px;top:calc(50% + 25px)}}
@media(prefers-reduced-motion:reduce){.invitation-intro,.intro-welcome,.intro-panels i,.intro-photo-shade{transition:none}.invitation-intro *{animation:none!important;filter:none!important}.intro-playing .intro-type,.intro-playing .intro-art,.intro-playing .intro-glyph,.intro-playing .intro-line-content{opacity:1;transform:none}.intro-playing .intro-art path{stroke-dashoffset:0}.intro-photo-stage .intro-welcome{opacity:0!important;transform:none!important;clip-path:none!important}.intro-photo-stage .intro-photo-caption{opacity:1}}
