:root {
  color-scheme: light;
  --ink: #2c211c;
  --muted: #685950;
  --paper: #f8f3eb;
  --white: #fffbf5;
  --line: #e5d8c9;
  --red: #9d392d;
  --deep-red: #7c2c23;
  --gold: #e6b481;
  --dark: #211815;
  --serif: "Songti SC", "Noto Serif CJK SC", "Noto Serif SC", "STSong", SimSun, serif;
  --sans: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 1rem/1.75 var(--sans); color: var(--ink); background: var(--paper); }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid #b75b46; outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.22; }
[hidden] { display: none !important; }
.shell { width: min(1192px, calc(100% - 112px)); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 10; background: white; color: var(--ink); top: 8px; left: 8px; padding: 8px 16px; }
section[id] { scroll-margin-top: 18px; }

.site-header { background: var(--dark); color: #efe5d9; position: relative; z-index: 1; border-bottom: 1px solid #514037; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 13px; font: 700 1.32rem/1.1 var(--serif); letter-spacing: .12em; white-space: nowrap; }
.seal { display: inline-grid; place-items: center; position: relative; width: 34px; height: 34px; color: #ffe9cd; background: var(--red); border-radius: 3px; font: 700 1.22rem/1 var(--serif); letter-spacing: 0; }
.seal::before { content: ""; position: absolute; inset: 4px; border: 1px solid #e4a785; border-radius: 2px; opacity: .8; }
nav { align-self: stretch; display: flex; gap: clamp(23px, 3.2vw, 49px); }
nav a { display: inline-flex; align-items: center; position: relative; white-space: nowrap; color: #e0d1c2; font-size: .875rem; text-align: center; transition: color .2s; }
nav a:hover, nav a.current { color: #ffcfab; }
nav a.current::after { content: ""; height: 2px; position: absolute; bottom: -1px; left: 0; right: 0; background: #cb725c; }
.language-toggle { flex: none; color: #ffe4ca; background: #392722; border: 1px solid #916750; border-radius: 3px; min-height: 40px; padding: 5px 12px; font-size: .875rem; white-space: nowrap; }
.language-toggle:hover { background: #583a30; }

.hero { overflow: hidden; position: relative; background: #241916; color: #fff0dd; min-height: 550px; isolation: isolate; }
.hero-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(26,17,15,.98) 0%, rgba(27,18,16,.93) 17%, rgba(30,20,17,.58) 38%, rgba(21,13,12,.04) 67%), linear-gradient(0deg, rgba(25,16,14,.48), transparent 22%); }
.hero-inner { position: relative; display: flex; align-items: center; min-height: inherit; padding: 60px 0 64px; }
.hero-copy { margin-top: 4px; }
.hero-kicker { width: fit-content; display: flex; align-items: center; gap: 9px; padding: 5px 13px; border: 1px solid #916750; color: #f2c5a0; background: #2e1a16a8; border-radius: 2px; letter-spacing: .12em; font-size: .875rem; }
.hero-kicker span[aria-hidden] { flex: none; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
.hero h1 { margin: 20px 0 22px; font-size: clamp(5.25rem, 9.2vw, 8.45rem); letter-spacing: .12em; line-height: 1; font-weight: 700; color: #fff1df; }
.hero-description { font-size: clamp(1rem, 1.5vw, 1.25rem); color: #f3e0ca; letter-spacing: .06em; line-height: 1.8; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; min-height: 46px; font-weight: 650; font-size: .935rem; border: 1px solid transparent; border-radius: 3px; transition: background .2s, color .2s; }
.hero .button { margin-top: 28px; }
.button-red { color: #fff6e9; background: #a14032; border-color: #bd563f; }
.button-red:hover { background: #bb4c3a; }
.button-outline { color: var(--deep-red); background: transparent; border-color: #c68a7e; }
.button-outline:hover { background: #f4e6dc; }
.hero-caption { position: absolute; bottom: 20px; right: 0; color: #fae9d8; background: #261913ad; padding: 3px 9px; border-radius: 2px; font-size: .75rem; letter-spacing: .08em; }
.hero-caption span:not([data-en]) { padding-inline: .2em; }

.section { padding: 75px 0; }
.section-head h2 { font-size: clamp(2.35rem, 4.15vw, 3.6rem); letter-spacing: .015em; }
.section-head > p { color: var(--muted); margin-top: 16px; }
.section-head > .eyebrow { color: var(--red); font-size: .875rem; font-weight: 650; letter-spacing: .12em; margin: 0 0 13px; }
.center { text-align: center; }
.section-ornament { display: flex; gap: 12px; justify-content: center; align-items: center; color: #b35142; line-height: 1; margin-bottom: 14px; }
.section-ornament span { height: 1px; width: 34px; background: #cb9c87; }
.repertoire { padding-top: 52px; }
.repertoire .section-head h2 { font-size: clamp(2.5rem, 4.1vw, 3.55rem); }

.catalog-tools { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin: 32px 0 19px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { padding: 6px 15px; min-height: 40px; color: #514137; background: transparent; border: 1px solid #dfd1c0; border-radius: 3px; font-size: .875rem; transition: background .2s, color .2s, border .2s; }
.filters button:hover { border-color: #ab7564; }
.filters button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff7eb; }
.search { position: relative; width: 225px; display: flex; align-items: center; }
.search input { width: 100%; min-height: 42px; color: var(--ink); font-size: .875rem; background: #fffaf3; border: 1px solid #dfd1c0; border-radius: 3px; padding: 6px 12px 6px 37px; }
.search input::placeholder { color: #715f52; }
.search-icon { width: 12px; height: 12px; border: 1.5px solid #765e51; border-radius: 50%; position: absolute; left: 14px; pointer-events: none; }
.search-icon::after { content: ""; position: absolute; width: 5px; height: 1.5px; background: #765e51; transform: rotate(45deg); right: -4px; bottom: -2px; }
.catalog-tools[hidden] ~ .catalog-grid { margin-top: 27px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.play-card { background: var(--white); border: 1px solid var(--line); border-radius: 4px; transition: border-color .2s, box-shadow .2s; }
.play-card a { display: flex; flex-direction: column; height: 100%; }
.play-card:hover { border-color: #bd8c78; box-shadow: 0 9px 22px #35201412; }
.card-image { position: relative; overflow: hidden; aspect-ratio: 1.64; border-radius: 3px 3px 0 0; background: #392a28; }
.card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 23%; transition: transform .3s; }
.play-card:hover img { transform: scale(1.035); }
.card-image > span { position: absolute; top: 13px; left: 13px; background: #fff0dc; color: #632e25; padding: 3px 10px; border: 1px solid #fff8ee; font-size: .75rem; font-weight: 650; border-radius: 2px; }
.card-copy { display: flex; flex-direction: column; flex: 1; padding: 19px 21px 17px; }
.card-copy h3 { font-size: 1.84rem; margin-bottom: 8px; }
.card-copy p { flex: 1; color: var(--muted); line-height: 1.66; }
.card-action { display: flex; width: fit-content; align-items: center; gap: 11px; color: var(--deep-red); font-size: .875rem; font-weight: 650; margin-top: 17px; }
.card-line { width: 15px; height: 1px; background: #bc7461; transition: width .2s; }
.play-card:hover .card-line { width: 23px; }
.image-note { text-align: right; color: var(--muted); font-size: .8125rem; margin-top: 16px; }
.empty { text-align: center; border: 1px dashed #d7bfb0; padding: 36px 16px; }
.empty .button { margin-top: 14px; }

.origins { background: #eee4d6; border-block: 1px solid #e7d9c8; }
.split { display: grid; grid-template-columns: 1fr 1.04fr; align-items: center; gap: clamp(28px, 5.2vw, 76px); }
.origin-copy > p:not(.eyebrow) { max-width: 42em; }
.text-link { display: inline-block; color: var(--deep-red); width: fit-content; border-bottom: 1px solid #b97a67; font-weight: 650; font-size: .9rem; line-height: 1.5; }
.text-link:hover { color: #a94133; border-color: currentColor; }
.origin-copy .text-link { margin-top: 23px; }
.split figure { aspect-ratio: 1.76; position: relative; border-radius: 4px; overflow: hidden; background: #4b4237; }
.split figure img { width: 100%; height: 100%; object-fit: cover; }
.split figcaption { position: absolute; inset: auto 12px 12px auto; color: #fff4e7; background: #241916c9; padding: 3px 8px; font-size: .75rem; border-radius: 2px; }
.timeline { margin: 45px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; }
.timeline li { border-top: 1px solid #bf9a84; padding: 20px 24px 0 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -4px; width: 7px; height: 7px; left: 1px; transform: rotate(45deg); background: var(--red); }
.timeline .era { color: var(--deep-red); font-weight: 650; font-size: .875rem; }
.timeline h3 { margin: 5px 0 8px; font-size: 1.35rem; }
.timeline p { color: var(--muted); line-height: 1.65; }

.art-grid, .today-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.art-grid { margin-top: 34px; }
.art-grid article { border-top: 2px solid #bb7966; background: var(--white); padding: 22px; }
.art-grid h3, .today-grid h3 { font-size: 1.55rem; margin-bottom: 8px; }
.art-grid p, .today-grid p { color: var(--muted); }
.art-note { color: var(--muted); text-align: center; margin-top: 20px; }

.today { border-block: 1px solid #e8dac9; background: #f3eadd; }
.today .eyebrow span:not([data-en]) { padding-inline: .2em; }
.today-grid { margin-top: 34px; }
.today-grid article { display: flex; flex-direction: column; border-top: 1px solid #bd9a84; padding-top: 18px; }
.today-grid .text-link { margin-top: 13px; }
.today-grid p { flex: 1; }
.today-note { margin-top: 25px; border-left: 2px solid #b9604f; padding-left: 14px; color: #5b493d; }
.references { background: var(--white); padding: 53px 0; }
.references-inner { display: grid; grid-template-columns: .82fr 1.18fr; gap: 28px; }
.references .section-head h2 { font-size: clamp(2rem, 3.7vw, 2.85rem); }
.references ul { list-style: none; margin: 0; padding: 0; }
.references li + li { border-top: 1px solid var(--line); }
.references li a { display: block; color: var(--deep-red); padding: 7px 0; }
.references li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer { color: #e4d3c2; background: var(--dark); }
.footer-inner { min-height: 111px; display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.footer-inner p, .back-top { font-size: .875rem; }
.back-top { white-space: nowrap; }
.back-top:hover { color: var(--gold); }
.noscript { padding: 15px; background: var(--white); text-align: center; }

dialog { padding: 0; width: min(735px, calc(100% - 30px)); max-height: calc(100dvh - 38px); overflow: auto; overscroll-behavior: contain; color: var(--ink); background: var(--white); border: 1px solid #e0cbbb; border-radius: 5px; box-shadow: 0 18px 85px #160d0a70; }
dialog::backdrop { background: #1d1512b8; backdrop-filter: blur(3px); }
.dialog-inner { position: relative; }
.dialog-inner > .language-toggle { position: absolute; top: 13px; right: 65px; z-index: 1; min-height: 43px; }
.close-dialog { width: 43px; height: 43px; border: 1px solid #fff3df80; border-radius: 50%; background: #2f211c; color: #fff5e8; font: 1.8rem/1 var(--sans); position: absolute; top: 13px; right: 13px; z-index: 1; padding: 0 0 3px; }
.close-dialog:hover { background: var(--deep-red); }
.detail-image { width: 100%; height: clamp(170px, 38vw, 286px); object-fit: cover; object-position: center 21%; background: var(--dark); }
.detail-body { padding: 25px clamp(17px, 5.5vw, 42px) 34px; }
.detail-body h2 { font-size: 2.65rem; margin: 3px 0 7px; }
.detail-edition { font-size: .875rem; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.detail-type { color: var(--red); font-size: .875rem; font-weight: 650; }
.detail-section { margin-top: 25px; }
.detail-section h3 { font-size: 1.43rem; margin-bottom: 8px; }
.detail-section p + p { margin-top: 10px; }
.detail-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.detail-roles > div { padding: 11px 13px; background: #f5ebdf; border-left: 2px solid #c27a63; }
.detail-roles dt { font-weight: 700; }
.detail-roles dd { margin: 3px 0 0; color: #59493f; font-size: .9375rem; }
.detail-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }

html[lang="en"] {
  --serif: Georgia, "Times New Roman", serif;
}
html[lang="en"] .brand { letter-spacing: .015em; }
html[lang="en"] .hero-copy { max-width: min(100%, 35rem); }
html[lang="en"] .hero h1 { font-size: clamp(4.6rem, 8.2vw, 7.4rem); letter-spacing: -.025em; }
html[lang="en"] .hero-description { letter-spacing: 0; }
html[lang="en"] .card-copy h3 { font-size: clamp(1.55rem, 2.25vw, 1.84rem); }
html[lang="en"] .search { width: 248px; }

@media (max-width: 980px) {
  .shell { width: calc(100% - 72px); }
  .hero { min-height: 495px; }
  .catalog-grid { gap: 16px; }
  .card-copy { padding: 16px; }
  html[lang="en"] .header-inner { gap: 14px; }
  html[lang="en"] nav { gap: 16px; }
  html[lang="en"] .catalog-tools { flex-wrap: wrap; }
}
@media (max-width: 900px) {
  html[lang="en"] .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding-top: 12px; gap: 3px 12px; }
  html[lang="en"] .header-inner nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; }
  html[lang="en"] nav a { min-height: 41px; }
}
@media (max-width: 740px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { padding-top: 13px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; }
  .header-inner nav { grid-row: 2; grid-column: 1 / -1; }
  .brand { font-size: 1.15rem; }
  .seal { width: 30px; height: 30px; }
  nav { width: 100%; gap: 10px; justify-content: space-between; }
  nav a { min-height: 40px; }
  .hero { min-height: 462px; }
  .hero-image { object-position: 65% 45%; }
  .hero::after { background: linear-gradient(90deg, #1b1211e8, #1d1313b0 37%, #23181725 82%), linear-gradient(0deg, #1b1211a8, transparent 44%); }
  .hero h1 { font-size: clamp(3.65rem, 12.6vw, 6rem); }
  html[lang="en"] .hero h1 { font-size: clamp(3.4rem, 10vw, 5rem); }
  html[lang="en"] .hero-copy { max-width: min(100%, 28rem); }
  .hero-description { font-size: 1rem; }
  .hero-caption { bottom: 12px; }
  .section { padding: 50px 0; }
  .repertoire { padding-top: 40px; }
  .catalog-tools { align-items: flex-start; flex-direction: column; margin-top: 24px; }
  .search { width: min(100%, 280px); }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: 22px; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .art-grid, .today-grid { grid-template-columns: 1fr; gap: 15px; }
  .references-inner { grid-template-columns: 1fr; gap: 13px; }
  .footer-inner { flex-wrap: wrap; justify-content: space-between; padding-block: 20px; gap: 10px 16px; }
  .footer-inner p { width: 100%; order: 1; }
}
@media (max-width: 490px) {
  nav a { font-size: .8125rem; }
  .hero-image { object-position: 68% 43%; }
  .hero-inner { align-items: flex-end; padding-bottom: 61px; }
  .hero h1 { margin-block: 14px; }
  .hero .button { margin-top: 20px; }
  .hero-kicker { font-size: .8125rem; }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-tools .filters { gap: 5px; }
  .filters button { padding-inline: 9px; }
  .timeline { display: block; margin-top: 28px; }
  .timeline li { border-top: 0; border-left: 1px solid #bf9a84; padding: 0 0 21px 16px; }
  .timeline li::before { top: 8px; left: -4px; }
  .detail-roles { grid-template-columns: 1fr; }
  html[lang="en"] .header-inner nav { display: grid; grid-template-columns: auto auto; justify-content: space-between; gap: 0 12px; }
  html[lang="en"] nav a { min-height: 34px; }
  html[lang="en"] .hero-kicker { letter-spacing: .04em; }
  html[lang="en"] .hero-description { max-width: 26ch; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
