* {
    box-sizing: border-box;
}
:root {
    color-scheme: light;
    --ink: #172238;
    --paper: #f5f2eb;
    --accent: #a65423;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.85 system-ui, "Microsoft YaHei", sans-serif;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
a:focus-visible {
    outline: 3px solid #b75d24;
    outline-offset: 4px;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
.skip {
    position: absolute;
    left: 12px;
    top: -100px;
    background: white;
    padding: 8px;
}
.skip:focus {
    top: 4px;
    z-index: 3;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 20px max(5vw, 16px);
    border-bottom: 1px solid #c9c3b7;
    flex-wrap: wrap;
}
.brand {
    display: flex;
    gap: 12px;
    align-items: center;
    font-weight: 800;
}
.brand small {
    display: block;
    font-size: 10px;
    letter-spacing: .2em;
}
.header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    font-size: 14px;
}
.wrap {
    max-width: 1320px;
    margin: auto;
    padding: 36px 5vw;
}
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--ink);
    color: white;
    min-height: 420px;
}
.hero-copy {
    padding: clamp(24px, 5vw, 72px);
    align-self: center;
}
h1 {
    font-size: clamp(30px, 4vw, 55px);
    line-height: 1.25;
    margin: 15px 0 25px;
}
h2 {
    line-height: 1.4;
}
h3 {
    line-height: 1.5;
    margin: 4px 0 8px;
}
.tag {
    color: var(--accent);
    letter-spacing: .09em;
    font-size: 13px;
    font-weight: 700;
    margin: 0;
}
.hero .tag {
    color: #f5b96b;
}
.cta {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 20px;
    background: #f5b96b;
    color: var(--ink);
    font-weight: bold;
}
.hero-images {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5px;
    align-content: center;
    padding: 18px;
}
.hero-images img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}
.hero-images span {
    grid-column: 1 / -1;
    font-size: 12px;
    color: #f5b96b;
}
.workspace {
    display: grid;
    grid-template-columns: 200px minmax(0,1fr);
    gap: 48px;
    margin-top: 56px;
}
.rail {
    border-top: 4px solid var(--ink);
    align-self: start;
}
.rail a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #d4cec3;
}
.chapter {
    display: grid;
    grid-template-columns: 42px minmax(100px, 180px) minmax(0,1fr);
    align-items: center;
    gap: 20px;
    border-top: 1px solid #bcb6a9;
    padding: 26px 0;
}
.chapter img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}
.number {
    align-self: start;
    color: var(--accent);
    font-size: 27px;
    font-weight: 800;
}
.more {
    color: var(--accent);
    font-weight: bold;
}
.closing {
    border-top: 4px solid var(--ink);
    padding-top: 18px;
    margin-top: 40px;
}
.article {
    max-width: 820px;
    padding: 40px 24px;
    margin: auto;
}
.article figure {
    margin: 28px 0;
}
.article figure img {
    width: 100%;
    max-height: 430px;
    object-fit: cover;
}
figcaption {
    font-size: 12px;
    color: #665e54;
}
.article aside {
    border-top: 1px solid #bcb6a9;
    margin-top: 40px;
}
footer {
    background: var(--ink);
    color: #e8e1d7;
    padding: 32px 5vw;
    font-size: 14px;
}
@media (max-width: 760px) {
    .hero, .workspace {
        grid-template-columns: 1fr;
    }
    .workspace {
        gap: 20px;
        margin-top: 28px;
    }
    .hero-images img {
        height: 220px;
    }
    .chapter {
        grid-template-columns: 34px minmax(0,1fr);
        gap: 12px;
    }
    .chapter img {
        aspect-ratio: 16/10;
    }
    .chapter div {
        grid-column: 2;
    }
    .header {
        padding: 16px;
    }
}

.header nav a[aria-current="page"] {
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
}

.hero > *, .chapter > * {
    min-width: 0;
}
