:root {
  color-scheme: light;
  --ink: #182e3a;
  --paper: #faf7f0;
  --rule: #cfc9bd;
  --serif: "Noto Serif CJK SC","Songti SC","SimSun",serif;
}
* { box-sizing: border-box }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.6 "Microsoft YaHei",sans-serif }
header, footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 12px max(16px,calc((100% - 1060px)/2)); background: #082438; color: #eff7fa }
header img { display: block; object-fit: contain }
header a, footer a { color: inherit; text-decoration: none; font-size: .9rem }
a:hover { text-decoration: underline }
a:focus-visible { outline: 3px solid #d39749; outline-offset: 3px }
main { width: min(1060px, calc(100% - 32px)); margin: clamp(16px,3vw,36px) auto 0; }
.cover { position: relative; min-height: clamp(300px,47vw,520px); display: grid; align-items: end; isolation: isolate; background: #101d25; color: #fff8ed }
.cover img, .cover:after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1 }
.cover img { object-fit: cover; object-position: 55% 50% }
.cover:after { content: ""; background: linear-gradient(0deg,#08151ddb,transparent 65%),linear-gradient(90deg,#08151d83,transparent 65%) }
.title { padding: 38px clamp(24px,5vw,64px); width: 100% }
.title span { color: #f0cea3; font-weight: bold; letter-spacing: .18em }
h1,h2,h3 { font-family: var(--serif); text-wrap: balance }
h1 { font-size: clamp(30px,5vw,70px); line-height: 1.19; margin: .24em 0 0 }
nav { display: flex; justify-content: center; flex-wrap: wrap; gap: .3rem 1.7rem; padding: 16px 22px; border-bottom: 1px solid var(--rule) }
nav a { color: #475456; text-decoration: none; padding: 4px 0; font-size: .9rem }
section { margin: clamp(48px,6vw,90px) auto; padding-inline: 22px; max-width: 1060px; scroll-margin-top: 24px }
section h2, section h3, section p { max-width: 720px; margin-inline: auto }
h2 { font-size: clamp(27px,3.1vw,43px); line-height: 1.35; margin-bottom: .6em }
h3 { font-size: 26px; margin-top: 2em }
p { font-size: clamp(18px,1.6vw,22px); line-height: 1.95; margin-block: .95em }
p a { color: #15557a; text-underline-offset: .19em; text-decoration-color: #96acb9 }
figure { margin: 32px 0; }
figure img { width: 100%; height: auto; display: block }
figcaption { margin-top: 8px; font-size: 14px; color: #60594e }
#memory p:last-child { font: bold clamp(21px,2.2vw,30px)/1.65 var(--serif); border-top: 1px solid var(--rule); padding-top: 1em; margin-top: 1.5em }
footer { flex-wrap: wrap; font-size: .8rem; padding-block: 24px }
::selection { background: #e6cc9e; color: #172531 }
@media(max-width:600px) {
  .cover img { object-position: 66% center }
  .title { padding: 26px 22px }
  nav { display: grid; grid-template-columns: repeat(3,auto); text-align: center }
  section { padding-inline: 6px }
}
