/* Monochrome editorial portfolio. Content and original image colours stay intact. */
.home-photo-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
.home-photo { display: flex; align-items: center; justify-content: center; background: #ededed; aspect-ratio: 3/2; padding: 18px; }
.home-photo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
#home-projects .project-grid > .project-card:first-child { grid-column: auto; }
#home-projects .project-grid > .project-card:first-child > img { aspect-ratio: 16/9; }
.home-research-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.home-research-grid .study-card { min-width: 0; }
.research-teaching { margin-top: 70px; }
.research-teaching .page-heading h1 { font-size: 32px; }
@media(max-width:760px){.home-research-grid{grid-template-columns:1fr}.home-photo-grid{gap:16px}.home-photo{padding:8px}}
@media(max-width:480px){.home-photo-grid{grid-template-columns:1fr}}
:root {
  --paper: #f7f7f7;
  --ink: #171717;
  --muted: #646464;
  --line: #d6d6d6;
  --accent: #171717;
  --folio-ease: cubic-bezier(.22,.68,0,1);
  background: var(--paper);
  color: var(--ink);
}
html { scroll-behavior: smooth; scroll-padding-top: 36px; }
body { -webkit-font-smoothing: antialiased; }
::selection { background: #222; color: #fff; }
header, main, footer { width: min(1400px, calc(100% - 96px)); }
header { padding: 26px 0 24px; gap: 32px; }
.brand { font-family: Arial, sans-serif; font-size: 25px; letter-spacing: -.055em; font-weight: 600; }
.brand span { font-size: 12px; letter-spacing: .025em; font-weight: 400; }
header nav { gap: 26px; }
nav a { font-size: 14px; }
header nav a::after { content: ''; position: absolute; left: 0; bottom: 3px; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--folio-ease); }
header nav a:hover::after, header nav a[aria-current=page]::after { transform: scaleX(1); transform-origin: left; height: 1px; }
.language-switch { font-size: 12px; }
h1, h2 { font-family: Arial, "Microsoft YaHei", sans-serif; font-weight: 400; letter-spacing: -.045em; }
h1 { line-height: 1.14; }
h2 { line-height: 1.4; }
.eyebrow, .card-meta, .book-kicker { font-family: "Courier New", "Microsoft YaHei", monospace; font-size: 12px; letter-spacing: .06em; }
.lead { color: #555; }
small, figcaption, .note { font-size: 13px; }
.focus-intro { display: grid; grid-template-columns: 1.1fr 1fr; column-gap: clamp(32px,6vw,100px); padding: 58px 0 38px; align-items: start; }
.focus-intro > .eyebrow { grid-column: 1; margin: 0 0 30px; }
.focus-intro > h1 { grid-column: 1; font-size: clamp(38px,4.8vw,72px); line-height: 1.18; margin: 0; letter-spacing: -.045em; }
html[lang=en] .focus-intro > h1 { font-size: clamp(38px,4.4vw,67px); letter-spacing: -.055em; }
.focus-intro > .lead { grid-column: 1; align-self: end; font-size: 16px; margin: 34px 0 0; }
.intro-photograph { grid-column: 2; grid-row: 1 / 4; align-self: stretch; min-width: 0; display: flex; flex-direction: column; }
.intro-photograph img { width: 100%; height: 100%; min-height: 340px; max-height: 520px; object-fit: cover; flex: 1; background: #e9e9e9; }
.intro-photograph figcaption { margin-top: 12px; font-size: 12px; }
.focus-grid { grid-column: 1 / -1; width: 100%; margin-top: 58px; gap: 32px; }
.focus-grid a { padding: 18px 0 16px; position: relative; }
.focus-grid h2 { font-size: clamp(20px,2vw,26px); margin: 22px 0 12px; }
.focus-grid span { font-size: 12px; }
.focus-grid p { font-size: 16px; }
.section { padding: 58px 0; }
.section-title { padding-top: 20px; border-top: 1px solid var(--ink); margin-bottom: 30px; }
.section-title h2 { font-size: clamp(25px,2.5vw,35px); }
.section-title a { font-size: 14px; }
.study-grid { gap: 0 36px; }
.study-card { border: 0; border-bottom: 1px solid var(--line); padding: 28px 0 32px; display: flex; flex-direction: column; min-height: 285px; }
.study-card .eyebrow { margin-bottom: 26px; }
.study-card h2 { font-size: 27px; }
.study-card p { font-size: 16px; max-width: 54ch; }
.study-card .text-link { align-self: flex-start; margin-top: auto; }
.text-link { font-size: 14px; border-bottom-color: #aaa; transition: border-color .3s, color .3s; }
.text-link:hover { border-bottom-color: var(--ink); }
.hero-text { display: block; padding: 65px 0 75px; }
.hero-text > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 8%; }
.hero-text .eyebrow { grid-column: 1/-1; }
.hero-text h2 { font-size: clamp(32px,3.5vw,48px); grid-column: 1; grid-row: 2/5; }
.hero-text p:not(.eyebrow), .hero-text .text-link { grid-column: 2; max-width: 600px; }
.hero-text .text-link { justify-self: start; }
.about { grid-template-columns: 1fr 2fr; padding: 58px 0; gap: 7%; }
.about h2 { font-size: clamp(28px,3vw,40px); }
.about p { font-size: 16px; }
.about > .eyebrow { font-size: 12px; }
.timeline > div { padding: 27px 0; grid-template-columns: 180px 1.25fr 1fr; }
.timeline span, .timeline p { font-size: 14px; }
.timeline h3 { font-size: 17px; }
.project-grid { gap: 64px 32px; counter-reset: project; }
.project-card { position: relative; counter-increment: project; padding-top: 37px; border-top: 1px solid var(--ink); }
.project-card::before { content: counter(project, decimal-leading-zero); position: absolute; top: 10px; font: 12px/1 "Courier New", monospace; color: var(--muted); }
.project-card > img, .type-cover { height: auto; aspect-ratio: 16/9; width: 100%; background: #e8e8e8; }
.project-card > img { clip-path: inset(0); transition: clip-path .7s var(--folio-ease), filter .7s var(--folio-ease); }
.project-card .card-meta { font-size: 12px; margin-top: 22px; }
.project-card h2 { font-size: clamp(25px,2.6vw,38px); margin: 16px 0 10px; }
.project-card h2 span { transition: transform .35s var(--folio-ease); font-size: 22px; }
.project-card p { font-size: 16px; }
.project-card .project-date { color: var(--muted); font-size: 13px; font-weight: 400; }
.project-grid:has(> :nth-child(3)) > .project-card:first-child { grid-column: 1/-1; }
.project-grid:has(> :nth-child(3)) > .project-card:first-child > img { aspect-ratio: 2.2; }
.type-cover { color: #555; padding: 30px; }
.project-card > img.asset-contain, .project-hero.asset-contain { background: #ececec; }
.project-hero, .image-grid img { background: #ededed; }
.project-info { font-size: 14px; border-top: 1px solid var(--line); padding: 20px 0; }
.project-hero { margin-bottom: 70px; }
.page-heading { padding: 76px 0 48px; max-width: 1000px; }
.page-heading h1 { font-size: clamp(36px,4.8vw,68px); }
.page-heading .lead { max-width: 70ch; font-size: 17px; }
.two-links { gap: 36px; margin-top: 56px; }
.two-links a { padding: 30px 0 38px; }
.two-links h2 { font-size: clamp(28px,3vw,42px); }
.two-links p { font-size: 16px; }
.research-question { background: #ececec; border-color: #888; }
.annual-grid > a { background: #ededed; border-top: 1px solid var(--ink); }
.annual-year { color: #555; }
.photo-series .photo-grid figure { background: #eee; }
.reading-row { padding: 32px 0; }
.reading-row h3 { font-family: Arial,"Microsoft YaHei",sans-serif; font-size: 25px; }
.prose { max-width: 780px; }
.prose .page-heading h1 { font-size: clamp(34px,4vw,54px); }
.article-source { font-size: 14px; }
.photobook { padding-top: 45px; }
.book-heading h1 { font-family: Arial,"Microsoft YaHei",sans-serif; letter-spacing: -.045em; }
.book-stage { background: #ededed; box-shadow: none; border-block: 1px solid #e1e1e1; }
.book-stage::after { display: none; }
.book-photo img { box-shadow: none; }
.book-pagination a:hover { background: #ddd; }
.book-meta, .book-counter, .book-jump, .book-source, .book-chapters a { font-size: 14px; }
.book-hint { font-size: 12px; }
.photobook :focus-visible { outline-color: var(--ink); }
footer { padding: 32px 0 40px; font-size: 13px; }
.skip { z-index: 100; }
[data-folio-reveal] { animation: folio-reveal .8s var(--folio-ease) both; }
@keyframes folio-reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (hover:hover) {
  .project-card:hover > img { clip-path: inset(7px); filter: brightness(.94); }
  .project-card:hover h2 span { transform: translate(3px,-3px); }
  .study-card, .focus-grid a, .two-links a, .reading-row { transition: background-color .35s var(--folio-ease); }
  .study-card:hover, .focus-grid a:hover, .two-links a:hover, .reading-row:hover { background-color: #eeeeee; }
}
@media (max-width:1100px) {
  header,main,footer { width: calc(100% - 64px); }
  header nav { gap: 20px; }
  .focus-intro { column-gap: 32px; }
  .timeline > div { grid-template-columns: 140px 1fr 1fr; }
}
@media (max-width:760px) {
  header,main,footer { width: calc(100% - 40px); }
  header { padding-top: 22px; gap: 10px 20px; }
  header nav { gap: 5px 20px; margin-top: 6px; justify-content: flex-start; }
  header nav a { font-size: 14px; }
  .focus-intro { grid-template-columns: 1fr; padding-top: 38px; }
  .focus-intro > h1, html[lang=en] .focus-intro > h1 { font-size: clamp(36px,7.5vw,58px); }
  .focus-intro > .lead { font-size: 16px; margin-top: 26px; }
  .intro-photograph { grid-column: 1; grid-row: auto; margin-top: 32px; }
  .intro-photograph img { height: auto; min-height: 0; max-height: none; aspect-ratio: 4/3; }
  .focus-grid { margin-top: 32px; gap: 16px; }
  .focus-grid h2 { font-size: 21px; margin-top: 16px; }
  .focus-grid p { font-size: 14px; }
  .section { padding: 35px 0; }
  .study-grid { gap: 0 24px; }
  .study-card { min-height: 0; padding: 24px 0; }
  .study-card h2 { font-size: 24px; }
  .study-card .text-link { margin-top: 10px; }
  .hero-text { padding: 42px 0; }
  .hero-text > div { display: block; }
  .hero-text h2 { font-size: 34px; }
  .about { grid-template-columns: 1fr; gap: 8px; padding: 36px 0; }
  .timeline > div { grid-template-columns: 105px 1fr; gap: 12px 20px; }
  .timeline p { grid-column: 2; }
  .project-grid { gap: 40px 24px; }
  .project-card h2 { font-size: 25px; }
  .page-heading { padding: 46px 0 30px; }
  .page-heading h1 { font-size: 38px; }
  .project-info { flex-direction: column; gap: 10px; }
  .photobook { padding-top: 25px; }
  .book-meta, .book-counter, .book-jump, .book-chapters a { font-size: 13px; }
}
@media (max-width:600px) {
  .focus-grid { grid-template-columns: 1fr; }
  .focus-grid a { padding-bottom: 12px; }
  .focus-grid p { font-size: 16px; }
  .project-grid, .study-grid { grid-template-columns: 1fr; }
  .project-grid:has(> :nth-child(3)) > .project-card:first-child > img { aspect-ratio: 16/9; }
  .project-card > img, .type-cover { height: auto; }
  .section-title { align-items: flex-start; }
  .section-title a { flex-shrink: 0; }
  .two-links { gap: 0; margin-top: 30px; }
  .book-footer { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
