/* RafaHeras. Estética original, sin dependencias de WordPress ni Elementor. */
:root{color-scheme:light;--ink:#080808;--paper:#f5f5f3;--line:3px;--font-body:"Lato",Arial,sans-serif;--font-display:"Lora",Georgia,serif}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;color:var(--ink)}body{background:#080808;font-family:var(--font-body);font-size:18px;letter-spacing:-.5px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit}button,a,img{-webkit-user-drag:none}button{cursor:pointer}button,a{touch-action:manipulation}button:disabled{cursor:default}a{color:inherit}img{max-width:100%;object-fit:contain}button:focus-visible,a:focus-visible,[tabindex="0"]:focus-visible{outline:3px dashed var(--ink);outline-offset:5px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:100;top:-100px;left:30px;background:#fff;padding:14px}.skip-link:focus{top:16px}.no-script{margin:35px;max-width:400px}
.screen{position:fixed;inset:10px;overflow:hidden;border-radius:24px;background:var(--paper);box-shadow:inset 0 0 60px #0008;isolation:isolate}
.texture:before,.texture:after{content:"";position:absolute;inset:0;z-index:20;pointer-events:none;border-radius:inherit}
.texture:before{background-image:url("../assets/pixelFondo.png");opacity:.3;mix-blend-mode:multiply}
.texture:after{background:url("../assets/optimized/smudges.webp") center/cover;opacity:.45;mix-blend-mode:soft-light}
.system-bar{height:clamp(76px,9vh,112px);display:flex;align-items:center;gap:24px;border-bottom:4px solid var(--ink);padding:15px 28px 15px 40px;position:relative}
.brand{margin:0;line-height:1;flex:0 0 205px}.brand img{display:block;width:100%;height:auto}.stripes{height:33px;flex:1;background:repeating-linear-gradient(to bottom,var(--ink) 0 2px,transparent 2px 5px);min-width:20px}
.system-status{display:grid;grid-template-columns:auto 36px 36px 40px;column-gap:9px;row-gap:4px;align-items:center;flex:none;font-size:18px;font-weight:700;line-height:1.15}.email-address{text-decoration:none}.email-address:hover{text-decoration:underline}.sound-toggle,.mail-shortcut{border:0;padding:0;background:none;width:36px;height:32px;display:grid;place-items:center}.sound-toggle img{width:34px;height:30px}.mail-shortcut img{width:36px;height:29px}.battery{width:40px}.clock{grid-column:1/-1;justify-self:center;text-transform:uppercase;white-space:nowrap}.wifi{display:none}
.desktop{height:calc(100% - clamp(76px,9vh,112px));position:relative;outline:none}.desktop-icons{position:absolute;top:28px;right:40px;display:flex;align-items:flex-start;gap:0}.desktop-icon{background:none;border:0;width:110px;min-height:114px;padding:2px 12px;display:flex;align-items:center;flex-direction:column;gap:7px;user-select:none;position:relative;touch-action:none;z-index:1}.desktop-icon img{display:block;width:82px;height:82px;mix-blend-mode:multiply}.desktop-icon span{text-transform:uppercase;font-size:12px;font-weight:700;line-height:1.4;white-space:nowrap}.desktop-icon:hover span{background:var(--ink);color:white;box-shadow:3px 0 var(--ink),-3px 0 var(--ink)}.desktop-icon:focus-visible{outline-offset:-2px}.mobile-dock{display:none}
.window{position:fixed;inset:0;margin:auto;padding:0;color:var(--ink);background:var(--paper);border:var(--line) solid var(--ink);border-radius:46px;box-shadow:10px 12px 0 var(--ink);overflow:hidden;max-width:calc(100vw - 36px);max-height:calc(100dvh - 36px);font-size:18px;isolation:isolate}.window[open]{display:flex;flex-direction:column;animation:open-window .14s ease-out}.window::backdrop{background:#0003}.window-bar{flex:none;display:flex;align-items:center;gap:30px;min-height:98px;padding:17px 28px 17px 20px;border-bottom:var(--line) solid var(--ink);cursor:grab;touch-action:none;user-select:none}.window-bar:active{cursor:grabbing}.window-bar .stripes{height:28px}.close-window{border:3px solid var(--ink);border-radius:50%;background:none;width:54px;height:54px;display:grid;place-items:center;padding:0 0 5px;font:42px/1 var(--font-body);flex:none}.close-window:hover{background:var(--ink);color:var(--paper)}.window-label{font:600 22px/1.15 var(--font-body);margin:0;white-space:nowrap}.window-scroll{overflow:auto;min-height:0;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--ink) transparent}.projects-window{width:90vw;height:90dvh;max-width:1680px}.projects-layout{display:flex;min-height:0;flex:1}.project-sidebar{width:245px;flex:none;border-right:2px solid var(--ink);padding:40px 30px;display:flex;flex-direction:column;justify-content:center;overflow:auto}.pill-heading{display:block;font:700 14px/1.3 var(--font-body);text-transform:uppercase;letter-spacing:-.5px;text-align:center;border:3px solid var(--ink);border-radius:40px;box-shadow:4px 3px 0 var(--ink);padding:14px 10px;margin:0 0 32px}.project-sidebar nav{display:grid;gap:5px}.project-choice{border:none;background:none;text-align:left;display:flex;align-items:center;gap:13px;font:400 18px/1.2 var(--font-body);letter-spacing:-1px;padding:4px 0;opacity:.6;width:100%;white-space:nowrap}.project-choice[aria-current="true"],.project-choice:hover{opacity:1}.folder-icon{width:30px;height:25px;flex:none;fill:currentColor}.folder-open{display:none}.project-choice[aria-current="true"] .folder-open,.project-choice:hover .folder-open{display:block}.project-choice[aria-current="true"] .folder-closed,.project-choice:hover .folder-closed{display:none}
.project-detail{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:34px;padding:34px 6% 44px 38px;min-width:0;overflow:auto;flex:1;overscroll-behavior:contain;scrollbar-width:thin}.project-copy{min-width:0;align-self:center}.project-copy h3{font:600 clamp(42px,5.5vw,80px)/1.02 var(--font-display);letter-spacing:-5px;margin:0 0 18px;text-wrap:balance}.project-subtitle{font:400 clamp(24px,2.2vw,34px)/1.05 var(--font-display);letter-spacing:-2px;margin:0 0 22px}.project-description{font-size:18px;line-height:1.3;letter-spacing:-.65px}.project-description p{margin:0 0 14px}.project-tech{font-size:14px;letter-spacing:1px;text-transform:uppercase;margin:25px 0 24px;line-height:1.5}.project-links{display:flex;gap:12px;align-items:center}.project-link{position:relative;display:flex;align-items:center;gap:8px;text-decoration:none;flex-shrink:0}.project-link img{width:44px;height:44px;mix-blend-mode:multiply}.project-link span{position:absolute;left:15px;bottom:calc(100% + 12px);white-space:nowrap;background:var(--paper);border:2px solid var(--ink);padding:14px;border-radius:9px;box-shadow:4px 4px var(--ink);font-size:15px;opacity:0;pointer-events:none;transform:translateY(4px);transition:opacity .15s,transform .15s}.project-link:hover span,.project-link:focus-visible span{opacity:1;transform:translateY(0)}.project-preview{border:3px solid var(--ink);border-radius:42px;overflow:auto;align-self:stretch;min-height:260px;scrollbar-width:none;overscroll-behavior:contain;background:#ddd}.project-preview::-webkit-scrollbar{display:none}.project-preview img{display:block;width:100%;height:auto;min-height:100%;object-fit:cover;object-position:top}
.designs-window{width:min(1200px,90vw)}.design-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:30px 10px;padding:45px 35px 52px}.grid-icon{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:8px;text-decoration:none;font-size:12px;font-weight:700;line-height:1.25;padding:5px;min-width:0}.grid-icon img{width:82px;height:82px;mix-blend-mode:multiply}.grid-icon:hover span{text-decoration:underline;text-underline-offset:4px}.social-window{width:min(950px,90vw)}.social-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;padding:60px 55px}.social-grid img{width:94px;height:94px}.about-window{width:720px}.about-content{text-align:center;padding:26px 45px 30px}.about-computer{display:block;margin:0 auto 12px;mix-blend-mode:multiply}.about-content h2{font-size:30px;letter-spacing:-1px;margin:0 0 8px}.version{font-size:18px;font-weight:600;margin:0}.memory{margin:36px 0 22px}.memory-caption{display:flex;justify-content:space-between;gap:12px;font-size:14px;font-weight:600;line-height:1.3;margin-bottom:7px}.memory-bar{display:flex;height:30px;border:3px solid var(--ink);border-radius:5px;overflow:hidden;font-size:13px;font-weight:700}.memory-bar span{display:flex;align-items:center;justify-content:flex-end;padding-right:5px}.memory-bar span:first-child{width:70%;background:#0003;border-right:3px solid var(--ink)}.memory-bar span:nth-child(2){width:20%;background:#0001;border-right:3px solid var(--ink)}.memory-bar span:last-child{width:10%}.specifications{margin:0 0 28px;font-size:18px;font-weight:600}.specifications>div{display:flex;justify-content:space-between;gap:20px;padding:9px 0;text-align:left}.specifications dt{flex:0 0 110px}.specifications dd{margin:0;text-align:right}.skills{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.skills img{object-fit:contain;filter:grayscale(1);height:25px}.cv-button{display:flex;align-items:center;justify-content:center;gap:10px;background:#fff;border:3px solid var(--ink);box-shadow:5px 5px var(--ink);border-radius:10px;padding:12px 16px;text-decoration:none;font-size:18px;line-height:1.3}.cv-button:hover{transform:translate(2px,2px);box-shadow:3px 3px var(--ink)}.cv-button>span{font-size:28px}.copyright{margin:22px 0 0;font-size:12px;line-height:1.4;font-weight:600}
.drag-ghost{position:fixed!important;margin:0!important;pointer-events:none!important;z-index:50!important;opacity:.45;animation:trail .26s ease-out forwards!important}.dragging{user-select:none!important;cursor:grabbing!important}.dragging *{cursor:grabbing!important}@keyframes trail{to{opacity:0}}@keyframes open-window{from{opacity:0;scale:.985}to{opacity:1;scale:1}}
.ambient{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.12;filter:grayscale(1);mix-blend-mode:difference;pointer-events:none;z-index:19}.window.dragging{box-shadow:10px 12px 0 var(--ink),18px 20px 0 #0003,26px 28px 0 #0001}
@media(min-width:768px) and (max-height:780px){.window-bar{min-height:72px;padding:10px 22px}.close-window{width:46px;height:46px;font-size:36px}.project-sidebar{padding:20px}.pill-heading{margin-bottom:18px}.project-choice{font-size:16px;padding:2px 0}.project-copy h3{font-size:52px;letter-spacing:-3px}.project-subtitle{font-size:27px}.project-detail{padding:25px;gap:25px}.project-description{font-size:16px}.project-tech{margin:18px 0}.about-content{padding-top:20px}.about-computer{width:65px;height:62px}.memory{margin-top:22px}}
@media(min-width:768px) and (max-width:1100px){.system-bar{padding-left:24px;gap:18px}.brand{flex-basis:175px}.system-status{grid-template-columns:36px 36px 40px}.email-address{display:none}.desktop-icons{right:26px}.project-sidebar{width:190px;padding:25px 18px}.project-detail{padding:24px;gap:24px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.project-copy h3{font-size:48px;letter-spacing:-3px}.project-description{font-size:16px}.project-subtitle{font-size:25px;letter-spacing:-1px}.design-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:767px){
 body{font-size:16px}.screen{inset:4px;border-radius:0;box-shadow:none}.system-bar{height:48px;padding:7px 10px;gap:10px;border-bottom-width:3px;justify-content:space-between}.brand{flex:0 1 100px}.system-bar>.stripes,.email-address,.mail-shortcut{display:none}.system-status{display:flex;gap:10px;font-size:13px;letter-spacing:-.5px}.sound-toggle{width:22px;height:26px}.sound-toggle img{width:22px;height:22px}.battery{width:32px;height:20px}.clock{min-width:64px;text-align:right}.wifi{display:none;width:22px;fill:none;stroke:currentColor;stroke-width:2}.desktop{height:calc(100% - 48px)}.desktop-icons{top:20px;left:6px;right:auto;gap:13px}.desktop-icon{width:82px;min-height:91px;gap:4px;padding:0 8px;touch-action:manipulation}.desktop-icon img{width:64px;height:64px}.desktop-icon span{text-transform:none;font-size:14px;letter-spacing:-.5px}.desktop-icon.social-desktop,.desktop-icon.about-desktop{display:none}.mobile-dock{position:absolute;display:flex;align-items:center;justify-content:space-around;gap:10px;bottom:0;left:0;right:0;padding:8px 10px max(8px,env(safe-area-inset-bottom));height:90px;isolation:isolate}.mobile-dock:before{content:"";height:3px;position:absolute;left:0;right:0;bottom:36px;background:var(--ink);z-index:-1}.mobile-dock a,.mobile-dock button{display:grid;place-items:center;background:none;border:0;padding:0;width:68px;height:68px}.mobile-dock img{width:68px;height:68px;mix-blend-mode:multiply}
 .window{width:calc(100vw - 20px);height:auto;max-width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:20px;box-shadow:5px 6px var(--ink)}.window-bar{min-height:60px;padding:9px 13px;gap:17px;cursor:default}.window-bar .stripes{height:24px}.close-window{width:38px;height:38px;font-size:30px;border-width:2px;padding-bottom:4px}.window-label{font-size:18px}.projects-window{height:calc(100dvh - 24px)}.projects-layout{display:block;overflow:auto;overscroll-behavior:contain}.project-sidebar{display:block;width:100%;border-right:0;border-bottom:2px solid var(--ink);padding:16px 14px;overflow:visible}.pill-heading{font-size:12px;padding:8px 15px;margin:0 0 14px;display:inline-block;box-shadow:3px 2px var(--ink);border-width:2px}.project-sidebar nav{display:flex;overflow:auto;gap:8px;padding:5px 3px;scrollbar-width:thin;scroll-snap-type:x proximity}.project-choice{width:auto;flex:none;font-size:15px;gap:6px;padding:7px 9px;border:1px solid transparent;border-radius:6px;scroll-snap-align:start;opacity:.7;letter-spacing:-.5px}.project-choice[aria-current="true"]{border-color:var(--ink);background:#0001}.folder-icon{width:23px;height:20px}.project-detail{display:flex;flex-direction:column;padding:24px 18px;gap:25px;overflow:visible}.project-copy{align-self:stretch}.project-copy h3{font-size:42px;letter-spacing:-2.5px;margin-bottom:13px;line-height:1.08;text-wrap:initial}.project-subtitle{font-size:25px;letter-spacing:-1px;line-height:1.12;margin-bottom:20px}.project-description{font-size:16px;line-height:1.45;letter-spacing:-.3px}.project-tech{font-size:12px;letter-spacing:.6px;margin:23px 0 20px}.project-links{gap:22px;align-items:flex-start}.project-link{flex-direction:column;gap:6px}.project-link img{width:36px;height:36px}.project-link span{position:static;opacity:1;transform:none;padding:0;border:0;box-shadow:none;background:none;font-size:13px}.project-preview{height:400px;min-height:0;flex:none;border-radius:26px}.design-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 6px;padding:25px 12px}.grid-icon{font-size:12px;gap:8px}.grid-icon img{width:64px;height:64px}.social-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:30px 15px;gap:30px 10px}.social-grid img{width:64px;height:64px}.about-content{padding:22px 18px 25px}.about-computer{width:72px;height:69px}.about-content h2{font-size:28px}.version{font-size:16px}.memory{margin-top:28px}.memory-caption{font-size:12px;letter-spacing:-.4px}.memory-bar{font-size:11px}.specifications{font-size:14px;letter-spacing:-.25px}.specifications>div{gap:12px;padding:9px 0}.specifications dt{flex-basis:80px}.skills{gap:8px}.skills img{max-width:23px;height:21px}.cv-button{font-size:15px;padding:10px 9px}.copyright{font-size:12px}
}
@media(max-width:360px){.brand{flex-basis:90px}.system-status{gap:7px;font-size:12px}.battery{width:26px}.project-copy h3{font-size:36px}.design-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-dock{gap:6px}.mobile-dock img,.mobile-dock button,.mobile-dock a{width:61px;height:61px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.drag-ghost{display:none}}
@media print{body{background:white}.screen{position:static}.desktop-icons,.system-status,.texture:before,.texture:after,.mobile-dock,.window-bar,.project-sidebar,.project-links{display:none}.screen{border:0;box-shadow:none}.window[open]{position:static;display:block;width:auto;height:auto;max-height:none;border:0;box-shadow:none}.project-detail{overflow:visible;display:block}.project-preview{height:auto;overflow:visible;border:0}.project-preview img{max-width:400px}.projects-layout,.window-scroll{overflow:visible}}
