/* Rasheed Web Studio — layout refresh, 2026-11: explicit user-directed changes */
:root{--max:1160px}
.topline{display:none!important}
.site-header{background:var(--bg);border-bottom:1px solid var(--border)}
.header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);height:72px;gap:18px;align-items:center}
.header-actions{grid-column:1;justify-self:start;display:flex;align-items:center;gap:8px}
.site-nav{grid-column:2;justify-self:center;gap:9px;display:flex;align-items:center}
.site-nav a{font-size:13px;padding:9px 14px;border-radius:9px;transition:background .2s,color .2s;color:var(--muted)}
.site-nav a:hover,.site-nav a[aria-current="page"]{color:var(--text);background:var(--hover)}
.brand{grid-column:3;justify-self:end;gap:11px;direction:ltr;transition:opacity .2s}
.brand:hover{opacity:.77}
.brand-mark{height:35px;width:35px}
.brand-name b{font-size:24px}
.brand-name small{font-size:8px;letter-spacing:3.1px;margin-top:6px}
.header-actions .icon-btn{background:transparent;width:39px;height:39px;border-color:var(--border);border-radius:10px}
.header-actions .icon-btn:hover{background:var(--surface)}
.site-footer{margin-top:0;border-top:1px solid var(--border);background:var(--surface)}
.footer-main{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;min-height:100px;padding-top:20px;padding-bottom:18px}
.footer-links{grid-column:1;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.footer-links a{font-size:13px;color:var(--muted);border-radius:8px;padding:7px 9px;transition:background .2s,color .2s}
.footer-links a:hover{color:var(--text);background:var(--hover)}
.footer-whatsapp{grid-column:2;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:13px;color:var(--text);padding:9px 13px;border:1px solid var(--border);border-radius:10px;transition:background .2s}
.footer-whatsapp:hover{background:var(--hover)}
.footer-whatsapp .ico{width:17px;height:17px}
.footer-brand{grid-column:3;display:flex;flex-direction:column;align-items:flex-end;justify-self:end;line-height:1.15;direction:ltr}
.footer-wordmark{font:750 23px/1.2 Inter,Arial,sans-serif;letter-spacing:-1.3px;color:var(--text)}
.footer-brand small{font:500 9px Inter,Arial,sans-serif;letter-spacing:3.5px;color:var(--muted);margin-top:5px}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--border);padding:12px 0 16px;font-size:11px;color:var(--muted)}
.footer-bottom span:first-child{direction:ltr;font-family:Inter,sans-serif}
.home-shell{min-height:clamp(440px,calc(100svh - 220px),820px);padding-top:24px;padding-bottom:24px;display:grid;align-items:center;justify-items:stretch}
.home-hero{display:grid;place-items:center;text-align:center;width:100%;min-height:clamp(365px,58vh,530px);padding:clamp(35px,6vw,82px) 22px;border:1px solid var(--border);border-radius:var(--r-lg);background:var(--surface);position:relative;overflow:hidden}
.home-hero-content{width:min(100%,760px);margin-inline:auto;display:flex;flex-direction:column;align-items:center;gap:0}
.home-hero h1{font:700 clamp(38px,6vw,68px)/1.35 'IBM Plex Sans Arabic',sans-serif;letter-spacing:-1.6px;margin:0 0 18px;color:var(--text)}
.home-hero p{font-size:clamp(15px,1.45vw,18px);line-height:2;color:var(--muted);max-width:590px;margin:0 auto 30px}
.home-actions{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}
.home-actions .btn{min-height:49px;padding:12px 23px;min-width:155px;font-size:14px;border-radius:11px}
.home-actions .btn .ico{width:18px;height:18px}
:root[data-theme="dark"] .home-hero{background:#1B1E24}
:root[data-theme="dark"] .site-header{background:var(--bg)}
:root[data-theme="dark"] .site-footer{background:#191C22}
:root[data-theme="dark"] .home-actions .btn-primary{background:var(--primary);color:var(--bg)}
:root[data-theme="dark"] .home-actions .btn-primary:hover{background:#FFFFFF}
/* Navigation fades remain lightweight, while all elements stay usable without JS. */
.mobile-nav .container{padding-block:10px}
.mobile-nav a{border-radius:7px;padding-inline:12px;transition:background .2s}
.mobile-nav a:hover,.mobile-nav a[aria-current="page"]{background:var(--hover)}
@media(max-width:760px){
 .container{width:min(100% - 28px,var(--max))}
 .header-inner{height:68px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
 .header-actions{grid-column:1;grid-row:1;justify-self:start;gap:8px}
 .header-actions>.icon-btn{width:40px;height:40px}
 .brand{grid-column:2;grid-row:1;justify-self:end;gap:9px}
 .brand-mark{width:34px;height:34px}
 .brand-name b{font-size:22px}
 .brand-name small{font-size:7px;letter-spacing:2.6px}
 .site-nav{display:none}
 .mobile-toggle{display:grid}
 .mobile-nav.open{max-height:360px}
 .home-shell{min-height:calc(100svh - 190px);padding-top:14px;padding-bottom:16px}
 .home-hero{min-height:420px;padding:48px 23px}
 .home-hero h1{font-size:clamp(35px,7.4vw,49px);line-height:1.45;margin-bottom:12px}
 .home-hero p{font-size:14px;line-height:1.95;max-width:440px;margin-bottom:25px}
 .home-actions{gap:9px}
 .home-actions .btn{min-height:47px;padding:11px 16px;min-width:145px;font-size:13px}
 .footer-main{grid-template-columns:1fr auto;gap:10px;min-height:auto;padding-block:19px}
 .footer-links{grid-column:1;grid-row:2;gap:1px}
 .footer-links a{font-size:12px;padding:6px 7px}
 .footer-whatsapp{grid-column:1;grid-row:1;justify-self:start}
 .footer-brand{grid-column:2;grid-row:1 / span 2;align-self:start}
 .footer-wordmark{font-size:21px}
 .footer-bottom{font-size:10px;flex-wrap:wrap;padding-block:10px 13px}
}
@media(max-width:420px){
 .container{width:calc(100% - 24px)}
 .home-shell{min-height:calc(100svh - 180px)}
 .home-hero{padding:37px 16px;min-height:390px}
 .home-hero h1{font-size:36px}
 .home-hero p{font-size:14px;max-width:300px}
 .home-actions{width:100%;flex-direction:column}
 .home-actions .btn{width:100%;max-width:286px}
 .footer-main{grid-template-columns:1fr auto}
 .footer-links{flex-wrap:wrap;max-width:205px}
 .footer-brand{align-self:start}
}
@media(prefers-reduced-motion:reduce){.home-hero,.home-hero *{animation:none!important;transition:none!important}}
/* Keep the opening compact: no large empty bands above or below the introductory text. */
.home-shell{display:block;min-height:0;padding-block:22px}
.home-hero{min-height:clamp(430px,calc(100svh - 235px),670px)}
@media(max-width:760px){.home-shell{display:block;min-height:0;padding-top:14px;padding-bottom:16px}.home-hero{min-height:clamp(405px,calc(100svh - 320px),540px)}}
@media(max-width:420px){.home-shell{display:block;min-height:0}.home-hero{min-height:clamp(400px,calc(100svh - 320px),530px)}}

/* V14: make portfolio cards explain themselves, without repeated metadata. */
.new-work-showcase .portfolio-showcase-copy{justify-content:center}
.portfolio-demo-note{font-size:11px;color:var(--muted);line-height:1.65;margin:16px 0 28px;text-align:right}
.new-work-heading h2{margin:0 0 15px}
.inner-intro p{max-width:560px}
@media(max-width:760px){.portfolio-demo-note{font-size:10px;margin:12px 0 20px}.inner-intro{padding-block:22px!important}}
