:root {
  color-scheme:light;
  --ink:#262724;--muted:#55574f;--paper:#eeece7;--white:#f8f6f2;--line:#bdb9ae;--wash:#e8e2d7;--accent:#a13927;
}
* {box-sizing:border-box}
html {scroll-behavior:smooth}
body {margin:0;background:var(--paper);color:var(--ink);font:1rem/1.58 var(--sans)}
a {color:inherit;text-underline-offset:.22em}
a:hover {color:var(--accent)}
:focus-visible {outline:2px solid #264d68;outline-offset:4px}
h1,h2,h3,p {margin:0}
h1,h2,h3 {font-family:var(--display);font-weight:600;line-height:1.02;letter-spacing:.005em}
p+p {margin-top:.72rem}
.wrap {width:min(1110px,calc(100% - 56px));margin-inline:auto}
.top {border-bottom:1px solid var(--line)}
.nav,.actions,.sectionhead,.footer {display:flex;align-items:center;gap:1.1rem}
.nav {min-height:60px;justify-content:space-between}
.nav a,.button {text-decoration:none;font-weight:600}
.nav a:hover,.button:hover {text-decoration:underline}
.brand {display:flex;align-items:center;gap:.64rem;white-space:nowrap}
.mark {display:grid;place-items:center;width:34px;height:35px;border:1px solid #88877a;font:600 1.22rem/1 var(--display);letter-spacing:.04em}
.eyebrow {font:600 .78rem/1.5 var(--mono);letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
h1 {font-size:clamp(3.45rem,8.4vw,6.15rem);margin:.39rem 0 .56rem}
h2 {font-size:clamp(2.05rem,4.2vw,3.2rem)}
h3 {font-size:clamp(1.55rem,3.2vw,2.16rem)}
.lede {max-width:47ch;font-size:1.1rem;color:var(--muted)}
.actions {margin-top:1.2rem;gap:.58rem;flex-wrap:wrap}
.button {border:1px solid #a49f91;border-radius:2px;padding:.43rem .72rem;display:inline-block;background:var(--white)}
.primary,.primary:hover {background:var(--accent);color:#fffaf4;border-color:var(--accent)}
.section {padding:0 0 3.4rem;scroll-margin-top:1.25rem}
.sectionhead {justify-content:space-between;border-top:1px solid var(--line);padding:1rem 0;flex-wrap:wrap}
.textlink {font-weight:600}
.projects {display:grid;grid-template-columns:1fr 1fr;gap:.85rem;align-items:start}
.project,.experience article,.credentials>div {border:1px solid var(--line);background:var(--white)}
.featured {grid-column:1/-1;background:var(--wash)}
.projectbody {padding:clamp(1rem,2.8vw,1.8rem)}
.project h3,.experience h3 {margin:.3rem 0 .55rem}
.projectbody>p:not(.eyebrow) {max-width:67ch}
.tags,.repolinks {display:flex;flex-wrap:wrap;gap:.42rem;margin-top:.8rem}
.tags span {font:400 .75rem/1.5 var(--mono);border:1px solid #b4ad9d;padding:.13rem .37rem;background:#faf8f4}
.repolinks {gap:.48rem 1rem;font-weight:600}
.flow {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:.98rem 0;gap:1px;background:var(--line);border:1px solid var(--line)}
.flow div {display:grid;align-content:start;background:#f7f4ec;padding:.39rem .54rem;line-height:1.35}
.flow small {color:var(--muted);margin-top:.14rem}
details {margin-top:.92rem;padding-top:.61rem;border-top:1px solid var(--line)}
summary {cursor:pointer;font-weight:600;color:#803626}
details p {margin-top:.59rem;color:var(--muted)}
.more,.credentials {margin-top:1.45rem}
.more ul {list-style:none;padding:0;margin:.45rem 0 0}
.more li {display:flex;justify-content:space-between;gap:.38rem .88rem;flex-wrap:wrap;padding:.52rem 0;border-bottom:1px solid var(--line)}
.more a {font-weight:600}
.more span,.experience p:last-child,.credentials p {color:var(--muted)}
.experience {display:grid;grid-template-columns:repeat(3,1fr);gap:.85rem}
.experience article,.credentials>div {padding:1.05rem}
.experience h3,.credentials h3 {font-size:1.65rem}
.credentials {display:grid;grid-template-columns:1fr 1fr;gap:.85rem}
.credentials h3 {margin-bottom:.55rem}
.contact {border:1px solid var(--line);background:var(--wash);padding:clamp(1.05rem,3.4vw,2.1rem);display:flex;gap:.86rem 1.65rem;align-items:center;justify-content:space-between;flex-wrap:wrap}
.contact p {margin-top:.43rem}
.contact .actions {margin:0}
.footer {padding:1.2rem 0;justify-content:space-between;color:var(--muted)}
.resume {max-width:830px;padding:2.5rem 0}
.resume h1 {font-size:clamp(3.3rem,6.7vw,5.15rem)}
.resume h2 {font-size:2rem;margin:1.55rem 0 .55rem}
.resume h3 {font:600 1.15rem/1.25 var(--sans);margin:.9rem 0 .27rem}
@media(max-width:850px) {.experience {grid-template-columns:1fr}}
@media(max-width:680px) {
  .wrap {width:calc(100% - 34px)}
  .projects,.credentials {grid-template-columns:1fr}
  .nav .brand {font-size:.91rem}
  .section {padding-bottom:2.5rem}
}
@media(prefers-reduced-motion:reduce) {html {scroll-behavior:auto}}
@media print {
  body {background:white;color:black;font-size:10pt}
  .top,.footer {display:none}
  .resume {width:100%;padding:0}
  .resume h1 {font-size:26pt;margin:0}
  .resume h2 {font-size:15pt;margin-top:.9rem}
  .resume h3 {font-size:11pt}
  a {text-decoration:none}
  .resume h2,.resume h3 {break-after:avoid}
}
