* {
    box-sizing: border-box;
}
:root {
    color-scheme: light;
    --ink: #263e35;
    --muted: #59665d;
    --paper: #fcf7ee;
    --accent: #9b4e39;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
    line-height: 1.8;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
img {
    display: block;
    max-width: 100%;
    object-fit: cover;
}
.wrap {
    width: min(1180px, 92%);
    margin: auto;
}
.header {
    border-bottom: 1px solid #dedbd0;
    background: #fffdf8;
}
.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 800;
    flex-shrink: 0;
}
.brand small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
}
nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    font-size: 14px;
}
.hero {
    margin: 36px 0 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #e4e9db;
    border-radius: 4px 60px 4px 4px;
    overflow: hidden;
}
.intro {
    padding: clamp(24px,5vw,64px);
    align-self: center;
}
.eyebrow {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}
h1 {
    font-size: clamp(28px,4vw,48px);
    line-height: 1.35;
    margin: 16px 0;
}
p {
    margin: 12px 0;
}
.cta {
    display: inline-block;
    padding: 10px 18px;
    background: #365b4e;
    color: white;
    margin-top: 16px;
    border-radius: 30px;
}
figure {
    margin: 0;
    position: relative;
    min-height: 330px;
}
figure img {
    width: 100%;
    height: 100%;
    position: absolute;
}
figcaption {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #fff9ed;
    padding: 5px 14px;
    font-size: 13px;
}
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    border-bottom: 1px solid #a8b5a7;
    margin-bottom: 24px;
}
.section-title span {
    color: var(--muted);
    font-size: 13px;
}
h2 {
    font-size: 25px;
    line-height: 1.4;
}
.collection {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px;
}
.tile {
    background: #fffdf8;
    border: 1px solid #e5ded3;
    min-width: 0;
}
.tile img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
}
.tiletext {
    padding: 22px;
}
.tile h3 {
    margin: 6px 0;
    font-size: 21px;
    line-height: 1.4;
}
.tile p {
    font-size: 14px;
    color: var(--muted);
}
.more {
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
}
.tile-0 {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.tile-0 img {
    height: 100%;
    aspect-ratio: auto;
}
.tile-5 {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.tile-5 img {
    height: 100%;
    aspect-ratio: auto;
}
.note {
    margin: 40px 0;
    padding: 28px;
    background: #f2e0d4;
    border-left: 5px solid #b96a52;
}
footer {
    background: #263e35;
    color: #fff9ed;
    padding: 30px 0;
}
.foot {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.foot p {
    font-size: 13px;
}
.reading {
    max-width: 760px;
    margin: 36px auto 64px;
}
.reading h1 {
    font-size: clamp(28px,4vw,42px);
}
.reading h2 {
    margin-top: 32px;
}
.cover {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    margin: 24px 0;
}
.crumb {
    font-size: 14px;
    color: var(--muted);
}
.lead {
    font-size: 18px;
}
@media (max-width: 850px) {
    .top {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero {
        grid-template-columns: 1fr;
    }
    .collection {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .tile-0,.tile-5 {
        grid-column: span 2;
    }
}
@media (max-width: 520px) {
    .collection {
        grid-template-columns: 1fr;
    }
    .tile-0,.tile-5 {
        display: block;
        grid-column: auto;
    }
    .tile-0 img,.tile-5 img {
        aspect-ratio: 16/10;
        height: auto;
    }
    figure {
        min-height: 220px;
    }
    .section-title {
        flex-wrap: wrap;
    }
}

nav a[aria-current="page"] {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 5px;
}
a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}
.tile-0, .tile-5 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.tile-0 img, .tile-5 img {
    min-height: 220px;
}
@media (max-width: 520px) {
    .tile-0 img, .tile-5 img {
        min-height: 0;
    }
}
