/* Global design tokens */
:root {
    --ink: #30213d;
    --purple: #59368e;
    --paper: #fff8ed;
    --accent: #ef8455;
    --line: #dccedb;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.8 system-ui, "Microsoft YaHei", sans-serif;
}
a {
    color: var(--purple);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
h1, h2, h3, p {
    margin: 0 0 1rem;
}
h1 {
    font-size: clamp(1.9rem, 4vw, 3.3rem);
    line-height: 1.25;
}
h2 {
    font-size: 1.55rem;
    line-height: 1.4;
}
h3 {
    font-size: 1.18rem;
    line-height: 1.5;
}
.wrap {
    width: min(1240px, 92%);
    margin: 0 auto;
}
.skip {
    position: absolute;
    left: -10000px;
}
.skip:focus {
    left: 1rem;
    top: 1rem;
    background: white;
    z-index: 10;
}
/* Header and navigation */
.site-header {
    border-top: 7px solid var(--purple);
    border-bottom: 1px solid var(--line);
}
.masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 20px 0;
}
.brand {
    font-size: 1.7rem;
    font-weight: 900;
}
.brand span {
    font-size: .8rem;
    font-weight: 500;
}
nav {
    display: flex;
    gap: 1.1rem;
    flex-wrap: wrap;
}
nav a {
    font-weight: 600;
}
/* Editorial mosaic */
.hero {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 0;
    margin: 32px 0;
    border: 1px solid var(--ink);
}
.hero-copy {
    background: var(--purple);
    color: #fff8ed;
    padding: clamp(22px, 4vw, 54px);
}
.eyebrow {
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .12em;
}
.hero-art {
    position: relative;
    min-height: 300px;
    overflow: hidden;
}
.hero-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-art span {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--paper);
    padding: 4px 12px;
    font-size: .85rem;
}
.cta {
    display: inline-block;
    background: var(--accent);
    color: var(--ink);
    padding: 10px 18px;
    font-weight: 800;
}
.hero-note {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: .65fr 1.1fr 1.5fr auto;
    align-items: center;
    gap: 18px;
    padding: 20px;
    background: #f5dfce;
}
.hero-note h2, .hero-note p {
    margin: 0;
}
.topic-strip {
    padding: 24px 0 36px;
}
.topic-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--ink);
}
.topic-links a {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 20px 14px;
    font-weight: 800;
    border-right: 1px solid var(--ink);
}
.topic-links a:last-child {
    border-right: 0;
}
.topic-links span {
    font-size: .85rem;
}
.topic-links b {
    margin-left: auto;
}
.edition {
    margin: 0 0 42px;
}
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    border-top: 3px solid var(--purple);
    padding: 14px 0 4px;
}
.stories {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
}
.story {
    border: 1px solid var(--line);
    background: #fffdf8;
}
.picture {
    display: block;
    overflow: hidden;
}
.picture img {
    width: 100%;
    aspect-ratio: 1.65;
    object-fit: cover;
}
.story-text {
    padding: 18px;
}
.story-text p {
    font-size: .94rem;
}
.tag {
    display: inline-block;
    background: #f1e7f7;
    padding: 2px 10px;
    font-size: .78rem;
    margin-bottom: 9px;
    font-weight: 700;
}
.more {
    font-size: .9rem;
    font-weight: 700;
}
/* Reading pages */
.crumb {
    padding: 20px 0;
    font-size: .9rem;
    gap: 8px;
}
.topic-intro {
    background: #efe4f5;
    border-left: 8px solid var(--accent);
    padding: 32px;
    margin-bottom: 36px;
}
.feature {
    max-width: 800px;
    margin: 18px auto 48px;
    padding: clamp(20px,4vw,45px);
    background: #fffdf8;
    border: 1px solid var(--line);
}
.feature h1 {
    font-size: clamp(1.65rem,3vw,2.7rem);
}
.feature h2 {
    border-left: 4px solid var(--accent);
    padding-left: 12px;
}
.feature .lead {
    font-size: 1.12rem;
}
.feature figure {
    margin: 28px 0;
}
.feature figure img {
    width: 100%;
    max-height: 470px;
    object-fit: contain;
    background: #f1e7f7;
}
.feature figcaption {
    font-size: .82rem;
    color: #62546b;
    padding-top: 8px;
}
.feature section {
    margin-bottom: 28px;
}
.related {
    grid-template-columns: repeat(2,minmax(0,1fr));
}
.site-footer {
    background: var(--ink);
    color: var(--paper);
    padding: 36px 0;
}
.site-footer a {
    color: var(--paper);
}
.foot {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}
.foot p {
    margin: 4px 0;
    font-size: .9rem;
}
@media (max-width: 900px) {
    .hero-note {
        grid-template-columns: 1fr 1fr;
    }
    .topic-links {
        grid-template-columns: repeat(2,1fr);
    }
    .stories {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}
@media (max-width: 600px) {
    .masthead {
        align-items: flex-start;
    }
    .brand span {
        display: block;
    }
    nav {
        gap: 8px 16px;
    }
    .hero {
        grid-template-columns: 1fr;
        margin-top: 18px;
    }
    .hero-art {
        min-height: 0;
    }
    .hero-art img {
        aspect-ratio: 1.4;
    }
    .hero-note {
        grid-template-columns: 1fr;
    }
    .stories {
        grid-template-columns: 1fr;
    }
    .topic-links a {
        padding: 12px;
    }
}
