/* ==========================================================================
   Fang Lab — editorial layout
   ========================================================================== */

@font-face {
  font-family: 'Inter var';
  src: url('/assets/fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter var';
  src: url('/assets/fonts/inter-var-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #f7f4ee;
  --paper-2: #efeae1;
  --ink: #14140f;
  --ink-2: #3c3a32;
  --muted: #6e6a5e;
  --line: rgba(20, 20, 15, 0.13);
  --line-strong: rgba(20, 20, 15, 0.3);
  --night: #0c0d0a;
  --ivory: #f2efe7;
  --ivory-dim: rgba(242, 239, 231, 0.62);
  --accent: #2a4a38;
  --glow: #e3e486;

  --sans: 'Inter var', 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Helvetica Neue', Arial, sans-serif;

  --ease: cubic-bezier(0.16, 0.84, 0.44, 1);
  --gutter: clamp(20px, 4.4vw, 72px);
  --maxw: 1400px;
  --nav-h: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

::selection {
  background: var(--ink);
  color: var(--glow);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
figure,
address {
  margin: 0;
}

em {
  font-style: italic;
}

.nw {
  white-space: nowrap;
}

.wrap {
  width: min(calc(100% - var(--gutter) * 2), var(--maxw));
  margin-inline: auto;
}

.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.skip:focus {
  top: 16px;
}

/* ---------------------------------- nav ---------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  color: var(--ivory);
  transition: background 0.5s var(--ease), color 0.4s var(--ease),
    border-color 0.4s var(--ease), height 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  height: 66px;
  background: rgba(247, 244, 238, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  color: var(--ink);
  border-bottom-color: var(--line);
}

.nav.is-open {
  color: var(--ink);
  background: transparent;
  border-bottom-color: transparent;
}

.nav__inner {
  height: 100%;
  width: min(calc(100% - var(--gutter) * 2), var(--maxw));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.brand__mark {
  font-family: var(--sans);
  font-size: 26px;
  letter-spacing: -0.01em;
}

.brand__sub {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  margin-left: auto;
}

.nav__link {
  position: relative;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  padding-block: 6px;
  opacity: 0.86;
  transition: opacity 0.3s var(--ease);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.nav__link:hover {
  opacity: 1;
}

.nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.btn span {
  font-size: 12px;
  line-height: 1;
  transition: transform 0.4s var(--ease);
}

.btn:hover span {
  transform: translate(2px, -2px);
}

.nav .btn {
  border-color: rgba(242, 239, 231, 0.4);
}

.nav .btn:hover {
  background: var(--ivory);
  color: var(--night);
  border-color: var(--ivory);
}

.nav.is-scrolled .btn {
  border-color: var(--line-strong);
}

.nav.is-scrolled .btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  padding: 9px 16px;
  font-family: inherit;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

/* --------------------------------- hero ---------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: var(--nav-h);
  color: var(--ivory);
  background: var(--night);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transform: translate3d(0, var(--hero-y, 0px), 0) scale(1.06);
  will-change: transform;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(102deg, rgba(6, 7, 5, 0.86) 0%, rgba(6, 7, 5, 0.55) 34%, rgba(6, 7, 5, 0.1) 66%, rgba(6, 7, 5, 0.28) 100%),
    linear-gradient(to top, rgba(6, 7, 5, 0.97) 0%, rgba(6, 7, 5, 0.62) 34%, rgba(6, 7, 5, 0.16) 68%, rgba(6, 7, 5, 0.42) 100%),
    radial-gradient(120% 90% at 78% 6%, rgba(6, 7, 5, 0) 0%, rgba(6, 7, 5, 0.42) 82%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(40px, 7vh, 90px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(242, 239, 231, 0.78);
}

.eyebrow__rule {
  display: inline-block;
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.hero__title {
  margin-top: clamp(22px, 3vh, 34px);
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.7vw, 5.3rem);
  line-height: 0.97;
  letter-spacing: -0.02em;
  max-width: 8.9em;
}

.hero__title em {
  color: #e2e39b;
  font-style: italic;
}

.hero__lead {
  margin-top: clamp(24px, 3vh, 34px);
  max-width: 52ch;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.7;
  color: rgba(242, 239, 231, 0.74);
}

.hero__cta {
  margin-top: clamp(30px, 4vh, 44px);
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
}

.btn--solid {
  background: var(--ivory);
  color: var(--night);
  border-color: var(--ivory);
  padding: 14px 26px;
}

.btn--solid:hover {
  background: var(--glow);
  border-color: var(--glow);
}

.hero__foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  border-top: 1px solid rgba(242, 239, 231, 0.16);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(242, 239, 231, 0.6);
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: rgba(242, 239, 231, 0.7);
}

.hero__scroll-line {
  position: relative;
  display: block;
  width: 54px;
  height: 1px;
  background: rgba(242, 239, 231, 0.24);
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--glow);
  transform-origin: left;
  animation: sweep 2.6s var(--ease) infinite;
}

@keyframes sweep {
  0% {
    transform: scaleX(0);
    transform-origin: left;
  }
  45% {
    transform: scaleX(1);
    transform-origin: left;
  }
  55% {
    transform: scaleX(1);
    transform-origin: right;
  }
  100% {
    transform: scaleX(0);
    transform-origin: right;
  }
}

/* -------------------------------- sections ------------------------------- */

.section {
  padding-block: clamp(84px, 10vw, 150px);
  border-top: 1px solid var(--line);
}

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(28px, 4vw, 46px);
}

.sec-head__idx {
  font-family: var(--sans);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.sec-head--light {
  color: rgba(242, 239, 231, 0.5);
}

.sec-head--light .sec-head__idx {
  color: var(--glow);
}

.sec-foot {
  margin-top: clamp(34px, 4vw, 52px);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px 32px;
  flex-wrap: wrap;
}

.sec-note {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
}

.sec-note__tag {
  display: inline-block;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 1px 8px 2px;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line-strong);
  transition: gap 0.4s var(--ease), border-color 0.4s var(--ease);
}

.link-arrow:hover {
  gap: 18px;
  border-color: var(--ink);
}

.hero .link-arrow,
.contact .link-arrow {
  border-bottom-color: rgba(242, 239, 231, 0.34);
}

.hero .link-arrow:hover,
.contact .link-arrow:hover {
  border-color: var(--ivory);
}

/* -------------------------------- research ------------------------------- */

.statement {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 16.5em;
}

.split {
  margin-top: clamp(36px, 4.6vw, 60px);
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.research-lead {
  max-width: 58ch;
}

.research-lead p {
  font-size: clamp(15px, 1.05vw, 16.5px);
  line-height: 1.8;
  color: var(--ink-2);
  max-width: 58ch;
}

.research-lead strong {
  font-weight: 600;
  color: var(--ink);
}

.research-lead .link-arrow {
  margin-top: 32px;
}

.plate__frame {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(10px, 1vw, 16px);
  transition: border-color 0.4s var(--ease);
}

.plate__frame:hover {
  border-color: var(--line-strong);
}

.plate__frame img {
  width: 100%;
  height: auto;
}

.plate {
  max-width: 640px;
}

.plate figcaption {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* --------------------------------- pubs ---------------------------------- */

.pubs {
  border-top: 1px solid var(--line);
}

.pub {
  display: grid;
  grid-template-columns: 76px 1fr 30px;
  gap: clamp(16px, 3vw, 40px);
  align-items: baseline;
  padding-block: clamp(22px, 2.6vw, 32px);
  border-bottom: 1px solid var(--line);
  transition: background 0.5s var(--ease);
}

.pub__year {
  font-family: var(--sans);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
}

.pub__title {
  display: block;
  font-family: var(--sans);
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.28;
  letter-spacing: -0.005em;
  transition: color 0.4s var(--ease);
}

.pub__meta {
  display: block;
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 88ch;
}

.pub__meta em {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-2);
}

.pub__arrow {
  justify-self: end;
  font-size: 15px;
  color: var(--muted);
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.pub:hover .pub__title {
  color: var(--accent);
}

.pub:hover .pub__arrow {
  opacity: 1;
  transform: none;
}

.pub:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 6px;
}

/* --------------------------------- news ---------------------------------- */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.4vw, 52px);
}

.news {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
  transition: border-color 0.5s var(--ease);
}

.news__meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.news__title {
  font-family: var(--sans);
  font-size: clamp(20px, 1.75vw, 25px);
  line-height: 1.26;
  transition: color 0.4s var(--ease);
}

.news__text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.4s var(--ease), gap 0.4s var(--ease);
}

.news:hover {
  border-top-color: var(--ink);
}

.news:hover .news__title {
  color: var(--accent);
}

.news:hover .news__more {
  color: var(--ink);
  gap: 14px;
}

/* ------------------------------ people link ------------------------------ */

.people-link {
  border-top: 1px solid var(--line);
  padding-block: clamp(30px, 3.6vw, 46px);
}

.people-link__inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px 28px;
  flex-wrap: wrap;
}

