* {
    box-sizing: border-box;
}
:root {
    color-scheme: dark;
    --bg: #15131c;
    --panel: #201c29;
    --text: #f3e9e6;
    --muted: #c4b6c3;
    --accent: #ef9c91;
    --line: #493443;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.8 system-ui,"Microsoft YaHei",sans-serif;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: var(--accent);
}
a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}
.wrap {
    width: min(1160px,92%);
    margin: auto;
}
header {
    border-bottom: 1px solid var(--line);
}
.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    flex-wrap: wrap;
}
.brand {
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 2px;
}
.brand span {
    color: var(--accent);
}
nav {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}
nav a {
    font-size: 14px;
    color: var(--muted);
}
main {
    padding: 38px 0 64px;
}
h1,h2,h3,p {
    margin: 0 0 16px;
}
h1 {
    font-size: clamp(30px,4.4vw,54px);
    line-height: 1.25;
    letter-spacing: 1px;
}
h2 {
    font-size: 27px;
    line-height: 1.4;
}
h3 {
    font-size: 21px;
    line-height: 1.45;
}
p {
    color: var(--muted);
}
.eyebrow {
    color: var(--accent);
    font-size: 13px;
    letter-spacing: 3px;
    font-weight: 700;
}
.hero {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 30px;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
}
.hero img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 120px 12px 12px 12px;
}
.button {
    display: inline-block;
    border: 1px solid var(--accent);
    padding: 10px 22px;
    border-radius: 4px;
    color: var(--accent);
}
section {
    margin-top: 48px;
}
.heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 22px;
}
.heading span {
    color: var(--muted);
    font-size: 13px;
}
.archive {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 18px;
}
.story {
    background: var(--panel);
    border: 1px solid var(--line);
    overflow: hidden;
    border-radius: 7px;
}
.story img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
}
.story .copy {
    padding: 20px;
}
.story small {
    color: var(--accent);
}
.story p {
    margin-bottom: 10px;
}
.story:first-child {
    grid-row: span 2;
}
.story:first-child .copy {
    padding: 26px;
}
.story:nth-child(2),.story:nth-child(3) {
    display: grid;
    grid-template-columns: 42% 58%;
    align-items: center;
}
.story:nth-child(2) img,.story:nth-child(3) img {
    height: 100%;
    object-fit: cover;
}
.notes {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}
.note {
    border-top: 3px solid #925361;
    padding: 20px;
    background: var(--panel);
}
.faq {
    max-width: 850px;
}
.faq div {
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
}
.faq h3 {
    font-size: 18px;
    margin-bottom: 6px;
}
footer {
    border-top: 1px solid var(--line);
    padding: 26px 0;
}
footer p {
    margin: 4px 0;
    font-size: 14px;
}
.article {
    max-width: 850px;
    margin: auto;
}
.article img {
    display: block;
    width: 100%;
    height: auto;
    margin: 24px 0;
    border-radius: 8px;
}
.article h2 {
    margin-top: 32px;
}
.crumb {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 26px;
}
.related a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
@media (max-width:760px) {
    .hero,.archive,.notes {
        grid-template-columns: 1fr;
    }
    .hero img {
        border-radius: 30px 6px 6px 6px;
    }
    .story:first-child {
        grid-row: auto;
    }
    .story:nth-child(2),.story:nth-child(3) {
        display: block;
    }
    .story:nth-child(2) img,.story:nth-child(3) img {
        height: auto;
    }
    .top {
        gap: 10px;
    }
    nav {
        gap: 14px;
    }
    main {
        padding-top: 25px;
    }
    .heading {
        flex-wrap: wrap;
    }
}

/* Layout stability and responsive refinements */
.hero {
    margin-top: 0;
}
.story {
    min-width: 0;
}
.story > a {
    display: block;
    min-width: 0;
}
.story:nth-child(2) > a,
.story:nth-child(3) > a {
    align-self: stretch;
}
@media (max-width: 760px) {
    .story:nth-child(2) > a,
    .story:nth-child(3) > a {
        height: auto;
    }
}
