:root {
  color-scheme: light;
  --paper: #ececea;
  --paper-raised: #f3f2ef;
  --paper-deep: #deddda;
  --ink: #1d1e1e;
  --ink-soft: #5f605f;
  --night: #202222;
  --night-hover: #171919;
  --night-ink: #f2f1ed;
  --night-muted: #a6a8a6;
  --line: rgba(29, 30, 30, 0.16);
  --line-dark: rgba(242, 241, 237, 0.16);
  --page-width: 1540px;
  --card-radius: 9px;
  font-family:
    "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--night-ink);
  background: var(--night);
  font-size: 12px;
  font-weight: 650;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  position: relative;
  width: min(calc(100% - 64px), var(--page-width));
  min-height: 100vh;
  margin: 0 auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid transparent;
  animation: page-in 620ms cubic-bezier(0.22, 0.75, 0.28, 1) both;
}

.identity {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
}

.identity-name {
  font-size: 17px;
  font-weight: 720;
  letter-spacing: -0.045em;
}

.identity-role,
.site-nav,
.eyebrow,
.card-topline,
.project-link,
.data-note,
.site-footer {
  font-family: Arial, "Helvetica Neue", sans-serif;
}

.identity-role {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.13em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 38px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.05em;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.site-nav a:hover {
  color: var(--night-ink);
  background: var(--night);
  border-color: var(--night);
}

.site-nav a:focus-visible,
.identity:focus-visible,
.project-card:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

main {
  padding-bottom: 48px;
}

.hero {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(86px, 8vh, 108px) 0 clamp(56px, 6vh, 82px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.16em;
  animation: page-in 620ms 80ms cubic-bezier(0.22, 0.75, 0.28, 1) both;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 4.7vw, 72px);
  font-weight: 560;
  letter-spacing: -0.06em;
  line-height: 1.02;
  text-wrap: balance;
  animation: page-in 720ms 140ms cubic-bezier(0.22, 0.75, 0.28, 1) both;
}

h1 span {
  display: block;
}

.hero-copy {
  max-width: 420px;
  margin: 14px auto 0;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.55;
  text-wrap: balance;
  animation: page-in 720ms 210ms cubic-bezier(0.22, 0.75, 0.28, 1) both;
}

.project-grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.fact-card {
  min-width: 0;
  min-height: 506px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  animation: card-in 760ms cubic-bezier(0.2, 0.78, 0.26, 1) both;
}

.fact-card:nth-child(1) {
  animation-delay: 250ms;
}

.fact-card:nth-child(2) {
  animation-delay: 330ms;
}

.fact-card:nth-child(3) {
  animation-delay: 410ms;
}

.card-topline {
  min-height: 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.card-topline span:last-child {
  text-align: right;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  color: var(--night-ink);
  background: var(--night);
  border-color: var(--line-dark);
  box-shadow: 0 20px 52px rgba(13, 15, 15, 0.1);
  transition:
    transform 320ms cubic-bezier(0.2, 0.78, 0.26, 1),
    background-color 240ms ease,
    box-shadow 320ms ease;
}

.project-cover {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 58%;
  object-fit: cover;
  object-position: center 68%;
  opacity: 0.82;
  filter: saturate(0.72) contrast(1.06);
  transform: scale(1.01);
  transition:
    opacity 320ms ease,
    transform 720ms cubic-bezier(0.2, 0.78, 0.26, 1),
    filter 320ms ease;
}

.project-card > :not(.project-cover) {
  position: relative;
  z-index: 1;
}

.project-card:hover {
  z-index: 2;
  background: var(--night-hover);
  box-shadow: 0 28px 70px rgba(13, 15, 15, 0.2);
  transform: translateY(-9px);
}

.project-card:hover .project-cover {
  opacity: 0.94;
  filter: saturate(0.82) contrast(1.04);
  transform: scale(1.045);
}

.project-card:active {
  transform: translateY(-3px);
}

.project-card .card-topline {
  color: var(--night-muted);
}

.project-heading {
  margin-top: clamp(54px, 8vh, 86px);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.52);
}

.project-heading > p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.86);
}

