:root{color-scheme:light;--paper:#f3f3f0;--ink:#282b33;--secondary:#62656c;--line:#32364126;--accent:#363b49;--serif:Georgia,'Times New Roman',serif;--sans:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-family:var(--sans);font-size:16px;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}
body{margin:0}
button,a{-webkit-tap-highlight-color:transparent}
button{font:inherit;color:inherit;cursor:pointer}
button:disabled{cursor:default;opacity:.5}
button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.app{position:relative;min-height:100svh;display:flex;flex-direction:column;padding:0 4.5%;isolation:isolate;overflow:hidden}
.masthead{height:90px;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:2;pointer-events:none}
.brand{display:flex;align-items:center;gap:13px;color:inherit;text-decoration:none;pointer-events:auto}
.brand>svg{fill:none;stroke:var(--ink);stroke-width:1.3;width:25px;height:25px}
.brand>#brand{font-family:var(--serif);font-size:23px;letter-spacing:-.7px}
.brand-divider{color:#9a9b9f;margin:0 3px;font-weight:300}
.brand-caption,.edition{font-size:10px;letter-spacing:.14em;color:var(--secondary)}
.edition{letter-spacing:.06em}
main{flex:1;display:flex;flex-direction:column;min-height:720px}
.introduction{display:flex;justify-content:space-between;gap:40px;align-items:flex-start;padding:38px 0 0;position:relative;z-index:2;pointer-events:none}
.introduction>div:first-child{max-width:580px}
.eyebrow,.control-label{font-size:10px;letter-spacing:.19em;text-transform:uppercase;color:var(--secondary);margin:0 0 16px}
h1{font-family:var(--serif);font-size:clamp(36px,3.5vw,54px);font-weight:400;letter-spacing:-2px;line-height:1.1;margin:0;text-wrap:balance}
.intro-copy{font-size:13px;line-height:1.8;color:var(--secondary);margin:19px 0 0;max-width:380px}
.state-picker{max-width:390px;text-align:right;min-width:310px;padding-top:5px;pointer-events:auto}
.control-label{display:block;font-size:9px;margin-bottom:12px}
.state-picker p{font-size:11px;line-height:1.6;color:var(--secondary);margin:13px 0 0;min-height:18px}
#state-tabs{display:flex;gap:4px;justify-content:flex-end}
.state-tab{border:1px solid transparent;background:transparent;padding:9px 12px;border-radius:2px;font-size:12px;color:var(--secondary);transition:background .25s,color .25s}
.state-tab:hover{background:#ffffff80;color:var(--ink)}
.state-tab[aria-pressed=true]{background:#ffffffbd;border-color:#383c4b3a;color:var(--ink);box-shadow:0 2px 8px #30323e05}
.tab-number{opacity:.5;margin-right:7px;font-size:9px;font-variant-numeric:tabular-nums}
/* The graph shares the entire page with the introduction and masthead. */
.graph-section{position:absolute;inset:0 0 62px;z-index:0}
.graph-stage{position:absolute;inset:0;overflow:hidden;background:radial-gradient(ellipse at 52% 48%,#ffffffb0,transparent 65%),linear-gradient(115deg,#e4e5e6a0,#f6f6f3 52%,#e1e2e4a0)}
.field-texture{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:.48;mask-image:linear-gradient(180deg,#0008,#000 38%,#000 80%,#0004)}
.texture-threads{stroke:#484c59;stroke-width:.85;fill:none}
.texture-facets{fill:#414653;stroke:none}
.texture-specks,.texture-depth{fill:#363b48}
.texture-depth{filter:blur(4px)}
#graph{position:relative;width:100%;height:100%;display:block;isolation:isolate;overflow:visible}
.graph-note{position:absolute;bottom:98px;left:4.5%;font-family:var(--serif);font-style:italic;font-size:13px;color:var(--secondary);pointer-events:none;margin:0}
.graph-toolbar{position:absolute;bottom:20px;left:4.5%;right:4.5%;min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 16px;background:#f8f8f4d6;backdrop-filter:blur(12px);border:1px solid #ffffffb0;border-top-color:#32364120;border-radius:3px}
.legend{display:flex;gap:24px;align-items:center}
.legend>span{display:flex;align-items:center;gap:9px;color:var(--secondary);font-size:10px}
.legend i{display:inline-block;flex-shrink:0}
.legend-project{width:8px;height:8px;background:var(--accent)}
.legend-theme{width:9px;height:9px;border:1.5px solid #606573;border-radius:50%;background:var(--paper)}
.legend-hull{width:13px;height:11px;background:#828693;clip-path:polygon(50% 0,100% 100%,0 100%)}
.motion-controls{display:flex;gap:20px;align-items:center}
.motion-controls button{display:inline-flex;gap:7px;align-items:center;background:none;border:0;font-size:11px;padding:8px 0}
.motion-controls button:hover{color:#000}
.motion-status{font-size:10px;color:var(--secondary);display:flex;align-items:center;gap:7px}
.motion-status:before{content:'';width:4px;height:4px;border-radius:50%;background:#575e50}
.motion-status[data-paused=true]:before{background:#98999f}
.footer{position:relative;z-index:2;margin-top:auto;display:flex;justify-content:space-between;gap:20px;padding:20px 0;font-size:10px;line-height:1.6;color:var(--secondary);pointer-events:none}
.counts{font-variant-numeric:tabular-nums;white-space:nowrap}
/* Tones remain available in the data, expressed as quiet graphite shades. */
[data-tone=blue]{--tone:#393e4c}
[data-tone=sky]{--tone:#596171}
[data-tone=cyan]{--tone:#515e60}
[data-tone=coral]{--tone:#746963}
[data-tone=violet]{--tone:#625f73}
[data-tone=slate]{--tone:#666b73}
.node{cursor:grab;outline:none;touch-action:none;transition:opacity .25s}
.node:active{cursor:grabbing}
.node-hit{fill:transparent;stroke:none}
.node-ring{fill:#ffffff80;stroke:var(--tone,var(--accent));stroke-width:.8;opacity:0;transition:opacity .25s}
.node-core{fill:var(--tone,var(--accent));stroke:#f7f7f2;stroke-width:1.5}
.node[data-type=theme] .node-core{fill:var(--paper);stroke:var(--tone,#606573);stroke-width:1.7}
.node-label{font-family:var(--sans);font-size:13px;font-weight:550;fill:#282b33;paint-order:stroke;stroke:#f3f3f0;stroke-opacity:.94;stroke-width:6px;stroke-linejoin:round;pointer-events:none}
.node-type{font-family:var(--sans);font-size:8px;letter-spacing:1.3px;fill:#62656c;paint-order:stroke;stroke:var(--paper);stroke-width:5px;pointer-events:none}
.node[data-type=theme] .node-label{font-family:var(--serif);font-style:italic;font-weight:400;font-size:16px;fill:#515460}
.node:hover .node-ring,.node:focus-visible .node-ring,.node.is-active .node-ring{opacity:.7}
.node:focus-visible .node-hit{stroke:var(--tone,var(--accent));stroke-width:1;stroke-dasharray:3 4}
.node.is-dim{opacity:.28}
.edge-line{stroke:#545969;stroke-width:1;opacity:.65;fill:none;pointer-events:none}
.edge-hit{stroke:transparent;stroke-width:14;fill:none;pointer-events:stroke}
.edge:hover .edge-line,.edge:focus-visible .edge-line,.edge.is-active .edge-line{stroke:#262c3b;stroke-width:1.6;opacity:1}
.edge:focus{outline:none}
.hull{fill:var(--tone,#596171);fill-opacity:.13;stroke:var(--tone,#596171);stroke-width:.8;stroke-opacity:.45;stroke-linejoin:miter;transition:fill-opacity .3s,stroke-opacity .3s}
.hull:hover,.hull:focus-visible,.hull.is-active{fill-opacity:.23;stroke-opacity:.8;outline:none}
.hull-label{font-family:var(--sans);font-size:9px;letter-spacing:1.4px;fill:#535866;paint-order:stroke;stroke:#f3f3f0b0;stroke-width:3px;pointer-events:none}
.connections-layer{transition:opacity 1600ms ease;opacity:1}
.connections-layer.is-leaving{pointer-events:none;opacity:0}
.tooltip{position:absolute;z-index:5;width:max-content;max-width:260px;padding:18px 20px;background:#fafaf7f5;border:1px solid #565b6a35;border-radius:3px;box-shadow:0 8px 30px #24293612;pointer-events:none;backdrop-filter:blur(12px)}
.tooltip[hidden]{display:none}
.tooltip-kind{display:block;font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:var(--secondary);margin-bottom:8px}
.tooltip strong{font-family:var(--serif);font-size:22px;font-weight:400;display:block}
.tooltip p{font-size:12px;line-height:1.7;color:var(--secondary);margin:8px 0 0}
.tooltip p:empty{display:none}
.load-status{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);font-size:14px;color:var(--secondary);text-align:center;background:var(--paper);padding:15px}
.load-status[hidden]{display:none}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.noscript{margin:30px}
.detail-dialog{width:min(620px,calc(100vw - 36px));max-height:85dvh;padding:0;border:1px solid #64697640;border-radius:4px;color:var(--ink);background:#fafaf7;box-shadow:0 22px 100px #292d3926}
.detail-dialog::backdrop{background:#dfe0e299;backdrop-filter:blur(7px)}
.detail-shell{padding:33px 40px 24px}
.detail-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}
.detail-header .eyebrow{margin:0}
.close-button{background:none;border:1px solid var(--line);width:34px;height:34px;border-radius:50%;display:grid;place-items:center}
.close-button svg{width:20px;height:20px}
.detail-dialog h2{font-family:var(--serif);font-weight:400;font-size:42px;letter-spacing:-1px;margin:0 0 14px}
.detail-summary{font-size:16px;color:var(--secondary);line-height:1.65;margin:0}
.detail-meta{display:flex;flex-wrap:wrap;gap:20px;font-size:11px;color:var(--secondary);border-bottom:1px solid var(--line);padding:24px 0}
.detail-content{padding:14px 0 20px;line-height:1.8;font-size:16px;overflow-wrap:anywhere}
.detail-content h1,.detail-content h2,.detail-content h3{font-family:var(--serif);font-size:25px;font-weight:400;letter-spacing:-.3px;margin:24px 0 10px}
.detail-content p{margin:16px 0}
.detail-content a{color:#414d64;text-underline-offset:4px}
.detail-content blockquote{border-left:2px solid #888d99;margin:22px 0;padding:0 0 0 20px;color:var(--secondary);font-family:var(--serif);font-size:20px}
.detail-content ul,.detail-content ol{padding-left:22px}
.detail-content code{background:#ebebea;padding:2px 5px;font-size:13px;overflow-wrap:anywhere}
.detail-content pre{overflow:auto;background:#ebebea;padding:15px;border-radius:3px}
.detail-content img{max-width:100%;height:auto}
.detail-content table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;margin:16px 0}
.detail-content th,.detail-content td{border:1px solid var(--line);padding:6px 12px;text-align:left}
.detail-footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:20px;font-size:11px;letter-spacing:.02em;color:var(--secondary)}
body:has(dialog[open]){overflow:hidden}
@media(min-width:1600px){main{min-height:850px}.introduction{padding-top:50px}.intro-copy{font-size:14px}}
@media(max-width:800px){
.app{padding:0 6%}
.masthead{height:74px}
.edition{display:none}
main{min-height:970px}
.introduction{padding-top:23px;gap:27px;flex-direction:column}
.introduction>div:first-child{max-width:100%}
h1{font-size:42px;letter-spacing:-1.6px}
.intro-copy{max-width:340px;font-size:12px;margin-top:14px}
.state-picker{text-align:left;min-width:0;max-width:100%;padding-top:0}
#state-tabs{justify-content:flex-start;flex-wrap:wrap}
.control-label{margin-bottom:7px}
.state-picker p{margin-top:8px}
.graph-section{bottom:84px}
.field-texture{opacity:.36}
.graph-toolbar{left:6%;right:6%;flex-wrap:wrap;padding:13px 14px;gap:17px;bottom:18px}
.legend{gap:23px}
.motion-controls{justify-content:space-between;flex:1;gap:16px}
.motion-status{margin-right:auto}
.graph-note{left:6%;bottom:140px;font-size:12px}
.footer{font-size:9px;flex-wrap:wrap;gap:4px;padding:16px 0;min-height:84px;align-content:center}
.node-label{font-size:12px}
.node[data-type=theme] .node-label{font-size:14px}
.detail-shell{padding:22px 25px}
.detail-dialog h2{font-size:35px}
}
@media(max-width:450px){
.brand-caption{font-size:9px}
.brand{gap:10px}
.brand>#brand{font-size:21px}
.legend,.motion-controls{width:100%}
.node-type{font-size:7px;letter-spacing:1px}
.tooltip{max-width:220px}
.state-tab{font-size:11px;padding:8px 10px}
}
.motion-controls button[hidden]{display:none}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
