/* Newspaper typography, portrait-led introduction, and a paced bibliography. */
@font-face {
  font-family: "Libre Caslon Display";
  src: url("../fonts/LibreCaslonDisplay-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root, :root[data-style="minimal"] {
  --width: 1080px;
  --heading: "Libre Caslon Display", Georgia, "Songti SC", serif;
  --editorial-serif: Georgia, "Iowan Old Style", "Songti SC", serif;
  --bg: #f8f6ef;
  --fg: #252923;
  --muted: #65685f;
  --accent: #854131;
  --rule: #d4d3c9;
  --soft: #efede5;
}
:root[data-appearance="day"] { --bg:#fff; --fg:#252923; --muted:#626760; --accent:#854131; --rule:#d8dad4; --soft:#f4f4f0; }
:root[data-style="minimal"][data-appearance="night"] { --bg:#192023; --fg:#eeeae0; --muted:#b9bcb3; --accent:#e1b49b; --rule:#46504f; --soft:#242e31; }
[data-style="ink"] .scholar-backdrop { opacity:.2; }
.site-main::before { display:none; }
.site-header, [data-style="minimal"] .site-header { position:relative; border-top:0; background:var(--bg); }
.site-nav, .site-main, .site-footer { width:calc(100% - 80px); }
.site-nav { min-height:69px; gap:22px; }
.nav-brand { gap:9px; flex-basis:auto; min-width:0; }
.nav-brand .personal-logo { width:38px; height:38px; }
.brand-wordmark { font:17px/1.2 var(--editorial-serif); letter-spacing:-.4px; }
.nav-links { gap:25px; }
.nav-links>a { font:12px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; padding:23px 0; }
.nav-links>a.active { color:var(--fg); box-shadow:inset 0 -2px var(--accent); }
.appearance-toggle { width:35px; height:35px; padding:7px; }
.appearance-glyph { width:19px; height:19px; }
.site-main { padding-top:19px; }
.home-styling-credit { margin:0 0 20px; min-height:0; text-align:right; font-size:10px; line-height:1.7; }
.home-styling-credit a { min-height:0; font-size:13px; }
.personal-heading { border-top:1px solid var(--fg); border-bottom:4px double var(--fg); margin:0 0 35px; padding:13px 0 18px; text-align:center; }
.masthead-line { display:flex; justify-content:space-between; gap:20px; font:10px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; letter-spacing:1.6px; text-transform:uppercase; }
.personal-heading h1 { font:400 clamp(58px,8.1vw,104px)/1.07 var(--heading); letter-spacing:-3px; margin:17px 0 13px; }
.personal-heading h1 strong { font-weight:400; }
.personal-heading .page-subtitle { font:italic 14px/1.6 var(--editorial-serif); letter-spacing:.1px; }
.about-page .about-intro { display:grid; grid-template-columns:minmax(0,1fr) 228px; align-items:start; gap:70px; margin:0 0 35px; }
.about-intro .profile-photo { float:none; position:static; width:100%; margin:0; grid-column:2; grid-row:1; }
.profile-photo::after { display:none; }
.profile-photo img { width:100%; height:auto; padding:0; border:0; border-radius:50%; filter:none; }
.profile-photo figcaption { display:flex; justify-content:space-between; gap:10px; margin-top:9px; font-size:9px; color:var(--muted); }
.profile-photo figcaption span { font-style:italic; }
.about-body { grid-column:1; grid-row:1; }
.about-body>p, .about-body>p:last-child { font:15px/1.85 var(--editorial-serif); color:var(--fg); margin:0 0 19px; max-width:720px; }
.about-body>p:first-child { font:21px/1.65 var(--editorial-serif); letter-spacing:-.25px; }
.about-body strong { font-weight:400; }
.about-body a { color:inherit; text-decoration:underline; text-decoration-color:var(--rule); text-underline-offset:4px; }
.about-body a:hover { text-decoration-color:var(--accent); color:var(--accent); }
.intro-links { margin:23px 0 0; gap:27px; }
.intro-links a { font-size:11px; min-height:32px; gap:14px; border:0; text-decoration:none; }
.intro-links a span { color:var(--accent); }
.about-page .research-overview { border-top:1px solid var(--fg); padding:20px 0 31px; }
.about-page .section-heading { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:10px 22px; margin-bottom:22px; }
.about-page .section-heading h2 { font:500 11px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; letter-spacing:1.8px; text-transform:uppercase; margin:0; }
.about-page .section-heading>a { font-size:11px; min-height:24px; gap:11px; color:var(--muted); }
.about-page .research-themes { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
.about-page .research-theme { display:block; border:0; padding:0 0 0 25px; border-left:1px solid var(--rule); }
.about-page .research-theme:first-child { padding-left:0; border-left:0; }
.about-page .research-theme h3 { font:400 25px/1.14 var(--heading); min-height:0; margin:0 0 10px; letter-spacing:-.2px; }
.about-page .research-theme h3 a { color:var(--fg); }
.about-page .theme-keywords { font-size:11px; line-height:1.7; color:var(--muted); margin:0!important; padding:0; }
.about-page .selected-publications { padding-top:21px; border-top:4px double var(--fg); }
.about-page .selected-bibliography { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:32px; }
.about-page .selected-bibliography>li { display:grid; grid-template-columns:105px minmax(0,1fr); gap:22px; align-items:start; border-top:1px solid var(--rule); padding:29px 0 32px!important; margin:0!important; }
.about-page .selected-bibliography>li:first-child { grid-column:1/-1; grid-template-columns:230px minmax(0,1fr); gap:42px; padding:4px 0 34px!important; border-top:0; }
.about-page .publication-preview { width:auto; max-width:100%; min-width:0; margin:0; }
.publication-thumbnail { display:block; padding:0; background:transparent; border:0; box-shadow:none; }
.publication-thumbnail img { display:block; width:100%; max-width:100%; height:auto; object-fit:contain; border:1px solid var(--rule); }
.publication-thumbnail:hover { box-shadow:none; opacity:.9; }
.publication-preview figcaption { text-align:left; font-size:9px; line-height:1.5; margin-top:9px; color:var(--muted); }
.publication-body { min-width:0; padding-top:0; }
.publication-label { display:flex; flex-wrap:wrap; gap:9px; margin:0 0 12px; }
.publication-label>span { padding:0; border:0; background:none; font-size:10px; line-height:1.5; text-transform:uppercase; letter-spacing:1px; color:var(--accent); }
.publication-label time { font:10px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:var(--muted); padding:0; }
.publication-label time::before { content:"/"; margin-right:9px; color:var(--rule); }
.selected-bibliography .paper-title { font:400 27px/1.12 var(--heading); letter-spacing:-.3px; margin:0 0 14px; }
.selected-bibliography>li:first-child .paper-title { font-size:38px; line-height:1.13; max-width:740px; margin-bottom:19px; }
.selected-bibliography .paper-authors { font-size:11px; line-height:1.8; color:var(--muted); margin:0 0 6px; }
.selected-bibliography .paper-authors strong { font-weight:600; color:var(--fg); }
.selected-bibliography .paper-venue { font:italic 12px/1.7 var(--editorial-serif); margin:0 0 12px; }
.selected-bibliography .publication-status { font-size:10px; margin-bottom:12px; }
.selected-bibliography .paper-links { display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:14px; }
.selected-bibliography .paper-links>a, .paper-summary>summary { padding:3px 0; min-height:30px; border:0; border-bottom:1px solid var(--rule); border-radius:0; background:none; color:var(--fg); font-size:11px; }
.selected-bibliography .paper-links>a:hover, .paper-summary>summary:hover { background:none; color:var(--accent); border-color:var(--accent); }
.paper-summary>p { font:14px/1.8 var(--editorial-serif); }
.home-notebook { display:grid; grid-template-columns:1fr 1fr; gap:36px; border-top:4px double var(--fg); border-bottom:1px solid var(--fg); padding:26px 0; margin:4px 0 15px; }
.about-page .research-notes { display:flex; flex-direction:column; align-items:stretch; justify-content:center; gap:14px; margin:0; padding:0 30px 0 0; border:0; border-right:1px solid var(--rule); }
.about-page .research-notes h2 { font:500 10px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; text-transform:uppercase; letter-spacing:1.5px; color:var(--accent); }
.about-page .note-link { flex:none; min-height:44px; }
.about-page .note-title { font:27px/1.45 "Songti SC",var(--editorial-serif); letter-spacing:1px; }
.about-page .wechat-account.wechat-editorial { display:block; margin:0; padding:0; border:0; background:none; border-radius:0; }
.about-page .wechat-identity { display:grid; grid-template-columns:44px minmax(0,1fr); gap:16px; align-items:center; }
.about-page .wechat-portrait { width:44px; height:44px; outline:0; margin:0; }
.about-page .wechat-editorial .wechat-label { margin:0 0 4px; font-size:9px; letter-spacing:1.2px; }
.about-page .wechat-account.wechat-editorial h2 { font-size:21px; margin:0; letter-spacing:.8px; }
.about-page .wechat-editorial .wechat-instructions { margin-top:12px; border:0; padding:0; }
.about-page .wechat-actions { margin:0; gap:10px 22px; }
.about-page .wechat-actions button { font-size:10px; border-color:var(--rule); min-height:30px; padding:4px 9px; }
.about-page .wechat-actions a { min-height:30px; font-size:10px; }
.about-page .wechat-editorial .wechat-instructions p { font-size:9px; margin-top:5px; }
.about-page .wechat-copy-status:empty { display:none; }
.personal-artwork { border:0; border-bottom:1px solid var(--rule); margin:0; padding:0; }
.personal-artwork>summary { cursor:pointer; padding:13px 0; color:var(--muted); font-size:11px; }
.personal-artwork>summary:hover { color:var(--accent); }
.personal-artwork>summary:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.personal-artwork figure { margin:0 0 20px; }
.personal-artwork img { display:block; width:100%; height:auto; border-radius:0; }
.personal-artwork figcaption { font-size:11px; color:var(--muted); margin-top:9px; }
.personal-artwork .business-card-heading { margin:0 0 14px; }
.research-illustration { position:static; }
.profile-links { justify-content:flex-start; margin:23px 0 0; font-size:11px; gap:23px; }
.site-footer, [data-style="minimal"] .site-footer { border-top:1px solid var(--fg); margin-top:30px; font-size:10px; }
.archive-links { flex-wrap:wrap; gap:8px 17px; }
.privacy-page { max-width:700px; }
.privacy-page h2 { font-size:27px; margin-top:32px; }
.content-page .page-heading h1, .mentors-page .page-heading h1 { font:400 52px/1.1 var(--heading); }
@media(max-width:1000px) {
  .site-nav { flex-wrap:wrap; gap:0 16px; padding-top:9px; }
  .nav-brand { order:0; }
  .appearance-tools { order:1; margin-left:auto; }
  .nav-links { order:2; flex-basis:100%; display:flex; justify-content:space-between; gap:20px; margin:0; }
  .nav-links>a { font-size:12px; padding:13px 0; }
  .about-page .about-intro { grid-template-columns:minmax(0,1fr) 190px; gap:40px; }
  .about-body>p:first-child { font-size:19px; }
  .about-page .research-theme h3 { font-size:23px; }
  .about-page .selected-bibliography { display:block; }
  .about-page .selected-bibliography>li { grid-template-columns:125px minmax(0,1fr); gap:28px; }
  .about-page .selected-bibliography>li:first-child { grid-template-columns:190px minmax(0,1fr); gap:30px; }
  .selected-bibliography>li:first-child .paper-title { font-size:31px; }
}
@media(max-width:650px) {
  .site-nav,.site-main,.site-footer { width:calc(100% - 40px); }
  .site-main { padding-top:15px; }
  .nav-links { display:grid; grid-template-columns:repeat(3,1fr); gap:0 16px; text-align:center; }
  .nav-links>a { padding:9px 0; font-size:11px; }
  .brand-wordmark { font-size:16px; }
  .nav-brand .personal-logo { width:33px; height:33px; }
  .home-styling-credit { margin:0 0 17px; font-size:9px; }
  .home-styling-credit a { font-size:12px; }
  .personal-heading { padding:10px 0 17px; margin-bottom:25px; }
  .masthead-line { font-size:8px; letter-spacing:1px; }
  .personal-heading h1 { font-size:clamp(47px,10.2vw,68px); letter-spacing:-1.7px; margin:19px 0 12px; }
  .personal-heading .page-subtitle { font-size:11px; max-width:none; }
  .about-page .about-intro { display:block; margin-bottom:26px; }
  .about-intro .profile-photo { float:right; width:103px; margin:5px 0 16px 23px; }
  .profile-photo figcaption { display:none; }
  .about-body>p:first-child { font-size:18px; line-height:1.65; letter-spacing:-.1px; }
  .about-body>p { font-size:13px; line-height:1.85; }
  .intro-links { clear:both; gap:24px; margin-top:15px; }
  .about-page .research-overview { padding:19px 0 22px; }
  .about-page .section-heading { margin-bottom:18px; }
  .about-page .section-heading h2 { font-size:10px; letter-spacing:1.2px; }
  .about-page .section-heading>a { font-size:10px; }
  .about-page .research-themes { display:block; }
  .about-page .research-theme,.about-page .research-theme:first-child { padding:12px 0; border:0; }
  .about-page .research-theme h3 { font-size:24px; margin-bottom:4px; }
  .about-page .theme-keywords { font-size:10px; }
  .about-page .selected-bibliography>li,.about-page .selected-bibliography>li:first-child { grid-template-columns:82px minmax(0,1fr); gap:19px; padding:24px 0!important; }
  .about-page .selected-bibliography>li:first-child { padding-top:0!important; }
  .selected-bibliography .paper-title,.selected-bibliography>li:first-child .paper-title { font-size:25px; line-height:1.15; margin-bottom:12px; }
  .publication-label { gap:7px; margin-bottom:10px; }
  .publication-label>span,.publication-label time { font-size:8px; letter-spacing:.3px; }
  .publication-preview figcaption { font-size:8px; overflow-wrap:anywhere; }
  .selected-bibliography .paper-authors { font-size:10px; }
  .selected-bibliography .paper-venue { font-size:11px; }
  .selected-bibliography .paper-links { gap:7px 15px; margin-top:10px; }
  .home-notebook { grid-template-columns:1fr; gap:23px; padding:23px 0; }
  .about-page .research-notes { border:0; border-bottom:1px solid var(--rule); padding:0 0 22px; gap:9px; }
  .about-page .note-title { font-size:25px; }
  .about-page .wechat-editorial .wechat-instructions { margin-left:60px; }
  .site-footer { align-items:flex-start; flex-direction:column; gap:13px; }
}
@media(max-width:370px) {
  .site-nav,.site-main,.site-footer { width:calc(100% - 32px); }
  .personal-heading h1 { font-size:43px; letter-spacing:-1.3px; }
  .about-intro .profile-photo { width:80px; margin-left:18px; }
  .about-body>p:first-child { font-size:16px; }
  .about-page .selected-bibliography>li,.about-page .selected-bibliography>li:first-child { grid-template-columns:66px minmax(0,1fr); gap:15px; }
  .selected-bibliography .paper-title,.selected-bibliography>li:first-child .paper-title { font-size:23px; }
}
@media(prefers-reduced-motion:reduce) { html{scroll-behavior:auto} *,*::before,*::after{transition:none!important} }
