/* JEH 2026: shared header and theme for /blog/ pages. Loaded only by blog pages; delete the <link> to undo. */
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:400 700;font-display:swap;src:url("/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2")}
:root{color-scheme:dark!important;--ink:#e8edf4;--muted:#94a3b8;--line:rgba(255,255,255,.1);--accent:#00d4ff;--page:#030307;--bg:#030307;--cyan:#00d4ff}
html{background:#030307}
html body{background:#030307!important;color:#e8edf4!important;font-family:"Instrument Sans",Arial,sans-serif!important}
body *:not(pre):not(code):not(pre *){font-family:"Instrument Sans",Arial,sans-serif!important}
/* the pages' own headers give way to the shared one */
body>header.site-header,body>header.sticky{display:none!important}
/* article template that shipped light */
body h1,body h2,body h3,body h4{color:#fff!important;font-weight:500!important;letter-spacing:-.03em!important}
article p,article li,article td,article th,.prose p,.prose li,main p,main li{color:#cbd5e1}
article strong,article b,main strong{color:#fff}
article a,.prose a,main article a{color:#00d4ff!important}
.breadcrumb,.breadcrumb a,.crumbs span,.meta,.publish-date,p.publish-date,figcaption{color:#94a3b8!important}
.breadcrumb a:hover,.crumbs a:hover{color:#00d4ff!important}
.breadcrumb [aria-current=page]{color:#e2e8f0!important}
.breadcrumb .sep{color:#475569!important}
article blockquote,main blockquote{border-color:rgba(0,212,255,.4)!important;color:#cbd5e1!important;background:transparent!important}
article code{background:rgba(255,255,255,.08)!important;color:#e2e8f0!important}
article pre{background:#0b0f17!important;border:1px solid rgba(255,255,255,.08)}
article pre code{background:none!important}
article th,article td{border-color:rgba(255,255,255,.12)!important}
article th{color:#fff}
hr{border-top-color:rgba(255,255,255,.1)!important}
#jh{position:sticky;top:0;z-index:60;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;padding:0 clamp(20px,4vw,48px);min-height:81px;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(3,3,7,.8);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);font-family:"Instrument Sans",Arial,sans-serif;color:#fff;box-sizing:border-box}
#jh *{box-sizing:border-box}
#jh a{text-decoration:none}
#jh .brand{display:flex;align-items:center;gap:14px;min-height:44px;color:#fff}
#jh .mark{position:relative;width:64px;height:64px;flex:none;display:block}
#jh .mark img{width:64px;height:64px;max-width:none;display:block;object-fit:cover;mix-blend-mode:lighten;transition:transform .4s cubic-bezier(.2,.8,.2,1),filter .3s}
#jh .zapfx{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
#jh .hx{fill:none;stroke-width:2.4;stroke-linecap:round;stroke-dasharray:6 4;opacity:0;animation:jhrun .8s linear infinite;transition:opacity .3s}
#jh .bolt{fill:none;stroke-width:1.7;stroke-linejoin:round;opacity:0}
#jh .brand:hover .mark img,#jh .brand:focus-visible .mark img{transform:scale(1.08);filter:brightness(1.2)}
#jh .brand:hover .hx,#jh .brand:focus-visible .hx{opacity:1}
#jh .brand:hover .bolt,#jh .brand:focus-visible .bolt{animation:jhflick .5s steps(1) infinite}
@keyframes jhrun{to{stroke-dashoffset:-64}}
@keyframes jhflick{0%{opacity:1}28%{opacity:0}52%{opacity:.85}68%{opacity:0}100%{opacity:0}}
#jh .wordmark{font-size:14px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;white-space:nowrap}
#jh nav{display:flex;align-items:center;gap:clamp(16px,2.2vw,32px);flex-wrap:wrap}
#jh .nav-link{font-size:13px;font-weight:500;letter-spacing:.02em;color:rgba(255,255,255,.7);padding:14px 0;transition:color .2s}
#jh .nav-link:hover,#jh .soc:hover{color:#fff}
#jh .dd{position:relative;display:flex}
#jh .dd-menu{position:absolute;top:100%;left:-16px;display:none;flex-direction:column;min-width:150px;padding:6px 16px;background:#08080d;border:1px solid rgba(255,255,255,.1)}
#jh .dd:hover .dd-menu,#jh .dd:focus-within .dd-menu{display:flex}
#jh .soc-row{display:flex;align-items:center;gap:2px}
#jh .soc{color:rgba(255,255,255,.7);display:flex;align-items:center;justify-content:center;width:44px;height:44px;transition:color .2s}
#jh .li{--p:#2f8bff;display:inline-flex;align-items:center;min-height:44px;padding:0 7px;color:#e2e8f0}
#jh .li-fo{--p:#ff3b3b}
#jh .li .ic{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:var(--p);animation:jhpulse 2.2s cubic-bezier(.3,0,.3,1) infinite}
#jh .li-fo .ic{animation-delay:1.1s}
@keyframes jhpulse{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--p) 75%,transparent)}70%{box-shadow:0 0 0 11px color-mix(in srgb,var(--p) 0%,transparent)}100%{box-shadow:0 0 0 0 color-mix(in srgb,var(--p) 0%,transparent)}}
#jh .menu-btn{display:none}
@media (max-width:980px){
#jh{min-height:64px;flex-wrap:nowrap;gap:6px;padding:0 14px}
#jh .brand{gap:10px;min-width:0;margin-right:auto}
#jh .mark,#jh .mark img{width:44px;height:44px}
#jh .wordmark{font-size:12px;letter-spacing:.14em}
#jh .wm-x{display:none}
#jh .soc-row{order:2;gap:0}
#jh .soc-row .soc{display:none}
#jh .li{padding:0 3px}
#jh .menu-btn{order:3;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:44px;height:44px;flex:none;background:none;border:0;padding:0;cursor:pointer}
#jh .menu-btn span{display:block;width:22px;height:1.5px;background:#fff;transition:transform .3s cubic-bezier(.2,.8,.2,1)}
#jh.open .menu-btn span:first-child{transform:translateY(3.75px) rotate(45deg)}
#jh.open .menu-btn span:last-child{transform:translateY(-3.75px) rotate(-45deg)}
#jh nav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;padding:4px 20px 16px;background:#030307;border-bottom:1px solid rgba(255,255,255,.12)}
#jh.open nav{display:flex}
#jh nav .nav-link{font-size:17px;padding:15px 0;border-top:1px solid rgba(255,255,255,.08);color:#fff}
#jh .dd{flex-direction:column}
#jh .dd>.nav-link{display:none}
#jh .dd-menu{position:static;display:flex;padding:0;border:0;background:none;min-width:0}
}
@media (prefers-reduced-motion:reduce){#jh .hx,#jh .bolt,#jh .li .ic{animation:none!important}}
