/*
Theme Name: Imtiaz BAW Portfolio
Author: Imtiaz Ahmed Malik
Description: Responsive IBM BAW portfolio inspired by the approved October 2026 design. Editable through the WordPress Customizer.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: imtiaz-baw
*/
:root{--navy:#031728;--blue:#007bff;--text:#0b1930;--muted:#425773;--pale:#f1f7fc;--border:#e1eaf2}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:80px}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);line-height:1.55;background:white}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(34px,3.5vw,54px);line-height:1.07;letter-spacing:-1.5px}h2{font-size:clamp(26px,2.5vw,34px);line-height:1.15;letter-spacing:-.7px;margin-bottom:14px}h3{font-size:17px;line-height:1.25;margin-bottom:9px}p{color:var(--muted)}.wrap{max-width:1180px;width:calc(100% - 64px);margin:auto}.header{background:var(--navy);color:white}.nav{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:76px}.brand{font-weight:700;font-size:19px;color:white;white-space:nowrap}nav{display:flex;align-items:center;gap:23px}nav a{font-size:13px;color:white}nav ul{display:flex;list-style:none;gap:20px;padding:0}nav .sub-menu{display:none}.button{display:inline-flex;align-items:center;justify-content:center;background:var(--blue);color:white;padding:13px 20px;border-radius:5px;font-size:14px;font-weight:700;border:1px solid var(--blue);text-decoration:none}.button:hover{background:#0065d3;text-decoration:none}.button.small{font-size:12px;padding:10px 15px}.button.outline{background:transparent;color:var(--blue)}.button.light{color:white;border-color:#a5b4c4}.hero{background:linear-gradient(110deg,#020f1b,#04253d);color:white;overflow:hidden}.hero-inner{position:relative;min-height:480px;display:flex;align-items:center}.hero-copy{position:relative;z-index:1;width:51%;padding:44px 0}.hero-copy h1{max-width:600px;color:white}.hero-copy h1::first-line{color:white}.hero-copy p{color:#c9d6e2;max-width:490px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.8px;margin-bottom:15px}.blue{color:var(--blue)}.hero-art{width:58%;height:100%;position:absolute;right:-32px;bottom:0;object-fit:cover;object-position:center;mask-image:linear-gradient(to right,transparent,black 12%)}.actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-top:25px}.resume{color:white;font-size:13px}.hero-badges{display:flex;flex-wrap:wrap;gap:20px;font-size:11px;margin-top:35px;color:#cbdbea}.stats{padding:30px 0}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr)}.stat{display:flex;gap:17px;padding:0 20px;border-right:1px solid var(--border)}.stat:first-child{padding-left:0}.stat:last-child{border:0}.stat strong{font-size:26px;line-height:1.1}.stat p{margin:3px 0;font-size:13px}.stat small{font-size:11px;color:var(--muted)}.stat-icon,.icon{color:var(--blue);background:#eff6ff;border:1px solid #e6f0ff;border-radius:10px;font-size:28px;padding:3px 12px;display:inline-block;align-self:flex-start}.section{padding:44px 0}.pale{background:linear-gradient(110deg,#f4f9fd,#eef5fc)}.section-intro{max-width:740px;margin-bottom:26px;font-size:15px}.grid{display:grid;gap:20px}.services{grid-template-columns:repeat(4,1fr)}.card{background:white;border:1px solid var(--border);border-radius:7px;padding:24px}.card p{font-size:14px;margin-bottom:0}.card .icon{margin-bottom:16px}.about-grid{display:grid;grid-template-columns:40% 1fr;gap:44px;align-items:center}.about-photo{width:100%;border-radius:8px;max-height:410px;object-fit:cover}.about-grid p{font-size:15px}.about-highlights{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:25px 0}.about-highlights h3{font-size:13px}.about-highlights p{font-size:11px}.tech-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:12px;margin-top:26px}.tech{padding:18px 8px;text-align:center}.tech .icon{padding:0;background:none;border:0;margin-bottom:10px}.tech h3{font-size:13px}.tech p{font-size:11px}.subsection{padding-top:38px}.project-grid{grid-template-columns:repeat(3,1fr);margin-top:22px}.project{padding:0 0 22px;overflow:hidden}.project h3,.project p,.project>a{margin-left:20px;margin-right:20px}.project-art{padding:38px 20px;background:linear-gradient(135deg,#04273d,#075888);color:#bedfff;font-size:12px;margin-bottom:20px}.project>a,.post>a{display:inline-block;margin-top:16px;font-size:13px;font-weight:700}.post img{width:100%;border-radius:4px;max-height:180px;object-fit:cover;margin-bottom:15px}.post small{color:var(--muted)}.post h3{margin-top:10px}.testimonials{background:var(--navy);color:white}.testimonials .card{background:#142c3f;border:0;margin:0}.testimonials p,.testimonials cite{color:#d5e4f1}.contact-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}.contact p{margin-bottom:0}.footer{background:#020f1b;color:white;padding:30px 0 18px}.footer p{color:#c2cfdc;font-size:13px}.footer a{display:block;color:#bfdefd;font-size:13px;margin:6px 0}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:50px}.copyright{border-top:1px solid #1c3041;margin-top:28px;padding-top:18px;font-size:11px;color:#aab9c8}.copyright a{display:inline;margin-left:20px}.reading{max-width:850px}.entry{margin-bottom:20px}.entry-content img{height:auto}.entry-content{overflow-wrap:anywhere}.entry-content .alignwide{max-width:100%}.skip{position:absolute;left:-9999px}.skip:focus{left:10px;top:10px;background:white;padding:10px;z-index:99}:focus-visible{outline:3px solid #52b9ff;outline-offset:4px}.menu-toggle{display:none}section[id]{scroll-margin-top:20px}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
@media(max-width:1000px){.connect{display:none}nav{gap:14px}.services{grid-template-columns:repeat(2,1fr)}.tech-grid{grid-template-columns:repeat(4,1fr)}.hero-copy{width:55%}.hero-art{width:52%;object-position:70% center}.stat{padding:0 12px;gap:9px}.stat-icon{display:none}}
@media(max-width:700px){.wrap{width:calc(100% - 36px)}.nav{min-height:65px;flex-wrap:wrap;gap:0}.brand{font-size:17px}.menu-toggle{display:block;background:transparent;color:white;border:1px solid #59758f;border-radius:4px;padding:8px 12px}nav{display:none;width:100%;padding:16px 0;flex-direction:column;align-items:flex-start}nav.open{display:flex}nav ul{flex-direction:column}.hero-inner{display:block}.hero-copy{width:100%;padding:35px 0 16px}.hero-copy h1{max-width:510px}.hero-art{position:relative;right:auto;width:100%;height:300px;object-fit:contain;object-position:center;mask-image:none;display:block}.hero-badges{margin-top:24px}.stats-grid{grid-template-columns:repeat(2,1fr);gap:22px}.stat{padding:0;border:0}.stat strong{font-size:23px}.section{padding:32px 0}.services{gap:12px}.card{padding:17px}.card h3{font-size:15px}.card p{font-size:13px}.about-grid{grid-template-columns:1fr;gap:25px}.about-photo{max-height:360px;object-position:top}.about-highlights{gap:8px}.tech-grid{grid-template-columns:repeat(2,1fr)}.project-grid{grid-template-columns:1fr}.contact-inner{align-items:flex-start;flex-direction:column}.footer-grid{grid-template-columns:1fr;gap:20px}.project{padding:0 0 22px}.project h3,.project p,.project>a{margin-left:17px}.reading h1{font-size:32px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Bundled SVG icons: crisp at every display size, no font/CDN dependency. */
.portfolio-icon{display:inline-block;width:24px;height:24px;max-width:none;vertical-align:middle;flex-shrink:0}
.icon,.stat-icon{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:9px}
.hero-badges>span{display:inline-flex;align-items:center;gap:7px}.hero-badges .portfolio-icon{width:19px;height:19px}
.about-highlights h3 .portfolio-icon{width:20px;height:20px;margin-right:3px}
.tech .icon{min-height:32px;padding:2px}.tech .portfolio-icon{width:29px;height:29px}
.stat-icon .portfolio-icon{width:30px;height:30px}
@media(max-width:1000px){.stat-icon{display:inline-flex;min-width:34px;min-height:34px;padding:5px}.stat-icon .portfolio-icon{width:24px;height:24px}}
@media(max-width:420px){.stat{gap:7px}.stat-icon{min-width:28px;min-height:28px;padding:2px}.stat p{font-size:12px}}