.people-link__label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* -------------------------------- contact -------------------------------- */

.contact {
  background: var(--night);
  color: var(--ivory);
  padding-block: clamp(84px, 10vw, 150px);
}

.contact__title {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 18ch;
}

.contact__grid {
  margin-top: clamp(30px, 3.6vw, 46px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}

.contact__addrlabel {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 239, 231, 0.45);
  margin-bottom: 12px;
}

.contact__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.75;
  color: var(--ivory-dim);
}

.contact__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  font-family: var(--sans);
  font-size: clamp(19px, 1.8vw, 25px);
}

.contact__links a {
  position: relative;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(242, 239, 231, 0.24);
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}

.contact__links a:hover {
  color: var(--glow);
  border-color: var(--glow);
}

/* --------------------------------- footer -------------------------------- */

.foot {
  background: var(--night);
  color: var(--ivory);
  border-top: 1px solid rgba(242, 239, 231, 0.12);
  padding-block: clamp(48px, 6vw, 80px) 28px;
}

.foot__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  flex-wrap: wrap;
}

.foot__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.foot__mark {
  font-family: var(--sans);
  font-size: clamp(3.4rem, 11vw, 8.4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  padding-bottom: 4px;
  color: rgba(242, 239, 231, 0.94);
}

.foot__sub {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 239, 231, 0.5);
}

