@font-face{font-family:'Michroma';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/michroma-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/inter-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('../assets/fonts/inter-latin-500-normal.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('../assets/fonts/inter-latin-600-normal.woff2') format('woff2')}
:root{color-scheme:dark;--bg:#0b1117;--panel:#111b24;--text:#edf2f6;--muted:#a1b2c2;--line:#2b3946;--accent:#9fbcd3}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:6px}::selection{background:#adc5d8;color:#0b1117}.wrap{max-width:1200px;width:calc(100% - 96px);margin:auto}.header{position:sticky;top:0;z-index:10;background:rgba(11,17,23,.96);border-bottom:1px solid var(--line)}.header-inner{min-height:86px;display:flex;align-items:center;gap:36px}.brand{display:flex;align-items:center;gap:14px;font-size:14px;font-weight:bold;letter-spacing:.16em}.brand img{width:55px;height:42px;object-fit:contain}nav{display:flex;gap:28px;margin-left:auto;font-size:14px;color:var(--muted)}nav a:hover{color:var(--text)}.languages{display:flex;gap:5px;align-items:center;font-size:14px}.languages button{border:0;background:none;padding:6px;color:var(--muted)}.languages button[aria-pressed=true]{color:var(--text);border-bottom:1px solid var(--accent)}.hero{display:grid;grid-template-columns:1.15fr 1fr;gap:50px;align-items:center;padding-top:48px;padding-bottom:56px;min-height:680px}.hero-copy{position:relative;z-index:1}.hero-logo{width:190px;height:124px;object-fit:contain;object-position:left;margin-bottom:20px}.eyebrow{color:var(--accent);font-size:13px;letter-spacing:.18em;text-transform:uppercase;font-weight:bold;margin:0 0 16px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(46px,5.4vw,74px);line-height:1.04;letter-spacing:-.045em;font-weight:500;margin-bottom:20px}h1 span{display:block}h2{font-size:clamp(32px,4vw,46px);font-weight:500;line-height:1.15;letter-spacing:-.03em;margin-bottom:0}h3{font-size:24px;line-height:1.25;font-weight:500;letter-spacing:-.015em}.role{font-size:21px;color:var(--accent);margin-bottom:18px}.intro{color:var(--muted);max-width:520px;margin-bottom:28px}.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--accent);padding:12px 24px;background:var(--accent);color:#0b1117;font-size:14px;font-weight:bold}.button:hover{background:#c4d7e5}.hero-portrait{position:relative;height:555px;overflow:hidden;border-bottom:1px solid var(--line)}.hero-portrait img{height:100%;width:100%;object-fit:cover;object-position:58% 30%;filter:contrast(1.06) brightness(.85)}.hero-portrait:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,var(--bg),transparent 27%),linear-gradient(90deg,rgba(11,17,23,.28),transparent 25%);pointer-events:none}.portrait-label{position:absolute;bottom:20px;right:16px;z-index:1;font-size:12px;color:#c5d1db;letter-spacing:.15em}.section{padding:72px 0;border-top:1px solid var(--line)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:32px}.section-head .eyebrow{margin-bottom:12px}.metadata{font-size:13px;color:var(--muted);letter-spacing:.09em;text-transform:uppercase}.reel{aspect-ratio:16/9;background:#05080b;border:1px solid var(--line)}.reel iframe{display:block;width:100%;height:100%;border:0}.reel-caption{display:flex;justify-content:space-between;gap:18px;margin-top:18px;color:var(--muted);font-size:14px}.reel-caption a{color:var(--text);border-bottom:1px solid var(--line)}.projects{margin-top:62px}.projects-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.controls{display:flex;gap:10px}.controls button{height:42px;min-width:44px;background:transparent;border:1px solid var(--line);font-size:20px}.controls button:disabled{opacity:.25;cursor:default}.slides{display:flex;overflow:auto;gap:22px;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:var(--line) transparent;padding:10px 0 16px}.project{flex:0 0 calc((100% - 22px)/2);scroll-snap-align:start;min-width:0}.project-visual{aspect-ratio:16/9;background:linear-gradient(135deg,#192735,#0e171f);border:1px solid var(--line);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;position:relative}.project-visual img{width:82px;height:62px;object-fit:contain;opacity:.45}.project-visual span{font-size:13px;color:var(--muted)}.project-number{position:absolute;left:20px;top:14px;font-size:13px;color:var(--muted)}.project h3{margin:18px 0 7px}.project p{font-size:14px;color:var(--muted);margin-bottom:0}.resume-grid{display:grid;grid-template-columns:.9fr 1.3fr;gap:80px}.summary{color:var(--muted);max-width:450px}.summary strong{color:var(--text);font-weight:500}.timeline{border-left:1px solid var(--line);padding-left:28px}.job{position:relative;padding-bottom:28px}.job:last-child{padding-bottom:0}.job:before{content:'';position:absolute;width:7px;height:7px;background:var(--accent);left:-32px;top:7px}.job time{color:var(--muted);font-size:13px}.job h3{font-size:21px;margin:8px 0}.job p{color:var(--muted);font-size:15px;margin:0}.skills-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px}.skill{padding:14px 0;border-bottom:1px solid var(--line)}.skill-label{display:flex;justify-content:space-between;gap:15px;font-size:15px}.skill-level{color:var(--muted);font-size:13px}.meter{height:3px;background:#293642;margin-top:12px}.meter span{display:block;height:100%;background:var(--accent)}.tools{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tool{background:var(--panel);padding:15px 16px;border:1px solid var(--line);font-size:16px}.note{color:var(--muted);font-size:13px;margin-top:22px}.contact{padding-bottom:36px}.contact-intro{color:var(--muted);margin:22px 0}.email{font-size:clamp(18px,3.6vw,38px);letter-spacing:-.02em;display:inline-block;border-bottom:1px solid var(--accent);overflow-wrap:anywhere}.socials{display:flex;flex-wrap:wrap;gap:24px;margin:32px 0 48px;font-size:15px;color:var(--muted)}.socials a:hover{color:var(--text)}footer{border-top:1px solid var(--line);padding-top:22px;display:flex;justify-content:space-between;gap:20px;font-size:12px;color:var(--muted)}.skip{position:absolute;top:-100px;left:20px;z-index:20;background:var(--text);color:var(--bg);padding:10px}.skip:focus{top:10px}@media(min-width:1500px){.hero{min-height:720px}}@media(max-width:900px){.wrap{width:calc(100% - 48px)}.header-inner{gap:20px}nav{gap:16px}.brand span{display:none}.hero{gap:25px;min-height:600px}.hero-portrait{height:500px}.hero-logo{width:150px;height:100px}.resume-grid,.skills-grid{gap:35px}.tool{font-size:14px;padding:12px}}@media(max-width:640px){.wrap{width:calc(100% - 36px)}.header-inner{min-height:72px;gap:10px;flex-wrap:wrap;padding:14px 0}nav{order:3;width:100%;justify-content:space-between;gap:8px;font-size:13px}.languages{margin-left:auto}.brand img{width:44px;height:32px}.hero{grid-template-columns:1fr;padding-top:30px;gap:28px;min-height:0}.hero-copy{order:2}.hero-portrait{height:360px}.hero-logo{width:125px;height:85px;margin-bottom:12px}.hero h1{font-size:49px}.hero h1 span{display:inline}.section{padding:48px 0}.section-head{align-items:start}.section-head>.metadata{display:none}.project{flex-basis:100%}.resume-grid,.skills-grid{grid-template-columns:1fr;gap:35px}.reel-caption{flex-direction:column;gap:8px}.projects{margin-top:42px}footer{flex-direction:column;gap:7px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.slides{scroll-behavior:auto}}
:root{--bg:#080f15;--text:#edf2f6;--accent:#a5c8e5}
body{font-family:'Inter',Arial,Helvetica,sans-serif}
.hero-scene{position:relative;overflow:hidden;background-image:linear-gradient(0deg,var(--bg),transparent 20%),url('../assets/images/hero-atmosphere.png');background-position:center;background-size:cover}
.hero{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:32px;min-height:730px;padding-top:70px;padding-bottom:72px;align-items:center}
.hero-copy{max-width:580px;z-index:2}
.hero-logo{width:205px;height:140px;margin-bottom:32px}
.hero .eyebrow{font-size:13px;font-weight:500;letter-spacing:.35em;margin-bottom:20px}
.hero h1{font-family:'Michroma','Arial',sans-serif;text-transform:uppercase;font-size:clamp(36px,4vw,58px);font-weight:400;line-height:1.25;letter-spacing:.025em;margin-bottom:25px}
.hero .intro{font-size:16px;line-height:1.65;max-width:535px;margin-bottom:28px;color:#b6c7d6}
.hero .button{text-transform:uppercase;letter-spacing:.09em;padding:14px 27px;background:#a6c9e8;border-color:#a6c9e8}
.hero-portrait{position:absolute;right:-70px;bottom:0;width:650px;height:650px;border:0;overflow:visible;z-index:1}
.hero-portrait img{height:100%;width:100%;object-fit:contain;object-position:center bottom;filter:brightness(.91) contrast(1.04);mask-image:linear-gradient(to bottom,#000 70%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 70%,transparent 100%)}
.hero-portrait:after{display:none}
.brand{font-family:'Inter',Arial,sans-serif;font-weight:600}
.section h2{font-family:'Michroma',Arial,sans-serif;font-size:clamp(27px,3vw,37px)}
@media(min-width:1500px){.hero{min-height:790px}.hero-portrait{width:710px;height:710px;right:-95px}.hero h1{font-size:60px}}
@media(max-width:1100px){.hero{min-height:700px;grid-template-columns:1.15fr 1fr}.hero-portrait{width:580px;height:580px;right:-100px}.hero-copy{max-width:500px}.hero .intro{max-width:455px}.hero h1{font-size:43px}}
@media(max-width:900px) and (min-width:641px){.hero{min-height:660px}.hero-portrait{right:-145px;width:530px;height:530px;opacity:.85}.hero-copy{max-width:450px}.hero .intro{max-width:380px}.hero h1{font-size:36px}.hero-logo{width:170px;height:113px}}
@media(max-width:640px){.hero{display:flex;flex-direction:column;gap:15px;padding-top:35px;padding-bottom:0;min-height:0;align-items:stretch}.hero-copy{order:0;max-width:100%}.hero-logo{width:150px;height:100px;margin-bottom:22px}.hero .eyebrow{font-size:12px;letter-spacing:.22em}.hero h1{font-size:clamp(26px,7.5vw,45px);letter-spacing:.01em;line-height:1.35}.hero h1 span{display:block}.hero .intro{font-size:16px;max-width:100%}.hero-portrait{position:relative;order:1;right:auto;bottom:auto;width:min(100%,440px);height:auto;aspect-ratio:1;margin:0 auto}.hero-portrait img{display:block}.section h2{font-size:26px;overflow-wrap:anywhere}}
[hidden]{display:none!important}
.project-visual .project-thumbnail{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:1;transition:transform .25s ease,filter .25s ease}
a.project-visual{overflow:hidden}
a.project-visual:hover .project-thumbnail{transform:scale(1.025);filter:brightness(.8)}
.project-visual .project-play{z-index:1;font-size:25px;color:white;background:rgba(8,15,21,.8);border:1px solid #a5c8e5;width:62px;height:62px;display:grid;place-items:center;padding-left:3px;border-radius:50%}
.project-visual .project-view-label{position:absolute;bottom:16px;left:16px;z-index:1;color:white;font-size:14px;background:rgba(8,15,21,.85);padding:6px 12px}
.project-detail{padding-top:40px;padding-bottom:35px}.project-back{font-size:14px;color:var(--muted);border-bottom:1px solid var(--line)}.project-heading{margin:48px 0 32px}.project-heading h1{font-family:'Michroma',Arial,sans-serif;font-size:clamp(28px,4vw,50px);line-height:1.4;letter-spacing:0;outline:0}.project-description{display:grid;grid-template-columns:1.4fr 1fr;gap:80px;padding:55px 0 65px}.project-description h2,#project-process h2{font-family:'Michroma',Arial,sans-serif;font-size:26px;margin:0 0 22px}.project-description p{color:var(--muted);line-height:1.8}.project-facts{margin:0}.project-facts div{border-bottom:1px solid var(--line);padding:0 0 18px;margin-bottom:18px}.project-facts dt{font-size:13px;letter-spacing:.12em;color:var(--accent);text-transform:uppercase;margin-bottom:7px}.project-facts dd{margin:0;font-size:16px}#project-process{padding-bottom:55px}#process-gallery{display:grid;gap:30px}#process-gallery figure{margin:0}#process-gallery img{display:block;max-width:100%;height:auto}#process-gallery iframe{width:100%;aspect-ratio:16/9;border:0}#process-gallery figcaption{color:var(--muted);font-size:14px;padding-top:10px}
@media(max-width:640px){.project-detail{padding-top:28px}.project-heading{margin:32px 0 25px}.project-heading h1{font-size:clamp(22px,6.5vw,32px);overflow-wrap:anywhere}.project-description{grid-template-columns:1fr;gap:28px;padding:38px 0}.project-description h2,#project-process h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){.project-visual .project-thumbnail{transition:none}}

.reel video{display:block;width:100%;height:100%;object-fit:contain;background:#05080b}

.project-visual .project-preview{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;transition:transform .25s ease}
a.project-visual:hover .project-preview{transform:scale(1.025)}
@media(prefers-reduced-motion:reduce){.project-visual .project-preview{transition:none}}

.asset-list{margin:0;padding-left:19px}.asset-list li+li{margin-top:10px}.asset-list a{color:var(--accent);text-decoration:underline;text-underline-offset:4px}
#process-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}#process-gallery .process-wide{grid-column:1/-1}#process-gallery figure{overflow:hidden;border:1px solid var(--line);background:var(--panel)}#process-gallery img{width:100%;object-fit:contain}#process-gallery video{display:block;width:100%;aspect-ratio:16/9;background:#05080b}#process-gallery figcaption{padding:14px 18px;font-size:14px}
@media(max-width:640px){#process-gallery{grid-template-columns:1fr;gap:20px}}

.projects{width:calc(var(--portfolio-width,100vw) - 2 * clamp(18px,4vw,80px));position:relative;left:50%;transform:translateX(-50%)}.projects-head{max-width:1200px;width:100%;margin:0 auto 18px}.projects-head h3{margin-bottom:0}.carousel-shell{position:relative}.slides{position:relative;scroll-snap-type:none;scroll-behavior:auto;padding:10px 0 22px;gap:22px;scrollbar-width:auto;scrollbar-color:var(--accent) var(--panel)}.slides .project{flex:0 0 clamp(290px,32vw,510px);scroll-snap-align:none}.carousel-shell:before,.carousel-shell:after{content:'';position:absolute;top:0;bottom:22px;width:clamp(28px,7vw,120px);z-index:2;pointer-events:none}.carousel-shell:before{left:0;background:linear-gradient(90deg,var(--bg),transparent)}.carousel-shell:after{right:0;background:linear-gradient(270deg,var(--bg),transparent)}.slides::-webkit-scrollbar{height:12px}.slides::-webkit-scrollbar-track{background:var(--panel)}.slides::-webkit-scrollbar-thumb{background:var(--accent);border:3px solid var(--panel);border-radius:6px}
@media(max-width:640px){.projects-head{width:100%;gap:12px}.projects-head h3{font-size:20px}.slides .project{flex-basis:82vw}}

.slides .project.cycle-end{margin-right:clamp(100px,12vw,200px)}

.ai-intro{max-width:870px;color:var(--muted);margin-bottom:34px;line-height:1.8}.ai-feature{display:grid;grid-template-columns:1.4fr 1fr;gap:38px;align-items:center}.ai-feature h3{font-size:clamp(24px,2.3vw,32px);line-height:1.35;margin-bottom:18px}.ai-feature-copy>p:not(.eyebrow){color:var(--muted)}.ai-credit a,.project-extra-fact a{color:var(--accent);text-decoration:underline;text-underline-offset:4px}.ai-feature .button{margin-top:4px}.ai-feature .project-visual{min-width:0}.ai-feature .eyebrow{letter-spacing:.12em}
@media(max-width:900px){nav{gap:18px}.ai-feature{grid-template-columns:1fr;gap:25px}.ai-feature-copy{max-width:650px}}

@media(max-width:640px){nav{flex-wrap:wrap;justify-content:flex-start;gap:8px 14px;font-size:12px}html{scroll-padding-top:150px}}
/* Shared cinematic atmosphere: layered lighting, haze and quiet brand marks. */
:root{--bg:#070d12;--panel:#0d1720;--line:#2a3b49;--muted:#b0c1cf;--accent:#adcce4}
body{background:var(--bg)}
.header{background:rgba(7,13,18,.97);border-bottom-color:rgba(173,204,228,.15)}
.section{position:relative;isolation:isolate;overflow:hidden;background:#070d12;border-top-color:rgba(173,204,228,.16)}
.section:before{content:'';position:absolute;inset:0;z-index:-2;pointer-events:none;background-image:linear-gradient(180deg,#070d12 0%,rgba(7,13,18,.45) 28%,rgba(7,13,18,.28) 70%,#070d12 100%),url('../assets/images/hero-atmosphere.png');background-size:cover;background-position:center 64%;opacity:.82}
.section>.wrap{position:relative;z-index:1}
#trabajos:before{background-position:70% bottom;opacity:.76}
#ia:before{transform:scaleX(-1);background-position:center 75%;opacity:.64}
#experiencia:before{transform:scaleX(-1);background-position:center bottom;opacity:.85}
#habilidades:before{background-position:right 45%;opacity:.52}
#contacto:before{background-position:center 62%;opacity:.95}
#experiencia:after,#contacto:after{content:'';position:absolute;z-index:-1;pointer-events:none;background:url('../assets/logo/ag3d-logo-white.png') center/contain no-repeat;width:clamp(350px,44vw,650px);aspect-ratio:948/642;right:-70px;top:45px;opacity:.055;transform:rotate(-9deg)}
#contacto:after{right:4%;top:auto;bottom:40px;opacity:.085;transform:rotate(0deg)}
.section-head{padding-bottom:18px;border-bottom:1px solid rgba(173,204,228,.15);margin-bottom:34px}
.section-head h2{color:#f0f5fa;text-shadow:0 2px 22px rgba(144,185,220,.12)}
.section .eyebrow{color:#b0d1ed;letter-spacing:.18em}
.reel,.project-visual{border-color:rgba(173,204,228,.3);box-shadow:0 18px 50px rgba(0,0,0,.36)}
.project h3{color:#eef4fa}.project p{color:#b0c1cf}
.timeline{border-left-color:rgba(173,204,228,.45)}
.job time{color:#b0cbe0}.job h3{color:#f1f5f9}
.tools .tool{background:linear-gradient(135deg,rgba(21,36,49,.88),rgba(7,14,20,.94));border-color:rgba(173,204,228,.25);box-shadow:inset 0 1px 0 rgba(223,240,253,.035)}
.meter{background:rgba(82,112,134,.28)}.meter span{background:linear-gradient(90deg,#739dbc,#d0e5f5)}
.ai-feature-copy{padding:24px 0}.ai-feature .button{background:#afcfe8;border-color:#afcfe8}
.contact .email{color:#f0f6fb;border-bottom-color:#9cbed9}.contact .socials a{color:#bcd0e0}
footer{border-top-color:rgba(173,204,228,.2)}
#project-view{position:relative;isolation:isolate;overflow:hidden;background:#070d12}
#project-view:before{content:'';position:absolute;inset:0;z-index:-2;pointer-events:none;background-image:linear-gradient(180deg,rgba(7,13,18,.45),#070d12 1300px),url('../assets/images/hero-atmosphere.png');background-size:100% 1400px,auto 1400px;background-position:center top;background-repeat:no-repeat;opacity:.7}
#project-view:after{content:'';position:absolute;z-index:-1;pointer-events:none;top:40px;right:-70px;width:clamp(350px,44vw,650px);aspect-ratio:948/642;background:url('../assets/logo/ag3d-logo-white.png') center/contain no-repeat;opacity:.045}
.project-description{gap:65px}.project-facts{background:rgba(7,14,20,.75);border:1px solid rgba(173,204,228,.18);padding:24px;height:fit-content}
.project-facts div:last-child{border-bottom:0;padding-bottom:0;margin-bottom:0}
#process-gallery figure{border-color:rgba(173,204,228,.23);background:rgba(10,19,27,.9);box-shadow:0 14px 38px rgba(0,0,0,.28)}
@media(max-width:900px){#experiencia:after,#contacto:after{right:-85px;opacity:.04}.project-description{gap:35px}}
@media(max-width:640px){.section:before{background-size:auto 100%;opacity:.58}.section-head{padding-bottom:18px;margin-bottom:28px}#contacto:after{width:330px;bottom:105px;opacity:.05}.project-facts{padding:20px}.ai-feature-copy{padding:0}.project-description{gap:28px}.reel,.project-visual{box-shadow:0 12px 28px rgba(0,0,0,.32)}}
