/* Nader Shimy Portfolio — accessible, responsive, no framework dependencies */
:root{color-scheme:light;--navy:#0b1729;--navy-2:#10223a;--navy-3:#182f4c;--ink:#15233a;--text:#4e5d70;--muted:#778396;--blue:#3277ed;--blue-bright:#61a9ff;--line:#dfe5ed;--paper:#fff;--cream:#f5f3ef;--soft:#f5f8fc;--shadow:0 22px 70px rgba(14,31,55,.10);--radius:20px;--shell:1190px;--font:Inter,"Segoe UI",Arial,sans-serif}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:88px}body{margin:0;background:var(--paper);font-family:var(--font);color:var(--ink);-webkit-font-smoothing:antialiased;line-height:1.6}body:has(dialog[open]){overflow:hidden}button,input,textarea{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--blue-bright);outline-offset:3px}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.12;letter-spacing:-.045em}p{line-height:1.78}.shell{max-width:var(--shell);padding:0 32px;margin:0 auto}.skip-link{position:fixed;z-index:300;left:14px;top:-60px;background:#fff;color:#111;padding:12px 20px}.skip-link:focus{top:15px}.reading-progress{height:3px;position:fixed;z-index:110;left:0;right:0;top:0}.reading-progress span{display:block;width:0;height:100%;background:linear-gradient(90deg,#5fa9ff,#a3d0ff)}
/* Navigation */
.site-header{position:sticky;top:0;z-index:100;background:rgba(11,23,41,.94);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid rgba(255,255,255,.09)}.header-inner{height:81px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:11px;color:#fff;flex-shrink:0}.brand-mark{font-size:25px;font-weight:900;letter-spacing:-.1em;border:1px solid rgba(255,255,255,.18);width:47px;height:47px;border-radius:12px;display:grid;place-items:center;line-height:1}.brand-mark span{color:var(--blue-bright)}.brand-copy{font-size:12px;letter-spacing:.12em;font-weight:600;line-height:1.25}.brand-copy strong{font-weight:800}.brand-copy small{display:block;font-size:8px;color:#91a4be;letter-spacing:.17em;margin-top:5px}.desktop-nav{display:flex;align-items:center;gap:22px;margin-left:auto}.desktop-nav a{font-size:11px;font-weight:650;color:#a5b4c8;position:relative;white-space:nowrap;padding:29px 0;transition:color .2s}.desktop-nav a:hover,.desktop-nav a.is-active{color:#fff}.desktop-nav a.is-active:after{content:"";height:2px;position:absolute;bottom:22px;left:0;right:0;background:#71b4ff;border-radius:5px}.header-tools{display:flex;align-items:center;gap:10px}.social-link{font-size:14px;font-weight:850;background:#2874c9;color:white;border-radius:6px;display:grid;place-items:center;width:32px;height:32px}.social-link:hover{background:#4d9cf3}.icon-button,.menu-toggle{background:transparent;border:1px solid rgba(255,255,255,.22);border-radius:9px;width:34px;height:34px;color:white;display:grid;place-items:center}.icon-button:hover,.menu-toggle:hover{background:rgba(255,255,255,.08)}.menu-toggle{display:none;place-content:center;gap:4px}.menu-toggle span{width:15px;height:2px;background:white;display:block;border-radius:2px}.mobile-nav{display:none;max-height:calc(100dvh - 80px);overflow:auto;background:#101e32;border-top:1px solid #2b3c51;padding:8px 32px 20px}.mobile-nav a{display:block;padding:11px 0;color:#e5edf8;font-size:14px;border-bottom:1px solid #273a52}.mobile-nav a:hover{color:#79b5ff}
/* Sections & typography */
.section{padding:115px 0;scroll-margin-top:81px}.section-light{background:var(--paper)}.section-cream{background:var(--cream)}.section-dark{background:var(--navy);color:#fff}.section-kicker{display:flex;align-items:center;gap:11px;font-size:10px;letter-spacing:.23em;font-weight:850;color:#3a78d7;margin-bottom:20px}.section-kicker span{display:inline-grid;place-items:center;width:29px;height:29px;border:1px solid #bdd6f5;border-radius:8px;font-size:10px;letter-spacing:0}.section-dark .section-kicker{color:#88c0ff}.section-dark .section-kicker span{border-color:#3d5570}.section-heading{max-width:790px;margin-bottom:58px}.section-heading h2,.learning-intro h2,.feedback-grid h2{font-size:clamp(37px,5.2vw,62px);font-weight:800}.section-heading h2 span,.learning-intro h2 span,.feedback-grid h2 span{color:#437fe3}.section-heading p{color:var(--text);font-size:16px;margin-top:18px;max-width:650px}.section-heading-dark p{color:#9cafc5}.section-heading-dark h2 span,.feedback-grid h2 span{color:#78b5ff}
.btn{display:inline-flex;justify-content:center;align-items:center;gap:20px;min-height:49px;padding:13px 20px;border-radius:11px;font-weight:760;font-size:12px;border:1px solid transparent;transition:transform .2s,background .2s,box-shadow .2s}.btn:hover{transform:translateY(-3px)}.btn-primary{color:#fff;background:#3278ea;box-shadow:0 13px 35px rgba(31,107,229,.26)}.btn-primary:hover{background:#5296f2}.btn-secondary{color:#e4ecf8;background:rgba(255,255,255,.045);border-color:rgba(179,202,235,.28)}.btn-secondary:hover{background:rgba(255,255,255,.11)}.btn-dark{background:#12223a;color:#fff}.btn-dark:hover{background:#225293}.text-link{display:inline-flex;align-items:center;gap:13px;font-size:13px;font-weight:800;color:#3574d8}.text-link span{font-size:17px}.text-link:hover{text-decoration:underline;text-underline-offset:4px}
/* Hero */
.hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 80% 30%,#183451 0%,#0b1729 52%,#091323 100%);color:#fff;min-height:710px;padding:90px 0 35px}.hero-orbit{position:absolute;pointer-events:none;border-radius:50%;border:1px solid rgba(98,154,217,.08)}.hero-orbit-a{width:750px;height:750px;right:-300px;top:-270px}.hero-orbit-b{width:500px;height:500px;left:-340px;bottom:-300px}.hero-grid{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(360px,.92fr);gap:65px;align-items:center;position:relative;z-index:1}.eyebrow{font-size:10px;letter-spacing:.17em;font-weight:700;color:#a4b6cc;display:flex;align-items:center;gap:11px;margin-bottom:25px}.eyebrow-dot,.status-light{width:7px;height:7px;border-radius:100%;background:#61daab;box-shadow:0 0 15px rgba(97,218,171,.6);display:inline-block}.hero-pretitle{font-size:11px;color:#79b6ff;letter-spacing:.2em;font-weight:850;margin-bottom:15px}.hero h1{font-size:clamp(43px,5.2vw,73px);font-weight:830;letter-spacing:-.063em;line-height:1.09;margin-bottom:24px}.hero h1 em{font-style:normal;color:#75b5ff}.hero-role{font-size:15px;font-weight:650;letter-spacing:-.01em;color:#d6e7fb;line-height:1.6}.hero-role span{padding:0 8px;color:#567aa0}.hero-desc{max-width:610px;color:#9daec3;font-size:16px;line-height:1.95;margin-top:20px}.hero-actions{display:flex;gap:13px;flex-wrap:wrap;margin:32px 0}.hero-trust{display:flex;gap:18px 21px;flex-wrap:wrap}.hero-trust>span{font-size:11px;color:#8da0b6;display:flex;align-items:center;gap:7px}.check-dot{width:6px;height:6px;border-radius:50%;background:#72b3ff}.hero-visual{background:linear-gradient(145deg,rgba(31,59,90,.7),rgba(14,30,51,.92));border:1px solid rgba(155,194,235,.19);border-radius:25px;box-shadow:0 30px 75px rgba(0,0,0,.25),inset 0 1px 1px rgba(255,255,255,.1);padding:25px;position:relative}.hero-visual:before{content:"";pointer-events:none;position:absolute;inset:-10px;border:1px solid rgba(98,165,230,.055);border-radius:30px}.visual-top{display:flex;align-items:center;justify-content:space-between;padding-bottom:21px;border-bottom:1px solid rgba(201,219,241,.12)}.visual-top .status{display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:.18em;color:#c4d7eb;font-weight:800}.visual-icon{border:1px solid #3a587a;border-radius:9px;width:28px;height:28px;display:grid;place-items:center;color:#91c8ff}.flow-map{padding:27px 4px 22px}.flow-item{display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:center}.flow-glyph{display:grid;place-items:center;font-size:22px;width:44px;height:44px;border:1px solid #3a5e83;border-radius:11px;color:#90c4ff;background:#193c5d}.flow-item strong{display:block;font-size:15px;letter-spacing:-.02em}.flow-item small{display:block;font-size:11px;margin-top:1px;color:#9caec6}.flow-check{font-size:10px;color:#80a6d1}.flow-line{height:45px;margin-left:21px;border-left:1px dashed #4b7299;position:relative}.flow-line span{position:absolute;bottom:7px;left:-4px;width:7px;height:7px;background:#64a6ec;transform:rotate(45deg)}.flow-result{border:1px solid rgba(111,173,245,.45);padding:11px;margin-left:-11px;margin-right:-11px;border-radius:13px;background:rgba(50,121,233,.12)}.visual-foot{padding-top:22px;border-top:1px solid rgba(201,219,241,.12);display:flex;gap:11px;align-items:center;justify-content:center;flex-wrap:wrap}.visual-foot span{font-size:8px;letter-spacing:.1em;color:#97aac2;font-weight:750}.visual-foot .foot-divider{height:3px;width:3px;border-radius:50%;background:#78adf4}.hero-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:72px;color:#607b9a}.scroll-hint{font-weight:750;font-size:9px;letter-spacing:.21em;display:flex;gap:11px;align-items:center}.scroll-hint span{font-size:18px;color:#91bdf7}.hero-quote{font-size:11px;letter-spacing:.07em;color:#7190b2}
/* Story */
.story-layout{display:grid;grid-template-columns:1fr 1fr;gap:54px;align-items:start}.story-panel{background:#eef4fc;border:1px solid #e1ebf8;border-radius:24px;padding:38px}.story-panel-label{font-size:10px;letter-spacing:.2em;font-weight:850;color:#3e74b9}.big-year{font-size:clamp(64px,8vw,110px);font-weight:850;letter-spacing:-.09em;line-height:1.3;color:#18385e}.big-year span{color:#377fe7;padding-left:6px}.story-panel h3{font-size:24px;margin-bottom:17px}.story-panel p,.story-right p{font-size:14px;color:var(--text);margin-bottom:16px}.story-mini-stats{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding-top:21px;border-top:1px solid #cdddeb;margin-top:23px}.story-mini-stats strong{display:block;font-size:22px;color:#235995}.story-mini-stats span{display:block;font-size:11px;color:#6b7f94}.story-right{padding-top:13px}.story-quote{font-size:clamp(22px,2.5vw,32px);line-height:1.4;font-weight:750;letter-spacing:-.04em;padding-left:22px;border-left:3px solid #4789ec;margin-bottom:27px}.story-right .text-link{margin-top:10px}
/* Experience */
.career-grid{display:grid;grid-template-columns:.83fr 1.17fr;gap:85px}.career-feature{background:#122945;border:1px solid #2a4564;border-radius:20px;padding:30px;align-self:start;position:sticky;top:112px}.career-label{font-size:10px;letter-spacing:.18em;font-weight:800;color:#81b8f9;margin-bottom:17px}.career-feature h3{font-size:30px;line-height:1.18;letter-spacing:-.04em;margin-bottom:17px}.career-feature p{font-size:14px;color:#9cb0c8}.career-keywords{display:flex;gap:9px;flex-wrap:wrap;margin-top:25px}.career-keywords span{border-radius:7px;border:1px solid #395977;color:#b5cde9;padding:6px 10px;font-size:10px;font-weight:650}.timeline{list-style:none;margin:0;padding:0 0 0 30px;position:relative}.timeline:before{content:"";position:absolute;left:5px;top:8px;bottom:30px;width:1px;background:#35516f}.timeline li{position:relative;padding-bottom:35px}.timeline li:before{content:"";position:absolute;left:-29px;top:5px;height:11px;width:11px;border:2px solid #69a5ee;background:#0b1729;border-radius:100%}.timeline-date{font-size:10px;letter-spacing:.17em;font-weight:800;color:#77aff1;margin-bottom:6px}.timeline-body h3{font-size:19px;letter-spacing:-.025em}.timeline-body>span{font-size:12px;color:#a1b2c6;display:block;margin:5px 0 7px}.timeline-body p{font-size:13px;color:#8fa0b6;max-width:530px}
/* Work */
.projects-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.project-card{border-radius:20px;overflow:hidden;border:1px solid #e1e7ef;background:#fff;box-shadow:0 10px 32px rgba(21,44,72,.055);transition:transform .25s,box-shadow .25s;display:flex;flex-direction:column}.project-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}.project-card-emphasis{border-color:#b8d4fa}.project-art{height:222px;position:relative;overflow:hidden;padding:22px;background:#14263f}.project-art:after{content:"";position:absolute;width:230px;height:230px;right:-95px;top:-115px;border:1px solid rgba(255,255,255,.13);border-radius:50%}.project-art-legacy{background:linear-gradient(135deg,#203449,#101f31)}.project-art-apps{background:linear-gradient(135deg,#1e4c7e,#11243e)}.project-art-executive{background:linear-gradient(135deg,#183d75,#0e2444)}.art-ornament{position:absolute;right:18px;bottom:-26px;font-size:105px;color:rgba(255,255,255,.055);font-weight:850;letter-spacing:-.09em}.art-content{position:relative;z-index:1;height:100%}.art-chip{font-size:9px;color:#a8d0fb;letter-spacing:.16em;font-weight:850}.art-legacy-screen{margin:20px 0 0 26px;border:1px solid #6a83a1;background:#172943;border-radius:7px 7px 0 0;width:220px;height:161px;padding:12px;transform:rotate(-7deg);box-shadow:0 14px 22px #07142566}.art-screen-top{display:flex;gap:4px}.art-screen-top i{width:5px;height:5px;background:#5c94c4;border-radius:50%}.art-rows{margin-top:16px;display:flex;flex-direction:column;gap:6px}.art-rows span{height:5px;background:#4a6885;width:65%}.art-rows span:nth-child(2){width:82%}.art-rows span:nth-child(3){width:40%}.art-graph{height:47px;display:flex;align-items:end;gap:8px;margin-top:10px}.art-graph b{width:20px;background:#397ee4;height:25%}.art-graph b:nth-child(2){height:67%}.art-graph b:nth-child(3){height:45%}.art-graph b:nth-child(4){height:93%}.art-graph b:nth-child(5){height:70%}.app-art{width:225px;height:171px;background:#f2f7ff;margin:18px auto 0;transform:rotate(5deg);border-radius:8px 8px 0 0;box-shadow:0 18px 24px #051b3c5c;padding:16px}.app-art-top{display:flex;align-items:center;justify-content:space-between;color:#275088;font-size:9px}.app-art-top i{font-style:normal;font-size:22px}.app-art-line{display:block;height:16px;border-radius:4px;background:#d4e0ef;margin-top:17px}.app-art-line.short{width:75%;margin-top:10px}.app-art-pills{display:flex;gap:7px;margin-top:15px}.app-art-pills i{display:block;width:50%;height:12px;border-radius:5px;background:#c2d3e9}.app-art-button{width:63px;height:17px;border-radius:4px;background:#3579db;margin:17px 0 0 auto}.exec-art{width:235px;height:172px;border:1px solid #5979a8;background:#101d34;margin:18px auto 0;border-radius:7px 7px 0 0;padding:13px;transform:rotate(-5deg);box-shadow:0 18px 24px #071a3755}.exec-art-title{display:flex;justify-content:space-between;color:#a7c8ec;font-size:8px;letter-spacing:.06em}.exec-art-kpis{display:flex;gap:6px;margin-top:16px}.exec-art-kpis i{height:36px;background:#243957;border-radius:5px;flex:1;border-top:2px solid #5498e4}.exec-art-chart{height:69px;display:flex;align-items:end;gap:12px;padding:9px 14px 0;border-bottom:1px solid #4e6282}.exec-art-chart span{background:#3679ca;flex:1;border-radius:3px 3px 0 0}.project-body{padding:24px;display:flex;flex-direction:column;flex:1}.project-index{font-size:10px;letter-spacing:.15em;font-weight:850;color:#3674ca;display:flex;justify-content:space-between;gap:10px}.project-index span{color:#8794a5;font-size:9px}.project-body h3{font-size:22px;margin:17px 0 10px}.project-body p{font-size:13px;color:#637084;flex:1}.tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:22px}.tags span{font-size:10px;border:1px solid #dde5ee;background:#f7f9fc;padding:5px 9px;border-radius:7px;color:#58718d;font-weight:650}.watch-button{width:100%;display:flex;align-items:center;gap:11px;margin-top:23px;background:#132943;color:#fff;border:0;border-radius:11px;padding:12px 15px;font-size:12px;font-weight:800;transition:background .2s}.watch-button:hover{background:#2b70c5}.play-icon{display:grid;place-items:center;color:#12243f;background:#fff;border-radius:50%;height:25px;width:25px;font-size:9px;padding-left:2px}.watch-arrow{margin-left:auto;font-size:16px}.privacy-note{font-size:11px;color:#7b8798;margin-top:23px}.privacy-note span{font-size:15px;color:#3c82dd;margin-right:7px}
/* Credentials */
.credential-subheading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d9d9d4;padding:0 0 14px;margin:0 0 24px;gap:10px}.credential-subheading span:first-child{letter-spacing:.16em;font-weight:850;font-size:11px;color:#24588b}.credential-subheading span:last-child{color:#81909b;font-size:12px}.historic-credentials{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.credential-card{background:#fff;border-radius:17px;overflow:hidden;border:1px solid #e2e0db;box-shadow:0 10px 25px rgba(30,30,30,.04)}.cert-image-button{display:block;width:100%;height:190px;overflow:hidden;background:#dfe6ef;border:0;padding:12px}.cert-image-button img{width:100%;height:100%;object-fit:contain;transition:transform .3s}.cert-image-button:hover img{transform:scale(1.045)}.credential-card>div{padding:20px}.cert-year{font-size:10px;color:#3d79cc;font-weight:850;letter-spacing:.14em}.credential-card h3{font-size:18px;margin:11px 0}.credential-card p{font-size:12px;color:#5f6c7b;margin-bottom:12px}.credential-card small{color:#8c97a2;font-size:10px;display:block}.credential-modern-heading{margin-top:58px}.microsoft-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.ms-card{display:grid;grid-template-columns:52px 1fr;gap:18px;background:#fff;border:1px solid #e2e0db;border-radius:17px;padding:27px}.ms-card h3{font-size:21px;margin:10px 0}.ms-card p{font-size:12px;color:#667488;margin-bottom:17px}.ms-icon{width:48px;height:48px;display:grid;place-items:center;background:#f1f5fb;border-radius:12px}.ms-logo{display:grid;grid-template-columns:repeat(2,10px);grid-template-rows:repeat(2,10px);gap:3px}.ms-logo i{display:block;background:#f25022}.ms-logo i:nth-child(2){background:#7fba00}.ms-logo i:nth-child(3){background:#00a4ef}.ms-logo i:nth-child(4){background:#ffb900}
/* Learning */
.learning-layout{display:grid;grid-template-columns:1fr 1fr;gap:88px}.learning-intro h2{margin-bottom:25px}.learning-intro p{font-size:14px;color:#5c6b7d;margin-bottom:16px}.learning-intro .btn{margin-top:12px}.learning-right{background:#eef4fb;border:1px solid #deebfa;border-radius:20px;padding:26px}.learning-topline{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #c5d5e8;padding-bottom:16px}.learning-topline strong{font-size:10px;letter-spacing:.13em;color:#2e608f}.learning-topline span{font-size:9px;color:#8194aa}.learning-list>div{display:grid;grid-template-columns:26px 1fr;column-gap:11px;padding:20px 0;border-bottom:1px solid #d6e2ef}.learning-list span{font-size:11px;color:#3979d4;font-weight:800;grid-row:span 2}.learning-list strong{font-size:15px;line-height:1.35}.learning-list small{font-size:11px;color:#7289a3;margin-top:4px}.learning-footer{display:flex;justify-content:space-between;align-items:center;gap:13px;flex-wrap:wrap;margin-top:22px}.learning-footer span{font-size:11px;color:#6b7e93}.learning-footer a{color:#2d6fca;font-weight:780;font-size:11px}.approach-banner{margin-top:55px;background:linear-gradient(110deg,#14365e,#10233c);color:#fff;padding-top:26px;padding-bottom:28px;border-radius:18px;max-width:1126px}.approach-banner>span{font-size:10px;letter-spacing:.18em;color:#8ec4ff;font-weight:850}.approach-banner>p{font-size:19px;max-width:780px;line-height:1.5;margin-top:9px;font-weight:550;letter-spacing:-.025em}
/* Guestbook */
.feedback-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px}.feedback-grid h2{margin:0 0 19px}.feedback-grid>div>p{color:#a3b5ca;font-size:14px}.moderation-explainer{margin:24px 0!important;border-left:2px solid #69a5ee;padding-left:13px;max-width:440px;font-size:12px!important}.moderation-explainer span{color:#84c6ff;font-weight:bold;padding-right:4px}.comment-form{padding:29px;background:#132740;border:1px solid #33506c;border-radius:19px}.comment-form h3{font-size:23px;margin-bottom:22px}.comment-form label{display:block;font-size:11px;font-weight:750;margin:16px 0 7px;color:#c6d9eb}.comment-form input,.comment-form textarea{display:block;width:100%;border:1px solid #3e5772;background:#0b1b30;color:#fff;border-radius:9px;padding:13px;outline:none;font-size:13px;resize:vertical}.comment-form input:focus,.comment-form textarea:focus{border-color:#74b9ff;outline:2px solid #74b9ff66}.comment-form input::placeholder,.comment-form textarea::placeholder{color:#758ca6}.form-foot{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:17px;flex-wrap:wrap}.form-foot span{font-size:10px;color:#9eb0c3}.form-status{min-height:19px;margin-top:13px;font-size:12px!important;color:#92dcbf}.form-status.error{color:#f6a8a8}.honeypot{position:absolute;left:-10000px;top:auto;overflow:hidden;width:1px;height:1px}.published-comments{margin-top:28px;max-height:325px;overflow:auto;padding-right:5px}.comment-empty{color:#8298b3!important;font-size:12px!important;font-style:italic}.visitor-comment{background:#132740;border:1px solid #2b4361;padding:15px;border-radius:12px;margin-bottom:11px}.visitor-comment-head{display:flex;justify-content:space-between;gap:10px;color:#fff;font-size:12px;font-weight:750}.visitor-comment time{font-weight:400;color:#89a4c0;font-size:10px}.visitor-comment p{color:#c2d0df!important;font-size:12px!important;margin-top:6px;overflow-wrap:anywhere}
/* Footer & modals */
.footer{background:#07101d;color:#90a0b5;border-top:1px solid #20304a}.footer-inner{min-height:100px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;padding-top:22px;padding-bottom:22px}.footer-brand{font-size:12px;font-weight:800;letter-spacing:.08em;color:#e4ecf7}.footer-brand span{color:#589fe7;margin:0 6px}.footer-links{display:flex;gap:22px}.footer-links a{font-size:12px;color:#aec3df}.footer-links a:hover{color:#fff}.footer-inner small{font-size:10px}.footer-links+small{margin-left:auto}#back-top{position:fixed;bottom:26px;right:24px;width:45px;height:45px;border:1px solid #9bc6ff;background:#276bd0;color:white;border-radius:12px;z-index:80;box-shadow:0 6px 20px #164ca566;opacity:0;visibility:hidden;transform:translateY(15px);transition:.2s}#back-top.visible{opacity:1;visibility:visible;transform:translateY(0)}#back-top:hover{background:#174a9f}.media-dialog,.cert-dialog{border:1px solid #d6e0eb;border-radius:18px;background:#fff;color:#14253a;width:min(950px,calc(100vw - 32px));max-height:calc(100dvh - 36px);padding:0;box-shadow:0 35px 100px #0007}.media-dialog::backdrop,.cert-dialog::backdrop{background:rgba(3,13,29,.85);backdrop-filter:blur(7px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;padding:16px 23px;border-bottom:1px solid #e6edf3;gap:14px}.dialog-top h2{font-size:18px}.dialog-close{border:1px solid #d4dce8;background:#fff;width:35px;height:35px;border-radius:9px;color:#233f5b}.dialog-close:hover{background:#eef4fc}.media-content{padding:20px}.media-content iframe,.media-content video{display:block;width:100%;aspect-ratio:16/9;border:0;background:#050e1c;border-radius:9px}.media-dialog #media-message{padding:0 22px 18px;font-size:13px;color:#627084}.media-placeholder{background:#10233b;color:#d5e6f9;border:1px dashed #426e99;border-radius:13px;min-height:320px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:25px}.media-placeholder>span{display:grid;place-items:center;width:60px;height:60px;border:1px solid #75ace3;border-radius:50%;font-size:25px;color:#85c2ff;margin-bottom:18px}.media-placeholder h3{font-size:25px}.media-placeholder p{font-size:13px;color:#a5bdd4;max-width:440px;margin-top:11px}.cert-dialog{width:min(900px,calc(100vw - 30px))}.cert-full{padding:20px;overflow:auto;max-height:calc(100dvh - 130px);background:#eef3f9}.cert-full img{margin:auto;max-height:calc(100dvh - 172px);object-fit:contain;box-shadow:0 13px 40px #0c20301f}
/* Admin helpers */
.admin-body{min-height:100vh;background:#edf3fa;color:#132844}.admin-shell{max-width:1120px;margin:auto;padding:40px 25px}.admin-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;margin-bottom:28px}.admin-header h1{font-size:28px}.admin-header .btn{background:#0d2749;color:#fff}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:27px}.stat-tile{background:#fff;border:1px solid #dbe6f2;padding:21px;border-radius:13px}.stat-tile span{font-size:11px;text-transform:uppercase;font-weight:750;color:#63778e;letter-spacing:.06em}.stat-tile strong{font-size:30px;display:block;margin-top:8px}.admin-panel{background:#fff;border:1px solid #dbe6f2;border-radius:13px;padding:20px;margin-top:18px}.admin-panel h2{font-size:20px;margin:0 0 20px}.admin-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.admin-toolbar button{background:#eef3fc;color:#254264;border:1px solid #d2dfeb;border-radius:8px;padding:8px 14px}.admin-toolbar button.current{background:#225baf;color:#fff}.admin-comment{border:1px solid #dee6f0;padding:16px;margin:11px 0;border-radius:9px}.admin-comment h3{font-size:15px}.admin-comment p{color:#496076;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;margin:9px 0}.admin-comment small{color:#758ba0}.admin-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}.admin-actions button{padding:7px 12px;border-radius:8px;border:0;font-size:12px;background:#1e5eaf;color:white}.admin-actions button.reject{background:#68768a}.admin-actions button.delete{background:#b83842}.admin-actions button:hover{filter:brightness(1.08)}.admin-login{max-width:420px;padding:33px;background:#fff;margin:10vh auto;border-radius:15px;box-shadow:var(--shadow)}.admin-login h1{font-size:24px}.admin-login label{display:block;margin:18px 0 6px;font-weight:650;font-size:13px}.admin-login input{width:100%;padding:11px;border:1px solid #c3d3e6;border-radius:8px}.admin-login button{width:100%;margin-top:20px}.admin-login .error{color:#b52c36;font-size:12px}
/* Theme toggle — keep dark hero/experience, lighten navigation selectively */
html[data-theme="light"] .site-header{background:rgba(249,252,255,.95);border-color:#dce6ef}html[data-theme="light"] .brand,html[data-theme="light"] .desktop-nav a.is-active,html[data-theme="light"] .desktop-nav a:hover{color:#14304f}html[data-theme="light"] .brand-mark{border-color:#b9cde5}html[data-theme="light"] .brand-copy small{color:#57718a}html[data-theme="light"] .desktop-nav a{color:#64788f}html[data-theme="light"] .desktop-nav a.is-active{color:#1c65bd}html[data-theme="light"] .icon-button,html[data-theme="light"] .menu-toggle{border-color:#c8daec;color:#142e4d}html[data-theme="light"] .menu-toggle span{background:#142e4d}html[data-theme="light"] .mobile-nav{background:#edf4fd}html[data-theme="light"] .mobile-nav a{color:#294a71;border-color:#cddcea}
.reveal{opacity:1;transform:translateY(0);transition:opacity .65s ease,transform .65s ease}.js .reveal{opacity:0;transform:translateY(20px)}.js .reveal.visible{opacity:1;transform:translateY(0)}
@media(max-width:1190px){.desktop-nav{gap:14px}.desktop-nav a{font-size:10px}.header-inner{gap:12px}.brand-copy{font-size:11px}.hero-grid{gap:40px}}
@media(max-width:1000px){.desktop-nav{display:none}.menu-toggle{display:grid}.mobile-nav:not([hidden]){display:block}.hero-grid{grid-template-columns:1fr 1fr;gap:30px}.hero h1{font-size:48px}.hero-desc{font-size:14px}.hero-visual{padding:20px}.flow-item strong{font-size:12px}.career-grid{gap:35px}.learning-layout,.feedback-grid{gap:35px}.projects-grid{gap:14px}.project-body{padding:19px}.project-body h3{font-size:19px}.project-art{height:205px}}
@media(max-width:760px){.shell{padding:0 20px}.section{padding:75px 0}.hero{padding:62px 0 28px}.hero-grid,.story-layout,.career-grid,.learning-layout,.feedback-grid{grid-template-columns:1fr}.hero h1{font-size:clamp(42px,8.6vw,66px)}.hero-visual{max-width:520px}.hero-bottom{margin-top:40px}.section-heading{margin-bottom:35px}.section-heading h2,.learning-intro h2,.feedback-grid h2{font-size:clamp(37px,8vw,48px)}.story-layout{gap:27px}.story-panel{padding:28px}.story-right{padding:0}.career-feature{position:static}.projects-grid{grid-template-columns:1fr}.project-card{max-width:570px;margin:auto;width:100%}.project-art{height:250px}.historic-credentials{grid-template-columns:1fr;max-width:550px}.credential-card{display:grid;grid-template-columns:44% 56%;align-items:stretch}.cert-image-button{height:100%;min-height:190px}.credential-card>div{padding:19px}.microsoft-grid{grid-template-columns:1fr}.learning-layout{gap:32px}.approach-banner{border-radius:0}.footer-inner{justify-content:center;text-align:center}.footer-links+small{margin:0 auto}.form-foot .btn{margin-left:auto}}
@media(max-width:460px){.brand-copy{display:none}.header-inner{height:66px}.mobile-nav{max-height:calc(100dvh - 66px)}.hero-pretitle{font-size:10px}.hero h1{font-size:42px}.hero-role{font-size:13px}.hero-actions{flex-direction:column}.hero-actions .btn{width:100%}.hero-trust{gap:9px 13px}.hero-visual{padding:17px}.flow-map{padding:24px 0 18px}.flow-item{grid-template-columns:37px 1fr auto;gap:9px}.flow-glyph{width:37px;height:37px}.flow-line{margin-left:17px}.hero-bottom{gap:10px}.hero-quote{display:none}.story-mini-stats{gap:8px}.project-art{height:215px}.credential-card{grid-template-columns:1fr}.cert-image-button{height:190px}.credential-subheading{align-items:flex-start;flex-direction:column}.ms-card{grid-template-columns:1fr;padding:21px}.learning-right{padding:20px}.learning-footer{flex-direction:column;align-items:start}.comment-form{padding:20px}.form-foot{align-items:flex-start}.footer-inner{flex-direction:column}.visual-foot span{font-size:7px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{transition:none;opacity:1;transform:none}.project-card,.btn,.cert-image-button img,#back-top{transition:none}}

/* Microsoft credential previews */
.ms-card{display:flex;flex-direction:column;gap:19px;padding:18px}.ms-card .ms-preview{border-radius:11px;width:100%;height:175px;background:#f2f6fb;padding:0;border:1px solid #e3eaf3}.ms-card .ms-preview img{object-fit:cover;width:100%;height:100%}.ms-card>div:last-child{padding:0 8px 9px}.ms-card h3{font-size:22px}

/* V2 professional light palette – keeps original structure and interactions */
.site-header, html[data-theme="light"] .site-header{background:rgba(250,252,255,.97);border-color:#e0e9f5;box-shadow:0 2px 16px rgba(20,49,82,.05)}
.brand, .desktop-nav a:hover,.desktop-nav a.is-active{color:#183657}.brand-mark{border-color:#cedde9}.brand-copy small{color:#65809d}.desktop-nav a{color:#526c87}
.icon-button,.menu-toggle{border-color:#c6d7e8;color:#17365a}.menu-toggle span{background:#17365a}.mobile-nav{background:#f6f9ff}.mobile-nav a{color:#1e3f63;border-color:#e0eaf4}
.hero{background:radial-gradient(ellipse at 79% 20%,#d7e9ff 0%,#eef5fe 42%,#f8fbff 100%);color:#162d4b;min-height:660px}
.hero-orbit{border-color:rgba(50,115,190,.12)}.hero h1 em{color:#2e6fc5}.hero-role{color:#284b72}.hero-role span{color:#7c9ab7}.hero-desc{color:#4f6680}.hero-pretitle{color:#2764b3}.eyebrow,.hero-trust>span{color:#60809e}.hero-bottom,.hero-quote{color:#7190ad}.btn-secondary{color:#23507e;background:white;border:1px solid #cadcf0}.btn-secondary:hover{background:#e4f1ff}
.hero-photo-card{background:#fff;padding:13px;border:1px solid #d5e4f3;box-shadow:0 25px 60px rgba(20,63,115,.12);max-width:380px;justify-self:center}
.hero-photo-card:before{display:none}.portrait-frame{border-radius:16px 16px 7px 7px;overflow:hidden;aspect-ratio:1/1;background:#e8eff8}.portrait-frame img{width:100%;height:100%;object-fit:cover;object-position:center 28%}.portrait-caption{padding:16px 12px 12px;color:#193555}.portrait-caption span{display:block;font-size:9px;letter-spacing:.12em;color:#3a79ba;font-weight:800}.portrait-caption strong{display:block;font-size:20px;line-height:1.3;margin:5px 0}.portrait-caption small{color:#607992;font-size:11px;line-height:1.5;display:block}
.section-dark{background:#eaf2fc;color:#173454}.section-dark .section-kicker{color:#2d6fbc}.section-dark .section-kicker span{border-color:#bed4ee}.section-heading-dark p{color:#5a7087}.section-heading-dark h2 span{color:#387dcc}
.career-feature{background:#fff;border-color:#cfdeed;box-shadow:0 12px 30px rgba(36,74,116,.06)}.career-feature p,.timeline-body p{color:#61768c}.career-feature h3,.timeline-body h3{color:#1a3858}.career-label,.timeline-date{color:#3176bd}.career-keywords span{color:#39628e;border-color:#bfd4e7;background:#f4f9ff}.timeline:before{background:#b5cce5}.timeline li:before{background:#edf5ff;border-color:#3b8ce0}.timeline-body>span{color:#56708c}
.projects-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.project-art.project-video-art{height:208px;padding:0;background:#e7eef7;position:relative}.project-video-art img{width:100%;height:100%;object-fit:cover;filter:saturate(.85) contrast(.97)}.project-video-art:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(5,25,53,.56),transparent 75%);z-index:1}.project-video-art:after{display:none}.art-overlay-tag{position:absolute;z-index:2;top:16px;left:18px;color:white;font-size:9px;font-weight:850;letter-spacing:.15em;background:rgba(13,47,88,.67);padding:6px 10px;border-radius:6px}.video-art-play{position:absolute;z-index:2;top:50%;left:50%;transform:translate(-50%,-50%);width:53px;height:53px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#255ea2;box-shadow:0 11px 30px rgba(0,0,0,.24);font-size:18px}
.credential-subheading span:last-child{letter-spacing:.06em}.ms-card .ms-preview{display:block;cursor:pointer}.ms-card .ms-preview:hover img{transform:scale(1.035)}.ms-card .ms-preview img{transition:transform .2s ease}
@media(max-width:760px){.hero-grid{grid-template-columns:1fr}.hero-photo-card{max-width:330px;width:100%}.projects-grid{grid-template-columns:1fr}.project-art.project-video-art{height:235px}}
@media(min-width:761px) and (max-width:1080px){.projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-grid{gap:35px}}
@media(prefers-reduced-motion:reduce){.ms-card .ms-preview img{transition:none}}

/* Professional portrait in the hero, AI illustration in the learning section. */
.approach-banner{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:26px;align-items:center;padding:20px 24px 20px 32px;background:#e9f3fd;border:1px solid #d0e2f2;color:#1c3c5e;box-shadow:0 12px 38px rgba(30,75,121,.06)}
.approach-copy>span{display:block;font-size:10px;letter-spacing:.18em;color:#2d6dad;font-weight:850}
.approach-copy>p{font-size:19px;line-height:1.55;margin:10px 0;font-weight:600;letter-spacing:-.025em}
.approach-copy>small{display:block;color:#557493;line-height:1.7;font-size:12px;max-width:650px}
.approach-art{margin:0;height:210px;overflow:hidden;border-radius:13px;border:1px solid #c5daee;background:#cbddec;box-shadow:0 7px 20px rgba(23,55,89,.13)}
.approach-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 42%}
@media(max-width:760px){.approach-banner{grid-template-columns:1fr;padding:24px 20px;gap:20px;border-radius:15px}.approach-art{height:190px;max-width:100%}}

/* Historic certificate gallery: clear preview, accessible next/previous buttons. */
.cert-heading { min-width:0; }
.cert-heading h2 { margin:0 0 3px; line-height:1.3; }
.cert-heading p { margin:0; font-size:12px; color:#607087; }
.cert-gallery-stage { display:grid; grid-template-columns:56px minmax(0,1fr) 56px; align-items:stretch; background:#eef3f9; }
.cert-gallery-stage .cert-full { min-width:0; padding:18px 0; display:flex; align-items:center; justify-content:center; overflow:auto; max-height:calc(100dvh - 182px); }
.cert-gallery-stage .cert-full img { width:auto; max-width:100%; max-height:calc(100dvh - 227px); object-fit:contain; }
.cert-gallery-arrow { align-self:center; justify-self:center; display:flex; align-items:center; justify-content:center; height:48px; width:42px; border:1px solid #c4d5e8; border-radius:11px; background:#fff; color:#1c5599; font-size:32px; line-height:1; box-shadow:0 3px 12px #12345414; cursor:pointer; }
.cert-gallery-arrow:hover { background:#e3efff; border-color:#9ebfe8; }
.cert-gallery-arrow:focus-visible { outline:3px solid #3477de; outline-offset:3px; }
.cert-gallery-arrow[hidden] { visibility:hidden; display:block; pointer-events:none; }
.cert-gallery-bottom { display:flex; align-items:center; justify-content:center; gap:20px; flex-wrap:wrap; padding:9px 18px 13px; background:#fff; font-size:12px; color:#526479; }
#cert-counter { font-weight:800; color:#205ba3; }
@media(max-width:650px) {
  .cert-gallery-stage { grid-template-columns:40px minmax(0,1fr) 40px; }
  .cert-gallery-stage .cert-full {padding:12px 0;max-height:calc(100dvh - 197px);}
  .cert-gallery-stage .cert-full img {max-height:calc(100dvh - 235px);}
  .cert-gallery-arrow {width:32px;height:44px;font-size:26px;}
  .cert-gallery-bottom {gap:5px;font-size:11px;}
  .cert-gallery-hint {text-align:center;width:100%;}
  .cert-heading h2 {font-size:15px;}
}
@media(prefers-reduced-motion:reduce) { .cert-gallery-arrow {transition:none;} }

/* vNext: personal photo belongs in the compact brand mark, not the hero. */
.brand-avatar {width:54px;height:54px;object-fit:cover;object-position:center 28%;border-radius:13px;border:1px solid #c9daeb;background:#fff;flex-shrink:0;box-shadow:0 2px 10px rgba(26,61,97,.08)}
.hero-grid {grid-template-columns:minmax(0,1fr);gap:0;}
.hero-copy {max-width:990px;}
.hero {min-height:0;padding-top:82px;padding-bottom:45px;}
.hero h1 {max-width:970px;}
.hero-desc {max-width:785px;}
.hero-bottom {margin-top:56px;}
@media(max-width:760px) {.hero-grid{grid-template-columns:1fr}.hero{padding-top:60px}.brand-avatar{width:47px;height:47px}}
@media(max-width:460px) {.brand-avatar{width:43px;height:43px}.brand-copy{display:block;font-size:10px}.brand-copy small{font-size:7px;letter-spacing:.07em}.header-inner{gap:9px}.brand{gap:8px}}

/* FINAL 2026 portfolio: bright professional palette, six-work grid, rich media */
.hero {padding:66px 0 33px; background:radial-gradient(ellipse at 85% 15%,#d5e8ff 0%,#eff7ff 42%,#f8fbff 100%);min-height:0}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;gap:36px;max-width:1370px}
.hero-copy{min-width:0;max-width:740px}.hero h1{font-size:clamp(48px,4.2vw,72px);letter-spacing:-.055em;line-height:1.12;margin-bottom:25px}.hero-desc{max-width:690px}
.hero-ai-card{margin:0;position:relative;min-width:0;justify-self:center;width:100%;max-width:490px;border-radius:24px;overflow:hidden;border:1px solid #c4d8eb;background:#def0ff;box-shadow:0 24px 65px rgba(33,87,139,.15)}
.hero-ai-card img{width:100%;height:auto;display:block;object-fit:contain;aspect-ratio:1122/1402}
.hero-ai-card figcaption{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(0deg,rgba(7,40,76,.78),transparent);padding:26px 12px 12px;text-align:center;pointer-events:none}
.ai-graphic-label{font-size:10px;font-weight:800;letter-spacing:.08em;color:#fff}
.hero-bottom{margin-top:32px}.hero-trust{gap:15px}
.approach-banner{grid-template-columns:1fr}.approach-copy{max-width:980px}
.project-card-recent{border-color:#bbd8f3;box-shadow:0 17px 44px rgba(24,86,143,.1)}
.projects-grid{align-items:stretch;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.project-body{display:flex;flex-direction:column;flex:1}.project-body p{flex:1}.project-actions{margin-top:auto;display:flex;flex-direction:column;gap:9px}
.watch-button{width:100%}.download-demo{display:flex;align-items:center;justify-content:center;text-decoration:none;font-weight:750;font-size:12px;color:#1d67aa;padding:10px;border-radius:10px;border:1px solid #cddff2;background:#f7fbff;transition:background .2s}
.download-demo:hover{background:#e6f1fc}.video-info{font-size:11px;color:#62748b;text-align:center;padding:8px}
.media-dialog{width:min(1030px,calc(100vw - 28px));max-height:95dvh}.media-playlist{display:flex;gap:8px;flex-wrap:wrap;padding:15px 20px 0}.media-playlist[hidden]{display:none}.playlist-button{font:700 12px/1.4 inherit;border:1px solid #cfdeed;color:#2e5278;background:#f6f9ff;padding:9px 12px;border-radius:10px;cursor:pointer}.playlist-button.selected{background:#dfeeff;border-color:#7bb2eb;color:#0e5096}.modal-actions{padding:0 20px 20px;display:flex;align-items:center;gap:16px;justify-content:space-between;flex-wrap:wrap}.modal-download{display:inline-flex;padding:10px 15px;background:#e7f2ff;color:#1b5b98;border:1px solid #b8d3ed;border-radius:10px;text-decoration:none;font-weight:800;font-size:13px}.modal-actions>span{color:#7a8899;font-size:11px}.modal-download[hidden]{display:none}
.hyatt-memory{margin:16px 0 0;display:grid;grid-template-columns:170px minmax(0,1fr);gap:16px;align-items:center;border:1px solid #ccdfef;border-radius:13px;background:#f7fbff;padding:12px}.hyatt-photo-button{border:0;background:transparent;cursor:zoom-in;padding:0;overflow:hidden;border-radius:9px;height:auto;min-height:0}.hyatt-photo-button img{display:block;width:100%;height:auto;object-fit:cover;aspect-ratio:1255/679}.hyatt-memory figcaption{display:flex;flex-direction:column;gap:5px}.hyatt-memory strong{font-size:12px;color:#245c98}.hyatt-memory span{font-size:12px;color:#526e89;line-height:1.55}
@media(max-width:1100px){.hero h1{font-size:clamp(45px,4.8vw,60px)}.hero-grid{gap:28px}.hero-ai-card{max-width:400px}}
@media(max-width:760px){.hero-grid{grid-template-columns:1fr}.hero-copy{max-width:100%}.hero-ai-card{width:min(100%,400px);margin:26px auto 0}.projects-grid{grid-template-columns:1fr}.hero h1{font-size:clamp(42px,8vw,58px)}.hyatt-memory{grid-template-columns:1fr}.hyatt-photo-button{max-width:440px}}
@media(min-width:761px) and (max-width:1080px){.projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.download-demo{transition:none}}

.project-more{margin:6px 0 12px;font-size:12px;color:#52708c}.project-more summary{cursor:pointer;font-weight:750;color:#2568ad}.project-more p{padding:10px 12px;background:#f1f8ff;border:1px solid #d8e9fa;border-radius:9px;font-size:11px;color:#4d6883;line-height:1.65}


/* Credential gallery refinement — Dec 2026. Keep original cards and order. */
@media (min-width: 761px) {
  .historic-credentials .cert-image-button { height: 264px; padding: 8px; }
  .microsoft-grid .ms-card .ms-preview { height: 232px; }
}
.cert-dialog {
  width: min(1210px, calc(100vw - 18px));
  max-height: calc(100dvh - 16px);
}
.cert-dialog .dialog-top { padding: 14px 24px; }
.cert-dialog .cert-gallery-stage {
  grid-template-columns: 60px minmax(0,1fr) 60px;
}
.cert-dialog .cert-gallery-stage .cert-full {
  padding: 8px 0;
  max-height: calc(100dvh - 155px);
}
.cert-dialog .cert-gallery-stage .cert-full img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 175px);
  object-fit: contain;
  box-shadow: 0 9px 24px #0c203018;
}
@media(max-width:760px){
  .historic-credentials .cert-image-button { min-height: 215px; padding: 8px; }
  .microsoft-grid .ms-card .ms-preview { height: 215px; }
}
@media(max-width:650px){
  .cert-dialog { width: calc(100vw - 8px); }
  .cert-dialog .dialog-top { padding: 11px 12px; }
  .cert-dialog .cert-gallery-stage { grid-template-columns: 35px minmax(0,1fr) 35px; }
  .cert-dialog .cert-gallery-stage .cert-full { padding: 6px 0; max-height: calc(100dvh - 166px); }
  .cert-dialog .cert-gallery-stage .cert-full img { max-height: calc(100dvh - 189px); }
  .cert-dialog .cert-gallery-arrow { width: 30px; }
}
@media(max-width:460px){
  .historic-credentials .cert-image-button { height: 235px; min-height: 235px; }
}

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Portfolio video demos: natural ratio for white title header above screen, no crop or stretch */
.media-content video{aspect-ratio:auto!important;height:auto;max-height:calc(100dvh - 185px);object-fit:contain;}

/* Premium bilingual switch: same visual identity, two complete localized pages. */
.language-switch{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  min-width:70px;height:35px;padding:0 12px;
  border:1px solid #c4dbf3;border-radius:11px;
  background:linear-gradient(145deg,#eef7ff,#dfefff);
  color:#215d9c; font-family:"Segoe UI",Tahoma,Arial,sans-serif;
  font-weight:800;font-size:12px;letter-spacing:0;
  box-shadow:0 2px 6px rgba(30,89,145,.07);
  transition:background .2s,box-shadow .2s,transform .2s;
  white-space:nowrap;direction:ltr;
}
.language-switch:hover{background:#cce7ff;box-shadow:0 6px 16px rgba(38,102,179,.15);transform:translateY(-1px)}
.language-globe{font-size:18px;line-height:1;color:#4086c7;font-weight:500}
.language-caption{line-height:1.1}
.header-tools{flex-shrink:0}
@media(max-width:1190px){.header-inner{gap:9px}.header-tools{gap:7px}.desktop-nav{gap:11px}}
@media(max-width:460px){.language-switch{min-width:62px;padding:0 9px;height:34px}.header-inner{gap:6px}}

/* Arabic version is a genuine RTL layout, not a mirrored screenshot. */
html[lang="ar"]{scroll-padding-top:90px;}
html[lang="ar"] body{
  font-family:Tahoma,"Segoe UI","Noto Sans Arabic",Arial,sans-serif;
  direction:rtl;text-align:right;letter-spacing:normal;
}
html[lang="ar"] :is(h1,h2,h3,p,.section-kicker,.hero-pretitle,.hero-quote,.eyebrow,.section-heading,.story-panel-label,.career-label,.timeline-date,.art-overlay-tag,.credential-subheading,.cert-year,.learning-topline,.approach-copy>span){letter-spacing:0}
html[lang="ar"] :is(h1,h2,h3){line-height:1.32}
html[lang="ar"] p{line-height:1.95}
html[lang="ar"] .desktop-nav{margin-left:0;margin-right:auto}
html[lang="ar"] .desktop-nav a{font-size:12px}
html[lang="ar"] .header-inner{flex-direction:row}
html[lang="ar"] .brand-copy{direction:ltr;text-align:left}
html[lang="ar"] .brand-avatar{flex-shrink:0}
html[lang="ar"] .hero h1{font-size:clamp(43px,4vw,68px);line-height:1.35;letter-spacing:-.025em}
html[lang="ar"] .hero-role{line-height:1.8}
html[lang="ar"] .hero-desc{font-size:16px;line-height:2}
html[lang="ar"] .hero-pretitle{font-size:13px}
html[lang="ar"] .hero-actions .btn{font-size:13px}
html[lang="ar"] .section-heading h2,html[lang="ar"] .learning-intro h2{font-size:clamp(34px,4.6vw,56px)}
html[lang="ar"] .section-kicker{font-size:12px}
html[lang="ar"] .section-heading p{line-height:1.95}
html[lang="ar"] .story-quote{padding-left:0;border-left:0;padding-right:20px;border-right:3px solid #4789ec;letter-spacing:0;line-height:1.8}
html[lang="ar"] .story-panel p,html[lang="ar"] .story-right p{line-height:2}
html[lang="ar"] .big-year span{padding-left:0;padding-right:8px}
html[lang="ar"] .timeline{padding-left:0;padding-right:30px}
html[lang="ar"] .timeline:before{left:auto;right:5px}
html[lang="ar"] .timeline li:before{left:auto;right:-29px}
html[lang="ar"] .timeline-body p{line-height:1.95}
html[lang="ar"] .art-overlay-tag{left:auto;right:18px}
html[lang="ar"] .video-info{line-height:1.7}
html[lang="ar"] .credential-subheading{line-height:1.8}
html[lang="ar"] .learning-list>div{grid-template-columns:26px minmax(0,1fr)}
html[lang="ar"] .learning-list small{line-height:1.8}
html[lang="ar"] .approach-copy>p{line-height:1.85}
html[lang="ar"] .approach-copy>small{line-height:2}
html[lang="ar"] .footer-links+small{margin-left:0;margin-right:auto}
html[lang="ar"] #back-top{right:auto;left:24px}
html[lang="ar"] .cert-gallery-stage,html[lang="ar"] .cert-gallery-bottom{direction:ltr}
html[lang="ar"] .cert-dialog .dialog-top,html[lang="ar"] .media-dialog .dialog-top{direction:rtl}
html[lang="ar"] .cert-heading{text-align:right}
html[lang="ar"] .bidi-isolate{unicode-bidi:isolate}
html[lang="ar"] .tags,html[lang="ar"] .career-keywords{direction:ltr;justify-content:flex-end}
html[lang="ar"] .hero-ai-card{direction:ltr}
html[lang="ar"] .project-card{text-align:right}
html[lang="ar"] .media-dialog .media-playlist{direction:rtl}
html[lang="ar"] .footer-brand{direction:ltr}
@media(max-width:760px){
 html[lang="ar"] .hero h1{font-size:clamp(36px,7vw,52px)}
 html[lang="ar"] .hero-desc{font-size:14px}
 html[lang="ar"] .section-heading h2,html[lang="ar"] .learning-intro h2{font-size:clamp(32px,7vw,46px)}
 html[lang="ar"] .hero-ai-card{margin:24px auto 0}
}
@media(max-width:460px){
 html[lang="ar"] .hero{padding-top:43px}
 html[lang="ar"] .hero h1{font-size:clamp(32px,8.15vw,37px);line-height:1.42}
 html[lang="ar"] .hero-actions{margin:25px 0}
}
