* {
    box-sizing: border-box;
}

:root {
    color-scheme: light;
    --ink: #38291f;
    --paper: #fff9ed;
    --accent: #9c4936;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.85 system-ui, sans-serif;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

a:focus-visible {
    outline: 3px solid #bd8249;
    outline-offset: 4px;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.wrap {
    width: min(1120px, 92%);
    margin: auto;
}

header {
    border-bottom: 1px solid #d6bc97;
    background: #f4dfba;
}

.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 18px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

nav a {
    font-size: 14px;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
    padding: 52px 0;
}

.hero img {
    width: 100%;
    aspect-ratio: 1.6;
    object-fit: cover;
    border-radius: 120px 12px 12px 12px;
}

.eyebrow {
    letter-spacing: .16em;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
}

h1 {
    font-size: clamp(30px, 5vw, 54px);
    line-height: 1.2;
    margin: 12px 0 20px;
}

h2 {
    font-size: 27px;
    line-height: 1.4;
}

.button {
    display: inline-block;
    padding: 10px 22px;
    background: #583522;
    color: white;
    border-radius: 4px;
}

.shelf {
    padding: 25px 0 50px;
}

.story {
    display: grid;
    grid-template-columns: 65px 210px 1fr;
    gap: 24px;
    align-items: center;
    border-top: 1px solid #d6bc97;
    padding: 24px 0;
}

.story img {
    width: 100%;
    aspect-ratio: 1.7;
    object-fit: cover;
    border-radius: 8px;
}

.number {
    font-size: 40px;
    color: #93603a;
    font-family: Georgia, serif;
}

.story h3 {
    margin: 0;
    font-size: 22px;
}

.story p {
    margin: 8px 0;
}

.note {
    background: #e8ebd9;
    border-left: 5px solid #65734a;
    padding: 24px;
    margin: 24px 0 48px;
}

.article {
    max-width: 820px;
    margin: 0 auto;
    padding: 36px 0 52px;
    overflow-wrap: anywhere;
}

.article figure {
    margin: 24px 0;
}

.article figure img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
}

figcaption {
    font-size: 13px;
    color: #6b5140;
}

footer {
    background: #583522;
    color: #fff9ed;
    padding: 30px 0;
}

footer nav {
    margin-bottom: 14px;
}

@media (max-width: 700px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 0;
    }
    .story {
        grid-template-columns: 40px 1fr;
        gap: 14px;
    }
    .story img {
        grid-column: 2;
    }
    .story div:last-child {
        grid-column: 2;
    }
    .top {
        align-items: flex-start;
    }
}

/* 响应式与可访问性补充 */
.hero > *,
.story > * {
    min-width: 0;
}
nav a[aria-current="page"] {
    font-weight: 700;
    color: var(--accent);
}
.hero img {
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 24px 8px 8px 8px;
}
.story img {
    aspect-ratio: auto;
    object-fit: contain;
}
@media (max-width: 420px) {
    .story {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 10px;
    }
    .number {
        font-size: 28px;
    }
    nav {
        gap: 8px 12px;
    }
    .note {
        padding: 16px;
    }
}
