* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: #ffffff;
  color: #111111;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.page {
  width: min(900px, calc(100% - 144px));
  margin: 0;
  padding: 64px 0 80px 72px;
}

.identity h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.role {
  margin: 5px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: #555555;
}

.content {
  margin-top: 48px;
}

.cv {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
}

.cv a,
.works-list a {
  color: inherit;
  text-decoration: none;
}

.cv a:hover,
.works-list a:hover {
  color: #111111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
}

.works-list {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.works-list a {
  display: block;
  font-size: 14px;
  line-height: 1.55;
  color: #777777;
  font-weight: 400;
}

/* Individual natural-wrap widths for the three long titles.
   1: first line ends around Identity:
   2: first line ends around Evolution
   3: width is governed by the slightly longer second line ending at Data. */
.work-east-asia {
  width: min(604px, 100%);
}

.work-chinese-culture {
  width: min(784px, 100%);
}

.work-beng {
  width: min(748px, 100%);
}

@media (max-width: 600px) {
  .page {
    width: calc(100% - 64px);
    padding: 32px 0 64px 32px;
  }

  .identity h1 {
    font-size: 26px;
  }

  .role {
    font-size: 15px;
  }

  .role-divider {
    display: none;
  }

  .role-zh,
  .role-en {
    display: block;
  }

  .content {
    margin-top: 40px;
  }

  .cv,
  h2 {
    font-size: 17px;
  }

  .works-list a {
    font-size: 13px;
  }
}
