:root {
  color-scheme: dark;
  --ink: #f5f2ef;
  --muted: #a5a2ab;
  --accent: #e9b7a8;
  --line: #373539;
  --serif: "Iowan Old Style", "Baskerville", Georgia, "Songti SC", serif;
  font: 16px/1.5 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
  color: var(--ink);
  background: #111113;
}
* { box-sizing: border-box }
body, h1, h2, p { margin: 0 }
a, button, summary { color: inherit }
a { text-decoration: none }
a:hover { text-decoration: underline; text-underline-offset: .24em }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px }
.shell { width: min(1360px, 92vw); margin-inline: auto }
.bar, nav, .brand, .primary, .section-head, .card-title, .foot, .legal, .eyebrow { display: flex; align-items: center }
.bar { min-height: 78px; justify-content: space-between }
.brand { gap: 11px; font-size: 26px; font-weight: 700; letter-spacing: -.065em }
.mark { display: block; border-radius: 23% }
nav { gap: 28px; font-size: .88rem }
.language { position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; font: inherit; background: transparent; border: 1px solid #535157; border-radius: 100px; cursor: pointer }
.language select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer }
.language:focus-within { outline: 2px solid var(--accent); outline-offset: 4px }
.bar { flex-wrap: wrap; column-gap: 8px; row-gap: 5px }
.hero { position: relative; isolation: isolate; overflow: hidden; border-radius: 22px; background: #241f22; min-height: clamp(420px, 37vw, 535px); display: grid; align-items: end }
.hero-image, .hero::after { position: absolute; inset: 0; z-index: -1 }
.hero-image { left: 22%; background: url('/bookshop.webp') center 43% / cover no-repeat }
.hero::after { content: ""; background: linear-gradient(90deg,#211c20 2%,#221c20f7 24%,#211b20b8 42%,transparent 74%),linear-gradient(0deg,#17131ba6,transparent 53%) }
.hero-copy { padding: clamp(34px, 4.8vw, 76px); max-width: 590px }
.eyebrow, .genre { color: var(--accent); text-transform: uppercase; font-size: .69rem; letter-spacing: .17em; font-weight: 650 }
.eyebrow { gap: 9px }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent) }
h1 { font: 500 clamp(60px,6.6vw,106px)/.94 var(--serif); letter-spacing: -.055em; margin: 18px 0 }
h1 em { display: block; color: #f5d6bf; font-weight: 400 }
.lede { color: #e6dedc; max-width: 37ch; line-height: 1.55 }
.primary { display: inline-flex; gap: 18px; background: #f9e4d6; color: #291f23; font-weight: 600; font-size: .89rem; border-radius: 100px; padding: 11px 19px; margin-top: 23px }
.primary:hover { background: #fff1e8; text-decoration: none }
.library { padding-block: clamp(38px, 4.5vw, 70px) }
.section-head { justify-content: space-between; gap: 15px; align-items: baseline; margin-bottom: 22px }
h2 { font-size: clamp(27px, 3vw, 43px); line-height: 1.16; letter-spacing: -.055em; font-weight: 550 }
.section-head p,.access,footer p,.legal { color: var(--muted); font-size: .87rem }
.shelf { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(14px,2vw,30px); align-items: start }
summary { cursor: pointer; list-style: none }
summary::-webkit-details-marker { display: none }
.still { display: block; aspect-ratio: 2.14; overflow: hidden; border-radius: 12px; background: #292427 }
.still img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease }
summary:hover .still img { transform: scale(1.025) }
.genre { display: block; margin: 16px 0 4px; font-size: .65rem }
.card-title { justify-content: space-between; gap: 5px }
.card-title strong { font: 500 clamp(21px,2vw,31px)/1.2 var(--serif); letter-spacing: -.025em }
.card-title i { flex: 0 0 28px; height: 28px; border: 1px solid #555054; border-radius: 50%; display: grid; place-content: center; font: 18px/1 system-ui }
.card-title i::before { content: "+" }
details[open] .card-title i::before { content: "−" }
.excerpt { margin-top: 17px; border-left: 2px solid var(--accent); padding: 0 0 0 14px; font: 1.13rem/1.52 var(--serif); color: #e0d7d6 }
.access { margin-top: 26px }
footer { background: #19181b; border-top: 1px solid var(--line) }
.foot { padding-block: 32px; justify-content: space-between; align-items: start; gap: 26px }
footer .brand { font-size: 21px }
footer p { margin: 8px 0 3px }
.mail,.help-links summary { font-size: .9rem }
.help-links { max-width: 400px; text-align: right }
.help-links summary::after { content: " +"; color: var(--accent) }
.help-links details[open] summary::after { content: " −" }
.legal { flex-wrap: wrap; justify-content: flex-end; gap: 18px; margin-top: 14px }
:lang(zh) h1 { line-height: 1.08; font-weight: 450 }
:lang(zh) h1 em { font-style: normal }
:lang(zh) .eyebrow,:lang(zh) .genre { letter-spacing: .12em }
@media(max-width:720px) {
  .bar { min-height: 59px } .brand { font-size: 22px; gap: 7px } nav { gap: 15px; font-size: .8rem }
  .hero { min-height: 466px; border-radius: 16px } .hero-image { left: 0; height: 65%; background-position: 57% 45% }
  .hero::after { background: linear-gradient(0deg,#211c20 11%,#211c20ed 34%,#211c2088 56%,transparent 80%) }
  .hero-copy { padding: 25px 22px } h1 { margin: 12px 0; font-size: clamp(47px,10.8vw,66px) }
  h1 em { display: inline } html:not(:lang(zh)):not(:lang(ja)) h1 em::before { content: " " } .lede { font-size: .92rem; max-width: 39ch }.primary { margin-top: 16px }
  .section-head { align-items: start; flex-direction: column; gap: 4px; margin-bottom: 18px }
  .shelf { grid-template-columns: 1fr; gap: 23px } .still { aspect-ratio: 2.6 } .genre { margin-top: 10px }
  .foot { flex-direction: column }.help-links { text-align: left }.legal { justify-content: flex-start }
}
@media(prefers-reduced-motion:reduce) { .still img { transition: none } }

.hero-copy h1 { overflow-wrap: anywhere }
