* {
    box-sizing: border-box;
}
:root {
    color-scheme: light;
    --ink: #172b38;
    --paper: #f6f0e6;
    --gold: #93611f;
    --line: #d8cbbc;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.85;
}
a {
    color: inherit;
    text-underline-offset: 4px;
}
a:focus-visible {
    outline: 3px solid #bc7520;
    outline-offset: 4px;
}
.wrap {
    width: min(1160px, 92%);
    margin: 0 auto;
}
.skip {
    position: absolute;
    top: -100px;
}
.skip:focus {
    top: 8px;
    z-index: 2;
    background: white;
    padding: 8px;
}
.masthead {
    background: #172b38;
    color: #fff4df;
}
.mast-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    flex-wrap: wrap;
}
.brand {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
}
.brand span {
    display: block;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 3px;
}
nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}
nav a {
    text-decoration: none;
}
nav a[aria-current="page"] {
    color: #ffd38d;
    border-bottom: 2px solid;
}
.hero {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 40px;
    padding: 56px 0;
    border-bottom: 1px solid var(--line);
}
h1,
h2,
h3 {
    line-height: 1.4;
    margin: 0 0 16px;
}
h1 {
    font-family: Georgia, "Songti SC", SimSun, serif;
    font-size: clamp(30px, 4vw, 52px);
}
h2 {
    font-size: 28px;
}
h3 {
    font-size: 22px;
}
p {
    margin: 0 0 16px;
}
.eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
}
.cta {
    display: inline-block;
    background: var(--ink);
    color: #fff4df;
    padding: 12px 20px;
    text-decoration: none;
}
figure {
    margin: 0;
}
img {
    display: block;
    width: 100%;
    height: auto;
}
.hero img {
    border: 8px solid #fffaf1;
    box-shadow: 0 8px 28px #172b3822;
}
figcaption {
    font-size: 12px;
    margin-top: 8px;
    color: #655d53;
}
.catalog {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 44px;
    padding: 48px 0;
}
.entry {
    display: grid;
    grid-template-columns: 36% 1fr;
    gap: 24px;
    border-top: 1px solid var(--line);
    padding: 24px 0;
    align-items: start;
}
.entry-image img {
    aspect-ratio: 2.25;
    object-fit: cover;
}
.entry h3 a {
    text-decoration: none;
}
.entry h3 a:hover {
    text-decoration: underline;
}
.method {
    font-size: 14px;
    color: #625a50;
}
.reading {
    background: #e9dfce;
    padding: 32px;
    margin-bottom: 48px;
}
.detail {
    max-width: 800px;
    margin: 40px auto 64px;
}
.detail figure {
    margin: 24px 0;
}
.detail h2 {
    margin-top: 32px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
}
.notice,
.breadcrumb {
    font-size: 14px;
    color: #625a50;
}
.footer {
    background: var(--ink);
    color: #fff4df;
    padding: 32px 0;
    font-size: 14px;
}
@media (max-width: 760px) {
    .hero,
    .catalog {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 0;
    }
    .entry {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .reading {
        padding: 20px;
    }
    .mast-inner {
        gap: 14px;
    }
}

/* Small-screen readability and grid sizing. */
.hero-copy,
.section-heading,
.entries,
.entry > div {
    min-width: 0;
}
@media (max-width: 480px) {
    .mast-inner {
        padding: 16px 0;
    }
    nav {
        gap: 8px 14px;
    }
    .hero img {
        border-width: 4px;
    }
    .detail {
        margin: 24px auto 40px;
    }
}
