@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/fraunces-latin.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400 500; font-display: swap; src: url('/assets/fonts/fraunces-italic-latin.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/dm-sans-latin.woff2') format('woff2'); }
:root {
  --paper: #f8f9f6; --ink: #1c303b; --body: #46535a; --muted: #65737a;
  --red: #38696b; --accent: #38696b; --rule: #d6ddda; --soft: #edf1ed;
  --serif: 'Fraunces', Georgia, serif; --sans: 'DM Sans', system-ui, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--body); font: 400 16px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: #dce9e3; color: var(--ink); }
a { color: inherit; text-decoration: none; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 400; }
h1, h2 { font-family: var(--serif); }
h3, h4 { font-family: var(--sans); font-weight: 500; }
em { font-family: var(--serif); font-weight: 400; }
.site-shell { max-width: 1184px; width: calc(100% - 96px); margin-inline: auto; }
.skip-link { position: fixed; top: -90px; left: 20px; z-index: 20; background: var(--ink); color: #fff; padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.masthead { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 32px; padding: 27px 0 24px; border-bottom: 1px solid var(--rule); }
.wordmark { color: var(--ink); font: 500 20px/1.3 var(--serif); letter-spacing: -.03em; }
.wordmark-sub { display: block; margin-top: 4px; color: var(--muted); font: 10px/1.5 var(--sans); letter-spacing: .08em; }
.masthead nav { display: flex; gap: 32px; align-items: center; font-size: 14px; }
.masthead nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; border-bottom: 1px solid transparent; }
.masthead nav a:hover { color: var(--accent); border-bottom-color: currentColor; }
.masthead .language-nav { grid-column: 2; justify-content: flex-end; flex-wrap: wrap; column-gap: 16px; row-gap: 0; font-size: 12px; color: var(--muted); }
.masthead .language-nav a { min-height: 36px; }
.language-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }
.language-nav a[lang="zh-Hant"] { font-family: 'PingFang TC', 'Microsoft JhengHei', sans-serif; }
.language-nav a[lang="ja"] { font-family: 'Hiragino Sans', 'Yu Gothic', Meiryo, sans-serif; }
.language-nav a[lang="ko"] { font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; }
.material-language { font-size: .86em; opacity: .8; white-space: nowrap; }
.material-link > span:first-child { flex: 1; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 288px; align-items: center; gap: 100px; padding: 68px 0 66px; }
.eyebrow, .section-kicker, .mono { font: 11px/1.7 var(--mono); letter-spacing: .075em; text-transform: uppercase; }
.eyebrow { color: var(--accent); margin-bottom: 22px; }
h1 { font-size: clamp(68px, 8.4vw, 112px); line-height: 1.02; letter-spacing: -.06em; }
.hero-thought { margin-top: 21px; color: var(--ink); font: 400 clamp(27px, 3vw, 38px)/1.3 var(--serif); letter-spacing: -.025em; }
.hero-thought em { color: var(--accent); }
.hero-lede { max-width: 515px; margin-top: 24px; font-size: 16px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 28px; }
.ink-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 48px; padding: 11px 19px; background: var(--ink); color: #fff; border: 1px solid var(--ink); font-size: 14px; transition: background .15s; }
.ink-button:hover { background: var(--accent); border-color: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 6px 0 4px; border-bottom: 1px solid var(--rule); color: var(--ink); font-size: 14px; line-height: 1.5; }
.text-link:hover { color: var(--accent); border-color: currentColor; }
.hero-aside { width: 100%; justify-self: end; }
.portrait-print { width: 100%; }
.portrait-print img { width: 100%; height: auto; border: 1px solid #e1e4e0; }
.portrait-print figcaption { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0 13px; border-bottom: 1px solid var(--rule); color: var(--muted); font: 11px/1.5 var(--mono); }
.portrait-print figcaption span:first-child { color: var(--ink); font: 19px/1.5 'Songti TC', 'Noto Serif TC', serif; letter-spacing: .18em; }
.portrait-note { margin-top: 13px; color: var(--muted); font: 11px/1.6 var(--sans); letter-spacing: .025em; }
.contents-line { display: flex; gap: 32px; align-items: center; padding: 20px 0; border-block: 1px solid var(--rule); font-size: 13px; }
.contents-line > .mono { color: var(--muted); margin-right: 16px; font-size: 10px; }
.contents-line a { padding: 4px 0; }
.contents-line a:hover { color: var(--accent); }
.contents-line a span { color: var(--muted); font: 10px var(--mono); margin-right: 9px; }
.contents-date { margin-left: auto; color: var(--muted); font: 10px var(--mono); }
.section { margin-top: 96px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 64px; margin-bottom: 36px; }
.section-kicker { color: var(--accent); margin-bottom: 12px; }
h2 { font-size: clamp(35px, 4.2vw, 48px); line-height: 1.16; letter-spacing: -.035em; }
h2 em { color: var(--accent); }
.section-intro { max-width: 405px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.project-index { margin: 0 0 42px; padding: 18px 0; border-block: 1px solid var(--rule); }
.project-index > span { display: block; margin-bottom: 11px; color: var(--muted); font-size: 10px; }
.project-index > div { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.project-index a { display: block; padding: 6px 0; color: var(--muted); font-size: 12px; }
.project-index a:hover { color: var(--accent); }
.project-divider { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 18px; align-items: start; padding-top: 22px; border-top: 1px solid var(--ink); }
.project-number { color: var(--accent); font: 12px/1.7 var(--mono); }
.project-category { margin-bottom: 8px; color: var(--muted); font: 10px/1.7 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.project-divider h3 { font-size: clamp(23px, 2.4vw, 30px); line-height: 1.3; letter-spacing: -.025em; }
.project-feature { display: grid; grid-template-columns: 1fr; gap: 28px; }
.project-figure { min-width: 0; }
.image-mat { position: relative; padding: 20px; background: #fff; border: 1px solid #e1e5e1; }
.paper-image-link { display: block; }
.paper-image-link img { width: 100%; height: auto; object-fit: contain; }
.project-figure figcaption { display: flex; justify-content: space-between; align-items: start; gap: 18px; margin-top: 12px; color: var(--muted); font: 10px/1.7 var(--mono); }
.project-figure figcaption > span { min-width: 0; }
.project-figure figcaption a { flex: 0 0 auto; width: auto; text-decoration: underline; text-underline-offset: 4px; }
.project-copy h4 { font: 400 30px/1.25 var(--serif); letter-spacing: -.025em; }
.project-copy p { font-size: 15px; line-height: 1.85; }
.project-copy > p:not([class]), .project-introduction > p:not([class]) { margin-top: 16px; }
.project-feature > .project-copy { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; padding: 3px 0 0; }
.project-tools { margin-top: 20px; color: var(--muted); font: 11px/1.8 var(--mono) !important; }
.project-copy .contribution { margin-top: 20px; padding-left: 17px; border-left: 2px solid #99afab; font-size: 14px; }
.project-evidence .contribution { margin-top: 0; }
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
.project-details { margin-top: 22px; border-top: 1px solid var(--rule); }
.project-details summary, .study-details summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 48px; padding: 12px 0; color: var(--ink); font-size: 13px; }
.project-details summary > span, .study-details summary > span { font: 20px/1 var(--sans); transition: transform .15s; }
details[open] summary > span:last-child { transform: rotate(45deg); }
.detail-copy { padding: 0 0 16px; }
.detail-copy p { font-size: 14px; }
.detail-copy p + p { margin-top: 12px; }
.acceptance { margin-top: 14px; color: var(--muted); font: 11px/1.8 var(--mono) !important; }
.paper-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin-top: 14px; }
.paper-links .text-link { font-size: 13px; }
.work-pair { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; margin-top: 70px; }
.project-study { min-width: 0; }
.project-study > .project-divider { min-height: 132px; padding-bottom: 24px; }
.project-study .project-divider h3 { font-size: 25px; }
.work-pair .image-mat { display: flex; align-items: center; aspect-ratio: 4 / 3; padding: 38px 18px 18px; }
.work-pair .image-mat > .paper-image-link { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.work-pair .image-mat img { max-height: 100%; width: 100%; height: auto; object-fit: contain; }
.plate-label { position: absolute; top: 13px; left: 18px; color: var(--muted); font: 10px/1.6 var(--mono); }
.work-pair .project-copy { margin-top: 26px; }
.work-pair .project-copy h4 { font-size: 28px; }
.other-builds { margin-top: 78px; padding-top: 24px; border-top: 1px solid var(--ink); }
.other-builds > .section-kicker { margin-bottom: 10px; }
.build-study { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 68px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--rule); }
.build-label { margin-bottom: 13px; color: var(--muted); font: 10px/1.7 var(--mono); text-transform: uppercase; letter-spacing: .035em; }
.build-copy h3 { font-size: 26px; line-height: 1.3; letter-spacing: -.025em; }
.build-copy > p:not([class]) { max-width: 490px; margin-top: 16px; font-size: 15px; line-height: 1.85; }
.build-study .project-figure { width: 100%; max-width: 475px; justify-self: end; }
.build-study .image-mat { padding: 16px; }
.build-study .project-figure img { max-height: 375px; object-fit: contain; }
.earlier-study-link { margin-top: 24px; }
.research { padding-top: 48px; border-top: 1px solid var(--ink); }
.research .section-heading { margin-bottom: 20px; }
.record-note, .research-footnote { color: var(--muted); font-size: 13px; line-height: 1.85; }
.record-note { margin-bottom: 28px; }
.research-ledger { border-top: 1px solid var(--rule); }
.research-ledger article { display: grid; grid-template-columns: 84px minmax(0,1fr) 128px; gap: 30px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--rule); }
.paper-venue { color: var(--accent); font: 12px/1.7 var(--mono); }
.paper-venue > span { color: var(--muted); font-size: 10px; }
.research-ledger h3 { font: 400 25px/1.35 var(--serif); letter-spacing: -.02em; }
.research-ledger article p { margin-top: 11px; font-size: 14px; color: var(--muted); }
.research-ledger article .manuscript-note { margin-top: 13px; font-size: 12px; line-height: 1.85; }
.paper-status { padding-left: 20px; border-left: 1px solid var(--rule); color: var(--ink); font: 11px/1.8 var(--sans); }
.paper-status em { color: var(--muted); font: 11px/1.8 var(--sans); }
.research-footnote { margin-top: 20px; font-size: 12px; }
.research-footnote a { text-decoration: underline; text-underline-offset: 3px; }
.about { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 96px; padding-top: 48px; border-top: 1px solid var(--ink); }
.about h2 { font-size: clamp(34px,3.5vw,43px); line-height: 1.2; }
.about-signature { margin-top: 32px; color: var(--ink); font: 17px/1.6 var(--serif); }
.about-signature[lang='zh-Hant'] { font-family: 'Songti TC', 'Noto Serif TC', serif; }
.about-signature span { margin: 0 12px; color: var(--muted); }
.about-copy .about-lede { color: var(--ink); font: 400 23px/1.55 var(--serif); letter-spacing: -.015em; }
.about-copy > p + p { margin-top: 22px; font-size: 15px; line-height: 1.85; }
.personal-note { padding-top: 23px; border-top: 1px solid var(--rule); }
.personal-note em { display: block; margin-bottom: 7px; color: var(--accent); font-size: 23px; }
.study-details { margin-top: 28px; border-top: 1px solid var(--rule); }
.study-details dl { margin: 0; }
.study-details dl > div { display: grid; grid-template-columns: 84px minmax(0,1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.study-details dt { color: var(--muted); font: 11px/1.7 var(--mono); }
.study-details dd { margin: 0; font-size: 14px; }
.connect { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 84px; margin-top: 96px; padding: 48px; background: var(--ink); color: #f2f5f1; }
.connect .section-kicker { color: #aec9c1; }
.connect h2 { color: #fff; font-size: 44px; }
.connect h2 em { color: #aec9c1; }
.connect p:not([class]) { max-width: 440px; margin-top: 20px; color: #c6d3d5; font-size: 14px; line-height: 1.85; }
.external-links { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 32px; align-content: center; }
.external-links a { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 58px; padding: 14px 0; border-bottom: 1px solid #526670; font-size: 14px; }
.external-links a:hover { color: #bdd8cf; }
.external-links a[hreflang="en"] { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: center; gap: 0 10px; }
.external-links .material-language { grid-column: 1 / -1; }
.footer { display: flex; justify-content: space-between; gap: 22px; align-items: center; padding: 28px 0 34px; color: var(--muted); font: 10px/1.7 var(--mono); }
.footer > span:nth-child(2) { font: italic 14px var(--serif); }
.footer a:hover { color: var(--accent); }
/* Reading pages share the identity, while source figures retain their own design. */
.paper-page { max-width: 1080px; margin: 64px auto 84px; }
.paper-page h1 { max-width: 1000px; font-size: clamp(34px,4.4vw,56px); line-height: 1.18; letter-spacing: -.035em; }
.paper-authors { max-width: 850px; margin-top: 26px; color: var(--ink); font-size: 16px; line-height: 1.8; }
.paper-affiliation { max-width: 760px; margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.paper-page .paper-links { margin-top: 26px; }
.paper-publication-note { max-width: 760px; margin: 23px 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.paper-publication-note a { text-decoration: underline; text-underline-offset: 3px; }
.paper-abstract { margin: 36px 0; padding-top: 28px; border-top: 1px solid var(--rule); }
.paper-abstract h2 { font: 500 26px/1.3 var(--sans); margin-bottom: 20px; letter-spacing: -.02em; }
.paper-abstract p { max-width: 760px; font-size: 16px; line-height: 1.9; }
.project-note-lede { max-width: 760px; margin: 26px 0 34px; font-size: 18px; line-height: 1.8; }
.project-note-page > .project-figure { margin: 32px 0 44px; }
.project-note-section { margin: 44px 0; padding-top: 30px; border-top: 1px solid var(--rule); }
.project-note-section h2 { margin-bottom: 20px; font: 500 27px/1.35 var(--sans); letter-spacing: -.025em; }
.project-note-section p { max-width: 760px; margin-bottom: 18px; font-size: 16px; line-height: 1.9; }
.project-note-section .project-figure { margin: 28px 0; }
.project-note-page .project-figure img { display: block; width: 100%; height: auto; object-fit: contain; }
.project-note-section .source-note { color: var(--muted); font-size: 13px; }
.source-image-pair { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px; }
.evidence-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; margin: 28px 0; }
.evidence-grid > div { padding-left: 20px; border-left: 2px solid #99afab; }
.evidence-label { display: block; margin-bottom: 10px; color: var(--muted); font: 11px/1.7 var(--mono); }
.evidence-grid strong { display: block; margin-bottom: 15px; color: var(--ink); font: 400 30px/1.2 var(--serif); }
.evidence-grid p { margin-bottom: 0; font-size: 14px; }
.results-table-wrap { max-width: 760px; margin: 24px 0 30px; overflow-x: auto; }
.results-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.results-table caption { padding: 0 0 12px; color: var(--muted); font: 11px/1.7 var(--mono); text-align: left; }
.results-table th, .results-table td { padding: 12px 9px; border-bottom: 1px solid var(--rule); text-align: right; vertical-align: top; overflow-wrap: break-word; font-size: 13px; line-height: 1.55; }
.results-table th:first-child, .results-table td:first-child { width: 44%; text-align: left; }
.results-table thead th { color: var(--muted); font: 11px/1.55 var(--mono); }
.results-table tbody th { font-weight: 500; }
.results-table tbody tr.highlight th, .results-table tbody tr.highlight td { color: var(--ink); font-weight: 650; }
.record-title { color: var(--ink); font: 400 22px/1.5 var(--serif) !important; }
@media (max-width: 1000px) {
  .site-shell { width: calc(100% - 64px); }
  .hero { grid-template-columns: minmax(0,1fr) 248px; gap: 56px; padding-block: 54px; }
  h1 { font-size: clamp(65px,8.4vw,90px); }
  .hero-lede { font-size: 15px; }
  .contents-line { gap: 22px; }
  .contents-line > .mono { margin-right: 0; }
  .contents-date { display: none; }
  .project-feature > .project-copy { gap: 40px; }
  .work-pair { gap: 32px; }
  .project-study > .project-divider { min-height: 140px; }
  .work-pair .project-copy h4 { font-size: 26px; }
  .build-study { gap: 40px; }
  .about { gap: 48px; }
  .connect { padding: 36px; gap: 40px; }
  .research-ledger article { grid-template-columns: 70px minmax(0,1fr) 112px; gap: 20px; }
}
@media (max-width: 720px) {
  .site-shell { width: calc(100% - 40px); }
  .masthead { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 20px 0 14px; }
  .wordmark { font-size: 19px; }
  .masthead nav { justify-content: space-between; flex-wrap: wrap; width: 100%; gap: 0 12px; font-size: 13px; }
  .masthead nav a { min-height: 36px; }
  .masthead .language-nav { grid-column: 1; justify-content: space-between; column-gap: 8px; }
  .masthead .language-nav a { min-height: 44px; }
  .hero { grid-template-columns: minmax(0,1fr); gap: 34px; padding: 38px 0 36px; }
  .eyebrow { font-size: 10px; letter-spacing: .025em; margin-bottom: 18px; }
  h1 { font-size: clamp(58px,14vw,85px); }
  .hero-thought { font-size: 30px; margin-top: 18px; }
  .hero-thought br { display: none; }
  .hero-lede { margin-top: 20px; max-width: 520px; font-size: 16px; }
  .hero-actions { gap: 26px; margin-top: 24px; }
  .hero-aside { width: 210px; justify-self: center; }
  .portrait-print figcaption { padding: 12px 0 10px; font-size: 10px; }
  .portrait-print figcaption span:first-child { font-size: 17px; }
  .portrait-note { margin-top: 10px; font-size: 10px; }
  .contents-line { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; padding: 17px 0; }
  .contents-line > .mono { font-size: 10px; }
  .contents-line a { font-size: 12px; }
  .section { margin-top: 60px; }
  .section-heading { display: block; margin-bottom: 28px; }
  h2 { font-size: 37px; }
  .section-intro { max-width: 510px; margin-top: 18px; font-size: 15px; }
  .project-index { margin-bottom: 30px; }
  .project-index > div { gap: 3px 20px; }
  .project-index a { font-size: 11px; }
  .project-divider { gap: 12px; grid-template-columns: 28px minmax(0,1fr); padding-top: 19px; }
  .project-divider h3 { font-size: 25px; }
  .project-category { font-size: 9px; }
  .project-feature { gap: 23px; }
  .image-mat { padding: 12px; }
  .project-feature > .project-copy { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .project-copy h4 { font-size: 29px; }
  .project-figure figcaption { flex-wrap: wrap; gap: 6px 14px; font-size: 10px; }
  .project-figure figcaption a { flex: 0 1 auto; }
  .work-pair { grid-template-columns: minmax(0,1fr); gap: 44px; margin-top: 44px; }
  .project-study > .project-divider { min-height: 0; padding-bottom: 23px; }
  .work-pair .image-mat { aspect-ratio: auto; min-height: 0; padding: 36px 14px 14px; }
  .work-pair .image-mat > .paper-image-link { height: auto; }
  .work-pair .project-copy { margin-top: 24px; }
  .work-pair .project-copy h4 { font-size: 28px; }
  .other-builds { margin-top: 48px; }
  .build-study { grid-template-columns: minmax(0,1fr); gap: 24px; padding: 29px 0; }
  .build-copy h3 { font-size: 25px; }
  .build-study .project-figure { max-width: 475px; justify-self: start; }
  .build-study .image-mat { padding: 12px; }
  .research { padding-top: 30px; }
  .research .section-heading > .text-link { margin-top: 16px; }
  .research-ledger article { grid-template-columns: 58px minmax(0,1fr); gap: 12px 18px; padding: 25px 0; }
  .paper-venue { font-size: 11px; }
  .paper-venue > span { font-size: 9px; }
  .research-ledger h3 { font-size: 23px; }
  .paper-status { grid-column: 2; padding-left: 0; border-left: 0; }
  .paper-status br { display: none; }
  .paper-status em { margin-left: 8px; }
  .research-footnote { font-size: 12px; }
  .about { grid-template-columns: minmax(0,1fr); gap: 30px; padding-top: 30px; }
  .about h2 { font-size: 37px; }
  .about-signature { margin-top: 24px; }
  .about-copy .about-lede { font-size: 22px; }
  .connect { grid-template-columns: minmax(0,1fr); gap: 24px; margin-top: 60px; padding: 28px; }
  .connect h2 { font-size: 40px; }
  .external-links { gap: 0 24px; }
  .footer { flex-wrap: wrap; gap: 14px 20px; font-size: 10px; }
  .footer > span:nth-child(2) { margin-left: auto; font-size: 13px; }
  .footer a { width: 100%; }
  .paper-page { margin-top: 38px; }
  .paper-page h1 { font-size: 36px; overflow-wrap: anywhere; }
  .paper-authors { font-size: 15px; }
  .paper-abstract p, .project-note-section p { font-size: 16px; }
  .project-note-lede { font-size: 17px; }
  .project-note-section { margin: 34px 0; padding-top: 26px; }
  .project-note-section h2 { font-size: 25px; }
  .source-image-pair, .evidence-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .results-table th, .results-table td { padding: 10px 5px; font-size: 12px; }
  .results-table thead th { font-size: 10px; }
}
@media (max-width: 360px) {
  .hero-actions { gap: 18px; }
  .ink-button { gap: 18px; padding-inline: 14px; font-size: 13px; }
  h1 { font-size: 56px; }
  .connect { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  body { background: #fff; color: #222; font-size: 11pt; }
  .skip-link, .masthead nav, .contents-line, .project-index, .footer a { display: none; }
  .site-shell { width: 100%; max-width: none; }
  .masthead { padding: 0 0 12pt; }
  .hero { padding: 24pt 0; }
  .section { margin-top: 30pt; }
  .paper-page { margin: 24pt 0; max-width: none; }
  .project-note-section, .paper-abstract { margin: 20pt 0; padding-top: 14pt; }
  h1, h2, h3, h4 { break-after: avoid; }
  figure, .evidence-grid { break-inside: avoid; }
  .work-pair .image-mat { aspect-ratio: auto; }
  .connect { background: #fff; color: #222; padding: 20pt 0; border-top: 1px solid #888; }
  .connect h2, .connect p:not([class]), .connect h2 em, .connect .section-kicker { color: #222; }
}

/* Research project pages: shared reading hierarchy and actual source materials. */
.research-project { max-width: 1080px; margin-top: 58px; }
.research-project .project-header { max-width: 970px; }
.research-project h1 { max-width: 880px; font-size: clamp(38px,4.4vw,56px); line-height: 1.14; letter-spacing: -.035em; }
.project-lede { max-width: 740px; margin: 24px 0 0; color: var(--ink); font-size: 20px; line-height: 1.65; }
.research-project .paper-authors { margin-top: 24px; font-size: 14px; line-height: 1.85; }
.research-project .paper-affiliation { margin-top: 9px; font-size: 12px; }
.project-status { max-width: 820px; margin-top: 19px; font-size: 12px; line-height: 1.85; color: var(--muted); }
.project-resource-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
.project-resource-links .ink-button { min-height: 46px; }
.project-contents { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 36px 0 0; padding: 17px 0; border-block: 1px solid var(--rule); font-size: 12px; }
.project-contents a { padding: 5px 0; }
.project-contents a:hover { color: var(--accent); }
.project-highlights { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 34px; margin: 32px 0 44px; }
.project-highlights > div { min-width: 0; padding-top: 5px; }
.project-highlights .evidence-label { margin-bottom: 12px; font-size: 10px; text-transform: none; }
.project-highlights strong { display: block; color: var(--ink); font: 400 clamp(25px,2.7vw,34px)/1.25 var(--serif); letter-spacing: -.025em; }
.project-highlights p { max-width: 295px; margin-top: 12px; font-size: 13px; line-height: 1.8; }
.research-project .project-note-section { margin: 44px 0; padding-top: 28px; }
.research-project .project-note-section h2 { margin-bottom: 24px; font: 400 31px/1.25 var(--serif); }
.research-project .project-note-section p { font-size: 15px; line-height: 1.85; }
.project-overview-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 54px; }
.contribution-note { padding-left: 25px; border-left: 2px solid #91aaa4; }
.contribution-note h3 { margin-bottom: 13px; color: var(--accent); font-size: 14px; }
.research-project .contribution-note p { font-size: 14px; }
.research-project .project-main-figure { margin: 32px 0 44px; }
.research-project .project-main-figure img { width: 100%; height: auto; max-height: 560px; object-fit: contain; }
.project-video-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px; margin: 26px 0; }
.project-video-grid video { display: block; width: 100%; height: auto; background: #162632; }
.project-video-grid figcaption { margin-top: 11px; font-size: 12px; line-height: 1.7; }
.project-materials-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 54px; align-items: start; }
.material-list { list-style: none; margin: 0; padding: 0; }
.material-list li { margin-bottom: 23px; padding-bottom: 22px; border-bottom: 1px solid var(--rule); }
.material-link { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--ink); }
.material-link strong { display: block; font-size: 15px; font-weight: 500; }
.material-link:hover strong { color: var(--accent); }
.material-format { display: block; margin-top: 6px; color: var(--muted); font: 10px/1.8 var(--mono); }
.research-project .material-list li p { margin: 13px 0 0; font-size: 13px; line-height: 1.85; }
.poster-preview { max-width: 340px; justify-self: end; }
.poster-preview img { width: 100%; height: auto; border: 1px solid var(--rule); }
.poster-preview figcaption { margin-top: 13px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.poster-preview .text-link { min-height: 32px; font-size: 12px; }
.research-project .source-note { color: var(--muted); font-size: 12px !important; line-height: 1.85; }
.research-project .source-note .text-link { display: inline; min-height: 0; padding: 0; font-size: inherit; }
.research-project .results-table-wrap { max-width: none; }
.research-project .results-table th:first-child { width: 39%; }
.research-project .study-table td:last-child, .research-project .study-table thead th:last-child { text-align: left; }
.research-project .subsection-title { margin: 30px 0 16px; font-size: 18px; }
.research-project .paper-abstract-text { max-width: 800px; font-size: 14px !important; line-height: 1.95 !important; }
.project-record + .project-record { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--rule); }
.project-record .paper-authors { margin-top: 13px; color: var(--muted); font-size: 13px; }
.project-next { margin-top: 60px; padding-top: 25px; border-top: 1px solid var(--ink); }
.project-next > span { display: block; }
.project-next > div { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 20px 0; }
.project-next > div a { color: var(--ink); font-size: 14px; }
.project-next > div a:hover { color: var(--accent); }
@media(max-width:720px) {
 .research-project { margin-top: 34px; }
 .research-project h1 { font-size: 37px; }
 .project-lede { margin-top: 20px; font-size: 18px; }
 .research-project .paper-authors { font-size: 13px; }
 .project-resource-links { gap: 9px 19px; }
 .project-resource-links .ink-button,.project-resource-links .text-link { font-size: 13px; }
 .project-contents { gap: 6px 23px; margin-top: 27px; }
 .project-highlights { grid-template-columns: minmax(0,1fr); gap: 22px; margin: 28px 0 34px; }
 .project-highlights > div { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 7px 18px; padding: 0 0 18px; border-bottom: 1px solid var(--rule); }
 .project-highlights .evidence-label { grid-column: 1; margin-bottom: 0; }
 .project-highlights strong { grid-column: 1; font-size: 26px; }
 .project-highlights p { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; font-size: 12px; }
 .project-overview-grid,.project-materials-grid,.project-video-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
 .contribution-note { padding-left: 18px; }
 .research-project .project-note-section h2 { font-size: 28px; }
 .research-project .project-note-section p { font-size: 15px; }
 .poster-preview { justify-self: start; max-width: 330px; }
 .research-project .results-table th,.research-project .results-table td { font-size: 12px; overflow-wrap: anywhere; }
 .research-project .results-table th:first-child { width: 36%; }
 .research-project .project-main-figure .image-mat { padding: 10px; }
}
@media print {
 .project-contents,.project-next,.project-resource-links { display: none; }
 .research-project .project-highlights { break-inside: avoid; }
 .project-video-grid { display: none; }
}

/* Current technical service in the About section. */
.activity-note { margin-top: 28px; padding: 22px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.activity-note h3 { margin-top: 10px; font: 400 23px/1.35 var(--serif); }
.activity-note p:not(.section-kicker) { margin-top: 12px; font-size: 14px; line-height: 1.85; }

html[lang="zh-Hant"] {
  --serif: 'Fraunces', 'Songti TC', 'Noto Serif CJK TC', 'Noto Serif TC', serif;
  --sans: 'DM Sans', 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans CJK TC', sans-serif;
  --mono: ui-monospace, 'PingFang TC', 'Microsoft JhengHei', monospace;
}
html[lang="ja"] {
  --serif: 'Fraunces', 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif CJK JP', serif;
  --sans: 'DM Sans', 'Hiragino Sans', 'Yu Gothic', 'Noto Sans CJK JP', sans-serif;
  --mono: ui-monospace, 'Hiragino Sans', 'Yu Gothic', monospace;
}
html[lang="ko"] {
  --serif: 'Fraunces', 'AppleMyungjo', Batang, 'Noto Serif CJK KR', serif;
  --sans: 'DM Sans', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans CJK KR', sans-serif;
  --mono: ui-monospace, 'Apple SD Gothic Neo', 'Malgun Gothic', monospace;
}
:is(html[lang="zh-Hant"], html[lang="ja"], html[lang="ko"]) :is(h1, h2, h3, h4) { letter-spacing: normal; }
:is(html[lang="ja"], html[lang="zh-Hant"]) { line-break: strict; }
html[lang="ko"] main { word-break: keep-all; overflow-wrap: anywhere; }
