:root{color-scheme:light;--ink:#172822;--muted:#506157;--paper:#f8f8f2;--line:#dce5dc;--teal:#176851;--dark:#10332b}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
a{color:var(--teal);text-underline-offset:4px}a:focus-visible{outline:3px solid #48a88f;outline-offset:4px;border-radius:4px}img{max-width:100%;display:block;height:auto}
h1,h2,h3,p,figure{margin:0}.wrap{width:min(1160px,calc(100% - 72px));margin-inline:auto}.skip{position:absolute;top:-99px;left:16px;padding:9px;background:white;z-index:5}.skip:focus{top:6px}
.site-header{border-bottom:1px solid var(--line);background:var(--paper)}
.header-inner{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-weight:780;text-decoration:none;white-space:nowrap}
.brand span{display:grid;place-items:center;width:34px;height:34px;border:1px solid #b4cbbd;background:#eaf1e8;border-radius:8px;font-size:.77rem;color:var(--teal)}
.site-header nav{display:flex;align-items:center;gap:clamp(14px,3vw,32px)}.site-header a{font-size:.91rem}.site-header nav a,.header-cv{text-decoration:none;font-weight:680;color:var(--ink)}
.site-header nav a:hover,.header-cv:hover{text-decoration:underline}.header-cv{white-space:nowrap}
.hero{padding-block:clamp(44px,8vw,112px);display:grid;grid-template-columns:minmax(0,1.35fr) minmax(240px,.8fr);gap:clamp(30px,8vw,105px);align-items:center}
.eyebrow{font-weight:750;color:#356452;letter-spacing:.085em;font-size:.75rem;text-transform:uppercase}
.hero h1,.section-head h2,.contact h2{font-family:Georgia,"Times New Roman",serif;font-weight:500;letter-spacing:-.045em}
.hero h1{font-size:clamp(4rem,9vw,8.1rem);line-height:.96;margin:14px 0 18px}
.hero-role{font-size:clamp(1.2rem,2.1vw,1.58rem);font-weight:740;line-height:1.35;max-width:33ch}
.intro{margin-top:14px;color:var(--muted);max-width:50ch}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:24px}
.btn{background:var(--teal);color:#fff;border:1px solid var(--teal);border-radius:7px;font-weight:730;font-size:.9rem;min-height:46px;padding:8px 14px;display:inline-flex;align-items:center;gap:5px;text-decoration:none}
.btn:hover{background:#11533f}.btn-light{background:#f8f8f2;color:#174b3b;border-color:#b9cfc0}.btn-light:hover{background:#e9f2e9}
.portrait{position:relative;border:1px solid #d4dfd3;border-radius:13px;padding:9px;background:#ecefe8}.portrait img{width:100%;aspect-ratio:4/4.55;object-fit:cover;object-position:center 38%;border-radius:7px}
.portrait figcaption{font-size:.77rem;color:#3d584a;padding:7px 2px 0}
.work{background:#eef2eb;border-block:1px solid var(--line);padding-block:clamp(38px,6vw,76px)}
.section-head{margin-bottom:23px;max-width:65ch}.section-head h2,.contact h2{font-size:clamp(2.1rem,4.8vw,3.55rem);line-height:1.05;margin:5px 0 11px}.section-head>p:last-child{color:var(--muted)}
.company-card{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:clamp(18px,3vw,30px);background:var(--dark);color:white;border-radius:12px;margin-bottom:14px}
.company-card .eyebrow{color:#b5e0d1}.company-card h3{font-size:1.55rem;margin:3px 0}.company-card p:not(.eyebrow){color:#dbece5;max-width:70ch}.company-card a{flex:none}
.projects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.project{display:flex;flex-direction:column;gap:8px;border:1px solid #d6e2d8;border-radius:12px;padding:clamp(17px,2.5vw,24px);background:#fcfcf8}
.project h3{font-size:1.22rem;line-height:1.25}.project p:not(.eyebrow){color:var(--muted)}.project a{padding-top:5px;margin-top:auto;font-weight:700;align-self:flex-start}
.experience{padding-block:clamp(38px,6vw,76px)}.experience-list article{display:grid;grid-template-columns:1fr 1.15fr;gap:20px;border-top:1px solid var(--line);padding-block:17px}
.experience-list h3{font-size:1.1rem}.experience-list p{color:var(--muted)}.contact{background:var(--dark);color:#fff}.contact-inner{display:flex;justify-content:space-between;align-items:center;gap:22px;padding-block:37px}.contact p{color:#d2e7df}.contact .actions{margin-top:0}
.footer{display:flex;justify-content:space-between;padding-block:15px;color:var(--muted);font-size:.86rem}
@media(max-width:700px){
  .wrap{width:calc(100% - 34px)}.header-inner{min-height:57px;flex-wrap:wrap;gap:4px 10px;padding-block:9px}.site-header nav{order:3;width:100%;gap:21px;padding:3px 0 1px}
  .hero{grid-template-columns:1fr;gap:23px;padding-block:35px}.hero h1{font-size:clamp(3.6rem,14vw,5rem);margin:9px 0 13px}
  .portrait{width:min(100%,390px)}.portrait img{aspect-ratio:1/1}.experience-list article{grid-template-columns:1fr;gap:7px}
  .projects{grid-template-columns:1fr}.company-card,.contact-inner{align-items:flex-start;flex-direction:column}.contact-inner{gap:14px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

