/*
Theme Name: Abdelhalim · Elementor Edition
Author: CDC Abdelhalim
Description: A contemporary architecture and planning consultancy website, retaining CDC's archived portfolio and editorial content.
Version: 3.0.0
Requires at least: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: cdc-abdelhalim
*/
:root{--ink:#252a28;--paper:#f5f3ed;--white:#fff;--muted:#686e68;--line:#d9dcd3;--green:#285242;--accent:#aa5638;--serif:Georgia,'Times New Roman',serif;--sans:Arial,Helvetica,sans-serif;--pad:clamp(22px,5vw,88px)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.65}body.modal-open{overflow:hidden}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}img{display:block;max-width:100%;height:auto}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:5px}::selection{background:#d8e4d9}h1,h2,h3,h4,p,figure{margin:0}h1,h2{font-weight:400;letter-spacing:-.045em;line-height:1.04}h1{font-size:clamp(44px,6.5vw,96px)}h2{font-size:clamp(36px,4vw,62px)}h3{font-size:22px;line-height:1.25;font-weight:400;letter-spacing:-.02em}.wrap{max-width:1600px;margin:auto;padding-inline:var(--pad)}.section{padding-block:clamp(60px,8vw,120px)}.eyebrow{display:block;text-transform:uppercase;font-size:11px;letter-spacing:.17em;font-weight:600;line-height:1.5;margin-bottom:24px}.muted{color:var(--muted)}.small{font-size:13px}.pill{font-size:11px;border:1px solid currentColor;padding:7px 12px;border-radius:30px;display:inline-flex;gap:7px;align-items:center}.arrow{font-size:22px;line-height:1}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:36px;font-size:13px;padding:16px 24px;background:var(--green);color:#fff;border:1px solid var(--green)}.button:hover{background:#173b2e}.button.light{background:transparent;color:var(--ink);border-color:var(--line)}.button.light:hover{border-color:var(--ink)}.text-link{font-size:13px;display:inline-flex;gap:32px;align-items:center;border-bottom:1px solid currentColor;padding-bottom:8px}.skip-link{position:absolute;inset-inline-start:-9999px}.skip-link:focus{inset-inline-start:20px;top:20px;padding:12px 20px;background:white;z-index:200}.site-header{position:relative;background:var(--paper);z-index:20;border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:30px;padding-block:26px}.brand{display:block;max-width:280px;flex-shrink:0}.brand img{width:260px;height:auto}.site-nav ul{display:flex;gap:25px;list-style:none;margin:0;padding:0;align-items:center}.site-nav a{font-size:12px;color:var(--ink);white-space:nowrap;position:relative}.site-nav a::after{content:'';position:absolute;bottom:-7px;inset-inline-start:0;width:0;height:1px;background:var(--green);transition:width .2s}.site-nav a:hover::after,.site-nav .current-menu-item a::after{width:100%}.menu-toggle{display:none;border:1px solid var(--line);background:transparent;padding:9px 14px;font-size:12px}.home-intro{display:grid;grid-template-columns:1.35fr 1fr;gap:60px;align-items:end;padding-block:64px 48px}.home-intro h1 span{color:var(--green);font-family:var(--serif);font-style:italic}.hero-aside{max-width:395px;justify-self:end;padding-bottom:6px}.hero-aside p{font-size:17px;line-height:1.75;color:var(--muted);margin-bottom:28px}.hero-photo{position:relative;margin:0 var(--pad);height:clamp(330px,44vw,630px);overflow:hidden;background:#dad3c7}.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center 57%}.image-note{position:absolute;inset-inline-start:22px;bottom:20px;background:rgba(245,243,237,.94);padding:10px 17px;font-size:11px;letter-spacing:.04em}.hero-bottom{display:flex;justify-content:space-between;align-items:center;padding-block:22px;border-bottom:1px solid var(--line);font-size:11px;letter-spacing:.08em;text-transform:uppercase}.hero-bottom a{display:flex;gap:25px;align-items:center}.section-head{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:48px}.section-head h2{max-width:790px}.section-head p{max-width:390px;color:var(--muted);font-size:15px}.studio-intro{display:grid;grid-template-columns:1fr 1.4fr;gap:80px}.studio-intro h2{font-size:clamp(36px,4.1vw,64px)}.studio-intro p{font-size:20px;line-height:1.65;color:var(--muted)}.studio-intro .text-link{margin-top:30px}.facts{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);margin-top:50px}.fact{padding:25px 0;border-bottom:1px solid var(--line)}.fact+.fact{padding-inline-start:28px;border-inline-start:1px solid var(--line)}.fact strong{font-weight:400;font-size:32px;line-height:1.2;display:block;letter-spacing:-.04em}.fact span{font-size:11px;color:var(--muted);display:block;margin-top:9px}.services-band{background:var(--green);color:var(--paper)}.services-band .muted,.services-band .section-head p{color:#ccd5cc}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #ffffff30;border-inline-start:1px solid #ffffff30}.service-card{border-inline-end:1px solid #ffffff30;border-bottom:1px solid #ffffff30;padding:32px 30px 35px;position:relative;min-height:265px}.service-number{font-size:11px;display:block;opacity:.6;margin-bottom:35px}.service-card h3{font-size:24px;margin-bottom:15px;max-width:300px}.service-card p{font-size:13px;color:#cdd6ce;max-width:320px}.service-card .arrow{position:absolute;inset-inline-end:26px;top:25px}.service-card:hover{background:#ffffff08}.services-band .text-link{margin-top:35px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px 28px}.project-card{display:block}.project-image{overflow:hidden;aspect-ratio:4/3;background:#ddd8cd;position:relative}.project-image img{width:100%;height:100%;object-fit:cover;transition:transform .6s}.project-card:hover img{transform:scale(1.035)}.project-card h3{font-size:22px;max-width:350px}.project-info{padding-top:20px;display:flex;gap:18px;justify-content:space-between}.project-info .arrow{font-size:21px}.project-category{font-size:10px;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);margin-top:10px}.project-card.wide{grid-column:span 2}.project-card.wide .project-image{aspect-ratio:16/9}.feature-pair{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.feature-pair>img{width:100%;aspect-ratio:1/1;object-fit:cover}.feature-pair p{color:var(--muted);font-size:16px;margin-top:24px}.feature-pair .text-link{margin-top:30px}.legacy-quote{font-family:var(--serif);font-size:clamp(27px,3vw,44px);line-height:1.35;letter-spacing:-.02em;margin-bottom:24px}.legacy-cite{font-size:11px;text-transform:uppercase;letter-spacing:.12em}.tint{background:#e9e9e0}.legacy-images{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:34px}.legacy-images img{width:100%;max-height:220px;object-fit:contain;background:var(--paper)}.contact-band{background:#e0e4d9;border-top:1px solid #c8cfbf;padding-block:64px}.contact-inner{display:flex;justify-content:space-between;align-items:center;gap:30px}.contact-inner h2{max-width:700px}.site-footer{background:var(--ink);color:#d9ddd5;padding-block:56px 24px}.footer-main{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:45px;padding-bottom:50px}.footer-wordmark{font-size:34px;letter-spacing:-.05em;line-height:1.1}.footer-main p{font-size:12px;line-height:1.8;color:#aeb6ae;margin-top:20px}.footer-main h3{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#9eaa9f;margin-bottom:20px}.footer-main ul{list-style:none;padding:0;margin:0}.footer-main li{font-size:12px;margin:8px 0}.footer-main a:hover{color:white}.footer-bottom{border-top:1px solid #ffffff20;padding-top:20px;display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#9eaa9f}.page-top{padding-block:62px 60px}.breadcrumbs{font-size:10px;letter-spacing:.06em;color:var(--muted);margin-bottom:32px}.page-top .lead{font-size:20px;line-height:1.6;max-width:800px;color:var(--muted);margin-top:30px}.page-top h1{max-width:1150px}.portfolio-controls{display:flex;flex-direction:column;gap:24px;padding-bottom:34px;border-bottom:1px solid var(--line);margin-bottom:38px}.search-wrap{display:flex;align-items:center;gap:15px;max-width:460px;width:100%;border-bottom:1px solid var(--ink)}.search-wrap label{font-size:11px;white-space:nowrap}.search-wrap input{width:100%;border:0;background:transparent;padding:14px 3px;font-size:13px;outline-offset:2px}.filter-list{display:flex;gap:9px;flex-wrap:wrap}.filter-button{border:1px solid var(--line);background:transparent;padding:9px 14px;font-size:11px;border-radius:20px;color:var(--muted)}.filter-button[aria-pressed=true]{background:var(--green);color:#fff;border-color:var(--green)}.portfolio-status{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.portfolio-status p{margin-bottom:24px}.empty-state{padding:50px 0;font-size:18px}.project-card[hidden]{display:none}.project-heading{display:grid;grid-template-columns:1.7fr 1fr;gap:40px;align-items:end}.project-heading h1{font-size:clamp(40px,5.5vw,78px)}.project-meta{color:var(--muted);border-top:1px solid var(--line);padding-top:24px;font-size:13px;line-height:1.9}.project-cover{margin:0 var(--pad);height:clamp(320px,48vw,720px);background:#ded9ce}.project-cover img{width:100%;height:100%;object-fit:cover}.project-story{display:grid;grid-template-columns:.7fr 1.5fr;gap:90px;padding-block:65px}.prose{max-width:100%;font-size:16px;color:var(--muted);overflow-wrap:anywhere}.prose p{margin-bottom:24px;line-height:1.9}.prose h2,.prose h3{color:var(--ink);font-family:var(--sans);font-size:28px;line-height:1.25;margin:45px 0 22px;letter-spacing:-.025em}.prose a{color:var(--green);text-decoration:underline;text-underline-offset:4px}.prose strong{color:var(--ink);font-weight:600}.prose[dir=auto]{text-align:start}.archive-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.gallery-item{border:0;padding:0;background:transparent;text-align:start;position:relative;display:block;width:100%}.gallery-item img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#e9e7df}.gallery-item .zoom{position:absolute;inset-inline-end:16px;bottom:16px;font-size:11px;padding:7px 11px;background:var(--paper)}.gallery-item:hover .zoom{background:var(--green);color:white}.gallery-caption{font-size:11px;color:var(--muted);padding-top:10px}.project-next{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:55px;padding-top:30px}.project-next a{font-size:13px}.modal{position:fixed;inset:0;z-index:100;background:rgba(14,22,18,.96);color:white;display:none;align-items:center;justify-content:center;padding:65px 80px}.modal.open{display:flex}.modal-image{max-width:100%;max-height:80vh;object-fit:contain}.modal-close,.modal-prev,.modal-next{position:absolute;color:white;background:transparent;border:1px solid #ffffff50;font-size:22px;width:44px;height:44px}.modal-close{inset-inline-end:25px;top:20px}.modal-prev{inset-inline-start:20px;top:50%}.modal-next{inset-inline-end:20px;top:50%}.modal-count{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);font-size:12px}.studio-layout{display:grid;grid-template-columns:.9fr 1.2fr;gap:70px;margin-bottom:65px}.studio-photo img{width:100%;object-fit:cover;max-height:620px}.article-block{border-top:1px solid var(--line);padding-top:45px;margin-top:45px}.article-body{max-width:940px;margin:auto}.article-gallery{margin-top:50px}.recognition-grid{display:grid;grid-template-columns:200px 1fr;border-top:1px solid var(--line);padding-block:32px}.recognition-year{font-family:var(--serif);font-size:42px;color:var(--green)}.recognition-grid .prose{font-size:18px}.contact-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:65px}.contact-details{border-top:1px solid var(--line)}.contact-row{padding:22px 0;border-bottom:1px solid var(--line)}.contact-row span{display:block;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:9px}.contact-row a,.contact-row p{font-size:18px}.contact-map{width:100%;height:480px;border:0;background:#e3e5dd}.service-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.service-detail{padding:35px;border:1px solid var(--line);background:#f9f8f3}.service-detail h2{font-size:34px;margin-bottom:22px;line-height:1.15}.service-detail p{font-size:15px;color:var(--muted);margin-bottom:24px}.service-detail ul{padding:0;list-style:none;margin:0}.service-detail li{border-top:1px solid var(--line);padding:12px 0;font-size:12px}.process{display:grid;grid-template-columns:repeat(4,1fr);gap:35px;border-top:1px solid var(--line);padding-top:30px}.process h3{margin:20px 0;font-size:21px}.process p{font-size:13px;color:var(--muted)}.sector-tags{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.archive-notice{font-size:11px;color:var(--muted);border:1px solid var(--line);padding:14px 18px;margin-top:20px}.old-header-image{max-width:100%;margin-bottom:35px}.wsite-content-title{font-family:var(--sans)}
@media(min-width:1700px){.hero-photo,.project-cover{max-width:1440px;margin-inline:auto}}
@media(max-width:1150px){.site-nav ul{gap:16px}.brand img{width:220px}.header-inner{gap:20px}.home-intro{gap:35px}.project-grid{gap:35px 20px}.service-card{padding:25px}.footer-main{gap:25px}.project-story{gap:50px}}
@media(max-width:900px){.menu-toggle{display:block}.site-nav{display:none;position:absolute;inset-inline-start:0;inset-inline-end:0;top:100%;background:var(--paper);border-bottom:1px solid var(--line);padding:20px var(--pad)}.site-nav.open{display:block}.site-nav ul{flex-direction:column;align-items:stretch;gap:0}.site-nav li a{display:block;padding:12px 0;font-size:15px}.site-nav a::after{display:none}.home-intro{grid-template-columns:1fr;gap:30px;padding-block:45px 35px}.hero-aside{justify-self:start;max-width:650px}.hero-aside p{font-size:16px}.studio-intro,.feature-pair,.studio-layout{gap:40px}.service-grid{grid-template-columns:1fr 1fr}.project-grid{grid-template-columns:repeat(2,1fr)}.footer-main{grid-template-columns:1fr 1fr;gap:35px}.project-heading{grid-template-columns:1fr}.project-meta{max-width:600px}.project-story{grid-template-columns:1fr;gap:25px}.contact-grid{gap:35px}.service-detail h2{font-size:29px}.process{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){body{font-size:15px}.header-inner{padding-block:20px}.brand img{width:205px}.home-intro h1{font-size:51px}.hero-photo{height:360px;margin-inline:0}.hero-photo img{object-position:center}.image-note{inset-inline-start:15px;bottom:15px;font-size:10px}.hero-bottom{font-size:9px;gap:20px}.hero-bottom span:last-child{display:none}.section-head{display:block;margin-bottom:30px}.section-head p{margin-top:25px}.section-head .text-link{margin-top:25px}.studio-intro,.feature-pair,.studio-layout,.contact-grid{grid-template-columns:1fr;gap:30px}.studio-intro p{font-size:18px}.facts{margin-top:30px}.fact strong{font-size:25px}.fact+.fact{padding-inline-start:15px}.fact span{font-size:10px}.service-grid,.service-detail-grid{grid-template-columns:1fr}.service-card{min-height:215px}.service-number{margin-bottom:20px}.project-grid{grid-template-columns:1fr;gap:35px}.project-card.wide{grid-column:auto}.project-card.wide .project-image{aspect-ratio:4/3}.project-info{padding-top:15px}.contact-inner{flex-direction:column;align-items:start;gap:28px}.footer-main{grid-template-columns:1fr 1fr;gap:30px 20px}.footer-main>div:first-child{grid-column:span 2}.footer-bottom{flex-direction:column;gap:8px}.page-top{padding-block:42px}.page-top h1{font-size:46px}.page-top .lead{font-size:17px;margin-top:25px}.project-cover{height:350px;margin:0}.archive-gallery{gap:16px;grid-template-columns:1fr}.gallery-item img{aspect-ratio:auto;max-height:600px}.recognition-grid{grid-template-columns:90px 1fr}.recognition-year{font-size:30px}.recognition-grid .prose{font-size:16px}.service-detail{padding:25px}.contact-map{height:350px}.modal{padding:65px 12px}.modal-prev,.modal-next{top:auto;bottom:10px}.modal-prev{inset-inline-start:20px}.modal-next{inset-inline-end:20px}.modal-count{bottom:24px}.prose{font-size:15px}.legacy-images{grid-template-columns:1fr}.studio-photo img{max-height:450px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
/* Consistent journal typography and the supplied Abdelhalim Ibrahim emblem. */
.brand a{display:flex;align-items:center;gap:13px}.brand img{width:46px;height:46px;object-fit:contain;flex-shrink:0}.brand-wordmark{display:flex;flex-direction:column;gap:5px}.brand-name{font-size:22px;line-height:1;letter-spacing:-.035em;color:var(--ink)}.brand-subtitle{font-size:8px;letter-spacing:.105em;text-transform:uppercase;color:var(--muted);white-space:nowrap}.footer-brand{display:flex;gap:14px;align-items:center}.footer-brand img{width:48px;height:48px}.footer-brand .footer-wordmark{font-size:28px}.journal-index{padding-bottom:110px}.journal-controls{display:flex;justify-content:space-between;align-items:center;gap:30px;border-block:1px solid var(--line);padding-block:20px}.journal-controls .search-wrap{max-width:330px}.journal-count{font-size:11px;color:var(--muted);padding:25px 0}.journal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px 28px}.journal-card{display:flex;flex-direction:column;background:#faf9f5;border:1px solid var(--line);min-width:0}.journal-card[hidden]{display:none}.journal-card-image{display:block;overflow:hidden;aspect-ratio:3/2;background:#e7e5dc}.journal-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.journal-card-image:hover img{transform:scale(1.035)}.journal-card-body{display:flex;flex-direction:column;padding:25px;flex-grow:1}.journal-card-meta{display:flex;justify-content:space-between;gap:10px;font-size:10px;line-height:1.6;color:var(--muted);margin-bottom:18px}.journal-card-title{font-family:var(--sans);font-weight:400;font-size:25px;line-height:1.35;letter-spacing:-.025em;margin:0 0 18px;text-align:start}.journal-card-title a:hover{color:var(--green)}.journal-card-body[dir=rtl] .journal-card-title{letter-spacing:0;line-height:1.6}.journal-card-author{font-size:12px;color:var(--muted);margin-bottom:18px}.journal-card-excerpt{font-size:15px;line-height:1.8;color:var(--muted);margin-bottom:25px}.journal-read{font-size:12px;display:flex;gap:24px;align-items:center;margin-top:auto;padding-top:20px;border-top:1px solid var(--line);color:var(--green)}.journal-detail{padding-bottom:100px}.article-title{font-size:clamp(38px,4.5vw,66px)!important;line-height:1.2!important;max-width:1080px!important}.article-title[dir=rtl]{line-height:1.5!important;letter-spacing:0!important}.article-byline{font-size:13px;color:var(--muted);margin-top:24px}.article-cover{margin-bottom:55px;max-height:600px;overflow:hidden}.article-cover img{width:100%;max-height:600px;object-fit:cover}.journal-prose{max-width:880px;margin:auto;font-family:var(--sans);font-size:17px;line-height:1.95;color:var(--ink);overflow-wrap:anywhere}.journal-prose p{font-size:17px!important;line-height:1.95!important;font-weight:400;margin-bottom:25px}.journal-prose h2,.journal-prose h3{font-size:27px!important;line-height:1.5!important;font-weight:400;margin:38px 0 24px;letter-spacing:0}.journal-prose font,.journal-prose span,.journal-prose strong{font-size:inherit!important;line-height:inherit!important}.journal-prose a{color:var(--green);text-decoration:underline;text-underline-offset:4px}.journal-source{max-width:880px;margin:40px auto 0;border-top:1px solid var(--line);padding-top:25px}
@media(max-width:1000px){.journal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.brand-name{font-size:20px}.brand-subtitle{font-size:7px}}
@media(max-width:600px){.brand img{width:40px;height:40px}.brand a{gap:10px}.brand-name{font-size:19px}.journal-grid{grid-template-columns:1fr;gap:25px}.journal-controls{flex-direction:column;align-items:start}.journal-controls .search-wrap{max-width:100%}.journal-card-title{font-size:25px}.journal-card-body{padding:22px}.journal-index{padding-bottom:65px}.journal-prose,.journal-prose p{font-size:16px!important}.article-title{font-size:36px!important}.article-cover{margin-bottom:30px}.footer-brand .footer-wordmark{font-size:24px}}
.journal-archive-intro{margin:25px auto 70px;max-width:880px;border-top:1px solid var(--line);padding-top:20px}.journal-archive-intro summary{cursor:pointer;color:var(--green);font-size:14px;margin-bottom:22px}

/* English / Arabic layouts and leadership */
.language-switch{display:flex;align-items:center;gap:7px;flex-shrink:0;order:3;font-size:11px}
.language-switch[hidden]{display:none}.language-switch button{border:0;background:transparent;color:var(--muted);padding:7px 3px;font-size:12px;line-height:1.2}.language-switch button[aria-pressed=true]{color:var(--green);font-weight:700;border-bottom:1px solid var(--green)}
.header-inner{gap:20px}.site-nav ul{gap:19px}.brand{max-width:285px}
.locale-ar{display:none}html[lang=ar] .locale-ar{display:block}html[lang=ar] .locale-en{display:none}
.leadership-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px}.leadership-card{padding:35px 0;border-top:1px solid var(--green)}.leadership-card h3{font-size:32px;margin-bottom:24px}.leadership-card p{font-size:17px;color:var(--muted);max-width:570px;line-height:1.85}
.archive-description{border-top:1px solid var(--line);padding-top:20px;margin-top:28px}.archive-description summary{cursor:pointer;color:var(--green);font-size:13px;margin-bottom:24px}.archive-description [data-original]{text-align:start;direction:ltr}.publication-note{font-size:13px;color:var(--muted);margin-bottom:28px}
html[lang=ar]{--sans:Tahoma,Arial,sans-serif;--serif:Tahoma,Arial,sans-serif}html[lang=ar] h1,html[lang=ar] h2{letter-spacing:0;line-height:1.3}html[lang=ar] h3{letter-spacing:0;line-height:1.5}html[lang=ar] .eyebrow,html[lang=ar] .hero-bottom,html[lang=ar] .brand-subtitle{letter-spacing:0}html[lang=ar] .home-intro h1 span{font-style:normal}html[lang=ar] .project-info{direction:rtl}html[lang=ar] .journal-card-body{direction:rtl}html[lang=ar] .journal-card-title{font-size:25px;line-height:1.6;letter-spacing:0}html[lang=ar] .article-title{line-height:1.5!important;letter-spacing:0!important}html[lang=ar] .journal-byline{direction:rtl}html[lang=ar] .site-footer{line-height:1.85}
a[href^="tel:"],a[href^="mailto:"]{direction:ltr;unicode-bidi:isolate;display:inline-block}
[data-original]{unicode-bidi:isolate}[data-original][lang=ar]{text-align:start}[data-original][lang=en]{text-align:start}
@media(max-width:1180px){.site-nav ul{gap:12px}.brand-subtitle{font-size:7px}.header-inner{gap:14px}}
@media(max-width:1000px){.language-switch{order:0;margin-inline-start:auto}.menu-toggle{order:1}.brand{max-width:260px}}
@media(max-width:600px){.header-inner{gap:10px;padding-block:18px}.language-switch{gap:4px}.language-switch button{font-size:11px}.brand-subtitle{font-size:6px}.brand-name{font-size:17px}.brand{max-width:205px}.menu-toggle{padding:7px 9px}.leadership-grid{grid-template-columns:1fr;gap:15px}.leadership-card h3{font-size:27px}html[lang=ar] .journal-card-title{font-size:23px}}

@media(max-width:420px){.header-inner{gap:6px}.brand{max-width:160px}.brand img{width:32px;height:32px}.brand a{gap:7px}.brand-name{font-size:14px}.brand-subtitle{display:none}.menu-toggle{font-size:11px;padding:7px}.language-switch{gap:3px}.language-switch button{font-size:10px;padding:7px 2px}}

/* Direction follows html[dir]. Grid and flex rows mirror once, without reversing DOM order. */
body{text-align:start}
.header-inner,.site-nav,.site-nav ul,.brand a,.footer-brand,.home-intro,.hero-bottom,.studio-intro,.facts,.service-grid,.service-detail-grid,.project-grid,.project-info,.feature-pair,.legacy-images,.section-head,.project-heading,.project-story,.archive-gallery,.project-next,.studio-layout,.leadership-grid,.recognition-grid,.contact-grid,.contact-inner,.footer-main,.footer-bottom,.journal-grid,.journal-controls,.journal-card-meta,.filter-list,.process,.sector-tags{direction:inherit}
.header-inner>*{min-width:0}.brand-name{white-space:nowrap}.language-switch{direction:ltr;white-space:nowrap}
[data-directional]{display:inline-block}html[dir=rtl] [data-directional]{transform:scaleX(-1)}
.button,.text-link,.journal-read,.filter-button,.journal-filter,.search-wrap,.search-wrap input,.gallery-item,.archive-description summary{text-align:start}
.project-story>.archive-description{grid-column:2}.project-story>.prose{min-width:0}
[data-fixed-direction],a[href^="tel:"],a[href^="mailto:"],.modal-count{direction:ltr;unicode-bidi:isolate}
.modal-count{white-space:nowrap}.modal-prev,.modal-next{direction:ltr}html[dir=rtl] .modal-prev,html[dir=rtl] .modal-next{transform:scaleX(-1)}
@media(max-width:1100px){.menu-toggle{display:block}.site-nav{display:none;position:absolute;inset-inline:0;top:100%;background:var(--paper);border-bottom:1px solid var(--line);padding:20px var(--pad)}.site-nav.open{display:block}.site-nav ul{flex-direction:column;align-items:stretch;gap:0}.site-nav li a{display:block;padding:12px 0;font-size:15px}.site-nav a::after{display:none}.language-switch{order:0;margin-inline-start:auto}.menu-toggle{order:1}}
@media(max-width:900px){.project-story>.archive-description{grid-column:1}.hero-aside{justify-self:start}}

/* Arabic firm name adapts to the available space without clipping. */
html[lang=ar] .brand-name{white-space:normal;font-size:18px;line-height:1.5;letter-spacing:0;max-width:280px}
html[lang=ar] .brand-subtitle{font-size:9px;line-height:1.5}
html[lang=ar] .footer-wordmark{font-size:24px;line-height:1.6;letter-spacing:0}
@media(max-width:600px){html[lang=ar] .brand-name{font-size:14px}html[lang=ar] .brand-subtitle{display:none}}
@media(max-width:420px){html[lang=ar] .brand-name{font-size:12px}}

html[lang=ar] .brand-name{font-size:22px;white-space:nowrap}html[lang=ar] .brand-subtitle{display:block;font-size:9px}@media(max-width:600px){html[lang=ar] .brand-name{font-size:18px}html[lang=ar] .brand-subtitle{font-size:8px}}@media(max-width:420px){html[lang=ar] .brand-name{font-size:16px}html[lang=ar] .brand-subtitle{font-size:7px}}

/* Mobile layout, touch access and viewport-safe overlays. */
.wrap,.header-inner,.brand-wordmark,.home-intro>*,.studio-intro>*,.feature-pair>*,.project-heading>*,.project-story>*,.studio-layout>*,.contact-grid>*,.footer-main>*,.recognition-grid>*{min-width:0}
h1,h2,h3,.project-info,.journal-card-meta,.breadcrumbs{overflow-wrap:anywhere}
.search-wrap input{min-width:0}
.site-nav.open{max-height:calc(100vh - var(--cdc-header-height,90px) - 12px);max-height:calc(100dvh - var(--cdc-header-height,90px) - 12px);overflow-y:auto;overscroll-behavior:contain}
body.menu-open{overflow:hidden}
.modal-image{touch-action:pan-y pinch-zoom}
@media(max-width:1100px){
 .menu-toggle,.language-switch button,.filter-button,.journal-filter{min-width:44px;min-height:44px}
 .language-switch button{padding:8px 4px;display:inline-flex;align-items:center;justify-content:center}
 .site-nav li a{min-height:44px}
 .search-wrap input{font-size:16px;min-height:48px}
 .filter-list{gap:8px}
}
@media(max-width:600px){
 :root{--pad:clamp(16px,5vw,24px)}
 .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;padding-block:14px}
 .brand{grid-column:1;grid-row:1;max-width:none;min-width:0;flex-shrink:1}
 .brand a{gap:8px;min-width:0}
 .brand img{width:36px;height:36px}
 .brand-wordmark{gap:4px}
 .brand-name,html[lang=ar] .brand-name{font-size:18px;white-space:normal;line-height:1.25}
 .brand-subtitle,html[lang=ar] .brand-subtitle{display:block;white-space:normal;font-size:8.5px;line-height:1.4;letter-spacing:.02em}
 .language-switch{grid-column:2;grid-row:1;margin-inline-start:0;order:0;gap:3px}
 .language-switch button{font-size:11px;padding:8px 2px}
 .menu-toggle{grid-column:3;grid-row:1;order:0;padding:8px;font-size:11px;min-width:44px;max-width:64px}
 .home-intro h1{font-size:clamp(40px,11vw,52px)}
 .page-top h1{font-size:clamp(34px,9vw,46px)}
 .page-top .article-title{font-size:clamp(30px,8vw,38px)!important}
 .section-head h2,.contact-inner h2{font-size:clamp(32px,8vw,42px)}
 .hero-photo{height:clamp(250px,72vw,360px)}
 .image-note{max-width:calc(100% - 30px);line-height:1.5}
 .project-cover{height:clamp(260px,80vw,380px)}
 .hero-bottom,.portfolio-status,.journal-card-meta,.project-next{flex-wrap:wrap;gap:12px}
 .facts{grid-template-columns:repeat(3,minmax(0,1fr))}
 .fact{min-width:0}.fact+.fact{padding-inline-start:10px}.fact span{overflow-wrap:anywhere}
 .button,.journal-read{min-height:48px;max-width:100%}
 .text-link,.archive-description summary,.journal-archive-intro summary{min-height:44px}
 .service-detail{padding:22px}.service-detail h2{font-size:29px}
 .modal{padding:calc(60px + env(safe-area-inset-top,0px)) 12px calc(72px + env(safe-area-inset-bottom,0px))}
 .modal-image{max-height:calc(100vh - 148px);max-height:calc(100dvh - 148px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
 .modal-close{top:calc(12px + env(safe-area-inset-top,0px));inset-inline-end:12px}
 .modal-prev,.modal-next{bottom:calc(12px + env(safe-area-inset-bottom,0px))}
 .modal-count{bottom:calc(24px + env(safe-area-inset-bottom,0px))}
 .footer-main a{min-height:44px;display:inline-flex;align-items:center;overflow-wrap:anywhere}
 .footer-main a[href^="mailto:"],.footer-main a[href^="tel:"]{display:inline-block}
}
@media(max-width:360px){
 .brand img{width:32px;height:32px}
 .brand-name,html[lang=ar] .brand-name{font-size:16px}
 .header-inner{gap:6px}
 .footer-main{grid-template-columns:minmax(0,1fr)}
 .footer-main>div:first-child{grid-column:auto}
}

@media(max-width:600px){.prose{font-size:16px}.service-detail p{font-size:16px}}

/* Abdelhalim: consistent vector arrows for desktop, mobile and Arabic. */
.arrow,.project-info .arrow{font-size:0;line-height:0;width:20px;height:20px;flex:0 0 20px;vertical-align:middle}
.arrow::before{content:"";display:block;width:100%;height:100%;background-color:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M6%2018%2018%206M8%206h10v10%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M6%2018%2018%206M8%206h10v10%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.arrow:not([data-directional])::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M12%205v14m-6-6%206%206%206-6%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M12%205v14m-6-6%206%206%206-6%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E")}
.button .arrow,.text-link .arrow,.journal-read .arrow{align-self:center}
.modal-prev,.modal-next{font-size:0;display:grid;place-items:center;width:48px;height:48px;min-width:48px;min-height:48px;padding:0;border:1px solid rgba(255,255,255,.28);border-radius:50%}
.modal-prev::before,.modal-next::before{content:"";display:block;width:22px;height:22px;background-color:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22m9%206%206%206-6%206%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22m9%206%206%206-6%206%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.modal-prev::before{transform:scaleX(-1)}
html[dir=rtl] .modal-prev,html[dir=rtl] .modal-next{transform:none}
html[dir=rtl] .modal-prev::before{transform:none}
html[dir=rtl] .modal-next::before{transform:scaleX(-1)}
@media(max-width:600px){.arrow,.project-info .arrow{width:18px;height:18px;flex-basis:18px}.modal-prev::before,.modal-next::before{width:20px;height:20px}}

/* Replace remaining inline social, journal, contact and project navigation glyphs. */
.icon-label{display:inline-flex;align-items:center;gap:8px;vertical-align:middle;max-width:100%}
.icon-label .arrow{align-self:center}
.arrow--left::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M19%2012H5m6-6-6%206%206%206%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M19%2012H5m6-6-6%206%206%206%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E")}
.arrow--right::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M5%2012h14m-6-6%206%206-6%206%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M5%2012h14m-6-6%206%206-6%206%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E")}
html[dir=rtl] .icon-label .arrow--left,html[dir=rtl] .icon-label .arrow--right{transform:none}

.legacy-banner-link{display:block;min-width:0}.legacy-banner-link img{display:block;width:100%;height:auto}.legacy-banner-link:focus-visible{outline:2px solid currentColor;outline-offset:5px}
