/* One 620px column: name, nav, portrait and text share the same two edges. Light type, few weights.
   The aubergine is sampled from the cheongsam on the ISU talk poster and used only for the name, the current page and hover. */
:root{
  --ground:#ffffff; --ink:#26222a; --quiet:#716a76; --purple:#4a1152; --line:#e9e5ea;
  --display:'Bodoni Moda','Didot','Bodoni 72',Georgia,serif;
  --text:'Spectral','Noto Sans HK','PingFang HK',Georgia,serif;
  --sans:'Jost','Noto Sans HK','PingFang HK','Futura','Avenir Next','Helvetica Neue',sans-serif;
  color-scheme:light;
}
*{box-sizing:border-box}
html{scrollbar-gutter:stable}
body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--text);font-weight:300;font-size:17.5px;line-height:1.75;-webkit-font-smoothing:antialiased}
.page{max-width:676px;margin:0 auto;padding:88px max(28px,env(safe-area-inset-right,0px)) 64px max(28px,env(safe-area-inset-left,0px))}
header{margin-bottom:56px}
h1{font-family:var(--display);font-weight:400;font-size:42px;line-height:1.1;letter-spacing:-.005em;margin:0 0 22px}
h1 a{color:var(--purple);text-decoration:none}
nav{font-family:var(--sans);font-weight:400;font-size:12.5px;letter-spacing:.16em;text-transform:uppercase;display:flex;flex-wrap:wrap;gap:8px}
/* Tiles so the five sections read as buttons: pale aubergine ground, filled on hover and on the current page. */
nav a{color:var(--purple);background:#f3edf4;text-decoration:none;padding:10px 16px;line-height:1.2;transition:background-color .15s,color .15s}
nav a:hover,nav a[aria-current]{color:#fff;background:var(--purple)}
a{color:inherit;text-decoration-color:var(--line);text-underline-offset:4px;text-decoration-thickness:1px;overflow-wrap:anywhere}
a:hover{color:var(--purple);text-decoration-color:currentColor}
a:focus-visible{outline:1px solid var(--purple);outline-offset:4px}
p{margin:0 0 1.35em}
em{font-style:italic}
strong{font-weight:400}
.about{position:relative}
.about img{float:right;width:250px;height:auto;display:block;margin:8px 0 26px 34px}
@media (min-width:1300px){.about img{float:none;position:absolute;left:calc(100% + 44px);top:8px;width:270px;margin:0}}
.icons{display:flex;align-items:center;gap:26px;margin-top:44px}
.icons a{display:inline-flex;color:var(--quiet)}
.icons a:hover{color:var(--purple)}
.icons svg{width:22px;height:22px}
.topic h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.note{font-style:italic;color:var(--quiet);margin:0 0 44px}
.topic h3,.topic h3.group{font-family:var(--sans);font-weight:300;font-size:12.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--quiet);margin:64px 0 26px}
.topic .note+h3{margin-top:0}
.pub{display:grid;grid-template-columns:76px minmax(0,1fr);margin:0 0 46px}
.pub>*{grid-column:2;margin:0}
.pub>.yr{grid-column:1;grid-row:1;font-family:var(--sans);font-weight:300;font-size:13.5px;letter-spacing:.08em;color:var(--quiet);line-height:28px}
.pub-title{font-weight:400;font-size:19px;line-height:1.48}
.pub .pub-title{margin:0 0 7px}
.pub-title a{text-decoration:none}
.pub p:not(.pub-title){font-family:var(--sans);font-weight:300;font-size:15px;line-height:1.72;color:#544d59}
.pub p em{font-family:var(--text);font-size:15.5px}
.meta{font-family:var(--sans);font-weight:300;font-size:14px;color:var(--quiet)}
ul.plain{list-style:none;padding:0;margin:0}
ul.plain li{margin:0 0 .9em;font-size:16px}
section{margin-top:52px}
section:first-child{margin-top:0}
section>h2{font-family:var(--sans);font-weight:300;font-size:12.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--purple);margin:0 0 20px}
section h3{font-family:var(--sans);font-weight:300;font-size:14px;color:var(--quiet);margin:22px 0 8px}
.entry{margin:18px 0 2px;line-height:1.6}
.entry .date{display:block;font-family:var(--sans);font-size:13px;letter-spacing:.06em;color:var(--quiet)}
.sub{margin:0 0 .5em;line-height:1.6}
section ul{margin:6px 0 12px;padding-left:1.1em}
section li{margin:0 0 .35em;line-height:1.6}
[lang|="zh"]{font-family:'Noto Sans HK','PingFang HK','PingFang TC','Microsoft JhengHei',sans-serif;font-weight:300;letter-spacing:.08em}
footer{font-family:var(--sans);font-weight:300;font-size:12px;letter-spacing:.08em;color:var(--quiet);margin-top:96px}
@media (max-width:640px){
  body{font-size:16.5px}
  .page{padding-top:48px}
  h1{font-size:34px}
  nav{gap:6px;letter-spacing:.07em;font-size:11.5px}
  nav a{padding:9px 11px}
  .pub{grid-template-columns:minmax(0,1fr)}
  .pub>*,.pub>.yr{grid-column:1;grid-row:auto}
}
.pub .pub-title em{font-size:inherit}
.pub p.conf:not(.pub-title){color:var(--ink);font-size:15px}
.pub p.conf strong{font-weight:400}
.pub p.extra:not(.pub-title){font-family:var(--text);font-style:italic;font-weight:300;font-size:15.5px;color:var(--quiet);margin-top:4px}
.topic h3+.note{margin:0 0 34px}
.pub.press{margin-bottom:26px}
.pub.press .pub-title{font-size:16.5px;line-height:1.6;margin-bottom:3px}
.pub.press p:not(.pub-title){font-size:14px}
.topic h2+h3{margin-top:0}
.tiles{display:flex;gap:6px;margin-bottom:6px}
.tiles img{min-width:0;height:auto;display:block}
.tiles figure{min-width:0;margin:0}
.tiles figure img{width:100%}
.tiles.pair{margin-top:56px;align-items:flex-end}
.topic .tiles h3{margin:0 0 20px}
.tiles+h3{margin-top:56px;margin-bottom:20px}
.topic .tiles+h3{margin:56px 0 20px}
.topic h2+.tiles.pair{margin-top:0}
figcaption{font-family:var(--sans);font-weight:300;font-size:13.5px;letter-spacing:.08em;color:var(--quiet);margin-top:8px}
.tiles.details{margin-top:26px}
.caption{font-family:var(--sans);font-weight:300;font-size:13.5px;letter-spacing:.08em;color:var(--quiet);margin:8px 0 0}
.topic .caption+h3{margin:56px 0 20px}
@media (max-width:640px){.about img{float:none;width:100%;max-width:300px;margin:0 0 32px}}

.cv .pub{margin-bottom:30px}
.cv .pub p .org{font-weight:400;color:var(--ink)}
.cv h2{margin-bottom:26px}
.langs{display:grid;grid-template-columns:120px minmax(0,1fr);row-gap:6px;margin:0 0 0 76px;align-items:baseline}
.langs dt{font-size:17px;font-weight:400}
.langs dd{margin:0;font-family:var(--sans);font-weight:300;font-size:15px;color:#544d59}
@media(max-width:560px){.langs{margin-left:0}}
.topic .note.next{margin:48px 0 34px}
.pub.shown{margin-bottom:40px}
.back{font-family:var(--sans);font-weight:300;font-size:14px;margin:36px 0 0}
.caption+.tiles{margin-top:56px}
.trio{display:grid;gap:6px;align-items:start}
.trio img{display:block;width:100%;height:auto}
.trio div{display:grid;gap:6px;min-width:0}
.single{display:block;width:440px;max-width:100%;height:auto;margin-left:76px}
@media(max-width:560px){.single{margin-left:0}}
.film{display:block;width:100%;height:auto;background:#000}
.single.below{margin-top:28px}
.plate{display:block;width:100%;height:auto}
h1 .zh-name{font-family:'Noto Sans HK','PingFang HK',sans-serif;font-weight:200;font-size:.62em;letter-spacing:.32em;margin-left:.7em;vertical-align:.12em}
@media(min-width:561px){.tiles.pair h3{white-space:nowrap}}
