/* Genesis P103-P110 — Cross-route Page Authority Unification */
:root{
  --u-ink:#14272c;--u-muted:#6d7c80;--u-line:#d5e0df;--u-surface:#ffffff;
  --u-soft:#f4f8f7;--u-green:#477f73;--u-gold:#dfbd4f;--u-shadow:0 22px 60px rgba(20,39,44,.10);
}
html.dark,html[data-theme="dark"]{--u-ink:#f4f7f6;--u-muted:#b8c5c2;--u-line:rgba(255,255,255,.14);--u-surface:#172c30;--u-soft:#102328;--u-shadow:0 22px 60px rgba(0,0,0,.30)}
body.p103-unified-authority{overflow-x:hidden}
body.p103-unified-authority .p19-site-header{background:rgba(255,255,255,.96)!important;border-bottom:1px solid var(--u-line)!important;backdrop-filter:blur(16px)}
html.dark body.p103-unified-authority .p19-site-header,html[data-theme="dark"] body.p103-unified-authority .p19-site-header{background:rgba(13,30,34,.95)!important}
body.p103-unified-authority .p19-header-row{min-height:92px}
body.p103-unified-authority .p19-icon{width:48px!important;height:48px!important;border:1px solid var(--u-line)!important;background:var(--u-surface)!important;color:var(--u-ink)!important;border-radius:999px!important;display:inline-grid!important;place-items:center!important;opacity:1!important}
body.p103-unified-authority .p19-icon i{color:var(--u-ink)!important;opacity:1!important;font-size:18px!important}
body.p103-unified-authority button[aria-label*="theme"] i,body.p103-unified-authority button[aria-label*="المظهر"] i{display:none!important}
body.p103-unified-authority button[aria-label*="theme"]::before,body.p103-unified-authority button[aria-label*="المظهر"]::before{content:"◐";font-size:22px;line-height:1;color:var(--u-ink)}
body.p103-unified-authority h1{font-family:inherit!important;color:var(--u-ink)!important;letter-spacing:-.035em!important;text-wrap:balance}
body.p103-unified-authority p{color:var(--u-muted)}

/* Shared hero rhythm */
body.p103-unified-authority :is(.pr-hero,.p15-hero,.p7-hero,.p9-hero,.p10-hero,.p18-hero,.p17-hero){min-height:0!important;padding-block:clamp(72px,8vw,126px)!important;margin:0!important;background:linear-gradient(135deg,#f7faf9 0%,#eef5f3 62%,#fbf7e9 100%)!important;border-bottom:1px solid var(--u-line)!important}
html.dark body.p103-unified-authority :is(.pr-hero,.p15-hero,.p7-hero,.p9-hero,.p10-hero,.p18-hero,.p17-hero),html[data-theme="dark"] body.p103-unified-authority :is(.pr-hero,.p15-hero,.p7-hero,.p9-hero,.p10-hero,.p18-hero,.p17-hero){background:linear-gradient(135deg,#102328 0%,#173932 65%,#2f452f 100%)!important}
body.p103-unified-authority :is(.pr-hero-grid,.p15-hero-grid,.p17-shell){width:min(1440px,calc(100% - 56px))!important;margin-inline:auto!important;align-items:center!important;gap:clamp(34px,6vw,90px)!important}
body.p103-unified-authority :is(.pr-hero h1,.p15-hero h1,.p7-hero h1,.p9-title,.p10-title,.p18-hero h1,.p17-hero h1){font-size:clamp(46px,5.4vw,88px)!important;line-height:1.02!important;max-width:15ch!important;margin-block:16px 24px!important}
body.p103-unified-authority :is(.pr-hero p,.p15-lead,.p7-hero>div>p,.p9-lead,.p10-lead,.p18-hero p,.p17-hero p){font-size:clamp(18px,1.45vw,25px)!important;line-height:1.85!important;max-width:760px!important}
body.p103-unified-authority :is(.pr-boundary,.p15-proof-card,.p9-score,.p10-score){background:var(--u-surface)!important;color:var(--u-ink)!important;border:1px solid var(--u-line)!important;border-radius:28px!important;box-shadow:var(--u-shadow)!important;padding:clamp(28px,3.2vw,48px)!important;min-height:0!important;height:auto!important;align-self:center!important}
body.p103-unified-authority :is(.pr-boundary,.p15-proof-card,.p9-score,.p10-score) :is(strong,h2,h3){color:var(--u-ink)!important}
body.p103-unified-authority :is(.pr-boundary,.p15-proof-card,.p9-score,.p10-score) p{color:var(--u-muted)!important}

/* Projects */
body.p103-projects .pr-hero-grid{grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr)!important}
body.p103-projects .pr-boundary{max-width:470px!important;justify-self:end!important}

/* Company */
body.p103-about .p15-hero-grid{grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr)!important}
body.p103-about .p15-proof-card{max-width:500px!important;justify-self:start!important}

/* Trust */
body.p103-trust .p7-hero .p7-wrap{width:min(1440px,calc(100% - 56px))!important;margin:auto!important}
body.p103-trust .p7-hero h1{font-size:clamp(48px,5.4vw,86px)!important;line-height:1.04!important;max-width:17ch!important}
body.p103-trust .p7-hero h1 em{color:var(--u-green)!important;font-style:normal!important}
body.p103-trust .p7-truthbar{margin-top:42px!important;background:var(--u-surface)!important;border:1px solid var(--u-line)!important;border-radius:26px!important;box-shadow:var(--u-shadow)!important;padding:18px!important;gap:10px!important}
body.p103-trust .p7-truthbar div{background:var(--u-soft)!important;border-radius:18px!important;padding:18px!important}
body.p103-trust .p7-truthbar span,body.p103-trust .p7-truthbar b{color:var(--u-ink)!important}

/* Validation and Evidence */
body.p103-validation .p9-shell,body.p103-evidence .p10-shell{max-width:none!important;padding:0!important}
body.p103-validation .p9-hero,body.p103-evidence .p10-hero{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr)!important;gap:clamp(38px,6vw,86px)!important;width:min(1440px,calc(100% - 56px))!important;margin-inline:auto!important;border:0!important}
body.p103-validation main,body.p103-evidence main{background:linear-gradient(135deg,#f7faf9,#eef5f3 68%,#fbf7e9)!important}
html.dark body.p103-validation main,html.dark body.p103-evidence main,html[data-theme="dark"] body.p103-validation main,html[data-theme="dark"] body.p103-evidence main{background:linear-gradient(135deg,#102328,#173932 68%,#2f452f)!important}
body.p103-validation .p9-score strong,body.p103-evidence .p10-score strong{font-size:clamp(58px,7vw,110px)!important;color:var(--u-green)!important}

/* Engagement routes */
body.p103-offers .p18-hero{color:var(--u-ink)!important}
body.p103-offers .p18-hero :is(h1,h2,h3,p,span){color:inherit!important}
body.p103-offers .p18-hero>div,body.p103-offers .p18-hero .p18-shell{width:min(1440px,calc(100% - 56px))!important;margin-inline:auto!important}
body.p103-offers .p18-hero h1{font-size:clamp(46px,5.4vw,86px)!important;line-height:1.04!important;max-width:15ch!important}

/* How we work */
body.p103-how .p86-shell{width:min(1440px,calc(100% - 56px))!important;margin:0 auto!important;padding:clamp(72px,8vw,126px) 0!important}
body.p103-how .p86-title{font-size:clamp(48px,5.2vw,84px)!important;line-height:1.04!important;max-width:14ch!important;color:var(--u-ink)!important}
body.p103-how .p86-lead{font-size:clamp(19px,1.45vw,25px)!important;line-height:1.8!important;max-width:900px!important}
body.p103-how .p86-grid{margin-top:52px!important;gap:18px!important}
body.p103-how .p86-card{background:var(--u-surface)!important;border:1px solid var(--u-line)!important;border-radius:24px!important;box-shadow:0 12px 34px rgba(20,39,44,.07)!important;padding:28px!important;min-height:0!important}
body.p103-how .p86-card :is(h3,.p86-record){color:var(--u-ink)!important}
body.p103-how .p86-gates{gap:18px!important}
body.p103-how .p86-gate{background:var(--u-soft)!important;border:1px solid var(--u-line)!important;border-radius:22px!important}

/* Contact */
body.p103-contact .p17-hero .p17-shell{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr)!important}
body.p103-contact .p17-hero .p17-shell::after{content:"ENGINEERING REVIEW";display:grid;place-items:center;min-height:300px;padding:40px;border-radius:28px;background:var(--u-surface);border:1px solid var(--u-line);box-shadow:var(--u-shadow);color:var(--u-green);font-size:clamp(22px,2vw,34px);font-weight:800;letter-spacing:.08em;text-align:center}
html[lang="ar"] body.p103-contact .p17-hero .p17-shell::after{content:"مراجعة هندسية محكومة"}
body.p103-contact .p17-hero-meta{background:var(--u-surface)!important;border:1px solid var(--u-line)!important;border-radius:18px!important;padding:16px 20px!important;color:var(--u-ink)!important}
body.p103-contact .p17-hero-meta span{color:var(--u-ink)!important}

@media(max-width:980px){
 body.p103-unified-authority :is(.pr-hero-grid,.p15-hero-grid,.p17-shell),body.p103-validation .p9-hero,body.p103-evidence .p10-hero{grid-template-columns:1fr!important}
 body.p103-unified-authority :is(.pr-boundary,.p15-proof-card,.p9-score,.p10-score){max-width:none!important;justify-self:stretch!important}
 body.p103-unified-authority :is(.pr-hero h1,.p15-hero h1,.p7-hero h1,.p9-title,.p10-title,.p18-hero h1,.p17-hero h1,.p86-title){font-size:clamp(40px,9vw,66px)!important}
 body.p103-contact .p17-hero .p17-shell::after{min-height:180px}
}
@media(max-width:640px){
 body.p103-unified-authority .p19-header-row{min-height:74px}
 body.p103-unified-authority :is(.pr-hero,.p15-hero,.p7-hero,.p9-hero,.p10-hero,.p18-hero,.p17-hero){padding-block:56px!important}
 body.p103-unified-authority :is(.pr-hero-grid,.p15-hero-grid,.p17-shell),body.p103-validation .p9-hero,body.p103-evidence .p10-hero,body.p103-how .p86-shell{width:min(100% - 28px,1440px)!important}
 body.p103-how .p86-grid{grid-template-columns:1fr!important}
}
