:root {
  color-scheme: light;
  --ink: #17191c;
  --muted: #5f646b;
  --paper: #f7f8f6;
  --white: #ffffff;
  --line: #d9ddd8;
  --green: #2e6047;
  --gold: #a26d20;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}

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

.hero {
  position: relative;
  min-height: min(78vh, 720px);
  color: var(--white);
  background: #4c6e8b url("/assets/shanghai-riverside.jpg") center 58% / cover no-repeat;
  overflow: hidden;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(12, 20, 24, 0.42);
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
}

.wordmark {
  font-size: 20px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 15px;
}

.nav a:hover,
.nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: #f2cf8b;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(76px, 15vh, 150px) 0 72px;
}

.eyebrow,
.section-label {
  margin: 0;
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.eyebrow::before {
  display: inline-block;
  width: 28px;
  height: 2px;
  margin-right: 12px;
  vertical-align: middle;
  background: #f2cf8b;
  content: "";
}

h1 {
  margin: 12px 0 14px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 92px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
}

.lead {
  max-width: 520px;
  margin: 0 0 28px;
  font-size: 22px;
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 15px;
  transition: color 160ms ease;
}

.about {
  display: grid;
  grid-template-columns: minmax(120px, 0.4fr) minmax(0, 1.3fr);
  gap: 50px;
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0 104px;
}

.section-label {
  color: var(--green);
}

.section-copy h2 {
  max-width: 740px;
  margin: 0 0 26px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-copy p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.notes {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.notes-inner {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0 94px;
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.note-grid article {
  min-height: 250px;
  padding: 30px 34px 24px 0;
  border-right: 1px solid var(--line);
}

.note-grid article + article {
  padding-left: 34px;
}

.note-grid article:last-child {
  border-right: 0;
}

.note-grid span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 14px;
}

.note-grid h3 {
  margin: 54px 0 10px;
  font-size: 22px;
  letter-spacing: 0;
}

.note-grid p {
  margin: 0;
  color: var(--muted);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 34px;
  color: var(--muted);
  font-size: 14px;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--green);
}

footer a:hover,
footer a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .hero {
    min-height: 72vh;
    background-position: 59% 50%;
  }

  .hero-shade {
    background: rgba(12, 20, 24, 0.46);
  }

  .nav,
  .hero-content,
  .about,
  .notes-inner,
  footer {
    width: min(100% - 32px, 1100px);
  }

  .nav-links {
    gap: 18px;
  }

  .hero-content {
    padding-top: 86px;
  }

  h1 {
    font-size: 58px;
  }

  .lead {
    font-size: 18px;
  }

  .section-copy h2 {
    font-size: 34px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 68px 0 76px;
  }

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

  .note-grid article,
  .note-grid article + article {
    min-height: auto;
    padding: 26px 0 32px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .note-grid article:last-child {
    border-bottom: 0;
  }

  .note-grid h3 {
    margin-top: 22px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
