:root {
  color-scheme: light;
  --paper: #f8f6ef;
  --ink: #192e29;
  --text: #394c43;
  --green: #164c3f;
  --rust: #964225;
  --line: #c7c9bb;
  --serif: "Baskervville", Georgia, "Songti SC", "Noto Serif CJK SC", SimSun, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.72 var(--sans); }
a { color: var(--green); text-underline-offset: .23em; }
a:hover { color: var(--rust); }
a:focus-visible { outline: 3px solid #aa5e34; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1140px, 90%); margin-inline: auto; }
.skip { position: absolute; top: -6em; left: 1em; padding: .5em; background: white; z-index: 2; }
.skip:focus { top: 1em; }
.mast, footer, .sectionhead, .actions, figcaption, nav, .wordmark { display: flex; align-items: center; }
.mast { justify-content: space-between; border-bottom: 1px solid var(--ink); min-height: 78px; gap: 1em; }
.wordmark { text-decoration: none; gap: .38em; color: var(--ink); font: bold 1.65rem/1 Georgia, serif; letter-spacing: -.045em; }
.wordmark .mark { width: 1.15em; height: 1.15em; flex: none; }
nav { gap: clamp(1rem, 3vw, 2.5rem); font-size: .9rem; }
nav a, footer a { text-decoration: none; }
nav a:hover, footer a:hover, .shelves h3 a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3rem, 6vw, 5.3rem); }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.25; }
h1 { font-size: clamp(2.55rem, 5.65vw, 5.05rem); letter-spacing: -.055em; }
.intro > p { color: var(--text); max-width: 31em; margin: 1.45rem 0 1.8rem; line-height: 1.95; }
.actions { flex-wrap: wrap; gap: 1.8rem; }
.button { background: var(--green); color: white; padding: .65rem 1.3rem; text-decoration: none; font-weight: 600; }
.button:hover { background: #243e32; color: white; }
.button span { margin-left: .65em; }
.textlink, .minor { font-size: .91rem; font-weight: 600; }
.exhibit { min-width: 0; }
.mount { background: #dce2d6; background-image: repeating-linear-gradient(0deg, transparent, transparent 7px, #435e4510 8px); border: 1px solid #b6bdae; padding: clamp(1rem, 2.8vw, 2.6rem); }
.mount a { display: block; }
.mount img { width: 100%; box-shadow: 3px 5px 0 #46634d30; }
figcaption { justify-content: space-between; gap: .5rem; padding-top: .65rem; font-size: .78rem; color: var(--text); }
time, code { font-family: var(--mono); }
.collection, .lower { border-top: 2px solid var(--ink); padding-block: 1.65rem 3rem; }
.sectionhead { justify-content: space-between; gap: 1em; margin-bottom: 1.6rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.04em; }
.shelves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.shelves article { border-top: 1px solid var(--line); padding-top: 1.1rem; display: flex; flex-direction: column; align-items: flex-start; }
.type { color: var(--rust); font-size: .8rem; letter-spacing: .1em; }
.shelves h3 { margin-block: .5rem .7rem; font-size: 1.45rem; }
.shelves h3 a { text-decoration: none; color: inherit; }
.shelves article > p:not(.type), .dates p { color: var(--text); font-size: .94rem; }
.shelves .textlink { margin-top: auto; padding-top: 1.1rem; }
.lower { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 7vw, 6rem); }
.dates, .manuals { list-style: none; padding: 0; }
.dates li { display: grid; grid-template-columns: 7.2rem auto; gap: .7rem; border-top: 1px solid var(--line); padding-block: .95rem; }
.dates time { color: var(--rust); font-size: .87rem; }
.dates h3 { font-size: 1.15rem; }
.dates p { margin-top: .25rem; }
.manuals li { border-top: 1px solid var(--line); }
.manuals a { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-block: 1rem; text-decoration: none; }
.manuals strong { font: bold 1.2rem/1.3 var(--serif); }
.manuals span { font-size: .85rem; color: var(--text); }
footer { border-top: 1px solid var(--ink); padding-block: 1.5rem 2.1rem; gap: 1.3rem; font-size: .85rem; flex-wrap: wrap; }
footer span { margin-right: auto; }
.reading { max-width: 46rem; margin: 3rem auto 4rem; width: 90%; }
.reading h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 1rem 0; }
.reading h2 { font-size: 1.65rem; border-top: 1px solid var(--line); padding-top: 1.3rem; margin: 2.25rem 0 .7rem; }
.reading p { margin: .85rem 0; line-height: 1.95; }
.reading .lead { font: 1.2rem/1.8 var(--serif); color: var(--text); }
.reading ul { padding-left: 1.5em; }
.reading li { margin: .6rem 0; }
.reading pre { overflow-x: auto; color: #edf2e7; background: #203d32; padding: 1rem 1.2rem; font: .9rem/1.8 var(--mono); }
.reading figure { margin-block: 1.5rem; }
.reading figure img { border: 1px solid var(--line); }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 1.8rem; padding-block: 2.2rem; }
  .intro > p { max-width: none; }
  .mount { padding: 1.1rem 1.6rem; }
  .exhibit { max-width: 32rem; }
  .shelves, .lower { grid-template-columns: 1fr; gap: 1.5rem; }
  .collection, .lower { padding-bottom: 2rem; }
}
@media (max-width: 420px) {
  .mast { min-height: 66px; gap: .4rem; }
  nav { gap: .72rem; font-size: .8rem; }
  .wordmark { font-size: 1.35rem; }
  .dates li { grid-template-columns: 1fr; gap: .25rem; }
  .minor { font-size: .82rem; }
  footer { gap: .65rem; }
}
