.resume{--resume-width:1000px;--resume-gutter:clamp(16px,5vw,60px);min-height:100vh;color:var(--ink)}
.resume-nav,.resume-sheet{width:min(var(--resume-width),100% - 2 * var(--resume-gutter));margin-inline:auto}
.resume-nav{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-block:clamp(15px,3vw,30px)}
.resume-nav .resume-back{display:inline-flex;align-items:center;gap:7px;min-height:44px;font-size:var(--t5);font-weight:550;text-decoration:none}
.resume-nav .resume-back:hover{text-decoration:underline}
.resume-sheet{margin-bottom:clamp(32px,7vw,90px)}
.resume-heading{position:relative;isolation:isolate;overflow:hidden;padding:clamp(18px,3vw,35px);
  border:1px solid #fff;border-radius:clamp(26px,4vw,49px);
  background:radial-gradient(ellipse at 94% 0%,#d5eaf4c4,transparent 58%),radial-gradient(ellipse at 29% 125%,#f3ddf59c,transparent 73%),linear-gradient(125deg,#fffefc,#f9f0fcbf);
  box-shadow:inset 0 2px 4px #fff,0 27px 64px -43px #62428e75}
.resume-figure{position:absolute;top:50%;right:clamp(20px,6vw,83px);width:clamp(86px,21vw,246px);aspect-ratio:1;translate:0 -50%;display:grid;place-items:center;border-radius:50%;
  background:radial-gradient(ellipse at 32% 22%,#fff9,transparent 42%),radial-gradient(ellipse at 69% 82%,#f2daf4b0,transparent 48%),radial-gradient(circle at 48% 49%,#effaff72 48%,#b6ceef8c 80%,#e3d9f4);
  box-shadow:inset 1px 2px 3px #fff,inset 0 -5px 16px #867fb63b,0 22px 43px -23px #59418c75}
.resume-figure img{width:92%;height:92%;object-fit:contain}
.lockup{display:inline-grid;width:max-content;margin-bottom:12px}
.resume-heading h1{padding-bottom:10px;border-bottom:1px solid #b9a2d3;font-size:var(--t1);line-height:.91}
.resume-field{width:0;min-width:100%;margin-top:8px;display:flex;justify-content:space-between;gap:10px;color:#573e7a;font-size:var(--t5);font-weight:620}
@media(max-width:600px){.resume-field{flex-direction:column;gap:2px}.resume-field span+span{align-self:end}.resume-contact{row-gap:0}.resume-contact a{min-height:36px}}
.resume-summary{max-width:43ch;color:var(--muted);font-size:var(--t4)}
.resume-contact{display:flex;gap:4px 18px;flex-wrap:wrap;margin:14px 0 -8px;padding:0;list-style:none}
.resume-contact a{display:inline-flex;align-items:center;min-height:44px;color:var(--accent);font-size:var(--t5);font-weight:550;overflow-wrap:anywhere}
.resume-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);grid-template-areas:"experience work" "experience education" "skills skills";
  align-items:start;gap:clamp(14px,2vw,24px);margin-top:clamp(14px,2vw,24px)}
.resume-grid section{padding:clamp(18px,3vw,35px);border:1px solid #fff;border-radius:24px;background:linear-gradient(155deg,#fffc,#faf7fed1);
  box-shadow:0 16px 40px -35px #50307580}
.resume-experience{grid-area:experience;align-self:stretch}
.resume-work{grid-area:work}
.resume-education{grid-area:education}
.resume-skills{grid-area:skills}
.resume-grid h2{margin-bottom:15px;color:#3b2852;font-size:var(--t3)}
.resume-title{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:2px 10px}
.resume-title h3{font:620 var(--t4)/1.35 Geist,sans-serif;letter-spacing:0;text-wrap:wrap}
.resume-title p{color:var(--muted);font-size:var(--t5);font-weight:500}
.resume-entry+.resume-entry{border-top:1px solid var(--line);margin-top:15px;padding-top:15px}
.resume-grid section>p,.resume-entry>p,.resume-entry ul{color:var(--muted);font-size:var(--t5);line-height:1.46;margin-top:4px}
.resume-entry ul{padding-inline-start:1.15em;margin-bottom:0}
.resume-entry li+li{margin-top:4px}
.resume-entry li::marker{color:#7357a1}
.resume-work a{color:#513774;text-decoration-color:#a790bb;text-underline-offset:3px}
.resume-work a:hover{color:#7955a9}
.resume-print{display:none}
@media(max-width:879px){
  .resume-figure{right:21px;top:39%;width:clamp(86px,20vw,168px)}
  .resume-summary{max-width:min(43ch,73%)}
}
@media(max-width:659px){
  .resume-grid{display:block}
  .resume-grid section+section{margin-top:14px}
  .resume-figure{top:12px;right:12px;width:clamp(73px,23vw,129px);translate:none}
  .resume-summary{max-width:37ch}
}
@media(max-width:374px){.resume-figure{width:69px;right:9px}.resume-heading{padding-inline:17px}}

@page{size:A4;margin:15mm 16mm 14mm}
@media print{
  html{background:#fff}
  .resume{min-height:0;background:#fff;font-family:Arial,sans-serif;font-kerning:none;font-variant-ligatures:none;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  .resume-nav,.resume-web{display:none}
  .resume-print{display:inline}
  .resume-sheet{width:auto;margin:0}
  .resume-heading{position:static;isolation:auto;overflow:visible;padding:6mm 7mm 5mm;border:0;border-radius:5mm;box-shadow:none;break-inside:avoid;
    background:linear-gradient(140deg,#fffdff,#f5edf9 59%,#ebf4f9)}
  .resume-figure{position:static;float:right;width:34mm;margin:0 2mm 0 5mm;translate:none;box-shadow:inset 0 0 0 1px #fff}
  .resume-heading h1{font-size:50pt;margin:0 0 2mm}
  .resume-field{font-size:9.5pt;margin-bottom:1.5mm}
  .resume-summary{font-size:10.3pt;line-height:1.32;max-width:110mm}
  .resume-contact{gap:0 5mm;margin:2.5mm 0 0}
  .resume-contact a{min-height:0;font-size:8.7pt}
  .resume-grid{display:block;margin:4mm 0 0}
  .resume-grid section{padding:0;border:0;border-radius:0;background:none;box-shadow:none}
  .resume-grid section+section{margin-top:4mm}
  .resume-grid h2{font-size:19pt;margin:0 0 1.7mm;padding-bottom:1.3mm;border-bottom:1px solid var(--line);break-after:avoid}
  .resume-title h3{font-family:inherit;font-size:10.1pt}
  .resume-title p{font-size:8.7pt}
  .resume-entry{break-inside:avoid}
  .resume-entry+.resume-entry{margin-top:1.6mm;padding-top:0;border:0}
  .resume-grid section>p,.resume-entry>p,.resume-entry ul{font-size:9.4pt;line-height:1.32;margin-top:.65mm}
  .resume-entry li+li{margin-top:.6mm}
}
