@font-face{font-family:Vazir;src:url('Vazir.woff2') format('woff2');font-display:swap;font-weight:400}@font-face{font-family:Vazir;src:url('Vazir-Bold.woff2') format('woff2');font-display:swap;font-weight:700}
:root{--ink:#122c30;--muted:#657174;--paper:#faf9f6;--card:#fff;--line:#e4e7e2;--gold:#d4ac65;--green:#265748;--mint:#eaf1e9;--radius:16px;--shadow:0 8px 26px #18352f04}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.9 Vazir,system-ui,sans-serif}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #b38b49;outline-offset:4px}::selection{background:#e3c990}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.6;letter-spacing:-.04em}h1{font-size:clamp(28px,4vw,52px)}h2{font-size:22px}h3{font-size:17px}p{overflow-wrap:anywhere}img{display:block;max-width:100%;height:auto}ul{padding-inline-start:22px}li+li{margin-top:8px}.wrap{width:min(1440px,calc(100% - 88px));margin-inline:auto}.icon{width:24px;height:24px;flex-shrink:0;vertical-align:middle}.site-header{border-bottom:1px solid #ecece5}.header-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{display:block;white-space:nowrap;line-height:1.5}.brand strong{font-size:27px;letter-spacing:-1.2px}.brand small{display:block;font:10px/1.8 system-ui,sans-serif;letter-spacing:2.6px;text-align:center}.main-navigation{display:flex;align-items:center;gap:28px;font-size:13px}.main-navigation>a{position:relative;white-space:nowrap;padding-block:26px}.main-navigation>a[aria-current=page]:after{content:'';position:absolute;bottom:15px;right:0;width:28px;height:2px;background:var(--gold)}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:1px solid transparent;border-radius:9px;min-height:44px;padding:11px 20px;font-size:14px;font-weight:700;line-height:1.6;transition:background .2s,box-shadow .2s,transform .2s}.button:hover{transform:translateY(-1px);box-shadow:0 6px 14px #122c3010}.button .icon{width:21px;height:21px}.primary{background:var(--ink);color:#fff}.primary:hover{background:#214c48}.gold{background:linear-gradient(115deg,#d1a45d,#dfbc7d);color:#1c251e}.secondary{background:transparent;border-color:#466264;color:var(--ink)}.secondary:hover{background:var(--mint)}.subtle{background:transparent;color:var(--muted);padding:8px 12px;font-size:11px}.header-contact{font-weight:400;padding-inline:20px;min-width:160px}.menu-toggle,.mobile-bottom-nav{display:none}.main-content{min-height:65vh}.hero{display:grid;grid-template-columns:minmax(0,46fr) minmax(0,54fr);gap:28px;margin-top:26px;align-items:center}.hero-intro{display:grid;grid-template-columns:minmax(0,1fr) 128px;column-gap:20px;row-gap:20px;align-items:start}.hero-heading{grid-column:1;grid-row:1}.hero-heading h1{font-size:clamp(38px,4.4vw,64px);line-height:1.5;margin:0;letter-spacing:-2px;font-weight:700}.hero-heading h1 span{color:#bb914c;white-space:nowrap}.mobile-role{display:none}.profile-mini{grid-column:2;grid-row:1/span 2;padding-top:8px}.profile-mini>img{width:128px;height:auto;aspect-ratio:1010/1312;object-fit:cover;border-radius:10px;padding:3px;background:white;border:1px solid var(--line);box-shadow:0 5px 15px #122c3008}.profile-location{margin-top:18px;background:#fff;border:1px solid var(--line);padding:12px 8px;text-align:center;border-radius:12px}.profile-location strong{display:flex;align-items:center;justify-content:center;gap:4px;font-size:11px;white-space:nowrap}.profile-location .icon{width:16px;height:16px}.profile-location span{display:block;margin-top:6px;font-size:10px;color:var(--muted)}.hero-description{grid-column:1;grid-row:2;font-size:clamp(16px,1.45vw,21px);line-height:2;margin:0;align-self:start}.hero-actions{grid-column:1/-1;grid-row:3;display:flex;gap:14px;justify-content:flex-start;margin-top:2px}.hero-actions .button{min-height:51px;flex:1;padding:12px;font-size:15px;max-width:230px}.hero-values{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:6px}.hero-values>div{display:flex;align-items:center;gap:10px}.icon-disc{display:inline-flex;justify-content:center;align-items:center;width:42px;height:42px;flex-shrink:0;border-radius:50%;background:#eaf2eb;border:1px solid #dde9df}.hero-values .icon-disc{width:40px;height:40px}.hero-values .icon{width:22px;height:22px}.hero-values p{margin:0}.hero-values strong{font-size:12px;display:block}.hero-values small{font-size:10px;color:var(--muted);display:block;white-space:nowrap}.lab-card{padding:14px;background:#fff;border:1px solid #dfe4dd;border-radius:15px;box-shadow:var(--shadow);min-width:0}.lab-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.lab-heading h2{font-size:18px;margin:0;display:flex;align-items:center;gap:10px}.lab-heading .icon-disc{width:32px;height:32px}.lab-heading .icon{width:20px;height:20px}.lab-hint{display:none}.window-dots{display:flex;direction:ltr;gap:7px;padding-inline:8px}.window-dots i{width:11px;height:11px;border-radius:50%;background:#f58179}.window-dots i:nth-child(2){background:#f3c34c}.window-dots i:nth-child(3){background:#71c979}.lab-toolbar{display:flex;align-items:center;justify-content:space-between;flex-direction:row;gap:10px;padding:11px;border:1px solid #e8eae5;background:#fff;border-radius:10px;direction:rtl}.device-controls{display:flex;direction:ltr;gap:7px}.device-controls button{display:flex;gap:7px;justify-content:center;align-items:center;font:11px/1.6 system-ui;background:#f6f6f4;border:1px solid #eee;border-radius:7px;color:#677279;min-height:38px;padding:8px 13px}.device-controls button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff;box-shadow:0 3px 6px #122c3010}.device-controls .icon{width:17px;height:17px}.theme-control{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:10px;font-weight:700}.theme-control>.icon{width:20px;color:#c6a166}.theme-switch{width:42px;height:25px;border-radius:20px;border:0;background:#28544e;padding:3px;display:flex;justify-content:flex-start;align-items:center}.theme-switch span{width:19px;height:19px;background:white;border-radius:50%;box-shadow:0 2px 3px #0002;transition:transform .2s}.theme-switch[aria-checked=true] span{transform:translateX(-17px)}.lab-preview{padding:16px 0 10px;min-height:248px;display:flex;align-items:center;justify-content:center}.preview-viewport{width:100%;display:grid;grid-template-columns:110px minmax(0,1fr);direction:ltr;gap:10px;transition:width .25s;background:linear-gradient(140deg,#fafaf8,#f1f4f2);padding:10px;border-radius:10px}.preview-navigation{display:grid;gap:5px;align-content:start;direction:rtl}.preview-navigation button{display:flex;align-items:center;justify-content:flex-end;gap:8px;background:transparent;color:#6a7880;font-size:10px;border:0;border-radius:7px;min-height:39px;padding:8px 6px;white-space:nowrap}.preview-navigation button[aria-pressed=true]{background:#eaf0ef;color:var(--ink)}.preview-navigation .icon{width:17px;height:17px;order:1}.sample-card{display:grid;grid-template-columns:42% minmax(0,1fr);direction:rtl;gap:12px;padding:12px;background:linear-gradient(125deg,#fff,#fafbf9);border-radius:10px;align-items:center;min-width:0}.sample-card>img{width:100%;height:190px;object-fit:cover;border-radius:9px}.sample-copy{text-align:center;min-width:0}.sample-copy h3{font-size:16px;margin-bottom:8px;white-space:nowrap}.sample-copy p{font-size:10px;line-height:1.9;margin-bottom:16px}.sample-action{display:flex;direction:ltr;align-items:center;justify-content:center;gap:8px}.sample-action>button{display:flex;direction:rtl;align-items:center;justify-content:center;gap:8px;border:0;border-radius:8px;background:var(--ink);color:white;padding:10px 12px;font-size:11px;min-height:39px;white-space:nowrap}.sample-action .icon{width:19px;height:19px;order:1}.sample-action output{display:grid;place-items:center;border:1px solid var(--line);border-radius:7px;min-width:36px;height:39px;font-size:12px}.lab-feedback{font-size:9px;color:var(--muted);text-align:center;min-height:18px;line-height:1.7;margin-top:0}.playground[data-theme=dark] .preview-viewport{background:#16383a;color:#eef4ee}.playground[data-theme=dark] .sample-card{background:#254a49}.playground[data-theme=dark] .preview-navigation button{color:#cbdad2}.playground[data-theme=dark] .preview-navigation button[aria-pressed=true]{background:#3c625b}.playground[data-theme=dark] .sample-action>button{background:#e1be7d;color:#12312e}.playground[data-theme=dark] .sample-action output{border-color:#527068}.playground[data-device=tablet] .preview-viewport{width:min(100%,430px);grid-template-columns:1fr}.playground[data-device=tablet] .preview-navigation{display:none}.playground[data-device=mobile] .preview-viewport{width:min(100%,260px);grid-template-columns:1fr}.playground[data-device=mobile] .preview-navigation{display:none}.playground[data-device=mobile] .sample-card{grid-template-columns:70px minmax(0,1fr);gap:12px}.playground[data-device=mobile] .sample-card>img{height:100px}.playground[data-device=mobile] .sample-copy h3{font-size:12px;white-space:normal}.playground[data-device=mobile] .sample-copy p{font-size:9px;line-height:1.7;margin-bottom:10px}.playground[data-device=mobile] .sample-action{gap:4px}.playground[data-device=mobile] .sample-action button{font-size:9px;padding:8px;gap:4px}.playground[data-device=mobile] .sample-action output{min-width:28px}.demo-loading{min-height:310px;display:grid;place-items:center;font-size:12px;color:var(--muted)}.skills-band{display:flex;align-items:center;gap:24px;padding:18px 24px;margin-top:22px;background:linear-gradient(100deg,#e9f0e9,#eef3ed);border-radius:12px}.skills-heading{flex-shrink:0}.skills-heading h2{font-size:19px;margin:0 0 4px}.skills-heading p{font-size:11px;color:var(--muted);margin:0}.tech-list{display:flex;direction:ltr;gap:9px;flex:1;min-width:0}.tech-chip{display:flex;justify-content:center;align-items:center;gap:14px;min-height:60px;background:#ffffffc9;border:1px solid #e6e8e2;border-radius:10px;padding:12px 15px;flex:1;white-space:nowrap;font:14px/1.4 system-ui}.tech-chip .icon{width:31px;height:31px}.tech-chip .react-logo{color:#03b8e1;stroke-width:1.25}.js-logo{background:#f7d63b;color:#181b20;border-radius:3px;font:700 22px/1.5 system-ui;display:inline-flex;align-items:end;justify-content:end;width:32px;height:32px;padding-right:2px}.shield{width:31px;height:34px;clip-path:polygon(0 0,100% 0,88% 87%,50% 100%,12% 87%);color:#fff;text-align:center;font:700 27px/1.25 system-ui;box-shadow:inset -14px 0 #ffffff17}.html-logo{background:#e64b22}.css-logo{background:#2b6fcb}.principles{margin-top:14px}.section-mobile-heading{display:none}.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.feature-card{display:flex;align-items:center;gap:12px;padding:18px;min-height:190px;border:1px solid #dce7ef;border-radius:13px;background:#f2f9ff}.feature-copy{min-width:0;flex:1}.feature-copy h3{font-size:17px;display:flex;align-items:center;gap:8px;white-space:nowrap;margin-bottom:10px}.feature-copy h3 .icon{width:21px;height:21px}.feature-copy p{font-size:12px;color:#576e7a;line-height:1.9;margin-bottom:10px}.demo-link{display:inline-flex;align-items:center;gap:14px;padding:5px 10px;border:1px solid #c8dfed;border-radius:7px;font-size:10px;background:#ffffff85;min-height:32px;white-space:nowrap}.demo-link .icon{width:14px;height:14px}.feature-components{background:#f2f8f3;border-color:#d8e7da}.feature-components .demo-link{border-color:#c4dccc}.feature-responsive{background:#fcf6ec;border-color:#efdfc5}.feature-responsive .demo-link{color:#8c673a;border-color:#e8cfa8}.feature-art{width:43%;flex-shrink:0;min-width:0}.wire-card{background:#fff;border:1px solid #e3edf4;border-radius:10px;padding:13px;box-shadow:0 5px 16px #b3c7d344}.wire-image{color:#c7e4f5;background:#e1f0fb;display:grid;place-items:center;height:48px;border-radius:5px;font-size:35px;margin-bottom:12px}.wire-lines i{display:block;height:5px;border-radius:10px;background:#dbe6eb;margin-top:7px}.wire-lines i:nth-child(2){width:75%}.wire-lines i:nth-child(3){width:55%}.wire-buttons{display:flex;gap:7px;margin-top:15px}.wire-buttons i{width:25px;height:15px;background:#e6f1f8;border-radius:4px}.code-art{background:linear-gradient(130deg,#163a38,#123033);border:1px solid #607d71;border-radius:9px;box-shadow:0 7px 15px #2a4f3919;padding:12px}.code-art pre{margin:0;font:9px/1.8 monospace;color:#f6efe1;overflow:hidden}.code-art pre span{color:#e8b4de}.code-art pre em{color:#9ac8b2}.device-art{display:flex;justify-content:center;position:relative}.tiny-phone{height:145px;width:85px;background:#fff;border:3px solid #eee8dc;box-shadow:0 5px 15px #88744917;border-radius:13px;padding:11px 9px}.tiny-phone:before{content:'';display:block;background:#d9e0dc;width:17px;height:3px;border-radius:10px;margin:0 auto 10px}.tiny-phone>i{display:block;height:5px;background:#e1e7e4;border-radius:10px;margin:7px 0}.tiny-phone>i:nth-child(2){width:40%}.tiny-phone>div{display:flex;gap:5px;margin:7px 0}.tiny-phone>div>span{width:50%;height:30px;background:#dcebe3;border-radius:4px}.tiny-phone>div>span:last-child{background:#edede4}.tiny-phone>b{display:inline-block;width:6px;height:6px;background:#7bbb9d;border-radius:50%;margin:4px}.tiny-phone>b:nth-of-type(2){background:#e79a89}.tiny-device{position:absolute;width:33px;height:64px;top:55px;right:8px;border-radius:6px;background:#174a41;box-shadow:0 7px 10px #38563f18}.tiny-device:after{content:'◈';display:grid;place-items:center;color:#8de0bb;height:100%;font-size:19px}.experience-assistant-row{display:grid;grid-template-columns:1fr 1.07fr;gap:20px;margin-top:16px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow)}.experience-panel{grid-column:2;grid-row:1;display:flex;gap:20px;padding:18px;align-items:start}.experience-heading{min-width:130px}.experience-heading h2{font-size:19px;margin:0 0 8px;display:flex;gap:10px;align-items:center}.experience-heading .icon{width:22px;height:22px}.experience-heading p{font-size:11px;color:var(--muted);margin:0}.experience-timeline{flex:1;border-inline-start:1px solid #b3c1b6;padding-inline-start:18px}.experience-timeline article{position:relative;border:1px solid #edf0e9;border-radius:10px;background:linear-gradient(90deg,#fafbf8,#fff);padding:9px 14px}.experience-timeline article+article{margin-top:8px}.experience-timeline article:before{content:'';position:absolute;right:-24px;top:17px;background:var(--ink);width:9px;height:9px;border:2px solid var(--paper);border-radius:50%}.experience-timeline h3{font-size:15px;margin:0}.experience-timeline p{font-size:10px;color:var(--muted);margin:0}.experience-timeline .period{font-size:10px}.period{font-size:11px;color:var(--green)}.assistant-teaser{grid-column:1;grid-row:1;display:flex;flex-direction:column;justify-content:center;padding:23px;border-radius:12px;border:1px solid #224849;color:#fff;background:radial-gradient(ellipse at left top,#24534f,transparent 60%),#122f34}.assistant-teaser h2{font-size:20px;margin-bottom:12px;display:flex;gap:12px;align-items:center}.assistant-teaser h2 .icon{width:30px;height:30px}.assistant-teaser p{font-size:11px;color:#ccdad5;margin-bottom:20px}.assistant-prompt{border:1px solid #52716d;background:#ffffff05;border-radius:8px;display:flex;align-items:center;padding:5px;gap:10px}.assistant-prompt input{flex:1;width:100%;min-width:0;background:transparent;border:0;color:white;font:11px/1.8 Vazir;padding:8px}.assistant-prompt input::placeholder{color:#acbeb7}.assistant-prompt button{border:0;border-radius:6px;width:42px;height:40px;color:var(--ink);background:#dfbb77;display:grid;place-items:center}.mobile-chat-link{display:none}.chess-invitation{display:grid;grid-template-columns:1.4fr 1fr;gap:30px;align-items:center;margin-top:26px;padding:32px 48px;border:1px solid #d8e3d4;border-radius:17px;background:linear-gradient(110deg,#e4ede0,#f4f7ef);overflow:hidden;min-height:245px}.eyebrow{display:block;font-size:11px;color:var(--green);font-weight:700;margin-bottom:10px}.chess-invite-copy h2{font-size:31px;margin-bottom:10px}.chess-invite-copy p{font-size:13px;color:#5f7167;max-width:470px;margin-bottom:22px}.mini-chess-scene{display:flex;align-items:center;justify-content:center;position:relative}.mini-board{display:grid;grid-template-columns:repeat(6,1fr);width:205px;height:205px;direction:ltr;border:7px solid #fff;border-radius:9px;box-shadow:0 13px 25px #244d3422;transform:rotate(-9deg);overflow:hidden}.mini-board>span{display:grid;place-items:center;background:#f5f0df;color:#122c30;font:31px/1 Georgia,serif}.mini-board>span.dark{background:#8caa92}.chess-floating-piece{position:absolute;left:10%;bottom:-5px;font:100px/1 Georgia,serif;color:#174337;filter:drop-shadow(0 6px 4px #123d3320);transform:rotate(9deg)}.contact-section{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:40px 0 25px}.contact-section h2{font-size:26px;margin-bottom:5px}.contact-section p{font-size:12px;color:var(--muted);margin:0}.contact-phone{display:flex;align-items:center;gap:20px;font:23px/1.8 system-ui;letter-spacing:2px;padding:18px 25px;background:#fff;border:1px solid var(--line);border-radius:13px}.contact-phone .icon:first-child{color:var(--green)}.site-footer{border-top:1px solid var(--line);margin-top:25px;padding-block:25px;display:flex;align-items:center;justify-content:space-between;gap:25px;color:var(--muted);font-size:11px}.footer-name{font-size:17px;font-weight:700;color:var(--ink)}.site-footer p{margin:3px 0 0;font-size:10px}.site-footer nav{display:flex;gap:25px}.site-footer>small{font-size:10px}.section-space{margin-top:42px}.three-grid,.two-grid{display:grid;gap:24px;grid-template-columns:repeat(3,minmax(0,1fr))}.two-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.text-link{font-size:12px;color:var(--green);font-weight:700}.fine-print{font-size:11px;line-height:2;color:var(--muted)}.tag{display:inline-block;background:var(--mint);color:var(--green);padding:4px 9px;border-radius:7px;font-size:11px;line-height:1.8}.tags{display:flex;gap:7px;flex-wrap:wrap}.actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.main-content>*{min-width:0}

.page-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:45px 0 32px}.page-heading h1{font-size:34px;margin-bottom:8px}.page-heading p:not(.eyebrow){color:var(--muted);font-size:13px;margin-bottom:0}.page-heading.compact{margin:30px 0 24px}.page-heading.compact h1{font-size:28px}.resume-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px;align-items:start}.resume-sidebar img{width:145px;height:188px;object-fit:cover;border-radius:65px 65px 16px 16px;margin:0 auto 24px}.resume-sidebar h2{font-size:17px}.resume-sidebar h3{font-size:15px;margin-top:24px}.resume-sidebar dl{font-size:12px}.resume-sidebar dt{color:var(--muted);margin-top:14px;font-size:11px}.resume-sidebar dd{margin-inline-start:0}.resume-body{display:grid;gap:20px}.resume-body h2{font-size:22px}.resume-body p,.resume-body li{font-size:13px}.job+.job{margin-top:26px;padding-top:26px;border-top:1px solid var(--line)}.job-heading{display:flex;flex-wrap:wrap;gap:10px 20px;justify-content:space-between;align-items:start}.job h3{font-size:15px;margin-bottom:4px}.muted{color:var(--muted);font-size:12px}.certificate{display:flex;align-items:center;gap:35px}.certificate-symbol{font-family:system-ui;font-weight:300;display:grid;place-items:center;min-width:130px;height:160px;border-radius:16px;background:var(--mint);font-size:70px;color:var(--green)}.certificate h2{margin-top:12px}.certificate p{margin-bottom:8px}.notice{margin-top:24px;padding:24px;border-inline-start:3px solid var(--gold);background:#edece3;border-radius:12px;font-size:13px}.notice h2{font-size:18px}.notice p:last-child{margin:0}.chat-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;align-items:start}.chat-sidebar{padding:24px}.assistant-symbol{width:50px;height:50px;display:grid;place-items:center;border-radius:16px;background:var(--ink);color:var(--gold);font-size:27px;margin-bottom:20px}.chat-sidebar h2{font-size:17px}.suggestion-list{display:grid;gap:8px;margin:20px 0}.suggestion{border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--paper);padding:10px 12px;text-align:start;color:var(--ink);font-size:12px;min-height:44px}.suggestion:hover{background:var(--mint)}.chat-sidebar details{font-size:11px;border-top:1px solid var(--line);padding-top:14px;margin-bottom:20px}.chat-sidebar summary{cursor:pointer;font-weight:700}.chat-sidebar details p{margin-top:12px;color:var(--muted)}.chat-panel{padding:0;overflow:hidden}.chat-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 24px;border-bottom:1px solid var(--line)}.chat-top strong{font-size:13px;margin-inline-start:6px}.chat-top small{display:block;color:var(--muted);font-size:10px;margin-inline-start:17px}.messages{height:480px;overflow:auto;overscroll-behavior:contain;padding:24px;display:flex;flex-direction:column;gap:18px;background:linear-gradient(180deg,#f8faf6,white)}.message{max-width:92%;padding:16px 20px;border:1px solid var(--line);border-radius:16px;flex-shrink:0;background:#fff;align-self:flex-start;overflow-wrap:anywhere}.message p{font-size:13px;white-space:pre-wrap;margin:5px 0 0;line-height:2}.message.user{align-self:flex-end;background:var(--ink);color:white;border-color:var(--ink)}.message-label{font-size:10px;color:var(--muted)}.message.user .message-label{color:#d0ded5}.source{display:block;font-size:10px;color:var(--muted);margin-top:12px;border-top:1px solid var(--line);padding-top:8px}.chat-status{font-size:11px;min-height:28px;padding-inline:24px;color:var(--muted)}.chat-status.error{color:#9f3829}.follow-ups{display:flex;flex-wrap:wrap;gap:6px;padding:0 24px 10px}.follow-ups:empty{padding:0}.follow-ups button{font-size:10px;background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:6px 12px;color:var(--green);min-height:36px}.chat-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:16px 24px 18px;border-top:1px solid var(--line)}.chat-composer textarea{resize:vertical;max-height:180px;min-height:56px;border:1px solid var(--line);padding:12px 14px;background:var(--paper);border-radius:12px;font-size:12px;color:var(--ink)}.chat-composer button{align-self:start;min-height:45px}.chat-composer small{grid-column:1/-1;color:var(--muted);font-size:9px}.stack-form{display:grid;gap:12px}.stack-form label{font-size:13px;font-weight:700;margin-top:4px}.stack-form input,.stack-form textarea,.stack-form select,.moderation-form select{width:100%;border:1px solid #bfcac3;border-radius:10px;padding:12px 14px;background:#fbfcfa;color:var(--ink);min-height:46px}.stack-form textarea{resize:vertical}.stack-form button{margin-top:8px}.rating-summary{text-align:center}.rating-summary strong{font-family:system-ui;font-size:40px;font-weight:400;display:block}.rating-summary span{font-size:11px;color:var(--muted)}.review+.review{margin-top:16px}.review p{margin:15px 0;font-size:13px;white-space:pre-wrap}.empty{text-align:center;padding:45px 25px}.empty>span{font-size:36px;color:var(--green)}.empty h3{font-size:15px}.empty p{color:var(--muted);font-size:12px}.login-card{max-width:450px;margin:50px auto}.login-card h1{font-size:28px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px;text-align:start}th,td{padding:14px 12px;border-bottom:1px solid var(--line);text-align:start;vertical-align:top}th{color:var(--muted);white-space:nowrap}td.comment-cell{min-width:200px;max-width:400px;overflow-wrap:anywhere}.moderation-form{display:flex;align-items:center;gap:8px;min-width:210px}.moderation-form select{padding:8px;min-width:100px}.moderation-form .button{padding:8px 12px}.pagination{display:flex;gap:20px;margin-top:18px;font-size:13px}.alert{padding:18px 24px;border-radius:14px;margin-top:20px;font-size:13px}.alert.success{background:#e3f1e4;color:#23552e}.alert.error{background:#fae9e1;color:#8f3525}.alert p{margin-bottom:8px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;top:-100px;right:20px;background:var(--ink);color:#fff;padding:10px 20px;z-index:10}.skip-link:focus{top:10px}.game-return{position:relative;z-index:5;display:block;text-align:center;padding:14px;background:#122c30;color:white}.game-note{font-family:Vazir,system-ui;text-align:center;max-width:600px;margin:16px auto;padding:10px;line-height:1.9;color:white}
.chat-sidebar,.chat-panel,.resume-body,.resume-sidebar,.two-grid>*,.three-grid>*{min-width:0}


@media(min-width:1600px){.hero{gap:36px}.hero-heading h1{font-size:67px}.hero-intro{grid-template-columns:minmax(0,1fr) 140px}.profile-mini>img{width:140px}.lab-preview{min-height:280px}.sample-card>img{height:220px}.sample-copy h3{font-size:18px}.sample-copy p{font-size:12px}.feature-card{min-height:205px}.feature-copy p{font-size:13px}}
@media(max-width:1200px){.wrap{width:calc(100% - 48px)}.main-navigation{gap:17px;font-size:12px}.header-inner{gap:18px}.brand strong{font-size:23px}.brand small{font-size:8px}.header-contact{min-width:135px;font-size:12px}.hero{gap:22px}.hero-intro{grid-template-columns:minmax(0,1fr) 106px;gap:16px}.profile-mini>img{width:106px}.profile-location{padding:10px 5px}.profile-location strong{font-size:9px}.profile-location span{font-size:8px}.hero-heading h1{font-size:43px;letter-spacing:-1.6px}.hero-description{font-size:17px}.hero-values{gap:5px}.hero-values>div{gap:5px}.hero-values .icon-disc{width:29px;height:29px}.hero-values .icon{width:18px;height:18px}.hero-values strong{font-size:10px}.hero-values small{font-size:8px}.hero-actions .button{font-size:12px;gap:7px}.hero-actions .icon{width:18px}.device-controls button{padding:7px 9px;gap:5px;font-size:10px}.theme-control{gap:6px;font-size:9px}.theme-control>.icon{display:none}.preview-viewport{grid-template-columns:90px minmax(0,1fr);gap:6px;padding:8px}.preview-navigation button{font-size:9px;gap:5px;padding:8px 4px}.preview-navigation .icon{width:15px}.sample-card{gap:10px;padding:10px}.sample-card>img{height:170px}.sample-copy h3{font-size:13px}.sample-copy p{font-size:9px}.sample-action button{font-size:10px;padding:9px 8px}.sample-action .icon{width:15px}.sample-action output{min-width:29px}.lab-preview{min-height:228px}.skills-band{padding:16px;gap:15px}.skills-heading h2{font-size:17px}.skills-heading p{font-size:9px}.tech-chip{gap:10px;padding:11px;font-size:12px}.tech-chip .icon{width:27px}.feature-card{padding:14px;gap:10px;min-height:185px}.feature-copy h3{font-size:15px;gap:5px}.feature-copy h3 .icon{width:17px}.feature-copy p{font-size:11px}.feature-art{width:39%}.code-art{padding:8px}.code-art pre{font-size:8px}.experience-panel{gap:14px;padding:15px}.experience-heading{min-width:112px}.experience-heading h2{font-size:17px}.experience-heading p{font-size:9px}.experience-timeline h3{font-size:13px}.experience-timeline .period{font-size:9px}.experience-timeline p{font-size:9px}.assistant-teaser{padding:20px}.assistant-teaser p{font-size:10px}.chat-layout{grid-template-columns:230px minmax(0,1fr)}.resume-layout{grid-template-columns:240px minmax(0,1fr)}}
@media(min-width:761px) and (max-width:1000px){.hero{grid-template-columns:1fr 1fr;gap:20px}.hero-intro{grid-template-columns:minmax(0,1fr) 85px;gap:14px}.profile-mini>img{width:85px}.profile-location{margin-top:10px}.profile-location .icon{display:none}.profile-location strong{font-size:8px}.hero-heading h1{font-size:34px}.hero-description{font-size:14px}.hero-values small{display:none}.hero-values strong{font-size:9px}.hero-actions{gap:7px}.hero-actions .button{font-size:10px;padding:10px 7px;min-height:44px}.hero-actions .icon{width:16px}.theme-control>span{display:none}.preview-navigation{display:none}.preview-viewport{grid-template-columns:1fr}.sample-card>img{height:165px}.skills-heading p{display:none}.tech-chip{padding:9px;font-size:10px;gap:6px}.skills-heading h2{font-size:14px}.tech-chip .icon{width:23px}.js-logo{font-size:18px;width:26px;height:26px}.shield{width:25px;height:28px;font-size:22px}.feature-card{padding:13px}.feature-art{display:none}.feature-copy h3{font-size:16px}.feature-copy p{font-size:12px}.experience-panel{display:block}.experience-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.experience-timeline article{padding:7px 12px}.main-navigation{gap:12px;font-size:10px}.header-contact{min-width:115px;padding:10px;font-size:11px}.header-contact .icon{width:16px}.brand strong{font-size:22px}.header-inner{gap:15px}.brand small{font-size:7px;letter-spacing:2px}}
@media(max-width:760px){body{padding-bottom:calc(78px + env(safe-area-inset-bottom))}.wrap{width:calc(100% - 32px)}.site-header{border-bottom:0}.header-inner{min-height:88px;position:relative;gap:20px}.brand strong{font-size:27px}.brand small{font-size:9px;letter-spacing:2.4px}.header-contact{display:none}.menu-toggle{display:grid;place-items:center;border:1px solid #d9dfd6;border-radius:13px;background:transparent;color:var(--ink);width:45px;height:45px}.menu-toggle .icon{width:25px;height:25px}.main-navigation{display:none;position:absolute;top:77px;inset-inline:0;padding:14px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 15px 40px #122c3020;z-index:60;grid-template-columns:1fr 1fr;gap:6px}.main-navigation>a{padding:12px;font-size:12px;border-radius:7px}.main-navigation>a:hover{background:var(--mint)}.main-navigation>a[aria-current=page]:after{bottom:4px;right:12px}.navigation-open .main-navigation{display:grid}.hero{display:flex;flex-direction:column;gap:22px;margin-top:6px;align-items:stretch}.hero-intro{display:grid;grid-template-columns:38% minmax(0,1fr);column-gap:15px;row-gap:14px}.hero-heading{grid-column:2;grid-row:1;text-align:right;align-self:start}.mobile-role{display:block;font:7px/1.7 system-ui;letter-spacing:1.8px;text-align:left;color:#657174;margin:0 0 10px;white-space:nowrap}.hero-heading h1{font-size:clamp(25px,7.2vw,42px);line-height:1.7;letter-spacing:-1px}.hero-heading h1 span{white-space:normal;color:var(--ink);background:linear-gradient(transparent 92%,#aac5ae 92%,#aac5ae 99%,transparent 99%)}.profile-mini{grid-column:1;grid-row:1/span 2;padding-top:0;align-self:center}.profile-mini>img{width:100%;height:auto;border:0;padding:0;border-radius:15px;background:#e8f0e4;box-shadow:none}.profile-location{display:none}.hero-description{grid-column:2;grid-row:2;font-size:12px;line-height:2.05;margin:0}.hero-actions{grid-column:1/-1;grid-row:3;margin-top:1px;gap:12px;display:flex;flex-direction:row-reverse}.hero-actions .button{min-height:49px;max-width:none;padding:10px 8px;font-size:12px;gap:8px;flex:1}.hero-actions .button.gold{background:linear-gradient(110deg,#153d3d,#102b2e);color:white;box-shadow:0 4px 8px #18362e12}.hero-actions .button.secondary{border-color:#87ad98}.hero-actions .icon{width:22px;height:22px}.hero-values{display:none}.lab-card{padding:13px;border-radius:20px;position:relative}.lab-heading{margin-bottom:14px;gap:8px}.lab-heading h2{font-size:18px;white-space:nowrap;gap:7px;flex-direction:row-reverse}.lab-heading .icon-disc{border-radius:10px;width:34px;height:34px}.lab-hint{display:block;font-size:9px;color:var(--muted);line-height:1.7;max-width:125px}.window-dots{display:none}.lab-toolbar{padding:8px 10px;min-height:48px;border-radius:13px}.device-controls{gap:5px}.device-controls button{padding:6px;min-width:37px;min-height:34px;border-radius:7px}.device-controls button span{display:none}.device-controls .icon{width:20px;height:20px}.theme-control{gap:5px}.theme-control>span{font-size:9px}.theme-switch{width:37px;height:22px;padding:3px}.theme-switch span{width:16px;height:16px}.theme-switch[aria-checked=true] span{transform:translateX(-15px)}.lab-preview{padding:12px 0 7px;min-height:190px}.preview-navigation{display:none}.preview-viewport{width:100%;grid-template-columns:1fr;padding:8px;gap:0}.sample-card{grid-template-columns:29% minmax(0,1fr);gap:15px;padding:8px;background:transparent}.sample-card>img{height:133px;border-radius:10px;grid-column:1;grid-row:1}.sample-copy{text-align:right}.sample-copy h3{font-size:14px;white-space:normal;margin-bottom:6px}.sample-copy p{font-size:10px;line-height:1.95;margin-bottom:12px}.sample-action{justify-content:flex-end}.sample-action button{min-height:37px;font-size:11px;padding:8px 12px}.sample-action .icon{width:17px}.sample-action output{height:37px;min-width:32px}.lab-feedback{font-size:8px;min-height:15px;line-height:1.7;margin-top:3px}.playground[data-device=mobile] .preview-viewport{width:min(100%,260px)}.playground[data-device=mobile] .sample-card{grid-template-columns:62px 1fr;gap:10px}.playground[data-device=mobile] .sample-copy h3{font-size:12px}.playground[data-device=mobile] .sample-copy p{font-size:9px}.skills-band{display:block;padding:19px 14px;margin-top:20px;background:transparent;border:1px solid var(--line);border-radius:20px}.skills-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.skills-heading h2{font-size:17px;margin:0;white-space:nowrap}.skills-heading p{font-size:9px;line-height:1.7;max-width:130px}.tech-list{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.tech-chip{flex:0 1 calc(33.333% - 7px);min-height:43px;font-size:11px;padding:8px;gap:7px;background:transparent;border-radius:12px}.tech-chip .icon{width:25px;height:25px}.js-logo{width:25px;height:25px;font-size:17px}.shield{width:25px;height:28px;font-size:22px}.principles{border:1px solid var(--line);padding:16px 12px;border-radius:20px;margin-top:18px}.section-mobile-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:15px}.section-mobile-heading h2{display:flex;align-items:center;gap:8px;font-size:16px;margin:0;white-space:nowrap}.section-mobile-heading h2 .icon{width:21px;height:21px}.section-mobile-heading p{font-size:9px;max-width:120px;line-height:1.7;color:var(--muted);margin:0}.feature-grid{gap:8px;direction:ltr}.feature-card{display:block;padding:12px 6px;min-height:143px;border-color:#e1e8dc;background:#edf2e9;direction:rtl;border-radius:13px;text-align:center}.feature-copy h3{display:flex;flex-direction:column;font-size:12px;gap:5px;white-space:nowrap;margin-bottom:7px}.feature-copy h3 .icon{width:25px;height:25px;stroke-width:1.3}.feature-copy p{font-size:10px;line-height:1.8;margin:0}.feature-art,.demo-link{display:none}.experience-assistant-row{display:flex;flex-direction:column;gap:16px;margin-top:18px}.experience-panel{display:block;padding:20px 16px;border-radius:20px}.experience-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.experience-heading h2{font-size:18px;margin:0;white-space:nowrap;gap:8px}.experience-heading h2 .icon{width:24px;height:24px}.experience-heading p{font-size:10px;line-height:1.7;text-align:left}.experience-timeline{border-inline-start:0;border-inline-end:1px solid #c3a467;padding-inline-start:0;padding-inline-end:18px}.experience-timeline article{display:flex;justify-content:space-between;gap:10px;align-items:center;border:0;background:transparent;padding:0}.experience-timeline article+article{margin-top:18px}.experience-timeline article:before{right:auto;left:-24px;background:#c3a467;top:12px}.experience-timeline article>div{order:2}.experience-timeline h3{font-size:14px}.experience-timeline p{font-size:10px}.experience-timeline .period{font-size:9px;background:#eff2eb;color:#5b6b61;border-radius:7px;padding:5px 7px;white-space:nowrap}.assistant-teaser{background:#e9f0e5;color:var(--ink);display:flex;flex-direction:row;align-items:center;gap:12px;padding:17px;border:0;border-radius:20px}.assistant-teaser-heading{flex:1;min-width:0}.assistant-teaser h2{font-size:16px;margin-bottom:4px;gap:7px}.assistant-teaser h2 .icon{width:23px;height:23px}.assistant-teaser p{font-size:10px;color:#63726a;margin:0;line-height:1.8}.assistant-prompt{display:none}.mobile-chat-link{display:inline-flex;white-space:nowrap;min-height:43px;font-size:11px;padding:10px 13px;gap:7px;flex-shrink:0}.mobile-chat-link .icon{width:16px;height:16px}.chess-invitation{grid-template-columns:minmax(0,1fr) 100px;gap:15px;margin-top:18px;padding:22px 19px;min-height:210px;border-radius:20px}.chess-invite-copy h2{font-size:24px}.chess-invite-copy .eyebrow{font-size:9px;margin-bottom:6px}.chess-invite-copy p{font-size:10px;line-height:1.9;margin-bottom:16px}.chess-invite-copy .button{font-size:10px;min-height:42px;padding:9px 10px;gap:7px}.chess-invite-copy .button .icon{width:17px;height:17px}.mini-board{width:100px;height:100px;border-width:4px;border-radius:6px}.mini-board>span{font-size:17px}.chess-floating-piece{font-size:53px;left:-8px;bottom:-22px}.contact-section{flex-direction:column;align-items:stretch;gap:20px;padding:30px 6px 15px}.contact-section h2{font-size:24px}.contact-section p{font-size:12px}.contact-phone{font-size:23px;justify-content:space-between;padding:14px 22px}.site-footer{margin-top:20px;display:flex;flex-wrap:wrap;align-items:center;gap:20px;padding:25px 0}.site-footer>div{flex:1}.site-footer nav{gap:15px;flex-wrap:wrap;font-size:10px}.site-footer>small{width:100%}.mobile-bottom-nav{display:flex;justify-content:space-around;align-items:stretch;position:fixed;z-index:50;bottom:0;inset-inline:0;padding:5px 8px calc(8px + env(safe-area-inset-bottom));background:linear-gradient(100deg,#19423f,#122d30);color:#c0d0c7;border-radius:19px 19px 0 0;box-shadow:0 -4px 14px #122c3008;min-height:72px}.mobile-bottom-nav a{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;flex:1;font-size:10px;padding:8px 0 0;min-height:59px}.mobile-bottom-nav a>.icon{width:25px;height:25px;stroke-width:1.4}.mobile-bottom-nav a[aria-current=page]{color:#e1bc74}.mobile-bottom-nav a[aria-current=page]:before{content:'';position:absolute;top:0;width:48px;height:2px;background:#e1bc74;border-radius:3px}.page-heading{align-items:start;flex-direction:column;margin-top:25px;gap:16px}.page-heading h1{font-size:28px}.page-heading .actions{margin-top:0}.resume-layout{grid-template-columns:1fr}.resume-sidebar img{width:110px;height:auto}.resume-sidebar dl{display:grid;grid-template-columns:100px 1fr;gap:10px;align-items:baseline}.resume-sidebar dt{margin-top:0}.resume-body h2{font-size:20px}.chat-layout{grid-template-columns:1fr;gap:14px}.chat-sidebar{padding:16px}.chat-sidebar>.assistant-symbol,.chat-sidebar>.muted,.chat-sidebar>h2{display:none}.suggestion-list{display:flex;overflow-x:auto;gap:8px;margin:0 0 12px;padding-bottom:6px;scrollbar-width:thin}.suggestion{white-space:nowrap;flex-shrink:0;font-size:11px}.chat-sidebar details{margin:0;padding-top:8px}.chat-sidebar>.text-link{display:none}.messages{height:48vh;min-height:260px;padding:14px}.message{max-width:95%;padding:12px 14px}.message p{font-size:12px}.chat-composer{padding:12px;gap:8px}.chat-composer .button{padding:12px 16px;gap:6px}.chat-top{gap:8px;padding:13px}.chat-top .button{padding:8px;font-size:10px}.two-grid,.three-grid{grid-template-columns:1fr;gap:20px}.certificate{gap:20px;align-items:start}.certificate-symbol{min-width:65px;height:90px;font-size:40px}.certificate h2{font-size:22px}.card{padding:22px}.chat-panel{padding:0}.login-card{margin:28px auto}.rating-summary{display:flex;align-items:center;gap:15px}.section-space{margin-top:30px}}
@media(max-width:360px){.wrap{width:calc(100% - 24px)}.hero-intro{column-gap:12px;row-gap:12px}.hero-heading h1{font-size:24px}.hero-description{font-size:11px}.mobile-role{font-size:6px;letter-spacing:1.1px}.hero-actions .button{font-size:11px;padding-inline:7px}.lab-heading h2{font-size:16px}.lab-hint{font-size:8px;max-width:110px}.theme-control>span{display:none}.skills-heading h2,.section-mobile-heading h2{font-size:14px}.feature-copy h3{font-size:11px}.feature-copy p{font-size:9px}.experience-timeline .period{font-size:8px}.experience-timeline h3{font-size:12px}.experience-heading h2{font-size:16px}.assistant-teaser{padding:14px}.mobile-chat-link{padding-inline:10px}.chess-invitation{grid-template-columns:minmax(0,1fr) 83px;padding:20px 15px}.mini-board{width:84px;height:84px}.chess-invite-copy .button{font-size:9px}.chess-invite-copy h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
@media print{body{background:#fff;color:#000;padding:0;font-size:11pt}.wrap{width:100%;max-width:none}.site-header,.site-footer,.mobile-bottom-nav,.actions,.page-heading .eyebrow,.skip-link{display:none}.main-content{min-height:0}.page-heading{margin:0 0 20px}.page-heading h1{font-size:24pt}.resume-layout{display:block}.resume-sidebar{border:0;padding:0 0 15px;box-shadow:none;display:block}.resume-sidebar img{float:left;width:80px;height:auto;margin:0 15px 10px 0}.resume-sidebar dl{display:flex;gap:12px;flex-wrap:wrap}.resume-sidebar dt,.resume-sidebar dd{margin:0}.resume-sidebar h2,.resume-sidebar h3{margin:10px 0}.resume-body{display:block}.card{box-shadow:none;border:0;border-radius:0;padding:12px 0}.job{break-inside:avoid}.job+.job{margin-top:12px;padding-top:12px}.resume-body section{border-top:1px solid #ccc}.resume-body p,.resume-body li{font-size:10pt}.tag{background:#f2f2f2;color:#000}.fine-print{font-size:8pt}h2,h3{break-after:avoid}.resume-body h2{font-size:15pt}a{color:#000}}
/* Mobile comparison refinement: keep the demo photo on the left like the approved artwork. */
@media(max-width:760px){.header-inner{min-height:78px}.hero-heading h1{font-size:clamp(25px,7.5vw,42px);line-height:1.6}.lab-heading{margin-bottom:10px}.lab-preview{min-height:156px;padding-block:10px 5px}.sample-card{grid-template-columns:minmax(0,1fr) 29%;gap:9px 15px;align-items:start}.sample-card>img{grid-column:2;grid-row:1/span 2;height:105px}.sample-copy{display:contents}.sample-copy h3{grid-column:1;grid-row:1;font-size:15px;margin:0;text-align:right;align-self:center}.sample-copy p{grid-column:1;grid-row:2/span 2;font-size:11px;margin:0;line-height:1.95;text-align:right}.sample-action{grid-column:2;grid-row:3;justify-content:stretch;gap:0}.sample-action button{width:100%;font-size:9px;gap:4px;padding:7px 5px;min-height:34px}.sample-action .icon{width:15px}.sample-action output{display:none}.playground[data-device=mobile] .sample-card{grid-template-columns:minmax(0,1fr) 65px;gap:8px 10px}.playground[data-device=mobile] .sample-copy h3{font-size:12px}.playground[data-device=mobile] .sample-copy p{font-size:9px}.playground[data-device=mobile] .sample-card>img{height:90px}.playground[data-device=mobile] .sample-action button{font-size:8px;padding-inline:4px}}
@media(max-width:360px){.hero-heading h1{font-size:24px}.sample-copy h3{font-size:13px}.sample-copy p{font-size:10px}.sample-action button{font-size:8px}}
@media(max-width:760px){.playground[data-device=mobile] .preview-viewport{width:100%}.playground[data-device=mobile] .sample-card{grid-template-columns:minmax(0,1fr) 29%;gap:9px 15px}.playground[data-device=mobile] .sample-copy h3{font-size:15px}.playground[data-device=mobile] .sample-copy p{font-size:11px}.playground[data-device=mobile] .sample-card>img{height:105px}.playground[data-device=mobile] .sample-action button{font-size:9px;padding-inline:5px}}
@media(max-width:360px){.playground[data-device=mobile] .sample-copy h3{font-size:13px}.playground[data-device=mobile] .sample-copy p{font-size:10px}.playground[data-device=mobile] .sample-action button{font-size:8px}}
