:root{color-scheme:dark;--ink:#171321;--cream:#fff2db;--muted:#d5c7ad;--gold:#edbd83;--line:#eac59648;--gutter:clamp(1.15rem,5vw,5.5rem);--serif:"Noto Serif KR","Batang","AppleMyungjo",serif;--sans:Pretendard,"Malgun Gothic","Apple SD Gothic Neo",sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:0}body{margin:0;background:var(--ink);color:var(--cream);font:1rem/1.65 var(--sans);word-break:keep-all}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid #ffd8a6;outline-offset:5px}.skip{position:fixed;left:1rem;top:-10rem;z-index:20;background:var(--ink);padding:.65rem}.skip:focus{top:1rem}footer a{white-space:nowrap;color:var(--muted)}footer a:hover{color:var(--gold)}.hero{position:relative;isolation:isolate;min-height:100svh;display:grid;place-items:center;text-align:center;padding:4rem var(--gutter) 5.5rem;overflow:hidden}.hero-art{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:58% 49%}.hero:after,.ending:after{background:var(--scene-shade)}.hero-copy{max-width:36rem}.overline{font-size:.875rem;letter-spacing:.085em;font-weight:650;color:var(--gold);margin:0 0 1.15rem}h1,h2,h3,p{margin-top:0}h1{font:700 clamp(5.4rem,12vw,11.5rem)/1 var(--serif);letter-spacing:-.1em;margin:0 0 1.3rem}h1 span{font-size:.24em;letter-spacing:.05em;margin-left:1rem;color:var(--gold);vertical-align:middle}h2{font:700 clamp(2rem,4.4vw,4.7rem)/1.19 var(--serif);letter-spacing:-.073em;margin:0 0 1.5rem}.intro{font-size:clamp(1rem,1.4vw,1.2rem);color:#f3e4ca;margin:0 0 2rem}.cta{display:inline-flex;align-items:center;gap:.8rem;padding:.7rem 1.25rem;min-height:3.1rem;background:#f0c695;color:#211911;border:1px solid #f0c695;border-radius:.18rem;font-weight:700;transition:transform .2s,background .2s}.cta:hover{transform:translateY(-2px);background:#ffe0b4}.cta:active{transform:translateY(0)}.story{position:relative;isolation:isolate;background:#171321;--stage:100svh}.stage{height:var(--stage);position:sticky;top:0;overflow:hidden}.stage-art{position:absolute;inset:0;background:#21192a}.stage-art:after{content:"";position:absolute;inset:0;background:var(--scene-shade)}.stage-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:57% center;opacity:0;transition:opacity .65s ease,transform .9s ease;transform:scale(1.025)}.stage-art img.active{opacity:1;transform:scale(1)}.stage-top{position:absolute;z-index:2;left:var(--gutter);right:var(--gutter);top:1.5rem;display:flex;align-items:center;justify-content:space-between;color:var(--gold);font-size:.875rem}.progress{display:flex;align-items:center;gap:.35rem}.progress a{width:1.55rem;height:2rem;display:grid;place-items:center}.progress a:after{content:"";display:block;width:100%;height:2px;background:#fae5bd79;transition:background .2s,height .2s}.progress a[aria-current]:after,.progress a:hover:after{height:4px;background:#f3c384}.steps{margin-top:calc(-1 * var(--stage));position:relative;pointer-events:none}.steps article{min-height:var(--stage);padding:5rem var(--gutter) 4rem;display:grid;place-items:center;text-align:center;scroll-margin-top:0}.steps article>div{max-width:39rem;pointer-events:auto}.steps article p:not(.overline),.ritual-copy>p:not(.overline),.ritual-detail p{color:var(--muted);line-height:1.85;font-size:clamp(1rem,1.3vw,1.14rem)}.text-link{display:inline-block;color:var(--gold);border-bottom:1px solid;padding:.35rem 0}.rituals{position:relative;isolation:isolate;display:grid;place-items:center;text-align:center;min-height:100svh;padding:4rem var(--gutter);background:#171321}.ritual-copy h2{font-size:clamp(2.25rem,4.45vw,4.25rem)}.choices{display:flex;flex-wrap:wrap;gap:.4rem;margin:1.5rem 0}.choices button,.dialog-top button{padding:.45rem .65rem;border:1px solid var(--line);background:transparent;border-radius:.14rem;min-height:2.75rem;font-size:.875rem;transition:background .2s,transform .2s}.choices button:hover,.dialog-top button:hover{background:#4a3d29;transform:translateY(-2px)}.choices button[aria-pressed=true]{background:#4a3d29;border-color:var(--gold);box-shadow:inset 0 -2px var(--gold)}.ritual-detail{border-top:1px solid var(--line);padding-top:1.2rem;min-height:8.5rem}.ritual-detail h3{font:700 1.3rem var(--serif);margin-bottom:.45rem}.ending{position:relative;isolation:isolate;min-height:100svh;display:grid;place-items:center;text-align:center;padding:4rem var(--gutter) 8rem}.ending:after{background:linear-gradient(0deg,#171321e0,#17132132 80%),radial-gradient(ellipse,#171321a8,transparent 75%)}.ending h2{margin-bottom:1.75rem}footer{padding:1.5rem var(--gutter);display:flex;justify-content:space-between;gap:1rem;border-top:1px solid var(--line);color:var(--muted);font-size:.875rem}dialog{width:min(93vw,66rem);max-height:90svh;background:#21192a;color:var(--cream);border:1px solid var(--line);padding:1rem;margin:auto}dialog::backdrop{background:#100b17dd}.dialog-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem;gap:1rem}.dialog-top h2{font-size:1.55rem;margin:0}.gallery-main{width:100%;max-height:62svh;object-fit:contain;display:block;background:#171321}.thumbnails{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.45rem;margin-top:.8rem}.thumbnails button{border:1px solid transparent;background:transparent;padding:2px;min-height:44px}.thumbnails button[aria-pressed=true]{border-color:var(--gold)}.thumbnails img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}@media(max-width:680px){.hero-art{object-position:57% center}.hero-copy{max-width:25rem}.stage-top{top:.75rem}.stage-top>span{font-size:.75rem}.progress a{width:1.15rem}.steps article>div{max-width:100%}.steps article h2{margin-bottom:.7rem}.steps article .overline{margin-bottom:.5rem}.steps article p:not(.overline){margin-bottom:.65rem;line-height:1.6}.ritual-detail{min-height:0}footer{font-size:.8rem}}:root{--scene-shade: linear-gradient(180deg, #15101dd0, transparent 25%, transparent 76%, #15101db8), radial-gradient(ellipse at center, #15101de8 0%, #15101db5 30%, #15101d48 62%, #15101d12 100%)}.hero-copy,.steps article>div,.ritual-copy,.ending>div:not(.fitted-art){color:var(--cream);text-shadow:0 2px 4px #100b17,0 2px 18px #100b17}.steps article p:not(.overline),.ritual-copy>p:not(.overline),.ritual-detail p{color:#fff2db}.ritual-copy{width:min(100%,52rem)}.choices{justify-content:center}.stage-top{text-shadow:0 2px 8px #100b17;pointer-events:none}.progress{pointer-events:auto}.hero-copy,.steps article[data-active]>div,.ritual-message{animation:text-reveal .56s cubic-bezier(.2,.65,.3,1) both}@keyframes text-reveal{0%{opacity:0;filter:blur(5px);transform:translateY(9px)}to{opacity:1;filter:blur(0);transform:translateY(0)}}@media(max-width:680px){:root{--scene-shade: linear-gradient(180deg, #15101db8, #15101d26 17%, #15101de6 38%, #15101dd9 70%, #15101d40 93%, #15101d88)}.steps article{padding-block:4.25rem 2.75rem}.rituals{padding-block:3.5rem}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}.hero-copy .cta{text-shadow:none}.ritual-detail{min-height:0}footer{flex-wrap:wrap;justify-content:flex-start}footer span{margin-inline-end:auto}:root{--radius-control: .8rem;--radius-surface: clamp(.85rem, 2vw, 1.4rem)}.cta{border-radius:999px;text-shadow:none}.choices button,.dialog-top button{border-radius:var(--radius-control);padding-inline:.85rem}.choices button[aria-pressed=true]{background:#493b2c;box-shadow:inset 0 0 0 1px #edbd8340}.progress a:after{border-radius:.65rem}dialog{border-radius:var(--radius-surface)}dialog{box-shadow:0 16px 48px #100b1748}dialog::backdrop{background:#100b17c7}.thumbnails button{border-radius:.55rem}.thumbnails img{border-radius:.4rem}.choices button:not([aria-pressed=true]){background:#38273de8}.choices button[aria-pressed=true]{background:#5d3b55;border-color:#f2b8d4;box-shadow:inset 0 0 0 1px #f2b8d43b}footer a{display:inline-flex;align-items:center;min-height:44px}.hero{min-height:100svh;align-items:end;padding-top:8rem}.hero-art{object-position:50% 45%}.hero:after,.ending:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#15101de0,#15101d48 36%,transparent 66%)}.hero-copy h1{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.hero-copy .intro{margin-bottom:0;text-wrap:pretty}.ending:after{background:linear-gradient(0deg,#15101de0,transparent 60%),var(--scene-shade)}.ending footer{position:absolute;inset:auto 0 0;align-items:center;text-align:start;padding-block:.65rem;gap:.25rem 1rem}footer a{white-space:nowrap}#gallery{isolation:isolate;aspect-ratio:16 / 9;min-height:min(34rem,86svh)}#gallery[open]{display:flex;flex-direction:column;justify-content:space-between}.gallery-main{position:absolute;inset:0;height:100%;max-height:none;object-fit:cover;z-index:-2}#gallery:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(#15101dd9,transparent 26%,transparent 66%,#15101de8)}#gallery .dialog-top button{background:#21192abf}.thumbnails{grid-template-columns:repeat(8,minmax(0,1fr))}@media(max-width:680px){.hero{padding-bottom:4rem}.ending{padding-bottom:9rem}.ending footer span{flex-basis:100%}#gallery{aspect-ratio:auto;min-height:72svh}.thumbnails{grid-template-columns:repeat(4,minmax(0,1fr))}}.rotate-notice{display:none}@media(orientation:portrait)and (pointer:coarse){.skip,main{display:none}.rotate-notice{display:grid;align-content:center;min-height:100svh;padding:2rem var(--gutter);text-align:center;background:linear-gradient(#15101da8,#15101de0),url(/appstore/01.webp?v=cover-2) center / cover}.rotate-notice p{margin:.35rem 0}.rotate-notice p:first-child{font-size:1.25rem;font-weight:700}}@media(orientation:landscape)and (max-height:500px){.hero{padding-block:4rem 1.5rem}.stage-top{top:.35rem}.progress a{height:44px}.steps article{padding-block:3rem 1rem}.steps article h2{margin-bottom:.65rem}.steps article p:not(.overline){line-height:1.55;margin-bottom:.65rem}.rituals{padding-block:1.5rem}.ending{padding-block:1.5rem 5rem}#gallery{min-height:0;height:90svh;aspect-ratio:auto}}.language-picker{position:fixed;z-index:7;top:max(.5rem,env(safe-area-inset-top));right:max(.6rem,env(safe-area-inset-right));display:flex;align-items:center;gap:.25rem;padding-left:.55rem;border:1px solid var(--line);border-radius:999px;background:#171321e8}.language-picker select{min-height:44px;padding:0 .45rem 0 .1rem;border:0;border-radius:999px;font:inherit;font-size:.8125rem;color:var(--cream);background:#171321}.language-picker select:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.stage-top{right:max(8.5rem,calc(env(safe-area-inset-right) + 8rem))}@media(max-width:480px){.stage-top>span{display:none}.stage-top nav{margin-left:auto}}@font-face{font-family:Dowon Story Latin;src:url(/fonts/story-latin.woff2) format("woff2");font-weight:400 600;font-display:swap}@font-face{font-family:Dowon Story Korean;src:url(/fonts/story-ko.woff2) format("woff2");font-weight:400 600;font-display:swap}@font-face{font-family:Dowon Story Chinese;src:url(/fonts/story-zh.woff2) format("woff2");font-weight:400 600;font-display:swap}.story{--story-font: "Dowon Story Latin", Georgia, serif;--scene-shade: linear-gradient(180deg, #15101d65, #15101d19 28%, #15101d19 75%, #15101d48)}:lang(ko) .story{--story-font: "Dowon Story Korean", "AppleMyungjo", Batang, serif}:lang(zh-Hans) .story{--story-font: "Dowon Story Chinese", "Songti SC", SimSun, serif}.stage-top{justify-content:flex-end}.progress{gap:0}.progress a{width:clamp(1.3rem,4vw,2.75rem);height:44px;padding-inline:.18rem}.steps article{display:block;padding:0;min-height:auto}.steps article>.story-beat{display:grid;place-items:center;max-width:none;min-height:var(--stage);padding:clamp(4rem,10svh,7rem) var(--gutter);pointer-events:none}.story-beat>div{width:min(100%,34rem);padding:clamp(1rem,3vw,2rem);isolation:isolate;position:relative;font-family:var(--story-font);pointer-events:auto}.story-beat>div:before{content:"";position:absolute;z-index:-1;inset:-4rem max(-10vw,-7rem);background:radial-gradient(ellipse closest-side,#231831cc 0%,#231831b8 55%,#23183163 79%,transparent 100%);pointer-events:none}.story-beat{overflow:clip}.story-beat h2,.story-beat h3{font-family:inherit;font-size:clamp(1.05rem,1.8vw,1.55rem);font-weight:500;letter-spacing:-.02em;line-height:1.35;margin-bottom:1rem;text-wrap:balance}.steps article .story-beat p:not(.overline){font-size:clamp(.8125rem,.68rem + .28vw,.9375rem);font-weight:400;line-height:1.8;margin:0 0 .6em;text-align:start;overflow-wrap:anywhere}.story-beat p+p{text-indent:1em}.story-beat p:has(>em:only-child){text-indent:0}.story-beat strong{font-weight:600}.story-beat p:last-child{margin-bottom:0}.steps article #story-title+p:not(.overline){text-align:center;margin-bottom:1.65rem}.thumbnails{grid-template-columns:repeat(3,minmax(0,1fr))}@media(orientation:landscape)and (max-height:500px){.story-beat>div{width:min(100%,29rem);padding:.75rem 1rem}.steps article>.story-beat{padding-block:3.5rem 1.25rem}}.rituals{align-items:end;padding-block:4rem max(.65rem,env(safe-area-inset-bottom))}.rituals .choices{margin:0}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.fitted-art{position:absolute;inset:0;z-index:-2;overflow:hidden;background:#23182e}.fitted-art:before{content:"";position:absolute;inset:-1rem;background:linear-gradient(#37224d8c,#211429bd),var(--backdrop-art) center / cover;filter:blur(16px)}.fitted-art img{position:relative;display:block;width:100%;height:100%;object-fit:contain}.rituals{--item-controls-space: calc(3.65rem + env(safe-area-inset-bottom)) }.item-art img{padding-block:.5rem var(--item-controls-space)}@media(max-width:680px){.rituals:lang(vi){--item-controls-space: calc(6.2rem + env(safe-area-inset-bottom)) }}@media(orientation:landscape)and (max-height:500px){.ending footer span{flex-basis:auto}}