.project-heading h2 {
  margin: 0;
  line-height: 0.95;
}

.project-name-cn,
.project-name-en {
  display: block;
}

.project-name-cn {
  font-size: clamp(47px, 4.2vw, 66px);
  font-weight: 580;
  letter-spacing: -0.075em;
}

.project-name-en {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.68);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  letter-spacing: -0.06em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.88);
}

.project-summary {
  margin-top: auto;
  margin-right: -30px;
  margin-bottom: -30px;
  margin-left: -30px;
  padding: 24px 30px 28px;
  background: rgba(27, 29, 29, 0.96);
  border-top: 1px solid rgba(242, 241, 237, 0.12);
  box-shadow: 0 -18px 42px rgba(13, 15, 15, 0.18);
}

.project-summary > p {
  min-height: 40px;
  margin: 0;
  color: var(--night-muted);
  font-size: 11px;
  line-height: 1.65;
  text-wrap: pretty;
}

.project-link {
  margin-top: 20px;
  display: inline-block;
  color: var(--night-ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: letter-spacing 240ms ease;
}

.project-card:hover .project-link {
  letter-spacing: 0.18em;
}

.data-note {
  max-width: 1360px;
  margin: 18px auto 0;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.5;
}

.data-note strong {
  color: var(--ink);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.data-note p {
  margin: 0;
}

.site-footer {
  max-width: 1360px;
  min-height: 88px;
  margin: clamp(60px, 8vh, 96px) auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.site-footer p {
  margin: 0;
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .page-shell {
    width: min(calc(100% - 40px), var(--page-width));
  }

  .project-grid {
    gap: 14px;
  }

  .fact-card {
    min-height: 520px;
    padding: 24px;
  }

  .project-summary {
    margin-right: -24px;
    margin-bottom: -24px;
    margin-left: -24px;
    padding-right: 24px;
    padding-bottom: 24px;
    padding-left: 24px;
  }

  .project-heading {
    margin-top: 62px;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: relative;
  }

  .identity-role {
    display: none;
  }

  .hero {
    padding-top: 40px;
  }

  h1 {
    font-size: clamp(42px, 8.5vw, 60px);
  }

  .project-grid {
    max-width: 620px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .data-note {
    max-width: 620px;
    padding: 0 4px;
    justify-content: flex-start;
  }

  .fact-card {
    min-height: 510px;
    padding: 28px;
  }

  .project-summary {
    margin-right: -28px;
    margin-bottom: -28px;
    margin-left: -28px;
    padding-right: 28px;
    padding-bottom: 26px;
    padding-left: 28px;
  }

}

@media (max-width: 560px) {
  .page-shell {
    width: min(calc(100% - 28px), var(--page-width));
  }

  .site-header {
    min-height: 76px;
  }

  .identity-name {
    font-size: 15px;
  }

  .site-nav a {
    padding: 8px 10px;
    font-size: 8px;
  }

  .hero {
    padding: 34px 0 46px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 9px;
  }

  h1 {
    font-size: clamp(36px, 10.5vw, 48px);
    line-height: 1.04;
  }

  .hero-copy {
    max-width: 340px;
    margin-top: 12px;
    font-size: 10px;
  }

  .fact-card {
    min-height: 500px;
    padding: 22px;
  }

  .project-cover {
    height: 56%;
  }

  .project-summary {
    margin-right: -22px;
    margin-bottom: -22px;
    margin-left: -22px;
    padding: 20px 22px 22px;
  }

  .card-topline {
    font-size: 8px;
  }

  .project-heading {
    margin-top: 54px;
  }

  .project-name-cn {
    font-size: clamp(45px, 16vw, 60px);
  }

  .project-name-en {
    font-size: 25px;
  }

  .project-summary > p {
    min-height: 0;
  }

  .data-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .site-footer {
    min-height: 104px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
