/* Simple, text-first portfolio. No external fonts or decorative artwork. */
:root { --paper:#fcfbf8; --ink:#253b32; --muted:#5e6862; --line:#dfe4dc; --accent:#286249; --soft:#edf3eb; --page:1040px; }
* { box-sizing:border-box; }
html { scroll-padding-top:96px; }
body { margin:0; background:var(--paper); color:var(--ink); font:15px/1.7 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; }
a { color:inherit; text-decoration:none; }
a:hover { color:var(--accent); }
button { font:inherit; cursor:pointer; }
a,button { touch-action:manipulation; }
a:focus-visible,button:focus-visible,summary:focus-visible { outline:2px solid var(--accent); outline-offset:5px; }
h1,h2,h3,h4,p { margin:0; }
h1,h2,h3,h4 { line-height:1.3; font-weight:600; }
p { color:var(--muted); }
.wrap { width:min(var(--page),calc(100% - 64px)); margin-inline:auto; }
.site-header { position:sticky; top:0; z-index:20; background:#fff; border-bottom:1px solid var(--line); }
.nav-bar { min-height:76px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand { font-size:19px; font-weight:600; white-space:nowrap; color:var(--accent); }
.nav-links { display:flex; align-items:center; gap:24px; font-size:13px; }
.nav-links a[aria-current] { color:var(--accent); }
.nav-resume { border:1px solid var(--line); border-radius:4px; padding:7px 12px; }
.arrow { margin-left:6px; }
.menu-toggle { display:none; background:white; border:1px solid var(--line); border-radius:4px; padding:7px 12px; }
.skip-link { position:fixed; top:-80px; left:16px; z-index:50; padding:10px 16px; background:var(--ink); color:white; }
.skip-link:focus { top:10px; }
.hero { padding:64px 0 58px; display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:64px; align-items:center; }
.hero-main { min-width:0; }
.hero-about { display:flex; flex-direction:column; gap:18px; padding:18px; background:#edf3eb; border:1px solid #dce7d9; border-radius:7px; }
.hero-portrait { display:block; width:100%; height:220px; object-fit:cover; object-position:center 25%; border-radius:4px; }
.hero-about p { font-size:13px; line-height:1.65; margin:5px 0 10px; }
.hero-role { display:inline-block; font-size:13px; color:var(--accent); background:var(--soft); border:1px solid #dce7d9; border-radius:4px; padding:4px 10px; margin-bottom:15px; }
.hero h1 { font-size:48px; letter-spacing:-1.5px; }
.hero-copy { font-size:18px; max-width:695px; margin:22px 0 27px; line-height:1.75; }
.button-row { display:flex; align-items:center; flex-wrap:wrap; gap:14px; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:43px; padding:9px 16px; font-size:13px; border:1px solid var(--line); border-radius:4px; }
.button-primary { background:var(--accent); border-color:var(--accent); color:white; }
.button-primary:hover { background:#204e3b; color:white; }
.button-secondary:hover { background:var(--soft); }
.hero-note { font-size:13px; margin-top:24px; }
.text-link { font-size:13px; color:var(--accent); text-decoration:underline; text-underline-offset:4px; }
.section { border-top:1px solid var(--line); padding:52px 0; }
#about { display:none; }
#about:target { display:block; }
.section-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:25px; }
.section-heading h2,.about-heading,.experience-intro h2 { font-size:28px; letter-spacing:-.5px; }
.project-jumps { display:flex; flex-wrap:wrap; gap:12px 25px; margin-bottom:30px; }
.project-jumps a { font-size:13px; color:var(--muted); border-bottom:1px solid var(--line); padding-bottom:5px; }
.project-jumps a:hover { color:var(--accent); border-color:var(--accent); }
.project-jumps span { margin-left:9px; }
.collection-heading { display:flex; justify-content:space-between; align-items:start; gap:18px; margin-bottom:20px; }
.collection-heading h2,.collection-heading h3 { font-size:20px; margin-bottom:8px; }
.collection-heading p { font-size:13px; max-width:700px; }
.collection-count { font-size:12px; color:var(--muted); white-space:nowrap; padding-top:5px; }
.project-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.project-card { display:flex; flex-direction:column; padding:23px; background:#fff; border:1px solid var(--line); border-top:3px solid #83a48a; border-radius:6px; min-width:0; }
.project-card:hover,.project-card:focus-within { border-color:#83a48a; }
.track-ai .project-card { border-top-color:#bc8b6f; }
.track-ai .project-card:hover,.track-ai .project-card:focus-within { border-color:#bc8b6f; }
.track-ai .project-tags span { background:#f5ece5; color:#79533b; }
.track-ai .collection-heading h2,.track-ai .collection-heading h3 { color:#825437; }
.track-web .project-card { border-top-color:#8a9caa; }
.project-meta { font-size:11px; color:var(--muted); margin-bottom:11px; }
.project-title { font-size:17px; line-height:1.45; margin-bottom:12px; }
.project-title a:hover { text-decoration:underline; text-underline-offset:3px; }
.project-card p { font-size:13px; line-height:1.75; }
.project-tags { display:flex; flex-wrap:wrap; gap:5px; padding-top:18px; margin-top:auto; }
.project-tags span { padding:2px 7px; border-radius:3px; background:var(--soft); color:#536159; font-size:10px; }
.project-collection+.project-collection { margin-top:40px; }
.collection-more { display:inline-block; margin-top:18px; }
.experience-layout { display:grid; grid-template-columns:220px minmax(0,1fr); gap:40px; }
.about-layout { display:grid; grid-template-columns:minmax(0,1fr) 220px; gap:40px; align-items:start; margin-top:24px; }
.about-portrait { display:block; width:100%; max-width:220px; height:auto; margin-top:0; border:5px solid #fff; border-radius:7px; box-shadow:0 0 0 1px #dce4d8; }
.about-body p { margin-bottom:16px; }
.about-body strong { color:var(--ink); font-weight:500; }
.expertise-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin-top:28px; }
.expertise { border-top:2px solid #9ab399; background:#edf3eb; padding:14px; border-radius:4px; min-width:0; }
.expertise:nth-child(2) { background:#edf1f4; border-top-color:#9aaebb; }
.expertise:nth-child(3) { background:#f7eee6; border-top-color:#c5a38a; }
.expertise p { margin-bottom:0; }
.expertise b { display:block; font-size:12px; margin-bottom:8px; }
.expertise p { font-size:12px; line-height:1.9; overflow-wrap:break-word; }
.education-strip { display:grid; grid-template-columns:1fr 1fr; gap:30px; border:1px solid #e6dfd0; background:#f7f3ea; border-radius:5px; padding:22px; margin-top:28px; }
.education-strip h3 { font-size:16px; margin:6px 0; }
.education-strip p { font-size:13px; }
.eyebrow { font-size:11px; color:var(--muted); }
.experience-intro p { font-size:13px; margin:16px 0 18px; }
.timeline-item { display:grid; grid-template-columns:1fr; padding-bottom:26px; margin-bottom:22px; border-bottom:1px solid var(--line); }
.timeline-item:last-child { border-bottom:0; padding-bottom:0; margin-bottom:0; }
.company-monogram { display:none; }
.timeline-top { display:flex; justify-content:space-between; align-items:start; gap:15px; }
.timeline-item h3 { font-size:16px; line-height:1.5; }
.timeline-item time { white-space:nowrap; font-size:11px; color:var(--muted); padding-top:3px; }
.organization { font-size:12px; margin:6px 0 11px; }
.role-copy { font-size:13px; }
.research-card { display:grid; grid-template-columns:65px minmax(0,1fr) 28px; gap:20px; border-top:1px solid var(--line); padding:26px 0; }
.research-year { font-size:14px; color:var(--accent); font-weight:600; padding-top:2px; }
.research-card h3 { font-size:17px; margin:7px 0 10px; }
.research-card p { font-size:13px; }
.research-arrow { font-size:20px; color:var(--accent); }
.details { font-size:13px; margin-top:15px; }
.details summary { cursor:pointer; color:var(--accent); width:fit-content; }
.details p { margin-top:12px; }
.contact-section { border-top:1px solid #d7e2d5; padding:40px 0; background:#e8f0e5; }
.contact-inner { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:35px; }
.contact-actions { min-width:min(100%,290px); }
.contact-section h2 { font-size:26px; margin-bottom:10px; }
.contact-section p { font-size:13px; max-width:440px; }
.contact-actions>a { font-size:14px; color:var(--accent); overflow-wrap:anywhere; }
.contact-socials { display:flex; gap:20px; margin-top:12px; font-size:12px; }
.site-footer { display:flex; justify-content:space-between; flex-wrap:wrap; gap:15px; padding:22px 0; font-size:11px; color:var(--muted); }
.footer-right { display:flex; gap:24px; }
.page-hero { padding:52px 0 32px; }
.page-hero h1 { font-size:36px; letter-spacing:-.8px; margin-bottom:17px; }
.page-hero>p { font-size:15px; max-width:700px; }
.page-body { padding-bottom:50px; }
.page-body>.timeline { max-width:850px; }
.education-card { display:grid; grid-template-columns:100px minmax(0,1fr); gap:30px; padding:28px 0; border-top:1px solid var(--line); }
.education-card .year { font-size:13px; color:var(--muted); }
.education-card h2 { font-size:23px; margin-bottom:9px; }
.education-card h3 { font-size:14px; margin-bottom:13px; }
.education-card p { font-size:13px; max-width:700px; }
.not-found { padding:65px 0; }
.not-found h1 { font-size:36px; margin:20px 0; }
.not-found p { margin-bottom:22px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media(max-width:900px) {
 .hero { grid-template-columns:1fr 220px; gap:30px; }
 .nav-links { gap:15px; font-size:12px; }
 .project-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .experience-layout { grid-template-columns:1fr; gap:22px; }
 .about-layout { gap:24px; grid-template-columns:minmax(0,1fr) 200px; }
 .experience-intro p { max-width:650px; }
 .contact-inner { align-items:start; }
}
@media(max-width:620px) {
 .hero { grid-template-columns:1fr; padding:48px 0 42px; }
 .hero-about { display:grid; grid-template-columns:110px minmax(0,1fr); gap:16px; align-items:center; }
 .hero-portrait { height:145px; }
 .about-layout { grid-template-columns:1fr; }
 .about-portrait { justify-self:center; }
 .wrap { width:calc(100% - 40px); }
 .nav-bar { min-height:68px; }
 .brand { font-size:18px; }
 .menu-toggle { display:block; }
 .nav-links { display:none; position:absolute; top:67px; left:0; right:0; padding:14px 20px 20px; background:white; border-bottom:1px solid var(--line); flex-direction:column; align-items:stretch; gap:0; font-size:14px; }
 .nav-links.is-open { display:flex; }
 .nav-links>a { padding:9px; }
 .nav-resume { margin-top:8px; text-align:center; }
 .hero { padding:45px 0; }
 .hero h1 { font-size:37px; letter-spacing:-1px; }
 .hero-copy { font-size:16px; margin:18px 0 24px; }
 .hero-role,.hero-note { font-size:12px; }
 .section { padding:36px 0; }
 .section-heading { align-items:start; flex-wrap:wrap; gap:12px; }
 .section-heading h2,.about-heading,.experience-intro h2 { font-size:25px; }
 .collection-heading { flex-wrap:wrap; gap:8px; }
 .collection-heading h2,.collection-heading h3 { font-size:19px; }
 .collection-count { padding-top:0; }
 .project-grid { grid-template-columns:1fr; }
 .project-card { padding:21px; }
 .project-jumps { gap:12px 20px; }
 .project-jumps a { font-size:12px; }
 .expertise-grid { grid-template-columns:1fr; gap:12px; }
 .expertise p { font-size:13px; }
 .education-strip { grid-template-columns:1fr; gap:20px; }
 .timeline-top { flex-direction:column; gap:4px; }
 .research-card { grid-template-columns:minmax(0,1fr) 25px; gap:12px; }
 .research-year { grid-column:1/-1; }
 .contact-inner { flex-direction:column; gap:22px; }
 .contact-section { padding:30px 0; }
 .page-hero { padding:36px 0 26px; }
 .page-hero h1 { font-size:31px; }
 .education-card { grid-template-columns:1fr; gap:12px; }
 html:not(.js) .menu-toggle { display:none; }
 html:not(.js) .nav-bar { flex-wrap:wrap; padding-top:16px; }
 html:not(.js) .nav-links { display:flex; position:static; padding:0 0 16px; border:0; flex-direction:row; flex-wrap:wrap; }
}
