/* Business surfaces and text pairs. Shared values live in design-system.css. */
html{color-scheme:light}
html body{background:var(--surface-page);color:var(--text-strong)}
body :is(a,button,input,select,textarea,summary){-webkit-tap-highlight-color:transparent}
body :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--link-blue);outline-offset:4px}
body ::selection{background:var(--surface-blue);color:var(--text-strong)}
/* Navigation and controls use complete foreground/background state pairs. */
body .modular-header{background:var(--surface-page);backdrop-filter:none}
body .modular-header :is(.brand,.desktop-nav){background:var(--surface-panel);border:1px solid var(--line-soft);color:var(--text-body)}
body .modular-header .brand-division{color:var(--text-body)}
body .modular-header .header-controls{background:var(--surface-soft);border-color:var(--line-soft);color:var(--text-body)}
body .modular-header .desktop-nav a{color:var(--text-body)}
body .modular-header .desktop-nav a:is(:hover,[aria-current=page]){background:var(--surface-blue);color:var(--link-blue);box-shadow:none}
body .modular-header .language-bar{border-color:var(--line-soft)}
body .modular-header .language-bar button{color:var(--text-muted);opacity:1}
body .modular-header .language-bar button[aria-pressed=true]{color:var(--link-blue)}
body .modular-header .language-bar>span{color:var(--text-muted)}
body .header-company{color:var(--link-blue)}
body .modular-header .menu-toggle i{background:var(--text-strong)}
body .modular-header .mobile-nav{background:var(--surface-panel);border:1px solid var(--line-soft);box-shadow:0 12px 32px #26334210}
body .modular-header .mobile-nav a{color:var(--text-body);border-color:var(--line-soft)}
body .modular-header .mobile-nav a:is(:hover,[aria-current=page]){background:var(--surface-blue);color:var(--link-blue)}
/* Most panels stay white; only quiet supporting groups receive a neutral fill. */
body .home-hero .hero-copy{background:var(--surface-panel);border-color:var(--line-soft);color:var(--text-strong)}
body .home-hero .hero-copy h1{color:var(--text-strong)}
body .home-hero .hero-copy h1 .accent{color:var(--link-blue)}
body .home-hero .hero-description{color:var(--text-body)}
body .home-hero .hero-visual{background:var(--surface-soft);border-color:var(--line-soft)}
body .home-hero :is(.globe-label,.hero-bottom-note){color:var(--text-muted);border-color:var(--line-soft)}
body .home-hero .globe-label strong{color:var(--text-body)}
body .home-hero .hero-copy .eyebrow{color:var(--text-muted)}
body .page-hero{background:transparent;color:var(--text-strong)}
body .page-hero .hero-copy-col,body .page-hero:not(.page-hero-photo)>.container{background:var(--surface-panel);border-color:var(--line-soft)}
body .page-hero :is(h1,h2,h3){color:var(--text-strong)}
body .page-hero .hero-description{color:var(--text-body)}
body :is(.breadcrumb,.eyebrow,.aside-caption,.hero-photo figcaption){color:var(--text-muted)}
body .breadcrumb a{color:var(--link-blue)}
body :is(.by-market,.journey-section,.lifecycle-section,.business-identity,.about-values,.approach-section,.preparation){background:transparent;color:var(--text-strong);border-color:var(--line-soft)}
body :is(.section-heading,.bento-head,.approach-layout,.lifecycle-section,.business-identity,.about-intro,.company-card) :is(h1,h2,h3){color:var(--text-strong)}
body :is(.section-heading,.bento-head,.approach-layout,.lifecycle-section,.business-identity,.about-intro,.company-card) p{color:var(--text-body)}
/* Actions. Primary buttons keep white labels; secondary actions retain blue text. */
body :is(.text-link,.tile-link,.consult-link,.reset-filters,.blk-link,.faq-service-link,.identity-links a){color:var(--link-blue)}
body :is(.text-link,.tile-link,.consult-link,.reset-filters,.blk-link,.faq-service-link):hover{color:var(--text-strong);text-decoration:underline;text-underline-offset:4px}
body .button,body .home-hero .hero-actions .button,body .detail-sidebar .button,body .enquiry-panel .button{background:var(--link-blue);border-color:var(--link-blue);color:#fff;border-radius:10px;box-shadow:none}
body .button:hover,body .home-hero .hero-actions .button:hover,body .detail-sidebar .button:hover,body .enquiry-panel .button:hover{background:#254969;border-color:#254969;color:#fff}
body .button.button-secondary{background:var(--surface-panel);border-color:#b8c9d9;color:var(--link-blue)}
body .button.button-secondary:hover{background:var(--surface-blue);border-color:#a5bdd3;color:var(--link-blue)}
body :is(button,a.button):disabled,body button[disabled]{background:var(--surface-soft);border-color:var(--line-soft);color:var(--text-muted);opacity:1;cursor:not-allowed}
/* Bento names from the legacy dark theme no longer determine foreground colours. */
body .bento-page{--blk-line:var(--line-soft);background:transparent;color:var(--text-strong)}
body .blk,body .blk-navy,body .blk-blue,body .blk-mist{background:var(--surface-panel);border-color:var(--line-soft);color:var(--text-strong)}
body .blk.blk-mist,body .blk.blk-blue{background:var(--surface-soft)}
body .blk.hero-blk{background:var(--surface-panel)}
body .blk:not(.blk-photo) :is(h1,h2,h3,h4,strong,dt,dd,.quote){color:var(--text-strong)}
body .blk:not(.blk-photo) :is(p,p.lead,li){color:var(--text-body)}
body .blk :is(.blk-tag,.blk-num,.keyword-blk p,.facts-blk dt){color:var(--text-muted)}
body .blk .blk-tag b{color:var(--link-blue)}
body .blk .blk-link{color:var(--link-blue)}
body .blk .blk-link:hover{color:var(--text-strong)}
body .blk .blk-foot,body .blk .blk-list li,body .blk .facts-blk>div{border-color:var(--line-soft)}
body .blk .blk-list li:before{background:var(--link-blue)}
body .blk .chip,body .blk .chip-light,body .blk .cap-grid span{background:var(--surface-blue);border-color:#d2deeb;color:var(--link-blue)}
body .blk a.chip:hover{background:#dce7f2;color:var(--link-blue)}
body .blk .team-initial{background:var(--surface-panel);border:1px solid var(--line-soft);color:var(--link-blue)}
body .blk .team-role{color:var(--text-body)}
body .hero-blk .breadcrumb,body .hero-blk .breadcrumb span,body .blk .hero-counts dd{color:var(--text-muted)}
body .hero-blk .breadcrumb a{color:var(--link-blue)}
body .hero-blk .breadcrumb a:hover{color:var(--text-strong)}
body .blk .hero-counts dt,body .overview-counts dt{color:var(--text-strong)}
body .hero-blk #faq-count{color:var(--text-body)}
body .blk.cta-mini,body .blk.cta-mini strong,body .blk.cta-mini .blk-link{color:var(--text-strong)}
body .blk.cta-mini .blk-link{color:var(--link-blue)}
body .blk .link-list a{color:var(--link-blue);border-color:var(--line-soft)}
body .blk .link-list small{color:var(--text-muted)}
/* White photo captions remain on an explicit dark scrim, never on a plain panel. */
body .blk.blk-photo{background:var(--surface-soft)}
body .blk-photo .blk-cap{background:linear-gradient(180deg,transparent,#172534eb);color:#fff}
body .blk-photo .blk-cap :is(h2,h3,strong,.blk-tag,p){color:#fff}
body .blk-photo .blk-cap.blk-credit{background:linear-gradient(180deg,transparent,#172534eb);color:#fff}
body .blk-credit-inline{background:#172534d9;color:#fff;border-radius:5px;margin:0 8px 8px;padding:4px 8px}
body :is(.area-photo,.network-photo,.market-thumb) span{background:#243e59e8;color:#fff}
/* Directories and detail pages. */
body :is(.service-tile,.catalog-item,.category-service-list a,.market-card,.lifecycle-grid a,.scope-blocks article,.process-list li,.market-entities>div,.scenario-sections article){background:var(--surface-panel);border-color:var(--line-soft);color:var(--text-strong)}
body :is(.service-tile,.catalog-item,.category-service-list a,.market-card,.lifecycle-grid a):hover{background:var(--surface-panel);border-color:#b2c7da;color:var(--text-strong)}
body :is(.service-tile,.catalog-item,.lifecycle-grid,.scope-blocks,.process-list,.market-entities,.scenario-sections) :is(h2,h3,strong){color:var(--text-strong)}
body :is(.service-tile p,.catalog-item p,.service-area-copy p,.lifecycle-grid p,.scope-blocks p,.process-list p,.preparation li,.scenario-sections p,.scenario-sections li){color:var(--text-body)}
body :is(.tile-top,.catalog-meta,.scope-number,.step-number,.service-facts,.overview-counts dd,.results-count,.scope-note){color:var(--text-muted)}
body :is(.service-area-list a,.category-service-list a,.detail-sidebar>a:not(.button),.market-section,.principles>div){border-color:var(--line-soft)}
body :is(.service-area-list small,.category-service-list small,.detail-sidebar>a>span:first-child,.related-markets a>span:first-child){color:var(--text-muted)}
body .detail-sidebar>a:not(.button){color:var(--text-body)}
body .detail-sidebar>a:not(.button):is(:hover,[aria-current]){color:var(--link-blue);background:var(--surface-blue)}
body .preparation,body .market-code{background:var(--surface-soft);border-color:var(--line-soft);color:var(--text-strong)}
body .preparation h3{color:var(--text-strong)}
body .related-markets a,body .market-anchor-bar a,body .market-ribbon a{background:var(--surface-panel);border-color:var(--line-soft);color:var(--link-blue)}
body .related-markets a:hover,body .market-ribbon a:hover{background:var(--surface-blue);color:var(--link-blue)}
body .market-ribbon>.container>span{background:var(--surface-soft);border-color:var(--line-soft);color:var(--text-muted)}
body .market-ribbon small,body .market-section li>span:last-child{color:var(--text-muted)}
body .market-section li{color:var(--text-body)}
body .market-anchor-bar{background:transparent;border-color:var(--line-soft)}
body .journey-tabs{background:var(--surface-soft);border-color:var(--line-soft)}
body .journey-tabs button{background:transparent;color:var(--text-body);border-color:transparent}
body .journey-tabs button:is(:hover,[aria-selected=true]){background:var(--surface-blue);color:var(--link-blue);border-color:#c7d8e7}
body .journey-panel{background:var(--surface-panel);border-color:var(--line-soft);color:var(--text-strong)}
body .journey-panel :is(p,li){color:var(--text-body)}
body .journey-track>div,body .journey-track>div:nth-child(2),body .journey-track>div:nth-child(3){background:var(--surface-soft);border-color:var(--line-soft)}
body .journey-track strong{color:var(--text-strong)}
body .journey-track span{color:var(--text-muted)}
/* About enquiry panels explicitly override their old inner navy theme. */
body .bento-contact .contact-details,body .bento-contact .enquiry-panel{background:var(--surface-panel);border-color:var(--line-soft);color:var(--text-strong)}
body .bento-contact .contact-details :is(h2,h3){color:var(--text-strong)}
body .bento-contact .contact-details :is(p,span,small,.contact-company),body .contact-address p,body .enquiry-heading p{color:var(--text-body)}
body .bento-contact .contact-details :is(a,.copy-email){color:var(--link-blue)}
body .bento-contact .contact-details :is(a,.copy-email):hover{color:var(--text-strong)}
body .bento-contact .contact-details .eyebrow,body .bento-contact .contact-details .eyebrow span{color:var(--text-muted)}
body .bento-contact .contact-details .contact-address,body .enquiry-result{border-color:var(--line-soft)}
body .copy-email{background:var(--surface-soft);border:1px solid var(--line-soft);padding:5px 12px;border-radius:8px}
body .enquiry-panel{background:var(--surface-panel);border-color:var(--line-soft);color:var(--text-strong)}
body :is(input,select,textarea),body .faq-search-blk input{background:var(--surface-panel);color:var(--text-strong);border:1px solid #afbfce;border-radius:9px;box-shadow:none}
body :is(input,textarea)::placeholder,body .faq-search-blk input::placeholder{color:var(--text-muted);opacity:1}
body :is(input,select,textarea):focus{border-color:var(--link-blue)}
body :is(label,.form-note,.contact-company,.contact-address>span,.contact-method>span,.enquiry-heading>span,.draft-label){color:var(--text-body)}
body .enquiry-result textarea{background:var(--surface-soft);color:var(--text-body)}
body .enquiry-result h3{color:var(--text-strong)}
/* Filters, search and FAQ states. */
body .service-filters{background:var(--surface-soft);border-color:var(--line-soft)}
body .service-filters label{color:var(--text-body)}
body .service-filters :is(input,select){background:var(--surface-panel);color:var(--text-strong);border-color:#afbfce}
body .faq-search-blk{color:var(--text-body)}
body .faq-jump a{background:var(--surface-panel);border-color:var(--line-soft);color:var(--link-blue)}
body .faq-jump a:hover{background:var(--surface-blue);color:var(--link-blue)}
body :is(.faq-list details,.faq-directory-items details,.faqs details,.business-faq-strip details){background:var(--surface-panel);border-color:var(--line-soft)}
body :is(.faq-list summary,.faq-directory-items summary,.faqs summary,.business-faq-strip summary){color:var(--text-strong)}
body :is(.faq-list details p,.faq-directory-items details p,.faqs details p,.business-faq-strip details p){color:var(--text-body)}
body :is(.faq-list,.faq-directory-items,.faqs,.business-faq-strip) summary>span:last-child{color:var(--link-blue)}
body .faq-directory-items summary small,body .faq-empty{color:var(--text-muted)}
body .business-faq-strip>.container{background:var(--surface-panel);border-color:var(--line-soft)}
/* CTA has an inner panel; reset that panel rather than only its outer section. */
body .contact-band{background:transparent;color:var(--text-strong)}
body .contact-band>.container{background:var(--surface-blue);border:1px solid var(--line-soft);color:var(--text-strong)}
body .contact-band :is(h2,p,.eyebrow,.eyebrow span){color:var(--text-body)}
body .contact-band h2{color:var(--text-strong)}
body .footer{background:var(--surface-soft);color:var(--text-body)}
body .footer-top,body .footer-legal,body .company-registration{border-color:var(--line-soft)}
body .footer-top :is(h2,p,a),body .footer-brand>span{color:var(--text-body)}
body .footer-top h2,body .footer-top .footer-phone{color:var(--text-strong)}
body .footer-top a:hover{color:var(--link-blue)}
body .footer-bottom,body .footer-bottom :is(a,button,span),body .company-registration,body .company-registration :is(a,span){color:var(--text-muted);border-color:var(--line-soft)}
body dialog{background:var(--surface-panel);color:var(--text-strong);border-color:var(--line-soft);border-radius:18px}
body dialog p{color:var(--text-body)}
/* Reading content is immediately visible; the diagram can still turn. */
body.biz-motion .business-arrived,body.business-entering .hero-copy *,body.business-entering .hero-actions{animation:none;opacity:1;filter:none;translate:none}
@media(max-width:760px){body .bento-contact .contact-details,body .bento-contact .enquiry-panel{padding:25px 22px}body .contact-band>.container{padding-left:24px;padding-right:24px}body .blk p.blk-note{font-size:13px!important}}

/* Nested labels with their own foregrounds in the old components. */
body .bento-head .blk-tag b,body .eyebrow>span:first-child,body .contact-band .eyebrow>span:first-child{color:var(--text-muted)}
body .tile-top>span,body .market-ribbon a small,body .market-card>div>span,body .lifecycle-grid a>span,body .scenario-code,body .service-area-list span,body .service-process .step-number{color:var(--text-muted)}
body .category-service-list span,body .category-service-list small{color:var(--text-body)}
body .category-service-list strong{color:var(--text-strong)}
body .service-facts>div>span,body .service-facts a>span:first-child{color:var(--text-muted)}
body .service-facts a{color:var(--link-blue);background:var(--surface-panel);border-color:var(--line-soft)}
body .service-facts a:hover{color:var(--link-blue);background:var(--surface-blue)}
body .journey-intro,body .principles dd{color:var(--text-body)}
body .market-detail-identity .market-code{color:var(--link-blue)}
body .detail-sidebar>.button>span,body .contact-band .button>span{color:inherit}

body .detail-sidebar>a.button>span:first-child{color:inherit}

/* Error pages share the same plain-surface reading rules. */
body.error-page main{margin-top:clamp(32px,8vh,96px);margin-bottom:48px;padding:clamp(28px,5vw,64px);max-width:880px;background:var(--surface-panel);border:1px solid var(--line-soft);border-radius:18px}body.error-page p{color:var(--text-body)}body.error-page .eyebrow{color:var(--text-muted)}body.error-page h1{color:var(--text-strong);font-size:clamp(32px,4vw,52px);line-height:1.45}

/* Plain bento hero text uses document flow, so breadcrumbs cannot overlap the title tag. */
body .blk.hero-blk:not(.blk-photo) .breadcrumb{position:static;inset:auto;align-self:flex-start;margin:0 0 24px;max-width:100%}
@media(max-width:700px){body .blk.hero-blk:not(.blk-photo){padding-top:24px}}
