*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:85px}body{margin:0;background:#fff;color:#111318;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}.topbar{height:66px;border-bottom:1px solid #e7e8eb;display:flex;align-items:center;justify-content:space-between;padding:0 max(28px,calc((100% - 1080px)/2));gap:24px}.brand{display:flex;align-items:center;gap:9px;font-size:10px;font-weight:800;letter-spacing:.12em;white-space:nowrap}.brand-icon{width:27px;height:27px;border:1.5px solid #15171c;border-radius:50%;display:grid;place-items:center;font-size:16px;letter-spacing:-.1em}.brand-icon span{color:#4748c7}nav{display:flex;gap:26px;font-size:11px;color:#424650}nav a:hover,.text-link:hover,.contact-row a:hover{color:#4445c8}.top-link{font-size:11px;font-weight:700;border:1px solid #d9dbe1;padding:9px 13px;border-radius:4px}.menu{display:none;background:white;border:0;font-size:20px}.wrap{width:min(1020px,calc(100% - 48px));margin:auto}.intro{display:grid;grid-template-columns:150px 1fr;gap:32px;align-items:center;padding:38px 0 30px;border-bottom:1px solid #e5e6e9}.portrait{width:142px;height:166px;object-fit:cover;object-position:center 17%;filter:saturate(.65);border-radius:3px;background:#f1f1f1}.eyebrow{font:9px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.09em;color:#4b4cc2;margin:0 0 10px}.intro h1{font-size:clamp(25px,3vw,34px);letter-spacing:-.055em;line-height:1.15;margin:0;font-weight:780}.alias{font-size:12px;font-weight:600;color:#515661;margin:7px 0 10px}.alias span{color:#858993;padding:0 5px}.summary{max-width:680px;font-size:12px;line-height:1.75;color:#454a54;margin:0 0 13px}.contact-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:11px;font-weight:600}.contact-sep{color:#c4c6cc}.contact-row a:first-child{color:#3435a8}.skills{display:flex;flex-wrap:wrap;gap:6px;margin-top:13px}.skills span,.tags span{border:1px solid #e0e1e5;background:#fafafa;border-radius:3px;padding:5px 8px;font-size:9px;color:#282b32}.education-note{font-size:10px;color:#676c75;margin:10px 0 0}.projects{padding:28px 0 24px}.section-title{display:flex;justify-content:space-between;align-items:end;margin-bottom:15px}.section-title .eyebrow{margin:0}.section-title h2{font-size:21px;letter-spacing:-.04em;margin:4px 0 0}.section-title h2 span{color:#4b4cc2}.project-card{display:grid;grid-template-columns:.8fr 1.2fr;border:1px solid #e1e3e7;border-radius:5px;overflow:hidden;margin-bottom:12px;background:#fff}.project-info{padding:20px 21px;align-self:center}.project-meta{display:flex;justify-content:space-between;gap:12px;font:8px ui-monospace,monospace;color:#747985;letter-spacing:.04em}.project-info h3{font-size:20px;line-height:1.2;letter-spacing:-.045em;margin:15px 0 9px}.project-info p{font-size:11px;line-height:1.8;color:#4e535d;margin:0}.text-link{display:inline-block;font-size:10px;font-weight:750;color:#3738a8;margin-top:14px}.subject-panel{background:#f7f8fa;border-left:1px solid #e5e6eb;padding:16px 18px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:11px;border-bottom:1px solid #e2e4e9}.panel-heading b{font-size:11px}.panel-heading span{font:8px ui-monospace,monospace;color:#686e79;letter-spacing:.05em}.subject-list{list-style:none;margin:0;padding:0}.subject-list li{display:grid;grid-template-columns:23px 1fr auto;align-items:center;gap:9px;min-height:33px;border-bottom:1px solid #e8e9ed;font-size:10px}.check{font:9px ui-monospace,monospace;color:#4b4cc2}.subject-status{font-size:8px;color:#727783}.panel-note{font-size:8px;color:#747985;margin:10px 0 0;line-height:1.5}.arete-card .project-info{padding-right:25px}.tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:14px}.map-panel{background:#f8faf7;border-left:1px solid #e5e6eb;padding:13px 15px 10px}.map-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;margin-bottom:9px}.map-top b span{color:#4b4cc2}.map-live{font:8px ui-monospace,monospace;letter-spacing:.04em;color:#6d746e}.map-live i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#3b9b72;margin-right:5px}.neighborhood-map{height:208px;position:relative;overflow:hidden;border:1px solid #e5e9e3;border-radius:4px;background:#f5f7f4}.neighborhood-map svg{width:100%;height:100%;display:block}.map-pin{position:absolute;display:flex;align-items:center;gap:6px;z-index:1}.pin-icon{display:grid;place-items:center;width:23px;height:23px;border:2px solid white;box-shadow:0 1px 5px #15192324;border-radius:50%;font-size:10px;flex-shrink:0}.person-pin .pin-icon{background:#4445bd;color:white}.event-pin .pin-icon{background:#277a60;color:white;border-radius:5px}.pin-label{background:white;border:1px solid #e1e4df;border-radius:3px;padding:5px 7px;box-shadow:0 2px 6px #22222208;white-space:nowrap}.pin-label b,.pin-label small{display:block}.pin-label b{font-size:8px}.pin-label small{font-size:7px;color:#6c727b;margin-top:3px}.pin-a{left:18%;top:36%}.pin-b{left:52%;top:63%}.pin-c{left:3%;top:9%}.pin-d{right:3%;top:31%}.map-legend{display:flex;align-items:center;gap:13px;flex-wrap:wrap;padding-top:9px;font-size:8px;color:#626970}.map-legend span{display:flex;align-items:center;gap:5px}.map-legend i{width:7px;height:7px;display:inline-block;border-radius:50%}.legend-person{background:#4445bd}.legend-event{background:#277a60;border-radius:2px!important}.map-legend .illustrative{margin-left:auto;color:#858a91}.profile-strip{display:grid;grid-template-columns:1fr 1fr;gap:45px;padding:25px 0 28px;border-top:1px solid #e5e6e9;border-bottom:1px solid #e5e6e9;align-items:center}.profile-strip .eyebrow{margin-bottom:8px}.profile-strip h2{font-size:20px;letter-spacing:-.04em;line-height:1.3;margin:0}.profile-strip>p{font-size:11px;line-height:1.85;color:#4e535d;margin:0}.contact-section{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:26px 0 32px}.contact-section .eyebrow{margin-bottom:7px}.contact-section h2{font-size:18px;letter-spacing:-.035em;margin:0}.contact-details{display:flex;flex-direction:column;gap:7px;align-items:flex-end;font-size:10px;font-weight:600}.contact-details a:first-child{color:#3435a8}footer{min-height:54px;border-top:1px solid #e5e6e9;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px max(24px,calc((100% - 1020px)/2));font-size:9px;color:#777c85}footer .brand{color:#17191e}footer .brand-icon{width:23px;height:23px;font-size:14px}@media(min-width:1200px){.wrap{width:980px}}@media(max-width:700px){.topbar{padding:0 18px;gap:13px}nav{display:none;position:absolute;top:65px;left:0;right:0;background:white;padding:18px 22px;border-bottom:1px solid #ddd;z-index:4;flex-direction:column;gap:18px}nav.open{display:flex}.menu{display:block}.top-link{margin-left:auto}.wrap{width:calc(100% - 32px)}.intro{grid-template-columns:94px 1fr;gap:17px;padding:27px 0 23px;align-items:start}.portrait{width:92px;height:112px}.intro h1{font-size:24px}.eyebrow{font-size:8px;line-height:1.5}.summary{font-size:11px}.contact-row{gap:7px;font-size:10px}.skills{gap:5px}.skills span{font-size:8px;padding:4px 6px}.project-card{grid-template-columns:1fr}.project-info{padding:17px}.subject-panel,.map-panel{border-left:0;border-top:1px solid #e5e6eb}.section-title{display:block}.section-title h2{font-size:20px}.profile-strip{grid-template-columns:1fr;gap:12px;padding:22px 0}.contact-section{align-items:flex-start;flex-direction:column;gap:16px}.contact-details{align-items:flex-start}.map-legend .illustrative{margin-left:0;width:100%}footer{padding:13px 16px;flex-wrap:wrap}footer>span:nth-child(2){order:3;width:100%}}@media(max-width:390px){.intro{grid-template-columns:78px 1fr;gap:12px}.portrait{width:76px;height:98px}.intro h1{font-size:21px}.contact-row{font-size:9px}.contact-sep{display:none}.contact-row{column-gap:10px}.subject-list li{grid-template-columns:19px 1fr auto;font-size:9px}.subject-status{font-size:7px}.pin-label{padding:4px}.pin-label b{font-size:7px}.pin-label small{font-size:6px}.pin-icon{width:19px;height:19px}.pin-a{left:15%}.pin-b{left:49%}.pin-d{right:1%}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}


/* Accesibilidad: contraste reforzado y temas completos claro/oscuro. */
:root { color-scheme: dark; --page:#111318; --text:#f2f3f7; --muted:#d0d3dc; --subtle:#b5bac6; --line:#3a3e49; --surface:#1b1e26; --surface-alt:#242833; --accent:#b4b5ff; --accent-hover:#d0d1ff; --tag:#252833; --map:#20251f; }
:root[data-theme="light"] { color-scheme: light; --page:#ffffff; --text:#171923; --muted:#454b57; --subtle:#5b616d; --line:#d9dce3; --surface:#f4f5f8; --surface-alt:#eef0f4; --accent:#3435a8; --accent-hover:#25267f; --tag:#f5f6f8; --map:#f1f4ef; }
body { background:var(--page); color:var(--text); transition:background-color .18s ease,color .18s ease; }
.topbar, footer { border-color:var(--line); }
.brand-icon { border-color:var(--text); }
.brand, footer .brand { color:var(--text); }
nav { color:var(--muted); }
nav a:hover, .text-link:hover, .contact-row a:hover { color:var(--accent-hover); }
.top-link, .theme-toggle { color:var(--text); border:1px solid var(--line); background:var(--surface); }
.top-link:hover, .theme-toggle:hover { border-color:var(--accent); background:var(--surface-alt); }
.menu { color:var(--text); background:var(--page); }
.intro, .profile-strip, .panel-heading, .subject-list li, footer { border-color:var(--line); }
.eyebrow, .contact-row a:first-child, .contact-details a:first-child, .text-link, .check { color:var(--accent); }
.alias, .summary, .project-info p, .profile-strip>p { color:var(--muted); }
.alias span, .education-note, .project-meta, .subject-status, .panel-note, .panel-heading span, .map-legend, footer { color:var(--subtle); }
.skills span, .tags span { color:var(--text); background:var(--tag); border-color:var(--line); }
.project-card { background:var(--page); border-color:var(--line); }
.subject-panel { background:var(--surface); border-color:var(--line); }
.map-panel { background:var(--surface); border-color:var(--line); }
.neighborhood-map { background:var(--map); border-color:var(--line); }
.neighborhood-map svg rect:first-child { fill:var(--map); }
.neighborhood-map svg path { stroke:var(--line); }
.neighborhood-map svg path[stroke-dasharray] { stroke:#829681; }
.neighborhood-map svg rect:nth-of-type(2) { fill:var(--surface-alt); }
.neighborhood-map svg rect:nth-of-type(3) { fill:var(--surface-alt); }
.neighborhood-map svg text { fill:var(--muted); }
.pin-label { color:#171923; background:#ffffff; border-color:#d4d8df; }
.pin-label small { color:#4b515c; }
.map-live { color:var(--subtle); }
.theme-toggle { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:35px; padding:7px 10px; border-radius:4px; font:600 10px/1.2 inherit; font-family:inherit; font-size:10px; font-weight:700; cursor:pointer; white-space:nowrap; }
.theme-icon { font-size:15px; line-height:1; }
:focus-visible { outline:3px solid #7778ff; outline-offset:3px; }
@media(max-width:700px) { .topbar { gap:9px; } .theme-toggle { padding:7px 8px; } .theme-label { display:none; } nav { background:var(--page); border-color:var(--line); } }
@media(prefers-reduced-motion:reduce) { body { transition:none; } }

/* Presentación breve entre la ficha personal y los proyectos. */
.manifesto{display:grid;grid-template-columns:.8fr 1.2fr;gap:42px;padding:30px 25px;margin:0 -25px 4px;border-bottom:1px solid var(--line);background:linear-gradient(120deg,var(--surface) 0%,var(--page) 78%);border-radius:6px;}
.manifesto-heading h2{font-size:clamp(23px,3vw,31px);line-height:1.2;letter-spacing:-.055em;margin:0;font-weight:780;}
.manifesto-heading h2 span{color:var(--accent)}
.manifesto-copy p{font-size:11px;line-height:1.85;color:var(--muted);margin:0 0 11px;}
.manifesto-copy .manifesto-lead{font-size:13px;line-height:1.7;font-weight:650;color:var(--text);}
.principles{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0 17px;}
.principles span{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);background:var(--surface-alt);border-radius:4px;padding:7px 9px;font-size:9px;color:var(--text);}
.principles b{font:9px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--accent)}
.manifesto-copy .tech-line{border-top:1px solid var(--line);padding-top:12px;margin:0;font-size:10px;color:var(--text);}
.tech-line span{display:block;font:8px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.09em;color:var(--accent);margin-bottom:7px;}
@media(max-width:700px){.manifesto{grid-template-columns:1fr;gap:16px;padding:23px 17px;margin:0 -8px 2px}.manifesto-heading h2{font-size:25px}.manifesto-copy .manifesto-lead{font-size:12px}}
