/* HamidAI — premium portfolio refinement, November 2026. */
:root{--ink:#162c30;--muted:#5c6c6d;--paper:#faf9f6;--night:#10262c;--gold:#e4c793;--line:#dfe5df}
body{background:var(--paper)} .header{min-height:86px;background:#10262cf5;border-bottom:1px solid #ffffff18}
.header .signature-brand img{width:205px;height:52px}.header nav{gap:22px}.header nav a{font-size:14px}.header .nav-actions button{font-size:14px}
.hero{background:#10262c;gap:60px;padding-block:58px 55px;grid-template-columns:1.15fr 1fr;isolation:isolate}
.hero:after{display:none}.hero-copy{padding:0}.hero .eyebrow{font-size:14px;letter-spacing:.09em;margin-bottom:28px}
.hero-specialisms{display:flex;align-items:center;gap:12px;color:#a9c0b8;font-size:12px;letter-spacing:.12em;margin-bottom:26px}
.flat-icon{width:28px;height:28px;flex-shrink:0}.hero-specialisms .flat-icon{width:25px;height:25px;color:var(--gold)}
.hero .intro{font-size:16px;margin-bottom:13px;color:#c7d4cc}.hero h1{font-size:clamp(3.1rem,5vw,4.6rem);line-height:1.12;letter-spacing:-.055em}
.hero-description{font-size:17px;line-height:1.8;max-width:540px;margin-top:25px;color:#c2d0cb}
.hero-buttons{margin-block:30px;gap:26px}.hero-buttons .button{padding:14px 22px;border-radius:7px}
.hero-bottom{border-top:1px solid #ffffff20;padding-top:23px;gap:16px}.hero-bottom p,.hero-bottom a{font-size:14px}
.hero .portrait{min-height:540px;border-radius:140px 140px 12px 12px;box-shadow:none;border:1px solid #e4c79324}
.hero .portrait>img{object-position:center 35%}.portrait-caption{backdrop-filter:none;background:#10262ce8;border-radius:8px}.portrait-caption>span{font-size:19px}.portrait-caption small{font-size:14px}
.skill-ribbon{background:#f0f1eb;padding-block:24px;border-bottom:1px solid var(--line)}
.ribbon-icon{width:48px;height:48px;border-radius:9px;transform:none!important;box-shadow:none;background:#e0e8dd}
.ribbon-icon svg{width:29px;height:29px;transform:none!important}.ribbon-item b{font-size:13px;letter-spacing:.11em}
.section{padding-block:88px}.eyebrow{font-size:13px;letter-spacing:.11em}h2{font-size:clamp(2rem,3.3vw,3.2rem);letter-spacing:-.045em}
.booksayara{background:#f8f7f3;border-bottom:1px solid var(--line)}
.case-intro{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:end;margin-bottom:40px}
.case-intro h2{line-height:1.2}.case-intro h2 em{color:#58725e}.case-summary>p{font-size:17px;color:var(--muted);line-height:1.8;max-width:590px}
.case-actions{display:flex;align-items:center;gap:26px;flex-wrap:wrap;margin-top:24px}.case-live{background:#163b36;color:#fff;padding:13px 22px;border-radius:6px;font-size:15px}
.case-actions .text-button{font-size:15px}.case-preview{border:1px solid #d6ddd4;border-radius:12px;overflow:hidden;box-shadow:0 20px 55px #10262c0b;background:#fff}
.case-browser{display:flex;align-items:center;justify-content:space-between;gap:14px;height:44px;padding:0 20px;background:#e9ede6;color:#58695e;font-size:12px;letter-spacing:.06em}
.case-dots{display:flex;gap:5px}.case-dots i{display:block;width:7px;height:7px;background:#a7b5a5;border-radius:50%}
.case-cover{padding:0;border:0;display:block;width:100%;background:#fff;cursor:zoom-in}.case-cover img{display:block;width:100%;height:auto}
.case-caption{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:19px 24px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}.case-caption strong{font-size:18px;color:var(--ink)}
.case-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:36px;margin-top:34px}
.case-features article{padding:27px 0 22px;border-bottom:1px solid #dce2d7}
.case-features .flat-icon{color:#58725e;width:29px;height:29px;margin-bottom:15px}
.case-features h3{font-size:18px;letter-spacing:-.025em;line-height:1.45;margin-bottom:9px}
.case-features p{font-size:15px;line-height:1.75;color:var(--muted);max-width:330px}
.about{background:#fff}.expertise{background:#eff2ec}.cap{border:1px solid #dce4d8;box-shadow:none;border-radius:12px}
.cap-icon{border-radius:9px;transform:none!important;box-shadow:none}.cap-icon svg{transform:none!important}
.ai-studio{background:#f8f7f3}.ai-panel{box-shadow:none!important}.ai-mini-icon .flat-icon{width:27px;height:27px}.footer-robot-note>.flat-icon{width:38px;height:38px;color:#58725e}
.project{border-color:#dce3db;border-radius:12px;box-shadow:none}.project:hover{box-shadow:0 12px 32px #122c3009;border-color:#b3c3b0}
.project-image{background:#e9eee8!important;border-radius:8px}.project-image img{border-radius:4px}
.booksayara-project{background:#fff;border-color:#b6c5b3;grid-template-columns:1.3fr 1fr}.booksayara-project .project-image{padding:35px 14px 14px;min-height:310px}
.booksayara-project .project-image img{width:100%;height:100%;object-fit:contain}
.featured-label{background:#e9eee4;color:#446247;font-size:12px;letter-spacing:.07em;border-radius:3px;padding:6px 10px}
.featured-project .project-info h3{font-size:2.3rem;letter-spacing:-.045em}.featured-project .project-info{padding:32px}
.project-info .eyebrow{font-size:12px;letter-spacing:.055em}.project-info p{font-size:16px;line-height:1.75}.open-icon .flat-icon{width:19px;height:19px}
.filters button{border-radius:6px;font-size:14px}.filters button[aria-pressed=true]{background:#173b35;color:#fff}.text-button{font-size:15px}
.contact{background:#10262c}.contact:before{display:none}.footer-robot-note{background:#eef1eb;border-radius:10px}.footer-robot-note svg{animation:none}
html[lang=ar] .hero-specialisms{letter-spacing:0;font-size:13px}html[lang=ar] .case-intro h2{line-height:1.55}html[lang=ar] .case-features h3{line-height:1.6}
@media(max-width:1200px){.header{gap:18px}.header nav{gap:14px}.header .signature-brand img{width:185px}.hero{gap:35px}.hero .portrait{min-height:550px}.case-intro{gap:36px}}
@media(max-width:1080px){.header nav a{font-size:16px}.header .nav-actions button{font-size:15px}.case-features{column-gap:24px}.hero h1{font-size:3.6rem}}
@media(max-width:850px){.hero{grid-template-columns:1fr;gap:35px}.hero .portrait{min-height:0;height:530px;max-width:560px}.hero h1{font-size:4.2rem}.hero-description{max-width:620px}.case-intro{grid-template-columns:1fr;gap:20px}.case-summary>p{max-width:680px}.case-features{grid-template-columns:repeat(2,minmax(0,1fr))}.booksayara-project{grid-template-columns:1fr}.booksayara-project .project-image{min-height:0;aspect-ratio:1.75}.section{padding-block:65px}}
@media(max-width:640px){.header{min-height:80px}.header .signature-brand img{width:clamp(120px,35vw,165px);height:42px}.header .nav-actions button{font-size:14px;padding-inline:10px}.hero{padding-block:36px}.hero .eyebrow{font-size:12px;letter-spacing:.04em;line-height:1.8;margin-bottom:21px}.hero-specialisms{font-size:10px;letter-spacing:.06em;gap:9px;margin-bottom:22px}.hero h1{font-size:clamp(2.7rem,10.6vw,4rem)}.hero-description{font-size:16px;margin-top:22px}.hero .portrait{height:410px;border-radius:100px 100px 10px 10px}.hero-bottom a{padding-inline-start:0}.hero-bottom p{font-size:14px}.hero-buttons{gap:21px}.hero-buttons .button{font-size:15px}.skill-ribbon{padding-block:7px}.ribbon-item{padding-block:12px}.ribbon-icon{width:38px;height:38px}.ribbon-icon svg{width:25px;height:25px}.ribbon-item b{font-size:12px;letter-spacing:.08em}.section{padding-block:52px}.eyebrow{font-size:12px}.case-intro{margin-bottom:28px}.case-intro h2{font-size:2.2rem}.case-summary>p{font-size:16px}.case-actions{gap:19px}.case-browser{height:36px;padding-inline:12px;font-size:10px}.case-browser>span:last-child{display:none}.case-caption{padding:14px;align-items:flex-start;flex-direction:column;gap:4px;font-size:12px}.case-caption strong{font-size:16px}.case-features{grid-template-columns:1fr;gap:0;margin-top:20px}.case-features article{display:grid;grid-template-columns:30px 1fr;column-gap:16px;padding-block:24px}.case-features .flat-icon{grid-row:span 2;margin-top:2px}.case-features h3{font-size:17px;margin-bottom:6px}.case-features p{font-size:15px;max-width:none}.featured-project .project-info{padding:23px 15px}.featured-project .project-info h3{font-size:2rem}.booksayara-project .project-image{padding:30px 10px 10px;aspect-ratio:1.65}.project-info .eyebrow{font-size:12px}.featured-label{font-size:11px}.filters button{font-size:14px;padding:10px 12px}html[lang=ar] .hero h1{font-size:2.8rem}.footer-robot-note>.flat-icon{width:30px;height:30px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Readable supporting text across both languages. */
.eyebrow,.hero-specialisms,.hero .eyebrow,.ribbon-item b,.featured-label,.project-info .eyebrow,.case-browser,.case-caption,.case-caption strong{font-size:14px}.case-features p,.case-summary>p{font-size:16px}.hero-specialisms{flex-wrap:wrap;letter-spacing:.04em}.case-browser{letter-spacing:0}
