* { box-sizing: border-box; }
:root { --ink: #252436; --paper: #f8f5ef; --accent: #d84930; --line: #d9d3c8; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.75 system-ui, "Microsoft YaHei", sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid #3560b8; outline-offset: 3px; }
img { display: block; width: 100%; height: auto; object-fit: cover; }
.wrap { max-width: 1260px; margin: auto; padding-inline: 32px; }
.skip { position: absolute; top: -100px; background: white; padding: 8px; }
.skip:focus { top: 0; }
.mast { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-block: 24px; border-bottom: 3px solid var(--ink); }
.brand { font-size: 34px; font-weight: 950; letter-spacing: -2px; line-height: 1.1; }
.brand span { color: var(--accent); }
.brand small { display: block; font-size: 10px; letter-spacing: 3px; margin-top: 8px; }
nav { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 650; }
.hero { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 36px; align-items: center; padding-block: 44px; }
.eyebrow, .tag { color: #a33422; font-size: 13px; font-weight: 750; letter-spacing: 1px; }
h1 { font-size: clamp(30px, 4vw, 54px); line-height: 1.25; margin: 18px 0; letter-spacing: -1px; }
h2 { font-size: 27px; line-height: 1.4; }
h3 { font-size: 19px; line-height: 1.45; margin: 8px 0; }
p { margin: 10px 0 16px; }
.intro p, .lead { color: #504b54; }
.cta { display: inline-block; background: var(--ink); color: white; padding: 12px 24px; font-weight: 700; box-shadow: 5px 5px 0 var(--accent); }
.cta:hover { color: white; background: var(--accent); }
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; background: var(--ink); padding: 7px; transform: rotate(-1deg); }
.panels a { position: relative; overflow: hidden; }
.panels img { aspect-ratio: 16/10; }
.panels .bigpanel { grid-column: 1/-1; }
.panels .bigpanel img { aspect-ratio: 2.25; }
.panels span { position: absolute; bottom: 0; left: 0; padding: 5px 12px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 800; }
.section { margin: 30px 0 48px; }
.sectionhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 2px solid var(--ink); }
.sectionhead span { font-size: 12px; color: #625b66; }
.genres { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; }
.genres a { display: flex; flex-direction: column; padding: 16px; border: 1px solid var(--ink); background: #fffdf7; }
.genres a:nth-child(2n) { background: #e7ebe1; }
.genres span { font-size: 29px; font-weight: 900; color: var(--accent); }
.genres small { color: #625b66; }
.library { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.entry { border: 1px solid var(--line); background: #fffdf8; display: flex; flex-direction: column; }
.cover { overflow: hidden; }
.cover img { aspect-ratio: 16/9; }
.entrytext { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.entrytext p { color: #514b54; font-size: 14px; }
.read { color: #a33422; font-weight: 700; margin-top: auto; }
.closing, .topicintro { background: #e9e6f0; border-left: 5px solid var(--accent); padding: 24px 32px; margin: 32px 0; }
.crumb { color: #625b66; font-size: 14px; margin: 24px 0; }
.story { max-width: 800px; margin: 32px auto 56px; }
.story h1 { font-size: clamp(30px,4vw,46px); }
.story h2 { margin-top: 30px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
figure { margin: 24px 0; }
figcaption { color: #625b66; font-size: 13px; margin-top: 8px; }
.footer { background: var(--ink); color: #f8f5ef; padding: 32px 0; }
.footgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer p { font-size: 13px; color: #d4cfda; }
@media (max-width: 850px) { .hero { grid-template-columns: 1fr; } .library { grid-template-columns: repeat(2,minmax(0,1fr)); } .genres { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 520px) { .wrap { padding-inline: 18px; } .mast { padding-block: 18px; } nav { gap: 10px 15px; font-size: 14px; } .hero { padding-block: 26px; gap: 24px; } .panels { transform: none; } .library, .footgrid { grid-template-columns: 1fr; } .genres { grid-template-columns: repeat(2,1fr); } .sectionhead { align-items: center; } .sectionhead h2 { font-size: 23px; } .closing,.topicintro { padding: 20px; } }
