:root {
  color-scheme: light;
  --paper: #f6f3e9;
  --ink: #173f32;
  --rule: #b7c1ae;
  --serif: 'Songti SC', 'Noto Serif CJK SC', SimSun, serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.75 system-ui, sans-serif; overflow-wrap: anywhere; }
.masthead, main { width: min(1200px, 88%); margin-inline: auto; }
.masthead { padding-block: 22px; border-bottom: 1px solid var(--ink); }
.brand { display: flex; align-items: center; gap: 14px; }
.mark { object-fit: contain; }
.wordmark { width: 176px; height: auto; }
.mobile-name { display: none; }
.cover { display: grid; grid-template-columns: 0.92fr 1.08fr; align-items: center; gap: 3%; padding-block: clamp(44px, 6vw, 88px); }
.intro { padding-left: 3%; }
h1, h2, .author, .line, .work-name, .mobile-name { font-family: var(--serif); }
.author { display: flex; align-items: center; gap: 14px; font-size: 20px; margin: 0; letter-spacing: .14em; }
.author::before { content: ''; width: 30px; height: 1px; background: currentColor; }
h1 { font-size: clamp(44px, 6vw, 76px); font-weight: 500; line-height: 1.26; margin: 16px 0 12px; letter-spacing: .04em; }
.line { font-size: clamp(22px, 2vw, 28px); margin: 0; }
.read { display: inline-flex; align-items: center; gap: 32px; padding: 10px 20px; margin-top: 32px; color: var(--paper); background: var(--ink); text-decoration: none; }
.read i { font: normal 20px/1 sans-serif; }
.read:hover { background: #315849; }
.landscape { display: block; width: 100%; height: auto; }
.catalog { display: grid; grid-template-columns: 1fr 3fr; gap: 4%; border-top: 1px solid var(--ink); padding: 30px 0 64px; }
h2 { margin: 0; font-size: 32px; font-weight: 500; align-self: start; scroll-margin-top: 20px; }
details { border-bottom: 1px solid var(--rule); }
summary { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 19px 4px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary:hover { background: #eaece0; }
.work-name { flex: 1; font-size: 24px; }
.hint { font-size: 14px; color: #45604f; max-width: 40%; }
.toggle { position: relative; width: 24px; height: 24px; flex: none; border: 1px solid var(--rule); border-radius: 50%; }
.toggle::before, .toggle::after { content: ''; position: absolute; inset: 50% auto auto 50%; width: 10px; height: 1px; background: var(--ink); transform: translate(-50%, -50%); }
.toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .toggle::after { display: none; }
.description { margin: 0 4px 24px; max-width: 38em; font: 18px/1.75 var(--serif); white-space: pre-line; }
:focus-visible, #works:focus { outline: 2px solid #376c50; outline-offset: 4px; }
@media (max-width: 650px) {
  .masthead, main { width: calc(100% - 40px); }
  .masthead { padding-block: 14px; }
  .mark { width: 32px; height: 32px; }
  .wordmark { display: none; }
  .mobile-name { display: inline; font-size: 18px; }
  .cover { grid-template-columns: 1fr; gap: 12px; padding: 36px 0 16px; }
  .intro { padding-left: 0; }
  .read { margin-top: 22px; }
  .landscape { height: 106px; object-fit: cover; object-position: 50% 69%; }
  .catalog { grid-template-columns: 1fr; gap: 6px; padding-top: 18px; }
  h2 { font-size: 28px; }
  .description { font-size: 16px; }
}