/* User review corrections: shared existing palette, no decorative pattern images,
   original contact layout, no focus frames. */
:root {
 --ui-surface:var(--surface);--ui-soft:var(--soft);--ui-ink:var(--ink);
 --ui-muted:var(--muted);--ui-line:var(--line);--ui-action:var(--cmg-accent);
 --ui-action-ink:var(--cmg-accent-ink);
 /* Existing brand monochrome for controls over photographs, independent of theme. */
 --ui-on-photo:#fff;--ui-photo-ink:#111;
 --ui-photo-border:color-mix(in srgb,var(--ui-on-photo) 56%,transparent);
 --ui-photo-shade:color-mix(in srgb,var(--ui-photo-ink) 40%,transparent);
 --ui-scrim-strong:color-mix(in srgb,var(--ui-photo-ink) 53%,transparent);
 --ui-scrim-soft:color-mix(in srgb,var(--ui-photo-ink) 27%,transparent);
}
html:root body:is(#local-user-feedback,body) :focus,
html:root body:is(#local-user-feedback,body) :focus-visible {
 outline:none!important;box-shadow:none!important;
}
/* Non-frame keyboard feedback; ordinary input borders remain unchanged. */
html:root body:is(#local-user-feedback,body) :is(a,button,[role=button]):focus-visible {
 text-decoration:underline!important;text-underline-offset:.25em;text-decoration-thickness:1px;
 opacity:.78;
}
html:root body:is(#local-user-feedback,body) :is(input,select,textarea):focus-visible {
 background-color:var(--ui-soft)!important;caret-color:var(--ui-ink);
}
html:root body:is(#local-user-feedback,body) :is(.surface-pattern,.contact-pattern,.deck-pattern,.cinema-mobile-pattern,.cmg-button-pattern,.mark-lines){display:none!important}
/* Catalogue menus use the same semantic surface as site menus. */
html:root body:is(#local-user-feedback,body) .projects-catalogue :is(select,.filter-pills)[hidden]{display:none!important}
html:root body:is(#local-user-feedback,body) .projects-catalogue .filter-bar{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,2fr)!important;gap:12px!important;align-items:start!important}
html:root body:is(#local-user-feedback,body) .projects-catalogue .filter-extra{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important}
.catalogue-menu{position:relative;min-width:0;width:100%;color:var(--ui-ink)}
html:root body:is(#local-user-feedback,body) .catalogue-menu-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:12px 16px;border:0;border-radius:12px;background:var(--ui-soft);color:var(--ui-ink);font:inherit;font-size:13px;text-align:left;cursor:pointer}
.catalogue-menu-trigger::after{content:'⌄';flex:none;font-size:16px}
html:root body:is(#local-user-feedback,body) .catalogue-menu-options{position:absolute;z-index:90;top:calc(100% + 8px);left:0;min-width:100%;max-height:320px;overflow:auto;padding:6px;border:0;border-radius:12px;background:var(--ui-surface);color:var(--ui-ink);box-shadow:var(--shadow);font-size:13px}
.catalogue-menu-options[hidden]{display:none!important}
.catalogue-menu-options [role=option]{padding:12px;border-radius:8px;cursor:pointer;white-space:nowrap}
.catalogue-menu-options [role=option]:is(:hover,.is-active),.catalogue-menu-options [aria-selected=true]{background:var(--ui-soft);color:var(--ui-ink)}
@media(max-width:760px){
 html:root body:is(#local-user-feedback,body) .projects-catalogue .filter-bar{grid-template-columns:minmax(0,1fr)!important}
 html:root body:is(#local-user-feedback,body) .catalogue-menu-trigger{font-size:12px;padding:12px}
 .catalogue-menu-options{font-size:12px}
}
/* User-selected light-grey information surface, uniformly across page families.
   In dark mode the same semantic surface follows the established dark palette. */
html:root body:is(#local-feedback#information-surface,body) :is(.step-card,.r3-pattern-card,.r2-service-card,.r2-overview-benefits>div,.cmg-keyfacts,.payment-panel,.r2-checks>article,.r2-audiences .r2-two>article,.cmg-about-card>.about-strip-text,.walking-grid>div,.career-empty,.empty-results,.article-contact,.cmg-about-metrics>.wrap):not(:has(picture,video,iframe,form,input,select,textarea,img:not(.mini-brand>img[src="/assets/cmg-black.svg"],.mini-brand>img[src="/assets/cmg-white.svg"]))){
 --ink:var(--ui-ink);--muted:var(--ui-muted);--line:var(--ui-line);--surface:var(--ui-soft);--soft:var(--ui-soft);--soft2:var(--ui-soft);
 background:var(--ui-soft)!important;color:var(--ui-ink)!important;border:1px solid var(--ui-line)!important;
}
html:root body:is(#local-feedback#information-surface,body) :is(.step-card,.r3-pattern-card,.r2-service-card,.r2-overview-benefits>div,.cmg-keyfacts,.payment-panel,.r2-checks>article,.r2-audiences .r2-two>article,.walking-grid>div,.career-empty,.empty-results,.article-contact) :is(h2,h3,p,.step-icon,.step-number,svg){color:inherit!important}
/* Latest approved direction supersedes earlier dark CTA/contact exceptions:
   one soft-grey UI palette in both modes; the theme toggle still changes photos. */
html:root,html:root[data-theme=dark]{
 --bg:#fff;--paper:#fff;--surface:#fff;--soft:#f5f5f5;--soft2:#ededed;
 --ink:#111;--inverse:#fff;--muted:#5a5a5a;--line:#e2e2e2;
 --cmg-accent:#111;--cmg-accent-ink:#fff;
 --ui-surface:#fff;--ui-soft:#f5f5f5;--ui-ink:#111;--ui-muted:#5a5a5a;--ui-line:#e2e2e2;
 color-scheme:light;
}
html:root body:is(#latest-feedback#gray-ui,body) :is(.button,.icon-button,.filter-pill,.cmg-consent-button,.cmg-consent-close,.cmg-consent-reopen,.agent-portal,.location-cta,.card-enquiry,.cmg-learn-more,.contact-whatsapp,.contact-email,.filter-pill,.catalogue-menu-trigger,.cmg-contact-toggle,.cmg-contact-action,.cmg-contact-secondary){
 background-color:var(--ui-soft)!important;color:var(--ui-ink)!important;border-color:var(--ui-line)!important;background-image:none!important;box-shadow:none!important;
}
html:root body:is(#latest-feedback#gray-ui,body) :is(.button,.icon-button,.filter-pill,.cmg-consent-button,.cmg-consent-close,.cmg-consent-reopen,.agent-portal,.contact-whatsapp,.contact-email):is(:hover,:active){background-color:var(--soft2)!important}
html:root body:is(#latest-feedback#gray-ui,body) :is(.site-header,.mobile-nav,.live-popover,.contact-copy,.site-footer,.cmg-contact-dock,.dialog,.cmg-consent-banner){
 --ink:var(--ui-ink);--muted:var(--ui-muted);--line:var(--ui-line);--surface:var(--ui-soft);--inverse:var(--ui-ink);
 background-color:var(--ui-soft)!important;color:var(--ui-ink)!important;background-image:none!important;
}
html:root body:is(#latest-feedback#gray-ui,body) :is(.site-header,.mobile-nav,.live-popover,.contact-copy,.site-footer,.cmg-contact-dock,.dialog,.cmg-consent-banner) :is(a,button,h1,h2,h3,p,span,label,svg){color:var(--ui-ink)!important}
html:root body:is(#latest-feedback#gray-ui,body) :is(.logo-light){display:block!important}
html:root body:is(#latest-feedback#gray-ui,body) :is(.logo-dark){display:none!important}
html:root body:is(#latest-feedback#gray-ui,body) .language-switcher a{background:transparent!important;color:var(--ui-ink)!important}
html:root body:is(#latest-feedback#gray-ui,body) .language-switcher a[aria-current=true]{background:var(--soft2)!important;font-weight:700;text-decoration:underline;text-underline-offset:3px}
html:root body:is(#latest-feedback#gray-ui,body) :is(.button.primary,.filter-pill.active){font-weight:700!important}
html:root body:is(#latest-feedback#gray-ui,body) .catalogue-menu-options [aria-selected=true]{font-weight:700}
html:root body:is(#latest-feedback#gray-ui,body) .catalogue-menu-options [aria-selected=true]::after{content:' ✓'}
/* Explicit descendant contrast on every converted information surface. */
html:root body:is(#feedback#contrast#checked,body) :is(.step-card,.r3-pattern-card,.r2-service-card,.r2-overview-benefits>div,.cmg-keyfacts,.payment-panel,.r2-checks>article,.r2-audiences .r2-two>article,.cmg-about-card>.about-strip-text,.walking-grid>div,.career-empty,.empty-results,.article-contact,.cmg-about-metrics>.wrap,.contact-copy,.site-footer) :is(h1,h2,h3,h4,h5,h6,p,span,a,strong,em,small,label,dt,dd,li,button,svg){
 color:var(--ui-ink)!important;-webkit-text-fill-color:currentColor!important;opacity:1!important;
}
html:root body:is(#feedback#contrast#checked,body) :is(.step-card,.r3-pattern-card,.r2-service-card,.cmg-about-card>.about-strip-text,.contact-copy,.site-footer) svg [stroke]:not([stroke=none]){stroke:currentColor!important}
.cmg-currency-chevron{transition:transform 160ms ease!important;transform:translateY(-2px) rotate(45deg)!important}
details[open] .cmg-currency-chevron{transform:translateY(1px) rotate(225deg)!important}
.catalogue-menu-trigger::after{transition:transform 160ms ease;transform:rotate(0deg)}
.catalogue-menu-trigger[aria-expanded=true]::after{transform:rotate(180deg)}
@media(prefers-reduced-motion:reduce){.cmg-currency-chevron,.catalogue-menu-trigger::after{transition:none!important}}
/* Explicitly requested exception: actual project render, softly blurred behind contact copy. */
html:root body:is(#feedback#contact-render,body) .contact-copy{position:relative;isolation:isolate;overflow:hidden;background-color:var(--ui-soft)!important}
html:root body:is(#feedback#contact-render,body) .contact-copy::after{content:''!important;position:absolute;inset:-14px;z-index:-1;pointer-events:none;background:url('/assets/media/cmg-v2-del-mare-01-day-960.webp') center/cover no-repeat!important;filter:blur(8px)!important;opacity:.22!important}
/* Explicit language-control exception: no underline, black hover/keyboard state. */
html:root body:is(#feedback#language#exception#approved,body) .language-switcher a{ text-decoration:none!important; }
html:root body:is(#feedback#language#exception#approved,body) .language-switcher a:is(:hover,:focus-visible){background:#111!important;color:#fff!important;opacity:1!important;-webkit-text-fill-color:currentColor!important}
/* All controls share the measured8px reference radius. */
:root{--ui-control-radius:8px;--ui-hover:#111;--ui-hover-ink:#fff}
html:root body:is(#feedback#shape#all-controls,body) :is(.button,.icon-button,.filter-pill,.cmg-consent-button,.cmg-consent-close,.cmg-consent-reopen,.icon-button,.agent-portal,.location-cta,.card-enquiry,.contact-whatsapp,.contact-email,.language-switcher,.language-switcher a,.cmg-currency-summary,.cmg-currency-options,.cmg-currency-choice,.catalogue-menu-trigger,.catalogue-menu-options,[role=option],.cmg-contact-toggle,.cmg-contact-dock,.cmg-contact-action,input,select,textarea){border-radius:var(--ui-control-radius)!important}
/* Compact contact layout; every original field and tab remains present. */
html:root body:is(#feedback#compact#contact,body) .contact-form-column{padding:22px!important}
html:root body:is(#feedback#compact#contact,body) .contact-copy{padding:24px!important;min-height:0!important;gap:16px!important}
html:root body:is(#feedback#compact#contact,body) .contact-form-column :is(h2,h3){font-size:24px!important;line-height:1.25!important;margin:8px 0!important}
html:root body:is(#feedback#compact#contact,body) .lead-form{margin-top:12px!important}
html:root body:is(#feedback#compact#contact,body) .form-fields{gap:12px!important}
html:root body:is(#feedback#compact#contact,body) .form-field{gap:6px!important;margin-bottom:0!important}
html:root body:is(#feedback#compact#contact,body) .lead-form :is(input:not([type=checkbox]):not([type=hidden]),select){min-height:44px!important;padding-block:10px!important}
html:root body:is(#feedback#compact#contact,body) .lead-form textarea{min-height:80px!important}
html:root body:is(#feedback#compact#contact,body) .lead-form :is(.form-consent,.consent-field){margin-block:12px!important}
html:root body:is(#feedback#compact#contact,body) .enquiry-dialog{padding:22px!important}
@media(min-width:900px){html:root body:is(#feedback#compact#contact,body) .contact-form-column .form-fields[data-form-panel=core]>.form-field:nth-child(-n+2){grid-column:span 1!important}}
@media(max-width:760px){html:root body:is(#feedback#compact#contact,body) :is(.contact-copy,.contact-form-column,.enquiry-dialog){padding:18px!important}}
/* Shared black hover/focus on actionable controls; approved explicit exception to gray base. */
html:root body:is(#feedback#hover#all-controls#approved,body) :is(.button,.icon-button,.filter-pill,.cmg-consent-button,.cmg-consent-close,.cmg-consent-reopen,.icon-button,.agent-portal,.location-cta,.card-enquiry,.cmg-learn-more,.contact-whatsapp,.contact-email,.language-switcher a,.cmg-currency-summary,.cmg-currency-choice,.catalogue-menu-trigger,.catalogue-menu-options [role=option],.cmg-contact-toggle,.cmg-contact-action):is(:hover,:focus-visible),
html:root body:is(#feedback#hover#all-controls#approved,body) .catalogue-menu-options [role=option].is-active{background-color:var(--ui-hover)!important;color:var(--ui-hover-ink)!important;-webkit-text-fill-color:currentColor!important;opacity:1!important}
html:root body:is(#feedback#hover#descendants#approved#contrast,body) :is(.button,.icon-button,.filter-pill,.cmg-consent-button,.cmg-consent-close,.cmg-consent-reopen,.icon-button,.agent-portal,.contact-whatsapp,.contact-email,.language-switcher a,.cmg-currency-summary,.cmg-contact-toggle):is(:hover,:focus-visible) :is(span,svg){color:var(--ui-hover-ink)!important;-webkit-text-fill-color:currentColor!important}
/* Contact/Optional intentionally remain plain text, with no frame, fill or underline. */
html:root body:is(#feedback#tabs#plain#text#exception#approved,body) .form-tabs{border:0!important;background:none!important;box-shadow:none!important;gap:20px!important;margin-bottom:10px!important}
html:root body:is(#feedback#tabs#plain#text#exception#approved,body) .form-tabs button{background:none!important;border:0!important;box-shadow:none!important;text-decoration:none!important;color:var(--ui-muted)!important;padding:8px 0!important;min-height:44px!important;margin:0!important;opacity:1!important;font-weight:400!important}
html:root body:is(#feedback#tabs#plain#text#exception#approved,body) .form-tabs button:is([aria-selected=true],:hover,:focus-visible){color:var(--ui-ink)!important;font-weight:700!important;-webkit-text-fill-color:currentColor!important}
html:root body:is(#feedback#tabs#plain#text#exception#approved,body) .form-tabs button::after{display:none!important;content:none!important}
@media(min-width:900px){html:root body:is(#feedback#compact#contact,body) .contact-form-column .form-fields[data-form-panel=core]{grid-template-columns:repeat(2,minmax(0,1fr))!important}html:root body:is(#feedback#compact#contact,body) .contact-form-column .form-field{min-width:0}}
/* Latest explicit theme exception: night header/menu dark, day header light. */
html:root[data-theme=dark] body:is(#night#header#palette#approved#exception,body) :is(.site-header,.site-header .mobile-nav,.site-header .live-popover,.site-header .cmg-currency-popover){background-color:#111!important;color:#fff!important;--ink:#fff;--muted:#bcbcbc;--surface:#1e1e1e;--line:#343434}
html:root[data-theme=dark] body:is(#night#header#palette#approved#exception,body) .site-header :is(a,button,summary,span,svg,p,label){color:#fff!important;-webkit-text-fill-color:currentColor!important}
html:root[data-theme=dark] body:is(#night#header#palette#approved#exception,body) .site-header :is(.button,.icon-button,.filter-pill,.cmg-consent-button,.cmg-consent-close,.cmg-consent-reopen,.agent-portal,.cmg-currency-summary,.language-switcher){background-color:#1e1e1e!important;border-color:#343434!important}
html:root[data-theme=dark] body:is(#night#header#palette#approved#exception,body) .site-header .logo-light{display:none!important}
html:root[data-theme=dark] body:is(#night#header#palette#approved#exception,body) .site-header .logo-dark{display:block!important}
html:root[data-theme=dark] body:is(#night#header#palette#approved#exception,body) .site-header .language-switcher{background:#292929!important}
/* Current language is persistently black/white, never underlined. */
html:root body:is(#language#current#black#white#explicit#approved#final,body) .language-switcher a:is([aria-current=true],[aria-current=page],.active){background:#111!important;color:#fff!important;-webkit-text-fill-color:currentColor!important;text-decoration:none!important;opacity:1!important;font-weight:700!important}
/* Compact reference correction: inactive tabs must not reserve the taller panel's height. */
html:root body:is(#contact#compact#reserved-space#fixed,body) .lead-form .form-panel-stack{display:block!important;min-height:0!important;height:auto!important}
html:root body:is(#contact#compact#reserved-space#fixed,body) .lead-form .form-panel:not(.active){display:none!important}
html:root body:is(#contact#compact#reserved-space#fixed,body) .lead-form .form-panel.active{display:grid!important;min-height:0!important;height:auto!important}
html:root body:is(#contact#compact#reserved-space#fixed,body) .contact-panel{max-width:1040px!important;margin-inline:auto!important;min-height:0!important;height:auto!important;align-items:stretch!important}
html:root body:is(#contact#compact#reserved-space#fixed,body) .contact-form-column{padding:20px!important;min-height:0!important}
html:root body:is(#contact#compact#reserved-space#fixed,body) .contact-form-column :is(h2,h3){font-size:22px!important;line-height:1.2!important;margin:6px 0!important}
html:root body:is(#contact#compact#reserved-space#fixed,body) .contact-form-column .form-subtitle{font-size:12px!important;line-height:1.4!important;margin:0!important}
html:root body:is(#contact#compact#reserved-space#fixed,body) .lead-form .form-fields{gap:10px!important}
html:root body:is(#contact#compact#reserved-space#fixed,body) .lead-form .form-field>:is(span,label){font-size:12px!important;line-height:1.3!important}
html:root body:is(#contact#compact#reserved-space#fixed,body) .lead-form .submit{margin-top:8px!important;min-height:44px!important}
html:root body:is(#contact#compact#reserved-space#fixed,body) .lead-form .form-status:not(:empty){margin-top:8px!important;padding:8px 10px!important}
html:root body:is(#contact#compact#reserved-space#fixed,body) .contact-copy{justify-content:center!important;padding:22px!important}
@media(max-width:760px){html:root body:is(#contact#compact#reserved-space#fixed,body) .contact-form-column{padding:18px!important}html:root body:is(#contact#compact#reserved-space#fixed,body) .contact-copy{padding:18px!important;gap:12px!important}}
/* Shortlist only: remove the logo and collapse unnecessary empty-state spacing. */
html:root body:is(#shortlist#compact#approved,body) #shortlist-dialog .mini-brand{display:none!important}
html:root body:is(#shortlist#compact#approved,body) #shortlist-dialog{width:calc(100% - 32px)!important;max-width:520px!important;min-height:0!important;height:auto!important;padding:24px!important}
html:root body:is(#shortlist#compact#approved,body) #shortlist-dialog>.eyebrow{padding-right:44px!important;margin:0!important;min-height:0!important}
html:root body:is(#shortlist#compact#approved,body) #shortlist-dialog h2{margin:6px 40px 10px 0!important;padding:0!important}
html:root body:is(#shortlist#compact#approved,body) #shortlist-dialog .dialog-close{top:14px!important;right:14px!important;width:44px!important;height:44px!important}
html:root body:is(#shortlist#compact#approved,body) #shortlist-dialog .shortlist-empty{padding:8px 0 0!important;margin:0!important;min-height:0!important}
html:root body:is(#shortlist#compact#approved,body) #shortlist-dialog .shortlist-empty>svg{width:24px!important;height:24px!important;margin-bottom:8px!important}
html:root body:is(#shortlist#compact#approved,body) #shortlist-dialog .shortlist-empty p{margin-top:8px!important}
html:root body:is(#shortlist#compact#approved,body) #shortlist-dialog .shortlist-cta{margin-top:14px!important}
@media(max-width:760px){html:root body:is(#shortlist#compact#approved,body) #shortlist-dialog{padding:20px!important}}
/* A fixed dialog with inset:0 and height:auto stretches; fit-content keeps empty state compact. */
html:root body:is(#shortlist#compact#approved,body) #shortlist-dialog{height:fit-content!important}
/* Hover is a button affordance, not a background behind ordinary text links. */
html:root body:is(#hover#text#links#exception#explicit#latest,body) :is(.live-toggle,.site-header nav>a:not(.button):not(.agent-portal),.site-footer a:not(.button),.article-body a:not(.button),.text-link):is(*,:hover,:focus-visible){background:transparent!important;box-shadow:none!important;border-color:transparent!important;color:var(--ink)!important}
html:root body:is(#hover#text#links#exception#explicit#latest,body) .live-toggle:is(:hover,:focus-visible){text-decoration:underline!important;text-underline-offset:3px}
html:root body:is(#hover#cookie#button#explicit#latest,body) .cmg-consent-reopen{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px!important;padding:10px 14px!important;border:1px solid var(--ui-line)!important;border-radius:var(--ui-control-radius)!important;background:var(--ui-soft)!important;color:var(--ui-ink)!important;text-decoration:none!important;line-height:1.4!important}
html:root body:is(#hover#cookie#button#explicit#latest,body) .cmg-consent-reopen:is(:hover,:focus-visible){background:var(--ui-hover)!important;color:var(--ui-hover-ink)!important;text-decoration:none!important}
/* Latest requirement restores the established night palette throughout the UI. */
html:root[data-theme=dark]{
 --bg:#090909;--paper:#090909;--surface:#141414;--soft:#1e1e1e;--soft2:#292929;
 --ink:#f7f7f7;--inverse:#101010;--muted:#bcbcbc;--line:#343434;
 --cmg-accent:#ededed;--cmg-accent-ink:#191919;
 --ui-surface:#141414;--ui-soft:#1e1e1e;--ui-ink:#f7f7f7;--ui-muted:#bcbcbc;--ui-line:#343434;
 color-scheme:dark;
}
html:root[data-theme=dark] body:is(#theme#logos#restored#approved#latest#global,body) .logo-light{display:none!important}
html:root[data-theme=dark] body:is(#theme#logos#restored#approved#latest#global,body) .logo-dark{display:block!important}
/* Media-card hover: the wrapper and text stay still; only the clipped photo scales. */
html:root body:is(#media#cards#photo-only#hover#approved,body) :is(.project-card,.blog-card,.portfolio-card,.r2-work-card,.cmg-motion-card[data-card-motion=photo]):is(*,:hover,:focus-within,:active,.is-pressed){transform:none!important;--card-scale:1!important}
html:root body:is(#media#cards#photo-only#hover#approved,body) :is(.project-card,.blog-card,.portfolio-card,.r2-work-card) :is(.card-image,.cmg-zoom-media,.blog-thumb){overflow:hidden!important}
html:root body:is(#media#cards#photo-only#hover#approved,body) :is(.project-card,.blog-card,.portfolio-card,.r2-work-card) :is(.project-photo,.cmg-zoom-image){transform:scale(1)!important;transition:transform 220ms ease!important;transform-origin:center}
html:root body:is(#media#cards#photo-only#hover#approved,body) :is(.project-card,.blog-card,.portfolio-card,.r2-work-card):is(:hover,:focus-within) :is(.project-photo,.cmg-zoom-image){transform:scale(1.04)!important}
@media(prefers-reduced-motion:reduce){html:root body:is(#media#cards#photo-only#hover#approved,body) :is(.project-card,.blog-card,.portfolio-card,.r2-work-card) :is(.project-photo,.cmg-zoom-image){transition:none!important;transform:none!important}}
/* Button/control labels use medium weight; page headings are untouched. */
html:root body:is(#labels#medium#weight#requested#controls#only#latest#approved,body) :is(button,.button,.agent-portal,.language-switcher a,.cmg-currency-summary,.cmg-currency-choice,.catalogue-menu-trigger,.catalogue-menu-options [role=option],.contact-whatsapp,.contact-email,.cmg-consent-reopen){font-weight:500!important}
/* Latest contact simplification and alignment with the shared section container. */
html:root body:is(#contact#labels#removed#approved,body) .contact-section :is(.contact-copy .brand-mark,.contact-message>.eyebrow,.contact-form-column>.eyebrow){display:none!important}
html:root body:is(#contact#compact#reserved-space#fixed,body) .contact-panel{max-width:none!important;width:100%!important}
/* Process numbers removed; title/body reclaim the left column. */
html:root body:is(#process#numbers#removed#layout,body) .steps-grid .step-number{display:none!important}
html:root body:is(#process#numbers#removed#layout,body) .steps-grid .step-card:has(.step-icon){grid-template-columns:minmax(0,1fr) 30px!important}
html:root body:is(#process#numbers#removed#layout,body) .steps-grid .step-card:has(.step-icon) h3{grid-column:1!important;grid-row:1!important}
html:root body:is(#process#numbers#removed#layout,body) .steps-grid .step-card:has(.step-icon) .step-icon{grid-column:2!important;grid-row:1!important}
html:root body:is(#process#numbers#removed#layout,body) .steps-grid .step-card:has(.step-icon) p{grid-column:1 / -1!important;grid-row:2!important}
/* Duplicate was the original filter label pseudo-arrow plus the custom trigger arrow. */
html:root body:is(#catalogue#single#chevron#fixed,body) .filter-extra label:has(.catalogue-menu)::after{display:none!important;content:none!important}
html:root body:is(#catalogue#single#chevron#fixed,body) .catalogue-menu-trigger::after{content:''!important;display:block;flex:0 0 6px;width:6px;height:6px;box-sizing:border-box;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform 160ms ease;pointer-events:none}
html:root body:is(#catalogue#single#chevron#fixed,body) .catalogue-menu-trigger[aria-expanded=true]::after{transform:translateY(1px) rotate(225deg)}
@media(prefers-reduced-motion:reduce){html:root body:is(#catalogue#single#chevron#fixed,body) .catalogue-menu-trigger::after{transition:none!important}}
/* Contact: equal split and direct unnamed questionnaire, original field labels retained. */
@media(min-width:761px){html:root body:is(#contact#direct#equal#split#latest,body) .contact-panel{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}}
html:root body:is(#contact#direct#equal#split#latest,body) .contact-direct-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}
html:root body:is(#contact#direct#equal#split#latest,body) .contact-direct-fields>.form-field{grid-column:auto!important;min-width:0}
html:root body:is(#contact#direct#equal#split#latest,body) .contact-direct-fields>.contact-message-field{grid-column:1 / -1!important}
html:root body:is(#contact#direct#equal#split#latest,body) .contact-direct-fields .email-field{display:flex!important}
.contact-preference-summary{margin-top:22px;padding:16px;border:1px solid var(--ui-line);border-radius:8px;background:color-mix(in srgb,var(--ui-surface) 75%,transparent)}
.contact-preference-count{display:block;text-align:right;font-size:12px;color:var(--ui-muted)}
.contact-preference-summary progress{display:block;width:100%;height:4px;margin:10px 0 14px;appearance:none;border:0;background:var(--ui-line);color:var(--ui-ink)}
.contact-preference-summary progress::-webkit-progress-bar{background:var(--ui-line)}
.contact-preference-summary progress::-webkit-progress-value{background:var(--ui-ink);transition:width 160ms ease}
.contact-preference-summary dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0}
.contact-preference-summary dt{font-size:11px;line-height:1.4;color:var(--ui-muted)!important;margin-bottom:4px}
.contact-preference-summary dd{font-size:13px;line-height:1.45;margin:0;overflow-wrap:anywhere;color:var(--ui-ink)}
@media(max-width:760px){html:root body:is(#contact#direct#equal#split#latest,body) .contact-direct-fields{grid-template-columns:minmax(0,1fr)}.contact-preference-summary{margin-top:14px}}
/* Currency selected values must remain readable in all palettes. */
html:root body:is(#currency#selected#contrast#fixed#explicit#latest#component,body) .cmg-currency-choice[aria-pressed=true],html:root body:is(#currency#selected#contrast#fixed#explicit#latest#component,body) .cmg-currency-choice[aria-pressed=true] *{background-color:#111!important;color:#fff!important;-webkit-text-fill-color:currentColor!important;opacity:1!important}
/* No hover/focus underline anywhere; text links still have no filled background. */
html:root body:is(#no#hover#underline#global#requested#latest#explicit,body) :is(a,button,summary):is(:hover,:focus-visible){text-decoration:none!important}
html:root body:is(#no#hover#underline#global#requested#latest#explicit,body) :is(.live-toggle,.text-link,.site-header nav>a:not(.button),.site-footer a:not(.button),.article-body a:not(.button)):is(:hover,:focus-visible){border-bottom-color:transparent!important}
html:root body:is(#no#hover#underline#global#requested#latest#explicit,body) :is(.live-toggle,.text-link,.site-header nav>a:not(.button),.site-footer a:not(.button),.article-body a:not(.button)):is(:hover,:focus-visible)::after{display:none!important}
/* Refined photo motion, same duration entering and leaving. */
html:root body:is(#media#cards#photo-only#hover#approved,body) :is(.project-card,.blog-card,.portfolio-card,.r2-work-card) :is(.project-photo,.cmg-zoom-image){transition:transform 650ms cubic-bezier(.22,.61,.36,1)!important}
html:root body:is(#media#cards#photo-only#hover#approved,body) :is(.project-card,.blog-card,.portfolio-card,.r2-work-card):is(:hover,:focus-within) :is(.project-photo,.cmg-zoom-image){transform:scale(1.03)!important}
@media(prefers-reduced-motion:reduce){html:root body:is(#media#cards#photo-only#hover#approved,body) :is(.project-card,.blog-card,.portfolio-card,.r2-work-card) :is(.project-photo,.cmg-zoom-image){transition:none!important;transform:none!important}}
/* Latest reference: Contact/Optional retained, same intrinsic panel space on either tab. */
html:root body:is(#contact#reference#stable#tabs#approved#latest,body) .contact-reference-form .form-panel-stack{display:grid!important;grid-template-areas:'panel'!important;align-items:start!important;height:auto!important;min-height:0!important}
html:root body:is(#contact#reference#stable#tabs#approved#latest,body) .contact-reference-form .form-panel{display:grid!important;grid-area:panel!important;height:auto!important;min-height:0!important;gap:12px!important}
html:root body:is(#contact#reference#stable#tabs#approved#latest,body) .contact-reference-form .form-panel:not(.active){visibility:hidden!important;opacity:0!important;pointer-events:none!important}
html:root body:is(#contact#reference#stable#tabs#approved#latest,body) .contact-reference-form .form-panel.active{visibility:visible!important;opacity:1!important;pointer-events:auto!important}
html:root body:is(#contact#reference#stable#tabs#approved#latest,body) .contact-reference-form [data-form-panel=core]{grid-template-columns:minmax(0,1fr)!important}
html:root body:is(#contact#reference#stable#tabs#approved#latest,body) .contact-reference-form [data-form-panel=optional]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html:root body:is(#contact#reference#stable#tabs#approved#latest,body) .contact-reference-form .form-field{grid-column:auto!important;min-width:0!important}
html:root body:is(#contact#reference#stable#tabs#approved#latest,body) .contact-reference-form .email-field{display:flex!important}
html:root body:is(#contact#reference#stable#tabs#approved#latest,body) .contact-reference-form textarea{height:44px!important;min-height:44px!important;resize:vertical}
/* Location labels contain names only; filter values and counts remain in original data. */
html:root body:is(#location#counts#hidden#requested,body) .filter-pill>span{display:none!important}
/* Header only: original vector monogram, no wordmark, no distortion. */
html:root body:is(#header#monogram#only#requested#latest,body) .site-header .brand-mark{width:44px!important;min-width:44px!important;flex-basis:44px!important}
html:root body:is(#header#monogram#only#requested#latest,body) .site-header .brand-mark img{width:38px!important;height:38px!important;object-fit:contain!important}
/* Header monogram dimensions target the actual .brand link, not contact .brand-mark. */
html:root body:is(#header#brand#monogram#size#regression#fixed#explicit#latest,body) .site-header .brand{display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;max-height:44px!important;padding:0!important;transform:none!important;overflow:hidden!important}
html:root body:is(#header#brand#monogram#size#regression#fixed#explicit#latest,body) .site-header .brand img{position:static!important;inset:auto!important;width:44px!important;height:44px!important;min-width:0!important;max-width:44px!important;max-height:44px!important;object-fit:contain!important;transform:none!important;flex-shrink:0!important;margin:0!important}
@media(max-width:760px){html:root body:is(#header#brand#monogram#size#regression#fixed#explicit#latest,body) .site-header .brand{flex-basis:38px!important;width:38px!important;height:38px!important;min-width:38px!important;max-width:38px!important;max-height:38px!important}html:root body:is(#header#brand#monogram#size#regression#fixed#explicit#latest,body) .site-header .brand img{width:38px!important;height:38px!important;max-width:38px!important;max-height:38px!important}}
/* Anchored form popovers never cover their trigger. */
html:root body:is(#forms#custom#select#menus#approved,body) .lead-form select[hidden]{display:none!important}
.form-select-menu{position:relative;width:100%;min-width:0}
html:root body:is(#forms#custom#select#menus#approved,body) .form-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;height:44px;min-height:44px;padding:10px 12px!important;border:1px solid var(--ui-line)!important;border-radius:8px!important;background:var(--ui-surface)!important;color:var(--ui-ink)!important;font:inherit;font-size:12px;font-weight:500!important;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.form-select-trigger::after{content:'';display:block;flex:0 0 6px;width:6px;height:6px;box-sizing:border-box;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform 160ms ease}
.form-select-trigger[aria-expanded=true]::after{transform:translateY(1px) rotate(225deg)}
.form-select-options{position:absolute;z-index:120;box-sizing:border-box;padding:6px;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-surface);color:var(--ui-ink);box-shadow:var(--shadow);overflow:auto;overscroll-behavior:contain;font-size:12px;line-height:1.4}
.form-select-options[hidden]{display:none!important}
.form-select-options [role=option]{padding:10px 12px;border-radius:6px;cursor:pointer;overflow-wrap:anywhere}
.form-select-options [aria-selected=true]::after{content:' ✓'}
html:root body:is(#forms#custom#select#menus#hover#contrast,body) .form-select-trigger:is(:hover,:focus-visible),html:root body:is(#forms#custom#select#menus#hover#contrast,body) .form-select-options [role=option]:is(:hover,.is-active){background:#111!important;color:#fff!important;-webkit-text-fill-color:currentColor!important}
@media(prefers-reduced-motion:reduce){.form-select-trigger::after{transition:none!important}}
/* Reference left composition: introduction, explanation, then one summary frame. */
html:root body:is(#contact#reference#left#composition#latest,body) .contact-copy{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;gap:20px!important;padding:30px!important}
.contact-reference-intro h2,.contact-reference-intro h3{font-size:22px!important;line-height:1.25!important;margin:0 0 10px!important}
.contact-reference-intro .form-subtitle{font-size:13px;line-height:1.6;margin:0}
html:root body:is(#contact#reference#left#composition#latest,body) .contact-message{margin:0!important}
.contact-message h3{font-size:15px!important;line-height:1.4!important;margin:0 0 8px!important}
html:root body:is(#contact#reference#left#composition#latest,body) .contact-message p{font-size:13px!important;line-height:1.6!important;margin:0!important}
html:root body:is(#contact#reference#left#composition#latest,body) .contact-links{display:flex!important;flex-direction:row!important;gap:10px!important;margin:0!important}
html:root body:is(#contact#reference#left#composition#latest,body) .contact-links a{flex:1;min-width:0;padding:10px!important;font-size:11px!important}
html:root body:is(#contact#reference#left#composition#latest,body) .contact-preference-summary{margin-top:auto!important}
.contact-preference-summary dl{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:760px){html:root body:is(#contact#reference#left#composition#latest,body) .contact-copy{padding:22px!important;gap:16px!important}.contact-preference-summary dl{grid-template-columns:repeat(2,minmax(0,1fr))}html:root body:is(#contact#reference#left#composition#latest,body) .contact-links{flex-direction:column!important}}
/* Photo overlays share the location badge's translucent light treatment. */
:root{--ui-photo-control-bg:rgba(255,255,255,.82);--ui-photo-control-ink:#111;--ui-photo-control-border:rgba(255,255,255,.55)}
html:root body:is(#photo#overlay#location#unified#controls#latest#approved#component,body) :is(.project-card,.blog-card,.portfolio-card,.r2-work-card) :is(.card-city,.save-button,.cmg-photo-toggle){background:var(--ui-photo-control-bg)!important;color:var(--ui-photo-control-ink)!important;border:1px solid var(--ui-photo-control-border)!important;border-radius:8px!important;backdrop-filter:blur(8px);box-shadow:none!important;opacity:1!important}
html:root body:is(#photo#overlay#location#unified#controls#latest#approved#component,body) :is(.project-card,.blog-card,.portfolio-card,.r2-work-card) :is(.save-button,.cmg-photo-toggle){width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:11px!important;right:12px!important}
html:root body:is(#photo#overlay#location#unified#controls#latest#approved#component,body) :is(.project-card,.blog-card,.portfolio-card,.r2-work-card) .save-button{top:12px!important}
html:root body:is(#photo#overlay#location#unified#controls#latest#approved#component,body) :is(.project-card,.blog-card,.portfolio-card,.r2-work-card) .cmg-photo-toggle{bottom:12px!important;top:auto!important}
html:root body:is(#photo#overlay#location#unified#controls#latest#approved#component,body) :is(.project-card,.blog-card,.portfolio-card,.r2-work-card) .card-city{top:12px!important;left:12px!important;max-width:calc(100% - 80px);padding:7px 10px!important}
html:root body:is(#photo#overlay#location#unified#controls#latest#approved#component,body) :is(.project-card,.blog-card,.portfolio-card,.r2-work-card) :is(.save-button,.cmg-photo-toggle):is(:hover,:focus-visible){background:#111!important;color:#fff!important}
html:root body:is(#photo#overlay#location#unified#controls#latest#approved#component,body) :is(.project-card,.blog-card,.portfolio-card,.r2-work-card) :is(.save-button,.cmg-photo-toggle) svg{color:inherit!important}
/* Latest contact-left simplification: introduction + live summary only. */
html:root body:is(#contact#left#middle#removed#requested#latest,body) .contact-section .contact-copy :is(.contact-message,.contact-links){display:none!important}
/* Separate the header control box from the visible mark: inset, like neighbouring icons. */
html:root body:is(#header#brand#monogram#size#regression#fixed#explicit#latest#inset,body) .site-header .brand{flex:0 0 40px!important;width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important;max-height:40px!important}
html:root body:is(#header#brand#monogram#size#regression#fixed#explicit#latest#inset,body) .site-header .brand img{width:32px!important;height:32px!important;max-width:32px!important;max-height:32px!important}
@media(max-width:760px){html:root body:is(#header#brand#monogram#size#regression#fixed#explicit#latest#inset,body) .site-header .brand{flex-basis:36px!important;width:36px!important;height:36px!important;min-width:36px!important;max-width:36px!important;max-height:36px!important}html:root body:is(#header#brand#monogram#size#regression#fixed#explicit#latest#inset,body) .site-header .brand img{width:28px!important;height:28px!important;max-width:28px!important;max-height:28px!important}}
/* Selected and hovered options retain breathing room. */
html:root body:is(#menus#spacing#consistent#requested,body) :is(.form-select-options,.catalogue-menu-options):not([hidden]){display:flex!important;flex-direction:column!important;gap:4px!important;padding:8px!important}
html:root body:is(#menus#spacing#consistent#requested,body) :is(.form-select-options,.catalogue-menu-options)>[role=option]{flex-shrink:0;border-radius:8px!important;margin:0!important}
html:root body:is(#menus#spacing#consistent#requested,body) :is(.cmg-currency-options,.language-switcher){gap:4px!important;padding:4px!important}
html:root body:is(#menus#spacing#consistent#requested,body) :is(.live-popover,.mobile-nav):not([hidden]){row-gap:4px!important}
/* Keep the remaining left content together instead of separating it with empty space. */
html:root body:is(#contact#left#balanced#group#requested#latest,body) .contact-copy{justify-content:center!important;gap:28px!important}
html:root body:is(#contact#left#balanced#group#requested#latest,body) .contact-preference-summary{margin-top:0!important}
html:root body:is(#contact#left#render#clearer#requested#latest,body) .contact-copy::after{filter:blur(4px)!important;opacity:.30!important}
/* Requested contact-image exception: clear project renders, dark veil and light copy. */
html:root body:is(#contact#render#slideshow#dark#lighttext#explicit#latest,body) .contact-copy{background:#111!important;color:#fff!important;--ui-ink:#fff;--ui-muted:#dedede;--ui-line:rgba(255,255,255,.3);--ui-surface:#111;--ui-soft:#1e1e1e}
html:root body:is(#contact#render#slideshow#dark#lighttext#explicit#latest,body) .contact-copy::after,html:root body:is(#contact#render#slideshow#dark#lighttext#explicit#latest,body) .contact-copy::before{display:none!important;content:none!important}
.contact-render-layer{position:absolute;inset:-8px;z-index:-2;background-size:cover;background-position:center;filter:blur(3px);opacity:0;transition:opacity 750ms ease;pointer-events:none}
.contact-render-layer.is-visible{opacity:1}
.contact-render-shade{position:absolute;inset:0;z-index:-1;background:rgba(0,0,0,.6);pointer-events:none}
html:root body:is(#contact#render#slideshow#dark#lighttext#explicit#latest,body) .contact-copy :is(h2,h3,p,span,dt,dd,output){color:var(--ui-ink)!important;-webkit-text-fill-color:currentColor!important}
html:root body:is(#contact#render#slideshow#dark#lighttext#explicit#latest,body) .contact-preference-summary{background:rgba(17,17,17,.4)!important;border-color:rgba(255,255,255,.3)!important}
@media(prefers-reduced-motion:reduce){.contact-render-layer{transition:none!important}}
/* Footer typography is one coherent component, including the cookie action. */
html:root body:is(#footer#type#consistent#spacing#requested#latest,body) .footer-grid>div:not(.footer-brand){display:flex;flex-direction:column;align-items:flex-start;gap:10px}
html:root body:is(#footer#type#consistent#spacing#requested#latest,body) .footer-grid :is(a,p):not(.footer-label){font-size:15px!important;line-height:1.5!important;font-weight:400!important;margin:0!important}
html:root body:is(#footer#type#consistent#spacing#requested#latest,body) .footer-grid .footer-label{font-size:12px!important;line-height:1.4!important;letter-spacing:.08em!important;text-transform:uppercase;margin:0 0 6px!important}
html:root body:is(#footer#cookie#compact#type#requested#latest#explicit#component#final,body) .site-footer .cmg-consent-reopen{width:auto!important;max-width:100%;min-height:44px!important;padding:8px 12px!important;font-size:14px!important;line-height:1.4!important;font-weight:500!important;align-self:flex-start!important;margin-top:6px!important}
@media(max-width:760px){html:root body:is(#footer#type#consistent#spacing#requested#latest,body) .footer-grid :is(a,p):not(.footer-label){font-size:14px!important}}
/* Popovers are portalled out of clipping contact panels and remain outside layout. */
html:root body:is(#form#dropdown#portal#stable#layout#fixed,body) .form-select-options{position:fixed!important;z-index:1000!important;max-width:calc(100vw - 24px);margin:0!important}
html:root body:is(#form#dropdown#portal#stable#layout#fixed,body) .phone-input-group>.form-select-menu{min-width:0;min-height:44px;height:44px}
/* Selection uses contrast only; consent checkboxes are unrelated and unchanged. */
html:root body:is(#selection#checkmarks#removed#requested#latest,body) :is(.form-select-options,.catalogue-menu-options) [role=option]::after{content:none!important;display:none!important}
html:root body:is(#selection#checkmarks#removed#requested#latest,body) :is(.form-select-options,.catalogue-menu-options) [aria-selected=true]{background:#111!important;color:#fff!important;-webkit-text-fill-color:currentColor!important}
/* Three equal language cells, intrinsic group width and symmetric inset. */
html:root body:is(#language#group#bounds#fixed#all#states#explicit#latest,body) .language-switcher{display:grid!important;grid-template-columns:repeat(3,32px)!important;gap:4px!important;padding:4px!important;width:max-content!important;min-width:0!important;max-width:none!important;height:40px!important;box-sizing:border-box!important;flex:0 0 auto!important;align-items:center!important;overflow:hidden!important}
html:root body:is(#language#group#bounds#fixed#all#states#explicit#latest,body) .language-switcher a{display:flex!important;align-items:center!important;justify-content:center!important;width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;min-height:32px!important;max-height:32px!important;box-sizing:border-box!important;padding:0!important;margin:0!important;line-height:1!important}
/* Final questionnaire: project replaces city; all projects remain available. */
html:root body:is(#contact#reference#stable#tabs#approved#latest,body) .contact-reference-form [data-form-panel=optional]>.contact-project-field,
html:root body:is(#contact#reference#stable#tabs#approved#latest,body) .contact-reference-form [data-form-panel=optional]>.contact-channel-field{grid-column:1 / -1!important}
html:root body:is(#language#group#bounds#fixed#all#states#explicit#latest,body) .language-switcher{height:auto!important;min-height:40px!important}
@media(max-width:760px){html:root body.cmg-contact-section-visible :is(.cmg-contact-toggle,.cmg-contact-dock){visibility:hidden!important;pointer-events:none!important}}
/* Avoid accidental double-tap zoom while keeping pinch zoom available. */
html:root body :is(button,a,summary){touch-action:manipulation}
/* Final footer sizing requested after live review: uniform compact body type. */
html:root body:is(#footer#type#consistent#spacing#requested#latest,body) .footer-grid :is(a,p):not(.footer-label){font-size:13px!important;line-height:1.5!important}
html:root body:is(#footer#type#consistent#spacing#requested#latest,body) .footer-grid .footer-label{font-size:11px!important;line-height:1.5!important}
html:root body:is(#footer#cookie#compact#type#requested#latest#explicit#component#final,body) .site-footer .cmg-consent-reopen{font-size:13px!important;font-weight:500!important;min-height:44px!important}
@media(max-width:760px){html:root body.cmg-contact-section-visible .cmg-assistant-launcher{visibility:hidden!important;pointer-events:none!important}}

/* User-selected exception: circular footer social controls. */
html:root body:is(#footer#social#circle#controls#approved#shape#latest#component#explicit#override#final#style,body) .site-footer .social-links{display:flex!important;gap:10px!important;align-items:center!important}
html:root body:is(#footer#social#circle#controls#approved#shape#latest#component#explicit#override#final#style,body) .site-footer .social-links a{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 40px!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:9px!important;margin:0!important;box-sizing:border-box!important;border:1px solid var(--ui-line,var(--line))!important;border-radius:50%!important;background:var(--ui-soft,var(--soft))!important;color:var(--ui-ink,var(--ink))!important;text-decoration:none!important;box-shadow:none!important;transition:background-color 180ms ease,color 180ms ease!important}
html:root body:is(#footer#social#circle#controls#approved#shape#latest#component#explicit#override#final#style,body) .site-footer .social-links a:is(:hover,:focus-visible){background:#111!important;color:#fff!important;border-color:#111!important}
html:root body:is(#footer#social#circle#controls#approved#shape#latest#component#explicit#override#final#style,body) .site-footer .social-links a svg{width:20px!important;height:20px!important;color:inherit!important}

/* Popups contain content, not repeated brand marks. */
html:root body:is(#popup#brand#removed#explicit#latest,body) :is(dialog,[role="dialog"],.modal) :is(.brand-mark,.mini-brand,.logo-light,.logo-dark){display:none!important}

/* Contact tabs: user-approved button shapes, matching shared controls. */
html:root body:is(#contact#tabs#buttons#approved#latest#shape#component#explicit#override#final#style#current,body) .lead-form:not([data-submitted="true"]) .form-tabs{display:flex!important;gap:8px!important;flex-wrap:wrap!important;border:0!important;background:none!important}
html:root body:is(#contact#tabs#buttons#approved#latest#shape#component#explicit#override#final#style#current,body) .form-tabs button{background:var(--ui-soft,var(--soft))!important;color:var(--ui-ink,var(--ink))!important;border:1px solid var(--ui-line,var(--line))!important;border-radius:8px!important;padding:9px 14px!important;min-height:40px!important;margin:0!important;font-size:13px!important;line-height:1.4!important;font-weight:500!important;text-decoration:none!important;box-shadow:none!important;-webkit-text-fill-color:currentColor!important;transition:background-color 180ms ease,color 180ms ease!important}
html:root body:is(#contact#tabs#buttons#approved#latest#shape#component#explicit#override#final#style#current,body) .form-tabs button:is([aria-selected=true],:hover,:focus-visible){background:#111!important;color:#fff!important;border-color:#111!important;font-weight:500!important;-webkit-text-fill-color:currentColor!important}
/* Dropdown fields stay quiet on hover; only choices use selected black fills. */
html:root body:is(#dropdown#trigger#calm#surface#latest#explicit#requested#all#themes#final,body) :is(.form-select-trigger,.catalogue-menu-trigger,.cmg-currency-summary):is(:hover,:focus-visible,[aria-expanded=true]),
html:root body:is(#dropdown#trigger#calm#surface#latest#explicit#requested#all#themes#final,body) details[open]>.cmg-currency-summary{background:var(--ui-surface)!important;color:var(--ui-ink)!important;-webkit-text-fill-color:currentColor!important;box-shadow:none!important}
html:root body:is(#dropdown#trigger#calm#surface#latest#explicit#requested#all#themes#final,body) :is(.form-select-trigger,.catalogue-menu-trigger,.cmg-currency-summary):is(:hover,:focus-visible,[aria-expanded=true]) :is(span,svg){color:var(--ui-ink)!important;-webkit-text-fill-color:currentColor!important}
html:root body:is(#saved#heart#explicit#red#selection#latest#requested#final#component#state,body) :is(.save-button[aria-pressed=true],.shortlist-trigger:has(.save-count:not([hidden]))) svg,
html:root body:is(#saved#heart#explicit#red#selection#latest#requested#final#component#state,body) :is(.save-button[aria-pressed=true],.shortlist-trigger:has(.save-count:not([hidden]))) svg path{color:#dc3545!important;stroke:#dc3545!important;fill:#dc3545!important}
html:root body:is(#saved#count#contrast#explicit#white#latest#requested#final#component#state,body) .shortlist-trigger .save-count{background:#111!important;color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;min-width:18px;min-height:18px;padding:2px 4px;line-height:14px;font-size:10px!important;box-sizing:border-box;white-space:nowrap}
/* Consultation popup keeps its main heading without the redundant eyebrow. */
html:root body #enquiry-dialog>.eyebrow{display:none!important;margin:0!important;padding:0!important}

/* Popup headings use one title; remove small eyebrow labels everywhere. */
html:root body:is(#popup#eyebrow#removed#all#approved#latest#explicit,body) :is(dialog,[role="dialog"],.modal) .eyebrow{display:none!important;margin:0!important;padding:0!important}

/* Location cards use the same slow, photo-only hover as project cards. */
html:root body:is(#location#photo#zoom#approved#latest#explicit#component,body) .location-row{transform:none!important}
html:root body:is(#location#photo#zoom#approved#latest#explicit#component,body) .location-row .location-image{overflow:hidden!important}
html:root body:is(#location#photo#zoom#approved#latest#explicit#component,body) .location-row .location-image img{transform:scale(1)!important;transition:transform 650ms cubic-bezier(.22,.61,.36,1)!important}
html:root body:is(#location#photo#zoom#approved#latest#explicit#component,body) .location-row:is(:hover,:focus-within) .location-image img{transform:scale(1.03)!important}
@media(prefers-reduced-motion:reduce){html:root body:is(#location#photo#zoom#approved#latest#explicit#component,body) .location-row .location-image img{transition:none!important;transform:none!important}}

/* Selected location remains explicit even without hover. */
html:root body:is(#location#filter#selected#black#approved#latest#explicit#component#override#final#state#current,body) .filter-pill:is(.active,[aria-pressed="true"]){background:#111!important;color:#fff!important;border-color:#111!important;-webkit-text-fill-color:currentColor!important}
html:root body:is(#location#filter#selected#black#approved#latest#explicit#component#override#final#state#current,body) .filter-pill:is(.active,[aria-pressed="true"]) *{color:inherit!important;-webkit-text-fill-color:currentColor!important}

/* Labels remain accessible; prompts are displayed inside form controls. */
html:root body .lead-form .form-field > .cmg-field-label-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Excerpts share card padding on home and blog, in every locale. */
html:root body:is(#blog#excerpt#spacing#clamp#approved#latest#explicit#component,body) .blog-card .visual-article-excerpt{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;overflow:hidden!important;font-size:14px!important;line-height:1.6!important;font-weight:400!important;color:var(--ui-muted,var(--muted))!important;margin:0 22px 22px!important;padding:0!important;max-height:4.8em!important;overflow-wrap:break-word!important}
/* Shared outer content alignment; internal card padding and reading widths stay independent. */
:root{--cmg-content-max:1200px;--cmg-content-gutter:18px;--cmg-content-edge:max(var(--cmg-content-gutter),calc((100% - var(--cmg-content-max))/2))}
html:root body:is(#common#content#container#edges#approved#latest#all#languages#layout#final,body) .wrap:not(.wrap .wrap),
html:root body:is(#common#content#container#edges#approved#latest#all#languages#layout#final,body) .site-header .header-inner{width:calc(100% - 2*var(--cmg-content-gutter))!important;max-width:var(--cmg-content-max)!important;margin-inline:auto!important;box-sizing:border-box}
html:root body:is(#common#hero#container#edges#approved#latest#all#languages#layout#final,body) .cmg-hero>.cmg-hero-scene>.cmg-hero-heading{left:var(--cmg-content-edge)!important;right:var(--cmg-content-edge)!important;width:auto!important;max-width:none!important;margin-inline:0!important}
html:root body:is(#common#hero#container#edges#approved#latest#all#languages#layout#final,body) .cmg-hero-heading>:is(h1,p,.cmg-hero-bottom){max-width:720px}
html:root body:is(#common#hero#metrics#edges#approved#latest#all#languages#layout#final,body) .cmg-hero .r3-hero-metrics{left:var(--cmg-content-edge)!important;right:var(--cmg-content-edge)!important;width:auto!important;padding-inline:0!important}
html:root body:is(#common#hero#metrics#edges#approved#latest#all#languages#layout#final,body) .cmg-hero .r3-hero-metrics>.wrap{width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important}

/* Home article cards align titles and three-line excerpts across each row. */
html:root body:is(#home#articles#aligned#titles#excerpt#rows#approved#latest#explicit,body) .home-blog .blog-card{display:flex!important;flex-direction:column!important;align-self:stretch!important}
html:root body:is(#home#articles#aligned#titles#excerpt#rows#approved#latest#explicit,body) .home-blog .blog-card .blog-thumb{flex-shrink:0!important}
html:root body:is(#home#articles#aligned#titles#excerpt#rows#approved#latest#explicit,body) .home-blog .blog-card h2{line-height:1.35!important;min-height:2.7em!important}
html:root body:is(#home#articles#aligned#titles#excerpt#rows#approved#latest#explicit,body) .home-blog .blog-card .visual-article-excerpt{flex-shrink:0!important;height:4.8em!important;min-height:4.8em!important;margin-top:auto!important}
/* Native modal focus must target the current viewport, never an absolute document position. */
html:root body:is(#popup#viewport#position#scroll#preservation#approved#latest#native#dialog#fix,body) dialog[open]{position:fixed!important;inset:0!important;margin:auto!important;max-height:calc(100dvh - 24px)!important;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain}
html:root body:is(#popup#viewport#position#scroll#preservation#approved#latest#native#dialog#fix,body) #apartments-dialog{height:fit-content!important;transform:none!important}

/* Native horizontal touch scrolling also preserves vertical page scroll and pinch. */
html:root body[data-page="project"] .integrated-gallery-viewer .r3-gallery-stage,
html:root body[data-page="project"] .integrated-gallery-viewer .r3-gallery-stage .gallery-open,
html:root body[data-page="project"] .integrated-gallery-viewer .r3-gallery-stage img{touch-action:pan-x pan-y pinch-zoom!important}

/* One section rhythm across every project landing and translation. */
html:root body[data-page="project"] main > .cmg-project-section:not(.contact-section){padding-block:40px!important;margin-block:0!important}
html:root body[data-page="project"] .cmg-project-section:not(.contact-section) .section-head{margin:0 0 24px!important;gap:16px!important;align-items:flex-start!important}
html:root body[data-page="project"] .cmg-project-section:not(.contact-section) .section-heading{margin:0!important;min-width:0}
html:root body[data-page="project"] .cmg-project-section:not(.contact-section) .section-head h2{font-size:32px!important;line-height:1.35!important;max-width:36ch!important;margin:0!important;white-space:normal!important;text-wrap:pretty!important}
html:root body[data-page="project"] .cmg-project-section > .section-intro{font-size:16px!important;line-height:1.7!important;max-width:72ch!important;margin:0 0 24px!important}
html:root body[data-page="project"] #infrastructure .amenity-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 32px!important}
html:root body[data-page="project"] #infrastructure .amenity{display:flex!important;align-items:center!important;gap:16px!important;min-height:72px!important;padding:20px 0!important;font-size:16px!important;line-height:1.5!important;border-bottom:1px solid var(--line)!important}
html:root body[data-page="project"] #infrastructure .amenity-icon{display:grid!important;place-items:center;flex:0 0 28px!important;width:28px!important;height:28px!important}
html:root body[data-page="project"] #infrastructure .amenity-icon svg{width:24px!important;height:24px!important}
@media(max-width:760px){
 html:root body[data-page="project"] main > .cmg-project-section:not(.contact-section){padding-block:28px!important}
 html:root body[data-page="project"] .cmg-project-section:not(.contact-section) .section-head{margin-bottom:20px!important}
 html:root body[data-page="project"] .cmg-project-section:not(.contact-section) .section-head h2{font-size:24px!important;max-width:none!important}
 html:root body[data-page="project"] .cmg-project-section > .section-intro{font-size:15px!important;margin-bottom:20px!important}
 html:root body[data-page="project"] #infrastructure .amenity-grid{grid-template-columns:1fr!important;gap:0!important}
 html:root body[data-page="project"] #infrastructure .amenity{font-size:15px!important;min-height:64px!important;padding-block:16px!important}
}
/* Submission confirmation must win over dialog palette and form-panel layout rules. */
html:root body:is(#submission#success#confirmation#component#final#state#layout#contrast,body) .lead-form[data-submitted="true"] > :not(.form-status){display:none!important}
html:root body:is(#submission#success#confirmation#component#final#state#layout#contrast,body) .lead-form .form-status.enquiry-success{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:14px!important;min-height:180px!important;margin:0!important;padding:24px!important;border:1px solid var(--line)!important;border-radius:8px!important;background:var(--soft)!important;color:var(--ink)!important;text-align:center!important}
html:root body:is(#submission#success#confirmation#component#final#state#layout#contrast,body) .enquiry-success-icon{display:grid!important;place-items:center!important;width:40px!important;height:40px!important;flex:0 0 40px!important;border-radius:50%!important;background:#111!important;color:#fff!important}
html:root body:is(#submission#success#confirmation#component#final#state#layout#contrast,body) .enquiry-success-icon svg{display:block!important;width:24px!important;height:24px!important;color:#fff!important;stroke:#fff!important;fill:none!important}
html:root body:is(#submission#success#confirmation#component#final#state#layout#contrast,body) .enquiry-success-icon svg path{stroke:#fff!important;fill:none!important}
html:root body:is(#submission#success#confirmation#component#final#state#layout#contrast,body) .enquiry-success-message{color:var(--ink)!important;font-size:18px!important;font-weight:500!important;line-height:1.5!important;max-width:30ch!important;margin:0!important;text-wrap:balance}
html:root body:is(#submission#success#confirmation#component#final#state#layout#contrast,body) .enquiry-dialog:has(.lead-form[data-submitted="true"]) > :not(.lead-form):not(.dialog-close),
html:root body:is(#submission#success#confirmation#component#final#state#layout#contrast,body) .contact-form-column:has(.lead-form[data-submitted="true"]) > :not(.lead-form){display:none!important}
html:root body:is(#submission#success#confirmation#component#final#state#layout#contrast,body) .lead-form[data-submitted="true"]{display:block!important;min-height:0!important;margin:0!important;padding:0!important}
html:root body:is(#submission#success#confirmation#component#final#state#layout#contrast,body) .enquiry-dialog:has(.lead-form[data-submitted="true"]){height:fit-content!important;min-height:0!important}
html:root body:is(#submission#success#confirmation#component#final#state#layout#contrast,body) .lead-form .form-status.enquiry-success{border:0!important;background:transparent!important}

/* Keep all three home hero facts on a single mobile row. */
@media(max-width:740px){
 html:root body[data-page="home"] .cmg-hero-numbers .cmg-metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;align-items:start!important}
 html:root body[data-page="home"] .cmg-hero-numbers .cmg-metric{grid-column:auto!important;width:auto!important;min-width:0!important;padding:14px 0 0!important;margin:0!important}
 html:root body[data-page="home"] .cmg-hero-numbers .cmg-metric-value{display:flex!important;align-items:baseline!important;justify-content:flex-start!important;gap:3px!important;white-space:nowrap!important;margin:0 0 8px!important;min-height:30px!important;font-size:clamp(20px,5.8vw,26px)!important;line-height:1.2!important}
 html:root body[data-page="home"] .cmg-hero-numbers .cmg-metric-number{font-size:inherit!important;line-height:inherit!important;letter-spacing:-.03em!important}
 html:root body[data-page="home"] .cmg-hero-numbers :is(.cmg-metric-unit,.cmg-metric-currency){font-size:12px!important;line-height:1.2!important}
 html:root body[data-page="home"] .cmg-hero-numbers .cmg-metric dt{font-size:11px!important;line-height:1.5!important;margin:0!important;max-width:none!important;white-space:normal!important}
}
/* Article cards follow the page theme without individual photo controls. */
html:root body .blog-card .cmg-photo-toggle{display:none!important}
@media(max-width:740px){
 html:root body .site-footer .footer-brand > p{display:none!important}
 html:root body[data-page="home"] .cmg-hero-numbers .cmg-metrics{padding-inline:0!important}
 html:root body[data-page="home"] .cmg-hero-numbers .cmg-metric:last-child{display:block!important;grid-column:auto!important}
}
html.cmg-menu-scroll-locked{overflow:hidden!important;overscroll-behavior:none!important}
html.cmg-menu-scroll-locked body .site-header{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important}
html.cmg-menu-scroll-locked #mobile-nav{overflow-y:auto!important;overscroll-behavior:contain!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch}
/* Paired mobile CTAs share a full row in equal-width columns. */
@media(max-width:740px){
 html:root body:is(#mobile-actions,body) main :is(.r2-buttons,.hero-actions,.cmg-hero-actions,.project-hero-actions,.cmg-card-actions,.cta-actions,.button-row){display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(0,1fr)!important;grid-template-columns:none!important;align-items:stretch!important;gap:10px!important;width:100%!important}
 html:root body:is(#mobile-actions,body) main :is(.button,.card-enquiry,.small-enquiry,.cmg-hero-consult,.cmg-hero-explore){display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;min-width:0!important;min-height:44px!important;text-align:center!important;white-space:normal!important}
}
