* {
    box-sizing: border-box;
}
:root {
    color-scheme: light;
    --ink: #251b3c;
    --paper: #f6f2ec;
    --jade: #12665f;
    --gold: #e4bc70;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 17px/1.8 system-ui, "Microsoft YaHei", sans-serif;
}
a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
a:focus-visible {
    outline: 3px solid #b06d15;
    outline-offset: 4px;
}
.skip {
    position: absolute;
    left: -9999px;
}
.skip:focus {
    left: 1rem;
    top: 1rem;
    background: white;
    z-index: 9;
}
.mast {
    background: #251b3c;
    color: white;
    padding: 24px max(5vw, 16px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.brand {
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
}
.brand small {
    display: block;
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 3px;
}
nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
}
nav a {
    text-decoration: none;
}
.wrap {
    max-width: 1240px;
    margin: auto;
    padding: 40px 24px;
}
.hero {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    background: #e8e0f1;
    border: 1px solid #d6c8e4;
}
.hero-copy {
    padding: clamp(24px, 5vw, 72px);
}
.eyebrow {
    color: var(--jade);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}
h1,h2,h3 {
    line-height: 1.3;
    margin: 0.5em 0;
}
h1 {
    font-size: clamp(32px, 5vw, 64px);
}
h2 {
    font-size: clamp(24px, 3vw, 36px);
}
h3 {
    font-size: 23px;
}
figure {
    margin: 0;
}
img {
    display: block;
    width: 100%;
    height: auto;
}
figcaption {
    padding: 8px 14px;
    font-size: 13px;
    background: #251b3c;
    color: white;
}
.cta {
    display: inline-block;
    padding: 12px 24px;
    background: var(--jade);
    color: white;
    text-decoration: none;
    margin-top: 12px;
}
.atlas {
    padding-top: 48px;
}
.intro {
    color: #51465d;
}
.tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.tile {
    display: grid;
    grid-template-columns: 42% 1fr;
    background: white;
    border: 1px solid #ded5e4;
    align-items: center;
}
.tile img {
    aspect-ratio: 1;
    object-fit: cover;
}
.tile-copy {
    padding: 20px;
}
.tile h3 a {
    text-decoration: none;
}
.more {
    color: var(--jade);
    font-weight: 700;
}
.notes {
    margin-top: 42px;
    padding: 28px;
    border-left: 5px solid var(--jade);
    background: #e3ede7;
}
.article {
    max-width: 850px;
}
.article figure {
    max-width: 560px;
    margin: 28px auto;
}
.article section {
    margin: 36px 0;
}
.crumb {
    font-size: 14px;
}
.footer {
    background: #251b3c;
    color: #f5efe6;
    padding: 36px max(5vw, 16px);
    text-align: center;
}
@media (max-width: 850px) {
    .tiles {
        grid-template-columns: 1fr;
    }
    .hero {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 580px) {
    .wrap {
        padding: 22px 14px;
    }
    .hero {
        grid-template-columns: 1fr;
    }
    .tile {
        grid-template-columns: 1fr;
    }
    nav {
        gap: 10px 15px;
    }
    .tile img {
        aspect-ratio: 16/10;
    }
}

/* Narrow-screen layout safeguards */
.hero > *, .tile > *, .tile-copy {
    min-width: 0;
}
nav a, .tile-copy {
    overflow-wrap: anywhere;
}
@media (max-width: 580px) {
    .mast {
        padding: 20px 16px;
    }
    .tile img {
        object-position: center 35%;
    }
}
