:root {
    --paper: #fff9f5;
    --ink: #302238;
    --muted: #695c69;
    --accent: #a34050;
    --line: #e8d6d2;
    --peach: #f7d8cb;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.8 system-ui, "Microsoft YaHei", sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0 0 12px; }
h1, h2, h3 { line-height: 1.35; }
.wrap { width: min(1200px, 92%); margin-inline: auto; }
.skip { position: absolute; left: 10px; top: -100px; background: white; padding: 10px; z-index: 9; }
.skip:focus { top: 10px; }
.masthead { border-bottom: 1px solid var(--line); }
.mast-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 25px; }
.brand { font-size: 32px; font-weight: 900; line-height: 1.2; }
.brand span { color: var(--accent); }
.brand small { display: block; font-size: 10px; letter-spacing: 2px; margin-top: 5px; }
.mast-row p { margin: 0; color: var(--muted); }
.about-link { border: 1px solid var(--line); padding: 6px 15px; }
.nav { display: flex; flex-wrap: wrap; gap: 12px 34px; padding-block: 12px; }
.nav a[aria-current] { color: var(--accent); font-weight: 700; border-bottom: 2px solid; }
main { padding-block: 34px 65px; }
section { margin-bottom: 46px; }
.hero { display: grid; grid-template-columns: .85fr 1.15fr; background: var(--peach); align-items: stretch; border-radius: 4px 60px 4px 4px; overflow: hidden; }
.hero-copy { padding: clamp(24px, 5vw, 65px); align-self: center; }
.eyebrow { display: block; font-size: 12px; font-weight: 750; letter-spacing: 1.4px; color: var(--accent); margin-bottom: 10px; }
.hero h1 { font-size: clamp(32px, 4.7vw, 64px); letter-spacing: -.04em; }
.hero h1 span { display: block; font-size: .73em; font-weight: 500; margin-top: 6px; }
.hero p { color: #55404a; margin: 20px 0; }
.cta { display: inline-block; color: white; background: var(--ink); padding: 10px 19px; }
.cta:hover { color: white; background: var(--accent); }
.hero-image { display: flex; flex-direction: column; min-width: 0; }
.hero-image img { width: 100%; height: 100%; min-height: 310px; object-fit: cover; flex: 1; }
figcaption { font-size: 12px; color: var(--muted); padding: 9px 13px; background: #fff0e8; }
.section-head { border-top: 2px solid var(--ink); padding-top: 16px; margin-bottom: 22px; }
.section-head h2 { font-size: 32px; }
.section-head p { color: var(--muted); }
.chapters { display: grid; grid-template-columns: repeat(6, 1fr); border-block: 1px solid var(--line); }
.chapters a { display: grid; gap: 5px; padding: 15px; border-right: 1px solid var(--line); }
.chapters a:last-child { border-right: 0; }
.chapters span { color: var(--accent); font-size: 13px; }
.chapters strong { font-size: 20px; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.story-card { background: white; border: 1px solid var(--line); overflow: hidden; }
.story-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card-copy { padding: 20px; }
.card-copy p { color: var(--muted); }
.card-copy h3 { font-size: 22px; }
.read { color: var(--accent); font-size: 14px; font-weight: 700; }
.essay { padding: clamp(20px, 5vw, 50px); background: #f3e9ec; }
.essay p { max-width: 850px; }
.breadcrumb { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.topic-intro { background: var(--peach); padding: 36px; }
.topic-intro h1, .article h1 { font-size: clamp(28px, 4vw, 46px); }
.article { max-width: 850px; margin: auto auto 48px; }
.article-head { margin-bottom: 24px; }
.lead { color: var(--muted); font-size: 19px; }
.article-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.prose { margin-top: 30px; }
.prose h2 { font-size: 25px; margin-top: 28px; }
.prose h3 { margin-top: 24px; }
.prose p { line-height: 2; }
.footer { background: var(--ink); color: #f5e9e8; padding: 28px 0; }
.foot-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer p { margin: 6px 0 0; font-size: 14px; }
.footer a:hover { color: var(--peach); }
@media (max-width: 850px) {
    .hero { grid-template-columns: 1fr; }
    .hero-image img { min-height: 0; aspect-ratio: 2/1; }
    .chapters { grid-template-columns: repeat(3, 1fr); }
    .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mast-row p { display: none; }
}
@media (max-width: 520px) {
    .mast-row { padding-block: 15px; }
    .brand { font-size: 27px; }
    .nav { gap: 9px 17px; font-size: 14px; }
    main { padding-top: 18px; }
    .hero { border-radius: 4px 30px 4px 4px; }
    .chapters strong { font-size: 16px; }
    .story-grid { grid-template-columns: 1fr; }
    .section-head h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* 窄屏布局与长文本保护 */
.hero-copy, .card-copy, .mast-row > * { min-width: 0; }
@media (max-width: 520px) {
    .mast-row { gap: 12px; }
    .brand { font-size: 24px; }
    .about-link { padding: 6px 9px; white-space: nowrap; }
    .hero-image img { height: auto; flex: none; }
    .topic-intro { padding: 22px; }
}
