/* WordPress-specific additions on top of the reference design CSS. */
/* WordPress adds width/height attributes; the reference images had none, so let the design CSS size them. */
img{height:auto}

/* Accessibility */
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.screen-reader-text:focus{background:#fff;clip:auto!important;clip-path:none;color:var(--ink);display:block;height:auto;left:5px;padding:12px 20px;top:5px;width:auto;z-index:100000}
html.menu-locked{overflow:hidden}
#language{font-size:12px;padding:12px 0}

/* Hero media: picture element, focal points, overlay strength, background video */
.page-hero>picture,.hero>picture{display:block;height:100%}
.page-hero>picture img,.hero>picture img{height:100%;width:100%;object-fit:cover}
.hero-focal-top img.hero-poster{object-position:center top}.hero-focal-bottom img.hero-poster{object-position:center bottom}.hero-focal-left img.hero-poster{object-position:left center}.hero-focal-right img.hero-poster{object-position:right center}
.hero-overlay-light .page-hero-shade{opacity:.7}
.hero-overlay-strong .page-hero-shade{background:linear-gradient(90deg,#101810d0,#10181040 90%),linear-gradient(0deg,#111a,transparent 65%)}
.hero-video{position:absolute;inset:0;overflow:hidden;opacity:0;transition:opacity 1.2s ease;pointer-events:none}
.hero-video iframe{position:absolute;top:50%;left:50%;width:100vw;height:56.25vw;min-height:100%;min-width:177.78vh;transform:translate(-50%,-50%) scale(1.3);border:0}
.video-ready .hero-video{opacity:1}

.video-toggle{position:absolute;z-index:2;bottom:35px;inset-inline-start:7%;width:45px;height:45px;border:1px solid #fff8;border-radius:50%;display:grid;place-items:center;color:#fff}
.video-toggle:hover{background:#ffffff25}
.video-toggle-icon{width:12px;height:14px;border-inline:3px solid currentColor}
.video-toggle[aria-pressed=true] .video-toggle-icon{border:0;border-inline-start:12px solid currentColor;border-block:7px solid transparent;width:0;height:0}
.page-hero-copy{z-index:1}
@media(max-width:800px){.video-toggle{bottom:30px;inset-inline-start:24px;width:40px;height:40px}}
@media(prefers-reduced-motion:reduce){.hero-video{display:none}}
body.motion-off .hero-video{opacity:0!important}

/* Submenus (only rendered when a menu has child items) */
.nav-group{position:relative;display:flex;align-items:center;gap:4px}
.submenu-toggle{font-size:14px;width:22px;height:22px;display:grid;place-items:center}
.sub-menu{position:absolute;top:calc(100% + 18px);inset-inline-start:-18px;min-width:220px;background:rgba(24,24,24,.92);backdrop-filter:blur(20px);padding:16px 18px;display:flex;flex-direction:column;gap:12px;color:#fff}
.sub-menu[hidden]{display:none}
@media(max-width:1050px){.nav-group{flex-wrap:wrap}.sub-menu{position:static;background:none;backdrop-filter:none;padding:10px 0 0 16px;min-width:0;width:100%;font-size:15px}}

/* Footer: external links keep their visible arrow like the reference */

.back-to-top{color:inherit;font:inherit;background:none;border:0;padding:0;cursor:pointer;transition:color .3s}.back-to-top:hover,.back-to-top:focus-visible{color:var(--terra)}

/* Pages without a photographic hero: solid header, spacious heading */
.no-hero #header{background:rgba(24,24,24,.92)}
.archive-head{padding-top:200px;padding-bottom:40px}
.archive-head h1{font-size:clamp(46px,6vw,90px);font-weight:300;line-height:1.05;letter-spacing:-.045em}
.archive-head p{margin-top:20px}
@media(max-width:800px){.archive-head{padding-top:140px}}

/* Journal listing */
.journal-archive{padding-top:30px}
.news-card a[aria-hidden]{display:block;overflow:hidden}
.news-card h3 a:hover{color:var(--terra)}
.news-card-placeholder{display:block;height:260px;background:linear-gradient(135deg,#e2dccf,#cfc6b5)}
.news-card[dir=rtl] h3,.entry[dir=rtl] h1,.entry[dir=rtl] h2,.entry[dir=rtl] h3{font-family:'Thmanyah Sans',Tahoma,sans-serif;letter-spacing:0;line-height:1.5}[dir=rtl] .page-hero-copy h1{font-family:'Thmanyah Sans',Tahoma,sans-serif;letter-spacing:0;line-height:1.2}
.news-card[dir=rtl] .eyebrow{letter-spacing:0}
.search-result{border-top:1px solid var(--line);padding-top:20px}
.pagination{margin-top:60px}
.pagination .nav-links{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:12px}
.pagination .page-numbers{min-width:40px;height:40px;display:inline-grid;place-items:center;padding:0 12px;border:1px solid var(--line)}
.pagination .page-numbers.current{background:var(--terra);border-color:var(--terra);color:#fff}
.pagination a.page-numbers:hover{border-color:var(--terra);color:var(--terra)}
.empty-state{max-width:none}
.archive-search{margin-bottom:45px;max-width:520px}
.search-form{display:flex;gap:12px;align-items:flex-end}
.search-form label{flex:1;margin:0}
.search-form .search-submit{background:var(--terra);color:#fff;padding:12px 20px;font-size:12px}

/* Single post */
.post-hero h1{font-size:clamp(40px,5vw,76px)}
.entry{max-width:900px;margin-inline:auto;padding-top:70px}
.entry-meta{display:flex;flex-wrap:wrap;gap:8px 24px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:35px}
.entry[dir=rtl] .entry-meta{letter-spacing:0}
.entry-meta a:hover{color:var(--terra)}
.entry-content{font-size:17px;line-height:1.85}
.entry[dir=rtl] .entry-content{font-family:'Thmanyah Sans',Tahoma,sans-serif;font-size:18px;line-height:2}
.entry-content>*+*{margin-top:1.1em}
.entry-content p{max-width:none;margin:0;color:var(--ink)}
.entry-content h2{font-size:clamp(28px,3vw,40px);margin-top:1.6em}
.entry-content h3{font-size:24px;margin-top:1.4em}
.entry-content a{color:var(--terra);text-decoration:underline;text-underline-offset:3px}
.entry-content ul,.entry-content ol{padding-inline-start:1.4em}
.entry-content img{width:auto;max-width:100%;height:auto}
.entry-content figure{margin-inline:0}
.entry-content figcaption,.wp-caption-text{font-size:12px;color:var(--muted)}
.entry-content blockquote{margin-inline:0;padding-inline-start:24px;border-inline-start:2px solid var(--terra);font-size:20px}
.entry-content table{width:100%;border-collapse:collapse}
.entry-content td,.entry-content th{border:1px solid var(--line);padding:8px}
.alignleft{float:left;margin:0 24px 16px 0}.alignright{float:right;margin:0 0 16px 24px}.aligncenter{margin-inline:auto}
.entry-tags{font-size:12px;color:var(--muted);margin-top:40px}
.entry-nav{max-width:900px;margin-inline:auto;padding-top:0;display:flex;flex-direction:column;gap:30px}
.entry-nav .nav-links{display:grid;grid-template-columns:1fr 1fr;gap:30px;border-top:1px solid var(--line);padding-top:30px}
.entry-nav .nav-next{text-align:end}
.entry-nav .eyebrow{margin-bottom:10px}
.entry-nav .nav-next .eyebrow{justify-content:flex-end}
.entry-nav-title{font-size:18px;line-height:1.5;display:block}
.entry-comments{max-width:900px;margin-inline:auto;padding-top:0}
.comment-list{list-style:none;padding:0}
.comment-list .comment{border-top:1px solid var(--line);padding:20px 0}
.comment-form .submit{border:0}
@media(max-width:800px){.entry{padding-top:45px}.entry-nav .nav-links{grid-template-columns:1fr}.entry-nav .nav-next{text-align:start}.entry-nav .nav-next .eyebrow{justify-content:flex-start}}

/* Photo viewer navigation */
.dialog-nav{position:fixed;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;background:var(--paper);font-size:20px;display:none}
#image-dialog.has-nav .dialog-nav{display:grid;place-items:center}
.dialog-prev{left:20px}.dialog-next{right:20px}

/* Editor notice when a form is not connected */
.form-missing{border:1px dashed var(--terra);padding:18px;color:var(--terra);max-width:none}

/* Optional project sections */
.overview-image{margin-top:30px;height:auto}
.amenity-image{width:100%;height:160px;margin-bottom:22px}

/* Fluent Forms, styled to the reference form designs (theme replaces Fluent's default skin). */
.form-wrap fieldset{display:grid!important;grid-template-columns:1fr 1fr;column-gap:24px;min-width:0}
.form-wrap .ff-el-group{grid-column:1/-1;margin:0 0 25px}
.form-wrap--contact .ff-el-group.ak-half{grid-column:auto}
.form-wrap .ff-el-input--label{margin:0}
.form-wrap .ff-el-input--label label{font-size:12px;font-weight:400;margin:0!important;display:block;color:var(--ink)}
.form-wrap .ff-el-is-required.asterisk-right label:after,.form-wrap .ff-el-is-required label:after{display:none}
.form-wrap .ff-el-form-control{display:block;width:100%;font:inherit;font-size:15px;color:var(--ink);background:transparent;border:0;border-bottom:1px solid #b9b8ac;border-radius:0;padding:12px 0;box-shadow:none;outline:none;line-height:1.5}
.form-wrap select.ff-el-form-control{margin-top:7px;appearance:auto}
.form-wrap textarea.ff-el-form-control{resize:vertical}
.form-wrap .ff-custom_html{margin-bottom:20px}
.form-wrap .ff-custom_html .fine{margin:0;max-width:none;color:var(--muted)}
.form-wrap .ff_submit_btn_wrapper{margin:0}
.form-wrap .ff-btn-submit.button{display:inline-flex;align-items:center;justify-content:space-between;gap:40px;background:var(--terra);color:#fff;border:0;border-radius:0;padding:17px 25px;font-size:12px;min-height:48px;font-weight:400;line-height:1.4;cursor:pointer;box-shadow:none;transition:background .25s}
.form-wrap .ff-btn-submit.button:hover{background:#8c5136;color:#fff;opacity:1}
.form-wrap .ff-btn-submit[disabled]{opacity:.6}
.form-wrap .error.text-danger,.form-wrap .ff-el-is-error .text-danger{color:#a33a1f;font-size:12px;margin-top:6px}
.form-wrap .ff-el-is-error .ff-el-form-control{border-color:#a33a1f}
.ff-message-success{border:1px solid var(--terra);border-inline-start-width:3px;background:#fff6;padding:22px 24px;color:var(--ink);box-shadow:none;font-size:15px}
.ff-message-success p{margin:0;max-width:none;color:var(--ink)}
.ff-errors-in-stack{color:#a33a1f;font-size:13px;margin-top:10px}
/* Partnership / career enquiry: boxed fields in two columns (reference .partner-brief / .career-enquiry). */
.form-wrap--brief fieldset{column-gap:22px}
.form-wrap--brief .ff-el-group{grid-column:auto;margin-bottom:22px}
.form-wrap--brief .ff-el-group.ak-full,.form-wrap--brief .ff_submit_btn_wrapper,.form-wrap--brief .ff-custom_html{grid-column:1/-1}
@media(max-width:800px){.form-wrap fieldset,.form-wrap--brief fieldset{grid-template-columns:1fr}.form-wrap .ff-el-group{grid-column:1/-1!important}}
.partner-brief .form-wrap form,.career-enquiry .form-wrap form{display:block}
/* Home hero: keep the video pause control clear of the slide controls. */
.hero .video-toggle{bottom:auto;top:135px;inset-inline-start:auto;inset-inline-end:5.5%}
@media(max-width:800px){.hero .video-toggle{top:110px;inset-inline-end:24px}}
.entry-content h2,.entry-content h3{margin-bottom:.45em}
.footer-grid a{display:flex;align-items:center;gap:.35em;width:fit-content;transition:color .3s}.footer-grid a:after{content:'\2197';display:inline-block;opacity:0;transform:translate(-6px,6px) scale(.6);transition:opacity .3s,transform .45s cubic-bezier(.2,.7,.15,1)}.footer-grid a:hover,.footer-grid a:focus-visible{color:var(--terra)}.footer-grid a:hover:after,.footer-grid a:focus-visible:after{opacity:1;transform:none}[dir=rtl] .footer-grid a:after{transform:translate(6px,6px) scale(-.6,.6)}[dir=rtl] .footer-grid a:hover:after,[dir=rtl] .footer-grid a:focus-visible:after{transform:scaleX(-1)}
.breadcrumbs ol{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0;padding:0;list-style:none}.breadcrumbs li{display:flex;align-items:center;gap:10px;margin:0}.breadcrumbs li+li:before{content:'/';opacity:.5}.breadcrumbs a{color:inherit;opacity:.75;transition:opacity .3s,color .3s}.breadcrumbs a:hover,.breadcrumbs a:focus-visible{opacity:1;color:var(--terra)}.page-hero .breadcrumbs a:hover,.page-hero .breadcrumbs a:focus-visible{color:#fff}
body.admin-bar header#header{top:32px}@media(max-width:782px){body.admin-bar header#header{top:46px}}@media(max-width:600px){body.admin-bar header#header:is(.scrolled,.menu-open){top:0}}
@media(min-width:1051px){header{height:78px}header.scrolled{height:66px}header nav{font-size:14px}.header-actions .button{font-size:12.1px}}@media(min-width:1051px) and (max-width:1250px){header nav{font-size:12.9px}}
.office-map{position:relative;height:560px;background:#e6e1d6;overflow:hidden}.office-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0;filter:grayscale(.35) sepia(.12)}@media(max-width:800px){.office-map{height:360px}}
.contact>div>a{width:fit-content;color:var(--ink);background:linear-gradient(90deg,var(--terra) 0 50%,var(--ink) 50% 100%) 100% 0/200% 100% no-repeat;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;transition:background-position .6s cubic-bezier(.2,.7,.15,1)}.contact>div>a:hover,.contact>div>a:focus-visible{background-position:0 0}
.form-wrap .ff-el-form-control{border-bottom:0;padding-bottom:13px;background-image:linear-gradient(var(--terra),var(--terra)),linear-gradient(var(--ak-rule,#b9b8ac),var(--ak-rule,#b9b8ac));background-repeat:no-repeat;background-position:0 100%,0 100%;background-size:0 2px,100% 1px;transition:background-size .5s cubic-bezier(.2,.7,.15,1)}.form-wrap .ff-el-form-control:focus{background-size:100% 2px,100% 1px}.form-wrap .ff-el-is-error .ff-el-form-control{--ak-rule:#a33a1f}.form-wrap .ff-el-form-control:focus-visible{outline:none}
/* Footer typography: larger, easier to read sizes. */
footer p{font-size:15px;line-height:1.7}.footer-top .text-link{font-size:14px}.footer-grid h4{font-size:16px;letter-spacing:.01em;margin-bottom:22px}.footer-grid a{font-size:14px;line-height:1.5;margin-bottom:12px}.footer-grid p{font-size:14px}.footer-bottom{font-size:12px;letter-spacing:.02em}@media(max-width:800px){.footer-grid h4{font-size:15px}.footer-grid a,.footer-grid p{font-size:13.5px}.footer-bottom{font-size:11.5px}}
.form-wrap .iti{display:block;width:100%}.form-wrap .iti .ff-el-form-control{padding-inline-start:52px}
@media(min-width:801px){.footer-top{display:grid;grid-template-columns:1fr auto 1fr}.footer-top p{text-align:center;margin:0}.footer-top .text-link{justify-self:end}}
/* Selects: brand-coloured option list where the browser allows a styled picker (Chromium base-select). */
.form-wrap select.ff-el-form-control option:checked{background:var(--terra);color:#fff}
@supports (appearance:base-select){.form-wrap select.ff-el-form-control,.form-wrap select.ff-el-form-control::picker(select){appearance:base-select}.form-wrap select.ff-el-form-control{display:flex;align-items:center;justify-content:space-between;width:100%;cursor:pointer}.form-wrap select.ff-el-form-control::picker-icon{color:var(--ink);transition:rotate .3s}.form-wrap select.ff-el-form-control:open::picker-icon{rotate:180deg}.form-wrap select.ff-el-form-control::picker(select){border:1px solid var(--line);background:var(--paper);padding:6px 0;margin-top:4px;box-shadow:0 14px 34px #191e191f}.form-wrap select.ff-el-form-control option{padding:10px 16px;font-size:15px;color:var(--ink);transition:background .2s,color .2s}.form-wrap select.ff-el-form-control option::checkmark{display:none}.form-wrap select.ff-el-form-control option:is(:hover,:focus-visible){background:#aa684824;color:var(--ink);outline:none}.form-wrap select.ff-el-form-control option:checked{background:var(--terra);color:#fff}}
.form-wrap .ff-el-form-control{padding-top:9px}.form-wrap .ff-btn-submit.button{font-size:13.2px}
/* "Scroll to explore": white fills up from the bottom on hover and the arrow nudges downward. */
.page-down{isolation:isolate;overflow:hidden;transition:color .4s,border-color .4s}.page-down:before{content:'';position:absolute;inset:0;z-index:-1;background:#fff;transform:scaleY(0);transform-origin:bottom;transition:transform .5s cubic-bezier(.2,.7,.15,1)}.page-down:hover,.page-down:focus-visible{color:var(--ink);border-color:#fff}.page-down:hover:before,.page-down:focus-visible:before{transform:scaleY(1)}.page-down:hover>span[aria-hidden],.page-down:focus-visible>span[aria-hidden]{animation:page-down-nudge 1.1s ease-in-out infinite}@keyframes page-down-nudge{0%,100%{translate:0 0}50%{translate:0 4px}}@media(prefers-reduced-motion:reduce){.page-down:hover>span[aria-hidden]{animation:none}}
/* Page intro: centre the text on the heading itself, not on eyebrow + heading. */
@media(min-width:801px){.page-intro>p{padding-top:44px}}
/* Bordered rows and cards: the top rule fills with the brand colour, left to right, on hover. */
:is(.content-rows article,.reason,.amenity-grid article,.partner-steps article,.destination-facts>div,.ecosystem-list>div){position:relative}
:is(.content-rows article,.reason,.amenity-grid article,.partner-steps article,.destination-facts>div,.ecosystem-list>div):before{content:'';position:absolute;top:-1px;inset-inline-start:0;width:100%;height:2px;background:var(--terra);transform:scaleX(0);transform-origin:left;transition:transform .6s cubic-bezier(.2,.7,.15,1);pointer-events:none}
[dir=rtl] :is(.content-rows article,.reason,.amenity-grid article,.partner-steps article,.destination-facts>div,.ecosystem-list>div):before{transform-origin:right}
:is(.content-rows article,.reason,.amenity-grid article,.partner-steps article,.destination-facts>div,.ecosystem-list>div):is(:hover,:focus-within):before{transform:scaleX(1)}
/* Ecosystem: text on one side, the capability list as ruled rows on the other. */
.ecosystem{display:grid;grid-template-columns:1fr 1fr;column-gap:9%;align-items:center}.ecosystem h2{margin-bottom:30px}.ecosystem .profile-source{margin-top:40px}.ecosystem-list{border-bottom:1px solid var(--line)}.ecosystem-list>div{border-top:1px solid var(--line);padding:22px 0;font-size:20px;line-height:1.4;color:var(--ink)}@media(max-width:800px){.ecosystem{grid-template-columns:1fr;row-gap:30px}.ecosystem-list>div{font-size:17px;padding:18px 0}}
/* Page CTA: faint isometric cube pattern (from the logo mark), fading out behind the text. */
:is(.page-cta,.destination-next){position:relative;isolation:isolate;overflow:hidden}:is(.page-cta,.destination-next):before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='96' viewBox='0 0 84 96'%3E%3Cpath fill='none' stroke='%23aa6848' stroke-opacity='.22' d='M42 16l28 16v32L42 80 14 64V32zM42 48v32M42 48L14 32M42 48l28-16'/%3E%3C/svg%3E") center/84px 96px;-webkit-mask-image:radial-gradient(ellipse 55% 70% at center,transparent 35%,#000 85%);mask-image:radial-gradient(ellipse 55% 70% at center,transparent 35%,#000 85%)}
/* Footer top: smaller tagline, items centred on one line. */
footer .footer-top p{font-size:12px;line-height:1.6}.footer-top{align-items:center}.footer-top .text-link{padding:0 0 10px}
.lifestyle-left,.lifestyle-right,.esg-gallery .shot-one,.esg-gallery .shot-two,.story-building,.story-life{will-change:transform;transition:transform .25s linear}
/* Lifestyle with two photos only (About, Arkan Care): centre the words between them. */
.lifestyle-composition:not(:has(.lifestyle-front)) .lifestyle-words{top:50%;transform:translateY(-50%)}
/* Lifestyle: 25% less space above and below. */
.lifestyle-composition{margin:38px 0 75px}@media(max-width:800px){.lifestyle-composition{margin:8px 0 45px}}
.customer-journey h2{margin-bottom:40px}
/* "The future is in our hands": same slow drift as the page hero photo. */
.esg-wide{overflow:hidden}body.motion-enabled .esg-wide>img{animation:hero-drift 18s ease-in-out infinite alternate}body.motion-off .esg-wide>img{animation:none!important}
.profile-download{margin-top:22px}
/* Accordions (FAQ, Join Us questions): even spacing, a +/− marker, and on hover/focus the
   top rule and question turn brand colour instead of the full focus box. */
.career-enquiry details{padding:0;transition:border-color .35s}.career-enquiry details:last-of-type{border-bottom:1px solid var(--line)}
.career-enquiry summary{padding:22px 0;font-size:17px;transition:color .3s}.career-enquiry summary:after{content:'+';margin-inline-start:auto;font-size:22px;font-weight:300;line-height:1;transition:transform .35s cubic-bezier(.2,.7,.15,1)}.career-enquiry details[open] summary:after{transform:rotate(45deg)}
.career-enquiry details p{margin:0 0 24px;max-width:560px;line-height:1.7}
.accordion details{transition:border-color .35s}.accordion summary{transition:color .3s}
:is(.career-enquiry,.accordion) summary:focus-visible{outline:none}
:is(.career-enquiry,.accordion) details:is(:hover,:focus-within){border-top-color:var(--terra)}
:is(.career-enquiry,.accordion) summary:is(:hover,:focus-visible){color:var(--terra)}
.process .accordion summary:is(:hover,:focus-visible){color:#e2b08d}.process .accordion details:is(:hover,:focus-within){border-top-color:#e2b08d}
/* Project filters: 10% larger. */
.filter{font-size:13.2px}@media(max-width:800px){.filter{font-size:12.1px}}
/* Links and buttons: no focus box; keyboard focus shows as the brand colour instead. */
:is(a,button,summary):focus-visible{outline:none}a:focus-visible,summary:focus-visible,.filter:focus-visible{color:var(--terra)}.button:focus-visible,.ff-btn-submit:focus-visible{box-shadow:0 0 0 3px #aa684859}
/* Round arrow buttons: Thmanyah has no "→", so pin the arrow to Arial (same glyph as
   the Tahoma fallback) and lift it by its measured offset (0.095em) to sit dead centre. */
.project-open,.circle{font-family:Arial,Tahoma,sans-serif;line-height:1;padding-bottom:.19em}
/* Project amenities: titles 30% smaller. */
.amenity-grid h3{font-size:16.8px}
/* Project gallery: the arrow is a round badge on the photo, like the project cards. */
.detail-gallery-grid button{position:relative}.detail-gallery-grid button>span[aria-hidden]{position:absolute;bottom:18px;inset-inline-end:18px;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--paper);color:var(--ink);font-family:Arial,Tahoma,sans-serif;line-height:1;padding-bottom:.19em;transition:transform .55s cubic-bezier(.2,.7,.15,1),background .35s,color .35s}.detail-gallery-grid button:is(:hover,:focus-visible)>span[aria-hidden]{transform:rotate(45deg);background:var(--terra);color:#fff}@media(max-width:800px){.detail-gallery-grid button>span[aria-hidden]{width:30px;height:30px;bottom:12px;inset-inline-end:12px}}
/* Dialog controls: × (Thmanyah, measured 0.027em low at line-height 1) and the arrows (Arial, 0.095em low) centred in their circles. */
.close-dialog{display:grid;place-items:center;padding:0 0 .053em;line-height:1}.dialog-nav{font-family:Arial,Tahoma,sans-serif;line-height:1;padding:0 0 .19em}
/* Photo viewer: × drawn with two lines (exactly centred whatever the font); brand fill on hover. */
.close-dialog{font-size:0;padding:0}.close-dialog:before,.close-dialog:after{content:'';position:absolute;top:50%;left:50%;width:16px;height:1.6px;background:currentColor;border-radius:1px;transform:translate(-50%,-50%) rotate(45deg)}.close-dialog:after{transform:translate(-50%,-50%) rotate(-45deg)}
.close-dialog,.dialog-nav{color:var(--ink);transition:background .3s,color .3s,transform .3s}.close-dialog:is(:hover,:focus-visible),.dialog-nav:is(:hover,:focus-visible){background:var(--terra);color:#fff}.close-dialog:is(:hover,:focus-visible){transform:rotate(90deg)}
/* Lifestyle with two photos: shorter block, photos fill it, so less empty space below. */
@media(min-width:801px){.lifestyle-composition:not(:has(.lifestyle-front)){height:700px}.lifestyle-composition:not(:has(.lifestyle-front)) .lifestyle-left{top:12%;height:76%}.lifestyle-composition:not(:has(.lifestyle-front)) .lifestyle-right{height:80%}}
/* Home hero: per-slide actions; slide counter on the end side. */
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:18px 34px}.hero-link{color:#fff;border-color:#ffffffa6}.hero-link:hover,.hero-link:focus-visible{color:#fff;border-color:#fff}
.hero-bottom{justify-content:flex-end;inset-inline-end:max(7%,calc((100vw - 1320px)/2))}@media(max-width:800px){.hero-bottom{inset-inline-end:7%}}
.projects-intro p{margin:0 0 22px}
.archive-title{font-size:clamp(46px,6vw,90px);font-weight:300;line-height:1.05;letter-spacing:-.045em;max-width:none;margin:0;color:inherit}.page-hero .archive-title{font-size:clamp(54px,6.8vw,102px);line-height:1.04}
/* Process (Every detail. Every step.): the intro column stays in view while the steps scroll. */
@media(min-width:801px){.process>div:first-child{position:sticky;top:110px;align-self:start}}
/* Partner logo strip (home): looping, swipeable, ruled above and below, edges fading out. */
.partner-marquee{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;border-top:1px solid var(--line);border-bottom:1px solid var(--line);cursor:grab;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}.partner-marquee::-webkit-scrollbar{display:none}.partner-marquee.is-dragging{cursor:grabbing}.partner-track{display:flex;width:max-content}.partner-marquee .partner{flex:0 0 auto;width:210px;user-select:none}.partner-marquee img{-webkit-user-drag:none;pointer-events:none}@media(max-width:800px){.partner-marquee .partner{width:150px}}
/* Full-width banners (Here, we thrive / closing banner): inner-page hero drift. */
body.motion-enabled :is(.life-banner,.contact-banner)>img{animation:hero-drift 18s ease-in-out infinite alternate}
/* Vision 2030: official logo in place of the typeset mark. */
.vision-mark img{display:block;width:min(290px,70%);height:auto;margin:auto}
/* Journal (home): card carousel with arrows, swipe and drag; titles clamp to two lines. */
.news-carousel{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 70px)/3);grid-template-columns:none;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}.news-carousel::-webkit-scrollbar{display:none}.news-carousel>.news-card{scroll-snap-align:start}.news-carousel.is-dragging{scroll-snap-type:none;cursor:grabbing}.news-carousel.is-dragging *{pointer-events:none}.news-carousel:focus-visible{outline:none}
@media(max-width:1000px){.news-carousel{grid-auto-columns:calc((100% - 35px)/2)}}@media(max-width:800px){.news-carousel{grid-auto-columns:85%;gap:20px}}
.carousel-nav{display:flex;gap:12px;flex-shrink:0}.carousel-nav button{width:46px;height:46px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;font-family:Arial,Tahoma,sans-serif;font-size:18px;line-height:1;padding:0 0 .19em;transition:background .3s,color .3s,border-color .3s}.carousel-nav button:is(:hover,:focus-visible){background:var(--terra);border-color:var(--terra);color:#fff}[dir=rtl] .carousel-nav{flex-direction:row-reverse}
.news-card h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;min-height:calc(2em * 1.3)}
/* Card photo: the slow hero zoom, on hover. */
body.motion-enabled .news-card img{transition:transform 4s cubic-bezier(.2,.7,.15,1)}body.motion-enabled .news-card:hover img{transform:scale(1.12)}
/* Posts without a photo: the logo mark centred on the placeholder. */
.news-card-placeholder{background:url(../images/favicon-512.png) center/72px no-repeat,linear-gradient(135deg,#e2dccf,#cfc6b5)}
/* Leadership portrait: the chairman stands on the right of a landscape photo; keep him centred in the tall frame. */
.leadership .portrait img{object-position:88% 15%}
/* Classic Editor captions carry an inline pixel width; keep them inside the column on small screens. */
.entry-content .wp-caption,.entry-content figure{max-width:100%}.entry-content .wp-caption img,.entry-content figure img{max-width:100%;height:auto}.entry-content iframe,.entry-content video,.entry-content table{max-width:100%}
/* RTL: arrows point the reading direction (scale composes with the motion hover transform). */
[dir=rtl] :is(.button,.text-link)>span[aria-hidden]:not(.press-ripple){display:inline-block;scale:-1 1}[dir=rtl] :is(.circle,.project-open){scale:-1 1}
.page-hero .breadcrumbs ol{flex-wrap:nowrap;max-width:100%}.page-hero .breadcrumbs li{flex-shrink:0;white-space:nowrap}.page-hero .breadcrumbs li[aria-current]{flex-shrink:1;min-width:0}.page-hero .breadcrumbs [aria-current] span{display:block;max-width:34ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.entry-author{display:inline-flex;align-items:center;gap:10px}.entry-author-avatar{width:30px;height:30px;border-radius:50%;overflow:hidden;background:#fff;border:1px solid var(--line);flex-shrink:0}.entry-author-avatar img{width:100%;height:100%;object-fit:contain;padding:3px}.entry-meta{align-items:center}
.entry-content .entry-media{display:block;overflow:hidden;max-width:100%;width:fit-content;margin-block:1.2em}.entry-content .entry-media.aligncenter{margin-inline:auto}.entry-content .entry-media.alignleft{float:left;margin:.3em 1.5em 1em 0}.entry-content .entry-media.alignright{float:right;margin:.3em 0 1em 1.5em}.entry-content .entry-media>img{float:none;margin:0;max-width:100%;height:auto}.wp-caption .entry-media{margin-block:0}
