:root {
  --page-pad-x: clamp(24px, 7.45vw, 150px);
  --art-size: clamp(220px, 14.7vw, 296px);
  --project-art-size: clamp(274px, 15.55vw, 314px);
  --grid-gap: clamp(24px, 1.8vw, 36px);
  --cn-large: clamp(42px, 3vw, 58px);
  --en-large: clamp(38px, 2.85vw, 56px);
  --project-cn: clamp(37px, 2.5vw, 50px);
  --project-en: clamp(33px, 2.28vw, 46px);
  --project-body-cn: clamp(27px, 1.72vw, 35px);
  --black: #000;
  --blue: #0051ff;
  --system-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: #fff;
  color: var(--black);
  font-family: var(--system-font);
  font-size: 16px;
  letter-spacing: 0;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
}

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

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

.site-shell {
  min-height: 100vh;
  padding: clamp(60px, 5.75vw, 116px) var(--page-pad-x)
    clamp(120px, 10.9vw, 220px);
}

.masthead {
  display: grid;
  justify-items: center;
  margin-left: auto;
  width: fit-content;
  min-width: min(470px, 100%);
}

.brand {
  font-size: clamp(42px, 4.15vw, 84px);
  font-weight: 800;
  line-height: 0.95;
}

.studio {
  margin-top: 20px;
  font-size: clamp(26px, 2.45vw, 50px);
  font-weight: 400;
  line-height: 1;
}

.intro {
  display: grid;
  grid-template-columns: var(--art-size) minmax(0, 1fr);
  column-gap: var(--grid-gap);
  align-items: start;
  margin-top: clamp(190px, 14.9vw, 300px);
}

.portrait {
  width: var(--art-size);
  aspect-ratio: 1;
  object-fit: cover;
}

.intro-copy {
  padding-top: 0;
}

.name-role {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(220px, 0.56fr);
  column-gap: clamp(44px, 4vw, 80px);
  max-width: 1350px;
}

.cn-title,
.en-title,
.cn-tag,
.en-tag,
.cn-section,
.en-section,
.project h3,
.project-title-en,
.authors,
.abstract-cn {
  margin: 0;
  letter-spacing: 0;
}

.cn-title {
  font-size: var(--cn-large);
  font-weight: 700;
  line-height: 1.08;
}

.en-title {
  margin-top: clamp(16px, 1.2vw, 24px);
  font-size: var(--en-large);
  font-weight: 400;
  line-height: 1;
  white-space: normal;
}

.tagline {
  margin-top: clamp(56px, 4.25vw, 86px);
}

.cn-tag {
  font-size: var(--cn-large);
  font-weight: 700;
  line-height: 1.12;
}

.en-tag {
  margin-top: clamp(14px, 1vw, 20px);
  font-size: var(--en-large);
  font-weight: 400;
  line-height: 1.06;
  white-space: normal;
}

.research {
  margin-top: clamp(130px, 9.4vw, 190px);
}

.research h2 {
  width: var(--project-art-size);
  margin: 0 0 clamp(86px, 6.35vw, 128px);
  font-weight: inherit;
  text-align: right;
}

.cn-section,
.en-section {
  display: block;
}

.cn-section {
  font-size: var(--cn-large);
  font-weight: 700;
  line-height: 1.05;
}

.en-section {
  margin-top: clamp(14px, 1.1vw, 22px);
  font-size: var(--en-large);
  font-weight: 400;
  line-height: 1;
}

.project {
  display: grid;
  grid-template-columns: var(--project-art-size) minmax(0, 1fr);
  column-gap: clamp(30px, 2vw, 40px);
  align-items: start;
}

.project + .project {
  margin-top: clamp(120px, 9vw, 180px);
}

.project-media {
  width: var(--project-art-size);
}

.project-image {
  display: block;
  position: relative;
  width: var(--project-art-size);
  aspect-ratio: 1;
  overflow: hidden;
}

.project-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: opacity 180ms ease;
}

.project-image-hover {
  opacity: 0;
}

.project-media:hover .project-image-default {
  opacity: 0;
}

.project-media:hover .project-image-hover {
  opacity: 1;
}

