:root {
  color-scheme: dark;
  background: #101820;
  color: #f4ebd9;
  font-family: system-ui, "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  --muted: #b9c0c5;
  --line: #35414a;
  --accent: #efbf8f;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
a:hover { color: var(--accent); }
.shell { width: min(88%, 72rem); margin-inline: auto; }
.masthead, .footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-block: 1.25rem; }
.masthead { border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; letter-spacing: .13em; text-decoration: none; }
nav { display: flex; gap: clamp(.75rem, 3vw, 2rem); color: var(--muted); font-size: .9rem; }
nav a { text-decoration: none; }
.hero, .gallery { display: grid; align-items: center; gap: clamp(1.5rem, 6vw, 5rem); padding-block: clamp(2.5rem, 8vw, 6.75rem); }
.hero { grid-template-columns: minmax(0, .75fr) minmax(0, 1.4fr); }
.gallery { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); border-top: 1px solid var(--line); }
h1, h2 { margin: 0; font-family: "Songti SC", "Noto Serif CJK SC", SimSun, serif; font-weight: 600; line-height: 1.16; }
h1 { font-size: clamp(3rem, 8vw, 7rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
p { max-width: 29em; margin: 1.3rem 0 0; color: var(--muted); }
.jump { display: inline-block; margin-top: 1.75rem; padding: .55rem 1rem; border: 1px solid var(--accent); color: var(--accent); text-decoration: none; }
.jump:hover { background: var(--accent); color: #101820; }
figure { min-width: 0; margin: 0; }
img { display: block; width: 100%; height: auto; background: #1d2a35; }
figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding-top: .7rem; color: var(--muted); font-size: .875rem; }
.notes { padding-block: 2.75rem; border-block: 1px solid var(--line); }
dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 1.4rem 0 0; }
dt { font-weight: 650; }
dd { margin: .35rem 0 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.footer { color: var(--muted); font-size: .875rem; }
@media (max-width: 45rem) {
  .hero, .gallery { grid-template-columns: 1fr; }
  .gallery > div { order: -1; }
}
@media (max-width: 27rem) { dl { grid-template-columns: 1fr; } }
