/* Revision 4 extends the approved identity: visitor controls and an immersive project viewer. */
:root{--action:var(--accent);--copy:#c2c5bd;--dock:#1b1c1a;--selected:#19362e;--selected-text:#c6f4e9;--subtle:#252622;color-scheme:dark}
:root[data-theme=light]{
 --bg:#f5f4ec;--surface:#eeeee5;--raised:#e3e5da;--text:#18231f;--muted:#58615b;--line:#c9cfc2;
 --accent:#d5db20;--teal:#087966;--green:var(--accent);--green-ink:#171a08;--action:#087966;--copy:#3e4d45;
 --dock:#eeeee5;--selected:#d9e9df;--selected-text:#175d4d;--subtle:#e3e5da;
 --hairline-plate:#f5f4ec;--hairline-hi:#087966;--hairline-edge:#354a40;--hairline-mid:#738576;--hairline-lo:#b5c0b0;
 color-scheme:light;
}
html{scrollbar-gutter:stable;scrollbar-color:var(--muted) var(--bg)}
body{transition:background-color 220ms,color 180ms}
.accent{color:var(--action)}
.profile-card{border-color:var(--line)}
.profile-note p,.filter-button,.search-field,.work-results-bar p,.about-footnote>p,.contact-socials>a{color:var(--muted)}
.quiet-note{color:var(--muted)}
.section-intro{color:var(--copy)}
.navigation-dock .nav-rail a{color:var(--muted)}
.service[data-open=true] .t-acc-head{color:var(--action)}
.profile-socials a,.navigation-dock .nav-rail,.back-to-top,.dock-button{background:var(--dock);border-color:var(--line);color:var(--muted)}
.profile-socials a:hover,.navigation-dock .nav-rail a:hover,.navigation-dock .nav-rail a[aria-current],.back-to-top:hover,.dock-button:hover{background:var(--selected);color:var(--action)}
.nav-label{background:var(--raised);color:var(--text);white-space:nowrap}
.profile-note p span{color:var(--text)}
.hero h1 .dark-highlight{background:var(--subtle)}
.filter-button{background:var(--surface);border-color:var(--line)}
.filter-button[aria-pressed=true]{background:var(--selected);color:var(--selected-text);border-color:var(--teal)}
.filter-button:hover{color:var(--text)}
.search-field,.search-field input::placeholder{color:var(--muted)}
.search-field{border-color:var(--line)}
.about-copy p,.case-overview,.case-thinking p{color:var(--copy)}
.about-choice{color:var(--copy)}
.about-choice:hover,.about-choice[aria-pressed=true],.craft-category:hover,.craft-category.is-selected,.craft-preview .text-link{color:var(--action)}
.timeline-track{background:var(--line)}
.timeline-entry{border-color:var(--line)}
.service-content a,.text-button,.source-note a,.case-navigation>a:hover{color:var(--action)}
.service .t-acc-head:hover{color:var(--action)}
.craft-browser>.line-figure{--hairline-plate:var(--bg)}
[data-theme=light] .country-stamp{filter:brightness(0) saturate(100%) opacity(.87)}
[data-theme=light] .button.secondary:hover{background:var(--selected);color:var(--action);border-color:var(--action)}
[data-theme=light] .button:hover{background:#e0e635}
[data-theme=light] .hero h1 .highlight{color:#171a08}
[data-theme=light] .hero h1 .dark-highlight{color:var(--teal)}
[data-theme=light] .project-image::after{border-color:#18231f10}
[data-theme=light] .client-logo img{filter:brightness(.5) saturate(.8)}
[data-theme=light] .artwork-zoom{background:var(--raised)}
[data-theme=light] .profile-bottom .pdf-link{color:var(--muted)}
[data-theme=light] .hero-work-link>span{color:#fff}
[data-theme=light] :focus-visible{outline-color:var(--action)}
[data-theme=light] input{caret-color:var(--action)}

/* The original, static country stamp sits in the hero's open top-right corner. */
.hero-heading-row{position:relative}
.country-stamp{position:absolute;top:-20px;right:0;width:clamp(84px,8.6vw,130px);height:auto;pointer-events:none}
.hero h1{font-size:clamp(44px,4.95vw,77px)}

/* All six source metrics, in one seamless row with independent pause control. */
.hero-bottom.stats-motion{display:block;margin-top:42px;padding:25px 0 24px;position:relative;overflow:hidden}
.stats-marquee{overflow:hidden;mask-image:linear-gradient(to right,transparent,#000 3%,#000 97%,transparent)}
.stats-track{display:flex;width:max-content;animation:client-drift 42s linear infinite;direction:ltr;will-change:transform}
.stats-set{display:flex;align-items:center;gap:34px;padding-right:34px}
.stats-set .stat{display:flex;flex-direction:row;align-items:center;gap:12px;flex:none;min-width:145px;max-width:170px}
.stats-set .stat strong{font-size:38px;display:flex;align-items:baseline;font-weight:400;white-space:nowrap;font-variant-numeric:tabular-nums}
.stats-set .stat>span{max-width:85px;font-size:10px;line-height:1.6;color:var(--muted)}
.stats-motion:hover .stats-track,.stats-motion:focus-within .stats-track,.stats-motion.is-paused .stats-track,.stats-motion.is-offscreen .stats-track{animation-play-state:paused}
.stats-motion-control{float:right;min-height:32px;background:transparent;color:var(--muted);border:0;padding:7px 0;font-size:10px;margin-top:9px}
.stats-motion-control:hover{color:var(--action)}

/* Keep theme and language directly below the right navigation. */
.navigation-dock{gap:11px}
.dock-utilities{display:flex;flex-direction:column;align-items:center;gap:9px}
.dock-button{width:42px;height:42px;display:grid;place-items:center;padding:0;border:1px solid var(--line);border-radius:50%;position:relative}
.dock-button .icon{width:17px;height:17px}
.dock-button>span:not(.nav-label){display:grid;place-items:center}
.dock-button:hover .nav-label,.dock-button:focus-visible .nav-label{opacity:1;transform:none}
.dock-button.theme-toggle .theme-moon{display:none}
[data-theme=light] .theme-toggle .theme-sun{display:none}
[data-theme=light] .dock-button.theme-toggle .theme-moon{display:grid}
.language-mark{font-family:var(--font-ar);font-size:17px;line-height:1}
.dock-button[lang=ar],.dock-button [lang=ar]{font-family:var(--font-ar)}
html[lang=ar] .language-mark{font-family:Inter,sans-serif;font-size:10px}

.work-view-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:5px 0 7px;flex-wrap:wrap}
.view-controls{display:flex;gap:4px;border:1px solid var(--line);border-radius:9px;padding:4px;width:fit-content}
.view-button{display:flex;align-items:center;gap:8px;min-height:36px;padding:7px 10px;border:0;background:transparent;color:var(--muted);font-size:10px;border-radius:5px;white-space:nowrap}
.view-button .icon{width:16px;height:16px}
.view-button[aria-pressed=true]{background:var(--raised);color:var(--text)}
.view-button:hover{color:var(--action)}
.view-button:not([aria-pressed=true])>span{display:none}
.work-results-bar{margin-bottom:15px;gap:14px}
.open-hint{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:9px;text-align:end}
.open-hint .icon{width:12px;height:12px}
.project-grid[data-view=compact]{grid-template-columns:repeat(3,minmax(0,1fr));gap:27px 16px}
.project-grid{overflow-anchor:none}
.project-grid[data-view=compact] .project-card.featured{grid-column:auto}
.project-grid[data-view=compact] .project-image{aspect-ratio:1.22}
.project-grid[data-view=compact] .project-card h3{font-size:14px}
.project-grid[data-view=compact] .project-card-meta p{font-size:10px}
.project-grid[data-view=compact] .project-year{display:none}
.project-grid[data-view=list]{grid-template-columns:1fr;gap:0}
.project-grid[data-view=list] .project-card{display:grid;grid-template-columns:180px 1fr;gap:28px;align-items:center;padding:23px 0;border-top:1px solid var(--line)}
.project-grid[data-view=list] .project-image{aspect-ratio:1.5}
.project-grid[data-view=list] .project-card-meta{margin-top:0;align-items:center;gap:18px}
.project-grid[data-view=list] .project-card h3{font-size:20px}
.project-grid[data-view=list] .project-card-meta p{font-size:11px;max-width:43ch}
.project-grid[data-view=list] .project-year{display:block;font-size:11px}
.project-grid[data-view=list] .project-arrow{width:30px;height:30px;min-width:30px;min-height:30px;right:9px;bottom:9px}
.project-grid[data-view=list] .project-arrow .icon{width:14px;height:14px}

/* Native modal: its own scrolling, focus boundary, artwork viewer and shareable URL. */
.project-dialog{padding:0;width:min(1100px,92vw);max-width:92vw;height:92dvh;max-height:92dvh;overflow:hidden;border:0;border-radius:16px;background:var(--bg);color:var(--text);box-shadow:0 24px 90px #0008}
.project-dialog::backdrop{background:#000c}
.project-dialog-top{height:66px;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 24px;border-bottom:1px solid var(--line);background:var(--bg)}
.project-position{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.project-dialog-tools{display:flex;align-items:center;gap:20px}
.project-dialog-tools .text-button{display:flex;align-items:center;gap:7px;font-size:11px;min-height:40px;color:var(--text)}
.project-dialog-tools .text-button .icon{width:15px;height:15px}
.project-link-field{position:absolute;z-index:2;top:60px;right:24px;width:min(420px,calc(100% - 48px));height:42px;padding:8px 12px;border:1px solid var(--teal);border-radius:7px;background:var(--raised);color:var(--text);font-size:11px;box-shadow:0 8px 25px #0003}
.project-content{height:calc(100% - 66px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:43px 45px 20px;outline:none}
.project-content .case-header{margin-bottom:35px}
.project-content .case-header>h2{font-size:clamp(36px,4.5vw,60px);line-height:1.15;max-width:18ch;outline:none;letter-spacing:-.035em}
.project-content .case-title{font-size:23px;margin-top:13px}
.case-title{color:var(--muted)}
.project-content .case-overview{font-size:14px;line-height:1.9;max-width:72ch;margin-top:22px}
.project-content .case-meta{margin-top:26px;padding-top:20px}
.project-content .case-meta dt{color:var(--muted)}
.project-content .case-meta dd{color:var(--text);font-size:12px}
.project-content .case-thinking{gap:40px}
.project-content .case-thinking p{font-size:13px;line-height:1.9}
.project-content .case-thinking h2{font-size:25px}
.project-step{display:flex;align-items:center;gap:13px;font-size:14px;max-width:46%;text-align:start;color:var(--text);background:transparent;border:0;padding:8px 0;min-height:50px}
.project-step:last-child{text-align:end}
.project-step small{display:block;font-size:10px;color:var(--muted);margin-bottom:4px}
.project-step:hover{color:var(--action)}
.lightbox-top{background:var(--surface)}
.lightbox .icon-button{color:var(--text)}
.icon-button{background:var(--raised)}
.project-content bdi{font-family:Manrope,Inter,sans-serif}

/* Arabic inherits the same artwork and identity, with real RTL typesetting. */
html[lang=ar] body,html[lang=ar] .about-choice{font-family:var(--font-ar);letter-spacing:0}
html[lang=ar] h1,html[lang=ar] h2,html[lang=ar] h3,html[lang=ar] h4{font-family:var(--font-ar-heading);letter-spacing:0}
html[lang=ar] body{direction:ltr}
html[lang=ar] .main-column,html[lang=ar] .profile-card,html[lang=ar] .mobile-header,html[lang=ar] .project-dialog,html[lang=ar] .lightbox{direction:rtl}
html[lang=ar] .profile-info p{font-size:12px;line-height:1.9}
html[lang=ar] .identity span{font-size:11px}
.stats-marquee,.client-motion{direction:ltr}
html[lang=ar] .hero h1{font-size:clamp(39px,4.4vw,66px);line-height:1.65;letter-spacing:0}
html[lang=ar] .hero-line{padding-bottom:.2em;margin-bottom:-.2em}
html[lang=ar] .hero h1 .highlight{padding:0 16px 6px;line-height:1.5}
html[lang=ar] .country-stamp{right:auto;left:0}
html[lang=ar] .profile-note p{font-family:var(--font-ar);font-size:23px;line-height:1.9;letter-spacing:0}
html[lang=ar] .profile-info h2{line-height:1.65}
html[lang=ar] .identity p{font-size:13px}
html[lang=ar] .stat>span{direction:rtl;text-align:right}
html[lang=ar] .stat strong{font-family:Manrope,sans-serif}
html[lang=ar] .hero-intro>p{max-width:45ch}
html[lang=ar] .about-choice,html[lang=ar] .craft-category,html[lang=ar] .project-step{text-align:right}
html[lang=ar] .about-choice:hover,html[lang=ar] .about-choice[aria-pressed=true]{padding-left:0;padding-right:10px}
html[lang=ar] .timeline{padding-left:0;padding-right:30px}
html[lang=ar] .timeline-track{left:auto;right:4px}
html[lang=ar] .timeline-dot{left:auto;right:-30px}
html[lang=ar] .experience-date,html[lang=ar] .current-role{text-align:left}
html[lang=ar] .filter-button>span{margin-left:0;margin-right:4px}
html[lang=ar] .project-content .case-header>h2{font-family:Manrope,sans-serif;letter-spacing:-.035em;text-align:start}
html[lang=ar] .brand-identity,html[lang=ar] .nav-rail,html[lang=ar] .dock-utilities,html[lang=ar] .footer-wordmark,html[lang=ar] .email-link{direction:ltr}
html[lang=ar] .about-copy h3,html[lang=ar] .contact-section h2{line-height:1.55}

@media(min-width:1600px){.hero h1{font-size:79px}.country-stamp{width:132px}}
@media(max-height:760px) and (min-width:701px){.navigation-dock .nav-rail{gap:0;padding:6px}.navigation-dock .nav-rail a{height:34px;min-height:34px}.dock-button,.back-to-top{width:36px;height:36px}.dock-utilities{gap:7px}.navigation-dock{gap:9px}}
@media(max-width:1100px){.hero h1{font-size:clamp(43px,6.1vw,76px)}.country-stamp{width:100px;top:-17px}}
@media(max-width:700px){
 .hero h1{font-size:clamp(30px,8.3vw,53px)}.country-stamp{width:62px;top:-16px;right:0}
 .hero-bottom.stats-motion{margin-top:30px;padding:20px 0 10px}.stats-set{gap:25px;padding-right:25px}.stats-set .stat{min-width:140px;gap:10px}.stats-set .stat strong{font-size:31px}.stats-set .stat>span{font-size:10px}.stats-motion-control{font-size:9px}
 .navigation-dock{display:flex;flex-direction:row;gap:6px;max-width:calc(100% - 18px);width:max-content;direction:ltr}
 .navigation-dock .nav-rail{padding:5px 6px;gap:2px}.navigation-dock .nav-rail a{width:31px;min-width:31px;height:40px;min-height:40px}
 .dock-utilities{flex-direction:row;gap:4px}.dock-button{width:30px;height:36px;flex:none}.dock-button .icon{width:15px;height:15px}.dock-button .nav-label{display:none}
 .navigation-dock .back-to-top{width:30px;height:36px;display:none}.navigation-dock .back-to-top.is-needed{display:grid}
 .language-mark{font-size:15px}
 .work-view-bar{gap:10px}.view-button{min-height:38px;padding:7px 9px;font-size:10px}.view-controls{gap:3px;padding:3px}
 .open-hint{display:none}.work-results-bar{margin-bottom:13px}
 .project-grid[data-view=compact]{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 13px}.project-grid[data-view=compact] .project-card h3{font-size:14px}.project-grid[data-view=compact] .project-card-meta p{font-size:10px}
 .project-grid[data-view=list] .project-card{grid-template-columns:100px 1fr;gap:16px;padding:17px 0}.project-grid[data-view=list] .project-card h3{font-size:15px}.project-grid[data-view=list] .project-card-meta p{font-size:10px}.project-grid[data-view=list] .project-year{display:none}.project-grid[data-view=list] .project-card-meta{gap:0}
 .project-grid[data-view=list] .project-arrow{display:none}
 .project-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0}.project-dialog-top{height:62px;padding:10px 15px;gap:10px}.project-position{font-size:9px;max-width:45%;line-height:1.6}.project-dialog-tools{gap:12px}.project-dialog-tools .text-button{font-size:10px;gap:5px}.project-dialog-tools .text-button .icon{width:13px;height:13px}.project-dialog-top .icon-button{width:36px;height:36px}
 .project-content{height:calc(100% - 62px);padding:28px 19px 10px}.project-content .case-header>h2{font-size:36px;line-height:1.18}.project-content .case-title{font-size:19px;margin-top:11px}.project-content .case-overview{font-size:13px;line-height:1.85;margin-top:18px}.project-content .case-meta{gap:18px 12px}.project-content .case-meta dd{font-size:11px}.project-content .case-thinking{gap:23px}.project-content .case-thinking p{font-size:12px}.project-step{font-size:12px;gap:8px}.project-step .icon{width:16px;height:16px}
 html[lang=ar] .hero h1{font-size:clamp(29px,7.7vw,44px);line-height:1.65}html[lang=ar] .hero h1 .highlight{padding:0 10px 5px}html[lang=ar] .country-stamp{width:58px;top:-5px}html[lang=ar] .hero-intro>p{font-size:11px;max-width:32ch}html[lang=ar] .hero-top{gap:9px}html[lang=ar] .identity p{font-size:12px}
 html[lang=ar] .timeline{padding-right:25px}html[lang=ar] .timeline-dot{right:-25px}html[lang=ar] .experience-date{text-align:right}html[lang=ar] .current-role{text-align:right}
}
@media(max-width:360px){
 .hero h1{font-size:28px}.country-stamp{width:51px;top:-15px}
 .navigation-dock{gap:5px;max-width:calc(100% - 16px)}.navigation-dock .nav-rail a{width:24px;min-width:24px}.navigation-dock .nav-rail .icon{width:14px;height:14px}.dock-utilities{gap:4px}.dock-button,.navigation-dock .back-to-top{width:27px;height:34px}
 .project-grid[data-view=list] .project-card{grid-template-columns:85px 1fr;gap:13px}.project-grid[data-view=list] .project-card h3{font-size:14px}
 html[lang=ar] .hero h1{font-size:26px}html[lang=ar] .country-stamp{width:48px}
}
@media(prefers-reduced-motion:reduce){
 .stats-track{animation:none!important;transform:none!important}.stats-marquee{overflow-x:auto;mask-image:none}.stats-set[aria-hidden=true]{display:none}.stats-motion-control{display:none}body{transition:none}
}

/* Revision 5: the owner's Zaatar family, real weight hierarchy, adjustable grid and discovery. */
:root{--font-ar:"IBM Plex Sans Arabic","Noto Arabic",Arial,sans-serif;--font-ar-heading:Zaatar,"IBM Plex Sans Arabic","Noto Arabic",sans-serif}
body{font-size:15px}h2,h3,h4{font-weight:600}
.hero h1{font-weight:400}.hero h1 .highlight{font-weight:600}
.profile-info h2{font-weight:600}.profile-note p{font-weight:500}.section-line h2{font-weight:600}
.about-copy h3,.craft-copy h3,.contact-section h2{font-weight:600}.about-insight h4{font-weight:500}
.filter-button,.text-link,.hero-work-link{font-weight:500}
.project-card h3{font-weight:600}.case-title{font-weight:500}
html[lang=ar] body{font-family:var(--font-ar);font-synthesis:none}
html[lang=ar] body{font-size:17px;line-height:1.8}
html[lang=ar] .hero h1{font-weight:900;font-size:clamp(40px,4.45vw,65px);line-height:1.48}
html[lang=ar] .hero h1 .highlight{font-weight:900;line-height:1.45;padding-bottom:2px}
html[lang=ar] .section-line h2{font-size:36px;font-weight:900;line-height:1.4}
html[lang=ar] .profile-note p{font-family:var(--font-ar);font-weight:700;font-size:28px;line-height:1.65}
html[lang=ar] .profile-info h2{font-weight:900;font-size:32px;line-height:1.45}
html[lang=ar] .profile-info p{font-size:15px;line-height:1.8}
html[lang=ar] .identity p{font-size:16px;font-weight:700}html[lang=ar] .identity span{font-size:13px}
html[lang=ar] .hero-intro>p{font-size:16px;line-height:1.75}
html[lang=ar] .about-copy h3,html[lang=ar] .craft-copy h3,html[lang=ar] .contact-section h2{font-weight:900;line-height:1.5}
html[lang=ar] .about-copy p,html[lang=ar] .contact-section>p{font-size:18px;line-height:1.9}
html[lang=ar] .about-insight h4{font-weight:700;font-size:34px}
html[lang=ar] .craft-copy>p,html[lang=ar] .service-content p{font-size:17px;line-height:1.8}
html[lang=ar] .craft-category{font-size:16px;font-weight:700}html[lang=ar] .craft-category small{font-size:13px;font-weight:400}
html[lang=ar] .filter-button,html[lang=ar] .text-link,html[lang=ar] .button{font-size:15px;font-weight:700}
html[lang=ar] .search-field input{font-size:16px}
html[lang=ar] .about-choice{font-size:17px;font-weight:700}
html[lang=ar] .stat>span{font-size:13px;line-height:1.6}
html[lang=ar] .timeline-entry h3{font-weight:700;font-size:25px}
html[lang=ar] .timeline-entry>p{font-size:14px}
html[lang=ar] .experience-date{font-size:13px}
html[lang=ar] .local-time{font-family:var(--font-ar);font-size:10px}
.density-control{width:min(100%,340px);padding:14px 0 9px}
.density-label{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px;margin-bottom:8px}
.density-label label{font-weight:600}.density-label output{color:var(--teal);font-variant-numeric:tabular-nums}
.density-control input{--density-progress:33.333%;appearance:none;display:block;width:100%;height:30px;margin:0;background:transparent;cursor:ew-resize;direction:ltr;border-radius:4px}
.density-control input::-webkit-slider-runnable-track{height:3px;border-radius:3px;background:linear-gradient(to right,var(--teal) var(--density-progress),var(--line) var(--density-progress))}
.density-control input::-moz-range-track{height:3px;background:var(--line);border-radius:3px}
.density-control input::-moz-range-progress{height:3px;background:var(--teal)}
.density-control input::-webkit-slider-thumb{appearance:none;width:18px;height:18px;border-radius:50%;background:var(--action);border:3px solid var(--bg);box-shadow:0 0 0 1px var(--action);margin-top:-7.5px}
.density-control input::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:var(--action);border:3px solid var(--bg)}
.density-scale{display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:10px;margin-top:2px}
.project-grid{grid-template-columns:repeat(var(--project-columns,2),minmax(0,1fr));overflow-anchor:none;gap:32px 20px}
.project-grid .project-card.featured{grid-column:auto}
.project-grid .project-image,.project-grid .project-card.featured .project-image{aspect-ratio:1.5}
.project-grid .project-card h3,.project-grid .project-card.featured h3{font-size:20px;font-weight:600}
.project-grid .project-card-meta p,.project-grid .project-card.featured .project-card-meta p{font-size:12px;line-height:1.65}
.project-grid[data-columns="1"] .project-image{aspect-ratio:1.7}
.project-grid[data-columns="1"] .project-card h3{font-size:27px}
.project-grid[data-columns="3"] .project-card h3,.project-grid[data-columns="4"] .project-card h3{font-size:16px}
.project-grid[data-columns="3"] .project-card-meta p,.project-grid[data-columns="4"] .project-card-meta p{font-size:11px}
.project-grid[data-columns="3"] .project-year,.project-grid[data-columns="4"] .project-year{display:none}
.project-grid[data-columns="4"] .project-image{aspect-ratio:1.15}
.case-title-row{display:flex;direction:ltr;align-items:flex-start;justify-content:space-between;gap:24px}
.case-title-row>h1,.project-content .case-title-row>h2{font-size:clamp(34px,4.2vw,58px);line-height:1.12;font-weight:700;letter-spacing:-.035em;margin:0;min-width:0;max-width:19ch;outline:none;text-align:start}
.project-category{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:180px;min-height:42px;flex:none;padding:10px 14px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--action);font-size:12px;font-weight:600;line-height:1.5;text-align:center}
.project-category .icon{width:14px;height:14px}.project-category:hover{border-color:var(--action);background:var(--selected)}
.case-summary{display:grid;grid-template-columns:minmax(0,1fr) 96px;align-items:center;gap:34px;margin:24px 0 30px}
.case-summary .case-overview,.project-content .case-summary .case-overview{margin:0;font-size:15px;line-height:1.9;max-width:72ch}
.project-country-stamp{width:96px;height:96px;object-fit:contain;justify-self:end}
[data-theme=light] .project-country-stamp{filter:brightness(0) saturate(100%) opacity(.87)}
.project-content .case-title{font-size:24px;font-weight:500;margin:18px 0 0}
.related-projects{padding:38px 0 25px;border-top:1px solid var(--line);margin-top:30px}
.related-heading{display:flex;align-items:baseline;justify-content:space-between;gap:18px;margin-bottom:24px}
.related-heading h2,.related-heading h3{font-size:30px;font-weight:700;line-height:1.25}
.related-heading>span{font-size:12px;color:var(--muted)}
.related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}
.related-card{min-width:0;display:block;border-radius:10px}
.related-image{position:relative;border-radius:10px;overflow:hidden;aspect-ratio:1.45;background:var(--surface)}
.related-image img{width:100%;height:100%;object-fit:cover;transition:transform 450ms var(--ease)}
.related-image>span{position:absolute;bottom:10px;right:10px;background:#101010d9;color:#fff;border-radius:50%;height:32px;width:32px;display:grid;place-items:center}
.related-image .icon{width:15px;height:15px}.related-card:hover img{transform:scale(1.04)}
.related-card h3,.related-card h4{font-family:Manrope,sans-serif;font-size:17px;font-weight:700;line-height:1.4;margin:13px 0 5px;letter-spacing:-.02em}
.related-card p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}
html[lang=ar] .density-label{font-size:16px}html[lang=ar] .density-label label{font-weight:700}html[lang=ar] .density-scale{font-size:13px}
.density-scale{direction:ltr}
html[lang=ar] .section-intro{font-family:var(--font-ar);font-size:20px;line-height:1.8}
html[lang=ar] .service .t-acc-head{font-family:var(--font-ar-heading);font-weight:700;font-size:21px;letter-spacing:0}
html[lang=ar] .case-title-row>h1,html[lang=ar] .case-title-row>h2,html[lang=ar] .related-card h3,html[lang=ar] .related-card h4{font-family:Manrope,Inter,var(--font-ar);letter-spacing:-.02em}
html[lang=ar] .project-dialog-top .text-button,html[lang=ar] #project-position{font-size:14px}
html[lang=ar] .source-note,html[lang=ar] .case-artwork figcaption,html[lang=ar] .zoom-affordance{font-size:13px;line-height:1.8}
html[lang=ar] .project-category{font-family:var(--font-ar);font-weight:700;font-size:16px}
html[lang=ar] .case-title,html[lang=ar] .project-content .case-title{font-size:26px;font-weight:700;line-height:1.5}
html[lang=ar] .case-summary .case-overview,html[lang=ar] .project-content .case-summary .case-overview{font-size:19px;font-weight:400;line-height:1.85}
html[lang=ar] .project-content .case-thinking h2{font-family:var(--font-ar-heading);font-weight:900;font-size:30px}
html[lang=ar] .project-content .case-thinking p,html[lang=ar] .case-thinking p{font-size:18px;line-height:1.85}
html[lang=ar] .case-meta dt{font-size:14px}html[lang=ar] .case-meta dd,html[lang=ar] .project-content .case-meta dd{font-size:16px}
html[lang=ar] .related-heading h2,html[lang=ar] .related-heading h3{font-family:var(--font-ar-heading);font-weight:900;font-size:32px}
html[lang=ar] .related-heading>span,html[lang=ar] .related-card p{font-size:15px}
html[lang=ar] .project-grid .project-card-meta p{font-family:var(--font-ar);font-size:15px;line-height:1.5}
@media(max-width:1100px){html[lang=ar] .hero h1{font-size:clamp(38px,5.5vw,60px)}}
@media(max-width:700px){
 .density-control{width:100%;max-width:360px}.density-label{font-size:12px}
 .project-grid{gap:25px 13px}.project-grid .project-card h3,.project-grid .project-card.featured h3{font-size:16px}.project-grid .project-card-meta p,.project-grid .project-card.featured .project-card-meta p{font-size:11px}.project-grid .project-year{display:none}
 .project-grid[data-columns="1"] .project-card h3{font-size:23px}.project-grid[data-columns="1"] .project-year{display:block}
 .case-title-row{gap:14px}.case-title-row>h1,.project-content .case-title-row>h2{font-size:29px;line-height:1.17;letter-spacing:-.025em}
 .project-category{max-width:112px;padding:8px 10px;font-size:10px;gap:5px;min-height:38px}.project-category .icon{width:12px;height:12px}
 .project-content .case-title{font-size:19px;margin-top:16px}
 .case-summary{grid-template-columns:minmax(0,1fr) 61px;gap:18px;align-items:start;margin:21px 0 24px}
 .case-summary .case-overview,.project-content .case-summary .case-overview{font-size:13px;line-height:1.85}.project-country-stamp{width:61px;height:61px;margin-top:5px}
 .related-projects{padding-top:28px}.related-heading{display:block;margin-bottom:20px}.related-heading h2,.related-heading h3{font-size:26px}.related-heading>span{display:block;font-size:11px;margin-top:7px}
 .related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 13px}.related-card h3,.related-card h4{font-size:15px;margin-top:10px}.related-card p{font-size:11px}
 html[lang=ar] .hero h1{font-size:clamp(30px,7.6vw,45px);line-height:1.6}html[lang=ar] .hero h1 .highlight{padding:0 9px 2px}
 html[lang=ar] .section-line h2{font-size:30px}html[lang=ar] .identity p{font-size:15px}html[lang=ar] .identity span{font-size:12px}
 html[lang=ar] .hero-intro>p{font-size:14px;line-height:1.7;max-width:30ch}
 html[lang=ar] .about-copy h3{font-size:35px}html[lang=ar] .about-copy p,html[lang=ar] .contact-section>p{font-size:17px}
 html[lang=ar] .craft-copy h3{font-size:31px}html[lang=ar] .craft-copy>p{font-size:16px}html[lang=ar] .about-choice{font-size:15px}html[lang=ar] .filter-button{font-size:14px}
 html[lang=ar] .project-category{font-size:14px}html[lang=ar] .case-title,html[lang=ar] .project-content .case-title{font-size:23px}
 html[lang=ar] .case-summary .case-overview,html[lang=ar] .project-content .case-summary .case-overview{font-size:17px;line-height:1.8}
 html[lang=ar] .project-content .case-thinking p,html[lang=ar] .case-thinking p{font-size:17px}
 html[lang=ar] .related-heading h2,html[lang=ar] .related-heading h3{font-size:29px}html[lang=ar] .related-card p{font-size:14px}
}
@media(max-width:360px){html[lang=ar] .hero h1{font-size:26px}.case-title-row>h1,.project-content .case-title-row>h2{font-size:25px}.project-category{max-width:105px}.case-summary{gap:13px}}

@media(min-width:901px){.project-content .case-meta,.case-main .case-meta{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}}

/* Revision 6: quiet colour atmosphere and an image-led, expandable project gallery. */
body{isolation:isolate}
.ambient-backdrop{position:fixed;inset:-90px;z-index:-1;overflow:hidden;pointer-events:none;contain:strict}
.ambient-field{position:absolute;display:block;width:min(1000px,100vw);aspect-ratio:1;border-radius:50%;will-change:transform}
.ambient-teal{left:25%;top:-23%;background:radial-gradient(ellipse at center,rgba(40,180,155,.105),rgba(40,180,155,.035) 38%,transparent 69%);animation:ambient-teal 26s ease-in-out infinite alternate}
.ambient-lemon{right:-26%;bottom:-38%;background:radial-gradient(ellipse at center,rgba(228,233,45,.065),rgba(228,233,45,.018) 36%,transparent 70%);animation:ambient-lemon 32s ease-in-out infinite alternate}
@keyframes ambient-teal{from{transform:translate3d(-3%,0,0) scale(1)}to{transform:translate3d(10%,17%,0) scale(1.13)}}
@keyframes ambient-lemon{from{transform:translate3d(5%,7%,0) scale(1.03)}to{transform:translate3d(-13%,-12%,0) scale(1.14)}}
.ambient-backdrop[data-paused=true] .ambient-field,[data-ambient=paused] .ambient-field{animation-play-state:paused;will-change:auto}
[data-theme=light] .ambient-teal{opacity:.62}[data-theme=light] .ambient-lemon{opacity:.75}
.hero-time{display:grid;justify-items:end;gap:4px;max-width:174px;flex:none;text-align:end}
.ambient-toggle{display:inline-flex;gap:5px;align-items:center;justify-content:flex-end;min-height:30px;padding:4px 0;border:0;background:none;color:var(--muted);font-size:10px;line-height:1.5}
.ambient-toggle .icon{width:11px;height:11px}.ambient-toggle:hover{color:var(--action)}
.ambient-toggle[aria-pressed=true] .icon{transform:rotate(90deg)}
.project-gallery{margin:34px 0 46px;min-width:0}
.gallery-heading{display:flex;align-items:baseline;justify-content:space-between;gap:18px;margin:0 0 20px}
.gallery-heading h2{font-size:30px;font-weight:700;line-height:1.3;letter-spacing:-.025em}
.gallery-total{font-size:12px;color:var(--muted);white-space:nowrap}
.gallery-stage{position:relative;width:100%;min-width:0;aspect-ratio:1.8;max-height:48vh;background:var(--surface);border-radius:14px;overflow:hidden}
.gallery-stage>.artwork-zoom{display:block;width:100%;height:100%;border-radius:inherit;background:transparent}
.gallery-stage .gallery-main-image{display:block;width:100%;height:100%;max-height:none;object-fit:contain;transition:opacity 220ms ease-out}
.gallery-stage .zoom-affordance{opacity:1;bottom:18px;right:18px;left:auto;background:#101010dc;color:#fff;max-width:calc(100% - 36px);font-size:11px}
.gallery-stage.is-loading .gallery-main-image{opacity:.45}
.gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:13px 0 17px;min-height:42px}
.gallery-caption{display:flex;gap:16px;align-items:center;margin:0;font-size:12px;color:var(--muted);line-height:1.6}
.gallery-position{font-family:Inter,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--text)}
.gallery-kind{font-size:11px}.gallery-actions{display:flex;align-items:center;gap:17px}.gallery-expand{gap:7px;font-size:11px;color:var(--copy);white-space:nowrap}.gallery-expand:hover,.gallery-expand:focus-visible{color:var(--action)}
.gallery-expand .icon{width:14px;height:14px}.gallery-arrows{display:flex;gap:8px}.gallery-arrows .icon-button{width:36px;height:36px;min-height:36px;background:var(--surface);border:1px solid var(--line);color:var(--text)}
.gallery-arrows .icon-button:hover:not(:disabled){color:var(--action);border-color:var(--action)}
.gallery-thumbs{display:flex;gap:11px;overflow-x:auto;padding:6px 5px 12px;margin:0 -5px;overscroll-behavior-x:contain;scrollbar-width:thin}
.gallery-thumb{position:relative;flex:0 0 103px;min-width:0;padding:0;border:0;border-radius:7px;overflow:hidden;background:var(--raised);aspect-ratio:1.35;opacity:.56;transition:opacity 200ms ease-out,box-shadow 200ms ease-out}
.gallery-thumb>img{width:100%;height:100%;object-fit:cover}.gallery-thumb>span{position:absolute;bottom:4px;right:5px;min-width:19px;height:19px;display:grid;place-items:center;background:#101010d9;color:#fff;border-radius:50%;font-family:Inter,sans-serif;font-size:9px;line-height:1}
.gallery-thumb:hover,.gallery-thumb[aria-pressed=true]{opacity:1}.gallery-thumb[aria-pressed=true]{box-shadow:0 0 0 2px var(--action)}
.project-gallery.is-expanded .gallery-thumbs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));overflow:visible}
.project-gallery.is-expanded .gallery-thumb{width:100%;aspect-ratio:1.35}
.gallery-error{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--surface);color:var(--text);padding:25px;text-align:center;gap:10px}.gallery-error p{font-size:14px;margin:0}
.case-enquiry{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:25px 0;margin:18px 0 15px;border-bottom:1px solid var(--line)}
.case-enquiry p{font-size:13px;color:var(--muted);margin:0}.case-enquiry strong{display:block;font-family:Manrope,sans-serif;font-size:28px;font-weight:600;line-height:1.45;color:var(--text);margin-top:5px;letter-spacing:-.02em}
.case-enquiry .text-link{flex:none;font-size:12px;color:var(--teal)}.case-enquiry .text-link:hover{color:var(--action)}.case-enquiry .icon{width:17px;height:17px}
.case-topbar{flex-wrap:wrap}.case-topbar .ambient-toggle{margin-inline-start:auto}
html[lang=ar] .ambient-toggle{font-size:14px;font-weight:400;max-width:174px}
html[lang=ar] .gallery-heading h2{font-size:32px;font-weight:900;letter-spacing:0}
html[lang=ar] .gallery-total{font-size:15px}html[lang=ar] .gallery-kind,html[lang=ar] .gallery-expand{font-size:15px}
html[lang=ar] .gallery-error p{font-size:18px}html[lang=ar] .case-enquiry p{font-size:17px}
html[lang=ar] .case-enquiry strong{font-family:var(--font-ar);font-size:30px;font-weight:700;letter-spacing:0}
html[lang=ar] .case-enquiry .text-link{font-size:16px}
html[lang=ar] .project-card h3[lang=en]{font-family:Manrope,Inter,sans-serif}
html[lang=ar] .gallery-arrows{flex-direction:row-reverse}html[lang=ar] .gallery-arrows .icon{transform:scaleX(-1)}
@media(max-width:700px){
 .ambient-field{width:850px}.ambient-teal{left:-80%;top:-20%}.ambient-lemon{right:-150%;bottom:-20%;opacity:.5}
 .hero-time{max-width:145px}.ambient-toggle{font-size:9px;gap:3px;min-height:28px}.ambient-toggle .icon{width:10px;height:10px}
 .project-gallery{margin:26px 0 33px}.gallery-heading{margin-bottom:15px}.gallery-heading h2{font-size:24px}.gallery-total{font-size:11px}
 .gallery-stage{aspect-ratio:1.22;max-height:none;border-radius:10px}.gallery-stage .zoom-affordance{bottom:10px;right:10px;font-size:10px;max-width:calc(100% - 20px)}
 .gallery-toolbar{gap:10px;margin:10px 0 12px}.gallery-caption{gap:9px;font-size:11px}.gallery-kind{display:none}.gallery-actions{gap:10px}.gallery-expand{font-size:10px;gap:5px}.gallery-expand .icon{width:12px;height:12px}.gallery-arrows{gap:5px}.gallery-arrows .icon-button{height:32px;width:32px;min-height:32px}
 .gallery-thumbs{gap:9px}.gallery-thumb{flex-basis:74px}.gallery-thumb>span{height:17px;min-width:17px;font-size:8px}
 .project-gallery.is-expanded .gallery-thumbs{grid-template-columns:repeat(3,minmax(0,1fr))}
 .case-enquiry{display:block;padding:24px 0;margin-top:28px}.case-enquiry strong{font-size:25px}.case-enquiry .text-link{margin-top:18px;display:inline-flex;gap:10px}
 html[lang=ar] .ambient-toggle{font-size:12px;max-width:145px}html[lang=ar] .gallery-heading h2{font-size:27px}
 html[lang=ar] .gallery-total,html[lang=ar] .gallery-kind,html[lang=ar] .gallery-expand{font-size:13px}
 html[lang=ar] .gallery-kind{max-width:75px}html[lang=ar] .case-enquiry strong{font-size:28px}
}
@media(prefers-reduced-motion:reduce){.ambient-field{animation:none!important;will-change:auto}.ambient-backdrop{transform:none!important}.gallery-main-image,.gallery-thumb{transition:none!important}}
