.contact-modal-backdrop{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:1rem;background:#080f1a75;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.contact-modal{position:relative;width:min(460px,100%);padding:1.35rem;border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:0 24px 70px #080f1a38}.contact-avatar{width:4rem;height:4rem;margin-bottom:.9rem;border-radius:var(--radius-md);border:2px solid var(--color-accent);overflow:hidden}.contact-avatar img{width:100%;height:100%;object-fit:cover;transform:scale(1.9);transform-origin:52% 45%}.contact-modal h2{margin-top:.28rem;font-size:1.45rem}.contact-modal-copy{margin-top:.4rem;font-size:.86rem}.contact-modal-close{position:absolute;top:.8rem;right:.85rem;display:grid;place-items:center;width:2rem;height:2rem;border:1px solid var(--color-border);border-radius:999px;background:var(--color-surface-alt);color:var(--color-text-soft);font-size:1.15rem;line-height:1;cursor:pointer}.contact-email-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-top:1rem;padding:.72rem .75rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-alt)}.contact-email-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;font-weight:650;color:var(--color-text)}.contact-email-row button{flex:0 0 auto;padding:.42rem .65rem;border:1px solid var(--color-border-strong);border-radius:.55rem;background:var(--color-surface);color:var(--color-text);font-size:.72rem;font-weight:750;cursor:pointer}.contact-mailto-button{width:100%;margin-top:.75rem}@media(max-width:480px){.contact-email-row{align-items:stretch;flex-direction:column}.contact-email-row span{white-space:normal;word-break:break-all}}.gallery-lightbox{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:1.25rem 4.5rem;background:#08080be6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);opacity:0;visibility:hidden;transition:opacity .16s ease,visibility .16s ease}.gallery-lightbox.is-open{opacity:1;visibility:visible;transition:opacity .16s ease,visibility 0s}.gallery-lightbox-stage{display:grid;place-items:center;max-width:calc(100vw - 10rem);max-height:calc(100vh - 7rem)}.gallery-lightbox-image,.gallery-lightbox-video{display:block;width:auto;height:auto;max-width:min(1200px,calc(100vw - 10rem));max-height:min(760px,calc(100vh - 7rem));object-fit:contain;border-radius:var(--radius-lg)}.gallery-lightbox-video{background:#0b0b0f;cursor:pointer}.gallery-lightbox-youtube{display:block;width:min(1100px,calc(100vw - 10rem),calc((100vh - 7rem) * 16 / 9));aspect-ratio:16 / 9;border:0;border-radius:var(--radius-lg);background:#000}.gallery-lightbox-close,.gallery-lightbox-nav{position:absolute;display:inline-flex;align-items:center;justify-content:center;width:3rem;height:3rem;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:#0a0a0eb8;color:#fff;font-size:1.35rem;cursor:pointer}.gallery-lightbox-close{top:1.25rem;right:1.25rem}.gallery-lightbox-prev{left:1.25rem;top:50%;transform:translateY(-50%)}.gallery-lightbox-next{right:1.25rem;top:50%;transform:translateY(-50%)}.gallery-lightbox-counter{position:absolute;left:50%;bottom:1.2rem;transform:translate(-50%);padding:.4rem .7rem;border-radius:999px;background:#0a0a0eb8;border:1px solid rgba(255,255,255,.15);color:#fff;font-size:.9rem;line-height:1}body.lightbox-open{overflow:hidden}.pixelated-media{image-rendering:pixelated;image-rendering:crisp-edges}@media(max-width:640px){.gallery-lightbox{padding:1rem}.gallery-lightbox-stage,.gallery-lightbox-image,.gallery-lightbox-video{max-width:calc(100vw - 2rem);max-height:calc(100vh - 6rem)}.gallery-lightbox-youtube{width:calc(100vw - 2rem)}.gallery-lightbox-nav{width:2.6rem;height:2.6rem;font-size:1.1rem}.gallery-lightbox-prev{left:.5rem}.gallery-lightbox-next{right:.5rem}.gallery-lightbox-counter{bottom:.7rem}}.project-gallery{display:flex;flex-direction:column;gap:.4rem;max-width:440px;margin-top:.25rem}.project-gallery-bar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:2rem}.project-gallery-bar>span{font-size:.8rem;color:var(--color-text-muted)}.project-gallery-arrows{display:flex;gap:.375rem}.project-gallery-arrows button{width:2rem;height:2rem;border-radius:var(--radius-sm);border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);cursor:pointer}.project-gallery-arrows button:disabled{opacity:.35;cursor:default}.project-gallery-window{overflow:hidden;border-radius:var(--radius-sm)}.project-gallery-track{--gap: 6px;display:flex;gap:var(--gap);list-style:none;transform:translate(calc(var(--first) * (100% + var(--gap)) / -4));transition:transform .35s var(--ease-out)}.project-gallery-track>li{flex:0 0 calc((100% - 3 * var(--gap)) / 4)}.project-gallery-thumb{position:relative;display:block;width:100%;padding:0;overflow:hidden;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-alt);cursor:zoom-in}.project-gallery-thumb img,.project-gallery-thumb video{width:100%;aspect-ratio:16 / 10;object-fit:cover}.project-gallery-play{position:absolute;left:4px;bottom:4px;padding:0 4px;border-radius:3px;background:#000000a6;color:#fff;font-size:.625rem;line-height:1.4}@media(prefers-reduced-motion:reduce){.project-gallery-track{transition:none}}.timeline{display:flex;flex-direction:column;list-style:none}.timeline-item{display:grid;grid-template-columns:180px minmax(0,1fr)}.timeline-period{display:flex;flex-direction:column;padding-top:2px}.timeline-period span:first-child{font-size:.875rem;font-weight:500;color:var(--color-text)}.timeline-period span:last-child{font-size:.8rem;color:var(--color-text-muted)}.timeline-body{position:relative;display:flex;flex-direction:column;gap:.75rem;padding:0 0 3rem 1.5rem;border-left:1px solid var(--color-border)}.timeline-item:last-child .timeline-body{padding-bottom:0}.timeline-marker{position:absolute;left:-5px;top:8px;width:9px;height:9px;border-radius:50%;background:var(--color-text-muted)}.timeline-item:first-child .timeline-marker{background:var(--color-accent)}.timeline-heading h3{font-size:1.06rem}.timeline-heading p{font-size:.94rem;color:var(--color-text)}.timeline-heading p span{color:var(--color-text-muted)}.timeline-summary{max-width:680px}.timeline-highlights{display:flex;flex-direction:column;gap:.25rem;max-width:680px;list-style:none}.timeline-highlights li{display:flex;gap:.625rem;font-size:.94rem}.timeline-highlights li:before{content:"–";color:var(--color-accent);font-weight:600}.timeline-tech{display:flex;flex-wrap:wrap;gap:.375rem;list-style:none}.timeline-tech li{padding:.05rem .5rem;border-radius:var(--radius-sm);background:var(--color-surface-alt);font-size:.8rem}@media(max-width:640px){.timeline-item{grid-template-columns:1fr}.timeline-period{padding:0 0 .5rem 1.5rem;border-left:1px solid var(--color-border)}}.site-footer{border-top:1px solid var(--color-border);padding-block:1.5rem;font-size:.8rem;color:var(--color-text-muted)}.games-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.25rem;list-style:none}.game-card{display:flex;flex-direction:column;gap:.375rem}.game-cover{position:relative;display:block;width:100%;padding:0;overflow:hidden;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-alt);cursor:pointer}.game-cover img{width:100%;aspect-ratio:16 / 9;object-fit:cover;transition:transform .3s var(--ease-out)}.game-cover:hover img{transform:scale(1.03)}.game-cover span{position:absolute;left:8px;bottom:8px;padding:1px 8px;border-radius:4px;background:#000000a6;color:#fff;font-size:.75rem;font-weight:500}.game-card h3{margin-top:.125rem;font-size:.94rem;font-weight:500}.game-stores{display:flex;flex-wrap:wrap;gap:.25rem .75rem;list-style:none}.game-stores a{font-size:.8rem;color:var(--color-accent)}.game-stores a:hover{text-decoration:underline}.language-toggle{display:inline-flex;gap:.125rem}.language-toggle button{height:2rem;padding:0 .625rem;border:1px solid transparent;border-radius:var(--radius-sm);background:transparent;color:var(--color-text-soft);font-size:.8rem;cursor:pointer}.language-toggle button.is-active{border-color:var(--color-border);background:var(--color-surface);color:var(--color-text);font-weight:600}.theme-toggle{width:2rem;height:2rem;display:inline-grid;place-items:center;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text-soft);cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease}.theme-toggle:hover{background:var(--color-surface-alt)}.theme-icon{width:1rem;height:1rem}.theme-icon-moon{fill:currentColor;stroke:none}.theme-icon-sun{display:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}html[data-theme=dark] .theme-icon-moon{display:none}html[data-theme=dark] .theme-icon-sun{display:block}.site-header-shell{position:sticky;top:0;z-index:50;background:var(--color-bg);border-bottom:1px solid var(--color-border)}.site-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem 1.5rem;padding-block:.75rem}.brand{font-size:.94rem;font-weight:600;color:var(--color-text)}.site-nav{display:flex;gap:1.5rem}.site-nav a{font-size:.875rem;color:var(--color-text-soft);white-space:nowrap}.site-nav a:hover{color:var(--color-text)}.header-actions{display:flex;align-items:center;gap:.5rem}@media(max-width:640px){.site-nav{order:3;width:100%;justify-content:space-between;gap:.75rem}}.home section[id]{scroll-margin-top:4.5rem}.home-hero{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:3rem;padding:6rem 0 4.5rem}.home-hero-copy{display:flex;flex:1 1 520px;flex-direction:column;gap:1.25rem;min-width:0}.home-location{font-size:.875rem;color:var(--color-text-muted)}.home h1{font-size:clamp(2.25rem,4vw,2.75rem);line-height:1.1;letter-spacing:-.02em}.home-role{margin-top:.375rem;font-size:1.25rem;font-weight:500}.home-intro{max-width:560px}.home-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}.home-link{font-size:.94rem;font-weight:500;color:var(--color-accent)}.home-link:hover{text-decoration:underline}.home-photo{width:240px;height:240px;overflow:hidden;border:1px solid var(--color-border);border-radius:var(--radius-lg)}.home-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 30%;transform:scale(1.3);transform-origin:50% 35%}.home-section{display:flex;flex-direction:column;gap:1.5rem;padding:3.5rem 0;border-top:1px solid var(--color-border)}.home-section h2{font-size:1.5rem}.home-section-copy{margin-top:.25rem;font-size:.94rem}.home-about{display:flex;flex-direction:column;gap:.875rem;max-width:760px}.home-skills{display:flex;flex-direction:column;gap:.875rem}.home-skill-row{display:grid;grid-template-columns:180px minmax(0,1fr);align-items:baseline}.home-skill-row>span{font-size:.875rem;font-weight:500;color:var(--color-text-muted)}.home-skill-row ul{display:flex;flex-wrap:wrap;gap:.5rem;padding-left:1.5rem;list-style:none}.home-skill-row li{padding:.15rem .625rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);font-size:.875rem;color:var(--color-text)}.home-education{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2.5rem}.home-list{display:flex;flex-direction:column;gap:1rem}.home-list h2{font-size:1.25rem}.home-list p{font-weight:500;color:var(--color-text)}.home-list span{font-size:.875rem;color:var(--color-text-muted)}.home-contact{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;padding-bottom:4.5rem}@media(max-width:640px){.home section[id]{scroll-margin-top:6.75rem}.home-hero{flex-direction:column-reverse;align-items:flex-start;gap:2rem;padding:3rem 0}.home-photo{width:160px;height:160px}.home-skill-row{grid-template-columns:1fr;gap:.375rem}.home-skill-row ul{padding-left:0}}:root{--font-body: "Inter", system-ui, sans-serif;--color-bg: #fafafa;--color-surface: #ffffff;--color-surface-alt: #f0f0f2;--color-border: #e4e4e7;--color-border-strong: #d4d4d8;--color-text: #18181b;--color-text-soft: #3f3f46;--color-text-muted: #62626b;--color-accent: #3d5a80;--color-accent-soft: rgba(61, 90, 128, .1);--color-on-accent: #ffffff;--shadow-soft: 0 1px 2px rgba(24, 24, 27, .05);--shadow-lift: 0 8px 24px rgba(24, 24, 27, .08);--radius-lg: .75rem;--radius-md: .5rem;--radius-sm: .375rem;--ease-out: cubic-bezier(.22, 1, .36, 1)}html[data-theme=dark]{color-scheme:dark;--color-bg: #0f1012;--color-surface: #16181b;--color-surface-alt: #1f2226;--color-border: #2a2d32;--color-border-strong: #3a3d44;--color-text: #ececee;--color-text-soft: #b4b6bc;--color-text-muted: #8d9098;--color-accent: #8fb0d6;--color-accent-soft: rgba(143, 176, 214, .12);--color-on-accent: #0f1012;--shadow-soft: 0 1px 2px rgba(0, 0, 0, .3);--shadow-lift: 0 8px 24px rgba(0, 0, 0, .4)}*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;overflow-x:clip}body{min-height:100vh;font-family:var(--font-body);font-size:1rem;line-height:1.6;background:var(--color-bg);color:var(--color-text);padding:0 0 2rem;-webkit-font-smoothing:antialiased;overflow-x:hidden}::selection{background:var(--color-accent);color:var(--color-on-accent)}a{color:inherit;text-decoration:none}img,video{display:block;max-width:100%}button,a,input,textarea,select{font:inherit}:focus-visible{outline:2px solid var(--color-accent);outline-offset:3px}h1,h2,h3,h4{color:var(--color-text);font-weight:600;letter-spacing:-.01em}p,span,legend,li{color:var(--color-text-soft);line-height:1.6}.container{width:min(1080px,calc(100% - 3rem));margin-inline:auto}.button{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:2.75rem;padding:.6rem 1.1rem;border-radius:var(--radius-md);background:var(--color-text);color:var(--color-bg);font-size:.94rem;font-weight:500;border:1px solid transparent;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,opacity .16s ease}.button:hover{opacity:.88}.button span,button span{color:inherit}.button-secondary{background:var(--color-surface);color:var(--color-text);border-color:var(--color-border)}.button-secondary:hover{opacity:1;border-color:var(--color-border-strong)}html.reveal-ready .reveal{opacity:0;transform:translateY(8px);transition:opacity .5s var(--ease-out),transform .5s var(--ease-out);transition-delay:var(--reveal-delay, 0ms)}html.reveal-ready .reveal.is-visible{opacity:1;transform:none}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}html.reveal-ready .reveal{opacity:1;transform:none;transition:none}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important}}@media(max-width:560px){.container{width:calc(100% - 2rem)}}
