/* DNwide's exact palette tokens. Artwork, photography, video and canvas colors are untouched. */
@property --ht-bg{syntax:'<color>';inherits:true;initial-value:#eef3f6}
@property --ht-surface{syntax:'<color>';inherits:true;initial-value:#e3ebf1}
@property --ht-card{syntax:'<color>';inherits:true;initial-value:#f6f9fb}
@property --ht-ink{syntax:'<color>';inherits:true;initial-value:#172c38}
@property --ht-muted{syntax:'<color>';inherits:true;initial-value:#486474}
@property --ht-line{syntax:'<color>';inherits:true;initial-value:#9eb5c077}
@property --ht-accent{syntax:'<color>';inherits:true;initial-value:#476e83}
@property --ht-deep{syntax:'<color>';inherits:true;initial-value:#102c3b}
@property --ht-dark{syntax:'<color>';inherits:true;initial-value:#07151e}
@property --ht-light{syntax:'<color>';inherits:true;initial-value:#edf7fa}
@property --ht-glow{syntax:'<color>';inherits:true;initial-value:#c0b1eb}
html[data-dn-theme]{--ht-bg:#eef3f6;--ht-surface:#e3ebf1;--ht-card:#f6f9fb;--ht-ink:#172c38;--ht-muted:#486474;--ht-line:#9eb5c077;--ht-accent:#476e83;--ht-deep:#102c3b;--ht-dark:#07151e;--ht-light:#edf7fa;--ht-glow:#c0b1eb;--ht-signal-grid:transparent;color-scheme:light;transition:--ht-bg .4s ease,--ht-surface .4s ease,--ht-card .4s ease,--ht-ink .4s ease,--ht-muted .4s ease,--ht-line .4s ease,--ht-accent .4s ease,--ht-deep .4s ease,--ht-dark .4s ease,--ht-light .4s ease,--ht-glow .4s ease}
html[data-dn-theme=violet]{--ht-bg:#e9e0f2;--ht-surface:#d8cae8;--ht-card:#f3edf8;--ht-ink:#30213f;--ht-muted:#645071;--ht-line:#9676b077;--ht-accent:#794b9f;--ht-deep:#392047;--ht-dark:#170d24;--ht-glow:#b79ee2}
html[data-dn-theme=ice]{--ht-bg:#e2f0f2;--ht-surface:#cce4e9;--ht-card:#f0fafb;--ht-ink:#153740;--ht-muted:#406c78;--ht-line:#6eacb777;--ht-accent:#286f85;--ht-deep:#154858;--ht-dark:#061f2c;--ht-glow:#a4cfdf}
html[data-dn-theme=signal]{--ht-bg:#080808;--ht-surface:#161718;--ht-card:#202122;--ht-ink:#E7E6E1;--ht-muted:#a5a7a7;--ht-line:#8C8F8F66;--ht-accent:#F26800;--ht-deep:#161718;--ht-dark:#080808;--ht-light:#E7E6E1;--ht-glow:#F2680026;--ht-signal-grid:#8c8f8f0c;color-scheme:dark}
html:not(.theme-ready)[data-dn-theme]{transition:none!important}
html[data-dn-theme] body.signal-system{--ss-bg:var(--ht-bg);--ss-surface:var(--ht-surface);--ss-ink:var(--ht-ink);--ss-muted:var(--ht-muted);--ss-line:var(--ht-line);--ss-accent:var(--ht-accent);--paper:var(--ht-bg);--ink:var(--ht-ink);--dark:var(--ht-dark);--muted:var(--ht-muted);--line:var(--ht-line);--orange:var(--ht-accent);--signal:var(--ht-accent);--atelier-paper:var(--ht-bg);--atelier-ink:var(--ht-ink);--atelier-gold:var(--ht-accent);--atelier-rule:var(--ht-line);background:var(--ht-bg);color:var(--ht-ink)}

/* The header retains the original white/orange DN signature on a palette-matched deep surface. */
html[data-dn-theme] body.signal-system .dn-header{background:color-mix(in srgb,var(--ht-deep) 96%,transparent);color:var(--ht-light);border-color:var(--ht-line)}
html[data-dn-theme] body.signal-system .dn-header .brand{color:#e7e6e1}
html[data-dn-theme] body.signal-system .dn-header .brand-symbol>span{color:#f26800}
html[data-dn-theme] body.signal-system .dn-header :is(.dn-primary-nav>a,.dn-services-toggle){color:var(--ht-light)}
html[data-dn-theme] body.signal-system .dn-header :is(.dn-primary-nav>a,.dn-services-toggle):hover{color:var(--ht-light)}
html[data-dn-theme] body.signal-system .dn-header .menu-toggle>span{background:currentColor}
/* Override the earlier editorial skin's important mobile-menu paint as well
   as its normal desktop paint; text and surface must change together. */
html[data-dn-theme] body.signal-system :is(.dn-services-panel,.dn-header .dn-mobile-nav:not([hidden])){background:var(--ht-card)!important;color:var(--ht-ink);border-color:var(--ht-line)}
html[data-dn-theme] body.signal-system :is(.dn-nav-eyebrow,.dn-nav-arrow,.dn-service-link:hover,.dn-service-link[aria-current=page],.dn-all-services>span,.dn-mobile-all>span){color:var(--ht-accent)}
html[data-dn-theme] body.signal-system :is(.dn-services-intro>span:last-child,.dn-nav-index,.dn-mobile-signoff){color:var(--ht-muted)}
html[data-dn-theme] body.signal-system :is(.dn-service-link,.dn-mobile-service-link,.dn-mobile-main-link,.dn-all-services,.dn-mobile-all){color:var(--ht-ink);border-color:var(--ht-line)}
html[data-dn-theme] body.signal-system .dn-header .dn-mobile-nav :is(a,button){color:var(--ht-ink)}
html[data-dn-theme] body.signal-system .dn-mobile-services{border-color:var(--ht-line)}
html[data-dn-theme] body.signal-system .dn-header :is(a,button):focus-visible{outline-color:var(--ht-accent)}

/* Reuse glass geometry and interaction states while changing only its material colors. */
html[data-dn-theme] body :is(button,a.detail-button,a.form-submit,a.svs-project,a.bc-project-link,a.company-cinema-visit,a[role=button]){--glass-button-ink:var(--ht-ink);--glass-button-border:var(--ht-line);--glass-button-surface:radial-gradient(130% 120% at 8% 0%,#ffffff66,transparent 43%),linear-gradient(135deg,var(--ht-card),var(--ht-surface));--glass-button-hover:radial-gradient(130% 120% at 8% 0%,#ffffff88,transparent 43%),linear-gradient(135deg,var(--ht-card),color-mix(in srgb,var(--ht-accent) 20%,var(--ht-surface)));--glass-button-shadow:0 12px 28px color-mix(in srgb,var(--ht-dark) 16%,transparent),inset 0 1px 0 #ffffff5c,inset 0 -1px 0 color-mix(in srgb,var(--ht-deep) 15%,transparent);--glass-button-hover-shadow:0 16px 34px color-mix(in srgb,var(--ht-dark) 24%,transparent),inset 0 1px 0 #ffffff80;--glass-button-focus:var(--ht-accent)}
html[data-dn-theme] body :is(button,a.detail-button,a.form-submit,a.svs-project,a.bc-project-link,a.company-cinema-visit,a[role=button]):is([aria-pressed=true],[aria-expanded=true]){--glass-button-ink:var(--ht-light);--glass-button-border:var(--ht-deep);--glass-button-surface:radial-gradient(130% 120% at 8% 0%,#ffffff2e,transparent 43%),linear-gradient(135deg,var(--ht-deep),var(--ht-dark));--glass-button-hover:linear-gradient(135deg,var(--ht-accent),var(--ht-deep))}
html[data-dn-theme=signal] body :is(button,a.detail-button,a.form-submit,a.svs-project,a.bc-project-link,a.company-cinema-visit,a[role=button]){--glass-button-surface:radial-gradient(130% 120% at 8% 0%,#ffffff28,transparent 43%),linear-gradient(135deg,var(--ht-card),var(--ht-surface));--glass-button-hover:radial-gradient(130% 120% at 8% 0%,#ffffff38,transparent 43%),linear-gradient(135deg,var(--ht-card),color-mix(in srgb,var(--ht-accent) 32%,var(--ht-surface)))}
html[data-dn-theme=signal] body :is(button,a.detail-button,a.form-submit,a.svs-project,a.bc-project-link,a.company-cinema-visit,a[role=button]):is([aria-pressed=true],[aria-expanded=true]){--glass-button-ink:var(--ht-light);--glass-button-border:var(--ht-accent);--glass-button-surface:linear-gradient(135deg,var(--ht-card),color-mix(in srgb,var(--ht-accent) 22%,var(--ht-dark)))}

/* Cinematic opening: keep a dark stage and high-contrast type, as on DNwide. */
html[data-dn-theme] body.home-page .hero-signal{--hs-bg:var(--ht-dark);--hs-ink:var(--ht-light);--hs-muted:color-mix(in srgb,var(--ht-light) 75%,var(--ht-dark));--hs-line:color-mix(in srgb,var(--ht-light) 24%,transparent);--hs-orange:var(--ht-accent);background:var(--ht-dark);color:var(--ht-light)}
html[data-dn-theme] body.home-page .hero-signal .world-hero{background:radial-gradient(ellipse at 77% 38%,var(--ht-deep),var(--ht-dark) 74%);color:var(--ht-light)}
html[data-dn-theme] body .hero-signal[data-hero-surface=light]{--hs-ink:var(--ht-light);--hs-muted:color-mix(in srgb,var(--ht-light) 75%,var(--ht-dark));--hs-line:color-mix(in srgb,var(--ht-light) 24%,transparent)}
html[data-dn-theme] body .hero-signal :is(.hero-signal-scenes,.hero-signal-topline,.hero-signal-controls){mix-blend-mode:normal}
html[data-dn-theme] body .hero-signal .hero-signal-panel :is(h1,h2,h1>small){color:var(--ht-light)}
html[data-dn-theme] body .hero-signal .hero-signal-panel :is(h1,h2)>span{color:var(--ht-light)}
html[data-dn-theme] body .hero-signal .hero-signal-panel :is(h1,h2) em{color:color-mix(in srgb,var(--ht-glow) 65%,var(--ht-light))}
html[data-dn-theme] body .hero-signal :is(.hero-signal-copy,.hero-signal-kicker){color:color-mix(in srgb,var(--ht-light) 80%,var(--ht-dark))}
html[data-dn-theme] body .hero-signal .hero-scroll-aperture{background:var(--ht-deep)}
html[data-dn-theme] body .hero-signal-grid{background-image:linear-gradient(var(--hs-line) 1px,transparent 1px),linear-gradient(90deg,var(--hs-line) 1px,transparent 1px);opacity:.3}
html[data-dn-theme] body :is(.hero-signal-form>i,.hero-signal-world>i){border-color:var(--hs-line)}
html[data-dn-theme] body .hero-signal-form>i:before,html[data-dn-theme] body .hero-signal-form>i:after{border-color:var(--hs-line)}
html[data-dn-theme] body :is(.hero-orbit-coordinate,.hero-signal-form>b,.hero-signal-world>span){color:color-mix(in srgb,var(--ht-light) 65%,var(--ht-dark))}
html[data-dn-theme] body .hero-signal-art :is(.hero-signal-orbit,.hero-signal-wave,.hero-signal-form,.hero-signal-world){color:color-mix(in srgb,var(--ht-accent) 65%,var(--ht-light))}
html[data-dn-theme] body .hero-signal-art [stroke="#f26800"]{stroke:var(--ht-accent)}
html[data-dn-theme] body .hero-signal-art [fill="#f26800"]{fill:var(--ht-accent)}

/* Statement and brand-story scene geometry remains untouched. */
html[data-dn-theme] body .agency-story{background:var(--ht-bg);color:var(--ht-ink)}
html[data-dn-theme] body .agency-story .agency-story-stage{background:radial-gradient(ellipse at 82% 45%,color-mix(in srgb,var(--ht-glow) 20%,transparent),transparent 55%),var(--ht-bg)}
html[data-dn-theme] body .agency-story.as-enhanced[data-agency-scene] .agency-story-stage{background:radial-gradient(ellipse at 72% 48%,color-mix(in srgb,var(--ht-glow) 20%,transparent),transparent 58%),var(--ht-bg)}
html[data-dn-theme] body .agency-story-stage:before{background-image:linear-gradient(var(--ht-line) 1px,transparent 1px),linear-gradient(90deg,var(--ht-line) 1px,transparent 1px);opacity:.16}
html[data-dn-theme] body .agency-story :is(.agency-statement,.agency-story-proof strong){color:var(--ht-ink)}
html[data-dn-theme] body .agency-story :is(.agency-statement em,.agency-story-label,.agency-story-proof li>span,.agency-story-controls nav>a>span){color:var(--ht-accent)}
html[data-dn-theme] body .agency-story :is(.agency-story-topline,.agency-story-caption,.agency-story-proof p,.agency-story-bottom,.agency-story-controls nav>a){color:var(--ht-muted);border-color:var(--ht-line)}
html[data-dn-theme] body .agency-story :is(.agency-story-actions a,.agency-story-bottom>a){color:var(--ht-ink);border-color:var(--ht-line)}
html[data-dn-theme] body .agency-story :is(.agency-story-actions :is(a,button)>span,.agency-story-bottom>a>span){color:var(--ht-accent)}
html[data-dn-theme] body .agency-story-progress{background:var(--ht-line)}
html[data-dn-theme] body .agency-story-progress>i{background:var(--ht-accent)}
html[data-dn-theme] body .agency-story :is(.agency-story-controls nav,.agency-story-proof li,.agency-story-controls nav>a){border-color:var(--ht-line)}
html[data-dn-theme] body .agency-story .agency-story-controls nav>a[aria-current=step]{color:var(--ht-ink);border-color:var(--ht-accent)}
html[data-dn-theme] body .agency-story-watermark{color:color-mix(in srgb,var(--ht-ink) 4%,transparent)}
html[data-dn-theme] body .agency-story-topline>span:before{background:var(--ht-accent)}
html[data-dn-theme] body :is(.brand-cinema,.brand-cinema.bc-enhanced[data-bc-chapter]){--bc-ink:var(--ht-ink);--bc-muted:var(--ht-muted);--bc-gold:var(--ht-accent);--bc-line:var(--ht-line);background:var(--ht-bg);color:var(--ht-ink)}
html[data-dn-theme] body .brand-cinema :is(.bc-panel,.bc-panel[data-bc-panel]){--bc-ink:var(--ht-ink);--bc-muted:var(--ht-muted);--bc-gold:var(--ht-accent);--bc-line:var(--ht-line);background:var(--ht-bg);color:var(--ht-ink)}
html[data-dn-theme] body .brand-cinema :is(.bc-topbar,.bc-controls){background:var(--ht-bg);color:var(--ht-ink)}
html[data-dn-theme] body .brand-cinema.bc-enhanced :is(.bc-topbar,.bc-controls){background:transparent}
html[data-dn-theme] body .brand-cinema :is(.bc-control-meta,.bc-system-label,.bc-topbar>a){color:var(--ht-muted)}
html[data-dn-theme] body .brand-cinema :is(.bc-controls nav>a>span,.bc-project-link>span){color:var(--ht-accent)}
html[data-dn-theme] body .brand-cinema .bc-progress>i,html[data-dn-theme] body .brand-cinema .bc-topbar>span:before{background:var(--ht-accent)}
html[data-dn-theme] body .brand-cinema .bc-controls nav>a[aria-current=step]{border-color:var(--ht-accent)}
html[data-dn-theme] body .brand-cinema .bc-panel:before{background-image:linear-gradient(var(--ht-line) 1px,transparent 1px),linear-gradient(90deg,var(--ht-line) 1px,transparent 1px);opacity:.2}
html[data-dn-theme] body .brand-cinema.bc-enhanced .bc-scene-art:after{background:linear-gradient(90deg,color-mix(in srgb,var(--ht-bg) 45%,transparent),transparent 60%,color-mix(in srgb,var(--ht-bg) 20%,transparent))}

/* Current capability index. */
html[data-dn-theme] body .cap-index{--cap-bg:var(--ht-bg);--cap-ink:var(--ht-ink);--cap-muted:var(--ht-muted);--cap-line:var(--ht-line);--cap-orange:var(--ht-accent)}
html[data-dn-theme] body .cap-index:before{background:radial-gradient(ellipse at 0 35%,color-mix(in srgb,var(--ht-glow) 15%,transparent),transparent 45%)}
html[data-dn-theme] body .cap-index :is(.cap-index-thesis em,.cap-index-counter>div,.cap-row-view){color:var(--ht-accent)}
html[data-dn-theme] body .cap-index :is(.cap-row-copy h3,.cap-row-copy>ul){color:var(--ht-ink)}
html[data-dn-theme] body .cap-index .cap-row-copy>ul>li:before{background:var(--ht-accent)}
html[data-dn-theme] body .cap-index-row:before{background:linear-gradient(100deg,color-mix(in srgb,var(--ht-accent) 10%,transparent),transparent 80%)}
html[data-dn-theme] body .cap-row-arrow{color:var(--ht-ink);border-color:var(--ht-line);background:radial-gradient(130% 120% at 8% 0%,#ffffff50,transparent 45%),linear-gradient(135deg,var(--ht-card),var(--ht-surface));box-shadow:0 12px 24px color-mix(in srgb,var(--ht-dark) 13%,transparent),inset 0 1px 0 #ffffff40}
html[data-dn-theme] body .cap-index-handoff>a{color:var(--ht-ink)}

/* Compact contact, ordinary service reading pages, cards, forms and 404. */
html[data-dn-theme] body.signal-system.home-page :is(.opening-statement,.work-intro,.begin-world){background:var(--ht-bg);color:var(--ht-ink)}
html[data-dn-theme] body.signal-system.home-page .begin-world{background:var(--ht-surface)}
html[data-dn-theme] body.signal-system.home-page :is(.opening-bottom p,.work-intro>p:last-child,.contact-compact .begin-bottom p){color:var(--ht-muted)}
html[data-dn-theme] body.signal-system.home-page :is(.chapter-kicker,.opening-statement h2 em,.work-intro h2 em,.begin-world h2 em,.begin-bottom a,.cross-mark){color:var(--ht-accent)}
html[data-dn-theme] body.signal-system.home-page :is(.opening-bottom,.begin-bottom,.contact-compact .begin-bottom){border-color:var(--ht-line)}
html[data-dn-theme] body.signal-system.home-page .contact-orb{color:color-mix(in srgb,var(--ht-accent) 12%,transparent)}
html[data-dn-theme] body.signal-system.home-page .contact-signal-rail{color:var(--ht-accent)}
html[data-dn-theme] body.signal-system.home-page .contact-signal-rail i{background:var(--ht-line)}
html[data-dn-theme] body.signal-system.home-page .contact-signal-rail i:after{background:var(--ht-accent)}
html[data-dn-theme] body.signal-system:is(.service-detail,.not-found-page) :is(.detail-breadcrumb,.detail-hero,.detail-jump,.detail-deliverables,.detail-examples,.detail-process,.detail-questions,.related-section,.group-handoff,.error-page){background:var(--ht-bg);color:var(--ht-ink);border-color:var(--ht-line)}
html[data-dn-theme] body.signal-system:is(.service-detail,.not-found-page) :is(.detail-contact,.detail-process,.group-handoff){background:var(--ht-surface);color:var(--ht-ink)}
html[data-dn-theme] body.signal-system:is(.service-detail,.not-found-page) :is(.detail-hero h1,.detail-hero h1>span,.detail-hero-copy,.best-for li,.faq-list summary,.deliverable-grid h3,.process-grid h3,.related-grid h2,.identity-feature h3){color:var(--ht-ink)}
html[data-dn-theme] body.signal-system:is(.service-detail,.not-found-page) :is(.detail-hero-copy>p,.detail-section-intro>p,.deliverable-grid p,.process-grid p,.faq-list details>p,.group-alignment-intro p,.example-caption,.example-inclusions,.website-work-info>p,.detail-contact-note,.detail-contact>div:nth-child(2)>div>p,.identity-feature p,.service-promise,.best-for h2){color:var(--ht-muted)}
html[data-dn-theme] body.signal-system:is(.service-detail,.not-found-page) :is(.section-label,.microcopy,.detail-jump>.microcopy,.process-grid article>span,.deliverable-grid article>.microcopy,.detail-breadcrumb>span:last-child,.faq-list summary>span,.related-grid>a>span:last-child,.error-code){color:var(--ht-accent)}
html[data-dn-theme] body.signal-system:is(.service-detail,.not-found-page) :is(.best-for,.best-for li,.process-grid article,.deliverable-grid article,.faq-list details,.related-grid>a,.website-work,.identity-feature-scope,.detail-email){border-color:var(--ht-line)}
html[data-dn-theme] body.signal-system:is(.service-detail,.not-found-page) :is(.deliverable-grid article,.related-grid>a,.strategy-art,.calendar-art,.governance-art,.message-art,.storyboard-art,.sample-email){background:var(--ht-card);color:var(--ht-ink);border-color:var(--ht-line)}
html[data-dn-theme] body.signal-system:is(.service-detail,.not-found-page) :is(.deliverable-grid article:hover,.related-grid>a:hover){background:var(--ht-surface);border-color:var(--ht-accent)}
html[data-dn-theme] body.signal-system:is(.service-detail,.not-found-page) :is(.detail-jump a,.detail-breadcrumb a,.detail-email,.editorial-link,.identity-feature .editorial-link,.error-actions .editorial-link){color:var(--ht-ink)}
html[data-dn-theme] body.signal-system:is(.service-detail,.not-found-page) :is(.detail-jump a:hover,.detail-breadcrumb a:hover){color:var(--ht-accent)}
html[data-dn-theme] body.signal-system:is(.service-detail,.not-found-page) .identity-feature{background:var(--ht-surface);color:var(--ht-ink);border-color:var(--ht-line)}
html[data-dn-theme] body.signal-system .small-square,html[data-dn-theme] body.signal-system .status-dot{background:var(--ht-accent)}
html[data-dn-theme] body.signal-system .error-page h1 em{color:var(--ht-accent)}
html[data-dn-theme] body.signal-system .service-signal{--svs-bg:var(--ht-dark);--svs-ink:var(--ht-light);--svs-muted:color-mix(in srgb,var(--ht-light) 75%,var(--ht-dark));--svs-line:var(--ht-line);--svs-orange:var(--ht-accent);background:var(--ht-dark);color:var(--ht-light)}
html[data-dn-theme] body.signal-system .service-signal .svs-stage{background:radial-gradient(ellipse at 77% 38%,var(--ht-deep),var(--ht-dark) 74%);color:var(--ht-light)}
html[data-dn-theme] body .service-signal .svs-panel :is(h1,h2){color:var(--ht-light)}
html[data-dn-theme] body .service-signal .svs-panel :is(h1,h2)>span{color:var(--ht-light)}
html[data-dn-theme] body .service-signal .svs-panel :is(h1,h2) em{color:color-mix(in srgb,var(--ht-glow) 65%,var(--ht-light))}
html[data-dn-theme] body .service-signal :is(.svs-lead,.svs-points>li>b,.svs-note){color:color-mix(in srgb,var(--ht-light) 80%,var(--ht-dark))}
html[data-dn-theme] body.signal-system .service-signal-context{background:var(--ht-surface);color:var(--ht-ink);border-color:var(--ht-line)}
html[data-dn-theme] body.signal-system .service-signal-context :is(p,.svs-context-fit li){color:var(--ht-muted);border-color:var(--ht-line)}
html[data-dn-theme] body.signal-system .service-signal-context :is(h2,h3,.editorial-link){color:var(--ht-ink)}
html[data-dn-theme] body.signal-system #brief-dialog{background:var(--ht-card);color:var(--ht-ink);border-color:var(--ht-line)}
html[data-dn-theme] body.signal-system #brief-dialog :is(input,select,textarea){background:var(--ht-bg);color:var(--ht-ink);border-color:var(--ht-line)}
html[data-dn-theme] body.signal-system #brief-dialog :is(.dialog-intro,.form-note,label,.microcopy){color:var(--ht-muted)}
html[data-dn-theme] body.signal-system #brief-dialog input::placeholder,html[data-dn-theme] body.signal-system #brief-dialog textarea::placeholder{color:var(--ht-muted);opacity:1}
html[data-dn-theme] body.signal-system [data-signal-section] .signal-section-code{color:var(--ht-accent);border-color:var(--ht-line)}

/* Portfolio reading surfaces change palette; the supplied botanical artwork and swatches do not. */
html[data-dn-theme] body.portfolio-detail .identity-project{--pi-bg:var(--ht-bg);--pi-ink:var(--ht-ink);--pi-muted:var(--ht-muted);--pi-line:var(--ht-line);background:var(--ht-bg);color:var(--ht-ink)}
html[data-dn-theme] body.portfolio-detail .identity-project :is(.identity-intro,.identity-gallery-heading,.portfolio-gallery-scene,.identity-symbol-section,.identity-kit-section,.identity-project-cta){background:var(--ht-bg);color:var(--ht-ink);border-color:var(--ht-line)}
html[data-dn-theme] body.portfolio-detail .identity-project :is(.identity-symbol-section,.identity-project-cta){background:var(--ht-surface)}
html[data-dn-theme] body.portfolio-detail .identity-project :is(.identity-intro-grid h1,.identity-gallery-heading h2,.identity-section-heading h2,.identity-project-cta h2,.identity-palette b,.identity-figure figcaption>a,.identity-facts dd){color:var(--ht-ink)}
html[data-dn-theme] body.portfolio-detail .identity-project h1>span{color:inherit}
html[data-dn-theme] body.portfolio-detail .identity-project :is(.identity-intro-grid h1 em,.identity-gallery-heading h2 em,.identity-section-heading h2 em,.identity-project-cta h2 em,.identity-intro>.section-label,.identity-section-heading .microcopy,.identity-figure figcaption .microcopy){color:var(--ht-accent)}
html[data-dn-theme] body.portfolio-detail .identity-project :is(.identity-intro-grid p,.identity-gallery-heading>p,.identity-section-heading p,.identity-project-cta p,.identity-figure figcaption p,.identity-palette code,.identity-facts dt){color:var(--ht-muted)}
html[data-dn-theme] body.portfolio-detail .identity-project :is(.identity-facts,.identity-kit-section .identity-palette,.identity-figure figcaption,.identity-project-cta .editorial-link){border-color:var(--ht-line)}
html[data-dn-theme] body.portfolio-detail .identity-project :is(.identity-gallery-links>a,.identity-intro-grid .editorial-link,.identity-project-cta .editorial-link){color:var(--ht-ink)}
html[data-dn-theme] body.portfolio-detail #identity-story,html[data-dn-theme] body.portfolio-detail #identity-story[data-story-phase]{--story-bg:var(--ht-bg);--story-ink:var(--ht-ink);--story-muted:var(--ht-muted);--story-line:var(--ht-line);background:var(--ht-bg);color:var(--ht-ink)}
html[data-dn-theme] body.portfolio-detail #identity-story :is(.identity-story-stage,.story-controls){background:var(--ht-bg);color:var(--ht-ink);border-color:var(--ht-line)}
html[data-dn-theme] body.portfolio-detail #identity-story.identity-story-enhanced .story-controls{background:transparent}
html[data-dn-theme] body.portfolio-detail #identity-story .story-panel-copy h3{color:var(--ht-ink)}
html[data-dn-theme] body.portfolio-detail #identity-story .story-panel-copy h3 em{color:var(--ht-accent)}
html[data-dn-theme] body.portfolio-detail #identity-story :is(.story-panel-copy p,.story-controls nav>a,.story-kicker){color:var(--ht-muted)}
html[data-dn-theme] body.portfolio-detail #identity-story :is(.story-panel-copy>a,.story-controls nav>a[aria-current=step]){color:var(--ht-ink);border-color:var(--ht-accent)}
html[data-dn-theme] body.portfolio-detail :is(.portfolio-system-line,.story-topbar){color:var(--ht-muted);border-color:var(--ht-line)}

/* Dark palette-related footer keeps the original gold particle signature readable. */
html[data-dn-theme] body.signal-system .site-footer{background:var(--ht-dark);color:var(--ht-light);border-color:var(--ht-line)}
html[data-dn-theme] body.signal-system .site-footer .footer-brand{color:#e7e6e1}
html[data-dn-theme] body.signal-system .site-footer .footer-brand>span{color:#f26800}
html[data-dn-theme] body.signal-system .atelier-footer-art{background:radial-gradient(ellipse at 50% 50%,var(--ht-deep),var(--ht-dark) 75%);border-color:var(--ht-line)}
html[data-dn-theme] body.signal-system :is(.footer-contact,.footer-group,.footer-services,.footer-bottom,.footer-areas){border-color:var(--ht-line)}
html[data-dn-theme] body.signal-system .site-footer :is(.footer-contact a,.footer-group a,.footer-services a,.footer-bottom a){color:var(--ht-light)}
html[data-dn-theme] body.signal-system .site-footer :is(.footer-contact>span,.footer-bottom,.footer-services>.microcopy,.atelier-footer-topline,.atelier-footer-instruments p,.footer-areas){color:color-mix(in srgb,var(--ht-light) 75%,var(--ht-dark))}
html[data-dn-theme] body.signal-system .site-footer :is(.footer-areas>span,.footer-group a:hover,.footer-services a:hover){color:color-mix(in srgb,var(--ht-glow) 65%,var(--ht-light))}
html[data-dn-theme] body.signal-system .site-footer .atelier-footer-topline:before{background:var(--ht-accent)}

@media(prefers-reduced-motion:reduce){html[data-dn-theme]{transition:none}}
html.motion-off[data-dn-theme]{transition:none}
@media(forced-colors:active){
 html[data-dn-theme]{--ht-bg:Canvas;--ht-surface:Canvas;--ht-card:Canvas;--ht-ink:CanvasText;--ht-muted:CanvasText;--ht-line:ButtonText;--ht-accent:LinkText;--ht-deep:Canvas;--ht-dark:Canvas;--ht-light:CanvasText;--ht-glow:Canvas;transition:none}
 html[data-dn-theme] body.signal-system :is(.dn-header,.site-footer,.hero-signal .world-hero,.service-signal .svs-stage,.agency-story .agency-story-stage,.atelier-footer-art){background:Canvas;color:CanvasText}
 html[data-dn-theme] body.signal-system :is(.hero-signal-grid,.agency-story-stage:before,.brand-cinema .bc-panel:before){background-image:none}
}

/* Footer labels sit on the dark footer in every theme; keep them readable. */
html[data-dn-theme] body.signal-system .site-footer .footer-services>.microcopy{color:color-mix(in srgb,var(--ht-light) 75%,var(--ht-dark))!important}
/* Illustrative campaign sample labels need AA contrast on their paper tones. */
html[data-dn-theme] body .campaign-art .sample-masthead{color:#3d2f19!important}
html[data-dn-theme] body .campaign-art .microcopy{color:#2f4a58!important}

/* 2026-11-19 accessibility pass: AA contrast fixes found with axe in all four themes. */
html[data-dn-theme=ice]{--ht-muted:#365c67}
html[data-dn-theme=violet]{--ht-accent:#6c3f91}
html[data-dn-theme=ice] body .brand-name>span{color:#d2dde0}
html[data-dn-theme] body #selected-work{background:#111513;color:#eef1ec}
html[data-dn-theme] body #selected-work :is(h2,h3,p,a,span){color:inherit!important}
html[data-dn-theme] body #selected-work :is(.chapter-kicker,.selected-work-kicker){color:#b9c2bc!important}
html[data-dn-theme] body .site-footer .footer-areas>span{color:#a8a39b!important}
html[data-dn-theme=ice]{--ht-accent:#21606f}
html[data-dn-theme]:not([data-dn-theme=signal]) body.service-detail :is(.eyebrow,#detail-title>span){color:#5e4420!important}
html[data-dn-theme=signal] body .strategy-art :is(.sample-masthead,dt){color:#c7a677!important}
html[data-dn-theme=signal] body .campaign-art .sample-social>strong{color:#080808!important}
