/* Explicit surface roles: photo overlays stay dark; brand surfaces use contrast tokens. */
body,.content-card,.plain-card,.news-card,.article-side-box,.article-category-box,.article-related,.media-cards article,.catalog-grid>article,.project-result-card,.project-category-copy,.product-specifications,.contact-message,.mega-panel,.mega-content-card,.mega-product-card,.dealer-point,.faq-list details{color:var(--ink)}
.dark,.site-footer,.optional-topbar,.stats-band,.service-contact,.service-showcase-technology,.service-showcase-operations .showcase-copy,.category-collection-1,.news-spotlight,.news-spotlight .news-copy,.news-secondary:nth-child(3),.news-split:nth-child(2n),.testimonial-layer:nth-child(2),.team-showcase-card:nth-child(4n+2) .team-showcase-caption,.project-category-card.phase-1 .project-category-copy,.project-gallery-card:nth-child(3) .project-gallery-caption,.article-contact,.article-related-card.related-1>span,.project-detail-cta,.pdf-toolbar,.contact-information{color:var(--on-secondary)}
.dark{background:var(--secondary)}
:is(.site-footer,.stats-band,.service-contact,.service-showcase-technology,.service-showcase-operations .showcase-copy,.category-collection-1,.news-spotlight,.news-secondary:nth-child(3),.news-split:nth-child(2n),.testimonial-layer:nth-child(2),.team-showcase-card:nth-child(4n+2) .team-showcase-caption,.project-category-card.phase-1 .project-category-copy,.article-contact,.article-related-card.related-1>span,.project-detail-cta,.contact-information) :is(h2,h3,h4,b,strong){color:var(--on-secondary)}
:is(.site-footer,.stats-band,.service-contact,.service-showcase-technology,.service-showcase-operations .showcase-copy,.category-collection-1,.news-spotlight,.news-secondary:nth-child(3),.news-split:nth-child(2n),.testimonial-layer:nth-child(2),.team-showcase-card:nth-child(4n+2) .team-showcase-caption,.project-category-card.phase-1 .project-category-copy,.article-contact,.article-related-card.related-1>span,.project-detail-cta,.contact-information) :is(p,small,time,.eyebrow){color:var(--on-secondary);opacity:.86}
.sage,.pagination a.current,.news-categories a.active,.category-count,.catalog-badge,.media-toolbar nav a.active,.category-scene-link i,.product-mosaic-dark .mosaic-arrow{color:var(--on-primary)}
.news-categories a.active,.category-scene-link i,.product-mosaic-dark .mosaic-arrow,.category-count{background:var(--primary)}
:is(.hero-slide,.service-bento-0,.service-showcase-photo,.service-showcase-operations,.product-mosaic-card:not(.product-mosaic-caption):not(.product-mosaic-lounge),.project-gallery-card,.project-story,.inner-cover,.corporate-cover.has-image,.service-cover,.project-catalog-cover.has-image) :is(.hero-copy,.showcase-copy,.service-copy,.product-mosaic-copy,.project-gallery-caption,.project-story-caption,.cover-copy,.corporate-cover-copy,.service-cover-copy){color:#fff}
.hero-copy :is(h1,h2,p),.service-bento-0 :is(h3,p,.service-number),.service-showcase-photo .showcase-copy :is(h3,p),.service-showcase-operations .showcase-copy :is(h3,p),.product-mosaic-card:not(.product-mosaic-caption):not(.product-mosaic-lounge) .product-mosaic-copy :is(h3,p,.eyebrow),.project-gallery-card .project-gallery-caption :is(h3,p,small),.inner-cover .cover-copy :is(h1,p),.project-story-caption :is(h3,p){color:#fff}
.hero-slide:after{background:linear-gradient(90deg,rgba(0,0,0,.65),rgba(0,0,0,.12))}.service-showcase-photo .showcase-art:after{background:linear-gradient(transparent 12%,rgba(0,0,0,.88))}.service-bento-0 .service-bento-photo:after{background:linear-gradient(0deg,rgba(0,0,0,.9),transparent 95%)}.product-mosaic-card:not(.product-mosaic-caption):not(.product-mosaic-lounge)>a:after{background:linear-gradient(transparent 35%,rgba(0,0,0,.78))}.product-mosaic-dark>a:after{background:linear-gradient(rgba(0,0,0,.82),transparent 85%)}
.product-mosaic-caption .product-mosaic-copy,.product-mosaic-lounge .product-mosaic-copy,.project-gallery-caption,.testimonial-author,.testimonial-layer:nth-child(2) .testimonial-author,.team-showcase-caption,.article-category-box,.article-related{color:var(--ink)}
.testimonial-layer:nth-child(2) .testimonial-author :is(b,span){color:var(--ink)}
.product-mosaic-caption .product-mosaic-copy h3,.product-mosaic-lounge .product-mosaic-copy h3{color:var(--ink)}
.hero-contact{background:color-mix(in srgb,var(--secondary) 92%,transparent);color:var(--on-secondary)}.hero-contact b,.hero-contact small{color:inherit}.hero-contact small{opacity:.85}
.hero-controls button,.hero-chapters button.active,.hero-copy .eyebrow,.contact-icon,.showcase-pill,.service-action,.mosaic-arrow,.news-spotlight .news-card-bottom>i{color:var(--ink)}
.hero-copy .eyebrow{background:rgba(0,0,0,.45);color:#fff}.hero-chapters button:not(.active){background:rgba(0,0,0,.65);color:#fff}.hero-chapters button:not(.active) :is(small,b){color:#fff}
.site-header.over-hero{color:#fff}.site-header.over-hero .brand small{color:inherit}
:is(.page-news,.page-dealers,.page-project-categories,.page-product-categories,.page-media,.page-catalogs) .site-header.over-hero,.page-contact:has(.contact-modern) .site-header.over-hero,.page-detail:has(.article-page,.product-detail,.project-detail,.service-detail,.corporate-cover,.media-detail,.catalog-reader-page) .site-header.over-hero{color:var(--on-secondary)}
.submenu,.mega-panel{color:var(--ink)}.mega-category-tabs a.active,.dealer-kind-filters button.active,.dealer-quick-cities button.active,.corporate-subnav a[aria-current],.service-nav a[aria-current]{color:var(--on-secondary)}
.pill.sage,.pill.light,.showcase-pill,.contact-whatsapp{color:var(--ink)}.pill.sage{color:var(--on-primary)}.pill.dark{color:var(--on-secondary)}
/* Foregrounds inside nested light panels must not inherit a dark card's text. */
:is(.testimonial-author,.team-showcase-caption,.project-category-copy,.project-gallery-caption,.contact-hours,.contact-map-card,.news-lead .news-copy,.mega-content-card) :is(h2,h3,b,strong){color:inherit}
.faq-list details{background:var(--surface);box-shadow:0 10px 28px rgba(0,0,0,.04);border:0;border-radius:17px;padding:22px 25px;margin-bottom:13px}.faq-list summary{color:var(--ink);font-weight:650;line-height:1.5}.faq-list details>p{color:var(--ink);line-height:1.8}.faq-list details[open]{background:var(--primary-soft)}
.project-gallery-card:first-child .project-gallery-caption,.project-gallery-card:first-child .project-gallery-caption :is(h3,p,small,.eyebrow){color:var(--ink)}.project-gallery-card:nth-child(2)>a:after{background:linear-gradient(transparent 35%,rgba(0,0,0,.88))}.project-gallery-card:nth-child(2) .project-gallery-caption,.project-gallery-card:nth-child(2) .project-gallery-caption :is(h3,p,small,.eyebrow){color:#fff}.project-gallery-card:nth-child(3) .project-gallery-caption,.project-gallery-card:nth-child(3) .project-gallery-caption :is(h3,p,small,.eyebrow){color:var(--on-secondary)}.category-scene.scene-1 :is(h2,p,small){color:var(--on-secondary)}
