:root {
  color-scheme: light;
  --paper: #f5eee2;
  --parchment: #ebe0d0;
  --ink: #2a1b15;
  --text-muted: #67564b;
  --line: #d4c3b1;
  --burgundy: #7c302a;
  --charcoal: #17120f;
  --gold: #e4bb84;
  --serif: "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", SimSun, Georgia, serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.8 var(--sans); }
[hidden] { display: none !important; }
img { width: 100%; height: auto; display: block; }
figure, p, dl, dd { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); line-height: 1.28; }
a { color: inherit; text-underline-offset: .25em; }
button { color: inherit; font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 2px solid #ae573d; outline-offset: 5px; }
[id] { scroll-margin-top: 6.25rem; }
.shell { width: min(1184px, calc(100% - clamp(2.25rem, 10vw, 10rem))); margin-inline: auto; }
.skip { position: fixed; top: 1rem; left: 1rem; z-index: 10; background: var(--paper); padding: .5rem 1rem; transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }

.site-header { background: #1a1410; color: #f8e9d3; position: sticky; top: 0; z-index: 5; border-bottom: 1px solid #342720; }
.reading-progress { position: absolute; height: 2px; background: var(--gold); inset: auto 0 -1px; transform: scaleX(0); transform-origin: left; pointer-events: none; }
.header-inner { min-height: 4.35rem; display: flex; gap: 1rem; justify-content: space-between; align-items: center; }
.brand { display: inline-flex; gap: .67rem; flex: none; align-items: center; text-decoration: none; font: bold 1rem/1.15 var(--serif); }
.brand small { display: block; margin-top: .34rem; font: 600 .58rem/1.2 var(--sans); letter-spacing: .17em; color: #d4ae81; }
.brand-mark { width: 2rem; aspect-ratio: 1; display: grid; place-items: center; color: var(--gold); border: 1px solid #865b48; font-size: 1rem; }
#site-nav { display: flex; gap: clamp(.78rem, 2.35vw, 2.15rem); }
#site-nav a { font-size: .84rem; text-decoration: none; color: #eadbcb; white-space: nowrap; }
#site-nav a:hover, #site-nav a:focus-visible { color: var(--gold); text-decoration: underline; }
.menu-toggle { display: none; }

.hero { position: relative; isolation: isolate; background: #18100d; color: #f8ead6; }
.hero-art { position: absolute; inset: 0 0 0 16%; z-index: -1; overflow: hidden; }
.hero-art img { height: 100%; object-fit: cover; object-position: 66% 43%; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #18100d 0%, #18100de0 20%, #18100d45 55%, #18100d00 75%), linear-gradient(0deg,#18100dd9,transparent 27%); }
.hero-inner { display: flex; align-items: center; position: relative; min-height: clamp(33rem, 45vw, 42rem); padding-block: 3.7rem 4.1rem; }
.hero-copy { max-width: min(32rem, 54%); }
.eyebrow { color: var(--burgundy); font: 700 .71rem/1.4 var(--sans); letter-spacing: .19em; }
.hero-kicker { color: var(--gold); display: flex; align-items: center; gap: .65rem; letter-spacing: .18em; }
.hero-kicker::before { content: ""; height: 1px; width: 1.8rem; background: currentColor; }
.hero h1 { font-size: clamp(5rem, 9vw, 9.25rem); line-height: .98; font-weight: 700; letter-spacing: .10em; margin-top: .18em; }
.hero h1 span { font: italic 400 clamp(2rem, 4vw, 4rem)/1.22 Georgia, serif; display: block; letter-spacing: .015em; margin-top: .23em; color: #e7bb85; }
.hero-deck { font-family: var(--serif); font-weight: 700; font-size: clamp(1.16rem, 2vw, 1.65rem); margin-top: 1.25rem; }
.hero-intro { color: #e7d5c5; max-width: 25rem; margin-top: .55rem; font-size: .96rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.45rem; align-items: center; margin-top: 1.55rem; }
.button, .hero-link { display: inline-flex; align-items: center; gap: .8rem; font-size: .84rem; }
.button { color: #231612; background: #e4bb84; text-decoration: none; font-weight: 750; padding: .62rem .9rem; border: 1px solid #edc895; }
.button:hover { background: #f1d5ad; }
.hero-link:hover { color: var(--gold); }
.hero-caption { position: absolute; bottom: 1rem; right: 0; font-size: .72rem; color: #f4e1ca; background: #21150eb5; padding: .18rem .55rem; }
.front-index { background: #2b1b17; color: #eacfae; }
.index-inner { display: grid; grid-template-columns: .75fr repeat(4, 1fr); min-height: 3.8rem; align-items: stretch; }
.index-inner > * { display: flex; align-items: center; gap: .55rem; }
.index-inner > span { font-size: .75rem; font-weight: 700; color: var(--gold); }
.index-inner a { padding-inline: clamp(.55rem, 2.35vw, 1.85rem); border-left: 1px solid #50372d; font: .9rem/1.4 Georgia, serif; text-decoration: none; }
.index-inner a:hover { background: #3c2720; }
.index-inner b { font: 650 .82rem/1.4 var(--sans); color: #f9e7d3; }

.section { padding-block: clamp(3rem, 7.3vw, 6.65rem); }
.section-head { margin-bottom: clamp(1.65rem, 3.8vw, 3rem); }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 4.1rem); margin: .21em 0 .12em; letter-spacing: .045em; }
.section-head > p:last-child:not(.eyebrow) { max-width: 46rem; color: var(--text-muted); margin-top: .55rem; }
.muted { background: var(--parchment); }
.profile-grid { display: grid; grid-template-columns: 1.12fr 1fr; column-gap: clamp(1.4rem, 6vw, 5.6rem); }
.profile-copy dl { border-top: 1px solid var(--line); margin-bottom: 1.4rem; }
.profile-copy dl div { border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 6rem 1fr; gap: .4rem; padding: .64rem 0; }
.profile-copy dt { color: var(--burgundy); font-size: .88rem; font-weight: 750; }
.profile-copy dd { font-weight: 600; }
.profile-copy p + p, .inline-source { margin-top: .75rem; }
.inline-source { display: block; }
.profile-art { display: grid; gap: 1.15rem; align-content: start; }
.profile-art img { aspect-ratio: 2.25; object-fit: cover; }
figcaption, small { font-size: .76rem; line-height: 1.55; color: var(--text-muted); }
figcaption { padding-top: .35rem; }
small a { text-decoration-color: #9c6f59; }

.timeline-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(1.5rem, 7vw, 6rem); align-items: start; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 6.3rem 1fr; gap: 1.05rem; padding: .1rem 0 1.35rem; position: relative; }
.timeline li > div:last-child { padding: 0 0 .75rem 1.12rem; border-left: 1px solid #b79d85; }
.timeline li > div:last-child::before { content: ""; border: 2px solid var(--parchment); background: var(--burgundy); position: absolute; left: 7.05rem; top: .47rem; border-radius: 50%; width: .66rem; height: .66rem; }
.event-year { color: var(--burgundy); font: 1.35rem/1.2 Georgia, serif; }
.timeline h3 { font-size: 1.24rem; }
.timeline p { margin-top: .36rem; }
.honors { background: #33221c; color: #f8e7d0; padding: clamp(1.25rem, 3.5vw, 2.4rem); border-top: 3px solid #a4694d; }
.honors h3 { font-size: 1.68rem; }
.honors dl { margin-block: .75rem 1.05rem; }
.honors dl > div { padding: .65rem 0; border-bottom: 1px solid #62493d; }
.honors dt { color: #ebbd83; font-size: .81rem; }
.honors dd { font-size: .92rem; }
.honors small, .films-section figcaption, .films-section small { color: #cfb6a0; }

.films-section { background: #211713; color: #f6e8d3; }
.films-section .eyebrow { color: var(--gold); }
.films-section .section-head > p:last-child { color: #e3cdb5; }
.film-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .55rem; margin: -1rem 0 1.4rem; }
.film-tools [role="group"] { display: flex; flex-wrap: wrap; gap: .48rem; }
.film-tools button { border: 1px solid #866957; background: transparent; color: #f2ddc6; font-size: .8rem; padding: .35rem .75rem; }
.film-tools button[aria-pressed="true"], .film-tools button:hover { background: var(--gold); color: #291a14; }
#film-count { color: #d7bba5; font-size: .81rem; }
.film-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.7rem); }
.film { background: #30211b; border: 1px solid #62473a; min-width: 0; }
.film figure { position: relative; }
.film figure img { aspect-ratio: 2.02; object-fit: cover; }
.film figcaption { position: absolute; bottom: .45rem; right: .5rem; color: #f5e4cf; background: #1e140fc4; padding: .14rem .35rem; }
.film-body { padding: clamp(1rem, 2.55vw, 1.8rem); }
.film-meta { color: var(--gold); display: flex; gap: .65rem; font-size: .79rem; align-items: center; }
.film-meta span + span::before { content: "·"; margin-right: .65rem; }
.film h3 { font-size: clamp(1.55rem, 3.2vw, 2.5rem); margin-top: .17em; }
.eng { color: #e3c3a5; font: italic 1.15rem/1.5 Georgia, serif; }
.film dl { display: flex; gap: .25rem 1.15rem; flex-wrap: wrap; margin-block: .55rem; }
.film dl div { display: flex; gap: .42rem; font-size: .8rem; }
.film dt { color: #d3b195; }
.film-body > p:not(.eng) { margin-top: .55rem; color: #f0ddca; }
.film-body small { display: block; margin-top: .55rem; }
.text-link { font-size: .84rem; display: inline-flex; align-items: center; gap: .48rem; margin-top: .8rem; font-weight: 700; color: var(--burgundy); }
.film .text-link { color: var(--gold); }

.essay-grid { display: grid; grid-template-columns: minmax(11rem, .39fr) minmax(0, 1fr); gap: clamp(1.5rem, 6vw, 5.2rem); }
.essay-index nav { position: sticky; top: 6.1rem; border-top: 2px solid var(--burgundy); border-bottom: 1px solid var(--line); padding: .85rem .1rem 1.15rem; }
.essay-index h3 { font-size: 1.16rem; margin-bottom: .45rem; }
.essay-index a { display: block; padding-block: .34rem; font-size: .83rem; text-decoration-color: #b69a86; }
.essay-index a:hover { color: var(--burgundy); }
.essay-list { min-width: 0; max-width: 48rem; }
.essay { padding: 1.65rem 0 2.5rem; border-top: 1px solid var(--line); }
.essay:first-child { border-top: 2px solid var(--ink); }
.essay h3 { font-size: clamp(1.6rem, 3.4vw, 2.75rem); margin-top: .25em; }
.essay-meta { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; letter-spacing: .09em; }
.essay-meta span { width: .22rem; height: .22rem; background: currentColor; border-radius: 50%; }
.essay figure { margin-top: 1.15rem; }
.essay figure img { aspect-ratio: 2.28; object-fit: cover; }
.essay-body { font-size: 1.03rem; line-height: 1.95; }
.essay-body h4 { font-family: var(--sans); font-size: 1rem; margin: 1.25rem 0 .38rem; }
.essay-body p + p { margin-top: .58rem; }
.essay footer { margin-top: .85rem; color: var(--text-muted); font-size: .79rem; }
.essay footer strong { margin-right: .5rem; }
.essay footer .text-link { margin-top: .3rem; }

.media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 5vw, 4.25rem); }
.media-grid article { min-width: 0; }
.media-grid img { aspect-ratio: 2.08; object-fit: cover; }
.media-grid h3 { font-size: clamp(1.25rem, 2.3vw, 1.7rem); margin: .75rem 0 .45rem; }
.media-grid small { display: block; margin-top: .45rem; }
.questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.4rem, 5vw, 4rem); align-items: start; }
.questions details { border-top: 1px solid var(--line); }
.questions details:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.questions summary { min-height: 3.5rem; display: flex; justify-content: space-between; align-items: center; gap: .55rem; padding: .62rem 0; font-weight: 700; list-style: none; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; font: 1.4rem/1 Georgia, serif; color: var(--burgundy); }
.questions details[open] summary::after { content: "−"; }
.questions details > div { padding: 0 1.2rem .88rem 0; color: var(--text-muted); font-size: .92rem; }

.sources-section { border-top: 1px solid var(--line); padding-block: clamp(2.2rem, 5vw, 4.55rem); }
.source-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem 1.5rem; }
.source-list li { border-top: 1px solid var(--line); display: flex; flex-direction: column; padding: .5rem 0; font-size: .84rem; }
.source-list a { font-weight: 700; color: var(--burgundy); }
.source-list li > span { color: var(--text-muted); }
.source-list li:target { background: #ede0cf; }
.site-footer { background: #1b1410; color: #e9d1b9; font-size: .85rem; padding-block: 2.3rem 1rem; }
.footer-main { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.footer-brand { color: #f8e8d2; font: 700 1.28rem/1.3 var(--serif); margin-bottom: .65rem; }
.footer-brand span { color: var(--gold); font: italic 1.2rem/1.3 Georgia, serif; margin-left: .4rem; display: inline-block; }
.top-link { display: inline-flex; flex: none; gap: .5rem; font-weight: 700; color: var(--gold); }
.footer-base { display: flex; gap: .35rem 1.4rem; flex-wrap: wrap; border-top: 1px solid #50362a; margin-top: 1.45rem; padding-top: .65rem; font-size: .75rem; }

@media (max-width: 800px) {
  [id] { scroll-margin-top: 5.25rem; }
  .header-inner { min-height: 3.7rem; }
  .menu-toggle { display: inline-flex; align-items: center; gap: .45rem; background: transparent; color: var(--gold); border: 1px solid #785b46; padding: .3rem .6rem; font-size: .83rem; }
  .menu-toggle span { width: .85rem; height: .52rem; border-block: 1px solid currentColor; }
  #site-nav { display: none; position: absolute; top: 100%; width: 100%; inset-inline: 0; background: #251913; padding: .6rem 5vw .9rem; border-bottom: 1px solid #765345; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .8rem; }
  .menu-toggle[aria-expanded="true"] + #site-nav { display: grid; }
  #site-nav a { padding-block: .58rem; border-bottom: 1px solid #604438; }
  .essay-grid { grid-template-columns: 1fr; }
  .essay-index nav { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
  .essay-index h3 { grid-column: 1 / -1; }
  .source-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 590px) {
  .hero-art { inset: 0 0 auto; height: min(84vw, 29rem); }
  .hero-art img { object-position: 69% 26%; }
  .hero-art::after { background: linear-gradient(0deg, #18100d, #18100d33 37%, #18100d00 70%); }
  .hero-inner { min-height: 0; padding-top: min(60vw, 20rem); padding-bottom: 2.2rem; }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: clamp(3.4rem, 13.5vw, 5rem); letter-spacing: .07em; }
  .hero h1 span { font-size: clamp(1.9rem, 8.2vw, 2.8rem); }
  .hero-deck { margin-top: .75rem; }
  .hero-actions { margin-top: 1.15rem; }
  .hero-caption { top: .65rem; bottom: auto; font-size: .67rem; }
  .index-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: .45rem .65rem; }
  .index-inner > span { grid-column: 1 / -1; padding-block: .15rem .3rem; }
  .index-inner a { min-height: 2rem; font-size: .83rem; border-bottom: 1px solid #4d372c; }
  .section-head h2 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .profile-grid, .timeline-grid, .film-grid, .media-grid, .questions { grid-template-columns: minmax(0, 1fr); }
  .profile-art { margin-top: 1.3rem; }
  .profile-copy dl div { grid-template-columns: 5.25rem 1fr; }
  .timeline li { grid-template-columns: 4.5rem minmax(0, 1fr); gap: .55rem; }
  .timeline li > div:last-child { padding-left: .72rem; }
  .timeline li > div:last-child::before { left: 4.75rem; }
  .event-year { font-size: 1.09rem; }
  .questions details:nth-last-child(2) { border-bottom: 0; }
  .essay-body { font-size: .98rem; }
  .footer-main { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
