* {
    box-sizing: border-box;
}
:root {
    color-scheme: light;
    --ink: #17242e;
    --paper: #f5f1e8;
    --gold: #a66a2d;
}
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 #bd792e;
    outline-offset: 4px;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
.wrap {
    width: min(1200px, 92%);
    margin: auto;
}
header {
    background: #17242e;
    color: #fff;
}
.head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 18px 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
}
nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-size: 15px;
}
.hero {
    background: #17242e;
    color: #f5f1e8;
    padding: 40px 0 54px;
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}
.hero h1 {
    font-size: clamp(30px, 4.5vw, 58px);
    line-height: 1.2;
    margin: 12px 0 20px;
}
.hero p {
    color: #e0e3df;
    max-width: 620px;
}
.kicker {
    font-size: 13px;
    letter-spacing: .16em;
    font-weight: 700;
    color: #b77936;
}
.hero .kicker {
    color: #e5ad64;
}
.mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.mosaic img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}
.mosaic img:first-child {
    grid-row: span 2;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
}
.cta {
    display: inline-block;
    background: #e5ad64;
    color: #17242e;
    padding: 10px 20px;
    font-weight: 700;
}
.content {
    padding: 42px 0;
}
h2 {
    line-height: 1.4;
    font-size: 28px;
}
.timeline {
    border-top: 2px solid var(--ink);
}
.step {
    display: grid;
    grid-template-columns: 64px 170px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #c8c5bd;
}
.num {
    font-size: 35px;
    font-weight: 700;
    color: var(--gold);
    font-variant-numeric: tabular-nums;
}
.step img {
    width: 170px;
    aspect-ratio: 4/3;
    object-fit: cover;
}
.step h3 {
    margin: 0;
    font-size: 22px;
}
.step p {
    margin: 4px 0;
}
.read {
    font-weight: 700;
    color: #80501c;
}
.workshop {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 28px;
    background: #e5e1d6;
    margin-top: 38px;
}
.article {
    max-width: 850px;
    margin: auto;
    padding: 34px 0 50px;
}
.article h1 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.35;
}
.article figure {
    margin: 24px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
}
.article figure img {
    width: 100%;
    border-radius: 4px;
}
.article section {
    border-bottom: 1px solid #ccc6ba;
    padding: 10px 0 20px;
}
.article h2 {
    font-size: 25px;
}
.related {
    margin-top: 30px;
}
footer {
    background: #17242e;
    color: #e5e1d6;
    padding: 28px 0;
}
footer p {
    margin: 5px 0;
}
.skip {
    position: absolute;
    left: -9999px;
}
.skip:focus {
    left: 10px;
    top: 10px;
    background: white;
    color: black;
    z-index: 10;
}
@media (max-width: 900px) {
    .hero-grid, .workshop, .article figure {
        grid-template-columns: 1fr;
    }
    .step {
        grid-template-columns: 40px 100px minmax(0, 1fr);
        gap: 12px;
    }
    .step img {
        width: 100px;
    }
    .step .read {
        grid-column: 3;
    }
    .step h3 {
        font-size: 18px;
    }
    .num {
        font-size: 26px;
    }
    .hero {
        padding: 24px 0 32px;
    }
}
@media (max-width: 540px) {
    .step {
        grid-template-columns: 36px 1fr;
    }
    .step img {
        grid-column: 2;
        width: 100%;
        max-width: 160px;
    }
    .step > div, .step .read {
        grid-column: 2;
    }
}
nav a[aria-current="page"] {
    color: #ffd49c;
    text-decoration: underline;
    text-underline-offset: 5px;
}
.step > div {
    min-width: 0;
}
.mosaic {
    min-width: 0;
}
.mosaic img:first-child {
    min-height: 0;
}
@media (max-width: 540px) {
    .workshop {
        padding: 18px;
    }
    .step {
        align-items: start;
    }
    .step img {
        max-width: none;
    }
    .head {
        gap: 12px;
    }
    nav {
        gap: 8px 14px;
    }
}
