.intro { display: none; }
html.intro-on { animation: ph-intro-lock 2.01s linear; }
html.intro-on.intro-skip { animation: none; }
html.intro-on .intro {
  position: fixed; inset: 0; z-index: 400;
  display: grid; place-items: center;
  background: var(--beige);
  touch-action: pinch-zoom;   
  animation: ph-intro-lift .9s cubic-bezier(.33, 1, .68, 1) 2.01s forwards;
}
html.intro-on.intro-skip-anim .intro { animation: ph-intro-out .5s cubic-bezier(.33, 1, .68, 1) forwards; }
.intro__logo { width: auto; height: min(36vh, 300px, 35vw); max-width: none; overflow: visible; }
html.intro-on .intro__logo { animation: ph-intro-logo-out .6s cubic-bezier(.45, 0, .55, 1) 1.75s forwards; }
html.intro-on.intro-skip-anim .intro__logo { animation: none; }
html.intro-on .intro__sym {
  opacity: 0; transform-box: fill-box; transform-origin: 52% 58%;
  animation: ph-intro-sym 1s cubic-bezier(.22, 1, .36, 1) .08s forwards;
}
html.intro-on .intro .ph-glyph {
  opacity: 0; transform-box: fill-box; transform-origin: 50% 100%;
  animation: ph-intro-glyph .8s cubic-bezier(.16, 1, .3, 1) forwards;
  animation-delay: calc(.4s + var(--i) * 40ms);
}
html.intro-skip .intro__sym, html.intro-skip .intro .ph-glyph { animation-play-state: paused; }
html.intro-skip .intro__logo { opacity: 0; transition: opacity .3s ease-out; }
@keyframes ph-intro-sym { from { opacity: 0; transform: rotate(-30deg) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes ph-intro-glyph { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@keyframes ph-intro-logo-out { to { opacity: 0; transform: translate3d(0, -6vh, 0); } }
@keyframes ph-intro-lock { from, to { overflow: hidden; } }
@keyframes ph-intro-lift { to { transform: translate3d(0, -100%, 0); visibility: hidden; } }
@keyframes ph-intro-out { to { transform: translate3d(0, -100%, 0); visibility: hidden; } }
.hero { position: relative; overflow: hidden; background: var(--paper); }
.hero__stage { position: relative; }
.hero__move { position: relative; height: calc(100vh + 36vh); }
.hero__line {
  position: absolute; left: 0; top: 0; width: 100%; height: 100vh;
  max-width: none; overflow: visible; pointer-events: none;
}
.hero__line path { fill: none; stroke: var(--line); stroke-width: 34; stroke-linecap: round; stroke-linejoin: round; }
.hero__line--narrow { display: none; }
html.line-wait .hero__line path { visibility: hidden; }
.hero__en {
  position: absolute; left: 0; right: 0; top: 0; z-index: 1; height: 100vh;
  display: flex; align-items: center; padding-bottom: 11vh;
}
.hero__title { font-size: var(--fs-display); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; }
.hero__ko {
  position: relative; display: grid; place-items: center; min-height: 86vh;
  padding: clamp(96px, 12vw, 180px) var(--pad);
  background: var(--orange); color: #fff; text-align: center;
}
.hero__ko-text { font-size: clamp(44px, 6.6vw, 112px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }   
.hero__ko-line { display: block; overflow: hidden; padding: 0 .06em .07em; }
.hero__ko-line > span { display: block; }
.hero__ko em { font-style: normal; color: var(--ink); }
.hero__window { display: none; }
html.home-fx .hero { overflow: visible; }
html.hero-steps [data-hero], html.hero-steps .site-header > * { touch-action: pinch-zoom; }
html.home-fx .hero__stage { height: 100vh; height: 100svh; overflow: hidden; background: var(--paper); }
html.home-fx .hero__move { position: absolute; inset: 0; height: auto; }
html.home-fx .hero__line, html.home-fx .hero__en { height: 100%; }
html.home-fx .hero__ko { position: absolute; inset: 0; z-index: 4; min-height: 0; padding: 0 var(--pad); background: none; pointer-events: none; }
html.home-fx .hero__ko-line > span { transform: translateY(112%); }
html.home-fx .hero__window { display: block; position: absolute; inset: 0; z-index: 3; clip-path: inset(50% 50% 50% 50%); opacity: 0; }   
html.home-fx .hero__window .cover-wall { position: absolute; inset: 0; overflow: visible; background: none; }
.cover-wall { position: relative; overflow: hidden; background: var(--orange); container-type: size; }
.cover-wall__grid {
  --cols: 4; --rows: 2; --gx: .14;     
  --cw: min(calc(var(--bw, 88cqw) / (var(--cols) + (var(--cols) - 1) * var(--gx))),
            calc(var(--bh, 80cqh) / (var(--rows) * 1.535 + (var(--rows) - 1) * var(--gx))));   
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; grid-template-columns: repeat(var(--cols), var(--cw)); gap: calc(var(--cw) * var(--gx));
}
.cover-wall__col { display: contents; }
.cover-wall img {
  width: var(--cw); height: calc(var(--cw) * 1.535); max-width: none; object-fit: cover;
  border-radius: max(2px, calc(var(--cw) * .02)); background: #E85C00;
  box-shadow: 0 calc(var(--cw) * .03) calc(var(--cw) * .09) rgba(90, 30, 0, .24);
}
.story__img.cover-wall .cover-wall__col:nth-child(-n+3) { display: none; }
.hero__window .cover-wall__grid { --bw: 90cqw; --bh: 72cqh; }
@container (aspect-ratio >= 1.45) {
  .hero__window .cover-wall__grid { --cols: 6; --rows: 3; }
  .hero__window .cover-wall__col:last-child img:nth-child(n+3) { display: none; }
}
@container (aspect-ratio < 1.45) {
  .hero__window .cover-wall__grid { --cols: 4; --rows: 3; }
  .hero__window .cover-wall__col:nth-child(n+4) { display: none; }
}
@container (aspect-ratio < .62) {   
  .hero__window .cover-wall__grid { --cols: 3; --rows: 4; }
}
.story { padding-block: clamp(96px, 12vw, 180px); }
.story__inner {
  width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad);
  display: grid; gap: clamp(36px, 5vw, 64px);
}
.story__text { container-type: inline-size; }
.story__slogan { font-size: clamp(30px, 11cqi, 64px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.08; white-space: nowrap; }   
.story__title { margin-top: clamp(26px, 2.8vw, 44px); font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.02em; line-height: 1.4; }
.story__body { margin-top: 12px; max-width: 25em; color: var(--ink-2); }
.story__more { margin-top: clamp(22px, 2.4vw, 34px); }
.story__frame { display: grid; gap: clamp(32px, 4vw, 56px); }
.story__item { position: relative; }
.story__img { display: block; position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0; background: #F1ECE3; }
.story__img.cover-wall { background: var(--orange); }
picture.story__img img { width: 100%; height: 100%; object-fit: cover; }
.story__cap { margin-top: 12px; font-size: var(--fs-small); font-weight: 500; color: var(--ink-3); }
.story__status { display: none; }
@media (min-width: 901px) {
  .story__inner { grid-template-columns: minmax(0, 52fr) minmax(0, 40fr); align-items: start; column-gap: clamp(48px, 6vw, 110px); }
  .story__media { grid-column: 1; grid-row: 1; }
  .story__text { grid-column: 2; grid-row: 1; position: sticky; top: max(120px, 30vh); }
  .story--flip .story__inner { grid-template-columns: minmax(0, 40fr) minmax(0, 52fr); }
  .story--flip .story__media { grid-column: 2; }
  .story--flip .story__text { grid-column: 1; }
}
html.home-fx-desk .story { --media-w: min(52vw, calc(var(--max) * .52), calc((100vh - 260px) * 4 / 3)); padding: 0; }   
html.home-fx-desk .story__inner { height: 100vh; align-items: center; grid-template-columns: var(--media-w) minmax(0, 1fr); }
html.home-fx-desk .story--flip .story__inner { grid-template-columns: minmax(0, 1fr) var(--media-w); }
html.home-fx-desk .story__text { position: static; }
html.home-fx-desk .story__media { padding-top: 34px; }
html.home-fx-desk .story__frame { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0; background: #F1ECE3; }
html.home-fx-desk .story__item { position: absolute; inset: 0; }
html.home-fx-desk .story__item .story__img { height: 100%; aspect-ratio: auto; border-radius: 0; }
html.home-fx-desk .story__item:not(:first-child) { clip-path: inset(100% 0 0 0); opacity: 0; }   
html.home-fx-desk .story__cap { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.home-fx-desk .story__status {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  margin-top: 14px; font-size: var(--fs-small); font-weight: 500; color: var(--ink-3); overflow: hidden;
}
.story__status-cap { display: inline-block; }
.story__edge {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 5; height: 4px; margin-top: -2px;   
  background: var(--orange); opacity: 0; pointer-events: none; transform-origin: 0 50%;
}
html.home-fx-desk .story__item .story__img { will-change: transform; }
.story__groups { display: none; }
html.home-fx-desk .story__groups { display: flex; gap: 1.6em; margin-top: 16px; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.story__group { position: relative; padding-bottom: 7px; color: var(--ink-3); opacity: .72; transition: color .5s var(--ease), opacity .5s var(--ease); }
.story__group::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform .55s var(--ease);
}
.story__group.is-on { color: var(--ink); opacity: 1; }
.story__group.is-on::after { transform: scaleX(1); transform-origin: 0 50%; }
.story__status .num { color: var(--ink); font-weight: 700; letter-spacing: .02em; }
.shelf {
  --card-w: clamp(250px, 27vw, 420px);
  --card-gap: clamp(16px, 1.8vw, 28px);
  --band-h: 64px;
  --shelf-move: .95s;   
  --shelf-ease: cubic-bezier(.65, 0, .35, 1);
  padding-block: clamp(96px, 11vw, 160px) clamp(80px, 9vw, 130px);
  overflow: hidden;
}
.shelf__stage { position: relative; touch-action: pan-y; }
.shelf__name {
  height: 1.16em; overflow: hidden; padding-inline: var(--pad); margin-bottom: clamp(26px, 3.4vw, 52px);
  font-size: clamp(42px, 7.4vw, 124px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.08; text-align: center;
}
.shelf__name > span { display: block; white-space: nowrap; }
.shelf__rail { position: relative; }
.shelf__band { position: absolute; left: 0; right: 0; bottom: 0; height: var(--band-h); background: var(--shelf); }
.shelf__track {
  position: relative; z-index: 1;
  display: flex; gap: var(--card-gap); width: max-content;
  cursor: grab; user-select: none; -webkit-user-select: none; will-change: transform;
}
.shelf__track.is-gliding { transition: transform var(--shelf-move) var(--shelf-ease); }
.shelf__track.is-dragging { cursor: grabbing; }
.shelf__item { flex: none; width: var(--card-w); }
.shelf__card {
  display: block; position: relative; aspect-ratio: 3 / 2; overflow: hidden;
  border-radius: 0; background: #F3EEE5; color: var(--ink); text-decoration: none;
  -webkit-user-drag: none;
}
.shelf__card picture, .shelf__card img { display: block; width: 100%; height: 100%; }
.shelf__card img { object-fit: contain; padding: 0; mix-blend-mode: multiply;   
   transition: transform .7s var(--ease); -webkit-user-drag: none; }
@media (hover: hover) { .shelf__item.is-active .shelf__card:hover img { transform: scale(1.035); } }
.shelf__card--type { display: grid; place-content: center; text-align: center; box-shadow: inset 0 0 0 1px var(--rule); }
.shelf__type-en { display: block; font-size: clamp(28px, 3.3vw, 52px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.shelf__type-ko { display: block; margin-top: .55em; font-size: clamp(14px, 1.1vw, 17px); font-weight: 500; color: var(--ink-3); }
.shelf__card:focus-visible { outline-offset: -4px; outline-width: 3px; }
.shelf__label {
  height: var(--band-h); display: flex; align-items: center; justify-content: center; gap: .6em;
  font-size: 15px; white-space: nowrap;
}
.shelf__label-name { font-weight: 700; color: #fff; }
.shelf__label-role { color: #CDBFA9; }
.shelf__arrow {
  --arrow: 56px;
  position: absolute; z-index: 2; top: calc((100% - var(--band-h)) / 2);
  width: var(--arrow); height: var(--arrow); margin: calc(var(--arrow) / -2) 0 0 calc(var(--arrow) / -2);
  display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: #fff; color: var(--ink);
  box-shadow: 0 0 0 1px rgba(29, 25, 26, .1), 0 8px 22px rgba(70, 45, 20, .16);
  transition: background .2s, color .2s, transform .15s var(--ease); -webkit-tap-highlight-color: transparent;
}
.shelf__arrow--prev { left: calc(50% - var(--card-w) / 2 - (var(--card-gap) + var(--card-w) * .08) / 2); }
.shelf__arrow--next { left: calc(50% + var(--card-w) / 2 + (var(--card-gap) + var(--card-w) * .08) / 2); }
@media (hover: hover) { .shelf__arrow:hover { background: var(--ink); color: #fff; } }
.shelf__arrow:active, .shelf__arrow.is-pressed { transform: scale(.92); background: var(--ink); color: #fff; }
.shelf__arrow svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.shelf__controls {
  display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.4vw, 20px);
  margin-top: clamp(20px, 2.4vw, 32px); padding-inline: var(--pad);
}
.shelf__dots { display: flex; align-items: center; }
.shelf__dot {
  display: grid; place-items: center; height: 36px; padding: 0 8px; border: 0; border-radius: 18px;
  background: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.shelf__dot::before {
  content: ""; display: block; width: 8px; height: 8px; border-radius: 4px; background: rgba(29, 25, 26, .3);
  transition: width .5s cubic-bezier(.65, 0, .35, 1), background .3s;
}
.shelf__dot[aria-current="true"]::before { width: 30px; background: var(--ink); }
@media (hover: hover) { .shelf__dot:not([aria-current="true"]):hover::before { background: rgba(29, 25, 26, .62); } }
.shelf__btn {
  flex: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; border: 1.5px solid rgba(29, 25, 26, .28); background: #fff; color: var(--ink);
  transition: background .2s, color .2s, border-color .2s, transform .15s var(--ease); -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) { .shelf__btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; } }
.shelf__btn:active { transform: scale(.92); }
.shelf__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.shelf__btn[hidden] { display: none; }   
.shelf__btn--play .i-play { display: none; fill: currentColor; stroke: none; }
.shelf__btn--play[aria-pressed="true"] .i-play { display: block; }
.shelf__btn--play[aria-pressed="true"] .i-pause { display: none; }
.shelf__noscript { margin-top: 24px; text-align: center; }
.shelf__card { transform-origin: 50% 100%; transition: transform var(--shelf-move) var(--shelf-ease), opacity var(--shelf-move) var(--shelf-ease); }
.shelf__label { transition: opacity var(--shelf-move) var(--shelf-ease); }
.shelf__item:not(.is-active) .shelf__card { transform: scale(.84); opacity: .4; }
.shelf__item:not(.is-active) .shelf__label { opacity: .35; }
.shelf__track.is-snapping .shelf__card, .shelf__track.is-snapping .shelf__label { transition: none; }
.cta { padding-block: clamp(110px, 14vw, 210px); }
.cta__title { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.045em; line-height: 1.08; }
.cta__body { margin-top: clamp(22px, 2.4vw, 34px); max-width: 24em; }
.cta__action { margin-top: clamp(32px, 3.4vw, 48px); }
@media (min-width: 901px) {
  .cta .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: clamp(40px, 6vw, 110px); }
  .cta__title { grid-column: 1; grid-row: 1 / span 2; align-self: end; }
  .cta__body { grid-column: 2; grid-row: 1; align-self: end; margin-top: 0; }
  .cta__action { grid-column: 2; grid-row: 2; }
}
@media (max-width: 900px) {
  .hero__line--wide { display: none; }
  .hero__line--narrow { display: block; }
  .hero__line--narrow path { stroke-width: 16; }
  .hero__move { height: calc(100vh + 24vh); }
  .hero__en { padding-bottom: 8vh; }
  .hero__title { font-size: clamp(46px, 14vw, 84px); line-height: 1.04; }
  .hero__ko-text { font-size: clamp(34px, 10.6vw, 64px); }
  .story { padding-block: clamp(80px, 18vw, 120px); }
  .shelf { --card-w: 72vw; --band-h: 58px; }
  .shelf__label { font-size: 14px; }
  .shelf__arrow { --arrow: 44px; }
  .shelf__arrow svg { width: 20px; height: 20px; }
}
.shelf__rights { margin-top: 18px; text-align: center; font-size: 13px; color: var(--ink-3); }
@media (min-width: 600px) and (max-width: 900px) { .hero__title { font-size: min(84px, 10vw); } }   
.story__img.story__books { display: flex; align-items: flex-end; justify-content: center; gap: 0; padding: 0 4% 6%; background: #F3EEE5; }   
.story__books::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8%; background: var(--shelf); }
.story__books picture { position: relative; z-index: 1; flex: 0 0 47%; min-width: 0; margin-inline: -7.5%; }      
.story__books img { display: block; width: 100%; height: auto; transform: translateY(1.8%); }
.shelf__name { font-size: clamp(36px, 5vw, 84px); }
.cta__title { font-size: var(--fs-h2); }
@media (max-width: 900px) { #worlds .story__slogan, #books .story__slogan { display: none; } }   
html.hero-hdr-mark .site-mark, html.hero-hdr-nav .site-nav ul, html.hero-hdr-nav .site-header > .lang-switch, html.hero-hdr-btn .menu-btn { background: #fff; }   
html.hero-hdr-mark .site-mark:not(:focus-visible), html.hero-hdr-nav .site-nav ul, html.hero-hdr-nav .site-header > .lang-switch, html.hero-hdr-btn .menu-btn:not(:focus-visible) { box-shadow: inset 0 0 0 1px rgba(29, 25, 26, .12); }
@media (hover: hover) { html.hero-hdr-btn .menu-btn:hover { background: #fff; } }
html:not(.js) .shelf__rail, html:not(.js) .shelf__controls, html:not(.js) .shelf__name { display: none; }
.hero__window .books3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .5s ease; }
.hero__window.has-books3d .books3d { opacity: 1; }
.hero__window.has-books3d .cover-wall { visibility: hidden; transition: visibility 0s linear .5s; }
