:root {
    color: #28221e;
    background: #f5f0e7;
    font-family: Georgia, serif;
    font-size: 18px;
    line-height: 1.65;
    --accent: #781a34;
    --rule: #d9cec1;
}
body { margin: 0; }
.site-header, main, footer {
    max-width: 72rem;
    margin-inline: auto;
    padding-inline: clamp(1rem, 5vw, 4rem);
}
.site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding-block: 1.5rem;
    border-bottom: 1px solid var(--rule);
}
.brand { font-size: 1.15rem; font-weight: bold; max-width: 15rem; line-height: 1.2; }
nav { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
nav a, .brand { color: inherit; text-decoration: none; }
nav a[aria-current="page"], nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
main { padding-block: clamp(2rem, 6vw, 5rem); }
article { max-width: 48rem; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 6vw, 4.5rem); margin-block: .25em .5em; }
h2 { font-size: clamp(1.65rem, 4vw, 2.5rem); margin-top: 1.5em; }
a { color: var(--accent); }
img { display: block; max-width: 100%; max-height: 32rem; height: auto; margin-block: 1.5rem; }
form { max-width: 40rem; }
label { display: block; }
input, textarea { box-sizing: border-box; max-width: 100%; width: 100%; padding: .55rem; font: inherit; }
button { padding: .65rem 1.25rem; border: 0; background: var(--accent); color: white; font: inherit; cursor: pointer; }
footer { border-top: 1px solid var(--rule); padding-block: 1.4rem; overflow-wrap: anywhere; }
