/* Hamid Anjum — personal portfolio. One responsive design system. */
:root{--ink:#172f32;--muted:#5c6d6c;--paper:#f8f7f2;--line:#dce1d8;--night:#10272e;--gold:#e0c18a;--green:#375f4d;--pad:max(6%,calc((100vw - 1380px)/2));--radius:22px}
*{box-sizing:border-box}html{font-size:100%;scroll-behavior:smooth;scroll-padding-top:120px}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:1rem;line-height:1.7}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{font-family:Manrope,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}a,button{-webkit-tap-highlight-color:transparent;touch-action:manipulation}a:focus-visible,button:focus-visible{outline:3px solid #aa8641;outline-offset:5px}button:disabled{cursor:default;opacity:.5}img,svg{max-width:100%}small{font-size:1rem}[hidden]{display:none!important}p{color:var(--muted);line-height:1.85}::selection{background:#d8c18e;color:#10272e}.ar{display:none}html[lang=ar] .en{display:none}html[lang=ar] .ar{display:inline}html[lang=ar] body,html[lang=ar] h1,html[lang=ar] h2,html[lang=ar] h3,html[lang=ar] h4{font-family:'Noto Sans Arabic',sans-serif}html[lang=ar] h1,html[lang=ar] h2,html[lang=ar] h3{letter-spacing:0;line-height:1.55}html[lang=ar] .eyebrow{letter-spacing:0}h2{font-size:clamp(2rem,3.1vw,3.1rem);font-weight:500;line-height:1.23;letter-spacing:-.045em;text-wrap:balance}h2 em{font-style:normal;color:#647d6a}.section{padding:100px var(--pad)}.eyebrow{font-size:1rem;line-height:1.6;letter-spacing:.09em;color:#526957;font-weight:600;margin-bottom:22px}.light{color:var(--gold)}.skip{position:fixed;top:-100px;left:20px;z-index:99;background:white;padding:12px 20px;border-radius:8px}.skip:focus{top:15px}
/* Signature and navigation */
.header{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:98px;padding:16px var(--pad);background:#10272ef5;color:#f8f7f2;border-bottom:1px solid #ffffff15;backdrop-filter:blur(18px)}#scroll-progress{position:absolute;inset-inline-start:0;bottom:0;height:2px;width:0;background:var(--gold);pointer-events:none}.signature-brand{display:flex;align-items:center;gap:18px;flex-shrink:0;line-height:1.3;min-height:48px;direction:ltr}.signature-brand img{display:block;width:124px;height:48px;object-fit:contain}.brand-name{display:block;font-family:Manrope,sans-serif;font-size:1.0625rem;font-weight:600;letter-spacing:.01em;padding-inline-start:18px;border-inline-start:1px solid #ffffff30;white-space:nowrap}.header nav{display:flex;align-items:center;gap:26px}.header nav a{color:#c5d1cf;position:relative;padding-block:10px;white-space:nowrap;font-size:1rem;transition:color .2s}.header nav a:after{content:'';position:absolute;bottom:2px;inset-inline-start:0;width:0;height:1px;background:var(--gold);transition:width .2s}.header nav a:hover,.header nav a[aria-current]{color:var(--gold)}.header nav a[aria-current]:after{width:24px}.nav-actions{display:flex;gap:9px;flex-shrink:0}.nav-actions button{background:#ffffff06;border:1px solid #ffffff35;border-radius:8px;min-height:46px;padding:9px 15px;font-size:1rem;color:#f8f7f2;transition:background .2s}.nav-actions button:hover{background:#ffffff14}#menu{display:none}
/* An editorial introduction */
.hero{isolation:isolate;position:relative;overflow:hidden;display:grid;grid-template-columns:1.12fr 1fr;gap:65px;padding:66px var(--pad) 50px;background:radial-gradient(ellipse at 6% 10%,#2b58475c,transparent 55%),var(--night);color:#f8f7f2}.hero:before{content:'';position:absolute;z-index:-1;top:-270px;inset-inline-end:-230px;width:800px;height:800px;border:1px solid #d4b77c12;border-radius:50%;box-shadow:0 0 0 90px #d4b77c03,0 0 0 180px #d4b77c02;pointer-events:none}.hero-copy{display:flex;flex-direction:column;align-items:flex-start;padding-top:16px;min-width:0}.hero .eyebrow{letter-spacing:.055em;font-size:1rem;line-height:1.8;margin-bottom:30px}.status{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--gold);margin-inline-end:10px;vertical-align:middle}.intro{font-size:1.0625rem;color:#c2d2ca;margin-bottom:18px}h1{font-size:clamp(3.1rem,5.1vw,5.25rem);font-weight:500;letter-spacing:-.06em;line-height:1.1;text-wrap:balance}h1 em{font-style:normal;color:var(--gold);position:relative;display:inline-block}h1 em:after{content:'';height:2px;position:absolute;inset-inline:3% 2%;bottom:-10px;background:linear-gradient(90deg,#e0c18a90,transparent);transform:rotate(-2deg)}.hero-description{font-size:1.125rem;color:#b8ccc5;max-width:550px;margin-top:32px;line-height:1.85}.hero-buttons{display:flex;align-items:center;gap:28px;flex-wrap:wrap;margin:34px 0 38px}.button{display:inline-flex;align-items:center;justify-content:center;gap:25px;min-height:54px;padding:15px 24px;font-size:1rem;font-weight:600;border:1px solid transparent;border-radius:9px;line-height:1.5;transition:transform .2s,background .2s,box-shadow .2s}.button.gold{background:var(--gold);color:#142e2d;box-shadow:0 6px 22px #0001}.button.gold:hover{background:#edd3a4;transform:translateY(-2px);box-shadow:0 12px 24px #0002}.quiet{font-size:1rem;display:flex;align-items:center;gap:18px;border-bottom:1px solid #ffffff40;padding:13px 0}.quiet:hover{color:var(--gold)}.hero-bottom{margin-top:auto;display:flex;align-items:center;flex-wrap:wrap;gap:16px 20px;border-top:1px solid #ffffff1c;padding-top:23px;width:100%}.hero-note-icon{font-size:2rem;color:#98ad96}.hero-bottom p{font-size:1rem;line-height:1.65;color:#b7c9c1}.hero-bottom>a{font-size:1rem;margin-inline-start:auto;color:#e3d2ad;display:flex;gap:12px;align-items:center}.portrait{position:relative;min-height:610px;overflow:hidden;border-radius:180px 180px 18px 18px;border:1px solid #e0c18a55;background:#1b3238;box-shadow:0 28px 70px #0003}.portrait>img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:44% center}.portrait-shade{position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#071b27db)}.portrait-caption{position:absolute;bottom:25px;inset-inline:25px;background:#10272ec9;backdrop-filter:blur(18px);border:1px solid #ffffff22;padding:22px;border-radius:12px}.portrait-caption>span{display:block;font-size:1.375rem;font-weight:500;line-height:1.5}.portrait-caption small{display:block;margin-top:8px;color:#d1ded6;line-height:1.65}.portrait-index{display:none}
/* Three unmistakable areas of focus */
.skill-ribbon{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:28px var(--pad);background:#f0f0e8;border-bottom:1px solid var(--line)}.ribbon-item{display:flex;align-items:center;justify-content:center;gap:20px;min-width:0;padding:10px 22px}.ribbon-item+.ribbon-item{border-inline-start:1px solid #d4dbce}.ribbon-icon{width:66px;height:66px;display:grid;place-items:center;flex-shrink:0;border-radius:19px;background:#dde7d7;color:#49694b;transform:rotate(-4deg);transition:transform .25s}.ribbon-icon svg{width:44px;height:44px;transform:rotate(4deg)}.ribbon-icon-1{background:#eae0ca;color:#8c6a32;border-radius:50%}.ribbon-icon-2{background:#dee8eb;color:#436575;border-radius:19px 19px 7px 19px}.ribbon-item:hover .ribbon-icon{transform:translateY(-3px)}.ribbon-item b{font-size:1rem;letter-spacing:.035em;font-weight:600;line-height:1.6;max-width:200px}
/* Personal story and career journey */
.about{display:grid;grid-template-columns:.95fr 1.05fr;gap:60px 80px}.about-copy .large{font-size:1.375rem;line-height:1.75;color:#233d3c;margin-bottom:20px}.about-copy>p{font-size:1rem}.text-button{font:inherit;font-size:1rem;display:inline-flex;gap:22px;align-items:center;min-height:48px;padding:12px 0;border:0;border-bottom:1px solid #a8b8a6;background:none;font-weight:600;margin-top:14px;text-align:start}.text-button:hover{color:#597a4c;border-color:#597a4c}.career{grid-column:1/-1;display:grid;grid-template-columns:minmax(235px,.8fr) minmax(0,2fr);gap:38px;align-items:center;isolation:isolate;position:relative;overflow:hidden;padding:45px;border:1px solid #34534b;border-radius:var(--radius);background:radial-gradient(ellipse at 0% 100%,#315a4c90,transparent 60%),#11272e;color:#f8f7f2;box-shadow:0 22px 55px #163c2510}.career:before{content:'';position:absolute;z-index:-1;width:400px;height:400px;inset-inline-start:-200px;bottom:-260px;border-radius:50%;border:1px solid #dec59122;box-shadow:0 0 0 50px #dec59104,0 0 0 100px #dec59103}.career .eyebrow{color:#e3c994;font-size:1.125rem;font-weight:700;line-height:1.65;letter-spacing:.065em;max-width:24ch;margin-bottom:24px;text-wrap:balance}.career .eyebrow:after{content:'';display:block;width:48px;height:2px;background:#bfa576;margin-top:14px}.career h3{font-size:clamp(2rem,2.5vw,2.65rem);font-weight:500;line-height:1.25;letter-spacing:-.04em;margin-bottom:18px}.career-intro>p{color:#baccbf;font-size:1rem;line-height:1.8}.career-years{display:flex;align-items:center;gap:18px;margin-top:28px}.career-years strong{font-family:Manrope,sans-serif;font-size:5rem;font-weight:500;line-height:1;color:#dfc58f;letter-spacing:-.06em}.career-years>span{font-size:1rem;line-height:1.65;color:#cdddce}.career-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:0;list-style:none}.career-stop{min-width:0;display:flex;flex-direction:column}.career-date{position:relative;color:#e1c68f;font-size:1rem;letter-spacing:.02em;padding-bottom:32px}.career-date:after{content:'';position:absolute;inset-inline:0;bottom:12px;height:1px;background:#d4b77c44}.career-node{position:absolute;inset-inline-start:0;bottom:7px;width:11px;height:11px;border:2px solid #dec591;background:#16312d;border-radius:50%;z-index:1;box-shadow:0 0 0 5px #dec5910c}.career-stop:last-child .career-node{background:#dec591;box-shadow:0 0 0 5px #dec59115}.career-card{position:relative;flex:1;margin-inline-end:12px;padding:22px 18px 45px;border:1px solid #ffffff1b;border-radius:13px;background:linear-gradient(150deg,#ffffff09,#ffffff02);transition:border-color .25s,background .25s}.career-stop:last-child .career-card{margin-inline-end:0}.career-card:hover{border-color:#dec5916a;background:#ffffff09}.career-sector{display:block;font-size:1rem;color:#d0ba87;margin-bottom:16px;line-height:1.6}.career-card h4{font-size:1.0625rem;line-height:1.65;font-weight:600;margin-bottom:14px;overflow-wrap:anywhere}.career-card p{font-size:1rem;line-height:1.8;color:#b9cfc2}.career-number{position:absolute;bottom:11px;inset-inline-end:15px;color:#a8beb2;font-size:1rem}
/* Expertise, with tools subordinate to the work */
.expertise{background:#eaf0e7;border-block:1px solid #dfe5d9}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:60px;margin-bottom:48px}.section-heading>div{min-width:0}.section-heading>p{font-size:1rem;max-width:390px}.cap-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.cap{position:relative;display:grid;grid-template-columns:52px 1fr;align-items:start;gap:24px;padding:34px;background:#fafbf7;border:1px solid #d6dfcf;border-radius:17px;transition:transform .25s,box-shadow .25s}.cap:hover{transform:translateY(-4px);box-shadow:0 18px 35px #1d38240a}.cap-icon{display:grid;place-items:center;width:52px;height:52px;background:#e5ecdd;color:#426047;border-radius:13px}.cap:nth-child(2) .cap-icon{color:#756035;background:#eee6d4}.cap:nth-child(3) .cap-icon{color:#436575;background:#e3ebed}.cap:nth-child(4) .cap-icon{color:#5b5c74;background:#e8e7ee}.cap h3{font-size:1.25rem;font-weight:600;line-height:1.5;margin:0 0 13px}.cap p{font-size:1rem}.cap>div{min-width:0}.cap-arrow{display:none}.tech-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:23px}.tech-tags>span{font-size:1rem;line-height:1.5;color:#51674c;background:#eef2e9;padding:5px 10px;border-radius:5px;border:1px solid #e0e7d9}.expertise-note{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:32px}.expertise-note>span{font-size:2rem;color:#7f916f}.expertise-note p{font-size:1rem;color:#4c6451}
/* Project collection */
.filter-row{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:26px;margin-bottom:32px}.filters{display:flex;gap:9px;flex-wrap:wrap}.filters button{font-size:1rem;min-height:46px;padding:10px 18px;border-radius:30px;border:1px solid #d8e0d3;background:#fff8;line-height:1.5;transition:background .2s,border-color .2s}.filters button:hover{border-color:#7a9472}.filters button[aria-pressed=true]{background:#24473b;color:white;border-color:#24473b;box-shadow:0 4px 14px #24473b1a}#result-count{font-size:1rem;color:var(--muted);white-space:nowrap}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}.project{min-width:0;border:1px solid #dde3d7;border-radius:18px;padding:10px;background:white;box-shadow:0 5px 20px #132e1d04;transition:box-shadow .25s,transform .25s}.project:hover{transform:translateY(-4px);box-shadow:0 18px 40px #1838220e}.project-image{display:block;width:100%;position:relative;overflow:hidden;aspect-ratio:1.65;padding:35px 22px 22px;background:linear-gradient(140deg,#dce7da,#ecf0e6);border:0;border-radius:11px}.project:nth-child(3n+2) .project-image{background:linear-gradient(140deg,#dbe6e9,#eef1ef)}.project:nth-child(3n+3) .project-image{background:linear-gradient(140deg,#e9dfcf,#f5eee2)}.project-image>img{display:block;width:100%;height:100%;object-fit:contain;box-shadow:0 12px 25px #1939221c;transition:transform .35s}.project-image:hover>img{transform:scale(1.025)}.preview-chrome{position:absolute;top:15px;inset-inline-start:24px;display:flex;gap:5px}.preview-chrome i{display:block;width:5px;height:5px;border-radius:50%;background:#526b5850}.open-icon{position:absolute;bottom:14px;inset-inline-end:14px;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#fcfdf8;color:#24473b;font-size:1.4rem;box-shadow:0 4px 15px #0001}.project-info{padding:24px 20px 22px}.project-info .eyebrow{font-size:1rem;letter-spacing:.025em;line-height:1.6;color:#5e745a;margin-bottom:11px;font-weight:500}.project-info h3{font-size:1.75rem;line-height:1.4;letter-spacing:-.025em;font-weight:600}.project-info p{font-size:1rem;margin-top:14px}.featured-project{grid-column:1/-1;display:grid;grid-template-columns:1.35fr 1fr;gap:8px;background:#eef1e8;padding:15px}.featured-project .project-image{aspect-ratio:auto;min-height:340px;padding:35px 24px 24px;background:linear-gradient(135deg,#dce7d4,#e6ecdf)}.featured-project .project-info{padding:30px;align-self:center}.featured-label{display:inline-block;font-size:1rem;font-weight:600;letter-spacing:.07em;color:#36513d;border-bottom:1px solid #aab99e;padding-bottom:9px;margin-bottom:22px}.featured-project .project-info h3{font-size:2rem}.featured-project .project-info .eyebrow{margin-bottom:9px}.project-info .text-button{margin-top:10px}
/* A clear, connected process */
.approach{display:grid;grid-template-columns:.95fr 1.05fr;gap:90px;padding-top:75px;border-top:1px solid var(--line);background:linear-gradient(135deg,#f4f4eb,#f8f7f2)}.approach>div>p{font-size:1.0625rem;max-width:420px;margin-top:25px}.approach ol{list-style:none;padding:0;margin:0;counter-reset:stage}.approach li{counter-increment:stage;position:relative;padding:0 0 32px;padding-inline-start:76px}.approach li:before{content:'0' counter(stage);position:absolute;inset-inline-start:0;top:0;display:grid;place-items:center;width:48px;height:48px;font-size:1rem;border:1px solid #cfdbc5;background:#e7eddf;color:#46623c;border-radius:50%;z-index:1}.approach li:after{content:'';position:absolute;inset-inline-start:24px;top:48px;bottom:0;width:1px;background:#cbd8bd}.approach li:last-child{padding-bottom:0}.approach li:last-child:after{display:none}.approach h3{font-size:1.25rem;font-weight:600;line-height:1.6;margin:4px 0 9px}.approach li p{font-size:1rem;max-width:480px}
/* A personal invitation */
.contact{position:relative;isolation:isolate;overflow:hidden;text-align:center;padding:90px var(--pad) 30px;background:radial-gradient(ellipse at 50% 120%,#375943 0,transparent 65%),#11272e;color:#f8f7f2}.contact:before{content:'';position:absolute;z-index:-1;width:800px;height:800px;border:1px solid #dec5910c;border-radius:50%;left:50%;transform:translateX(-50%);top:170px;box-shadow:0 0 0 90px #dec59102;pointer-events:none}.contact h2{font-size:clamp(2.1rem,4vw,4rem);font-weight:500;line-height:1.25}.contact h2 em{color:var(--gold)}.contact>p{font-size:1.0625rem;color:#bdcec3;margin:25px auto 30px;max-width:700px}.email{display:inline-flex;align-items:center;gap:30px;font-size:clamp(1.4rem,2.7vw,2.6rem);line-height:1.5;border-bottom:1px solid #d4b77c66;padding-bottom:12px;overflow-wrap:anywhere;max-width:100%}.email>span{color:var(--gold)}.contact-actions{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:30px}.outline{background:#ffffff04;border-color:#ffffff40;color:#f7f4e9}.outline:hover{background:#ffffff12}.contact #copy-status{font-size:1rem;min-height:1.7em;margin:14px auto 0;color:#e5d1a7}.contact-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;padding-top:24px;border-top:1px solid #ffffff1e;margin-top:45px;color:#b4c7ba;font-size:1rem}footer{padding:32px var(--pad);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px}footer .signature-brand img{width:112px;height:46px}footer .brand-name{border-color:#b8c4b5}footer>span,footer>a:last-child{font-size:1rem;color:var(--muted)}
/* Accessible screenshot viewer */
dialog{color:var(--ink);width:min(1180px,94vw);max-height:94dvh;overflow:auto;padding:24px;border:1px solid #d6ddcf;border-radius:18px;background:var(--paper);box-shadow:0 30px 120px #0008}dialog::backdrop{background:#051b22e8;backdrop-filter:blur(10px)}.viewer-head,.viewer-footer{display:flex;justify-content:space-between;align-items:center;gap:15px}.viewer-head h2{font-size:1.5rem;letter-spacing:-.02em;line-height:1.5}.viewer-head button,.viewer-footer button{font-size:1rem;min-height:46px;padding:9px 18px;border:1px solid #c5cfbd;border-radius:8px;background:#fdfdf8;flex-shrink:0}.viewer-head button:hover,.viewer-footer button:hover{background:#e7eddc}#screen-title{font-size:1rem;margin:9px 0 12px}#viewer-image{display:block;width:100%;height:min(56vh,650px);object-fit:contain;background:#e8ede4;border-radius:8px}#viewer-error{font-size:1rem;background:#f3e7dc;padding:15px;border-radius:8px;margin-block:12px}#viewer-thumbs{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:14px 0}#viewer-thumbs button{display:block;padding:3px;background:transparent;border:2px solid transparent;border-radius:7px;min-height:48px}#viewer-thumbs button[aria-pressed=true]{border-color:#657b4f;background:#e5ebd9}#viewer-thumbs img{display:block;width:90px;height:52px;object-fit:cover;border-radius:3px}.viewer-footer{padding-top:10px;border-top:1px solid var(--line)}#position{font-size:1rem}#screen-full{margin-top:12px;font-size:1rem}
/* Tablet: keep typography, trade columns for space. */
@media(max-width:1200px){.header{gap:20px}.header nav{gap:18px}.signature-brand{gap:12px}.signature-brand img{width:108px}.brand-name{padding-inline-start:12px}.hero{gap:35px}.hero-bottom>a{margin-inline-start:0}.portrait{min-height:640px}.career{grid-template-columns:1fr;padding:36px}.career-intro{position:relative;padding-inline-end:230px}.career-intro>p{max-width:610px}.career-years{position:absolute;inset-inline-end:0;bottom:0;flex-direction:column;align-items:flex-start;gap:12px;margin:0}.cap{padding:28px;gap:20px}.about{gap:50px}.ribbon-item{gap:14px;padding-inline:16px}.ribbon-icon{width:58px;height:58px}.ribbon-icon svg{width:40px;height:40px}.featured-project .project-info{padding:25px}.featured-project .project-image{min-height:350px}.section-heading{gap:35px}}
@media(max-width:1080px){.header{min-height:90px}#menu{display:block}.header nav{display:none;position:absolute;inset:100% 0 auto;flex-direction:column;align-items:stretch;gap:0;background:#11272e;border-bottom:1px solid #ffffff20;box-shadow:0 18px 28px #0002;padding:18px var(--pad)}.header nav.open{display:flex}.header nav a{padding:14px 0}.header nav a:after{bottom:8px}.section{padding-block:80px}.section-heading>p{max-width:330px}.cap{padding:25px;grid-template-columns:44px 1fr;gap:17px}.cap-icon{width:44px;height:44px}.project-info{padding:22px 16px}.featured-project{grid-template-columns:1.1fr 1fr}.featured-project .project-info h3{font-size:1.8rem}}
@media(max-width:850px){.hero{grid-template-columns:1fr;padding-top:45px;gap:42px}.hero-copy{padding:0}.hero-description{max-width:630px}.hero-bottom{gap:18px}.hero-bottom>a{margin-inline-start:auto}.portrait{height:570px;min-height:0;max-width:600px;width:100%;margin:auto;border-radius:180px 180px 18px 18px}.portrait>img{object-position:center 36%}.skill-ribbon{padding-block:23px}.ribbon-item{flex-direction:column;text-align:center;gap:15px;padding-inline:12px}.ribbon-item b{max-width:200px}.about{grid-template-columns:1fr;gap:35px}.about-copy .large{max-width:750px}.section-heading{display:block}.section-heading>p{max-width:650px;margin-top:25px}.cap-grid{gap:18px}.cap{display:block;padding:26px}.cap-icon{margin-bottom:20px}.featured-project{grid-template-columns:1fr}.featured-project .project-image{min-height:0;aspect-ratio:1.75;padding:38px 24px 24px}.featured-project .project-info{padding:24px}.approach{grid-template-columns:1fr;gap:40px}.approach>div>p{max-width:650px}.career{padding:30px;gap:32px}.career-card{padding-inline:16px}.career-card h4{font-size:1.0625rem}.contact h2{font-size:2.7rem}.contact-bottom{justify-content:center}}
@media(max-width:640px){:root{--pad:6%}html{scroll-padding-top:115px}.header{padding-block:12px;gap:10px;min-height:94px}.signature-brand{flex-direction:column;gap:0;align-items:center}.signature-brand img{width:116px;height:38px}.brand-name{padding:0;border:0;font-size:1rem;line-height:1.5}.nav-actions{gap:7px}.nav-actions button{padding:9px 11px;font-size:1rem}.hero{padding-top:35px;padding-bottom:32px;gap:32px}.hero .eyebrow{font-size:1rem;letter-spacing:.035em;margin-bottom:23px}.intro{font-size:1rem}h1{font-size:clamp(2.9rem,10vw,4rem);letter-spacing:-.055em}.hero-description{font-size:1.0625rem;margin-top:28px}.hero-buttons{gap:18px 25px;margin-block:28px 30px}.button{padding:14px 20px;gap:20px}.hero-bottom{align-items:flex-start;gap:10px 18px}.hero-note-icon{font-size:1.8rem}.hero-bottom p{font-size:1rem}.hero-bottom>a{margin-inline-start:0;flex-basis:100%;padding-inline-start:36px}.portrait{height:430px;border-radius:130px 130px 14px 14px}.portrait-caption{inset-inline:15px;bottom:15px;padding:18px}.portrait-caption>span{font-size:1.25rem}.portrait-caption small{font-size:1rem}.skill-ribbon{grid-template-columns:1fr;padding-block:14px}.ribbon-item{flex-direction:row;text-align:start;justify-content:flex-start;padding:18px 6px;gap:22px}.ribbon-item+.ribbon-item{border-inline-start:0;border-top:1px solid #d7dece}.ribbon-item b{max-width:none}.ribbon-icon{width:62px;height:62px}.section{padding-block:60px}.eyebrow{font-size:1rem;letter-spacing:.06em;margin-bottom:18px}h2{font-size:2.05rem;line-height:1.3}.about-copy .large{font-size:1.2rem}.career{padding:26px 22px;border-radius:18px}.career-intro{padding:0}.career .eyebrow{font-size:1.125rem;letter-spacing:.04em}.career h3{font-size:2rem}.career-years{position:static;flex-direction:row;align-items:center;margin-top:24px;gap:20px}.career-years strong{font-size:4.7rem}.career-track{grid-template-columns:1fr}.career-stop{position:relative;padding-inline-start:24px;padding-bottom:24px}.career-stop:before{content:'';position:absolute;inset-inline-start:0;top:13px;bottom:-13px;width:1px;background:#d4b77c44}.career-stop:last-child{padding-bottom:0}.career-stop:last-child:before{bottom:20px}.career-date{padding-bottom:15px}.career-date:after{display:none}.career-node{inset-inline-start:-29px;top:8px;bottom:auto}.career-card,.career-stop:last-child .career-card{margin:0;padding:22px 20px 42px}.career-sector{margin-bottom:10px}.career-card h4{font-size:1.125rem}.cap-grid{grid-template-columns:1fr}.cap{display:grid;grid-template-columns:44px 1fr;gap:16px;padding:25px 20px}.cap-icon{margin:0}.cap h3{font-size:1.2rem}.tech-tags{gap:7px;margin-top:20px}.tech-tags>span{padding:4px 8px}.expertise-note{align-items:flex-start;gap:13px;margin-top:25px}.expertise-note>span{line-height:1.4}.section-heading{margin-bottom:30px}.filter-row{gap:18px;padding-bottom:22px;margin-bottom:25px}.filters{gap:8px}.filters button{padding:10px 14px;font-size:1rem}.project-grid{grid-template-columns:1fr;gap:25px}.project{padding:8px;border-radius:15px}.project-image{padding:33px 14px 15px;aspect-ratio:1.55}.preview-chrome{inset-inline-start:17px;top:14px}.project-info{padding:22px 14px}.project-info h3{font-size:1.5rem}.featured-project{gap:0}.featured-project .project-image{aspect-ratio:1.55;padding:33px 14px 15px}.featured-project .project-info{padding:22px 14px}.featured-project .project-info h3{font-size:1.75rem}.featured-label{margin-bottom:18px;font-size:1rem}.project-info .eyebrow{font-size:1rem}.approach{gap:35px}.approach li{padding-inline-start:64px}.approach li:before{width:44px;height:44px}.approach li:after{inset-inline-start:22px;top:44px}.approach h3{font-size:1.1875rem}.contact{padding-top:65px}.contact h2{font-size:2.2rem}.contact>p{font-size:1rem}.email{font-size:1.3rem;gap:16px}.contact-actions{gap:12px}.contact-actions .button{font-size:1rem}.contact-bottom{gap:15px;margin-top:30px;font-size:1rem}footer{padding-block:28px;gap:24px}footer>span{order:3;flex-basis:100%}footer .signature-brand{flex-direction:row;gap:14px}footer .signature-brand img{width:92px;height:38px}footer .brand-name{font-size:1rem}dialog{padding:16px;width:96vw;border-radius:13px}.viewer-head{align-items:flex-start;flex-wrap:wrap}.viewer-head h2{font-size:1.25rem;max-width:75%}.viewer-head button{padding:8px 13px}#viewer-image{height:44vh;min-height:150px}#viewer-thumbs{gap:6px}#viewer-thumbs img{width:76px;height:46px}.viewer-footer{gap:8px;flex-wrap:wrap}.viewer-footer button{padding:9px 13px}#screen-full{font-size:1rem}}
@media(max-width:370px){.signature-brand img{width:100px}.nav-actions button{padding-inline:9px}.header{gap:7px}.cap{display:block}.cap-icon{margin-bottom:18px}.email{font-size:1.125rem;gap:10px}.portrait-caption{padding:15px}.career{padding-inline:18px}}
html[lang=ar] .brand-name{font-family:Manrope,sans-serif}html[lang=ar] .ribbon-item b,html[lang=ar] .featured-label{letter-spacing:0}html[lang=ar] .hero h1{line-height:1.4;font-size:clamp(2.8rem,4.7vw,4.8rem)}html[lang=ar] .career h3{line-height:1.5}html[lang=ar] .career-card h4{font-family:'Noto Sans Arabic',sans-serif}html[lang=ar] .career .eyebrow{font-weight:600;max-width:none}html[lang=ar] .contact h2{line-height:1.55}html[lang=ar] .project-info h3{line-height:1.65}
#viewer-thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:min(100%,650px);margin-inline:auto;align-items:stretch}#viewer-thumbs button{display:flex;flex-direction:column;align-items:center;gap:6px;padding:6px;min-width:0}#viewer-thumbs button span{display:block;font-size:1rem;line-height:1.5;overflow-wrap:anywhere}#viewer-thumbs img{width:100%;max-width:120px;height:64px;object-fit:cover}
@media(min-width:641px) and (max-width:760px){.career-track{grid-template-columns:1fr;gap:18px}.career-date{padding-bottom:14px}.career-date:after,.career-node{display:none}.career-card,.career-stop:last-child .career-card{margin:0;padding:22px 22px 42px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* Full-name signature: no separate wordmark. */
.header .signature-brand img,footer .signature-brand img{width:240px;height:58px}
@media(max-width:640px){.header .signature-brand img{width:clamp(122px,37vw,180px);height:46px}.header .signature-brand{flex-direction:row}footer .signature-brand img{width:210px;height:51px}}
