:root {
  --ink: #0f0f0f;
  --muted: #5d5d5d;
  --line: #cfcfcf;
  --footer-bg: #f0f0f0;
  --blue-deep: #05558f;
  --blue-bright: #0aa4cf;
  --content-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  background: #fff;
  color: var(--ink);
  font-family: "Source Han Sans SC", "Noto Sans CJK SC", "Noto Sans SC", "思源雅黑", "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body {
  margin: 0;
  min-width: 320px;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  background: #fff;
  display: flex;
  height: 120px;
  justify-content: space-between;
  padding: 24px 38px 18px;
}

.brand {
  display: block;
  width: 142px;
}

.brand img {
  height: auto;
  width: 100%;
}

.language {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  padding: 6px;
  width: 36px;
}

.language img {
  filter: grayscale(1);
  opacity: .6;
  transition: filter .2s ease, opacity .2s ease;
  width: 24px;
}

.language:hover img,
.language:focus-visible img {
  filter: brightness(0) saturate(100%) invert(34%) sepia(90%) saturate(1265%) hue-rotate(173deg) brightness(91%) contrast(98%);
  opacity: 1;
}

.slogan {
  background-image: url("./ku/hbc-sky0210.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: clamp(150px, 20vw, 300px);
  overflow: hidden;
}

.partners {
  background: #fff;
  padding: 40px 0 96px;
}

.partners-photo {
  background: #fff;
  padding: 40px 0 0;
}

.photo-wrap {
  margin: 0 auto 44px;
  max-width: 1040px;
  overflow: hidden;
}

.photo-wrap img {
  height: auto;
  margin: 0 auto;
  width: 100%;
}

.content {
  margin: 0 auto;
  max-width: var(--content-width);
  padding: 0 24px;
}

.content h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 38px;
}

.content h1 span {
  font-size: 14px;
  font-weight: 400;
}

.content p {
  font-size: 27px;
  font-weight: 300;
  line-height: 1.45;
  margin: 0 0 34px;
}

.content strong {
  font-weight: 700;
}

.milestones {
  margin-top: 62px;
}

.milestones p {
  margin-bottom: 38px;
}

.philosophy {
  align-items: flex-start;
  display: grid;
  gap: 40px;
  grid-template-columns: 210px 1fr;
  margin: 80px 0 36px;
}

.philosophy img {
  margin-top: 12px;
  width: 210px;
}

.philosophy p {
  margin-bottom: 0;
}

.articles {
  background: #f8f8f8;
  padding: 110px 24px 92px;
}

.article-grid {
  display: grid;
  gap: 98px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: var(--content-width);
}

.article-card {
  background: #fff;
  display: block;
  padding-bottom: 34px;
}

.article-card img {
  aspect-ratio: 400 / 220;
  object-fit: cover;
  width: 100%;
}

.article-card h2 {
  font-size: 28px;
  line-height: 1.25;
  margin: 36px 0 4px;
  padding: 0 28px;
  transition: color .2s ease;
}

.article-card:hover h2,
.article-card:focus-visible h2 {
  color: var(--blue-bright);
}

.article-card p {
  color: #707070;
  font-size: 27px;
  line-height: 1.25;
  margin: 0;
  padding: 0 28px;
}

.site-footer {
  background: var(--footer-bg);
  padding: 56px 24px 62px;
}

.footer-inner {
  align-items: flex-start;
  display: grid;
  gap: 80px;
  grid-template-columns: 420px 1fr;
  margin: 0 auto;
  max-width: 926px;
}

.qr-list {
  display: grid;
  gap: 56px;
  grid-template-columns: repeat(2, 144px);
}

.qr-list figure {
  margin: 0;
}

.qr-list img {
  height: 144px;
  width: 144px;
}

.qr-list figcaption {
  color: #424242;
  font-size: 14px;
  line-height: 1.4;
  margin-top: 14px;
  text-align: center;
}

address {
  font-style: normal;
  padding-top: 20px;
}

address p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 7px;
}

address .copyright {
  margin-top: 32px;
}

.en-main {
  background: #fff;
  padding: 4px 0 84px;
}

