* {
    box-sizing: border-box;
}

:root {
    color-scheme: light;
}

body {
    margin: 0;
    background: #f8f4e9;
    color: #263e38;
    font: 16px/1.8 system-ui, sans-serif;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

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

.skip {
    position: absolute;
    top: -100px;
}

.skip:focus {
    top: 0;
    background: white;
    z-index: 5;
}

.mast {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px max(5vw, 20px);
    border-bottom: 1px solid #b5bdb0;
}

.brand {
    font-size: 25px;
    font-weight: 800;
    text-decoration: none;
}

.brand small {
    display: block;
    font-size: 12px;
    letter-spacing: .15em;
}

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

main {
    max-width: 1180px;
    margin: auto;
    padding: 32px 24px 60px;
}

.cover {
    display: grid;
    grid-template-columns:  .85fr 1.15fr;
    gap: 35px;
    align-items: center;
    padding: 30px;
    background: #e9e4d3;
    border-radius: 4px 48px 4px 4px;
}

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

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

h3 {
    line-height: 1.5;
}

.eyebrow {
    color: #8a451d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
}

.action {
    display: inline-block;
    background: #285044;
    color: white;
    padding: 10px 22px;
    text-decoration: none;
}

figure {
    margin: 0;
}

img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 3px;
}

figcaption {
    color: #58645b;
    font-size: 13px;
    margin-top: 8px;
}

.topics {
    margin-top: 55px;
}

.journal {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.entry {
    border-top: 3px solid #a7542b;
    background: #fffdf7;
    padding: 16px;
    min-width: 0;
}

.entry:first-child {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #e1e9dd;
}

.entry:first-child img {
    aspect-ratio: 4/3;
    object-fit: cover;
}

.entry h3 {
    margin: 8px 0;
    font-size: 22px;
}

.read {
    color: #804019;
    font-weight: 700;
}

.guide {
    margin-top: 48px;
    padding: 24px;
    border: 1px solid #a4b3a6;
}

.story {
    max-width: 800px;
    margin: auto;
}

.story h2 {
    border-left: 4px solid #a7542b;
    padding-left: 12px;
    margin-top: 32px;
}

footer {
    background: #29473e;
    color: #fff9eb;
    padding: 35px max(5vw, 24px);
}

@media (max-width: 700px) {
    .cover, .journal {
        grid-template-columns: 1fr;
    }
    .cover {
        padding: 20px;
    }
    .entry:first-child {
        grid-row: auto;
    }
    main {
        padding: 20px 16px 40px;
    }
}

.cover > *, .journal > * {
    min-width: 0;
}

nav a[aria-current="page"] {
    font-weight: 700;
}
