@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{--paper:#f8f8f6;--ink:#0c2033;--muted:#506273;--teal:#075866;--line:#d8dddc;--rail:128px;--accent:#812579}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.5 'DM Sans',sans-serif}
a{color:inherit;text-decoration:none}
a:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{font-family:Manrope,sans-serif;letter-spacing:-.045em}
p{max-width:72ch}
.skip{position:absolute;left:12px;top:-80px;z-index:80;background:#fff;padding:10px}
.skip:focus{top:12px}
.topbar{position:sticky;top:0;z-index:40;min-height:88px;background:#fdfcfb;border-bottom:1px solid #bfc7c7;padding:12px clamp(22px,3vw,52px);display:flex;align-items:center;gap:20px}
.brand-lockup{display:inline-flex;align-items:center;gap:13px;white-space:nowrap}
.brand-mark{width:53px;height:auto}
.brand{display:inline-flex;gap:.38em;font:800 clamp(1.35rem,2vw,1.8rem) Manrope,sans-serif;letter-spacing:-.015em}
.brand-surname{color:var(--teal)}
.top-sub{border-left:1px solid #b7c3c5;padding-left:20px;font-size:.78rem;line-height:1.4}
.top-sub strong{color:var(--teal);font-weight:600}
.rail{position:fixed;z-index:30;top:88px;bottom:0;left:0;width:var(--rail);background:#faf9f7;border-right:1px solid #cdd3d3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px}
.rail a{width:100%;padding:12px 14px 12px 24px;font-size:.83rem}
.rail a.active{color:var(--accent);font-weight:700;border-left:3px solid var(--accent);padding-left:21px}
.page{margin-left:var(--rail);min-height:calc(100vh - 88px)}
.wrap{width:min(1280px,100%);margin:auto;padding:36px clamp(24px,4vw,68px) 72px}
.crumbs{display:flex;flex-wrap:wrap;gap:9px;align-items:center;color:#607181;font-size:.78rem;margin-bottom:24px}
.crumbs a{color:var(--teal);text-decoration:underline;text-underline-offset:3px}
.crumbs span[aria-hidden]{color:#a0aaaf}
.eyebrow{font-size:.72rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:var(--accent);margin-bottom:12px}
.hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:clamp(24px,4vw,60px);align-items:center;padding:32px 0 40px;border-bottom:1px solid var(--line)}
.hero h1{font-size:clamp(2.15rem,4vw,4.15rem);line-height:1.07;margin-bottom:18px;max-width:780px}
.lead{font-size:clamp(1rem,1.35vw,1.18rem);line-height:1.58;color:#33485b;margin-bottom:22px}
.hero img{width:100%;aspect-ratio:1.5;object-fit:cover;border-radius:5px;box-shadow:0 12px 32px #0c20331b}
.status{display:inline-block;border:1px solid #cbd4d5;background:#f0f3f2;color:#3c5361;border-radius:4px;padding:6px 10px;font-size:.76rem;font-weight:700}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border-radius:4px;border:1px solid var(--teal);font-size:.83rem;font-weight:700}
.button.primary{background:var(--teal);color:#fff}.button.secondary{color:var(--teal);background:#fff}
.button:hover{filter:brightness(1.08)}
.section-head{display:flex;gap:14px;align-items:center;margin:34px 0 18px}
.section-head h2{font-size:1.2rem;white-space:nowrap;margin:0}
.section-head:after{content:"";height:1px;flex:1;background:linear-gradient(90deg,var(--accent),#bdc5c5)}
.context{font-size:.94rem;color:#455667;margin-bottom:24px}
.skills{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.skills li{background:#e9e9ed;border-radius:4px;padding:8px 12px;font-size:.79rem;color:#263d52}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.card{display:flex;flex-direction:column;gap:9px;min-height:185px;padding:22px;border:1px solid #cbd3d5;border-top:3px solid var(--accent);border-radius:5px;background:#fff;box-shadow:0 6px 20px #0c20330a;transition:transform .16s ease,box-shadow .16s ease}
.card:hover{transform:translateY(-3px);box-shadow:0 10px 26px #0c20331b}
.card small{color:var(--accent);font-weight:800;text-transform:uppercase;letter-spacing:.07em}
.card h3{font-size:1.1rem;line-height:1.25;margin:0}
.card p{font-size:.83rem;color:#526375;line-height:1.42;margin:0}
.card .arrow{margin-top:auto;color:var(--accent);font-size:1.3rem}
.sibling-nav{display:flex;justify-content:space-between;gap:14px;margin-top:42px;padding-top:18px;border-top:1px solid var(--line);font-size:.83rem;font-weight:700;color:var(--teal)}
.sibling-nav a:hover{text-decoration:underline;text-underline-offset:3px}
.note{border-left:3px solid var(--accent);background:#fff;padding:16px 20px;color:#475968;font-size:.88rem;margin:28px 0 0}
.site-footer{margin-left:var(--rail);padding:25px clamp(24px,4vw,68px);background:linear-gradient(115deg,#061d2c,#053c4b 58%,#48234d);color:#fff;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:.8rem}
.site-footer a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:950px){.top-sub{display:none}.hero{grid-template-columns:1fr}.hero img{max-height:360px;aspect-ratio:2.2}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){:root{--rail:0px}.topbar{min-height:70px}.brand-mark{width:42px}.rail{position:sticky;top:70px;width:100%;height:50px;bottom:auto;flex-direction:row;justify-content:flex-start;gap:0;overflow-x:auto;border-right:0;border-bottom:1px solid var(--line)}.rail a{width:auto;padding:13px 14px;white-space:nowrap}.rail a.active{border-left:0;border-bottom:3px solid var(--accent);padding-left:14px}.page,.site-footer{margin-left:0}.wrap{padding:22px 20px 56px}.hero{padding:16px 0 30px}.hero h1{font-size:clamp(2rem,7vw,3.2rem)}.grid{grid-template-columns:1fr}.card{min-height:0}.sibling-nav{flex-direction:column}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.card{transition:none}}
