/* About / Portfolio: one clear reading order, calm surfaces, native accessible disclosures. */
:root{color-scheme:light;--ink:#192f4a;--muted:#5b6e84;--blue:#1d5a9e;--line:#e0e8f2;--surface:#fff;--soft:#f5f8fc;--shadow:0 16px 42px rgb(25 49 83 / 9%)}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:112px}
body{margin:0;min-width:320px;background:linear-gradient(180deg,#f6faff 0,#fff 370px);color:var(--ink);font:16px/1.64 system-ui,-apple-system,"Segoe UI",sans-serif}
a{color:inherit;text-underline-offset:4px}
a:focus-visible,summary:focus-visible{outline:3px solid #2471ce;outline-offset:4px}
h1,h2,h3{line-height:1.14;letter-spacing:-.045em;text-wrap:balance}
h1{font-size:clamp(2.9rem,6vw,5rem);margin:14px 0 21px;font-weight:850}
h2{font-size:clamp(1.85rem,3.8vw,2.85rem);margin:4px 0 16px;font-weight:820}
p{margin:0 0 16px}
.eyebrow{font-size:.71rem;letter-spacing:.16em;text-transform:uppercase;font-weight:850;color:var(--blue);margin-bottom:10px}
.skip{position:absolute;left:14px;top:-90px;z-index:99;background:#fff;border:2px solid #2367b6;padding:10px 14px;border-radius:9px}
.skip:focus{top:10px}
.top,main,footer{width:min(1130px,calc(100% - 44px));margin-inline:auto}
.top{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:22px;position:relative;border-bottom:1px solid var(--line)}
.top a{text-decoration:none}
.top .back{display:flex;align-items:center;gap:10px;min-width:0;font-size:.92rem;font-weight:850;letter-spacing:-.02em}
.top .back img{width:36px;height:36px;object-fit:contain}
.top .back:hover{color:#235da4}
.section-nav{display:flex;align-items:center;flex-wrap:wrap;gap:clamp(12px,2vw,30px)}
.section-nav a{min-height:42px;display:inline-flex;align-items:center;font-size:.85rem;font-weight:750;color:#496079}
.section-nav a:hover{color:#185da9;text-decoration:underline}
.contact{display:inline-flex;align-items:center;gap:7px;flex:none;font-size:.84rem;font-weight:800;padding:10px 14px;border:1px solid #cddff2;border-radius:100px;background:#f5f9ff;color:#1b5c9f}
.contact:hover{background:#e7f3ff}
.profile{display:grid;grid-template-columns:minmax(0,1.48fr) minmax(245px,.77fr);align-items:center;gap:clamp(30px,6vw,95px);padding:clamp(55px,7vw,94px) 0 clamp(65px,8vw,105px)}
.profile-copy{min-width:0}
.headline{font-size:clamp(1.23rem,2.1vw,1.65rem);line-height:1.44;font-weight:730;color:#284c73;max-width:620px;margin:0 0 18px}
.intro{color:var(--muted);max-width:625px;font-size:.98rem;line-height:1.72;margin-bottom:0}
.quick{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:26px}
.quick a,.resume-links a{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 15px;min-height:44px;border:1px solid #d8e5f2;border-radius:11px;background:#fff;text-decoration:none;color:#245781;font-size:.82rem;font-weight:780;transition:background-color .2s ease,border-color .2s ease,transform .2s ease}
.quick a:hover,.resume-links a:hover{background:#eaf3ff;border-color:#b9d4ef}
.quick a.primary{color:#fff;background:linear-gradient(110deg,#1a4e85,#2469b0);border-color:#1c5a99;box-shadow:0 9px 22px #174c8525}
.quick a.primary:hover{background:#1e568e;transform:translateY(-1px)}
.quick small{color:#76869b;font-size:.67rem;font-weight:600}
.portrait{margin:0;position:relative;justify-self:end;max-width:335px;width:100%}
.portrait img{display:block;width:100%;height:auto;max-height:390px;object-fit:cover;object-position:center top;border-radius:22px;box-shadow:var(--shadow);background:#eaf1f9}
.portrait figcaption{margin-top:12px;font-size:.76rem;text-align:center;color:#728098;font-weight:680}
.section-block{scroll-margin-top:42px}
.story{display:grid;grid-template-columns:minmax(210px,.88fr) minmax(0,1.35fr);align-items:start;gap:clamp(32px,5vw,75px);padding:clamp(32px,5vw,55px);background:linear-gradient(135deg,#f4f8fd,#f8fbff);border:1px solid #e0eaf5;border-radius:23px}
.story-heading h2{margin-bottom:18px}
.story-heading>p:last-child{max-width:350px;color:var(--muted);font-size:.95rem}
.story-copy{max-width:70ch}
.story-copy>p,.story-continuation p{font-size:.95rem;color:#465c73;line-height:1.8;margin-bottom:17px}
.story-copy>p:last-of-type{margin-bottom:24px}
.story-more{border-top:1px solid #d6e2ef;padding-top:14px;margin-top:4px}
.story-more>summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:12px;min-height:38px;color:#1b5d9d;font-size:.86rem;font-weight:820}
.story-more>summary::-webkit-details-marker{display:none}
.story-more>summary:hover{text-decoration:underline}
.story-more>summary span{font-size:1.15rem;display:inline-block;transition:transform .18s ease}
.story-more[open]>summary span{transform:rotate(180deg)}
.story-continuation{padding-top:15px}
.resume{padding:clamp(78px,9vw,118px) 0 clamp(60px,7vw,91px)}
.resume-head{display:flex;justify-content:space-between;align-items:end;gap:24px;border-bottom:1px solid #e1eaf4;padding-bottom:23px}
.resume-head h2{margin-bottom:12px}
.resume-head p:not(.eyebrow){max-width:640px;color:var(--muted);font-size:.95rem;margin-bottom:0}
.resume-links{display:flex;flex-wrap:wrap;gap:8px}
.job-list{display:grid;gap:12px;margin-top:25px}
.anchor-target{display:block;height:0;scroll-margin-top:110px}
.job{border:1px solid #e0e8f2;border-radius:15px;background:#fff;overflow:hidden;box-shadow:0 3px 15px #1e426d0a;transition:box-shadow .2s ease,border-color .2s ease}
.job:hover{border-color:#c6d9ed}
.job[open]{border-color:#aac7e4;box-shadow:0 12px 30px #173d6720}
.job summary{cursor:pointer;list-style:none;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 20px;padding:19px 24px;align-items:center;min-height:82px}
.job summary::-webkit-details-marker{display:none}
.company{grid-column:1;grid-row:1;font-size:1rem;font-weight:850;color:#1b3857}
.role{grid-column:1;grid-row:2;font-size:.89rem;color:#546b85;line-height:1.4}
.date{grid-column:2;grid-row:1;font-size:.79rem;color:#657992;white-space:nowrap;text-align:right}
.show{grid-column:2;grid-row:2;display:inline-flex;align-items:center;justify-content:flex-end;gap:10px;color:#1d5e9e;font-size:.78rem;font-weight:820}
.show span{display:inline-block;font-size:1.05rem;transition:transform .2s ease}
.job[open] .show span{transform:rotate(180deg)}
.job[open] summary{background:#f6faff}
.job-panel{border-top:1px solid #e0e8f2;padding:22px 27px 27px;background:#fff}
.job-context{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 14px;color:#71829a;font-size:.75rem}
.pill{display:inline-block;border-radius:100px;background:#eaf2fc;color:#235e99;padding:5px 11px;text-transform:uppercase;letter-spacing:.07em;font-size:.66rem;font-weight:850}
.job-panel ul{max-width:910px;margin:0;padding-left:24px;columns:1}
.job-panel li{padding:0 0 10px 3px;font-size:.9rem;line-height:1.66;color:#374d66}
.job-panel li::marker{color:#3680c2}
.job-panel li:last-child{padding-bottom:0}
.skills{border-top:1px solid var(--line);padding:64px 0 80px}
.skills-head{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:14px 36px}
.skills-head h2{margin-bottom:0}
.skills-head>p{max-width:445px;margin:0 0 3px;color:var(--muted);font-size:.91rem;line-height:1.65}
.skill-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:27px}
.skill-grid>div{min-width:0;background:var(--soft);border:1px solid #e1eaf3;padding:20px 21px;border-radius:15px}
.skill-grid h3{font-size:.98rem;margin:0 0 7px;color:#22476f;line-height:1.35}
.skill-grid .skill-summary{margin:0 0 10px;font-size:.84rem;line-height:1.57;color:#425a73}
.skill-grid .skill-terms{margin:0;color:#63778d;font-size:.79rem;line-height:1.6}
.verification{color:#72839a;font-size:.76rem;line-height:1.6;margin:28px 0 0;max-width:920px}
footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:15px;padding:26px 0 45px;border-top:1px solid var(--line);color:#65788e;font-size:.8rem}
footer a{text-decoration:none;color:#205e9d;font-weight:720}
footer a:hover{text-decoration:underline}
@media(max-width:930px){.skill-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.top{gap:12px}.section-nav{gap:12px}.profile{grid-template-columns:minmax(0,1fr) minmax(215px,.62fr);gap:28px}.story{gap:30px}}
@media(max-width:720px){.top{flex-wrap:wrap;padding:12px 0;gap:10px 20px}.section-nav{order:3;width:100%;justify-content:space-between;border-top:1px solid var(--line);padding-top:5px}.profile{grid-template-columns:1fr;padding-top:50px;gap:34px}.portrait{justify-self:start;max-width:265px}.story{grid-template-columns:1fr;padding:30px}.story-heading>p:last-child{max-width:620px}.resume-head{display:block}.resume-links{margin-top:18px}.skill-grid{grid-template-columns:1fr}}
@media(max-width:480px){.top,main,footer{width:min(100% - 30px,1130px)}.top .back span{font-size:.76rem}.top .back img{width:31px;height:31px}.contact{font-size:.75rem;padding:9px 11px}.profile{padding-top:39px}.quick a{width:auto}.portrait{max-width:220px}.story{padding:23px;border-radius:18px}.resume{padding-top:76px}.job summary{padding:18px;gap:7px 12px}.date{white-space:normal;max-width:120px;font-size:.73rem}.show{font-size:.75rem}.job-panel{padding:17px}.job-panel ul{padding-left:21px}.skill-grid>div{padding:20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important;transform:none!important}}

/* Career directions: concise evidence-led cards after experience. */
.future-roles{border-top:1px solid var(--line);padding:64px 0 76px}
.future-roles-head{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:18px 40px}
.future-roles-head h2{margin-bottom:0}
.future-roles-head>p{max-width:500px;margin:0;color:var(--muted);font-size:.91rem;line-height:1.68}
.future-role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:27px}
.future-role{min-width:0;padding:23px 25px;background:linear-gradient(155deg,#fff,#f8fbff);border:1px solid #dfe8f2;border-radius:15px;box-shadow:0 3px 15px #1e426d09}
.future-role-track{margin:0 0 7px;color:#2764a3;font-size:.7rem;letter-spacing:.075em;text-transform:uppercase;font-weight:830}
.future-role h3{font-size:1.12rem;margin:0 0 10px;color:#1d3959;line-height:1.3}
.future-role h3+p{margin:0;color:#52687e;font-size:.87rem;line-height:1.66}
.future-roles-note{margin:18px 0 0;color:#71829a;font-size:.76rem;line-height:1.6}
@media(max-width:720px){.future-role-grid{grid-template-columns:1fr}.future-roles{padding:54px 0 65px}.future-role{padding:21px}}
