/* SiteComms theme layer. Loaded last. Two jobs:
   1. the V4 theme switch (.th-sw), the same component as site-programs-v4 and site-productions-v1;
   2. the dark theme, scoped to html[data-theme-eff="dark"] (set before first paint by the head
      script, kept in step by js/site.js). Light mode is untouched by everything in part 2.
   Dark palette = the V4 / SiteProductions surface steps:
     d-0 #0f1a1f page   d-1 #16242b cards, pill   d-2 #1d2e36 dark blocks   d-3 #24383f cards on dark blocks
     ink #fff   lead rgba(255,255,255,.62)   mute rgba(255,255,255,.58)   hair rgba(255,255,255,.14)
   Primary buttons turn white with dark type (V4 .cp). Orange #00A5A1 is unchanged.
   Photos and video are never filtered; black-on-clear client logos are inverted to white at
   the same optical weight (V4 --logo-invert). */

/* ======================= 1. switch (V4 .th-sw, verbatim sizes and motion) ======================= */
.th-sw{position:relative;display:none;align-items:center;width:44px;height:25px;padding:0;border:0;border-radius:13px;background:#ffffff;cursor:pointer;flex:0 0 auto;-webkit-tap-highlight-color:transparent;transition:background-color var(--t-base) var(--e-out)}
.th-knob{position:absolute;left:6.6px;top:50%;width:12px;height:12px;margin-top:-6px;border-radius:50%;background:#000000;transition:transform 320ms cubic-bezier(.34,1.3,.64,1),background-color var(--t-base) var(--e-out)}
html[data-theme-eff="dark"] .th-knob{transform:translateX(18.6px)}
.th-sw:focus-visible{outline:2px solid #000000;outline-offset:3px}
/* the switch is a 44 x 25 control; its hit area reaches 44 x 44 without changing its size */
.th-sw::after{content:"";position:absolute;left:0;right:0;top:50%;height:44px;transform:translateY(-50%)}
/* desktop: inside the header pill, at its left end, shown only while the menu is open
   (the nav links fade out to make room) — V4 */
@media (min-width:900px){
  .pill>#themeBtn{position:absolute;left:17px;top:50%;margin-top:-12.5px;display:inline-flex;opacity:0;visibility:hidden;pointer-events:none;transition:opacity var(--t-base) var(--e-out),visibility 0s linear var(--t-base),background-color var(--t-base) var(--e-out)}
  body.menu-open .pill>#themeBtn{opacity:1;visibility:visible;pointer-events:auto;transition:opacity var(--t-base) var(--e-out) 80ms,visibility 0s,background-color var(--t-base) var(--e-out)}
}
/* phone + tablet: beside the Close pill, 10px to its left (V4 menu head); it takes no layout
   space, so the menu button never moves */
@media (max-width:899px){
  .pill{position:relative}
  .pill>#themeBtnM{position:absolute;right:calc(100% + 10px);top:50%;margin-top:-12.5px;display:inline-flex;background:#f4f4f4;opacity:0;visibility:hidden;pointer-events:none;transition:opacity var(--t-base) var(--e-out),visibility 0s linear var(--t-base),background-color var(--t-base) var(--e-out)}
  body.menu-open .pill>#themeBtnM{opacity:1;visibility:visible;pointer-events:auto;transition:opacity var(--t-base) var(--e-out) 80ms,visibility 0s,background-color var(--t-base) var(--e-out)}
}
@media (prefers-reduced-motion:reduce){.th-knob{transition:none}}

/* theme change: one brief, calm cross-fade (js adds .theme-anim for 320ms; not for reduced motion) */
html.theme-anim,html.theme-anim *,html.theme-anim *::before,html.theme-anim *::after{
  transition:background-color 220ms var(--e-out),color 220ms var(--e-out),border-color 220ms var(--e-out),box-shadow 220ms var(--e-out),fill 220ms var(--e-out),filter 220ms var(--e-out),opacity 220ms var(--e-out) !important}
@media (prefers-reduced-motion:reduce){html.theme-anim,html.theme-anim *,html.theme-anim *::before,html.theme-anim *::after{transition:none !important}}

/* the dark map only exists for the dark theme */
.pm-dk{display:none !important}

/* ======================= 2. dark theme ======================= */
html[data-theme-eff="dark"]{
  color-scheme:dark;
  --d0:#0f1a1f;--d1:#16242b;--d2:#1d2e36;--d3:#24383f;
  --ink:#ffffff;--bg:#0f1a1f;--card:#16242b;--deep:#1d2e36;--hair:rgba(255,255,255,.14);
  --lead:rgba(255,255,255,.62);--mute:rgba(255,255,255,.58);
  --grey:rgba(255,255,255,.62);
  background:#0f1a1f;
}
html[data-theme-eff="dark"] body{background:#0f1a1f}
html[data-theme-eff="dark"] body>div:first-child{background:#0f1a1f !important;color:#ffffff !important}
:where(html[data-theme-eff="dark"]) a,:where(html[data-theme-eff="dark"]) a:hover{color:#ffffff}
html[data-theme-eff="dark"] ::selection{background:#ffffff;color:#0f1a1f}
html[data-theme-eff="dark"] :focus-visible{outline-color:#ffffff}
html[data-theme-eff="dark"] .skip{background:#ffffff;color:#0f1a1f !important}

/* ---- inline type colours: black becomes white, greys become V4's white tints.
   An element carrying its own white background keeps its dark type. ---- */
html[data-theme-eff="dark"] [style^="color: #000000"]:not([style*="background: #ffffff"]),
html[data-theme-eff="dark"] [style*=" color: #000000"]:not([style*="background: #ffffff"]),
html[data-theme-eff="dark"] [style^="color:#000"]:not([style*="background:#fff"]),
html[data-theme-eff="dark"] [style*=";color:#000"]:not([style*="background:#fff"]),
html[data-theme-eff="dark"] [style*="; color:#000"]:not([style*="background:#fff"]){color:#ffffff !important}
html[data-theme-eff="dark"] [style*="color: #636363"],html[data-theme-eff="dark"] [style*="color:#636363"]{color:var(--mute) !important}
html[data-theme-eff="dark"] [style*="color: rgba(0,0,0,0.55)"],html[data-theme-eff="dark"] [style*="color:rgba(0,0,0,.55)"],html[data-theme-eff="dark"] [style*="color: rgba(0, 0, 0, 0.55)"]{color:var(--mute) !important}
html[data-theme-eff="dark"] [style*="color: #9a9c9c"],html[data-theme-eff="dark"] [style*="color:#9a9c9c"]{color:rgba(255,255,255,.42) !important}
/* hairlines */
html[data-theme-eff="dark"] [style*="border-top: 1px solid rgba(0,0,0,0.1)"],html[data-theme-eff="dark"] [style*="border-top:1px solid rgba(0,0,0,.1)"],html[data-theme-eff="dark"] [style*="border-top: 1px solid rgba(0,0,0,.1)"]{border-top-color:var(--hair) !important}
html[data-theme-eff="dark"] [style*="border-bottom: 1px solid rgba(0,0,0,0.1)"],html[data-theme-eff="dark"] [style*="border-bottom:1px solid rgba(0,0,0,.1)"]{border-bottom-color:var(--hair) !important}

/* ---- inline surfaces ---- */
html[data-theme-eff="dark"] [style*="background: #f7f7f7"],html[data-theme-eff="dark"] [style*="background:#f7f7f7"]{background-color:var(--d1) !important}
html[data-theme-eff="dark"] img[style*="background: #eeeeee"],html[data-theme-eff="dark"] img[style*="background: #f7f7f7"]{background-color:var(--d2) !important}
html[data-theme-eff="dark"] [style*="background: #0f1a1f"],html[data-theme-eff="dark"] [style*="background:#0f1a1f"]{background-color:var(--d2) !important}
html[data-theme-eff="dark"] [style*="background: #16242b"]{background-color:var(--d3) !important}
html[data-theme-eff="dark"] figcaption[style*="rgba(255,255,255,0.9)"]{background:rgba(15,26,31,.86) !important;color:#ffffff !important}

/* ---- buttons (V4: primary is ink on page; secondary a white tint) ---- */
html[data-theme-eff="dark"] .btn[style*="background: #000000"],html[data-theme-eff="dark"] .pm-all-m,html[data-theme-eff="dark"] .mn-call,html[data-theme-eff="dark"] .ct-copy{background:#ffffff !important;color:#0f1a1f !important}
html[data-theme-eff="dark"] .btn[style*="background: #000000"]:hover,html[data-theme-eff="dark"] .pm-all-m:hover,html[data-theme-eff="dark"] .mn-call:hover,html[data-theme-eff="dark"] .ct-copy:hover{background:rgba(255,255,255,.86) !important}
html[data-theme-eff="dark"] .btn[style*="background: #000000"]:focus-visible,html[data-theme-eff="dark"] .pm-all:focus-visible{outline-color:#ffffff}
html[data-theme-eff="dark"] .btn[style*="rgba(0,0,0,0.05)"]{background:rgba(255,255,255,.08) !important;color:#ffffff !important}
html[data-theme-eff="dark"] .btn[style*="rgba(0,0,0,0.05)"]:hover{background:rgba(255,255,255,.14) !important}
html[data-theme-eff="dark"] .btn[style*="background: #ffffff"]:hover{background:rgba(255,255,255,.86) !important}
html[data-theme-eff="dark"] .pm-all{box-shadow:0 10px 28px rgba(0,0,0,.35) !important}
@media (hover:none){
  html[data-theme-eff="dark"] .btn[style*="background: #000000"]:hover,html[data-theme-eff="dark"] .pm-all-m:hover,html[data-theme-eff="dark"] .mn-call:hover,html[data-theme-eff="dark"] .ct-copy:hover,html[data-theme-eff="dark"] .btn[style*="background: #ffffff"]:hover{background:#ffffff !important}
  html[data-theme-eff="dark"] .btn[style*="rgba(0,0,0,0.05)"]:hover{background:rgba(255,255,255,.08) !important}
}

/* ---- header ---- */
html[data-theme-eff="dark"] .hdr{background:rgba(15,26,31,.86)}
html[data-theme-eff="dark"] body.menu-open .hdr{background:transparent}
html[data-theme-eff="dark"] .mark{color:#ffffff}
html[data-theme-eff="dark"] .pill{background:var(--d1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
html[data-theme-eff="dark"] .nv:hover{background:var(--d0)}
html[data-theme-eff="dark"] .nv[aria-current],html[data-theme-eff="dark"] .nv[aria-current]:hover{background:#ffffff !important;color:#0f1a1f !important}
html[data-theme-eff="dark"] .menu-btn{background:var(--d0);color:#ffffff}
html[data-theme-eff="dark"] .menu-btn:hover{background:var(--d2) !important}
html[data-theme-eff="dark"] .menu-btn:focus-visible,html[data-theme-eff="dark"] .call:focus-visible,html[data-theme-eff="dark"] .nv:focus-visible,html[data-theme-eff="dark"] .sx-btn:focus-visible,html[data-theme-eff="dark"] .btn:focus-visible{outline-color:#ffffff}
html[data-theme-eff="dark"] .call{background:#ffffff;color:#0f1a1f}
html[data-theme-eff="dark"] .call:hover{background:rgba(255,255,255,.86) !important}
html[data-theme-eff="dark"] .th-sw{background:var(--d0)}
html[data-theme-eff="dark"] .th-knob{background:#ffffff}
html[data-theme-eff="dark"] .th-sw:focus-visible{outline-color:#ffffff}
@media (max-width:899px){
  html[data-theme-eff="dark"] .menu-btn{background:var(--d1)}
  html[data-theme-eff="dark"] .menu-btn:hover{background:var(--d2) !important}
  html[data-theme-eff="dark"] .pill{background:transparent;box-shadow:none}
  html[data-theme-eff="dark"] .pill>#themeBtnM{background:var(--d1)}
}
@media (hover:none){
  html[data-theme-eff="dark"] .nv:not([aria-current]):hover{background:transparent}
  html[data-theme-eff="dark"] .call:hover{background:#ffffff !important}
  html[data-theme-eff="dark"] .menu-btn:hover{background:var(--d0) !important}
}
@media (hover:none) and (max-width:899px){html[data-theme-eff="dark"] .menu-btn:hover{background:var(--d1) !important}}

/* ---- overlay menu ---- */
html[data-theme-eff="dark"] .menu{background:var(--d0);color:#ffffff}
html[data-theme-eff="dark"] .mn-desk{background:var(--d1)}
html[data-theme-eff="dark"] .mn-desk img{background-color:var(--d2) !important}
html[data-theme-eff="dark"] .mn-foot{border-top-color:var(--hair)}
html[data-theme-eff="dark"] .mp{background:var(--d1)}
html[data-theme-eff="dark"] .mp-tel{color:#ffffff}
html[data-theme-eff="dark"] .mn-net{color:var(--mute)}

/* ---- network list, footer, dot field ---- */
html[data-theme-eff="dark"] .net-i{color:var(--mute)}
html[data-theme-eff="dark"] .net-here,html[data-theme-eff="dark"] a.net-i:hover{color:#ffffff}
html[data-theme-eff="dark"] .dots{background-image:conic-gradient(from 270deg at 3px 3px,rgba(255,255,255,.12) 25%,transparent 0)}

/* ---- type helpers ---- */
html[data-theme-eff="dark"] .stmt{color:var(--mute)}
html[data-theme-eff="dark"] .stmt b{color:#ffffff}
html.js[data-theme-eff="dark"] .wl .wl-w{color:rgba(255,255,255,.24)}
html.js[data-theme-eff="dark"] .wl .wl-w.on{color:#ffffff}
html[data-theme-eff="dark"] .ph{color:rgba(255,255,255,.42)}
html[data-theme-eff="dark"] .ph-img{background:var(--d2);color:rgba(255,255,255,.5)}
html[data-theme-eff="dark"] .ph-img::before{background:rgba(255,255,255,.3)}
html[data-theme-eff="dark"] .ph-tag{border-color:rgba(255,255,255,.3);color:rgba(255,255,255,.55)}

/* ---- client logos: black marks become white at the same optical weight
   (contrast-matched: .55 on white reads as .48 on d-0; .7 as .68) ---- */
html[data-theme-eff="dark"] img[src*="/logo-"]{filter:invert(1)}
html[data-theme-eff="dark"] img[src*="/logo-"][style*="opacity: 0.55"]{opacity:.48 !important}
html[data-theme-eff="dark"] .ww-lg img{opacity:.48}
html[data-theme-eff="dark"] .rl-logo,html[data-theme-eff="dark"] .rl-lk{opacity:.68}
html[data-theme-eff="dark"] .ww-nm{color:#ffffff;opacity:.48}

/* ---- home: services slider ---- */
html[data-theme-eff="dark"] .sx{background:var(--d2)}
html[data-theme-eff="dark"] .sx-ph{background:var(--d2)}
/* the hover panel keeps its near-black wipe, with a hairline so it reads as a state on the dark page */
html[data-theme-eff="dark"] .sx-p{box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);border-radius:inherit}
html[data-theme-eff="dark"] .sx:focus-visible{outline-color:#ffffff}
html[data-theme-eff="dark"] .sx-btn{background:rgba(255,255,255,.08);color:#ffffff}
html[data-theme-eff="dark"] .sx-btn:hover{background:rgba(255,255,255,.14)}
@media (hover:none){html[data-theme-eff="dark"] .sx-btn:hover{background:rgba(255,255,255,.08)}}

/* ---- home: who we work with, roles, network card ---- */
html[data-theme-eff="dark"] .ww,html[data-theme-eff="dark"] .ww-r{border-color:rgba(255,255,255,.14)}
html[data-theme-eff="dark"] .ww-d{color:var(--lead)}
html[data-theme-eff="dark"] .rl-a:hover{color:#ffffff !important}

/* ---- home: map ---- */
html[data-theme-eff="dark"] .pm{background:#0d171c !important}
html[data-theme-eff="dark"] .pm>img:not(.pm-dk){display:none}
html[data-theme-eff="dark"] .pm>.pm-dk{display:block !important}
html[data-theme-eff="dark"] .pm-pin{box-shadow:0 0 0 3px var(--d0),0 2px 8px rgba(0,0,0,.4)}
html[data-theme-eff="dark"] .pm-card{background:rgba(29,46,54,.96);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 10px 28px rgba(0,0,0,.32)}
html[data-theme-eff="dark"] .pm-card b,html[data-theme-eff="dark"] .pm-list b{color:#ffffff}
html[data-theme-eff="dark"] .pm-card i,html[data-theme-eff="dark"] .pm-list i{color:var(--mute)}
html[data-theme-eff="dark"] .pm-card span,html[data-theme-eff="dark"] .pm-list span{color:rgba(255,255,255,.78)}
html[data-theme-eff="dark"] .pm-town{color:rgba(255,255,255,.55)}
html[data-theme-eff="dark"] .pm-lbl{background:rgba(29,46,54,.94);color:#ffffff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 6px 16px rgba(0,0,0,.3)}
html[data-theme-eff="dark"] .pm-list>div{background:var(--d1);border-top-color:rgba(255,255,255,.12)}
@media (max-width:899px){
  html[data-theme-eff="dark"] .pm-pin{box-shadow:0 0 0 2px var(--d0)}
}
@media (max-width:899px){
  html[data-theme-eff="dark"] .pm-pin{box-shadow:0 0 0 2.5px var(--d0),0 2px 6px rgba(0,0,0,.4) !important}
}

/* ---- services ---- */
html[data-theme-eff="dark"] .sv,html[data-theme-eff="dark"] .sc{background:var(--d1)}
html[data-theme-eff="dark"] .sv-d{color:var(--lead)}
html[data-theme-eff="dark"] .sm{color:var(--mute)}
html[data-theme-eff="dark"] .sm a{color:#ffffff;background:linear-gradient(#ffffff,#ffffff) 0 100% / 0 .045em no-repeat,linear-gradient(rgba(255,255,255,.28),rgba(255,255,255,.28)) 0 100% / 100% .045em no-repeat}
html[data-theme-eff="dark"] .sm a:hover{background-size:100% .045em,100% .045em}
html[data-theme-eff="dark"] .sm a:focus-visible{outline-color:#ffffff}
html[data-theme-eff="dark"] .sm-n{color:var(--lead)}
html[data-theme-eff="dark"] .sm-n a{text-decoration-color:rgba(255,255,255,.35)}
html[data-theme-eff="dark"] .sm-n a:hover{text-decoration-color:#ffffff}
html[data-theme-eff="dark"] .xp details{border-top-color:var(--hair)}
html[data-theme-eff="dark"] .xp p{color:var(--lead)}
html[data-theme-eff="dark"] .xp summary:hover{color:var(--mute)}
html[data-theme-eff="dark"] .xp summary:focus-visible{outline-color:#ffffff}
html[data-theme-eff="dark"] .sv:target,html[data-theme-eff="dark"] .sc:target{animation-name:svPingD}
@keyframes svPingD{0%{box-shadow:0 0 0 0 rgba(255,255,255,0)}20%{box-shadow:0 0 0 2px #ffffff}100%{box-shadow:0 0 0 2px rgba(255,255,255,0)}}

/* ---- projects: rows fill white on hover (the inverse of light's black bar) ---- */
html[data-theme-eff="dark"] .pr{border-top-color:var(--hair);color:#ffffff}
html[data-theme-eff="dark"] .pr:last-child{border-bottom-color:var(--hair)}
html[data-theme-eff="dark"] .pr::before{background:#ffffff}
html[data-theme-eff="dark"] div.pr:not(.pr-h)::before{background:var(--d1)}
html[data-theme-eff="dark"] .pr-c{color:var(--lead)}
html[data-theme-eff="dark"] .pr-r,html[data-theme-eff="dark"] .pr-a{color:#ffffff}
html[data-theme-eff="dark"] a.pr:hover .pr-n,html[data-theme-eff="dark"] a.pr:hover .pr-r,html[data-theme-eff="dark"] a.pr:focus-visible .pr-n,html[data-theme-eff="dark"] a.pr:focus-visible .pr-r,html[data-theme-eff="dark"] a.pr:hover .pr-a,html[data-theme-eff="dark"] a.pr:focus-visible .pr-a{color:#0f1a1f}
html[data-theme-eff="dark"] a.pr:hover .pr-c,html[data-theme-eff="dark"] a.pr:focus-visible .pr-c{color:rgba(15,26,31,.66) !important}
html[data-theme-eff="dark"] a.pr:hover .ph,html[data-theme-eff="dark"] a.pr:focus-visible .ph{color:rgba(15,26,31,.5)}
html[data-theme-eff="dark"] a.pr:hover .ph-tag,html[data-theme-eff="dark"] a.pr:focus-visible .ph-tag{color:rgba(15,26,31,.62);border-color:rgba(15,26,31,.35)}
html[data-theme-eff="dark"] div.pr:hover .pr-n,html[data-theme-eff="dark"] div.pr:hover .pr-r{color:#ffffff !important}
html[data-theme-eff="dark"] div.pr:hover .pr-c{color:var(--lead) !important}
html[data-theme-eff="dark"] .pr:focus-visible::before,html[data-theme-eff="dark"] .nx:focus-visible::before{box-shadow:0 0 0 2px var(--d0),0 0 0 4px #ffffff}
html[data-theme-eff="dark"] .pr-i{box-shadow:0 18px 40px rgba(0,0,0,.45)}
html[data-theme-eff="dark"] .pr-n+.pr-c::after{color:rgba(255,255,255,.4)}
@media (hover:none){
  html[data-theme-eff="dark"] .pr:hover .pr-n,html[data-theme-eff="dark"] .pr:hover .pr-r,html[data-theme-eff="dark"] .pr:hover .pr-a{color:#ffffff}
  html[data-theme-eff="dark"] a.pr:hover .pr-c{color:var(--lead) !important}
  html[data-theme-eff="dark"] a.pr:hover .ph-tag{color:rgba(255,255,255,.55);border-color:rgba(255,255,255,.3)}
  html[data-theme-eff="dark"] a.pr:active::before,html[data-theme-eff="dark"] .nx:active::before{opacity:.08 !important}
}

/* ---- project pages ---- */
html[data-theme-eff="dark"] .cf{border-top-color:var(--hair)}
html[data-theme-eff="dark"] .cf-k{color:var(--mute)}
html[data-theme-eff="dark"] .sv-l li{border-top-color:var(--hair)}
html[data-theme-eff="dark"] .sv-l li:last-child{border-bottom-color:var(--hair)}
html[data-theme-eff="dark"] .lead{background:var(--d1)}
html[data-theme-eff="dark"] .lead-t{color:var(--mute)}
html[data-theme-eff="dark"] .lead-p{color:var(--lead)}
html[data-theme-eff="dark"] .lead-tel{color:#ffffff;border-top-color:var(--hair)}
html[data-theme-eff="dark"] .cw{background:var(--d1)}
html[data-theme-eff="dark"] .nx{border-color:var(--hair);color:#ffffff}
html[data-theme-eff="dark"] .nx::before{background:#ffffff}
html[data-theme-eff="dark"] .nx:hover,html[data-theme-eff="dark"] .nx:focus-visible{color:#0f1a1f}
html[data-theme-eff="dark"] .nx-k{color:var(--mute)}
html[data-theme-eff="dark"] .nx:hover .nx-k,html[data-theme-eff="dark"] .nx:focus-visible .nx-k{color:rgba(15,26,31,.62)}
@media (hover:none){
  html[data-theme-eff="dark"] .nx:hover{color:#ffffff}
  html[data-theme-eff="dark"] .nx:hover .nx-k{color:var(--mute)}
}

/* ---- people ---- */
html[data-theme-eff="dark"] .pc img{background:var(--d2)}
html[data-theme-eff="dark"] .pt{color:var(--mute)}
html[data-theme-eff="dark"] .pb{color:var(--lead)}

/* ---- approach ---- */
html[data-theme-eff="dark"] .df-hero,html[data-theme-eff="dark"] .df-s{background:var(--d1)}
html[data-theme-eff="dark"] .df-m img{background:var(--d2)}
html[data-theme-eff="dark"] .df-s:not(:last-child) .df-m::after,html[data-theme-eff="dark"] .df-s:not(:last-child)::after{background:rgba(255,255,255,.28)}
html[data-theme-eff="dark"] .df-c{color:var(--mute)}
html[data-theme-eff="dark"] .df-d{color:var(--lead)}
html[data-theme-eff="dark"] .sn-stat,html[data-theme-eff="dark"] .sn-r{border-top-color:var(--hair)}
html[data-theme-eff="dark"] .sn-r:last-child{border-bottom-color:var(--hair)}
html[data-theme-eff="dark"] .sn-stat .qw-l{color:var(--mute)}
html[data-theme-eff="dark"] .sn-r p{color:var(--lead)}
html[data-theme-eff="dark"] .sn-here{color:var(--mute)}

/* ---- contact ---- */
html[data-theme-eff="dark"] .ct-f{background:var(--d2)}
html[data-theme-eff="dark"] .fl input:-webkit-autofill{-webkit-box-shadow:0 0 0 40px var(--d2) inset}
html[data-theme-eff="dark"] .ct-d,html[data-theme-eff="dark"] .ct-m{background:var(--d1)}
html[data-theme-eff="dark"] .ct-t{color:var(--mute)}
html[data-theme-eff="dark"] .ct-l{border-top-color:var(--hair)}
html[data-theme-eff="dark"] .ct-tel,html[data-theme-eff="dark"] .ct-mail{color:#ffffff}
html[data-theme-eff="dark"] .ct-em{color:var(--lead)}
@media (hover:none){html[data-theme-eff="dark"] .ct-copy:hover{background:#ffffff !important}}

/* ---- shared kicker (system.css .kick): low specificity so the dark-card kickers keep their own tint ---- */
:where(html[data-theme-eff="dark"]) .kick{color:var(--mute)}

/* ---- inline SVG pictograms (role cards): black marks and grey outlines turn white ---- */
html[data-theme-eff="dark"] svg [fill="#000000"]{fill:#ffffff}
html[data-theme-eff="dark"] svg [stroke="#000000"]{stroke:#ffffff}
html[data-theme-eff="dark"] svg [stroke="rgba(0,0,0,0.28)"]{stroke:rgba(255,255,255,.3)}
