:root{--ink:#182c2b;--muted:#72817d;--paper:#f5f4ef;--white:#fffefa;--line:#dfe2da;--mint:#d9e8df;--orange:#fa7954;--green:#42635b;--serif:Georgia,'Times New Roman',serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:'Vazirmatn','DM Sans',sans-serif;line-height:1.8}
a{color:inherit;text-decoration:none}
button{font:inherit}
.page-shell{width:min(1180px,calc(100% - 64px));margin:auto}
.topbar{height:92px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.brand{display:inline-flex;align-items:center;gap:11px;font-size:14px;font-weight:700;letter-spacing:-.02em}
.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--ink);color:white;font-size:17px}
.nav-links{display:flex;gap:36px;color:#63706d;font-size:13px}
.nav-links a,.footer a{transition:color .2s}.nav-links a:hover,.footer a:hover{color:var(--orange)}
.contact-pill{font-size:12px;font-weight:600;border:1px solid #cbd2ca;border-radius:99px;padding:8px 16px}
.contact-pill span{margin-right:9px;color:var(--orange);font-size:17px}
.hero{min-height:605px;display:grid;grid-template-columns:1.02fr .98fr;align-items:center;gap:32px;padding:62px 0 70px}
.eyebrow,.section-kicker{font-size:11px;letter-spacing:.02em;color:var(--muted);font-weight:600}
.eyebrow{display:flex;align-items:center;gap:9px}.live-dot{width:8px;height:8px;background:#80aa8d;border-radius:50%;box-shadow:0 0 0 4px #e3ece3}
.hero h1{font-size:clamp(42px,5.5vw,70px);line-height:1.35;letter-spacing:-.055em;margin:19px 0 8px;font-weight:700}
.period{color:var(--orange)}
.hero-lead{font-size:19px;font-weight:600;margin:0 0 9px;line-height:1.8}
.hero-note{max-width:480px;color:var(--muted);font-size:14px;line-height:2;margin:0}
.hero-actions{display:flex;gap:11px;margin:27px 0 26px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:13px;border-radius:999px;padding:11px 20px;font-size:12px;font-weight:600;cursor:pointer;transition:transform .2s,background .2s}
.button:hover{transform:translateY(-2px)}.button-dark{background:var(--ink);color:white}.button-dark:hover{background:#294541}.button-light{background:#e8e9e2;color:var(--ink)}.button-light:hover{background:#dce2d9}.button-outline{border:1px solid #bfc9c2;background:transparent;color:var(--ink)}.button-outline:hover{background:var(--white)}
.social-row{display:flex;gap:19px;min-height:26px}.social-row a{font-size:11px;color:var(--muted);border-bottom:1px solid #c6d0c8;padding-bottom:3px}
.hero-art{position:relative;min-height:454px;display:grid;place-items:center;isolation:isolate}
.hero-art:before{content:"";position:absolute;width:360px;height:360px;border-radius:50%;background:#e2e9de;z-index:-2}
.hero-art:after{content:"";position:absolute;width:275px;height:275px;border-radius:50%;border:1px solid #cad7ce;z-index:-1}
.art-orbit{position:absolute;border:1px solid #b9cbc1;border-radius:50%;transform:rotate(-28deg)}.orbit-one{width:450px;height:190px}.orbit-two{width:460px;height:245px;transform:rotate(57deg)}
.profile-card{width:276px;min-height:344px;padding:21px 23px;background:var(--white);border-radius:8px;box-shadow:0 22px 70px #263f381c;transform:rotate(-4deg);position:relative;z-index:1}
.card-top,.card-bottom{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted)}.card-index{font:10px 'DM Sans',sans-serif;letter-spacing:.08em}
.avatar{height:145px;display:grid;place-items:center;margin:19px 0 14px;background:linear-gradient(145deg,#dbe8dc,#bfd4c8);color:#446257;font-size:58px;font-weight:700;letter-spacing:-.08em;border-radius:4px;position:relative;overflow:hidden}
.avatar:after{content:"";position:absolute;width:190px;height:190px;border:1px solid #ffffff80;border-radius:50%;transform:translate(44px,-47px)}
.card-name{font-size:21px;font-weight:700}.card-role{font-size:11px;color:var(--muted);margin-top:0}.card-divider{height:1px;background:var(--line);margin:18px 0 11px}.arrow-circle{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:var(--ink);color:white;font-size:14px}
.floating-note{position:absolute;z-index:2;display:flex;align-items:center;gap:10px;background:var(--white);box-shadow:0 12px 30px #263f3812;border:1px solid #e7e8e2;border-radius:5px;padding:10px 14px;font-size:9px;line-height:1.8;color:var(--muted)}.floating-note b{font-size:10px;color:var(--ink)}.note-top{top:72px;right:0}.note-icon{color:var(--orange);font-size:23px}.note-bottom{bottom:66px;left:0}.note-line{height:30px;width:2px;background:var(--orange)}.art-caption{position:absolute;bottom:4px;right:38%;font:9px 'DM Sans',sans-serif;letter-spacing:.24em;color:#899b92}
.intro-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:62px 0 72px}.section-kicker{display:flex;gap:9px;align-items:center}.section-kicker span{font:11px 'DM Sans',sans-serif;color:var(--orange);letter-spacing:.08em}
.intro-content{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:start;margin-top:27px}.intro-content h2,.section-heading h2,.contact-copy h2{font-size:34px;line-height:1.55;letter-spacing:-.04em;margin:0;font-weight:700}.intro-content p{max-width:455px;color:#65746e;font-size:14px;line-height:2.1;margin:3px 0 17px}.text-link{font-size:12px;font-weight:600}.text-link span{color:var(--orange);margin-right:6px}
.resume-section,.projects-section{padding:73px 0 78px;border-bottom:1px solid var(--line)}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:39px}.section-heading h2{margin-top:9px}.resume-grid{display:grid;grid-template-columns:1fr 1fr .85fr;gap:38px}.resume-column h3{display:flex;align-items:center;gap:10px;font-size:14px;margin:0 0 20px}.heading-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#e5eae2;color:var(--green);font-size:14px}.timeline{border-right:1px solid #cbd4cd;padding-right:17px;display:grid;gap:20px}.timeline-item{position:relative}.timeline-item:before{content:"";position:absolute;right:-22px;top:12px;width:7px;height:7px;border-radius:50%;background:var(--orange);border:3px solid var(--paper)}.item-period{font:10px 'DM Sans',sans-serif;letter-spacing:.04em;color:#89958f}.timeline-item h4{font-size:13px;margin:3px 0 1px}.timeline-item p{font-size:11px;color:var(--muted);margin:0;line-height:1.8}.empty-note{font-size:12px;color:var(--muted);background:#eceee8;padding:13px 15px;border-radius:4px}.skill-list{display:flex;flex-wrap:wrap;gap:8px}.skill-chip{font-size:11px;color:#52675e;border:1px solid #cfd8d0;padding:5px 11px;border-radius:99px}
.muted-label{font-size:11px;color:var(--muted);padding-bottom:6px}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.project-card{background:var(--white);border:1px solid #e6e7df;border-radius:6px;padding:20px;min-height:190px;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}.project-card:hover{transform:translateY(-4px);box-shadow:0 15px 35px #263f3810}.project-top{display:flex;justify-content:space-between;color:var(--muted);font:10px 'DM Sans',sans-serif}.project-symbol{color:var(--orange);font-size:19px}.project-card h3{font-size:16px;margin:21px 0 4px}.project-card p{font-size:11px;color:var(--muted);line-height:1.9;margin:0 0 12px}.project-card a{margin-top:auto;font-size:11px;font-weight:600;color:var(--green)}
.contact-section{position:relative;overflow:hidden;margin:68px 0 52px;background:var(--mint);min-height:310px;padding:48px 54px;border-radius:7px;display:grid;grid-template-columns:1fr .85fr;align-items:center;gap:28px}.contact-copy h2{font-size:37px;margin-top:15px}.contact-copy h2 span{color:#668176}.contact-copy p{font-size:12px;color:#61756b;max-width:360px}.contact-links{display:grid;gap:10px;position:relative;z-index:1}.contact-link{background:#f8faf5;border:1px solid #e3ebe3;padding:11px 14px;border-radius:4px;display:flex;justify-content:space-between;align-items:center;font-size:11px}.contact-link span:last-child{color:var(--orange);font-size:15px}.contact-stamp{position:absolute;left:32px;bottom:12px;font:700 28px/.95 'DM Sans',sans-serif;letter-spacing:-.08em;color:#aec4b6;transform:rotate(-10deg);opacity:.8}.contact-stamp span{color:var(--orange)}
.footer{display:flex;justify-content:space-between;align-items:center;min-height:78px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.footer-brand{color:var(--ink);font-size:12px}.footer .brand-mark{width:27px;height:27px;font-size:14px}
@media(max-width:850px){.page-shell{width:min(100% - 38px,680px)}.topbar{height:76px}.nav-links{gap:18px}.hero{grid-template-columns:1fr;gap:15px;padding:56px 0 52px}.hero-copy{order:1}.hero-art{order:0;min-height:390px}.hero-art:before{width:300px;height:300px}.profile-card{width:250px;min-height:320px}.avatar{height:125px}.orbit-one{width:370px}.orbit-two{width:385px}.note-top{right:7%}.note-bottom{left:7%}.intro-content{gap:25px}.resume-grid{grid-template-columns:1fr 1fr}.skill-column{grid-column:1/-1}.skill-list{max-width:480px}}
@media(max-width:560px){.page-shell{width:calc(100% - 32px)}.topbar{height:68px}.brand{font-size:12px}.brand-mark{width:29px;height:29px}.nav-links{display:none}.contact-pill{font-size:10px;padding:6px 11px}.hero{padding:42px 0 48px}.hero-art{min-height:340px}.hero-art:before{width:250px;height:250px}.hero-art:after{width:205px;height:205px}.profile-card{width:218px;min-height:285px;padding:16px 18px}.avatar{height:108px;font-size:48px;margin:15px 0 10px}.card-name{font-size:18px}.orbit-one{width:310px;height:160px}.orbit-two{width:320px;height:205px}.note-top{top:48px;right:0}.note-bottom{bottom:40px;left:0}.art-caption{right:31%;font-size:8px}.hero h1{font-size:42px}.hero-lead{font-size:16px}.hero-note{font-size:12px}.button{font-size:11px;padding:10px 14px}.intro-strip{padding:42px 0 48px}.intro-content{grid-template-columns:1fr;gap:11px;margin-top:17px}.intro-content h2,.section-heading h2{font-size:28px}.intro-content p{font-size:12px}.resume-section,.projects-section{padding:48px 0}.section-heading{align-items:start;gap:15px;flex-direction:column;margin-bottom:28px}.resume-grid{grid-template-columns:1fr;gap:30px}.skill-column{grid-column:auto}.project-grid{grid-template-columns:1fr}.project-card{min-height:160px}.muted-label{padding:0}.contact-section{grid-template-columns:1fr;padding:34px 24px;gap:18px;margin:42px 0 36px;min-height:390px}.contact-copy h2{font-size:31px}.contact-copy p{font-size:11px}.contact-stamp{left:18px;bottom:12px;font-size:21px}.footer{min-height:68px;gap:8px;font-size:9px}.footer>span{display:none}}
@media print{body{background:#fff}.page-shell{width:100%;}.topbar,.hero-art,.hero-actions,.social-row,.contact-pill,.button,.footer{display:none!important}.hero{min-height:auto;padding:22px 0;display:block}.hero h1{font-size:34px}.hero-note{max-width:none}.intro-strip,.resume-section,.projects-section,.contact-section{padding:22px 0;margin:0;border-color:#ccc;background:white}.intro-content h2,.section-heading h2,.contact-copy h2{font-size:24px}.resume-grid{gap:16px}.project-card{min-height:0}.contact-section{display:block}.contact-links{margin-top:12px}.contact-stamp{display:none}a{color:inherit}}

