* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  background: #f6f1e7;
  color: #30251d;
  font: 1rem/1.65 system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.wrap { width: min(100% - 3rem, 64rem); margin-inline: auto; }
.site-header { display: flex; justify-content: space-between; align-items: center; padding-block: 1.35rem; }
a { color: inherit; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-size: 1.1rem; font-weight: 700; }
.mark { display: grid; place-items: center; width: 2rem; aspect-ratio: 1; color: #fff9ef; background: #9d392b; border-radius: .3rem; }
.nav-link { text-underline-offset: .27em; color: #635347; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; padding-block: clamp(2rem, 8vw, 6.5rem); }
h1, h2, p { margin: 0; }
h1 { font-family: "Songti SC", SimSun, serif; font-size: clamp(2.85rem, 7vw, 5.2rem); line-height: 1.12; letter-spacing: -.04em; }
h1 span { color: #9d392b; }
.hero p { max-width: 27rem; margin-top: 1.35rem; color: #635347; }
.button { display: inline-flex; align-items: center; gap: .9rem; margin-top: 1.7rem; padding: .65rem .95rem; min-height: 2.75rem; background: #9d392b; color: #fff9ef; text-decoration: none; border-radius: .25rem; }
.button:hover { background: #7f2f24; }
a:focus-visible { outline: 2px solid #30251d; outline-offset: 4px; }
.edit-preview { background: #2e2925; padding: clamp(.65rem, 2vw, 1.3rem); border-radius: .5rem; }
.viewfinder { position: relative; display: grid; place-items: center; min-height: clamp(9rem, 27vw, 19rem); overflow: hidden; background: #e8bd90; }
.aperture { position: relative; display: flex; align-items: center; justify-content: center; width: 80%; height: 70%; transform: rotate(-9deg); }
.aperture span { width: 30%; height: 90%; background: #9d392b; border: 3px solid #e8bd90; }
.aperture span:nth-child(2) { height: 115%; background: #634338; }
.aperture span:nth-child(3) { background: #b77648; }
.corner { position: absolute; z-index: 1; width: 1rem; height: 1rem; border-color: #30251d; border-style: solid; border-width: 0; }
.top { top: .9rem; border-top-width: 2px; }
.bottom { bottom: .9rem; border-bottom-width: 2px; }
.left { left: .9rem; border-left-width: 2px; }
.right { right: .9rem; border-right-width: 2px; }
.timeline { position: relative; display: grid; grid-template-columns: 1fr 1.3fr .8fr 1.4fr 1fr; gap: .3rem; margin: .85rem 0 .2rem; }
.timeline i { height: .5rem; background: #b77648; border-radius: 2px; }
.timeline i:nth-child(even) { background: #e8bd90; }
.timeline b { position: absolute; height: 1.1rem; width: 2px; top: -.3rem; left: 46%; background: #fff9ef; }
.editions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; border-block: 1px solid #d6c9b9; padding-block: 1.7rem; }
h2 { font-size: 1.2rem; }
.editions p, .experience p { margin-top: .35rem; color: #635347; }
.experience { padding-block: 2.25rem; scroll-margin-top: 1rem; }
.experience ol { margin: .65rem 0 0; padding-inline-start: 1.5rem; }
footer { border-top: 1px solid #d6c9b9; padding-block: 1.25rem; color: #635347; font-size: .875rem; }
@media (max-width: 42rem) {
  .wrap { width: min(100% - 2rem, 64rem); }
  .hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .edit-preview { max-width: 30rem; }
  .editions { gap: 1.1rem; }
}