.en-content {
  color: #8b8b8b;
  margin: 0 auto;
  max-width: var(--content-width);
  padding: 0 32px;
}

.en-content h1 {
  color: #202020;
  font-size: 33px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 48px;
}

.en-content h1 span {
  color: #777;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-left: 16px;
}

.en-partner {
  margin: 0 0 38px;
}

.en-partner h2,
.en-infinity h2 {
  color: #737373;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 4px;
}

.en-content p {
  font-size: 25px;
  font-weight: 300;
  line-height: 1.38;
  margin: 0;
}

.en-about {
  margin-top: 82px;
}

.en-about h2 {
  color: #202020;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 48px;
}

.en-about p,
.en-narrative p {
  margin-bottom: 38px;
}

.en-infinity {
  align-items: flex-start;
  display: grid;
  gap: 76px;
  grid-template-columns: 280px 1fr;
  margin: 54px 0 44px;
}

.en-infinity img {
  margin: 0 auto;
  width: 230px;
}

.en-infinity p {
  max-width: 760px;
}

@media (max-width: 900px) {
  .site-header {
    height: 88px;
    padding: 16px 22px;
  }

  .brand {
    width: 109px;
  }

  .partners {
    padding-top: 24px;
  }

  .content p {
    font-size: 22px;
  }

  .content h1,
  .article-card h2 {
    font-size: 24px;
  }

  .article-card p {
    font-size: 22px;
  }

  .philosophy {
    gap: 24px;
    grid-template-columns: 160px 1fr;
  }

  .philosophy img {
    width: 160px;
  }

  .article-grid,
  .footer-inner {
    gap: 48px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  address {
    padding-top: 0;
  }

  .en-main {
    padding-top: 38px;
  }

  .en-content h1 {
    font-size: 29px;
  }

  .en-content p {
    font-size: 22px;
  }

  .en-partner h2,
  .en-infinity h2 {
    font-size: 23px;
  }

  .en-infinity {
    gap: 36px;
    grid-template-columns: 190px 1fr;
  }

  .en-infinity img {
    width: 180px;
  }
}

@media (max-width: 640px) {
  .partners {
    padding-bottom: 72px;
  }

  .photo-wrap {
    margin-bottom: 36px;
  }

  .content {
    padding: 0 22px;
  }

  .content h1 {
    margin-bottom: 26px;
  }

  .content p {
    font-size: 19px;
    line-height: 1.55;
    margin-bottom: 26px;
  }

  .milestones {
    margin-top: 44px;
  }

  .philosophy {
    display: block;
    margin-top: 54px;
  }

  .philosophy img {
    margin: 0 0 28px;
    width: 180px;
  }

  .articles {
    padding: 70px 22px 70px;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-card h2 {
    margin-top: 24px;
  }

  .site-footer {
    padding: 44px 22px 54px;
  }

  .qr-list {
    gap: 26px;
    grid-template-columns: repeat(2, minmax(0, 144px));
    justify-content: center;
  }

  .en-content {
    padding: 0 24px;
  }

  .en-content h1 {
    font-size: 25px;
    margin-bottom: 34px;
  }

  .en-content h1 span {
    display: block;
    font-size: 13px;
    letter-spacing: 1px;
    margin: 8px 0 0;
  }

  .en-content p {
    font-size: 18px;
    line-height: 1.48;
  }

  .en-partner {
    margin-bottom: 30px;
  }

  .en-partner h2,
  .en-infinity h2 {
    font-size: 21px;
  }

  .en-about {
    margin-top: 60px;
  }

  .en-about h2 {
    font-size: 34px;
    margin-bottom: 34px;
  }

  .en-infinity {
    display: block;
  }

  .en-infinity img {
    margin: 0 0 26px;
    width: 180px;
  }
}

@media (max-width: 420px) {
  .site-header {
    height: 78px;
  }

  .brand {
    width: 94px;
  }

  .content p {
    font-size: 17px;
  }

  .content h1,
  .article-card h2 {
    font-size: 21px;
  }

  .article-card p {
    font-size: 18px;
  }

  .qr-list {
    grid-template-columns: 1fr;
  }

  .qr-list figure {
    justify-self: center;
  }
}
