:root {
    color-scheme: light;
    --paper: #f7f4ec;
    --ink: #242820;
    --muted: #565b50;
    --green: #26362f;
    --light: #fff9e9;
    --rule: #d8d0bd;
    --rust: #815035;
    --serif: Georgia, "Times New Roman", serif;
    --sans: system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.125rem/1.65 var(--serif); }
a { color: #365442; text-underline-offset: .18em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.wrap { max-width: 74rem; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }
.masthead, .footer {
    min-height: 5.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .7rem 2rem;
}
header { border-bottom: 1px solid var(--rule); }
.site-title { font-size: clamp(1.4rem, 3vw, 1.85rem); font-weight: bold; color: var(--ink); text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: .55rem clamp(.85rem, 3vw, 2rem); }
nav a, .footer a { font: 600 .9rem/1.5 var(--sans); text-decoration: none; }
nav a:hover, nav a[aria-current] { text-decoration: underline; }
.skip { position: absolute; top: .5rem; left: 1rem; z-index: 1; padding: .5rem .75rem; background: var(--paper); transform: translateY(-160%); }
.skip:focus { transform: none; }
h1, h2, h3 { line-height: 1.12; }
h1, h2 { text-wrap: balance; }
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);
    padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.5rem, 6vw, 6rem);
    background: var(--green);
    color: var(--light);
}
.home { max-width: 74rem; margin: 2rem auto 4rem; padding-inline: clamp(1.25rem, 4vw, 3rem); }
.hero h1 { font-size: clamp(2.9rem, 6.2vw, 5.15rem); margin: .75rem 0 1rem; font-weight: 400; letter-spacing: -.048em; }
.kicker { font: 650 .875rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--rust); margin: 0; }
.hero .kicker { color: #e7c695; }
.dek { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #efe6d3; margin-block: 0 1.5rem; }
.button { display: inline-block; padding: .72rem 1rem; background: var(--light); color: var(--green); font: 700 .92rem/1.5 var(--sans); text-decoration: none; }
.portrait { max-width: 21rem; margin: 0 auto; }
.portrait img { width: 100%; display: block; }
.hero .portrait img { border: .38rem solid #e5d7b7; }
figcaption { margin-top: .65rem; color: var(--muted); font: .875rem/1.45 var(--sans); }
.hero figcaption { color: #efe4cb; }
.post { max-width: 43rem; margin: 2.6rem auto 3.5rem; scroll-margin: 1.25rem; }
.post p { margin: 0 0 1.15rem; }
.signature { font-style: italic; }
.explore { border-top: 1px solid var(--rule); padding-top: 1.25rem; }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .75rem; }
.section-heading h2 { margin: 0; font-size: 2rem; }
.section-heading a, .explore span { font: .9rem/1.45 var(--sans); }
.explore ul { padding: 0; list-style: none; margin: 1rem 0 0; }
.explore li { padding: .75rem 0; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; justify-content: space-between; border-bottom: 1px solid var(--rule); }
.explore span { color: var(--muted); align-self: center; }
.reading { max-width: 52rem; min-height: 60vh; margin: 0 auto; padding: 2.5rem clamp(1.25rem, 5vw, 3rem) 4rem; }
.reading h1 { font-size: clamp(2.3rem, 6vw, 3.75rem); margin: 0 0 1.2rem; }
.reading .kicker { margin-bottom: .9rem; }
.reading h1 a, .reading h2 a { color: inherit; }
.reading > article + article { border-top: 1px solid var(--rule); margin-top: 2rem; padding-top: 1.5rem; }
img { max-width: 100%; height: auto; }
figure { margin: 1.25rem 0; }
.reading .portrait { margin: 1.75rem 0; }
.meta, .comment .date { color: var(--muted); font: .9rem/1.6 var(--sans); }
.archive-list { list-style: none; padding: 0; }
.archive-list li { display: flex; flex-wrap: wrap; gap: .2rem .8rem; border-top: 1px solid var(--rule); padding: .7rem 0; }
.archive-list .meta { min-width: 6.1rem; }
.archive-update { border-left: 3px solid var(--rust); padding-left: .8rem; }
.comment { border-top: 1px solid var(--rule); padding: 1rem 0; overflow-wrap: anywhere; }
.comment .author { font-weight: bold; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; }
footer { border-top: 1px solid var(--rule); }

@media (max-width: 44rem) {
    .masthead { padding-block: .9rem; }
    .home { margin-top: 1rem; }
    .hero { grid-template-columns: 1fr; gap: 1.8rem; }
    .hero .portrait { margin-inline: 0; max-width: 15rem; }
}
@media (max-width: 28rem) {
    .hero h1 { font-size: 2.55rem; }
}