.more-link {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(14px, 1vw, 20px);
  width: var(--project-art-size);
  height: var(--project-art-size);
  padding: 0 clamp(20px, 1.25vw, 25px) clamp(26px, 1.65vw, 33px);
  background: var(--blue);
  color: #fff;
  font-size: clamp(29px, 1.72vw, 35px);
  font-weight: 400;
  line-height: 1;
}

.project h3 {
  display: grid;
  max-width: 1610px;
  font-size: var(--project-cn);
  font-weight: 700;
  line-height: 1.04;
}

.project-title-en {
  margin-top: clamp(36px, 2.6vw, 52px);
  max-width: 1680px;
  font-size: var(--project-en);
  font-weight: 400;
  line-height: 1.03;
}

.authors {
  margin-top: clamp(38px, 2.8vw, 56px);
  font-size: clamp(18px, 1.08vw, 22px);
  font-weight: 400;
  line-height: 1.1;
  white-space: normal;
}

.abstract-cn {
  margin-top: clamp(34px, 2.45vw, 49px);
  max-width: 1500px;
  font-size: var(--project-body-cn);
  font-weight: 700;
  line-height: 1.04;
}

.conference {
  margin-top: clamp(30px, 2.25vw, 45px);
}

.conference p {
  margin: 0;
  font-size: clamp(20px, 1.25vw, 25px);
  font-weight: 400;
  line-height: 1.12;
}

.conference p:first-child {
  margin-bottom: 4px;
  font-size: clamp(26px, 1.62vw, 33px);
  font-weight: 400;
}

@media (max-width: 1280px) {
  .site-shell {
    padding-top: 82px;
  }

  .masthead {
    min-width: 360px;
  }

  .intro {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .portrait {
    width: 260px;
  }

  .project {
    grid-template-columns: clamp(272px, 22.5vw, 300px) minmax(0, 1fr);
    column-gap: 34px;
  }

  .research h2 {
    width: clamp(272px, 22.5vw, 300px);
  }

  .project-media,
  .project-image,
  .project-image img,
  .more-link {
    width: clamp(272px, 22.5vw, 300px);
  }

  .more-link {
    height: clamp(272px, 22.5vw, 300px);
  }

  .name-role {
    grid-template-columns: 1fr 0.68fr;
    column-gap: 52px;
  }

  .cn-title,
  .cn-tag,
  .cn-section {
    font-size: 48px;
  }

  .project h3 {
    font-size: 42px;
  }

  .en-title,
  .en-tag,
  .en-section {
    font-size: 45px;
  }

  .project-title-en {
    font-size: 39px;
  }

  .abstract-cn {
    font-size: 30px;
  }

  .authors {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .site-shell {
    padding: 42px 22px 96px;
  }

  .masthead {
    justify-items: start;
    min-width: 0;
    width: 100%;
  }

  .intro,
  .project {
    grid-template-columns: 1fr;
    row-gap: 28px;
    margin-top: 128px;
  }

  .portrait,
  .project-media,
  .project-image,
  .project-image img,
  .more-link {
    width: min(100%, 360px);
  }

  .more-link {
    height: min(360px, calc(100vw - 44px));
  }

  .name-role {
    grid-template-columns: 1fr;
    row-gap: 42px;
  }

  .en-title,
  .en-tag {
    white-space: normal;
  }

  .tagline {
    margin-top: 64px;
  }

  .research {
    margin-top: 120px;
  }

  .research h2 {
    width: min(100%, 360px);
    margin: 0 0 80px;
  }

  .project-title-en {
    margin-top: 48px;
  }

  .authors,
  .abstract-cn {
    margin-top: 64px;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 38px;
  }

  .studio {
    margin-top: 14px;
    font-size: 24px;
  }

  .intro {
    margin-top: 96px;
  }

  .cn-title,
  .cn-tag,
  .cn-section,
  .project h3 {
    font-size: 38px;
    line-height: 1.12;
  }

  .en-title,
  .en-tag,
  .en-section,
  .project-title-en {
    font-size: 34px;
    line-height: 1.05;
  }

  .en-title,
  .en-tag,
  .en-section {
    margin-top: 14px;
  }

  .more-link {
    gap: 20px;
    padding: 0 22px 34px;
    font-size: 32px;
  }

  .authors {
    font-size: 20px;
  }

  .abstract-cn {
    font-size: 30px;
  }
}
