:root{color-scheme:dark;--bg:#0b1522;--bg2:#0e1c2b;--panel:#14263a;--panel2:#172d43;--line:#294156;--text:#eaf1f5;--muted:#a0b1c0;--accent:#63e0be;--accent2:#8ce8cc;--max:1160px;--font:"DM Sans",sans-serif;--display:"Manrope",sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);line-height:1.7;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit}::selection{background:var(--accent);color:#071722}.container{width:min(calc(100% - 64px),var(--max));margin-inline:auto}.skip-link{position:fixed;top:-80px;left:24px;z-index:20;padding:12px;background:var(--accent);color:#071722}.skip-link:focus{top:16px}.reading-progress{height:2px;background:var(--accent);position:fixed;left:0;top:0;width:0;z-index:100}.header{position:sticky;top:0;z-index:50;background:rgba(11,21,34,.88);border-bottom:1px solid rgba(143,182,202,.11);backdrop-filter:blur(20px)}.header-inner{height:86px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:17px}.brand-name{font:800 clamp(17px,1.72vw,23px)/1.2 var(--display);letter-spacing:-.045em;white-space:nowrap;color:var(--text)}.brand-name span{color:var(--accent)}.brand-dot,.period,.footer-brand span{color:var(--accent)}.brand-rule{height:31px;width:1px;background:var(--line)}.brand-caption{font-size:9px;line-height:1.4;font-weight:800;letter-spacing:.2em;color:#9aafbe}.nav{display:flex;align-items:center;gap:32px}.nav a{font-size:12px;font-weight:700;letter-spacing:.025em;color:#c7d2db;transition:color .2s}.nav a:hover,.nav a:focus-visible{color:var(--accent)}.nav .nav-contact{padding:12px 18px;border:1px solid #456176;border-radius:3px;color:var(--text)}.nav-contact span{color:var(--accent);margin-left:10px}.menu-toggle{display:none}.hero{position:relative;overflow:hidden;background:radial-gradient(circle at 74% 39%,#173952 0,transparent 35%),linear-gradient(150deg,#0a1420,#0e1c2b 70%);border-bottom:1px solid var(--line)}.hero-pattern{position:absolute;inset:0;opacity:.25;pointer-events:none;background-image:linear-gradient(#67809614 1px,transparent 1px),linear-gradient(90deg,#67809614 1px,transparent 1px);background-size:70px 70px;mask-image:linear-gradient(90deg,transparent 28%,black)}.hero-grid{min-height:665px;display:grid;grid-template-columns:1.07fr .93fr;gap:25px;align-items:center;position:relative}.hero-copy{padding:63px 0 50px;position:relative;z-index:2}.eyebrow,.section-kicker{font-size:11px;font-weight:800;letter-spacing:.2em;color:var(--accent);display:flex;align-items:center;gap:12px}.eyebrow-line{display:inline-block;width:23px;height:1px;background:var(--accent)}.eyebrow-year{color:#8ea5b9;margin-left:5px}.hero-intro{font-size:20px;color:#becbd5;margin:35px 0 4px}.hero h1{font:800 clamp(62px,7vw,100px)/1.09 var(--display);letter-spacing:-.08em;margin:0}.hero h1>span:first-child{color:transparent;-webkit-text-stroke:1.5px #bfd0db}.hero h1 .period{margin-left:2px}.hero-role{font-size:19px;font-weight:600;margin:25px 0 15px;color:#e6edf4}.role-separator{margin:0 10px;color:var(--accent)}.hero-description{font-size:15px;max-width:525px;color:var(--muted);line-height:1.9;margin:0 0 31px}.hero-actions{display:flex;gap:15px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:51px;padding:13px 20px;font-size:12px;font-weight:800;letter-spacing:.02em;border-radius:3px;transition:transform .2s,background .2s,border-color .2s}.button:hover{transform:translateY(-3px)}.button-primary{background:var(--accent);color:#082235}.button-primary:hover{background:#94f5d7}.button-quiet{border:1px solid #3c586e;color:var(--text)}.button-quiet:hover{border-color:var(--accent)}.hero-bottom{display:flex;align-items:center;gap:10px;color:#8ba3b3;font-size:9px;letter-spacing:.14em;font-weight:800;margin-top:65px}.pulse{display:inline-block;width:7px;height:7px;background:var(--accent);border-radius:50%;box-shadow:0 0 0 5px #63e0be1c}.hero-art{height:580px;position:relative;display:flex;justify-content:center;align-items:center}.portrait-frame{height:450px;width:345px;position:relative;z-index:2;overflow:hidden;border:1px solid rgba(136,221,205,.36);border-radius:190px 190px 8px 8px;background:linear-gradient(160deg,#2c5361 0%,#132c40 80%);box-shadow:0 25px 75px #030b1590}.portrait-photo{width:100%;height:100%;object-fit:cover;object-position:center 28%;display:block;filter:saturate(.82) contrast(1.04)}.portrait-placeholder{position:absolute;inset:0;display:grid;place-items:center;font:800 100px var(--display);color:#93b8b6;background:linear-gradient(135deg,#294957,#12243a)}.portrait-frame:after{content:"";inset:0;position:absolute;pointer-events:none;box-shadow:inset 0 -75px 90px #0b152299}.art-orbit{position:absolute;border-radius:50%;border:1px solid #3d69707d}.orbit-one{width:500px;height:500px}.orbit-two{width:570px;height:570px;border-style:dashed;opacity:.45}.floating-note{z-index:3;position:absolute;display:flex;align-items:center;gap:12px;padding:12px 18px;background:#10283bcf;border:1px solid #4b767887;box-shadow:0 10px 30px #05101d60;backdrop-filter:blur(14px);font-size:10px;font-weight:800;letter-spacing:.12em;color:#dbe8eb}.note-icon{font-size:25px;font-family:Georgia,serif;color:var(--accent);line-height:1}.floating-note-one{left:-6px;top:170px}.floating-note-two{right:-16px;bottom:115px}.chart-trace{position:absolute;z-index:4;bottom:27px;left:5px;width:225px;color:var(--accent);opacity:.9}.chart-trace svg{width:100%}.hero-index{height:59px;display:flex;align-items:center;gap:16px;color:#8099ac;font-size:9px;letter-spacing:.2em;font-weight:800}.scroll-line{display:inline-block;width:62px;height:1px;background:#59758a}.hero-index span:last-child{margin-left:auto}.section{padding:115px 0}.section-kicker{margin:0 0 24px}.section-kicker span{color:#6f899b}.section h2{font:800 clamp(30px,3.5vw,49px)/1.3 var(--display);letter-spacing:-.055em;margin:0}.section h2 em{font-style:normal;color:var(--accent)}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:9%}.about-copy p{font-size:15px;color:var(--muted);line-height:2;margin:0 0 17px}.about-copy strong{color:var(--text);font-weight:700}.about-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:25px}.about-tags span{border:1px solid var(--line);color:#acc1ce;padding:6px 12px;font-size:11px;border-radius:2px}.section-focus{background:var(--bg2);border-block:1px solid var(--line)}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:43px}.section-heading>p{color:var(--muted);font-size:13px;max-width:320px;margin:0 0 5px}.expertise-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.expertise-card{padding:29px 27px 23px;background:var(--panel);border:1px solid #29435a;min-height:325px;display:flex;flex-direction:column;transition:transform .2s,border-color .2s}.expertise-card:hover{transform:translateY(-6px);border-color:#56a794}.card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:38px}.card-number{color:#8ba2b4;font-size:12px;font-weight:800;letter-spacing:.1em}.skill-symbol{font-size:40px;font-weight:300;color:var(--accent);line-height:1}.expertise-card h3{font:800 20px/1.35 var(--display);letter-spacing:-.035em;margin:0 0 15px}.expertise-card p{font-size:13px;color:var(--muted);line-height:1.85;margin:0 0 22px}.card-detail{border-top:1px solid #30465b;padding-top:16px;margin-top:auto;display:flex;justify-content:space-between;color:var(--accent);font-size:9px;font-weight:800;letter-spacing:.11em}.card-detail span{font-size:19px;line-height:.7}.section-work{background:var(--bg)}.projects-grid{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:18px}.project-card{overflow:hidden;background:var(--panel);border:1px solid #2a4257;transition:transform .2s,border-color .2s}.project-card:hover{transform:translateY(-4px);border-color:#4fae99}.project-art{height:195px;position:relative;overflow:hidden;background:#112b3e;display:flex;align-items:center;justify-content:center}.project-art-predict{background:radial-gradient(circle at 75% 20%,#28555a,#10283b 70%)}.project-art-predict svg{width:85%;position:relative;z-index:1}.graph-grid{position:absolute;inset:0;background:linear-gradient(#aed5e010 1px,transparent 1px),linear-gradient(90deg,#aed5e010 1px,transparent 1px);background-size:30px 30px}.project-art-econometrics{background:linear-gradient(130deg,#193e50,#112639)}.scatter{position:absolute;inset:22px 45px;background-image:radial-gradient(circle,#6bd8b8 2px,transparent 2.8px),radial-gradient(circle,#6bd8b8 2px,transparent 2.8px);background-size:48px 42px,63px 49px;background-position:11px 18px,29px 10px;opacity:.65;transform:rotate(-19deg)}.trend{width:77%;height:2px;background:var(--accent);transform:rotate(-19deg);opacity:.7}.art-sigma{position:absolute;top:16px;right:25px;font:45px Georgia;color:#b0e9d4}.project-art-bi{background:radial-gradient(circle at 50% 50%,#25516a,#10273b 80%)}.mini-dashboard{width:65%;height:135px;border:1px solid #7398a550;border-radius:5px;background:#0d2032;display:grid;grid-template-rows:25px 1fr 30px;padding:10px;gap:9px;transform:rotate(-5deg)}.mini-dashboard>div:first-child{display:flex;gap:7px}.mini-dashboard b{background:#23526a;flex:1;border-radius:2px}.bars{display:flex;align-items:end;gap:9px;padding:0 15px}.bars i{background:linear-gradient(#5fdbc1,#286f79);flex:1;height:65%;border-radius:2px 2px 0 0}.bars i:nth-child(2){height:40%}.bars i:nth-child(3){height:80%}.bars i:nth-child(4){height:56%}.bars i:nth-child(5){height:94%}.bars i:nth-child(6){height:50%}.bars i:nth-child(7){height:73%}.dash-line{height:20px;background:linear-gradient(90deg,#27516a 30%,transparent 30% 37%,#27516a 37% 70%,transparent 70% 77%,#27516a 77%)}.project-content{padding:26px 23px 25px}.project-meta{display:flex;gap:8px;justify-content:space-between;font-size:9px;font-weight:800;letter-spacing:.12em;color:var(--accent)}.project-meta span:last-child{color:#7893a6}.project-content h3{font:800 20px/1.35 var(--display);letter-spacing:-.04em;margin:17px 0 13px}.project-content>p{font-size:13px;line-height:1.85;color:var(--muted);min-height:93px;margin:0 0 20px}.project-tools{font-size:11px;font-weight:600;color:#c7d6dc;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.project-tools i{width:3px;height:3px;background:var(--accent);border-radius:50%}.projects-note{color:#7892a5;font-size:11px;margin:23px 0 0}.section-tools{background:var(--bg2);border-block:1px solid var(--line)}.tools-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:8%;align-items:center}.tools-grid>div:first-child>p:last-child{color:var(--muted);font-size:14px;margin-top:25px;max-width:360px}.tool-list{display:flex;flex-wrap:wrap;gap:13px}.tool-list span{border:1px solid #36566b;background:#14293c;font-size:13px;padding:18px 23px;color:#c6d7de;font-weight:600;transition:border-color .2s,color .2s}.tool-list span:hover{border-color:var(--accent);color:var(--accent)}.section-reading{padding:75px 0}.reading-panel{min-height:380px;background:linear-gradient(110deg,#163444,#13263c);border:1px solid #376173;position:relative;padding:60px 65px;display:flex;justify-content:space-between;align-items:center;overflow:hidden}.reading-panel>div:nth-child(2){max-width:660px;position:relative;z-index:1}.reading-panel h2{font-size:clamp(29px,3vw,43px)}.reading-panel p:not(.section-kicker){color:var(--muted);font-size:14px;max-width:600px;line-height:1.9}.reading-ornament{position:absolute;right:50px;top:20px;font:240px Georgia;color:#85d5b90d;line-height:1}.coming-soon{display:inline-block;color:var(--accent);font-size:10px;font-weight:800;letter-spacing:.16em;margin-top:16px}.reading-symbol{width:190px;flex-shrink:0;color:#7edcbd55}.reading-symbol svg{width:100%}.contact{background:#102335;border-top:1px solid var(--line);padding:85px 0}.contact-grid{display:flex;align-items:center;justify-content:space-between;gap:40px}.contact-grid p:not(.section-kicker){font-size:14px;color:var(--muted);margin-top:22px}.contact-action{display:flex;flex-direction:column;gap:15px;align-items:center}.contact-action>span{font-size:11px;color:#92aebe}.footer{background:#08121d;padding:29px 0}.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:18px;font-size:11px;color:#8fa6b5}.footer-inner>div{display:flex;align-items:center;gap:20px}.footer-brand{font:800 24px var(--display);color:var(--text);letter-spacing:-.07em}.footer-inner p{margin:0}.footer-inner a:hover{color:var(--accent)}a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:4px}@media(max-width:1050px){.nav{gap:18px}.nav a{font-size:11px}.hero h1{font-size:69px}.hero-art{transform:scale(.87)}.floating-note-one{left:-13px}.floating-note-two{right:-23px}.projects-grid{grid-template-columns:repeat(2,1fr)}.project-primary{grid-column:span 2}.project-primary .project-art{height:230px}.project-content>p{min-height:auto}}@media(max-width:760px){.container{width:min(calc(100% - 38px),var(--max))}.header-inner{height:71px}.menu-toggle{display:flex;width:41px;height:41px;background:transparent;border:1px solid var(--line);border-radius:3px;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer}.menu-toggle span{width:20px;height:2px;background:#dce7ed}.nav{display:none;position:absolute;top:70px;left:0;right:0;background:#101f30;border-bottom:1px solid var(--line);padding:25px 20px;flex-direction:column;align-items:stretch;gap:19px}.nav.open{display:flex}.nav a{font-size:14px}.nav .nav-contact{align-self:flex-start}.hero-grid{grid-template-columns:1fr;gap:0;min-height:unset}.hero-copy{padding:65px 0 0}.hero h1{font-size:clamp(58px,14vw,88px)}.hero-description{max-width:580px}.hero-art{height:490px;transform:none;max-width:470px;width:100%;margin:0 auto}.portrait-frame{height:380px;width:290px}.orbit-one{width:430px;height:430px}.orbit-two{width:490px;height:490px}.floating-note-one{left:3%;top:150px}.floating-note-two{right:2%;bottom:90px}.hero-bottom{margin-top:43px}.chart-trace{bottom:8px}.section{padding:80px 0}.about-grid,.tools-grid{grid-template-columns:1fr;gap:24px}.section-heading{display:block}.section-heading>p{max-width:540px;margin:15px 0 0}.expertise-grid{grid-template-columns:1fr}.expertise-card{min-height:260px}.card-top{margin-bottom:20px}.projects-grid{grid-template-columns:1fr}.project-primary{grid-column:auto}.project-art,.project-primary .project-art{height:210px}.reading-panel{padding:47px 28px}.reading-symbol{position:absolute;right:-55px;bottom:-28px;opacity:.4}.contact-grid{flex-direction:column;align-items:flex-start}.contact-action{align-items:flex-start}.footer-inner{flex-wrap:wrap}.footer-inner p{order:3;width:100%}}@media(max-width:420px){.hero h1{font-size:60px}.hero-intro{margin-top:23px}.hero-role{font-size:16px}.hero-art{height:405px}.portrait-frame{width:230px;height:320px}.orbit-one{width:360px;height:360px}.orbit-two{width:410px;height:410px}.floating-note{font-size:8px;padding:8px 10px}.floating-note-one{top:105px;left:-4px}.floating-note-two{right:-4px;bottom:60px}.note-icon{font-size:20px}.chart-trace{width:155px}.hero-bottom{font-size:8px;line-height:1.6}.section h2{font-size:30px}.tool-list span{padding:13px 15px}.footer-inner{font-size:10px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}


/* Portada: nombre legible, sólido y distribuido en tres líneas. */
.hero h1.hero-name {
  font-family: var(--display);
  font-size: clamp(52px, 5.5vw, 80px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.05em;
  margin: 42px 0 0;
  max-width: 100%;
  -webkit-text-stroke: 0 transparent;
}
.hero h1.hero-name > span.name-line {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  -webkit-text-stroke: 0 transparent;
  text-shadow: none;
  font-family: var(--display);
}
.hero h1.hero-name > .name-given {
  font-size: .82em;
  color: #eaf1f5;
}
.hero h1.hero-name > .name-middle {
  font-size: 1em;
  color: #77e1c3;
  -webkit-text-stroke: 0 transparent;
}
.hero h1.hero-name > .name-last {
  font-size: 1em;
  color: #77e1c3;
}
.hero h1.hero-name .period {
  color: var(--accent);
  -webkit-text-stroke: 0 transparent;
}
@media(max-width:1050px) {
  .hero h1.hero-name{font-size:clamp(45px,5.45vw,66px)}
}
@media(max-width:760px) {
  .hero h1.hero-name{font-size:clamp(44px,9.6vw,67px);margin-top:30px}
}
@media(max-width:420px) {
  .hero h1.hero-name{font-size:clamp(36px,9.8vw,47px)}
}

/* Primera tarjeta: ficha de estudio con coautoría y enlace público. */
.project-primary .project-content { display:flex; flex-direction:column; align-items:flex-start; }
.project-primary .project-content h3 { font-size:clamp(18px,1.6vw,21px);line-height:1.4;overflow-wrap:break-word; }
.project-primary .project-content > p:not(.project-authorship) { min-height:0; }
.project-primary .project-authorship { font-size:11px;line-height:1.65;color:#9cb5c3;margin:16px 0;min-height:0; }
.project-publication-link {
  display:inline-flex;align-items:center;justify-content:space-between;gap:18px;
  border:1px solid #477468;border-radius:3px;padding:10px 12px;
  color:#83e6c6;font-size:12px;font-weight:700;margin-top:auto;
  transition:background .2s,color .2s;
}
.project-publication-link:hover,.project-publication-link:focus-visible { background:#1e433f;color:#c5fcec; }
.project-publication-link span { font-size:16px;line-height:1; }

/* Portada original de Estudio 011 en la primera tarjeta, sin recortes. */
.project-primary .project-art-cover {
  height: 285px;
  padding: 17px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at center,#214662 0%,#10283b 63%,#0b1e2c 100%);
}
.project-primary .project-art-cover img {
  display:block;
  height:100%;
  width:auto;
  max-width:100%;
  object-fit:contain;
  box-shadow:0 15px 32px rgba(0,0,0,.32);
}
@media (max-width:760px) {
  .project-primary .project-art-cover{height:255px;padding:16px}
}

/* Tarjeta Estudio 007: portada original y ficha del trabajo publicado. */
.project-study-enp .project-art-cover {
  height:285px;
  padding:17px;
  display:flex;
  justify-content:center;
  align-items:center;
  background:radial-gradient(circle at center,#214662 0%,#10283b 63%,#0b1e2c 100%);
}
.project-study-enp .project-art-cover img {
  display:block;
  height:100%;
  width:auto;
  max-width:100%;
  object-fit:contain;
  box-shadow:0 15px 32px rgba(0,0,0,.32);
}
.project-study-enp .project-content {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.project-study-enp .project-content h3 {
  font-size:18px;
  line-height:1.4;
  overflow-wrap:break-word;
}
.project-study-enp .project-content > p:not(.project-authorship) {
  min-height:0;
}
.project-study-enp .project-authorship {
  font-size:11px;
  line-height:1.65;
  color:#9cb5c3;
  margin:16px 0;
  min-height:0;
}
@media(max-width:760px){
  .project-study-enp .project-art-cover{height:255px;padding:16px}
}

/* Estudio 006: portada original y ficha publicada. */
.project-study-migration .project-art-cover {
  height: 285px;
  padding: 17px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at center,#214662 0%,#10283b 63%,#0b1e2c 100%);
}
.project-study-migration .project-art-cover img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  box-shadow: 0 15px 32px rgba(0,0,0,.32);
}
.project-study-migration .project-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.project-study-migration .project-content h3 {
  font-size: 18px;
  line-height: 1.4;
  overflow-wrap: break-word;
}
.project-study-migration .project-content > p:not(.project-authorship) {
  min-height: 0;
}
.project-study-migration .project-authorship {
  font-size: 11px;
  line-height: 1.65;
  color: #9cb5c3;
  margin: 16px 0;
  min-height: 0;
}
@media(max-width:760px) {
  .project-study-migration .project-art-cover { height: 255px; padding: 16px; }
}

/* Portafolio ampliable: tres columnas en escritorio, dos en tablet y una en móvil. */
.section-work .projects-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
  align-items: stretch;
  gap: 22px;
}
.section-work .projects-grid .project-primary { grid-column: auto; }
.section-work .project-card { display:flex; flex-direction:column; min-width:0; }
.section-work .project-card .project-content { display:flex; flex:1; flex-direction:column; align-items:flex-start; }
.section-work .project-card .project-content > p:not(.project-authorship) { min-height:0; }
.section-work .project-card .project-content > .project-publication-link { margin-top:auto; }
.section-work .project-card .project-tools { margin-bottom:4px; }
.project-independent .project-art-election {
  height:285px;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:17px;
  background:radial-gradient(circle at center,#214662 0%,#10283b 63%,#0b1e2c 100%);
}
.project-independent .project-art-election img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  filter:drop-shadow(0 10px 17px rgba(0,0,0,.22));
}
.project-independent .project-content h3 { font-size:18px;line-height:1.4;overflow-wrap:break-word; }
.project-independent .project-authorship { font-size:11px;line-height:1.65;color:#9cb5c3;margin:16px 0;min-height:0; }
@media (max-width:1050px) {
  .section-work .projects-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:760px) {
  .section-work .projects-grid {grid-template-columns:1fr;gap:18px}
  .project-independent .project-art-election {height:255px;padding:16px}
}

/* Datametría: quinta tarjeta, coherente con las demás publicaciones. */
.project-datametria .project-art-datametria {
  height:285px;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:17px;
  background:radial-gradient(circle at center,#214662 0%,#10283b 63%,#0b1e2c 100%);
}
.project-datametria .project-art-datametria img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  filter:drop-shadow(0 10px 17px rgba(0,0,0,.22));
}
.project-datametria .project-content h3 {
  font-size:18px;
  line-height:1.4;
  overflow-wrap:break-word;
}
.project-datametria .project-authorship {
  font-size:11px;
  line-height:1.65;
  color:#9cb5c3;
  margin:16px 0;
  min-height:0;
}
@media(max-width:760px) {
  .project-datametria .project-art-datametria {height:255px;padding:16px}
}

/* Sexta tarjeta: simulación probabilística de las eliminatorias sudamericanas. */
.project-worldcup .project-art-worldcup {
  height:285px;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:17px;
  background:radial-gradient(circle at center,#214662 0%,#10283b 63%,#0b1e2c 100%);
}
.project-worldcup .project-art-worldcup img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  filter:drop-shadow(0 10px 17px rgba(0,0,0,.22));
}
.project-worldcup .project-content h3 {
  font-size:18px;
  line-height:1.4;
  overflow-wrap:break-word;
}
.project-worldcup .project-authorship {
  font-size:11px;
  line-height:1.65;
  color:#9cb5c3;
  margin:16px 0;
  min-height:0;
}
@media(max-width:760px) {
  .project-worldcup .project-art-worldcup { height:255px; padding:16px }
}

/* Estudio 012: portada original de inserción laboral, sin recortes. */
.project-study-employment .project-art-cover {
  height:285px;
  padding:17px;
  display:flex;
  justify-content:center;
  align-items:center;
  background:radial-gradient(circle at center,#214662 0%,#10283b 63%,#0b1e2c 100%);
}
.project-study-employment .project-art-cover img {
  display:block;
  height:100%;
  width:auto;
  max-width:100%;
  object-fit:contain;
  box-shadow:0 15px 32px rgba(0,0,0,.32);
}
.project-study-employment .project-content h3 {
  font-size:18px;
  line-height:1.4;
  overflow-wrap:break-word;
}
.project-study-employment .project-authorship {
  font-size:11px;
  line-height:1.65;
  color:#9cb5c3;
  margin:16px 0;
  min-height:0;
}
@media(max-width:760px) {
  .project-study-employment .project-art-cover { height:255px; padding:16px; }
}

/* Difusión de investigación: ponencias y participación académica. */
.section-diffusion {
  background:linear-gradient(160deg,#101f30 0%,#0e1c2b 72%,#0b1725 100%);
  border-block:1px solid var(--line);
}
.diffusion-feature {
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  overflow:hidden;
  background:#14263a;
  border:1px solid #315068;
  border-radius:5px;
  box-shadow:0 22px 65px #020b162b;
}
.diffusion-visual {
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:24px;
  background:radial-gradient(circle at 45% 45%,#1d3f57,#0b1c2e 80%);
}
.diffusion-visual img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:686/424;
  object-fit:contain;
  box-shadow:0 15px 36px #02081077;
}
.diffusion-image-note {
  color:#9eb9c7;
  font-size:10px;
  line-height:1.65;
  margin:18px 0 0;
  text-align:center;
  letter-spacing:.025em;
}
.diffusion-content {
  padding:37px clamp(25px,3.5vw,48px) 38px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.diffusion-meta {
  display:flex;
  align-items:center;
  gap:13px;
  flex-wrap:wrap;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
}
.diffusion-meta span {
  color:#0b2731;
  background:var(--accent);
  border-radius:2px;
  padding:6px 9px;
}
.diffusion-meta time {color:#a9c7d2;}
.diffusion-content h3 {
  font:800 clamp(19px,2.05vw,26px)/1.38 var(--display);
  letter-spacing:-.035em;
  margin:21px 0 24px;
}
.diffusion-field-title {
  font-size:10px;
  font-weight:800;
  letter-spacing:.17em;
  color:#7ddfbe;
  margin:0 0 8px;
}
.diffusion-content h4 {
  font:800 clamp(17px,1.75vw,21px)/1.45 var(--display);
  margin:0 0 11px;
  color:#e8f4f7;
}
.diffusion-description {
  color:#b6c8d4;
  font-size:13px;
  line-height:1.85;
  margin:0 0 19px;
}
.diffusion-links {display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:auto;}
.diffusion-links a {
  display:inline-flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  font-size:11px;
  font-weight:800;
  color:#8ee8d0;
  padding:9px 11px;
  border:1px solid #446c69;
  border-radius:3px;
  transition:background .2s,border-color .2s;
}
.diffusion-links a:hover,.diffusion-links a:focus-visible {
  background:#1e433f;
  border-color:#75d3ba;
}
.diffusion-links a span {font-size:14px;}
@media(max-width:1000px){
  .diffusion-feature {grid-template-columns:1fr;}
  .diffusion-visual {padding:26px;}
  .diffusion-visual img {max-width:690px;margin-inline:auto;}
  .diffusion-content {padding:29px;}
}
@media(max-width:760px){
  .diffusion-visual {padding:18px;}
  .diffusion-content {padding:24px 20px;}
}

/* El enlace adicional de Difusión conserva la navegación legible en pantallas intermedias. */
@media(min-width:761px) and (max-width:920px) {
  .header-inner {gap:12px;}
  .brand-caption {display:none;}
  .nav {gap:13px;}
  .nav a {font-size:10px;}
  .nav .nav-contact {padding:10px 12px;}
}

/* Categorías de Mi espacio de trabajo */
.section-tools .tool-categories {display:flex;flex-direction:column;gap:29px;min-width:0;}
.section-tools .tool-category h3 {margin:0 0 12px;color:var(--accent);font:800 11px/1.55 var(--font);letter-spacing:.12em;}
.section-tools .tool-category + .tool-category {border-top:1px solid var(--line);padding-top:25px;}
.section-tools .tool-list {gap:10px;}
.section-tools .tool-list span {padding:12px 17px;font-size:12px;line-height:1.55;}
@media(max-width:760px){
  .section-tools .tool-categories {gap:21px;}
  .section-tools .tool-category + .tool-category {padding-top:21px;}
  .section-tools .tool-list span {padding:10px 13px;}
}

/* Experiencia profesional: instituciones y funciones */
.section-experience {
  background:linear-gradient(160deg,#0f1d2c 0%,#101f2f 100%);
  border-bottom:1px solid var(--line);
}
.section-experience .experience-list {border-top:1px solid #365065;}
.section-experience .experience-item {
  display:grid;
  grid-template-columns:minmax(175px,255px) minmax(0,1fr);
  gap:34px;
  padding:31px 10px 33px 0;
  border-bottom:1px solid #304759;
  align-items:start;
}
.section-experience .experience-institution {
  color:var(--accent2);
  font:800 clamp(14px,1.4vw,17px)/1.5 var(--display);
  letter-spacing:.015em;
  margin:0;
}
.section-experience .experience-item p {
  color:var(--muted);
  font-size:14px;
  line-height:1.85;
  max-width:750px;
  margin:0;
}
@media(max-width:760px) {
  .section-experience .experience-item {grid-template-columns:1fr;gap:10px;padding:25px 0;}
  .section-experience .experience-item p {font-size:13px;}
}

/* Correo de contacto visible y accesible. */
.contact-action a.contact-email{color:#bce6da;font-size:13px;font-weight:600;overflow-wrap:anywhere;text-decoration:underline;text-decoration-color:#4b827b;text-underline-offset:4px;max-width:100%;}
.contact-action a.contact-email:hover,.contact-action a.contact-email:focus-visible{color:var(--accent);text-decoration-color:var(--accent);}

/* Dos secciones del portafolio: estudios publicados y proyectos personales */
.section-studies {background:var(--bg);}
.section-projects {background:var(--bg2);border-block:1px solid var(--line);}
.section-studies .projects-note,.section-projects .projects-note {margin-top:25px;}
@media(min-width:761px) and (max-width:1050px){
  .header-inner {gap:13px;}
  .nav {gap:13px;}
  .brand-caption {display:none;}
  .nav a {font-size:10px;}
  .nav .nav-contact {padding:10px 12px;}
}
@media(min-width:761px) and (max-width:840px){
  .nav {gap:9px;}
  .brand {gap:10px;}
  .brand-mark {font-size:24px;}
  .nav a {font-size:9px;}
}

/* Cabecera de marca personal */
.header .brand {gap:14px;flex-shrink:0;}
.header .brand-rule {height:30px;}
.header .brand-caption {font-size:9px;letter-spacing:.12em;line-height:1.55;white-space:nowrap;}
@media(max-width:1050px) and (min-width:761px){
  .header .brand {gap:10px;}
  .header .brand-name {font-size:18px;}
  .header .brand-caption {display:none;}
  .header .brand-rule {display:none;}
}
@media(max-width:760px){
  .header .brand-name {font-size:clamp(16px,4.7vw,22px);}
  .header .brand-caption,.header .brand-rule {display:none;}
}

/* Enlace a la página editorial de lecturas */
.section-reading .reading-link{display:inline-flex;align-items:center;gap:16px;border-bottom:1px solid var(--accent);padding:11px 0 9px;color:var(--accent);font-size:12px;font-weight:800;letter-spacing:.025em;margin-top:12px;transition:gap .2s,color .2s}
.section-reading .reading-link:hover,.section-reading .reading-link:focus-visible{gap:24px;color:#a2ffe4}
@media(min-width:761px) and (max-width:1100px){.header-inner{gap:10px}.nav{gap:11px}.nav a{font-size:10px}.nav .nav-contact{padding:9px 10px}.header .brand-name{font-size:17px}}
@media(min-width:761px) and (max-width:850px){.nav{gap:8px}.nav a{font-size:9px}.header .brand-name{font-size:15px}.header .brand{gap:6px}}
