@font-face {
  font-family: "ZJ Display";
  src: url("assets/display.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  background: #faf7ef;
  color: #362419;
  font: 16px/1.5 "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding-bottom: 28px; }
.wrapper { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; min-height: 83px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand-mark {
  width: 35px; height: 35px;
  display: grid; place-items: center;
  border-radius: 50%; background: #efe1cb; color: #7e401a;
}
.brand-mark i {
  display: block; position: relative;
  width: 13px; height: 17px; border: 1.5px solid; border-radius: 3px;
}
.brand-mark i::after {
  content: ""; position: absolute; left: 2px; right: 2px; top: 5px;
  height: 5px; border-top: 1px solid; border-bottom: 1px solid;
}

.hero {
  display: grid;
  grid-template-columns: 20% minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: #fbf3e7;
}
.hero-art {
  display: block;
  grid-column: 2; grid-row: 1;
  width: 100%; height: auto;
  mask-image: linear-gradient(to right, transparent, #000 13%);
}
.hero-copy {
  grid-column: 1 / -1; grid-row: 1; z-index: 1;
  width: max-content; max-width: 100%;
  padding: 30px clamp(26px, 4vw, 60px);
}
.hero h1 {
  margin: 0 0 17px;
  font: 600 clamp(38px, 4.9vw, 72px)/1.12 "ZJ Display", "Noto Serif SC", "Songti SC", SimSun, serif;
  letter-spacing: -.035em;
}
.hero p { margin: 0; color: #5e4939; font-size: clamp(1rem, 1.6vw, 1.16rem); }
::selection { background: #f2d2a4; }

@media (max-width: 920px) {
  .wrapper { width: calc(100% - 48px); }
}

@media (max-width: 680px) {
  .wrapper { width: calc(100% - 26px); }
  .site-header { min-height: 65px; }
  .brand { gap: 8px; font-size: .94rem; }
  .brand-mark { width: 30px; height: 30px; }
  .hero { display: flex; flex-direction: column-reverse; align-items: stretch; }
  .hero-art {
    width: 100%; height: auto;
    mask-image: linear-gradient(to bottom, transparent, #000 8%);
  }
  .hero-copy { padding: 28px 22px 10px; }
  .hero h1 { font-size: clamp(42px, 10vw, 68px); margin-bottom: 14px; }
  .hero p { font-size: .96rem; }
}
