:root {
  color-scheme: light;
  --ink: #241a18;
  --wine: #2b171b;
  --ivory: #f8f4eb;
  --gold: #e9c88d;
  --ochre: #785527;
  --line: #d9cdb9;
  --serif: Georgia, "Noto Serif CJK KR", "Noto Serif CJK SC", "Batang", "Songti SC", serif;
  --sans: system-ui, "Noto Sans CJK KR", "Noto Sans CJK SC", "Malgun Gothic", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 1rem/1.7 var(--sans); }
a { color: inherit; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
:focus-visible { outline: 2px solid #a8742f; outline-offset: 5px; }
.skip { position: absolute; left: 1rem; top: -12rem; z-index: 3; padding: .65rem 1rem; background: var(--ivory); }
.skip:focus { top: .5rem; }
.header { background: var(--wine); color: var(--ivory); border-bottom: 1px solid #ffffff26; }
.header-inner { min-height: 78px; width: min(100% - 8vw, 1480px); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 .9rem/1.05 var(--serif); letter-spacing: .13em; }
.seal { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #e9c88d9e; color: var(--gold); border-radius: 4px; font: 400 20px/1 var(--serif); }
.nav,.language { display: flex; flex-wrap: wrap; gap: clamp(.65rem,2.5vw,2.8rem); align-items: center; }
.nav a,.language a { text-decoration: none; font-size: .83rem; }
.nav a:hover,.language a:hover { color: var(--gold); }
.language { gap: .55rem; }
.language a { border: 1px solid transparent; padding: .15rem .4rem; }
.language [aria-current] { border-color: #e9c88d75; color: var(--gold); }
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: min(740px,82vh); background: var(--wine); color: var(--ivory); }
.hero-copy { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; padding: clamp(3.5rem,8vw,9rem) clamp(1.5rem,7vw,9rem); background: radial-gradient(ellipse at 0% 100%,#71363c 0,transparent 68%); }
.hero-inner { padding-bottom: 2rem; }
.hero-media { position: relative; min-height: 100%; overflow: hidden; }
.hero-media img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%; }
.hero-media::after { content: ""; position: absolute; inset: 12px; border: 1px solid #fff7df75; pointer-events: none; }
.eyebrow,.hero-caption { color: var(--ochre); font-size: .72rem; font-weight: 700; letter-spacing: .13em; margin: 0 0 1.1rem; }
.hero .eyebrow,.hero-caption,.partners .eyebrow { color: var(--gold); }
.hero .eyebrow span,.hero-caption span { display: inline-block; vertical-align: middle; width: 26px; height: 1px; background: currentColor; margin-right: .6rem; }
.hero-caption { position: absolute; bottom: 0; font-size: .63rem; }
.hero-caption span { width: 13px; margin: 0 .35rem; }
h1,h2,h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(3rem,5.3vw,6.3rem); letter-spacing: -.055em; }
html[lang="ko"] h1,html[lang="zh-Hans"] h1 { font-size: clamp(2.8rem,5.1vw,6.2rem); line-height: 1.19; }
h2 { font-size: clamp(2rem,3.7vw,4rem); letter-spacing: -.04em; }
h3 { font-size: 1.4rem; }
.tagline { margin: 1.45rem 0 1.8rem; color: #ebd9c1; font-size: clamp(.93rem,1.4vw,1.25rem); }
.actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.button { display: inline-flex; gap: .6rem; align-items: center; justify-content: center; min-height: 44px; padding: .58rem 1rem; text-decoration: none; font-size: .84rem; font-weight: 700; border: 1px solid transparent; }
.primary { background: var(--gold); color: #2b171b; }
.primary:hover { background: #f8dba8; }
.outline { border-color: #f2d9b682; color: var(--ivory); }
.outline:hover { background: #ffffff12; }
.inner { width: min(88%,1280px); margin: 0 auto; }
.film,.split { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(1.5rem,6vw,7rem); }
.film,.gallery,.archives,.visit,.partners { padding-block: clamp(3.25rem,7vw,7rem); }
.section-copy p:last-child,.section-lead,.split p { max-width: 54ch; }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #20161a; }
.archives,.visit { background: #eee6d7; border-block: 1px solid var(--line); }
.volumes { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(.7rem,1.7vw,1.5rem); margin-top: 2rem; }
.volume { display: flex; flex-direction: column; background: var(--ivory); border: 1px solid var(--line); min-width: 0; }
.cover { position: relative; display: grid; gap: .65rem; place-items: center; padding: 1.05rem .35rem; background: #503037; color: #fff2d6; aspect-ratio: 841.92 / 594.96; }
.cover::after { content: ""; position: absolute; inset: 8px; border: 1px solid #fff2d65c; pointer-events: none; }
.cover b { font: 400 clamp(2.1rem,4vw,4.5rem)/1.1 var(--serif); }
.cover span { font-size: clamp(.5rem,.8vw,.66rem); letter-spacing: .1em; }
.v2 .cover { background: #244342; }
.v3 .cover { background: #68441f; }
.v4 .cover { background: #24354b; }
.ebook-cover { width: 100%; height: auto; aspect-ratio: 841.92 / 594.96; object-fit: contain; }
.card-body { flex: 1; display: flex; flex-direction: column; padding: 1.15rem; }
.archive-action { display: flex; justify-content: space-between; align-items: center; gap: .4rem; margin-top: auto; padding: .55rem 0; min-height: 44px; border-top: 1px solid var(--line); color: #63312d; font-size: .85rem; font-weight: 700; }
.archive-action span { white-space: nowrap; font-size: .72rem; }
.card-body time { display: block; color: var(--ochre); font-size: .76rem; margin-bottom: .55rem; }
.card-body p { font-size: .9rem; margin: .6rem 0; }
summary { cursor: pointer; color: #63312d; font-weight: 650; font-size: .87rem; padding-block: .45rem; }
details a { font-size: .87rem; }
.photos { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(.55rem,1.5vw,1.3rem); margin-top: 1.6rem; }
.photo { overflow: hidden; background: #d1be9e; aspect-ratio: 4/5; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%; transition: transform .25s; }
.photo:hover img { transform: scale(1.045); }
dialog { width: fit-content; max-width: 93vw; max-height: 94dvh; padding: .9rem; color: var(--ivory); background: #211719; border: 1px solid #e9c88d75; }
dialog::backdrop { background: #110c10dd; }
dialog img { object-fit: contain; max-height: 78dvh; }
dialog p { margin: .25rem 0 0; max-width: 52ch; font-size: .9rem; }
dialog button { position: absolute; right: 1.1rem; top: 1.1rem; min-width: 44px; min-height: 44px; color: white; background: #251717; border: 1px solid white; font-size: 1.5rem; cursor: pointer; }
.visit-card,.partner-card { border: 1px solid var(--line); padding: clamp(1.3rem,4vw,2.7rem); }
.visit-card { display: grid; gap: .45rem; }
.visit-card a { width: fit-content; color: #63312d; }
.partners { color: var(--ivory); background: #2b171b; }
.partner-card { border-color: #e9c88d70; }
.partner-card p { margin-top: 0; }
.footer { color: #eee3d1; background: #211619; padding: 2rem 0; }
.footer .inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem 2rem; align-items: baseline; }
.footer p { margin: 0; font-size: .84rem; }
.footer .footer-brand { color: var(--gold); font-family: var(--serif); letter-spacing: .12em; }
.error { padding-top: 10vh; }
@media (max-width: 960px) {
  .hero-copy { padding-inline: 5vw; }
  .volumes { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .header-inner { flex-wrap: wrap; padding: .65rem 0; gap: .55rem; }
  .nav { order: 3; flex-basis: 100%; justify-content: space-between; gap: .4rem; }
  .nav a,.language a { padding-block: .33rem; }
  .hero,.film,.split { grid-template-columns: 1fr; }
  .hero-copy { padding: 3.05rem 6vw 1.8rem; }
  .hero-media { min-height: 480px; min-height: min(115vw,545px); }
  .photos { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { transition: none !important; }
}
