@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');
:root{--lime:#b8ff27;--bg:#051623;--color:#b8ff27}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:#fff;font-family:Inter,Arial,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,#viewport:focus-visible{outline:3px solid white;outline-offset:5px}.scene{min-height:100vh;position:relative;overflow:hidden;background:linear-gradient(90deg,#051623 24%,#051623c4 43%,#05162333 76%),linear-gradient(0deg,#05162388,transparent 60%,#04101bd9),url('municipio.jpeg') right 44%/auto 150% no-repeat}header{display:flex;align-items:center;height:112px;padding:0 3.2%;position:relative;z-index:10;gap:25px}.brand{display:flex;gap:13px;text-decoration:none;color:white;align-items:center;flex-shrink:0}.brand svg{width:64px;height:65px}.brand b{font-size:27px;letter-spacing:-1px;line-height:1.03}.city{border-left:2px solid var(--lime);padding-left:25px;font-size:15px;line-height:1.4;white-space:nowrap}.city strong{display:block;color:var(--lime);font-size:20px}nav{margin-left:auto;display:flex;gap:7px;border-bottom:1px solid #b8ff2770;padding-bottom:14px}nav button{border:0;background:none;font-size:12px;font-weight:600;padding:13px 18px;border-radius:30px;white-space:nowrap}nav button.active{background:var(--lime);color:#102000;box-shadow:0 0 26px #b8ff2730}nav button:hover{background:#b8ff272a}nav button.active:hover{background:#c9ff64}main{position:relative;display:flex;min-height:690px;height:calc(100vh - 140px)}#story{width:28%;min-width:285px;max-width:410px;padding:100px 15px 30px 3.2vw;z-index:4;position:relative;pointer-events:none}#story button,#story a{pointer-events:auto}.eyebrow{font-size:9px;text-transform:uppercase;font-weight:700;letter-spacing:1.4px;color:#bfced4;line-height:1.7}.eyebrow i{display:inline-block;width:7px;height:7px;background:var(--lime);border-radius:50%;box-shadow:0 0 10px var(--lime);margin-right:8px}h1{font-size:clamp(33px,3vw,46px);font-weight:800;letter-spacing:-1.8px;line-height:1.08;margin:23px 0 20px}h1 em{font-style:normal;color:var(--lime)}.underline{width:185px;height:13px;margin:0 0 19px;overflow:visible}#story .intro{font-size:12px;line-height:1.85;color:#c6d4db;max-width:285px}.explore{border:2px solid var(--lime);border-radius:40px;padding:15px 20px;background:#051623c9;color:#fff;display:flex;gap:15px;align-items:center;text-align:left;font-size:12px;font-weight:700;line-height:1.6;margin-top:25px;box-shadow:0 0 17px #b8ff2720}.explore span{color:var(--lime);font-size:25px}.map{position:absolute;inset:0 0 0 26%;overflow:hidden}#viewport{position:absolute;inset:10px 66px 45px 0;touch-action:none;cursor:grab}#viewport.dragging{cursor:grabbing}#world{width:1000px;height:830px;transform-origin:0 0;position:absolute}#edges{position:absolute;width:100%;height:100%;overflow:visible}#edges line{stroke:var(--line);stroke-width:4;filter:drop-shadow(0 0 4px var(--line))}#edges line.secondary{stroke:#c4d4de80;stroke-width:1.5;stroke-dasharray:7 9;filter:none}.node{position:absolute;left:var(--x);top:var(--y);width:120px;height:120px;border:0;border-radius:50%;padding:0;transform:translate(-50%,-50%);background:radial-gradient(circle at 35% 25%,color-mix(in srgb,var(--color) 60%,white),var(--color) 45%,color-mix(in srgb,var(--color) 25%,#06182a) 100%);box-shadow:0 0 0 3px var(--color),0 0 10px 5px var(--color),0 0 28px color-mix(in srgb,var(--color) 55%,transparent),inset 0 0 8px #fff;outline:3px solid white;outline-offset:-5px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:white;transition:filter .2s,box-shadow .2s}.node:after{content:'';position:absolute;inset:7px;border:1px solid #ffffff80;border-radius:50%;pointer-events:none}.node:hover{filter:brightness(1.2);box-shadow:0 0 0 5px var(--color),0 0 35px 8px var(--color)}.node svg{width:34px;height:34px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;margin-bottom:4px}.node .label{font-family:'Barlow Condensed',Arial,sans-serif;font-size:19px;font-weight:600;line-height:1.05;max-width:104px;text-shadow:0 1px 3px #0005}.node.small{width:67px;height:67px;outline-width:2px;box-shadow:0 0 0 2px var(--color),0 0 14px 3px var(--color)}.node.small svg{width:27px;height:27px;margin:0}.node.small .label{position:absolute;top:81px;font-family:Inter,sans-serif;font-size:12px;line-height:1.3;max-width:none;width:150px;text-shadow:0 2px 5px #000,0 0 8px #000;background:#041521b0;padding:4px 6px;border-radius:5px}.node.center{width:185px;height:185px;color:#102600;background:#b8ff27;box-shadow:0 0 0 6px #b8ff2760,0 0 40px #b8ff27}.node.center svg{width:65px;height:57px;stroke:none}.node.center .label{font-family:Inter,sans-serif;font-weight:800;font-size:24px;max-width:160px;letter-spacing:-1px;text-shadow:none}.node.proposal{width:133px;height:133px}.node.proposal .label{font-size:18px;max-width:110px}.node.selected{box-shadow:0 0 0 8px white,0 0 45px var(--color)}.controls{position:absolute;right:28px;top:24px;display:flex;flex-direction:column;border:2px solid var(--lime);border-radius:22px;background:#051623e8;padding:4px;z-index:3}.controls button{width:39px;height:45px;background:none;border:0;font-size:27px;font-weight:700}.controls button:hover{color:var(--lime)}.map-hint{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);white-space:nowrap;border:1px solid #b8ff2770;background:#051623e8;padding:12px 17px;border-radius:25px;font-size:10px;z-index:3}.map-hint b{color:var(--lime);font-size:15px}.map-hint span{margin-left:10px;color:var(--lime)}.ribbons{position:absolute;bottom:-70px;right:-120px;width:500px;height:120px;border-top:24px solid var(--lime);border-bottom:23px solid #fc349e;transform:rotate(-22deg);pointer-events:none}#breadcrumbs{position:absolute;left:30px;top:0;z-index:4;display:flex;align-items:center;gap:8px;font-size:10px;color:#cedbe3;max-width:80%;flex-wrap:wrap}#breadcrumbs button{border:0;background:#051623d0;padding:8px 12px;border-radius:20px;font-size:10px;color:var(--lime)}.bottom-note{height:28px;padding:7px;text-align:center;background:#03111d;color:#94a8b1;font-size:9px;position:relative}.bottom-note span{color:var(--lime);padding:0 7px}.back{background:none;border:0;color:var(--lime);font-size:11px;padding:0;margin-bottom:15px}#story.focus{padding-top:55px}#story.focus h1{font-size:34px;letter-spacing:-1px}.proposal-list{display:grid;gap:9px;margin-top:23px}.proposal-list button{background:#071b29db;border:1px solid #ffffff30;border-left:3px solid var(--color);padding:13px 12px;border-radius:6px;text-align:left;font-size:12px;line-height:1.4}.proposal-list button:hover{border-color:var(--color)}.proposal-list small{display:block;color:#8ca9b9;font-size:9px;margin-top:6px}.micro{font-size:10px!important;color:#9db1bd!important}.level{display:inline-block;font-size:9px;color:var(--lime);border:1px solid #b8ff2760;padding:6px 9px;border-radius:20px;letter-spacing:1px}.relation-key{font-size:10px;line-height:1.9;color:#bad0dc;margin-top:22px}.relation-key span{display:inline-block;width:20px;border-top:2px solid var(--lime);margin-right:8px}.relation-key span.dashed{border-top:2px dashed #acbfca}#drawer{position:absolute;right:90px;top:15px;bottom:45px;width:350px;background:#061725f5;backdrop-filter:blur(18px);border:1px solid #b8ff2755;border-radius:18px;z-index:6;padding:28px;overflow:auto;box-shadow:0 15px 60px #0008}#drawer[hidden]{display:none}.close{position:absolute;right:14px;top:10px;font-size:25px;background:none;border:0}#drawer h2{font-size:27px;line-height:1.1;letter-spacing:-.9px;margin:17px 0;color:var(--color)}#drawer h3{font-size:10px;text-transform:uppercase;letter-spacing:1.2px;margin:24px 0 10px;color:var(--lime)}#drawer p,#drawer li{font-size:12px;line-height:1.75;color:#c0d1db}#drawer ol{padding-left:18px}#drawer .related{width:100%;display:block;text-align:left;background:#ffffff07;border:1px solid #ffffff20;padding:11px;margin:7px 0;border-radius:6px;font-size:12px}#drawer .related small{display:block;font-size:10px;color:#98adba;line-height:1.5;margin-top:6px}.grid-list{display:grid;grid-template-columns:1fr 1fr;gap:9px}.grid-list button{border:1px solid #ffffff25;background:#0a2234;text-align:left;border-radius:8px;padding:14px;font-size:12px}.grid-list button:hover{border-color:var(--lime)}#drawer.wide{width:610px}.group-label{font-size:10px;color:#b8ff27;padding-top:10px}.expanded #story{display:none}.expanded .map{left:0}
@media(max-width:1100px){header{gap:16px}.brand b{font-size:22px}.brand svg{width:48px}.city{font-size:12px;padding-left:15px}.city strong{font-size:16px}nav button{padding:12px 10px;font-size:10px}#story{min-width:255px;padding-top:90px}h1{font-size:36px}.map{left:25%}#drawer{right:70px;width:320px}.controls{right:15px}.map-hint{font-size:8px;padding:10px}}
@media(max-width:760px){header{height:135px;flex-wrap:wrap;align-content:center;gap:14px;padding:15px 5%}.brand b{font-size:22px}.brand svg{height:50px}.city{margin-left:auto}nav{width:100%;margin:0;justify-content:space-between;gap:0;padding-bottom:7px}nav button{font-size:10px;padding:10px}.scene{background-size:auto 120%;background-position:65% center;background-image:linear-gradient(90deg,#051623e0,#05162377),url('municipio.jpeg')}main{height:auto;min-height:0;display:block}#story{width:100%;max-width:none;min-width:0;padding:25px 6% 10px;pointer-events:auto}h1{font-size:33px;margin:12px 0}#story h1 br{display:none}.underline{width:140px;margin-bottom:5px}#story .intro{max-width:none;font-size:11px}.explore{margin-top:15px;padding:10px 16px}.map{position:relative;inset:auto;height:660px;width:100%}#viewport{inset:35px 45px 45px 0}.controls{top:60px;right:8px;padding:2px}.controls button{width:27px;height:36px;font-size:23px}.map-hint{max-width:95%;font-size:8px;padding:10px;bottom:12px}.ribbons{width:300px;right:-100px;bottom:-80px}#story.focus{padding:20px 6% 10px}#story.focus h1{font-size:28px}.proposal-list{grid-template-columns:repeat(3,1fr);gap:5px;margin-top:10px}.proposal-list button{font-size:10px;padding:9px}.relation-key{display:none}#drawer,#drawer.wide{position:fixed;top:155px;bottom:25px;right:4%;width:92%;max-height:75vh;z-index:20}.grid-list{grid-template-columns:1fr 1fr}#breadcrumbs{left:15px;max-width:90%}.expanded .map{height:calc(100vh - 165px)}.bottom-note{font-size:8px}.level{font-size:8px}}
.node.center svg path:first-child{fill:#64b90c;stroke:white;stroke-width:1}
.ribbons{height:60px;bottom:10px;right:-140px;border-top-width:23px;border-bottom-width:22px}
.node{background:radial-gradient(circle at 35% 20%,color-mix(in srgb,var(--color) 75%,white),var(--color) 35%,color-mix(in srgb,var(--color) 30%,#06182a) 100%)}
.node.center{background:#b8ff27}
@media(max-width:760px){.ribbons{bottom:0;right:-125px}}
#story .intro.readable{font-size:18px;line-height:1.8;max-width:310px;color:#e0eaf0}
#drawer.light-proposal{background:#fff;color:#182b38;border:1px solid #fff;backdrop-filter:none;width:420px;top:60px;bottom:auto;max-height:calc(100% - 110px);padding:35px 32px;border-radius:16px;box-shadow:0 16px 65px #0007}
#drawer.light-proposal h2{color:#142d3d;font-size:32px;line-height:1.15;margin:18px 0 25px;letter-spacing:-.8px}
#drawer.light-proposal p{color:#455764;font-size:17px;line-height:1.8}
#drawer.light-proposal .proposal-lead{font-size:20px;line-height:1.65;color:#1b3344}
#drawer.light-proposal .proposal-kicker{color:#627584;font-size:10px;letter-spacing:1.6px;margin:0}
#drawer.light-proposal .close{color:#344a58;border-radius:50%;background:#edf2f5;width:32px;height:32px;top:12px;right:12px;font-size:23px;line-height:1}
#drawer.light-proposal .return-map{border:1px solid #ccd7df;border-radius:24px;background:#f1f5f7;color:#253c4d;padding:12px 16px;font-size:13px;margin-top:18px}
#drawer.light-proposal button:focus-visible{outline:2px solid #25465d;outline-offset:3px}
@media(max-width:760px){#drawer.light-proposal{width:92%;right:4%;top:155px;bottom:auto;max-height:calc(100dvh - 180px);padding:28px 24px}#drawer.light-proposal h2{font-size:27px}#drawer.light-proposal .proposal-lead{font-size:18px}#drawer.light-proposal p{font-size:16px}#story .intro.readable{max-width:none;font-size:16px}}
/* The entire project lives on one persistent, zoomable canvas. */
#world .node.tree-root{width:310px;height:310px;background:#b8ff27;color:#102600}
#world .tree-root svg{width:105px;height:90px;stroke:none}
#world .tree-root svg path:first-child{fill:#64b90c;stroke:white;stroke-width:1}
#world .tree-root .label{font:800 40px/1.02 Inter,sans-serif;max-width:280px;text-shadow:none;letter-spacing:-2px}
#world .node.tree-group{width:230px;height:230px}
#world .node.tree-axis{width:185px;height:185px}
#world .node.tree-sub{width:155px;height:155px}
#world .node.tree-proposal{width:140px;height:140px}
#world .node:not(.tree-root) svg{width:48px;height:48px}
#world .tree-group .label{font-size:32px;max-width:195px}
#world .tree-axis .label{font-size:28px;max-width:160px}
#world .tree-sub .label{font-size:25px;max-width:140px}
#world .tree-proposal .label{position:absolute;top:160px;font:600 24px/1.25 Inter,sans-serif;width:235px;max-width:none;color:white;background:#041521e8;padding:9px 12px;border-radius:9px;text-shadow:0 1px 3px black}
#edges line.branch-link{stroke-width:7;opacity:.75}
#edges line.cross-link{stroke-width:2;stroke-dasharray:10 14;opacity:.12;filter:none}
#edges line.lit{opacity:1;stroke-width:9;filter:drop-shadow(0 0 8px var(--line))}
#edges line.cross-link.lit{stroke-width:4;opacity:.8}
.tree-count{font-size:11px;color:var(--lime);line-height:1.7;margin-top:24px}
.tree-guide{font-size:11px;color:#bacad4;line-height:1.9}
.tree-badge{color:#c6d3db;font-size:8px;letter-spacing:1.1px;background:#051623cc;border-radius:20px;padding:8px 12px}
#story h1{font-size:clamp(30px,2.8vw,43px)}
@media(max-width:760px){.tree-guide{display:none}.tree-count{margin:16px 0 0}.tree-badge{font-size:7px}#story h1{font-size:30px}}
#viewport{touch-action:none;overscroll-behavior:contain;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
#world{will-change:transform}
@media(max-width:760px){
 header{height:96px;padding:10px 5%;gap:8px}.brand svg{height:37px;width:40px}.brand b{font-size:18px}.city{font-size:10px}.city strong{font-size:14px}nav{padding-bottom:4px}nav button{min-height:38px;padding:7px 13px;font-size:11px}
 #story{padding:14px 5% 8px}#story .eyebrow{font-size:7px;margin:0 0 7px}#story h1{font-size:23px;line-height:1.14;letter-spacing:-.7px;margin:0 0 10px;max-width:390px}#story .intro{display:none}#story .explore{display:inline-flex;margin:0;padding:7px 13px;font-size:11px;min-height:44px;gap:9px}#story .explore span{font-size:20px}.tree-count{font-size:9px;margin:8px 0 0}.tree-guide{display:none}
 .map{height:calc(100svh - 265px);min-height:440px}#viewport{inset:36px 0 66px}.controls{top:auto;bottom:8px;right:8px;flex-direction:row;border-radius:16px;background:#051623f2;gap:0;padding:1px}.controls button{width:44px;height:44px;font-size:24px}
 .map-hint{left:8px;bottom:12px;transform:none;max-width:calc(100% - 210px);white-space:normal;line-height:1.6;padding:0;border:0;background:none;font-size:9px}.map-hint #zoom{display:none}.map-hint span{margin-left:3px}.tree-badge{font-size:7px}#breadcrumbs{left:10px;top:5px}
 #drawer.light-proposal,#drawer,#drawer.wide{top:auto;bottom:max(8px,env(safe-area-inset-bottom));right:8px;width:calc(100% - 16px);max-height:80dvh;border-radius:18px;padding:28px 22px;overscroll-behavior:contain}
 #drawer.light-proposal .close,#drawer .close{width:44px;height:44px;top:7px;right:7px}#drawer.light-proposal .proposal-kicker{padding-right:35px}#drawer.light-proposal h2{font-size:27px;margin:18px 0}#drawer.light-proposal .return-map{min-height:44px}
 .ribbons{opacity:.45;pointer-events:none}.expanded .map{height:calc(100dvh - 120px);min-height:400px}.bottom-note{font-size:7px;padding:7px 10px}
}
