* {
    box-sizing: border-box;
}
:root {
    color-scheme: light;
    --ink: #292646;
    --accent: #54438e;
    --paper: #f5f3fa;
}
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 #806bd0;
    outline-offset: 4px;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
.wrap {
    width: min(1180px, 92%);
    margin-inline: auto;
}
.header {
    background: #fff;
    border-bottom: 1px solid #dfd9ed;
}
.masthead, .brand, nav, .footer-grid {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.masthead {
    justify-content: space-between;
    padding-block: 18px;
}
.brand {
    font-size: 24px;
    font-weight: 750;
    gap: 10px;
    line-height: 1.3;
}
.brand small {
    display: block;
    font-size: 11px;
    letter-spacing: 1px;
}
nav {
    font-size: 14px;
}
.skip {
    position: absolute;
    transform: translateY(-200%);
}
.skip:focus {
    transform: none;
    background: white;
    z-index: 5;
}
.hero {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 30px;
    align-items: center;
    padding: 42px 0 30px;
}
.hero-copy, .entry-copy {
    min-width: 0;
}
h1, h2, h3, p, figure {
    margin: 0 0 16px;
}
h1, h2, h3 {
    line-height: 1.45;
}
h1 {
    font-size: clamp(27px, 3.3vw, 43px);
    font-family: "Songti SC", "SimSun", serif;
}
.eyebrow, figcaption {
    font-size: 12px;
    color: #635481;
    letter-spacing: 1px;
}
.hero figure img {
    width: 100%;
    aspect-ratio: 1.65;
    object-fit: cover;
    border-radius: 130px 12px 12px 12px;
}
.cta {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
}
.journal {
    border-top: 1px solid #d7cfe5;
    padding-block: 30px;
}
.editorial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.entry {
    background: white;
    padding: 18px;
    border-bottom: 3px solid #b2a4d5;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 18px;
    align-items: center;
}
.entry:nth-child(3n+1) {
    grid-column: 1 / -1;
    grid-template-columns: 1.2fr 1fr;
}
.entry img {
    width: 100%;
    aspect-ratio: 2.4;
    object-fit: cover;
    border-radius: 4px;
}
.entry h3 {
    font-size: 20px;
}
.entry p {
    margin-bottom: 8px;
}
.read {
    color: var(--accent);
    font-weight: 700;
}
.closing {
    background: #e3dff2;
    padding: 30px;
    margin-bottom: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.closing .cta {
    flex-shrink: 0;
}
.detail {
    max-width: 820px;
    margin: 28px auto 48px;
    background: white;
    padding: clamp(20px, 5vw, 52px);
}
.detail figure img {
    width: 100%;
}
.detail section, .detail aside {
    border-top: 1px solid #ddd6e9;
    padding-top: 24px;
    margin-top: 24px;
}
.crumb {
    margin-top: 24px;
}
footer {
    background: #30265e;
    color: #f6f2ff;
    padding: 32px 0;
}
.footer-grid {
    justify-content: space-between;
}
@media (max-width: 760px) {
    .hero, .editorial, .entry, .entry:nth-child(3n+1) {
        grid-template-columns: minmax(0, 1fr);
    }
    .entry:nth-child(3n+1) {
        grid-column: auto;
    }
    .closing {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero {
        padding-top: 24px;
    }
    nav {
        gap: 10px 16px;
    }
}

/* Responsive grid and navigation safeguards */
.hero,
.editorial,
.entry {
    min-width: 0;
}
.hero > *,
.editorial > *,
.entry > * {
    min-width: 0;
}
nav a[aria-current="page"] {
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 5px;
}
@media (max-width: 480px) {
    .entry,
    .closing {
        padding: 16px;
    }
    .hero figure img {
        border-radius: 48px 8px 8px 8px;
    }
    .brand {
        font-size: 21px;
    }
    .footer-grid > div {
        min-width: 0;
        overflow-wrap: anywhere;
    }
}