.foot__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, auto));
  gap: 8px 40px;
  font-size: 12.5px;
  color: rgba(242, 239, 231, 0.66);
}

.foot__nav a {
  transition: color 0.3s var(--ease);
}

.foot__nav a:hover {
  color: var(--ivory);
}

.foot__base {
  margin-top: clamp(44px, 6vw, 72px);
  padding-top: 20px;
  border-top: 1px solid rgba(242, 239, 231, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 239, 231, 0.42);
}

.foot__top {
  transition: color 0.3s var(--ease);
}

.foot__top:hover {
  color: var(--ivory);
}

/* ------------------------- capture-only overrides ------------------------ */
/* 仅用于本地整页截图（?capture=1），不影响正常浏览 */
html.capture .hero {
  min-height: 0;
  height: 720px;
}

/* --------------------------- display typography -------------------------- */
/* 标题全部使用 Inter（专业网站最常用的无衬线），靠字重/字距建立层级 */

.brand__mark {
  font-weight: 650;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.hero__title {
  font-weight: 580;
  font-size: clamp(2.1rem, 4.7vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -0.038em;
  max-width: 13.6em;
}

.hero__title em {
  font-style: normal;
  font-weight: 580;
}

.statement {
  font-weight: 520;
  font-size: clamp(1.65rem, 2.6vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.028em;
  max-width: 20em;
}

.sec-head__idx {
  font-style: normal;
  font-weight: 550;
  font-size: 11px;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.pub__year {
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}

.pub__title {
  font-weight: 520;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.42;
  letter-spacing: -0.017em;
}

.pub__meta em {
  font-size: inherit;
  font-weight: 520;
  color: var(--ink-2);
}

.news__title {
  font-weight: 520;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.36;
  letter-spacing: -0.017em;
}

.contact__title {
  font-weight: 560;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  line-height: 1.14;
  letter-spacing: -0.028em;
  max-width: 16em;
}

.contact__links {
  font-weight: 500;
  font-size: clamp(16px, 1.35vw, 19px);
  letter-spacing: -0.012em;
  gap: 12px;
}

.foot__mark {
  font-weight: 600;
  font-size: clamp(2.8rem, 8vw, 6.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
  padding-bottom: 0;
}

/* -------------------------------- motion --------------------------------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__media img {
    transform: none;
  }
  .hero__scroll-line::after {
    animation: none;
  }
}

/* ------------------------------- responsive ------------------------------ */

@media (max-width: 1080px) {
  .nav__links {
    gap: 18px;
  }
  .nav__link {
    font-size: 12px;
  }
}

@media (max-width: 860px) {
  :root {
    --nav-h: 66px;
  }
  .br-lg {
    display: none;
  }
  .hero__title {
    max-width: none;
  }
  .nav__links {
    display: none;
  }
  .nav__toggle {
    display: inline-flex;
  }
  .nav__actions .btn {
    display: none;
  }
  .nav.is-open .nav__links {
    display: flex;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    padding: 32px var(--gutter);
    margin: 0;
    background: var(--paper);
    overflow-y: auto;
  }
  .nav.is-open .nav__link {
    font-family: var(--sans);
    font-size: 32px;
    padding-block: 10px;
  }
  .nav.is-open .nav__actions {
    display: flex;
    position: fixed;
    left: var(--gutter);
    bottom: 32px;
  }
  .nav.is-open .nav__actions .btn {
    display: inline-flex;
    border-color: var(--line-strong);
    color: var(--ink);
  }
  .split {
    grid-template-columns: 1fr;
  }
  .plate {
    max-width: 100%;
  }
  .news-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .hero__foot span:nth-child(2) {
    display: none;
  }
}

@media (max-width: 620px) {
  .hero__title {
    max-width: none;
  }
  .pub {
    grid-template-columns: 54px 1fr;
  }
  .pub__arrow {
    display: none;
  }
  .foot__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .foot__nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 28px;
  }
  .foot__base {
    flex-direction: column;
    gap: 10px;
  }
}

/* ==========================================================================
   内页（People / Publications / Research / News / Gallery）
   ========================================================================== */

.nav.is-solid {
  height: 66px;
  background: rgba(247, 244, 238, 0.88);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  color: var(--ink);
  border-bottom-color: var(--line);
}

.nav.is-solid .btn {
  border-color: var(--line-strong);
}

.nav.is-solid .btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.nav__link.is-active {
  opacity: 1;
}

.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.page-head {
  padding-top: calc(var(--nav-h) + clamp(54px, 7vw, 96px));
  padding-bottom: clamp(30px, 3.6vw, 48px);
}

.eyebrow--ink {
  color: var(--muted);
}

.page-title {
  margin-top: 18px;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  font-weight: 580;
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 18em;
}

.page-lead {
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.72;
  color: var(--ink-2);
  max-width: 68ch;
  margin-bottom: clamp(28px, 3.6vw, 42px);
}

.page-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: clamp(24px, 3vw, 34px);
}

.section--tight {
  padding-block: clamp(40px, 4.6vw, 68px);
}

/* ------------------------------- people -------------------------------- */

.pi {
  display: grid;
  grid-template-columns: minmax(230px, 0.52fr) 1.48fr;
  gap: clamp(34px, 5.4vw, 84px);
  align-items: start;
}

.pi__portrait img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.pi__label {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.pi__name {
  margin-top: 10px;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 560;
  letter-spacing: -0.028em;
  line-height: 1.1;
}

.pi__role {
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.pi__email {
  display: inline-block;
  margin-top: 16px;
  font-size: 15px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.pi__email:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.pi__bio {
  margin: clamp(24px, 3vw, 34px) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 66ch;
}

.pi__bio li {
  position: relative;
  padding-left: 20px;
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--ink-2);
}

.pi__bio li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 8px;
  height: 1px;
  background: var(--line-strong);
}

.pi__honors-title {
  margin-top: clamp(30px, 3.4vw, 44px);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.pi__honors {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 32px;
  max-width: 70ch;
}

.pi__honors li {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

.members {
  border-top: 1px solid var(--line);
}

.member-grid {
  display: grid;
  /* 按可用宽度自动排 6 列，避免 6 人/11 人出现“落单一行” */
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: clamp(16px, 2vw, 26px) clamp(14px, 1.8vw, 24px);
}

.member img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.member figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  color: var(--muted);
}

/* ----------------------------- publications ----------------------------- */

.plist {
  border-top: 1px solid var(--line);
}

.pitem {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 120px;
  gap: clamp(16px, 2.6vw, 40px);
  padding-block: clamp(20px, 2.4vw, 30px);
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.pitem__year {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}

.pitem__title {
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 520;
  line-height: 1.45;
  letter-spacing: -0.012em;
  max-width: 74ch;
}

.pitem__authors {
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 80ch;
}

.pitem__venue {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink-2);
}

.pitem__venue em {
  font-size: 13.5px;
}

.pitem__links {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-end;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.pitem__links a {
  display: inline-flex;
  gap: 5px;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.pitem__links a:hover {
  color: var(--ink);
  border-bottom-color: var(--line-strong);
}

/* -------------------------------- research ------------------------------- */

.article {
  max-width: 960px;
}

.article p {
  margin-top: clamp(20px, 2.4vw, 28px);
  font-size: clamp(15.5px, 1.12vw, 17px);
  line-height: 1.8;
  color: var(--ink-2);
}

.article p:first-child {
  margin-top: 0;
}

.article p strong {
  color: var(--ink);
  font-weight: 600;
}

.plate--article {
  /* 与正文同宽，右侧不再留白 */
  width: min(960px, calc(100vw - var(--gutter) * 2));
  max-width: none;
  margin-top: clamp(34px, 4vw, 50px);
}

.plate--article figcaption {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.55;
}

/* 宽屏上图注保持单行，与图同宽 */
@media (min-width: 1080px) {
  .plate--article figcaption {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.article__foot {
  margin-top: clamp(34px, 4vw, 52px);
}

/* ---------------------------------- news --------------------------------- */

.nlist {
  border-top: 1px solid var(--line);
}

.nrow {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 210px;
  gap: clamp(18px, 3vw, 46px);
  padding-block: clamp(26px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.nrow__date {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  padding-top: 3px;
}

.nrow__meta {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nrow__sync {
  color: var(--accent);
}

.nrow__title {
  margin-top: 9px;
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 520;
  line-height: 1.35;
  letter-spacing: -0.015em;
  max-width: 46ch;
}

.nrow__title a {
  transition: color 0.3s var(--ease);
}

.nrow__title a:hover {
  color: var(--accent);
}

.nrow__text {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 70ch;
}

.nrow__links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nrow__links a {
  color: var(--muted);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.nrow__links a:hover {
  color: var(--ink);
  border-bottom-color: var(--line-strong);
}

.nrow__media {
  margin: 0;
  background: var(--paper-2);
}

.nrow__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* -------------------------------- gallery -------------------------------- */

.album {
  border-top: 1px solid var(--line);
}

.album__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 34px) clamp(16px, 2vw, 28px);
}

.shot {
  margin: 0;
}

.shot__frame {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  cursor: zoom-in;
  transition: border-color 0.4s var(--ease);
}

.shot__frame:hover {
  border-color: var(--line-strong);
}

.shot__frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.shot__frame:hover img {
  transform: scale(1.03);
}

.shot figcaption {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.shot__title {
  font-size: 13.5px;
  font-weight: 500;
}

.shot__text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

/* -------------------------------- lightbox ------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vw;
  background: rgba(8, 9, 7, 0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 100%;
  max-height: 86vh;
  object-fit: contain;
}

.lightbox__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2.4vh;
  text-align: center;
  color: rgba(242, 239, 231, 0.66);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.lightbox__close {
  position: absolute;
  top: 22px;
  right: 26px;
  padding: 9px 16px;
  border: 1px solid rgba(242, 239, 231, 0.4);
  border-radius: 999px;
  background: none;
  color: var(--ivory);
  font-family: inherit;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ------------------------------ responsive -------------------------------- */

@media (max-width: 1080px) {
  .member-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .nrow {
    grid-template-columns: 84px minmax(0, 1fr);
  }
  .nrow__media {
    display: none;
  }
  .pitem {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .pitem__links {
    display: none;
  }
}

@media (max-width: 860px) {
  .pi {
    grid-template-columns: 1fr;
  }
  .pi__portrait img {
    aspect-ratio: 3 / 2;
    max-height: 420px;
  }
  .pi__honors {
    grid-template-columns: 1fr;
  }
  .member-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .album__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .member-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .album__grid {
    grid-template-columns: 1fr;
  }
  .pitem {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .pitem__year {
    padding-top: 0;
  }
}

/* People 页分组标签与序号略增，与放大的正文体量匹配 */
.members .sec-head__label {
  font-size: 11.5px;
}

.members .sec-head__idx {
  font-size: 12px;
}
