* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: #35291e;
    background: #fff9ee;
    font: 16px/1.8 system-ui, "Microsoft YaHei", sans-serif;
}

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

a:hover {
    text-decoration: underline;
}

a:focus-visible {
    outline: 3px solid #96551b;
    outline-offset: 4px;
}

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

.shell {
    max-width: 1180px;
    margin: auto;
    padding: 0 24px;
}

.masthead {
    border-bottom: 1px solid #dcc7aa;
    padding: 20px 0;
}

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

.brand span {
    font-size: 14px;
    font-weight: 500;
    color: #76552f;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 16px;
}

.hero {
    display: grid;
    grid-template-columns: 5fr 6fr;
    margin: 32px 0 48px;
    background: #f5d491;
    align-items: stretch;
}

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

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

h1 {
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.25;
    margin: 12px 0;
}

h2 {
    font-size: 26px;
    line-height: 1.4;
}

h3 {
    font-size: 22px;
    line-height: 1.4;
    margin: 8px 0;
}

.eyebrow {
    font-size: 13px;
    letter-spacing: .08em;
    color: #75471d;
    font-weight: 700;
}

.button {
    display: inline-block;
    padding: 10px 18px;
    background: #563a23;
    color: white;
}

.stories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 36px;
}

.story {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 16px;
    border-top: 2px solid #ca9956;
    padding-top: 20px;
    align-items: start;
}

.story-copy p {
    margin: 8px 0;
}

.story-copy > a {
    color: #8c4918;
    font-weight: 700;
}

.note {
    background: #f6e5c7;
    padding: 24px 32px;
    margin: 48px 0;
}

.article-page {
    max-width: 850px;
    padding-top: 32px;
    padding-bottom: 48px;
}

.article-page article img {
    margin: 24px 0;
}

.article-page aside {
    border-top: 1px solid #dcc7aa;
    margin-top: 32px;
}

footer {
    background: #392d23;
    color: #fff0d7;
    padding: 24px 0;
}


@media (max-width: 800px) {
    .hero,
    .stories {
        grid-template-columns: 1fr;
    }
    .hero img {
        height: auto;
    }
}

@media (max-width: 480px) {
    .shell {
        padding: 0 16px;
    }
    .story {
        grid-template-columns: 1fr;
    }
}

/* Accessibility and responsive layout */
.skip-link {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 8px 16px;
    background: #563a23;
    color: #fff;
    transform: translateY(-150%);
    z-index: 10;
}

.skip-link:focus {
    transform: translateY(0);
}

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

.hero-copy,
.story-copy {
    min-width: 0;
    overflow-wrap: anywhere;
}
