/* Shared styles for the personal shell; legacy pages keep their own styles. */
:root { color-scheme: light; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #202b32; background: #f7f7f2; line-height: 1.65; }
* { box-sizing: border-box; }
body { margin: 0; }
.wrap { width: min(100% - 2.5rem, 60rem); margin-inline: auto; }
a { color: #215c52; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .15em; }
a:focus-visible { outline: 3px solid #215c52; outline-offset: 5px; }
.skip { position: absolute; top: -6rem; left: 1rem; padding: .75rem; background: white; }
.skip:focus { top: 1rem; }
header { border-bottom: 1px solid #ccd3cd; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.25rem; }
.brand { font-weight: 700; color: #202b32; text-decoration: none; }
nav { display: flex; gap: .25rem 1.5rem; flex-wrap: wrap; }
nav a { display: inline-flex; min-height: 44px; align-items: center; }
main { padding-block: clamp(3rem, 8vw, 6rem); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #466158; }
h1 { font-size: clamp(2.75rem, 8vw, 4.75rem); line-height: 1.08; letter-spacing: -.04em; margin: 1rem 0 1.5rem; }
h2 { font-size: 1.5rem; line-height: 1.3; margin-top: 0; }
p { max-width: 42rem; }
.intro { font-size: 1.2rem; }
.button { display: inline-flex; align-items: center; min-height: 48px; padding: .6rem 1.1rem; background: #215c52; color: white; border-radius: .25rem; font-weight: 600; }
.project { margin-top: 4rem; padding: 2rem; background: white; border: 1px solid #ccd3cd; border-radius: .4rem; }
footer { border-top: 1px solid #ccd3cd; padding-block: 1.5rem; font-size: .9rem; color: #466158; }
@media (max-width: 30rem) { header .wrap { align-items: flex-start; flex-direction: column; } .project { padding: 1.25rem; } }

/* Native Jekyll writing pages reuse the personal shell. */
.essay { max-width: 42rem; margin-inline: auto; }
.essay h1 { font-size: clamp(2.5rem, 7vw, 3.75rem); }
.essay-meta { color: #466158; font-size: .9rem; margin-bottom: 2.5rem; }
.writing-list { list-style: none; padding: 0; max-width: 42rem; }
.writing-list li { margin-block: 2rem; }
.writing-list h2 { margin-bottom: .5rem; }
.writing-list p { margin-block: .5rem; }
