/* EMILION / REGENT EMILION — approved 02 Dusty Mauve & Platinum.
 * Canonical design rules packaged with the plugin. No Custom CSS dependency.
 * Original layout.css supplies structural styles only where not replaced here.
 */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600&family=Noto+Sans+JP:wght@400;500;600&display=swap');
body.emq-home,body.emq-profile,body.emq-content{
 --em-mauve:#59485F;--em-plum:#382E3F;--em-platinum:#F4F1F1;
 --em-lilac:#EEEAEE;--em-lilac-grey:#B8ADB9;--em-card:#FFFFFF;
 --em-line:#DED7DF;--em-text:#403544;--em-taupe-text:#756556;
 --em-taupe:#B9A99A;--em-gold:#A58B68;--em-footer:#46394D;
 --navy:#59485F;--deep:#382E3F;--ink:#403544;--gold:#A58B68;
 --cream:#F4F1F1;--paper:#FFFFFF;--line:#DED7DF;--muted:#756556;
 background:#F4F1F1;color:#403544;
}
body.emq-home main,body.emq-profile main,body.emq-content main{background:#F4F1F1}
body.emq-home h1,body.emq-home h2,body.emq-home h3,
body.emq-profile h1,body.emq-profile h2,body.emq-profile h3,
body.emq-content h1,body.emq-content h2,body.emq-content h3{color:#382E3F}
body.emq-home .smalllabel,body.emq-profile .smalllabel,body.emq-content .smalllabel{color:#756556}
body.emq-home .site-header,body.emq-profile .site-header,body.emq-content .site-header{background:#59485F;box-shadow:0 2px 20px rgba(30,22,32,.07)}
.site-header .navlinks{gap:clamp(10px,1.7vw,24px);color:#F4F1F1}
.site-header .navlinks a{color:#F4F1F1}
.site-header .navlinks a.active,.site-header .navlinks a:hover{color:#E5D8CB}
.site-header .navlinks a.active:after{background:#B9A99A}
.site-header .headinner{height:86px}
.site-header .logo{display:inline-flex;gap:13px;align-items:center;min-width:0}
.site-header .emq-brand-img{display:block;width:auto;height:auto;max-width:210px;max-height:75px;object-fit:contain;flex:none;filter:brightness(0) invert(1)}
.site-header .headtools .lang{color:#F4F1F1;background:transparent;opacity:1;border:0;border-bottom:2px solid transparent}
.site-header .headtools .lang[aria-pressed=true]{color:#E5D8CB;border-bottom-color:#E5D8CB;text-decoration:none}
.site-header .headtools .lang:hover,.site-header .headtools .lang:focus-visible{color:#FFFFFF}
.site-header .hamb{color:#FFFFFF}
/* Home: readable white type without purple haze or saturation filters. */
body.emq-home #home.hero{position:relative;isolation:isolate;overflow:hidden}
body.emq-home #home.hero::before{content:none}
body.emq-home #home.hero::after{content:"";position:absolute;inset:0;z-index:1;
 background:linear-gradient(90deg,rgba(28,25,31,.72) 0%,rgba(28,25,31,.52) 32%,rgba(28,25,31,.22) 58%,rgba(28,25,31,0) 82%,rgba(28,25,31,0) 100%);
 opacity:1;mix-blend-mode:normal;pointer-events:none}
body.emq-home #home .hero-photo{z-index:0;filter:none;object-fit:cover;object-position:center top}
body.emq-home #home .hero-content{position:relative;z-index:2}
body.emq-home #home .hero-slider-controls{z-index:3}
body.emq-home #home h1,body.emq-home #home h2,body.emq-home #home h3,body.emq-home #home .hero-content>p{color:#FFFFFF;text-shadow:0 2px 12px rgba(40,30,45,.22)}
body.emq-home #home .eyebrow{color:#EEEAEE}
body.emq-home #home .eyebrow .rule{background:#B9A99A}
body.emq-home #home .hero-slide-dot.is-active{background:#B9A99A;border-color:#B9A99A;color:#403544}
body.emq-home .intro-strip,body.emq-home #developers{background:#FCFAFB;border-color:#DED7DF}
body.emq-home .intro-strip p{color:#403544}
body.emq-home .intro-tags span{color:#756556;border-color:#DED7DF}
body.emq-home #businesses,body.emq-home #expertise{background:#F4F1F1}
body.emq-home :is(#businesses,#company-profile,#expertise,#developers,#corporate) :is(h2,h3,strong){color:#382E3F}
body.emq-home .business-card,body.emq-home #corporate article,body.emq-home .developer-logo-slot{
 background:#FFFFFF;border-color:#DED7DF;box-shadow:0 6px 22px rgba(89,72,95,.045)}
body.emq-home .business-copy p,body.emq-home .workitem p{color:#403544}
body.emq-home .business-copy .subtitle,body.emq-home .textlink,body.emq-home .workno,body.emq-home .home-profile-secondary,body.emq-home #corporate a{color:#756556}
body.emq-home .btn-gold,body.emq-home #contact .btn-gold{background:#B9A99A;border-color:#B9A99A;color:#403544}
body.emq-home .btn-gold:hover,body.emq-home #contact .btn-gold:hover{background:#CCC0B4;color:#403544}
body.emq-home .btn-profile,body.emq-home .emq-license-btn-dark{background:#382E3F;border-color:#382E3F;color:#FFFFFF}
body.emq-home #home .btn-outline,body.emq-home #regent .btn-outline{border-color:#EEEAEE;color:#FFFFFF;background:transparent}
/* Company Profile layout is defined once in the 2.6.3 editorial block below. */
body.emq-home #company-profile{background:#EEEAEE;border-color:#DED7DF}
body.emq-home #expertise .workgrid,body.emq-home #expertise .workitem{border-color:#DED7DF}
body.emq-home #expertise .workitem{position:relative}
body.emq-home #expertise .emq-work-icon{display:block;width:37px;height:37px;margin-bottom:13px;color:#A58B68;stroke:currentColor}
body.emq-home #expertise .workitem h3{margin:8px 0 12px}
body.emq-home #regent .feature-copy,body.emq-home #contact{background:#59485F;color:#F4F1F1}
body.emq-home #regent .feature-copy :is(h2,h3,p),body.emq-home #contact :is(h2,h3,p,label,small){color:#F4F1F1}
body.emq-home #regent .feature-copy .smalllabel,body.emq-home #contact .smalllabel{color:#EEEAEE}
body.emq-home #contact input:not([type=hidden]),body.emq-home #contact textarea{background:#6A596F;border:1px solid #DED7DF;color:#FFFFFF;caret-color:#FFFFFF}
body.emq-home #contact input::placeholder,body.emq-home #contact textarea::placeholder{color:#EEEAEE;opacity:1}
body.emq-home #contact input:focus,body.emq-home #contact textarea:focus{outline:2px solid #B9A99A;outline-offset:2px}
body.emq-home #corporate{background:#EEEAEE}
body.emq-home #developers .developer-logo-grid{grid-template-columns:repeat(var(--emq-partner-cols,4),minmax(0,1fr))}
body.emq-home #developers .developer-logo-slot .emq-partner-link img,body.emq-home #developers .developer-logo-slot .emq-partner-no-link img{
 transform:scale(var(--emq-logo-scale,1));max-height:70px;transition:transform .2s ease}
/* Profile reuses approved palette and the user-supplied Dubai Museum of the Future photograph. */
body.emq-profile .profile-hero{background:#EEEAEE}
body.emq-profile :is(.profile-hero h1,.profile-page .sec-title,.profile-page h3){color:#382E3F}
body.emq-profile .profile-hero-visual img{object-fit:cover;object-position:center center}
body.emq-profile :is(.profile-corporate,.profile-plan){background:#EEEAEE}
body.emq-profile .profile-company-card{border-color:#DED7DF}
body.emq-profile .profile-call{background:#59485F}
body.emq-profile .profile-call .sec-title{color:#F4F1F1}
/* Shared brand footer — remove old global footer width:100% Custom CSS after validation. */
body.emq-home footer.site-footer,body.emq-profile footer.site-footer,body.emq-content footer.site-footer{background:#46394D;color:#F4F1F1;border-top:1px solid rgba(184,173,185,.3)}
.site-footer .footer-logo{display:inline-flex;align-items:center;flex:none;width:auto}
.site-footer .emq-footer-brand-img{display:block;width:auto;height:auto;max-width:240px;max-height:145px;object-fit:contain;filter:brightness(0) invert(1)}
.site-footer .footer-company-links a,.site-footer .footer-logo{color:#FFFFFF}
.site-footer .footer-legal,.site-footer .footer-bottom{color:#E8E1EA}
/* Three intentionally distinct typographic systems; keep Japanese CJK glyphs native. */
html[lang=ja] body:is(.emq-home,.emq-profile,.emq-content){font-family:'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif}
html[lang=ja] :is(.hero h1,.sec-title,.profile-page h1,.profile-page h2,.profile-page h3){font-family:'Noto Sans JP','Hiragino Kaku Gothic ProN',sans-serif;font-weight:500;letter-spacing:0;overflow-wrap:anywhere;line-break:strict}
html[lang=ar] body:is(.emq-home,.emq-profile,.emq-content){font-family:'IBM Plex Sans Arabic',Tahoma,sans-serif;line-height:1.7}
html[lang=ar] :is(.hero h1,.sec-title,.profile-page h1,.profile-page h2,.profile-page h3){font-family:'IBM Plex Sans Arabic',Tahoma,sans-serif;font-weight:500;letter-spacing:0;line-height:1.5}
html[lang=ar] body.emq-home #home.hero::after{background:linear-gradient(270deg,rgba(28,25,31,.72) 0%,rgba(28,25,31,.52) 32%,rgba(28,25,31,.22) 58%,rgba(28,25,31,0) 82%,rgba(28,25,31,0) 100%)}
html[lang=ar] .emq-brand-img,html[lang=ar] .emq-footer-brand-img{direction:ltr}
/* New standard Pages and Posts are opt-in: WordPress native editor and query lifecycle remain intact. */
body.emq-content .emq-content-main{max-width:950px;margin:auto;padding:70px 34px 85px;min-height:55vh}
body.emq-content .emq-content-main h1{font:400 clamp(36px,4vw,53px)/1.25 Georgia,'Times New Roman',serif;color:#382E3F;margin:0 0 30px}
body.emq-content .emq-content-main :is(h2,h3){font-family:Georgia,'Times New Roman',serif;color:#382E3F;line-height:1.35}
body.emq-content .emq-content-main .entry-content{background:#FFFFFF;border:1px solid #DED7DF;padding:clamp(22px,4vw,48px);font-size:15px;line-height:1.9;overflow-wrap:anywhere}
body.emq-content .emq-content-main .entry-content :is(img,video,iframe){max-width:100%;height:auto}
body.emq-content .emq-content-main .emq-news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
body.emq-content .emq-news-card{padding:25px;background:#FFFFFF;border:1px solid #DED7DF}
body.emq-content .emq-news-card h2{font-size:23px;margin:12px 0}
body.emq-content .emq-news-card time{font-size:12px;color:#756556}
body.emq-content .emq-news-card a{color:#382E3F}
body.emq-content .emq-pagination{margin-top:25px;display:flex;gap:12px;flex-wrap:wrap}
@media (max-width:980px){body.emq-home #company-profile .home-profile-focus-grid,body.emq-home #company-profile .home-profile-focus-grid.emq-no-difc{grid-template-columns:1fr;gap:22px}body.emq-home #company-profile .emq-difc-photo{height:260px}}
@media (min-width:781px) and (max-width:1050px){body.emq-home #developers .developer-logo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){
 .site-header .headinner{height:75px}.site-header .emq-brand-img{max-width:180px;max-height:60px}
 .site-header .navlinks{background:#59485F;box-shadow:0 12px 24px rgba(0,0,0,.15)}
 .site-header .navlinks a{color:#FFFFFF}
 body.emq-home #home .hero-photo{object-position:80% 50%}
 body.emq-home #home.hero::after{background:linear-gradient(90deg,rgba(28,25,31,.78) 0%,rgba(28,25,31,.52) 48%,rgba(28,25,31,.10) 100%)}
 html[lang=ar] body.emq-home #home.hero::after{background:linear-gradient(270deg,rgba(28,25,31,.80),rgba(28,25,31,.32))}
 body.emq-home #developers .developer-logo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .site-footer .emq-footer-brand-img{max-width:190px;max-height:115px}
 body.emq-content .emq-content-main{padding:45px 22px 65px}
 body.emq-content .emq-content-main .emq-news-grid{grid-template-columns:1fr}
}
@media(max-width:420px){.site-header .emq-brand-img{max-width:168px;max-height:58px}body.emq-home #expertise .emq-work-icon{width:33px;height:33px}body.emq-content .emq-content-main{padding:35px 18px 50px}}

/* 2.6: legal certificate images and long-form text respect layout margins. */
body.emq-home .legal-section article, body.emq-profile .profile-company-card {min-width:0}
body.emq-profile .profile-hero-visual img{display:block;width:100%;height:100%;object-fit:cover}
body.emq-home .developer-logo-slot .emq-partner-subtitle{line-height:1.3}
body.emq-content .emq-news-grid img{width:100%;height:175px;object-fit:cover;margin-bottom:14px}
body.emq-content .emq-pagination ul{display:flex;list-style:none;gap:12px;padding:0}
body.emq-content .emq-pagination a,body.emq-content .emq-pagination span{padding:8px 12px;background:#fff;border:1px solid #DED7DF}
/* Company Profile hero: approved heading-above-photo composition, not text over the landmark. */
body.emq-profile .profile-hero{background:#EEEAEE;padding:clamp(52px,6vw,82px) 0}
body.emq-profile .profile-hero-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:36px;align-items:start}
body.emq-profile .profile-hero-copy{padding:0}
body.emq-profile .profile-hero h1{max-width:100%;margin:14px 0 14px;font-size:clamp(39px,4.2vw,60px);line-height:1.2;color:#382E3F}
body.emq-profile .profile-lead{max-width:900px;color:#403544;line-height:1.8}
body.emq-profile .profile-keyline{margin:23px 0 15px;background:#A58B68}
body.emq-profile .profile-caption{color:#756556}
body.emq-profile .profile-hero-visual{width:100%;height:auto;aspect-ratio:16/9;overflow:hidden}
body.emq-profile .profile-hero-visual img{width:100%;height:100%;object-position:center center;filter:none}
body.emq-profile .profile-overview{background:#F4F1F1}
body.emq-profile .profile-leadership{background:#59485F}
body.emq-profile .profile-leadership .sec-title,body.emq-profile .profile-leadership .profile-person h3{color:#F4F1F1}
body.emq-profile .profile-person-detail{color:#EEEAEE}
body.emq-profile .profile-related{background:#F4F1F1}
body.emq-profile .profile-story,body.emq-profile .profile-related p,body.emq-profile .emq-license-display-intro p{color:#403544}
body.emq-profile .profile-company-card .profile-facts dt,body.emq-profile .profile-company-card .company-card-top>span{color:#756556}
body.emq-profile .emq-license-btn-outline{border-color:#382E3F;color:#382E3F!important}
@media(max-width:780px){body.emq-profile .profile-hero-grid{gap:23px}body.emq-profile .profile-hero-visual{aspect-ratio:4/3}body.emq-profile .profile-hero h1{font-size:clamp(32px,8vw,45px)}}


/* v2.6.2 — final editorial refinements. Works independently of Additional CSS. */
/* Horizontal logo supported at its natural ratio; no duplicate investment subtitle. */
body:is(.emq-home,.emq-profile,.emq-content) .site-header .headinner{min-height:86px;height:auto;padding-top:7px;padding-bottom:7px;gap:16px}
body:is(.emq-home,.emq-profile,.emq-content) .site-header .logo{display:flex;flex:0 1 auto;min-width:0;max-width:210px;justify-content:flex-start;align-items:center}
body:is(.emq-home,.emq-profile,.emq-content) .site-header .emq-brand-img{display:block;width:auto;height:auto;max-width:min(210px,100%);max-height:75px;object-fit:contain}
body:is(.emq-home,.emq-profile,.emq-content) .site-footer .emq-footer-brand-img{width:auto;height:auto;max-width:240px;max-height:145px;object-fit:contain}
body:is(.emq-home,.emq-profile,.emq-content) .site-header .navlinks{flex-wrap:nowrap;min-width:0;gap:clamp(8px,1vw,17px)}
body:is(.emq-home,.emq-profile,.emq-content) .site-header .headtools{flex-shrink:0}
@media(max-width:1050px){
 body:is(.emq-home,.emq-profile,.emq-content) .site-header .navlinks{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;padding:12px 24px 20px;background:#59485F;box-shadow:0 12px 24px rgba(0,0,0,.14)}
 body:is(.emq-home,.emq-profile,.emq-content) .site-header .navlinks.open{display:flex}
 body:is(.emq-home,.emq-profile,.emq-content) .site-header .navlinks a{padding:12px 4px}
 body:is(.emq-home,.emq-profile,.emq-content) .site-header .hamb{display:block}
 body:is(.emq-home,.emq-profile,.emq-content) .site-header .headtools{margin-inline-start:auto}
}
@media(max-width:780px){
 body:is(.emq-home,.emq-profile,.emq-content) .site-header .headinner{min-height:75px;height:auto;padding-top:7px;padding-bottom:7px;gap:8px}
 body:is(.emq-home,.emq-profile,.emq-content) .site-header .logo{max-width:180px}
 body:is(.emq-home,.emq-profile,.emq-content) .site-header .emq-brand-img{max-width:min(180px,100%);max-height:60px}
 body:is(.emq-home,.emq-profile,.emq-content) .site-footer .emq-footer-brand-img{max-width:190px;max-height:115px}
}
@media(max-width:420px){
 body:is(.emq-home,.emq-profile,.emq-content) .site-header .logo{max-width:170px}
 body:is(.emq-home,.emq-profile,.emq-content) .site-header .emq-brand-img{max-width:min(170px,100%);max-height:58px}
}
body.emq-home #businesses .business-no{display:none}
body.emq-profile .profile-company-card .company-card-top>span{display:none}
/* Clickable service navigation: no hover-only affordances. */
body.emq-home .intro-strip{position:relative;z-index:2}
body.emq-home .intro-inner{gap:clamp(12px,2vw,26px);padding-block:18px;min-height:0;align-items:center}
body.emq-home .intro-inner>p{font-size:clamp(15px,1.55vw,20px);line-height:1.5;max-width:350px;flex:0 1 auto}
body.emq-home .intro-tags{display:flex;gap:8px;justify-content:flex-end;align-items:stretch;flex:1 1 420px;flex-wrap:wrap}
body.emq-home .intro-tag{display:inline-flex;align-items:center;min-height:39px;padding:8px 12px;border:1px solid #DED7DF;border-radius:2px;color:#59485F;background:rgba(255,255,255,.66);font-size:11px;font-weight:600;line-height:1.5;text-align:center;text-decoration:none;transition:background .15s,border-color .15s}
body.emq-home .intro-tag:hover{background:#EEEAEE;border-color:#B9A99A}
body.emq-home .intro-tag:focus-visible{outline:2px solid #59485F;outline-offset:3px}
body.emq-home .intro-tag[hidden]{display:none}
body.emq-home #expertise .workitem{scroll-margin-top:112px}
/* Read the thin gold line icons beside the service headings, not under 01/02/03. */
body.emq-home #expertise .workno{display:block;margin-bottom:16px;font-size:10px;letter-spacing:.11em}
body.emq-home #expertise .emq-work-heading{display:flex;align-items:center;gap:16px;min-height:50px;margin-bottom:10px}
body.emq-home #expertise .emq-work-icon{display:block;width:42px;height:42px;min-width:42px;margin:0;color:#A58B68;flex:0 0 42px}
body.emq-home #expertise .emq-work-heading h3{margin:0;min-width:0;font-size:clamp(18px,1.6vw,23px);line-height:1.35;overflow-wrap:normal}
body.emq-home #expertise .workitem p{margin-top:12px}
html[lang=ar] body.emq-home #expertise .emq-work-heading{direction:rtl}
/* Japanese typography: native CJK Sans, modest letter spacing, avoid fragmented headlines. */
html[lang=ja] body:is(.emq-home,.emq-profile,.emq-content),
html[lang=ja] body:is(.emq-home,.emq-profile,.emq-content) :is(input,textarea,button){font-family:'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif}
html[lang=ja] body:is(.emq-home,.emq-profile,.emq-content) :is(h1,h2,h3,.sec-title,.intro-inner p,.navlinks,.btn){font-family:'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;letter-spacing:0;line-break:strict;word-break:normal;overflow-wrap:normal;text-wrap:pretty}
html[lang=ja] body.emq-profile .profile-related .sec-title{font-size:clamp(27px,3vw,42px);line-height:1.5}
html[lang=ja] body.emq-home .intro-inner>p{font-size:clamp(14px,1.4vw,17px)}
@media(max-width:1050px){
 body.emq-home .intro-inner{flex-direction:column;align-items:stretch}
 body.emq-home .intro-tags{flex:0 1 auto;justify-content:flex-start}
}
@media(max-width:780px){
 body.emq-home #expertise .emq-work-heading{gap:14px}
 body.emq-home #expertise .emq-work-icon{width:40px;height:40px;min-width:40px;flex-basis:40px}
 body.emq-home .intro-tag{flex:1 1 155px}
}
@media(max-width:420px){
 body.emq-home #expertise .emq-work-heading h3{font-size:19px}
 body.emq-home .intro-tag{font-size:10px;flex:1 1 136px}
}

/* v2.6.4 — Company Profile: approved photographic backdrop.
   Only this section changes from 2.6.3. Retains existing editable media URL,
   company text, CTA, registration data, navigation and section settings. */
body.emq-home #company-profile.home-profile-focus{
  position:relative;isolation:isolate;overflow:hidden;background:#EEEAEE;
  padding:0;border-top:1px solid #DED7DF;border-bottom:1px solid #DED7DF;
}
body.emq-home #company-profile .home-profile-focus-grid{
  position:static;display:flex;align-items:center;direction:ltr;
  min-height:clamp(460px,37vw,548px);padding-block:clamp(44px,5vw,68px);
}
body.emq-home #company-profile .emq-profile-summary{
  position:relative;z-index:2;min-width:0;width:min(52%,580px);
  display:flex;flex-direction:column;justify-content:center;
  gap:0;background:none;text-shadow:none;
}
body.emq-home #company-profile .home-profile-focus-left{min-width:0}
body.emq-home #company-profile .home-profile-focus-left .smalllabel{margin-bottom:10px;color:#756556}
body.emq-home #company-profile .home-profile-focus-left .sec-title{
  font-size:clamp(32px,3.2vw,45px);line-height:1.19;max-width:none;
  margin:0 0 15px;color:#382E3F;
}
body.emq-home #company-profile .emq-company-intro{
  display:block;max-width:540px;margin:0 0 21px;color:#403544;
  font-size:clamp(13px,1.1vw,15px);line-height:1.82;letter-spacing:0;
}
body.emq-home #company-profile .home-profile-focus-right{
  display:block;min-width:0;padding:0;border:0;background:transparent;box-shadow:none;
}
body.emq-home #company-profile .home-profile-fact{
  display:block;padding:12px 0;border-top:1px solid rgba(97,81,101,.19);border-bottom:0;
}
body.emq-home #company-profile .home-profile-fact strong{
  display:block;font:400 clamp(20px,1.85vw,27px)/1.25 Georgia,'Times New Roman',serif;
  color:#382E3F;overflow-wrap:normal;
}
body.emq-home #company-profile .home-profile-fact small{
  display:block;margin-top:4px;color:#756556;font-size:12px;line-height:1.6;letter-spacing:.02em;
}
body.emq-home #company-profile .emq-profile-cta{
  display:inline-block;margin-top:15px;padding:5px 0 7px;border-bottom:1px solid #A58B68;
  color:#59485F;font-size:13px;font-weight:600;line-height:1.45;text-decoration:none;
  max-width:100%;transition:color .2s,border-color .2s;
}
body.emq-home #company-profile .emq-profile-cta:hover{color:#382E3F;border-color:#382E3F}
body.emq-home #company-profile .emq-profile-cta:focus-visible{outline:2px solid #59485F;outline-offset:4px}
/* Real uploaded photograph sits behind the whole section, not inside a card. */
body.emq-home #company-profile .emq-difc-photo{
  display:block;position:absolute;inset:0;z-index:0;width:100%;height:100%;
  margin:0;padding:0;max-width:none;aspect-ratio:auto;overflow:hidden;
  background:#EEEAEE;box-shadow:none;border:0;pointer-events:none;
}
body.emq-home #company-profile .emq-difc-photo img{
  display:block;width:100%;height:100%;max-width:none;object-fit:cover;
  object-position:center top;filter:none;opacity:1;
}
/* Neutral platinum gradient; landmarks remain crisp on the right. */
body.emq-home #company-profile .emq-difc-photo::after{
  content:'';position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,
    #EEEAEE 0%,rgba(238,234,238,.98) 13%,rgba(238,234,238,.93) 31%,
    rgba(238,234,238,.79) 44%,rgba(238,234,238,.34) 62%,
    rgba(238,234,238,0) 83%);
}
body.emq-home #company-profile .emq-difc-photo figcaption{display:none}
/* No image registered: readable text block without empty photographic layer. */
body.emq-home #company-profile .home-profile-focus-grid.emq-no-difc{min-height:0;padding-block:76px}
body.emq-home #company-profile .emq-no-difc .emq-profile-summary{width:min(100%,730px)}
html[lang=ja] body.emq-home #company-profile .emq-company-intro{
  line-break:strict;word-break:normal;overflow-wrap:anywhere;
}
html[lang=ja] body.emq-home #company-profile .home-profile-fact strong{letter-spacing:0}
/* Arabic text is right-aligned, against the same gentle photographic veil. */
html[lang=ar] body.emq-home #company-profile .emq-profile-summary{direction:rtl;text-align:right}
html[lang=ar] body.emq-home #company-profile .emq-profile-cta{direction:rtl}
@media(max-width:1000px) and (min-width:761px){
  body.emq-home #company-profile .home-profile-focus-grid{min-height:460px}
  body.emq-home #company-profile .emq-profile-summary{width:57%}
  body.emq-home #company-profile .emq-difc-photo::after{
    background:linear-gradient(90deg,#EEEAEE 0%,rgba(238,234,238,.98) 23%,
      rgba(238,234,238,.88) 48%,rgba(238,234,238,.28) 75%,transparent 100%);
  }
}
/* Small screens retain the full meaningful picture below the copy rather
   than placing a low-contrast paragraph over important architecture. */
@media(max-width:760px){
  body.emq-home #company-profile.home-profile-focus{padding:0}
  body.emq-home #company-profile .home-profile-focus-grid{
    position:relative;display:flex;flex-direction:column;align-items:stretch;
    min-height:0;padding-top:46px;padding-bottom:0;gap:24px;
  }
  body.emq-home #company-profile .emq-profile-summary{order:1;width:100%;max-width:none}
  body.emq-home #company-profile .home-profile-focus-left .sec-title{font-size:clamp(29px,7.1vw,39px)}
  body.emq-home #company-profile .emq-company-intro{margin-bottom:16px;font-size:13px;line-height:1.8}
  body.emq-home #company-profile .home-profile-fact{padding:10px 0}
  body.emq-home #company-profile .home-profile-fact strong{font-size:22px}
  body.emq-home #company-profile .emq-profile-cta{margin-top:12px}
  body.emq-home #company-profile .emq-difc-photo{
    position:relative;inset:auto;z-index:1;order:2;align-self:stretch;
    width:100%;height:auto;aspect-ratio:16/10;margin:0;background:#DED7DF;
  }
  body.emq-home #company-profile .emq-difc-photo img{
    position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
    object-position:center top;
  }
  body.emq-home #company-profile .emq-difc-photo::after{display:none}
  body.emq-home #company-profile .home-profile-focus-grid.emq-no-difc{padding-bottom:45px}
}
@media(max-width:420px){
  body.emq-home #company-profile .home-profile-focus-grid{padding-top:38px;gap:20px}
  body.emq-home #company-profile .home-profile-focus-left .sec-title{font-size:30px}
}

/* v2.6.6 — Existing approved homepage photo-position adjustment (desktop). */
@media (min-width: 761px) {
  body.emq-home #company-profile .emq-difc-photo img {
    object-fit: contain !important;
    object-position: right center !important;
  }
  body.emq-home #company-profile .emq-difc-photo::after {
    background: linear-gradient(
      90deg,
      #EEEAEE 0%,
      rgba(238,234,238,0.98) 25%,
      rgba(238,234,238,0.92) 39%,
      rgba(238,234,238,0.62) 54%,
      rgba(238,234,238,0) 74%
    ) !important;
  }
}

/* v2.6.6 — Existing approved mobile three-button layout. */
@media (max-width: 600px) {
  body.emq-home .intro-tags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }
  body.emq-home .intro-tags .intro-tag {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 65px;
    padding: 10px 8px;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
  }
  body.emq-home .intro-tags .intro-tag:last-child {
    grid-column: 1 / -1;
    width: calc((100% - 10px) / 2);
    justify-self: center;
  }
}
