* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: #f5f3eb;
    color: #263b34;
    font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
    line-height: 1.85;
}
a {
    color: inherit;
    text-underline-offset: 5px;
}
.masthead {
    border-bottom: 1px solid #b9c0b3;
    padding: 24px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.brand {
    font-size: 32px;
    font-weight: bold;
    text-decoration: none;
}
.brand small {
    display: block;
    font-size: 10px;
    letter-spacing: 2px;
}
nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 14px;
}
nav a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
main {
    max-width: 1280px;
    margin: auto;
    padding: 36px 5% 64px;
}
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    border-bottom: 1px solid #b9c0b3;
    padding-bottom: 38px;
}
.eyebrow {
    letter-spacing: 3px;
    font-size: 12px;
    color: #53675b;
}
h1 {
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.35;
    margin: 16px 0;
}
h2 {
    font-size: 27px;
    line-height: 1.5;
}
h3 {
    font-size: 20px;
    margin: 8px 0;
}
img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}
.hero img {
    width: 100%;
    aspect-ratio: 1.15;
}
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 1px solid #a4b0a1;
    margin-top: 44px;
    gap: 12px;
}
.catalog {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
}
.entry {
    display: grid;
    grid-template-columns: 38% 1fr;
    gap: 20px;
    border-bottom: 1px solid #b9c0b3;
    padding: 24px 0;
    align-items: center;
}
.entry img {
    aspect-ratio: 1;
    width: 100%;
}
.entry p {
    font-size: 14px;
    margin: 4px 0;
}
.index {
    font-family: Georgia, serif;
    color: #69786a;
    font-size: 23px;
}
.note {
    padding: 24px;
    background: #e3e9dc;
    margin-top: 30px;
}
.article {
    max-width: 820px;
    margin: auto;
}
.article img {
    width: 100%;
    max-height: 460px;
    object-fit: contain;
    background: #e3e9dc;
}
.sample {
    background: #fffdf7;
    border: 1px solid #c8cfc0;
    aspect-ratio: 16/9;
    padding: 6%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sample strong {
    font-size: clamp(22px, 4vw, 42px);
}
footer {
    background: #263b34;
    color: #f5f3eb;
    padding: 30px 5%;
    font-size: 14px;
}
@media (max-width: 750px) {
    .hero, .catalog {
        grid-template-columns: 1fr;
    }
    .entry {
        gap: 12px;
    }
    .section-head {
        flex-wrap: wrap;
    }
}

/* Responsive images and accessible navigation */
img {
    height: auto;
}
.hero img, .entry img {
    height: auto;
    object-fit: cover;
}
figure {
    margin: 24px 0;
}
.skip-link {
    position: absolute;
    left: 12px;
    top: -100px;
    background: #fff;
    color: #263b34;
    padding: 8px 16px;
    z-index: 10;
}
.skip-link:focus {
    top: 12px;
}
nav a[aria-current="page"] {
    text-decoration: underline;
}
a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}
@media (max-width: 420px) {
    .entry {
        grid-template-columns: 1fr;
    }
    .entry img {
        aspect-ratio: 4 / 3;
    }
    .sample {
        min-height: 160px;
    }
}
