* {
    box-sizing: border-box;
}

:root {
    color-scheme: light;
    --ink: #203a30;
    --paper: #f7f4eb;
    --accent: #a8442d;
}

body {
    margin: 0;
    font-family: system-ui, "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.8;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

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

.site-header {
    border-bottom: 1px solid #cbd2c3;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
    flex-wrap: wrap;
}

.brand {
    font-size: 28px;
    font-weight: 800;
}

.brand span {
    font-size: 13px;
    font-weight: 500;
}

nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 15px;
}

.skip {
    position: absolute;
    top: -100px;
}

.skip:focus {
    top: 0;
    background: white;
    z-index: 2;
}

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

.hero h1 {
    font-family: Georgia, "Songti SC", serif;
    font-size: clamp(30px, 4vw, 51px);
    line-height: 1.3;
    margin: 12px 0 20px;
}

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

.action {
    display: inline-block;
    padding: 10px 24px;
    background: var(--ink);
    color: white;
    border-radius: 4px;
}

figure {
    margin: 0;
}

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

.hero img {
    width: 100%;
    aspect-ratio: 1.35;
    object-fit: cover;
    border-radius: 50% 50% 6px 6px;
}

figcaption {
    font-size: 13px;
    margin-top: 8px;
    color: #53645b;
}

.directory {
    border-top: 2px solid var(--ink);
    padding: 20px 0 36px;
}

.topics {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: #d1d6c9;
    border: 1px solid #d1d6c9;
}

.topics a {
    background: #fdfbf6;
    padding: 20px;
    display: grid;
    gap: 8px;
}

.topics span {
    font-size: 13px;
    color: var(--accent);
}

.topics strong {
    font-size: 21px;
}

.reading {
    margin: 30px 0 52px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
    border-bottom: 1px solid #cbd2c3;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
}

.story {
    display: grid;
    grid-template-columns: 35% 1fr;
    align-items: start;
    gap: 18px;
    padding: 25px 0;
    border-bottom: 1px solid #cbd2c3;
}

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

.story h3 {
    font-size: 19px;
    line-height: 1.5;
    margin: 5px 0;
}

.story p {
    margin: 0;
    font-size: 14px;
}

.note {
    padding: 28px;
    background: #e1e8dc;
    margin: 30px 0 50px;
}

.crumb {
    font-size: 14px;
    margin: 24px 0;
}

.essay {
    max-width: 760px;
    margin: 36px auto 64px;
}

.essay h1 {
    font-size: clamp(29px, 4vw, 42px);
    line-height: 1.4;
}

.essay h2 {
    margin-top: 34px;
    border-left: 4px solid var(--accent);
    padding-left: 12px;
}

.essay img {
    width: 100%;
    max-height: 410px;
    object-fit: cover;
}

.essay p {
    font-size: 17px;
}

.site-footer {
    background: var(--ink);
    color: #f7f4eb;
    padding: 28px 0;
    font-size: 14px;
}

@media (max-width: 760px) {
    .hero, .story-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        gap: 24px;
        padding: 28px 0;
    }

    .topics {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-row {
        gap: 12px;
    }

    nav {
        gap: 12px;
    }

}

@media (max-width: 360px) {
    .story {
        grid-template-columns: 1fr;
    }

}
