* {
    box-sizing: border-box;
}

:root {
    --ink: #172c32;
    --paper: #f5f1e8;
    --gold: #a97429;
    --green: #25493f;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.8 system-ui, "Microsoft YaHei", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.wrap {
    width: min(1120px, 92%);
    margin: auto;
}

.mast {
    border-bottom: 1px solid #c9c6ba;
}

.mast-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    flex-wrap: wrap;
}

.brand {
    font-size: 24px;
    font-weight: 800;
}

.brand small {
    display: block;
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 400;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #172c32;
    color: #fff9ed;
    margin: 34px 0;
}

.hero-copy {
    padding: clamp(24px, 5vw, 64px);
    align-self: center;
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--gold);
}

.hero .eyebrow {
    color: #f3ce8e;
}

h1 {
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.35;
    margin: 18px 0;
}

h2 {
    font-size: 25px;
    line-height: 1.5;
}

h3 {
    font-size: 24px;
    line-height: 1.45;
    margin: 8px 0;
}

.lead {
    font-size: 21px;
}

.cta {
    display: inline-block;
    padding: 10px 20px;
    background: #efce94;
    color: #172c32;
    margin-top: 12px;
}

figure {
    margin: 0;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.hero-photo {
    position: relative;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

figcaption {
    font-size: 12px;
    padding: 8px 12px;
}

.hero-photo figcaption {
    position: absolute;
    bottom: 0;
    background: #172c32d9;
    color: white;
}

.intro {
    max-width: 820px;
    margin: 48px auto;
}

.section-title {
    border-bottom: 2px solid var(--green);
    padding-bottom: 12px;
}

.entry {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 36px;
    align-items: center;
    padding: 26px 0;
    border-bottom: 1px solid #c9c6ba;
}

.entry:nth-of-type(even) {
    grid-template-columns: 1fr 40%;
}

.entry:nth-of-type(even) .photo {
    order: 2;
}

.photo img {
    width: 100%;
    aspect-ratio: 2.5;
    object-fit: cover;
}

.read {
    color: var(--green);
    font-weight: 700;
}

.article-main {
    max-width: 840px;
    padding: 30px 0 60px;
}

.crumb {
    font-size: 14px;
}

.story {
    margin-top: 32px;
}

.story figure {
    margin: 28px 0;
}

.story img {
    width: min(100%, 600px);
}

.story section {
    margin: 32px 0;
}

footer {
    background: var(--green);
    color: #fff9ed;
    padding: 36px 0;
}

.foot small {
    display: block;
    margin-top: 12px;
}

@media (max-width: 680px) {
    .hero, .entry, .entry:nth-of-type(even) {
        grid-template-columns: 1fr;
    }
    .entry:nth-of-type(even) .photo {
        order: 0;
    }
    .hero-photo img {
        height: auto;
    }
    nav {
        gap: 12px;
        font-size: 14px;
    }
    .entry {
        gap: 14px;
    }
}

nav a[aria-current="page"] {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -100px;
    padding: 8px 16px;
    background: #fff;
    color: #172c32;
    z-index: 5;
}

.skip-link:focus {
    top: 12px;
}

a:focus-visible {
    outline: 2px solid #a97429;
    outline-offset: 4px;
}

.photo img {
    aspect-ratio: auto;
    object-fit: contain;
    background: #e6e1d5;
    max-height: 240px;
}

.story img {
    width: auto;
    max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
