/* Gutenberg structure additions. Basma's original visual rules remain in basma.css. */
.wp-site-blocks{padding:0}.wp-site-blocks>*{margin-block:0}.wp-block-group{box-sizing:border-box}.wp-block-image{margin:0}.wp-block-image img{display:block;width:100%;height:auto}.wp-block-group>*,.wp-block-post-content>*{margin-block-start:0;margin-block-end:0}.wp-block-post-content{max-width:none}.brand-dot{color:var(--blue)}.brand .brand-icon{flex:0 0 31px}.brand p{line-height:1.4}.brand a{display:block}.hero-name .name-star img{width:100%;height:100%}.hero-name h1>span{display:block}.hero-name h1>span:last-child{padding-inline-start:0}.hero-name .name-period{display:inline!important}.hero-name .hero-down{font-family:Arial,sans-serif;font-size:37px;line-height:1}.hero-name-bottom>.mono{direction:ltr}.hero-name-top>.mono{direction:ltr;line-height:1.5}.hero-copy .wp-block-buttons{margin-top:28px}.hero-copy .wp-block-button__link{margin-top:0}.wp-block-buttons{display:flex;flex-wrap:wrap}.wp-block-button__link{border-radius:0;text-decoration:none}.wp-block-button__link:after,.nav-contact:after{content:'';width:24px;height:24px;display:block;background:currentColor;mask:url('../images/arrow.svg') center/contain no-repeat;flex-shrink:0}.nav-contact{display:flex}.hero-note .mono{margin-bottom:11px}.hero-note-copy>p:last-child{font-weight:700}.ticker>.item{margin:0}.service-tags p{font-family:Arial,Tahoma,sans-serif;font-size:13px;line-height:1.6;border:1px solid #d4d3cb;padding:5px 9px;color:#585954}.service-tags{align-items:flex-start}.wp-block-post-template{list-style:none;margin:0;padding:0;display:block;counter-reset:services}.wp-block-post-template>li{margin:0}.service-row{counter-increment:services}.service-row:before{content:counter(services,decimal-leading-zero);font:16px/1.7 Arial,sans-serif;color:var(--blue);padding-top:8px}.service-row:after{content:'↙';font:27px/1.4 Arial,sans-serif;color:var(--blue)}.service-row .wp-block-post-title{margin:0}.service-row .wp-block-post-content{font-size:18px}.service-row .wp-block-post-content p{font-size:18px}.service-row .service-tags p{font-size:13px}.home .service-more{display:none}.service-more{border-top:1px solid var(--line);padding-top:22px;margin-top:22px}.service-more h4{font-size:18px;margin:18px 0 8px}.service-more .wp-block-buttons{margin-top:24px}.service-more .wp-block-button__link{font-size:16px;min-height:44px;padding:10px 14px}.service-row:last-child{border-bottom:0}.wp-block-post-template>li:last-child .service-row{border-bottom:1px solid var(--line)}.pathway .mono,.step-num{direction:ltr}.contact-intro .wp-block-heading{margin-top:30px}.contact-intro>.contact-note{margin-top:30px}.contact-email{font-size:16px;margin-top:18px;overflow-wrap:anywhere}.contact-email a,.form-privacy a{text-decoration:underline;text-underline-offset:4px}.form-privacy{font-size:15px;color:var(--muted);margin-top:18px}.form-status.is-success{background:#e3ecd4;color:#24481b;border-color:#335c21}.form-status.is-error{background:#f9e9e4;color:#842216;border-color:#a22216}.kfathy-trap{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;clip-path:inset(50%)!important;overflow:hidden!important;white-space:nowrap!important}.inner-page{padding-block:75px 90px}.inner-page>h1{font-size:clamp(40px,4.7vw,66px);line-height:1.4;letter-spacing:-.04em;max-width:900px;margin-bottom:28px}.page-lead{font-size:20px;max-width:850px;margin-bottom:50px}.inner-page>.wp-block-query{margin-bottom:45px}.reading-page>p{max-width:850px;font-size:20px}.reading-page>h2{font-size:30px;margin:42px 0 18px}.reading-page>.wp-block-buttons{margin-top:40px}.footer-meta>p{margin:0}.footer-meta a{min-height:44px;display:inline-flex;align-items:center}.basma-language-link{white-space:nowrap}.language-switch span{font:10px/1 Arial,sans-serif;border:1px solid #aaa99f;padding:4px}.language-switch{transition:background .2s,color .2s}.nav-links p{margin:0}.nav p{line-height:1.5}a,button{-webkit-tap-highlight-color:transparent}.service-row:focus-within{background:#1649ee05}html[lang=en] .service-row:after{content:'↘'}html[lang=en] .wp-block-button__link:after,html[lang=en] .nav-contact:after{transform:scaleX(-1)}html[lang=en] .hero-name h1>span:last-child{padding-left:10%}html[lang=en] .hero-name h1>span>span{padding:0!important}
@media(min-width:701px){.hero-name h1{padding-block:23px 16px}.hero-name-top>.eyebrow{flex-shrink:1}.language-control{flex-shrink:0}}
@media(max-width:1100px){.brand .brand-icon{flex-basis:26px;width:26px;height:26px}.service-row:before{font-size:16px}}
@media(max-width:700px){.brand .brand-icon{flex-basis:26px}.service-row:before{grid-column:1;grid-row:1;font-size:15px}.service-row:after{grid-column:3;grid-row:1;font-size:22px}.service-row>.wp-block-post-title{grid-column:2;grid-row:1}.service-row>.wp-block-post-content{grid-column:1/-1;grid-row:2;margin-top:8px}.hero-name .hero-down{font-size:26px}.nav>.language-control{grid-column:2;grid-row:1}.nav>.nav-links{grid-column:1/-1;grid-row:2}.nav-links>.wp-block-paragraph:has(.desktop-link){display:none}.hero-name-bottom>.mono{font-size:12px}.hero-name .name-star{margin:0}.hero-name h1>span:last-child{padding-right:7%}.service-tags p{font-size:13px}.inner-page{padding-block:48px 60px}.inner-page>h1{font-size:40px}.reading-page>p,.page-lead{font-size:18px}.footer-meta{align-items:flex-start}.footer-meta>p{max-width:none!important}.contact-intro>.wp-block-heading{font-size:45px}.hero-copy .wp-block-buttons{margin-top:25px}html[lang=en] .hero-name h1>span:last-child{padding-left:12%}}
/* Progressive motion: content is visible without JavaScript or IntersectionObserver. */
.hero-copy>.eyebrow{font-size:16px;line-height:1.8;color:var(--ink);max-width:none}.language-control>a{direction:ltr}html[lang=en] .language-control>a{direction:rtl}.contact h1{font-size:clamp(40px,4.7vw,66px);letter-spacing:-.055em;line-height:1.4}.contact-intro>h1{margin-top:30px}html[lang=en] .contact h1{line-height:1.12;letter-spacing:-.04em}
@media(max-width:700px){.contact h1{font-size:45px}}
@keyframes basma-enter{from{transform:translateY(16px)}to{transform:translateY(0)}}
@keyframes basma-section{from{transform:translateY(14px)}to{transform:translateY(0)}}
@media(prefers-reduced-motion:no-preference){.hero-name h1{animation:basma-enter .65s cubic-bezier(.2,.7,.2,1) both}.basma-reveal{animation:basma-section .55s cubic-bezier(.2,.7,.2,1) both}.service-row{transition:background-color .2s}.service-row:hover{background:#1649ee05}.wp-block-button__link:after,.nav-contact:after{transition:translate .2s}.wp-block-button__link:hover:after,.wp-block-button__link:focus-visible:after{translate:-3px -3px}html[lang=en] .wp-block-button__link:hover:after,html[lang=en] .wp-block-button__link:focus-visible:after{translate:3px -3px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*:before,*:after{animation:none!important;transition:none!important}}
@media(max-width:360px){.nav{gap:10px}.brand,html[lang=en] .brand{font-size:18px;gap:7px}.brand .brand-icon{width:22px;height:22px;flex-basis:22px}.language-switch{font-size:13px;padding:8px;gap:6px}html[lang=en] .language-switch{font-size:14px}.nav-links,html[lang=en] .nav-links{font-size:16px;gap:10px}}
.kfathy-home .service-more{display:none}.service-row>.wp-block-post-title{font-size:25px;line-height:1.7;letter-spacing:-.04em}html[lang=en] .service-row>.wp-block-post-title{line-height:1.3;letter-spacing:-.025em}.service-row .service-more .wp-block-heading{font-size:18px;line-height:1.6;margin:18px 0 8px;letter-spacing:normal}.project-form>.form-heading{font-size:25px;line-height:1.6;letter-spacing:normal;margin:0 0 10px}html[lang=en] .project-form>.form-heading{line-height:1.6;letter-spacing:normal}
@media(max-width:700px){.service-row>.wp-block-post-title{font-size:23px}}@media(max-width:480px){.project-form>.form-heading{font-size:23px}}
/* Approved 02B production fonts and unmodified outlined logo assets. */
body{font-family:Tajawal,Tahoma,Arial,sans-serif}.hero-name h1{font-family:Tajawal,Tahoma,sans-serif}.mono{font-family:'Open Sans',Arial,sans-serif}.brand{display:block;white-space:normal}.brand .brand-lockup{width:220px;max-width:100%;margin:0}.brand-lockup a{display:block;min-height:44px}.brand-lockup img{display:block;width:100%;height:auto}.footer-brand .brand-lockup{width:190px}.footer>.footer-brand{flex-shrink:0}.hero-name h1{font-weight:700}html[lang=en] body{font-family:'Open Sans',Arial,Tajawal,sans-serif}html[lang=en] :is(h1,h2,h3,h4,strong,.wp-block-button__link,.button){font-weight:600}html[lang=en] .hero-name h1,html[lang=en] .button,html[lang=en] .wp-block-button__link{font-family:'Open Sans',Arial,sans-serif}html[lang=en] .language-switch{font-family:Tajawal,Tahoma,sans-serif}
@media(max-width:700px){.brand .brand-lockup{width:195px}.footer-brand .brand-lockup{width:180px}}
@media(max-width:360px){.brand .brand-lockup{width:170px}.nav .language-switch{padding-inline:8px}}
/* Match the visible header edges to the hero container; retain mobile content gutters. */
header.wrap.pad{padding-inline:0}
@media(max-width:700px){header.wrap.pad>.nav{padding-inline:6%}}
