* {
    box-sizing: border-box;
}
:root {
    --ink: #24232a;
    --paper: #faf7ef;
    --gold: #efb42d;
    --muted: #68636a;
}
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 {
    text-decoration: underline;
}
a:focus-visible {
    outline: 3px solid #b97800;
    outline-offset: 4px;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
figure {
    margin: 0;
}
h1,h2,h3,p {
    margin: 0 0 16px;
}
h1,h2,h3 {
    line-height: 1.3;
}
.shell {
    width: min(1180px, 92%);
    margin-inline: auto;
}
.skip {
    position: absolute;
    left: -10000px;
}
.skip:focus {
    left: 10px;
    top: 10px;
    background: white;
    z-index: 5;
}
.header {
    background: #24232a;
    color: #fff;
}
.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    gap: 16px;
}
.brand {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
}
.brand small {
    display: block;
    color: #d6c8a7;
    font-size: 10px;
    letter-spacing: 1px;
    margin-top: 5px;
}
.edition {
    color: #e9d7a3;
    font-size: 13px;
}
.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    padding: 12px 0;
    border-top: 1px solid #504a52;
}
.nav a {
    padding: 4px 0;
    font-size: 15px;
}
.hero {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1.15fr);
    gap: 38px;
    align-items: center;
    padding: 48px 0;
}
.kicker {
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 1.6px;
    color: #8a5c08;
}
.intro h1 {
    font-size: clamp(40px, 6vw, 82px);
    margin: 15px 0 8px;
    letter-spacing: -3px;
}
.headline {
    font-size: 23px;
    font-weight: 700;
}
.cta {
    display: inline-block;
    background: var(--gold);
    padding: 10px 22px;
    font-weight: 700;
}
.hero-art {
    background: #24232a;
    padding: 12px;
    transform: none;
}
.hero-art img {
    width: 100%;
    aspect-ratio: 1.8;
    object-fit: cover;
}
figcaption {
    font-size: 12px;
    padding: 8px 3px 0;
    color: var(--muted);
}
.hero-art figcaption {
    color: #eee3c7;
}
.method {
    display: grid;
    grid-template-columns: 1.2fr repeat(3,minmax(0,1fr));
    gap: 24px;
    padding: 28px 0;
    border-block: 1px solid #d9d0bd;
}
.method p {
    margin: 5px 0 0;
    font-size: 14px;
}
.topics {
    padding: 40px 0;
}
.section-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.section-title span {
    font-size: 12px;
    color: var(--muted);
}
.topic-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 22px;
}
.tile {
    background: #fff;
    border: 1px solid #ded7c8;
    position: relative;
}
.tile a {
    display: block;
    padding: 12px 12px 20px;
}
.tile img {
    width: 100%;
    aspect-ratio: 1.65;
    object-fit: cover;
}
.number {
    display: inline-block;
    margin-top: 12px;
    color: #835700;
    font-weight: 800;
}
.tile h3 {
    margin: 6px 0;
    font-size: 23px;
}
.tile p {
    font-size: 15px;
    color: #55515a;
}
.read {
    font-weight: 700;
    color: #795007;
}
.workbench {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    background: #f0e4c9;
    padding: 30px;
    margin: 0 0 44px;
}
.workbench aside {
    border-left: 1px solid #bead87;
    padding-left: 25px;
}
.footer {
    background: #24232a;
    color: #eee;
    padding: 30px 0;
}
.foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.foot p {
    font-size: 13px;
    margin: 8px 0 0;
    color: #d9d2c5;
}
.crumb {
    padding: 24px 0;
    color: var(--muted);
}
.article {
    max-width: 780px;
    margin: 0 auto 55px;
}
.article h1 {
    font-size: clamp(30px, 5vw, 46px);
    margin-top: 10px;
}
.article .dek {
    font-size: 20px;
}
.article figure {
    background: #eee4cd;
    padding: 15px;
    margin-bottom: 30px;
}
.article figure img {
    width: 100%;
    max-height: 380px;
    object-fit: contain;
}
.article section {
    margin: 30px 0;
}
.article section a {
    text-decoration: underline;
}
@media (max-width: 850px) {
    .hero, .workbench {
    grid-template-columns: 1fr;
}
    .method, .topic-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
}
    .workbench aside {
    border-left: 0;
    border-top: 1px solid #bead87;
    padding: 20px 0 0;
}
    .hero-art {
    transform: none;
}
}
@media (max-width: 490px) {
    .edition {
    display: none;
}
    .topic-grid, .method, .foot {
    grid-template-columns: 1fr;
}
    .hero {
    padding: 30px 0;
    gap: 20px;
}
    .nav {
    gap: 5px 16px;
}
    .workbench {
    padding: 20px;
}
}

.nav a[aria-current="page"] {
    color: #ffd16a;
    border-bottom: 2px solid currentColor;
}
.article, .intro, .tile, .workbench > div {
    min-width: 0;
    overflow-wrap: anywhere;
}
@media (prefers-reduced-motion: reduce) { html {
    scroll-behavior: auto;
} }
