@font-face{font-family:Yekan;src:url('fonts/IRANYekan-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Yekan;src:url('fonts/IRANYekan-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
*{box-sizing:border-box}:root{--purple:#3b1766;--muted:#61586a}body{font:16px/1.65 'Segoe UI',Arial,sans-serif;color:#29232f;background:#f5f2f8;margin:0}html[lang=fa] body{font-family:Yekan,Tahoma,sans-serif;line-height:1.9}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}a:focus-visible,button:focus-visible{outline:3px solid #8c63bc;outline-offset:4px}.resume-toolbar{max-width:900px;margin:24px auto;display:flex;flex-wrap:wrap;gap:20px;align-items:center;padding:0 20px;font-size:.875rem;color:var(--purple)}.resume-toolbar button,.resume-toolbar .resume-print{font:inherit;color:white;background:var(--purple);padding:9px 16px;border:0;border-radius:6px;cursor:pointer;margin-inline-start:auto}.resume-sheet{max-width:900px;margin:0 auto 40px;padding:48px 54px;background:white;box-shadow:0 10px 40px #3115400a;border-block-start:5px solid var(--purple)}h1,h2,h3,p,dl{margin:0}h1{color:var(--purple);font-size:2rem;line-height:1.4;letter-spacing:-.02em}.resume-title{font-size:1.05rem;font-weight:700;margin-block:8px 12px}.resume-title span{font-weight:400;color:var(--muted)}.resume-contact{display:flex;flex-wrap:wrap;gap:4px 13px;font-size:.8125rem;color:var(--muted);align-items:center}.resume-contact a[dir=ltr]{font-family:'Segoe UI',Arial,sans-serif}.resume-contact>a:not([dir]){color:var(--purple)}section{margin-block-start:22px}h2{color:var(--purple);font-size:1rem;padding-block-end:5px;margin-block-end:9px;border-block-end:1px solid #e3dbe9;font-weight:700}section>p{font-size:.92rem}.resume-skills{font-size:.85rem}.resume-skills>div{display:flex;gap:15px;margin-block:3px}.resume-skills dt{font-weight:700;min-width:132px;color:#51425e;text-align:start}.resume-skills dd{margin:0;flex:1;text-align:start}.resume-project+.resume-project{margin-block-start:15px}.project-heading{display:flex;justify-content:space-between;align-items:baseline;gap:16px}.project-heading h3{font-size:.98rem}.project-heading>span{font-size:.78rem;color:var(--muted);flex-shrink:0}.project-role{font-size:.8rem;color:var(--muted);margin-block:3px 5px}.resume-project ul{font-size:.88rem;margin:4px 0 0;padding-inline-start:19px}.resume-project li{padding-inline-start:3px;margin-block:4px}.resume-project li::marker{color:#7b5c92}.resume-note{font-size:.74rem;color:#7c7085;margin-block-start:9px}
@media(max-width:650px){.resume-sheet{padding:30px 22px;margin:0 12px 25px}.resume-toolbar{gap:14px;margin-block:16px}.resume-toolbar button,.resume-toolbar .resume-print{margin-inline-start:0}.resume-title span{display:block}.project-heading{display:block}.resume-skills>div{display:block;margin-block:8px}.resume-skills dd{margin-block-start:3px}h1{font-size:1.7rem}}
@page{size:A4;margin:13mm 15mm}
/* A comfortable physical reading size for the main résumé content. */
@media print{body,html[lang=fa] body{font-size:10pt;line-height:1.48;background:white;-webkit-print-color-adjust:exact;print-color-adjust:exact}.resume-toolbar{display:none}.resume-sheet{max-width:none;margin:0;padding:0;border:0;box-shadow:none}.resume-header{padding-block-end:5px;border-block-end:2px solid var(--purple)}h1{font-size:22pt}.resume-title{font-size:10.7pt;margin-block:5px 7px}.resume-contact{font-size:8.4pt;gap:2px 11px}.resume-title span{display:inline}section{margin-block-start:12px}h2{font-size:10pt;padding-block-end:3px;margin-block-end:5px;break-after:avoid}section>p{font-size:9.7pt}.resume-skills{font-size:8.9pt}.resume-skills>div{display:flex;gap:12px;margin-block:2px}.resume-skills dt{min-width:111px}.resume-skills dd{margin:0}.project-heading{display:flex}.project-heading h3{font-size:10pt}.project-heading>span{font-size:8pt}.project-role{font-size:8pt;margin-block:2px 3px}.resume-project ul{font-size:9.2pt;margin-block-start:3px}.resume-project li{margin-block:3px}.resume-project+.resume-project{margin-block-start:10px}.resume-project{break-inside:avoid}.resume-note{font-size:7.6pt;margin-block-start:5px}a{color:inherit;text-decoration:none}html[lang=fa] body{line-height:1.7}html[lang=fa] section{margin-block-start:10px}html[lang=fa] .resume-project ul{font-size:9pt}html[lang=fa] section>p{font-size:9.3pt}}
@media print{.resume-project ul,section>p,html[lang=fa] .resume-project ul,html[lang=fa] section>p{font-size:10pt}}

.project-title-link{color:var(--purple);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
