﻿@font-face { font-family: "Noto Serif SC"; src: local("Noto Serif CJK SC SemiBold"), local("NotoSerifCJKsc-SemiBold"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Noto Sans SC"; src: local("Noto Sans CJK SC"), local("NotoSansCJKsc-Regular"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Sans SC"; src: local("Noto Sans CJK SC Medium"), local("NotoSansCJKsc-Medium"); font-weight: 500; font-display: swap; }
:root { --wb-serif: "Noto Serif SC", var(--font-serif); --wb-sans: "Noto Sans SC", var(--font-sans); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--color-paper); color: var(--color-body); font: 400 18px/1.75 var(--wb-sans); letter-spacing: .02em; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--wb-serif); font-weight: 600; color: var(--color-ink); line-height: 1.35; letter-spacing: .03em; }
h2 { font-size: 40px; }
h3 { font-size: 24px; font-weight: 500; color: var(--color-ink); line-height: 1.5; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: 500 16px/1.5 var(--wb-sans); letter-spacing: .04em; color: var(--color-ink); cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
button, a { touch-action: manipulation; }
a { color: var(--color-accent); text-decoration: none; text-underline-offset: .22em; }
a:hover { color: var(--color-accent-ink); text-decoration: underline; }
button:hover:not(:disabled) { background: var(--color-accent-wash); }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }
::selection { background: var(--color-accent-wash); color: var(--color-ink); }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.wrap { max-width: 1440px; margin-inline: auto; padding-inline: clamp(20px, 4.444vw, 64px); }
.caption, figcaption { font-size: 15px; line-height: 1.6; letter-spacing: .04em; }
.muted, figcaption { color: var(--color-muted); }
.accent { color: var(--color-accent); }
.latin, .signature, .year, .journal, .product-name, .footer-motto { font-family: var(--font-latin); font-weight: 500; letter-spacing: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: 8px; left: 20px; padding: 12px; background: var(--color-paper); z-index: 3; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.page-header { display: flex; align-items: center; gap: 16px; padding-block: 20px; }
.identity { flex: 1; min-width: 0; }
.signature { font-size: 28px; line-height: 1; color: var(--color-ink); margin-bottom: 4px; }
.mail-link { font-size: 15px; min-width: 100px; padding-block: 12px; }
.header-portrait { display: none; }
.intro { padding-block: 36px 40px; }
.intro h1 { display: grid; grid-template-columns: repeat(4, max-content); width: max-content; max-width: 100%; font-size: clamp(40px, 5.3vw, 76px); line-height: 1.25; letter-spacing: .02em; }
.motto-unit { display: grid; grid-template-rows: auto auto; row-gap: 12px; }
.motto-zh { white-space: nowrap; }
.motto-en { display: flex; justify-content: center; width: 75%; white-space: nowrap; font: 500 clamp(14px, 1.9vw, 26px)/1.4 var(--font-latin); letter-spacing: .015em; color: var(--color-accent); }
.intro-row { display: grid; grid-template-columns: 860fr 388fr; gap: 64px; align-items: center; margin-top: 24px; }
.lead { font-size: 24px; line-height: 1.8; letter-spacing: .03em; }
.lead > span { display: inline-block; }
.byline { display: flex; gap: 16px; align-items: center; }
.byline img { width: 56px; height: 70px; object-fit: cover; }
.workbench { padding-bottom: 48px; scroll-margin-top: 16px; }
.view-tabs { display: flex; gap: 16px; margin-bottom: 24px; }
.view-tabs button { min-height: 48px; width: 180px; padding: 12px 16px; border: 0; background: none; border-radius: var(--radius-sm); font-size: 17px; }
.view-tabs button[aria-selected="true"] { background: var(--color-ink); color: var(--color-on-accent); }
.observation { display: grid; grid-template-columns: minmax(0, 880fr) minmax(0, 368fr); grid-template-rows: auto auto 1fr; column-gap: 64px; row-gap: 16px; scroll-margin-top: 16px; }
.observation:focus { outline: none; }
.observation-kicker { grid-column: 2; grid-row: 1; font-size: 26px; line-height: 1; }
.observation-title { grid-column: 2; grid-row: 2; font-size: 38px; }
.visual { grid-column: 1; grid-row: 1 / 4; min-width: 0; }
.image-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: center; padding-block: 5px; }
.sample-figure { min-width: 0; }
.sample-label { display: none; font-size: 15px; margin-bottom: 8px; }
.sample { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--color-ink); }
.sample .source-image { position: absolute; width: 1316.83%; height: 711.09%; max-width: none; top: -16.77%; left: -56.58%; pointer-events: none; }
.sample[data-kind="model"] .source-image { left: -266.78%; }
.sample[data-kind="annotation"] .source-image { left: -162.29%; }
.raw-detail-cell .source-image { width: 2633.66%; height: 1422.17%; left: -213.16%; top: -133.53%; }
.observation[data-view="detail"] .source-image { width: 2633.66%; height: 1422.17%; top: -133.53%; }
.observation[data-view="detail"] .sample[data-kind="model"] .source-image { left: -633.55%; }
.observation[data-view="detail"] .sample[data-kind="annotation"] .source-image { left: -424.57%; }
.focus-region { position: absolute; left: 50%; top: 59%; width: 50%; height: 31.5%; border: 2px dashed var(--color-on-accent); padding: 0; background: transparent; }
.focus-region:hover:not(:disabled) { background: transparent; border-style: solid; }
.focus-region:focus-visible { outline-color: var(--color-on-accent); outline-offset: -6px; }
#image-caption { margin-top: 12px; }
.field-note { grid-column: 2; grid-row: 3; display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-size: 17px; line-height: 1.75; margin-bottom: 16px; padding: 0; }
.choice-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.choice-row button { border: 1px solid var(--color-muted); background: var(--color-paper); min-height: 48px; padding: 10px; }
.action { border: 0; background: var(--color-accent-wash); color: var(--color-accent); min-height: 48px; padding: 12px 16px; }
.action:hover:not(:disabled) { color: var(--color-accent-ink); background: var(--color-surface); }
.image-error { position: absolute; inset: 0; padding: 24px; background: var(--color-surface); display: grid; align-content: center; gap: 16px; text-align: center; }
.image-error button { min-height: 48px; padding: 8px 16px; background: var(--color-paper); border: 1px solid var(--color-muted); }
.body-sections { display: flex; flex-direction: column; gap: 96px; padding-block: 96px; }
.research { display: grid; grid-template-columns: minmax(290px, 336fr) minmax(0, 912fr); column-gap: 64px; row-gap: 16px; align-items: start; }
.section-voice p { margin-top: 16px; }
.research-questions { grid-column: 2; grid-row: 1 / 3; margin: 0; padding: 0; list-style: none; counter-reset: question; display: grid; gap: 28px; }
.research-questions li { position: relative; counter-increment: question; padding-left: 64px; }
.research-questions li::before { content: counter(question, decimal-leading-zero); position: absolute; top: 3px; left: 0; color: var(--color-accent); font: 500 28px/1 var(--font-latin); }
.research-questions p { margin-top: 8px; max-width: 760px; }
.reconstruction { grid-column: 1; grid-row: 2; }
.reconstruction img { width: 100%; height: auto; }
.reconstruction figcaption { font-size: 14px; margin: 16px 0; }
.reconstruction a, .reading a, .join a { font-size: 15px; line-height: 1.6; }
.work h2 { font-size: 48px; margin-bottom: 40px; }
.product-row { display: grid; grid-template-columns: minmax(0, 768fr) minmax(0, 480fr); gap: 64px; }
.product-row + .product-row { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--color-hairline); }
.product-row > .product-copy { grid-column: 2; grid-row: 1; }
.product-row > .product-figure { grid-column: 1; grid-row: 1; min-width: 0; }
.product-row figure img { width: 100%; height: auto; }
figcaption { margin-top: 12px; }
.product-copy { display: flex; flex-direction: column; gap: 24px; }
.product-name { font-size: 44px; line-height: 1; overflow-wrap: anywhere; }
.product-claim { font-size: 26px; line-height: 1.5; color: var(--color-ink); }
.reading-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.reading-head .latin { font-size: 21px; }
.publication { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 24px; border-top: 1px solid var(--color-hairline); padding-top: 24px; margin-top: 24px; }
.year { font-size: 28px; line-height: 1; color: var(--color-muted); }
.journal { font-size: 22px; line-height: 1.2; color: var(--color-muted); margin-block: 8px; }
.join { background: var(--color-accent-wash); padding: 48px; display: flex; flex-direction: column; gap: 32px; }
.join h2 { font-size: 48px; }
.join-lead { max-width: 960px; font-size: 20px; }
.supports { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.page-footer { padding-block: 32px; }
.footer-motto { border-top: 1px solid var(--color-hairline); padding-top: 16px; color: var(--color-accent); font-size: 38px; line-height: 1; }
.footer-row { margin-top: 16px; display: flex; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--color-muted); }
@media (prefers-reduced-motion: no-preference) {
  .view-tabs button, .choice-row button, .action { transition: background-color .16s ease, color .16s ease; }
}
@media (max-width: 1100px) and (min-width: 768px) {
  .intro-row { grid-template-columns: 1.6fr 1fr; gap: 32px; }
  .byline .caption { font-size: 14px; }
  .observation { column-gap: 32px; grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr); }
  .observation-title { font-size: 30px; }
  .research, .product-row { gap: 32px; }
  .research { grid-template-columns: minmax(240px, 336fr) minmax(0, 912fr); }
  .research h2 { font-size: 32px; }
}
@media (max-width: 900px) and (min-width: 768px) {
  .observation { display: flex; flex-direction: column; gap: 16px; }
  .observation-kicker { order: 0; }
  .observation-title { order: 1; }
  .visual { order: 2; width: 100%; }
  .field-note { order: 3; }
  .research, .product-row { display: block; }
  .research-questions { margin-top: 32px; }
  .product-row > .product-figure { margin-top: 24px; }
  .reconstruction { max-width: 336px; margin-top: 24px; }
}
@media (max-width: 767px) {
  body { font-size: 17px; }
  .wrap { padding-inline: 20px; }
  h2 { font-size: 34px; }
  h3 { font-size: 20px; }
  .page-header { gap: 8px; padding-block: 12px; }
  .header-portrait { display: block; width: 56px; height: 70px; object-fit: cover; }
  .signature { font-size: 22px; line-height: 1; }
  .signature span { display: block; }
  .signature .name-divider { display: none; }
  .identity .caption { font-size: 13px; line-height: 1.6; letter-spacing: 0; }
  .mail-link { min-width: auto; flex-shrink: 0; padding: 12px 8px; }
  .intro { padding-block: 16px 24px; }
  .intro h1 { grid-template-columns: repeat(2, max-content); row-gap: 20px; font-size: clamp(32px, 10.6vw, 44px); }
  .motto-unit { row-gap: 6px; }
  .motto-en { font-size: clamp(14px, 3.75vw, 16px); }
  .intro-row { display: block; margin-top: 20px; }
  .lead { font-size: 20px; }
  .byline { display: none; }
  .workbench { padding-bottom: 32px; }
  .view-tabs { gap: 8px; margin-bottom: 16px; }
  .view-tabs button { flex: 1; width: auto; padding: 12px 8px; font-size: 15px; }
  .observation { display: flex; flex-direction: column; gap: 12px; }
  .observation-title { font-size: 30px; order: 3; }
  .observation-kicker { order: 2; font-size: 22px; margin-top: 12px; }
  .visual { order: 1; }
  .field-note { order: 4; gap: 16px; }
  .observation[data-view="model"] .observation-title { order: 0; font-size: 24px; line-height: 1.4; }
  .observation[data-view="model"] .observation-kicker,
  .observation[data-view="model"] #observation-description,
  .observation[data-view="model"] legend { display: none; }
  .observation[data-view="model"] .field-note { gap: 12px; }
  .observation[data-view="detail"] .observation-title { order: 0; font-size: 24px; line-height: 1.4; }
  .observation[data-view="detail"] .observation-kicker,
  .observation[data-view="detail"] #image-caption { display: none; }
  .observation[data-view="detail"] .field-note { gap: 12px; }
  .image-stage { display: block; padding: 0; }
  .reference-cell, .raw-detail-cell { display: none; }
  .observation[data-view="original"] .reference-cell { display: block; }
  .observation[data-view="detail"] .image-stage { display: flex; flex-direction: column; gap: 8px; }
  .observation[data-view="detail"] .sample-figure { width: 100%; }
  .observation[data-view="detail"] .sample { aspect-ratio: 350 / 220; }
  .observation[data-view="detail"] .source-image { height: 2257.42%; top: -240.53%; }
  .observation[data-view="detail"] .sample-label { display: block; margin-top: 0; margin-bottom: 6px; font-size: 14px; }
  #image-caption { font-size: 14px; }
  .body-sections { padding-block: 56px; gap: 56px; }
  .research { display: flex; flex-direction: column; gap: 24px; }
  .research-questions { gap: 24px; width: 100%; }
  .research-questions li { padding-left: 42px; }
  .research-questions li::before { font-size: 24px; }
  .reconstruction img { width: 100%; max-width: 350px; }
  .reconstruction figcaption { margin-block: 8px; }
  .geometry-question .reconstruction { margin-top: 12px; }
  .work h2 { font-size: 34px; margin-bottom: 24px; }
  .product-row { display: flex; flex-direction: column; gap: 24px; }
  .product-row + .product-row { margin-top: 40px; padding-top: 40px; }
  .product-name { font-size: 36px; }
  .product-claim { font-size: 22px; }
  .reading-head { display: block; }
  .reading-head h2 { font-size: 32px; }
  .reading-head p { margin-top: 16px; }
  .publication { display: block; }
  .publication h3 { font-size: 21px; }
  .year { margin-bottom: 8px; }
  .journal { font-size: 18px; }
  .join { padding: 24px; }
  .join h2 { font-size: 32px; }
  .join-lead { font-size: 17px; }
  .supports { display: flex; flex-direction: column; }
  .join a { overflow-wrap: anywhere; }
  .footer-motto { font-size: 24px; }
  .footer-row { flex-direction: column; }
}
