:root { --paper: #f4f1e9; --ink: #30332c; --muted: #74776b; --rule: #cccbbf; --serif: 'Songti SC', 'STSong', 'Noto Serif CJK SC', serif; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible { outline: 2px solid #52755b; outline-offset: 6px; }
figure { margin: 0; }
.paper-dialog { color: var(--ink); background: var(--paper); border: 0; padding: 0; overscroll-behavior: contain; scrollbar-color: #b9bbad var(--paper); scrollbar-width: thin; }
.paper-dialog::backdrop { background: rgb(42 47 37 / 22%); backdrop-filter: blur(3px); }
.paper-dialog[open] { animation: paper-appear 750ms ease both; }
@keyframes paper-appear { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.quiet-button { background: none; border: none; padding: 12px 0; font-size: 13px; letter-spacing: .06em; }
.quiet-button:hover { color: #61775b; }
.language-switch { min-width: 44px; text-align: right; }
.intro { width: min(820px, calc(100vw - 80px)); max-width: none; max-height: calc(100svh - 64px); box-shadow: 0 12px 80px #30332c15; }
.intro-sheet { padding: 30px 72px 48px; }
.folio { display: flex; justify-content: space-between; align-items: center; font-size: 14px; letter-spacing: .08em; }
#intro-title { font: 66px/1.2 var(--serif); letter-spacing: .12em; margin: 45px 0; outline: none; }
.intro-copy p { font: 18px/2 var(--serif); margin: 0 0 24px; }
.intro-copy p:last-child { margin-bottom: 0; }
.intro-end { margin-top: 38px; display: flex; justify-content: flex-end; }
.text-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 58px; border: 0; border-bottom: 1px solid var(--ink); padding: 14px 0; background: transparent; font: 20px/1.4 var(--serif); text-align: left; transition: color 200ms; }
.text-action > span[aria-hidden] { font: 27px/1 sans-serif; transition: transform 200ms; }
.text-action:hover { color: #647454; }
.text-action:hover > span[aria-hidden] { transform: translate(3px, -3px); }
.map-tools { position: fixed; right: 28px; top: 20px; display: flex; gap: 25px; padding: 0 10px; background: #f8f7f0ed; }
button.map-point { padding: 0; background: transparent; border: 0; min-width: 44px; }
.map-point[data-site="1"]::after { content: ''; position: absolute; inset: -9px; border: 1px solid #5c805d; border-radius: 50%; opacity: 0; pointer-events: none; }
.is-guiding .map-point[data-site="1"]::after { opacity: 1; animation: point-breathe 2.5s ease-in-out infinite; }
.is-guiding .map-point .point-caption { display: none; }
.is-guiding .map-point:not([data-site="1"]) { pointer-events: none; }
@keyframes point-breathe { 0%,100% { transform: scale(1); opacity: .5; } 50% { transform: scale(1.25); opacity: 1; } }
.map-guide { position: absolute; left: calc(8.6914% + 44px); top: calc(31.1419% - 24px); max-width: 230px; padding: 13px 18px; background: #f4f1e9f5; border-left: 1px solid #78836d; animation: paper-appear 800ms ease both; }
.map-guide::before { content: ''; position: absolute; top: 23px; right: 100%; width: 18px; border-top: 1px solid #78836d; }
.map-guide p { font: 16px/1.5 var(--serif); margin: 0; }
.story { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; }
.story::backdrop { background: var(--paper); }
.story-bar { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; height: 68px; padding: 0 4.8vw; background: #f4f1e9f5; border-bottom: 1px solid var(--rule); }
.story article { max-width: 1640px; margin: auto; }
.story-hero { display: grid; grid-template-columns: .85fr 1fr; gap: 10%; padding: 65px 9% 100px; }
.hero-type { padding-top: 18px; }
.site-number { font-size: 14px; letter-spacing: .1em; }
.hero-type h2 { font: clamp(76px,8.3vw,128px)/1.15 var(--serif); letter-spacing: .06em; margin: 55px 0 32px; white-space: pre-line; outline: none; }
.hero-date { font: 26px Georgia, serif; margin: 0; }
.hero-date span { font: 14px var(--serif); margin-left: 20px; }
.image-button { padding: 0; display: block; width: 100%; border: 0; background: transparent; cursor: zoom-in; }
.image-button img { width: 100%; height: auto; display: block; }
.gate-figure img { aspect-ratio: 3/4; object-fit: cover; }
figcaption { font-size: 13px; line-height: 1.8; color: var(--muted); padding-top: 16px; }
.chapter { padding: 60px 9% 0; }
.wide-figure { margin-right: 8%; }
.wide-figure img { aspect-ratio: 4/3; object-fit: cover; }
.residents-note { max-width: 480px; margin: 38px 0 100px auto; font: 24px/1.9 var(--serif); }
.life { background: #ecebe3; padding-top: 100px; padding-bottom: 100px; }
.stage-figure { width: 73%; margin: 0 0 100px auto; }
.stage-figure img { aspect-ratio: 4/3; object-fit: cover; }
.film-figure { margin-bottom: 100px; }
.film-figure video { display: block; width: 100%; aspect-ratio: 960/544; background: #252923; object-fit: contain; }
.notice-figure { width: 40%; margin-left: 5%; }
.notice-figure img { aspect-ratio: 3/4; object-fit: cover; }
.traces { padding-top: 120px; padding-bottom: 100px; }
.rubbing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; }
.rubbing-two { margin-top: 180px; }
.rubbing-grid img { aspect-ratio: 3/2; object-fit: contain; }
.rubbing-grid figcaption { padding-top: 24px; }
.rubbing-grid figcaption p { color: var(--ink); font: 22px/1.8 var(--serif); margin: 16px 0 0; max-width: 21em; }
.story-end { padding: 25px 9% 70px; display: flex; justify-content: flex-end; }
.story-end .text-action { min-width: 220px; }
.reveal { opacity: 1; }
.story.is-observing .reveal:not(.is-visible) { opacity: 0; transform: translateY(16px); }
.story.is-observing .reveal { transition: opacity 800ms ease, transform 800ms ease; }
.image-viewer { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 20px 4vw; border: 0; background: #22261ff7; color: #f4f1e9; }
.image-viewer::backdrop { background: #22261f; }
.image-viewer > button { display: block; margin-left: auto; }
.image-viewer figure { height: calc(100% - 55px); display: flex; flex-direction: column; align-items: center; }
.image-viewer img { width: 100%; height: calc(100% - 80px); object-fit: contain; min-height: 0; }
.image-viewer figcaption { color: #d4d6ca; flex-shrink: 0; text-align: center; }
html[lang="en"] #intro-title { font-family: Georgia, serif; font-style: italic; letter-spacing: -.03em; }
html[lang="en"] .intro-copy p { font-family: Georgia, serif; line-height: 1.85; }
html[lang="en"] .hero-type h2 { font-family: Georgia, serif; font-size: clamp(44px,5vw,76px); letter-spacing: -.035em; }
@media (max-width: 700px) {
 .intro { width: calc(100vw - 24px); max-height: calc(100svh - 28px); }
 .intro-sheet { padding: 18px 26px 32px; }
 .folio { font-size: 13px; }
 #intro-title { font-size: 52px; margin: 35px 0; }
 .intro-copy p { font-size: 17px; line-height: 1.95; }
 .intro-end { margin-top: 30px; }
 .text-action { font-size: 19px; }
 .map-tools { right: 15px; top: 15px; }
 .map-guide { left: calc(8.6914% + 32px); max-width: 235px; padding: 13px; }
 .map-guide::before { width: 10px; }
 .map-guide p { font-size: 15px; }
 .story-bar { padding: 0 22px; height: 58px; }
 .story-hero { display: block; padding: 30px 26px 55px; }
 .hero-type { padding-top: 0; }
 .site-number { margin-top: 0; font-size: 13px; }
 .hero-type h2 { font-size: 78px; margin: 32px 0 25px; }
 .hero-date { margin: 0 0 40px; font-size: 24px; }
 .hero-date span { font-size: 13px; }
 figcaption { font-size: 12px; padding-top: 12px; }
 .chapter { padding: 30px 26px 0; }
 .wide-figure { margin: 0; }
 .residents-note { font-size: 21px; margin: 30px 0 60px; }
 .life { padding-top: 55px; padding-bottom: 55px; }
 .stage-figure { width: 100%; margin-bottom: 50px; }
 .film-figure { margin-bottom: 50px; }
 .notice-figure { width: 78%; margin-left: 0; }
 .traces { padding-top: 65px; padding-bottom: 65px; }
 .rubbing-grid { display: block; }
 .rubbing-grid figure { width: 94%; }
 .rubbing-two { margin: 50px 0 0 auto; }
 .rubbing-grid figcaption { padding-top: 16px; }
 .rubbing-grid figcaption p { font-size: 20px; margin-top: 12px; }
 .story-end { padding: 10px 26px 45px; }
 html[lang="en"] .hero-type h2 { font-size: 52px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .story.is-observing .reveal:not(.is-visible) { opacity: 1; transform: none; } }

/* Each location follows the order of its source material. Images retain their full frame. */
.place-header { padding: 70px 9% 75px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 10%; align-items: start; }
.place-header .site-number { grid-column: 1 / -1; margin: 0 0 45px; }
.place-header h2 { font: 64px/1.45 var(--serif); letter-spacing: .04em; white-space: pre-line; margin: 0; outline: none; }
.place-intro { font: 18px/2.1 var(--serif); margin: 12px 0 0; }
.place-content { padding: 0 9%; }
.place-photo, .place-pair { margin-bottom: 90px; }
.place-photo > figure { width: 92%; }
.place-photo > .portrait-photo { width: 53%; margin-left: auto; margin-right: 7%; }
.place-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 5%; align-items: start; }
.place-pair img { object-fit: contain; }
.place-pair:has(.portrait-photo) > .landscape-photo { padding-top: 8%; }
.place-text { font: 26px/1.95 var(--serif); max-width: 750px; margin: 30px 0 75px auto; }
.place-quote { max-width: 820px; margin: 40px auto 80px; }
.place-quote blockquote { font: 27px/2 var(--serif); margin: 0; }
.place-quote figcaption { text-align: right; margin-top: 10px; }
.place-end { justify-content: space-between; gap: 25px; align-items: flex-end; }
.next-place { font-size: 17px; max-width: 60%; line-height: 1.7; }
html[lang="en"] .place-header h2 { font-family: Georgia, serif; font-size: 48px; letter-spacing: -.03em; }
html[lang="en"] .place-intro { font-family: Georgia, serif; line-height: 1.85; }
html[lang="en"] .hero-date span { display: block; margin: 15px 0 0; }
@media (max-width: 700px) {
 .place-header { display: block; padding: 35px 26px 45px; }
 .place-header .site-number { margin-bottom: 30px; }
 .place-header h2 { font-size: 43px; }
 .place-intro { font-size: 17px; margin-top: 30px; }
 .place-content { padding: 0 26px; }
 .place-photo, .place-pair { margin-bottom: 50px; }
 .place-photo > figure { width: 100%; }
 .place-photo > .portrait-photo { width: 86%; margin: 0 auto; }
 .place-pair { display: block; }
 .place-pair > figure + figure { margin-top: 30px; }
 .place-pair:has(.portrait-photo) > .landscape-photo { padding-top: 0; }
 .place-text { font-size: 21px; margin: 15px 0 45px; }
 .place-quote { margin: 25px 0 50px; }
 .place-quote blockquote { font-size: 21px; line-height: 1.95; }
 .place-end { flex-direction: column-reverse; align-items: stretch; gap: 25px; }
 .next-place { max-width: none; font-size: 17px; }
 html[lang="en"] .place-header h2 { font-size: 38px; }
}
