* {
    box-sizing: border-box;
}
body {
    margin: 0;
    color: #432a35;
    background: #fff8f3;
    font: 16px/1.85 system-ui, sans-serif;
}
a {
    color: #843b52;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
header, main, footer {
    max-width: 1180px;
    margin: auto;
    padding: 28px clamp(18px,4vw,55px);
}
header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e7c5c5;
    gap: 16px;
}
.brand {
    font-size: 25px;
    font-weight: 800;
}
nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.hero {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 36px;
    align-items: center;
    padding: 35px 0;
}
h1 {
    font-size: clamp(30px,4vw,49px);
    line-height: 1.25;
    margin: 12px 0;
}
h2 {
    font-size: 26px;
    line-height: 1.4;
}
h3 {
    line-height: 1.5;
}
img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}
.kicker {
    color: #98556a;
    letter-spacing: .15em;
    font-weight: 700;
}
.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.feature {
    border-top: 1px solid #d5a7ad;
    padding-top: 20px;
}
.feature:nth-child(3n+1) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 28px;
    align-items: center;
}
article.read {
    max-width: 790px;
    margin: auto;
}
.read img {
    margin: 24px 0;
}
.related {
    background: #f6e2e1;
    padding: 22px;
    border-radius: 12px;
    margin-top: 30px;
}
footer {
    border-top: 1px solid #e7c5c5;
    margin-top: 30px;
}
@media(max-width: 700px) {
    .hero,.features,.feature:nth-child(3n+1) {
        display: block;
    }
    .feature {
        margin-bottom: 25px;
    }
    nav {
        gap: 12px;
    }
}

/* Layout refinements */
.hero > div, .feature > div {
    min-width: 0;
}
.hero img, .feature img {
    aspect-ratio: 5 / 3;
    object-fit: cover;
}
.features {
    align-items: start;
}
nav a {
    overflow-wrap: anywhere;
}
a:focus-visible {
    outline: 2px solid #843b52;
    outline-offset: 4px;
}
@media (max-width: 700px) {
    .hero img {
        margin-top: 24px;
    }
    .feature > div {
        padding-top: 12px;
    }
    header, main, footer {
        padding: 20px;
    }
}
