:root {
  color-scheme: light;
  --black: #050505;
  --gray-900: #171717;
  --gray-700: #4a4a4a;
  --gray-500: #808080;
  --gray-200: #e7e7e7;
  --white: #ffffff;
  --shangjie-red: #c40012;
  font-family:
    "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--black);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 clamp(22px, 6vw, 96px);
  border-bottom: 1px solid var(--gray-200);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
}

.brand__dot {
  width: 9px;
  height: 9px;
  background: var(--shangjie-red);
}

.nav {
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  color: var(--gray-700);
  font-size: 13px;
}

.nav a {
  padding: 8px 0;
}

.nav a:hover {
  color: var(--black);
}

.hero {
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(110px, 0.28fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  column-gap: clamp(30px, 7vw, 120px);
  row-gap: 42px;
  padding: clamp(58px, 9vw, 138px) clamp(22px, 6vw, 96px)
    clamp(46px, 7vw, 92px);
}

.hero__meta {
  align-self: start;
  color: var(--gray-500);
  font-size: 12px;
  line-height: 1.8;
}

.hero__meta p,
.hero__aside,
.footer p {
  margin: 0;
}

.hero__body {
  align-self: center;
  max-width: 980px;
}

.kicker {
  margin: 0 0 28px;
  color: var(--shangjie-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(44px, 7.4vw, 116px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero__aside {
  grid-column: 2;
  max-width: 420px;
  color: var(--gray-700);
  font-size: 15px;
  line-height: 2;
}

.section {
  padding: clamp(76px, 11vw, 164px) clamp(22px, 6vw, 96px);
  border-top: 1px solid var(--gray-200);
}

.section__title {
  display: grid;
  grid-template-columns: minmax(110px, 0.28fr) minmax(0, 1fr);
  column-gap: clamp(30px, 7vw, 120px);
  margin-bottom: clamp(36px, 6vw, 78px);
}

h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 76px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
}

.note-list {
  border-top: 1px solid var(--black);
}

.note {
  display: grid;
  grid-template-columns: minmax(84px, 0.2fr) minmax(0, 1fr) 54px;
  align-items: baseline;
  gap: clamp(18px, 4vw, 72px);
  padding: clamp(22px, 3.5vw, 42px) 0;
  border-bottom: 1px solid var(--gray-200);
}

.note:hover .note__title {
  color: var(--shangjie-red);
}

.note__date,
.note__tag {
  color: var(--gray-500);
  font-size: 12px;
}

.note__title {
  font-size: clamp(21px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.42;
  transition: color 160ms ease;
}

.note__tag {
  text-align: right;
}

.section--about {
  display: grid;
  grid-template-columns: minmax(110px, 0.28fr) minmax(0, 1fr);
  column-gap: clamp(30px, 7vw, 120px);
}

.section--about .kicker {
  grid-row: span 2;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 84px);
  max-width: 920px;
  margin-top: 46px;
}

.about-grid p {
  margin: 0;
  color: var(--gray-700);
  font-size: 16px;
  line-height: 2.05;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 86px;
  padding: 0 clamp(22px, 6vw, 96px);
  border-top: 1px solid var(--black);
  color: var(--gray-700);
  font-size: 13px;
}

.footer a {
  color: var(--black);
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .hero,
  .section__title,
  .section--about {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero__body {
    align-self: start;
  }

  .hero__aside {
    grid-column: 1;
  }

  .kicker {
    margin-bottom: 18px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 70px);
  }

  .note {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .note__tag {
    text-align: left;
  }

  .section--about .kicker {
    grid-row: auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-top: 22px;
    padding-bottom: 22px;
  }
}
