:root{color-scheme:light;--ink:#172326;--muted:#58696b;--accent:#186a59;--line:#d9e3de;--paper:#f8faf8;--white:#fff;--dark:#142c29}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.65}a{color:inherit}img{max-width:100%;display:block}button{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:3px solid #da9c3f;outline-offset:4px}.skip-link{position:absolute;top:-100px;left:1rem;z-index:10;background:white;padding:.6rem}.skip-link:focus{top:1rem}.container{width:min(1120px,calc(100% - 48px));margin:auto}.site-header{border-bottom:1px solid var(--line);background:rgba(248,250,248,.96)}.nav-wrap{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:2rem}.brand{font-size:1.6rem;font-weight:800;letter-spacing:-.08em;text-decoration:none}.brand span,.hero h1 span{color:var(--accent)}nav{display:flex;flex-wrap:wrap;gap:2rem}nav a{font-size:.9rem;font-weight:650;text-decoration:none;color:#3d514f}nav a:hover,.text-link:hover,.card-links a:hover{text-decoration:underline}.hero{display:grid;grid-template-columns:1.2fr .8fr;gap:5rem;align-items:center;min-height:550px;padding-top:6rem;padding-bottom:6rem}.eyebrow{font-size:.76rem;font-weight:800;letter-spacing:.15em;color:var(--accent);margin:0 0 1.25rem}.hero .eyebrow span{display:inline-block;width:8px;height:8px;border-radius:50%;background:#44a488;margin-right:.5rem}.hero h1,h2,h3,p{margin-top:0}.hero h1{font-size:clamp(2.6rem,5vw,4.5rem);line-height:1.08;letter-spacing:-.055em;margin-bottom:1.5rem}.hero-intro{font-size:1.1rem;color:var(--muted);max-width:590px}.actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-top:2rem}.button{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:.7rem 1.25rem;border-radius:5px;text-decoration:none;font-weight:700;font-size:.93rem;border:1px solid var(--ink)}.primary{background:var(--dark);color:white;border-color:var(--dark)}.primary:hover{background:#245248}.secondary:hover{background:#edf3ef}.text-link{font-weight:700;text-decoration:none;font-size:.93rem}.hero-aside{background:#172d2a;color:#e4f0e9;border-radius:8px;box-shadow:0 20px 55px #17352d1a;overflow:hidden;transform:rotate(1deg)}.code-top{display:flex;gap:6px;align-items:center;padding:1rem 1.3rem;border-bottom:1px solid #ffffff1a}.code-top i{width:8px;height:8px;border-radius:50%;background:#678077}.code-top span{margin-left:auto;font: .75rem monospace;color:#aac1b6}.code-body{padding:2rem 1.4rem;font:.9rem/1.9 monospace;white-space:nowrap;overflow:auto}.code-body p{margin:0}.muted{color:#78958b;margin-right:.8rem}.purple{color:#d5b5ee}.green{color:#a7dcbf}.code-footer{border-top:1px solid #ffffff1a;padding:1rem 1.4rem;color:#a7c3b6;font-size:.65rem;letter-spacing:.15em}.section{padding:6rem 0;scroll-margin-top:1rem}.projects-section{background:#edf3ef}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:3rem;margin-bottom:2.5rem}.section-heading h2,.service-inner h2,.contact-inner h2{font-size:clamp(2rem,3.5vw,3rem);line-height:1.12;letter-spacing:-.045em;margin:0}.section-heading>p{max-width:400px;color:var(--muted);margin:0}.filter-panel{border-top:1px solid #cbd9d1;border-bottom:1px solid #cbd9d1;padding:1rem 0}.filter-row{display:flex;align-items:baseline;gap:1.5rem;padding:.35rem 0}.filter-label{font-size:.8rem;font-weight:700;color:#536964;min-width:80px}.filter-options{display:flex;gap:.4rem;flex-wrap:wrap}.filter{border:1px solid transparent;border-radius:4px;background:transparent;padding:.4rem .7rem;color:#405653;cursor:pointer;font-size:.85rem;font-weight:600}.filter:hover{border-color:#9fb7aa}.filter.active{background:var(--dark);color:#fff}.results{color:#60726d;font-size:.85rem;margin:1.25rem 0}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}.project-card{background:white;border:1px solid #d9e4dd;border-radius:7px;overflow:hidden;display:flex;flex-direction:column}.project-card[hidden],.empty[hidden]{display:none}.featured{grid-row:span 2}.project-image{height:180px;background:#dfe9e2;overflow:hidden}.project-image img{width:100%;height:100%;object-fit:cover;object-position:top}.featured .project-image{height:300px}.logo-image img{object-fit:contain;padding:2.5rem}.card-body{padding:1.65rem;display:flex;flex:1;flex-direction:column;align-items:flex-start}.card-meta{width:100%;display:flex;justify-content:space-between;gap:1rem;color:#60766d;font-size:.7rem;font-weight:800;letter-spacing:.1em;margin-bottom:1rem}.card-body h3{font-size:1.4rem;line-height:1.25;letter-spacing:-.025em;margin-bottom:.65rem}.card-body p{color:var(--muted);margin-bottom:1rem}.card-body .contribution{font-size:.9rem}.contribution strong{color:#334a43}.tags{display:flex;gap:.4rem;flex-wrap:wrap;margin:.2rem 0 1.4rem}.tags span{font-size:.75rem;font-weight:650;color:#36584b;background:#edf5ef;border-radius:3px;padding:.25rem .5rem}.card-links{margin-top:auto}.card-links a{color:var(--accent);font-size:.9rem;font-weight:750;text-decoration:none}.compact .card-body{min-height:250px}.empty{padding:1.5rem;background:#fff;color:var(--muted)}.skills-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.skills-grid>div{padding:2rem 2rem 2rem 0}.skills-grid>div+div{border-left:1px solid var(--line);padding-left:2rem}.skill-icon{display:block;color:var(--accent);font-family:monospace;font-size:1.3rem;font-weight:bold;margin-bottom:1.25rem}.skills-grid h3{margin-bottom:.5rem}.skills-grid p{color:var(--muted);margin-bottom:.5rem}.learning span{display:inline-block;font-size:.73rem;font-weight:700;color:#21684f;background:#e2f1e6;padding:.2rem .5rem;border-radius:3px}.services-section{background:#dcebe1}.service-inner,.contact-inner{display:grid;grid-template-columns:1fr 1fr;gap:6rem}.service-inner p:not(.eyebrow),.contact-inner p:not(.eyebrow){color:#4a6258}.contact-section{background:#17312c;color:white}.contact-section .eyebrow{color:#a1d1b6}.contact-inner p:not(.eyebrow){color:#c2d3ca;margin-top:1.3rem}.contact-links{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.contact-links a{display:flex;flex-direction:column;text-decoration:none;border-bottom:1px solid #68847a;padding-bottom:1rem;overflow-wrap:anywhere}.contact-links a:hover strong{text-decoration:underline}.contact-links span{font-size:.8rem;color:#b4ccc0}.contact-links strong{font-size:1rem}footer{background:#112722;color:#b4c8be;font-size:.8rem}.footer-inner{display:flex;justify-content:space-between;gap:1rem;padding-top:1.5rem;padding-bottom:1.5rem}.footer-inner a{text-decoration:none}@media(max-width:800px){.hero{grid-template-columns:1fr;gap:3rem;min-height:0}.hero-aside{max-width:520px}.section-heading,.service-inner,.contact-inner{display:block}.section-heading>p{margin-top:1.25rem}.service-inner>div+div,.contact-links{margin-top:2rem}.skills-grid>div{padding-right:1rem}.skills-grid>div+div{padding-left:1rem}}@media(max-width:600px){.container{width:min(100% - 32px,1120px)}.nav-wrap{align-items:flex-start;padding:1rem 0;gap:1rem}.brand{line-height:1}nav{justify-content:flex-end;gap:.5rem 1rem}nav a{font-size:.8rem}.hero{padding-top:4rem;padding-bottom:4rem}.hero h1{font-size:2.7rem}.section{padding:4rem 0}.filter-row{display:block}.filter-label{display:block;margin-bottom:.4rem}.project-grid{grid-template-columns:1fr}.featured{grid-row:auto}.featured .project-image{height:220px}.skills-grid{grid-template-columns:1fr}.skills-grid>div,.skills-grid>div+div{padding:1.5rem 0;border-left:0}.skills-grid>div+div{border-top:1px solid var(--line)}.contact-links{grid-template-columns:1fr}.footer-inner{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Acentos inspirados en los carteles populares peruanos. */
.site-header{border-top:5px solid #eeac23;position:relative}
.site-header::after{content:"";position:absolute;top:-5px;right:0;width:24%;height:5px;background:#d83c7b}
.hero h1 span,.experience-intro h2 span{color:#be2862}
.hero .eyebrow span{background:#d83c7b}
.hero-aside{box-shadow:8px 8px 0 #f1c84f,16px 16px 0 #d83c7b;transform:rotate(1deg)}
.project-card{border-top:3px solid #d5a32b}
.project-card:nth-child(2n){border-top-color:#c73870}
.project-card:nth-child(3n){border-top-color:#328c7a}
.experience-section{background:#fff}
.experience-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:6rem}
.experience-intro h2{font-size:clamp(2rem,3.5vw,3rem);line-height:1.12;letter-spacing:-.045em;margin-bottom:1.2rem}
.experience-intro>p:not(.eyebrow){color:var(--muted)}
.experience-list{border-top:1px solid var(--line)}
.experience-item{display:grid;grid-template-columns:110px 1fr;gap:1rem;padding:1.5rem 0;border-bottom:1px solid var(--line)}
.experience-item h3{font-size:1.1rem;margin-bottom:.1rem}
.experience-item p{color:var(--muted);margin-bottom:0}
.experience-item .experience-date{font-size:.8rem;font-weight:750;color:#a82c5b;padding-top:.3rem}
.experience-item .experience-company{font-weight:700;color:var(--accent);margin-bottom:.5rem}
@media(max-width:800px){.experience-layout{grid-template-columns:1fr;gap:2rem}}
@media(max-width:600px){.experience-item{grid-template-columns:1fr;gap:.4rem}.hero-aside{box-shadow:5px 5px 0 #f1c84f,10px 10px 0 #d83c7b}}

/* Cartel popular: color, ritmo y contraste en la pagina principal. */
:root { --accent:#08715e; --ink:#19292b; --paper:#fffdf6; }
.site-header { border-top:7px solid #f4d02c; background:#fffdf6; }
.site-header::after { top:-7px; height:7px; width:40%; background:linear-gradient(90deg,#ef3c8a 0 50%,#158d82 50%); }
.brand { color:#bd205e; font-weight:900; letter-spacing:-.1em; }
.hero { position:relative; gap:4rem; padding-top:6.5rem; padding-bottom:6.5rem; }
.hero::before { content:""; position:absolute; width:125px; height:125px; right:0; top:25px; background:repeating-linear-gradient(135deg,transparent 0 8px,#f4d02c 8px 11px,transparent 11px 18px); opacity:.7; z-index:-1; }
.hero h1 { font-weight:900; }
.hero h1 em { display:inline; font-style:normal; color:#a91b58; background:linear-gradient(transparent 70%,#f6d744 70%); }
.hero-intro { color:#405653; }
.hero-visual { position:relative; padding:2rem .5rem 0 1rem; }
.hero-aside { position:relative; transform:rotate(-2deg); box-shadow:8px 8px 0 #f5cf35,16px 16px 0 #d42f76; }
.hero-stamp { position:absolute; z-index:2; right:-1rem; top:-.6rem; width:116px; height:116px; display:flex; flex-direction:column; justify-content:center; text-align:center; border:3px solid #12372f; border-radius:50%; background:#f6d744; color:#153a30; font-size:.62rem; line-height:1.25; letter-spacing:.08em; font-weight:800; transform:rotate(12deg); box-shadow:4px 4px 0 #c32a69; }
.hero-stamp strong { font-size:1rem; letter-spacing:.02em; }
.hero-caption { margin:2rem 0 0 1rem; color:#a91b58; font-weight:900; letter-spacing:.12em; font-size:.7rem; transform:rotate(-2deg); }
.hero-caption span { color:#08715e; font-size:1.25rem; }
.color-ribbon { display:flex; justify-content:center; align-items:center; gap:clamp(1rem,3vw,3rem); overflow:hidden; white-space:nowrap; background:#f3d233; color:#253b2d; padding:.8rem 1rem; border-block:3px solid #1a3a30; font-size:.75rem; font-weight:900; letter-spacing:.12em; }
.color-ribbon span:nth-child(even) { color:#b81e5d; font-size:1.2rem; line-height:1; }
.projects-section { background:#edf6ef; }
.section-heading h2,.experience-intro h2 { text-wrap:balance; }
.projects-section .section-heading h2 { display:inline-block; box-shadow:inset 0 -.24em #f5d431; }
.filter.active { background:#9e1f56; }
.project-card { border-top-width:5px; transition:transform .2s ease,box-shadow .2s ease; }
.project-card:hover { transform:translateY(-4px); box-shadow:0 10px 0 #d5e5d8; }
.project-card:focus-within { box-shadow:0 0 0 3px #e2b31c; }
.services-section { border-top:7px solid #d42f76; }
.contact-section { border-top:7px solid #f4d02c; }
@media(max-width:800px) { .hero-visual { max-width:540px; } }
@media(max-width:600px) { .hero { gap:2rem; } .hero-visual { padding:2.4rem .5rem 0 0; } .hero-stamp { right:0; width:96px; height:96px; font-size:.53rem; } .hero-stamp strong { font-size:.85rem; } .color-ribbon { justify-content:flex-start; font-size:.65rem; gap:1rem; } .hero h1 { font-size:clamp(2.4rem,11vw,3rem); } }
@media(prefers-reduced-motion:reduce) { .project-card { transition:none; } .project-card:hover { transform:none; } }
