:root[data-theme=light]{--color-bg: hsl(240, 12%, 97%);--color-bg-card: hsl(0, 0%, 100%);--color-text: hsl(240, 11%, 6%);--color-text-secondary: hsl(0, 0%, 33%);--color-accent: hsl(246, 100%, 70%);--color-accent-hover: hsl(244, 72%, 61%);--color-border: hsl(240, 10%, 89%);--color-navbar: hsl(0, 0%, 100% / .92);--shadow-soft: hsl(0, 0%, 0% / .08);--color-footer-bg: hsl(240, 12%, 97%);--color-footer-text: hsl(0, 0%, 12%)}:root[data-theme=dark]{--color-bg: hsl(240, 11%, 6%);--color-bg-card: hsl(240, 11%, 12%);--color-text: hsl(49, 65%, 90%);--color-text-secondary: hsl(230, 15%, 74%);--color-accent: hsl(252, 100%, 76%);--color-accent-hover: hsl(257, 100%, 83%);--color-border: hsl(231, 9%, 18%);--color-navbar: hsl(240, 11%, 6% / .9);--shadow-soft: hsl(0, 0%, 100% / .07);--color-footer-bg: hsl(240, 11%, 6%);--color-footer-text: hsl(240, 9%, 95%)}:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400}body{margin:0;display:flex;place-items:center;background-color:var(--color-bg);color:var(--color-text);min-width:320px;min-height:100vh}html{scroll-behavior:smooth}h1{font-size:clamp(3rem,10vw,4rem);font-weight:800;line-height:.9;text-transform:uppercase}h2{font-size:clamp(2.2rem,5vw,3.2rem);font-weight:700;line-height:1.1;text-transform:uppercase;letter-spacing:.12em;color:var(--color-text);margin:0 0 2rem}h3{font-size:clamp(1.4rem,3vw,1.8rem);font-weight:600;line-height:1.2;text-transform:uppercase;letter-spacing:.1em;color:var(--color-text);margin:0 0 1.2rem}h4{font-size:1rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--color-text-secondary);margin:0 0 .8rem}p{margin:0 0 1rem;font-size:.95rem;line-height:1.6;color:var(--color-text)}small{font-size:.8rem;color:var(--color-text-secondary)}img{max-width:100%;display:block}a{color:var(--color-accent);text-decoration:none;text-underline-offset:.2em;text-decoration-thickness:.08em;transition:color .2s ease,text-decoration-color .2s ease}a:hover{color:var(--color-accent-hover);text-decoration:underline}a:focus-visible{outline:2px solid var(--color-accent);outline-offset:3px;border-radius:4px}button{font-family:inherit;font-size:.95rem}.btn,button.btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;padding:.7rem 1.6rem;border-radius:999px;border:1px solid transparent;background-color:var(--color-accent);color:var(--color-bg);font-weight:600;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;transition:background-color .2s ease,color .2s ease,box-shadow .2s ease,transform .1s ease;box-shadow:0 6px 16px var(--shadow-soft)}.btn:hover,button.btn-primary:hover{background-color:var(--color-accent-hover);color:var(--color-bg);transform:translateY(-1px)}.btn:focus-visible,button.btn-primary:focus-visible{outline:2px solid var(--color-accent-hover);outline-offset:3px}.btn-ghost{background-color:transparent;color:var(--color-text);border:1px solid var(--color-border)}.btn-ghost:hover{background-color:var(--color-bg-card);color:var(--color-text)}.btn:disabled,button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}:where(button,a,input,textarea,select):focus-visible{outline:2px solid var(--color-accent);outline-offset:3px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.reveal{opacity:0;transform:translateY(24px)}.reveal--visible{opacity:1;transform:translateY(0)}@media(prefers-reduced-motion:no-preference){.reveal{transition:opacity .6s ease-out,transform .6s ease-out}.reveal--delay-1{transition-delay:.1s}.reveal--delay-2{transition-delay:.2s}.reveal--delay-3{transition-delay:.3s}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto;animation-duration:.01ms;animation-iteration-count:1;transition-duration:.01ms}.reveal{opacity:1;transform:none;transition:none}}.footer{padding:2rem 4vw 3rem;background-color:var(--color-footer-bg);color:var(--color-footer-text)}.footer-line{border:none;border-top:1px solid var(--color-border);opacity:.6;margin-bottom:1.5rem}.footer-content{display:flex;justify-content:space-between;align-items:center}.footer-content p{font-size:.6rem;letter-spacing:.1em;text-transform:uppercase}.footer-left{font-weight:600}.footer-center{opacity:.85;text-align:center;flex:1}@media(max-width:700px){.footer-content{flex-direction:column;gap:.75rem;text-align:center}.footer-center{flex:unset}}.about-section{padding:5rem 4vw 6rem;background-color:var(--color-bg);color:var(--color-text)}.about-title{text-align:center;margin-bottom:3rem}.about-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:3rem;align-items:center}.about-left{display:flex;flex-direction:column;gap:1.5rem}.about-card{background:var(--color-bg-card);border-radius:16px;margin:0 5rem;padding:1.6rem 2.5rem;border:1px solid var(--color-border);box-shadow:0 18px 40px var(--shadow-soft)}.about-card-title{font-size:.9rem;letter-spacing:.1em;text-transform:uppercase;margin-bottom:.8rem;color:var(--color-text-secondary)}.about-card-text{font-size:.95rem;line-height:1.5;color:var(--color-text);opacity:.95}.about-right{display:flex;flex-direction:column;align-items:center;gap:2rem}.about-photo-wrapper{position:relative;width:min(320px,70vw);height:min(320px,70vw);display:flex;justify-content:center;align-items:center}.about-photo-border{width:100%;height:100%;border-radius:50%;padding:6px;background:radial-gradient(circle at 30% 0,var(--color-accent),var(--color-bg-card));display:flex;justify-content:center;align-items:center}.about-photo{width:100%;height:100%;border-radius:50%;object-fit:cover}.about-card-fun{align-self:stretch;margin-top:3rem}@media(max-width:900px){.about-layout{grid-template-columns:1fr;gap:2.5rem}.about-right{order:-1}.about-section{padding-inline:1.5rem}.about-card{margin:0;padding:1.4rem 1.6rem}.about-card-fun{margin-top:2rem}}.skills-section{padding:5rem 4vw 6rem;background-color:var(--color-bg);color:var(--color-text)}.skills-title{text-align:center;margin-bottom:3rem}.skills-bento{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:2rem;grid-auto-rows:minmax(190px,auto)}.bento-item{background:var(--color-bg-card);border-radius:22px;padding:1.6rem 1.8rem;border:1px solid var(--color-border);box-shadow:0 18px 40px var(--shadow-soft);display:flex;flex-direction:column}.bento-item--wide{grid-column:span 2}.bento-item--tall{grid-row:span 2}.bento-title{font-size:.9rem;text-transform:uppercase;letter-spacing:.12em;margin-bottom:1.1rem;color:var(--color-text-secondary)}.bento-skills-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:.8rem;margin-top:.2rem}.bento-skill-card{background:var(--color-bg);border-radius:14px;padding:.6rem .5rem;min-height:60px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px solid var(--color-border);transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease,border-color .2s ease}.bento-skill-icon{width:30px;height:30px;margin-bottom:.35rem;object-fit:contain}.bento-skill-name{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:var(--color-text)}@media(max-width:900px){.skills-bento{grid-template-columns:1fr;grid-auto-rows:auto}.bento-item--wide,.bento-item--tall{grid-column:span 1;grid-row:span 1}}.contact-section{padding:5rem 2rem 4rem;text-align:center;background-color:var(--color-bg);color:var(--color-text)}.contact-title{margin-bottom:3rem}.contact-grid{display:flex;justify-content:center;gap:4rem;flex-wrap:wrap;margin-bottom:3rem}.contact-card{display:flex;flex-direction:column;align-items:center;text-decoration:none;gap:.5rem;padding:1rem;border-radius:14px;background-color:var(--color-bg-card);border:1px solid var(--color-border);box-shadow:0 8px 18px var(--shadow-soft);transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease,border-color .2s ease}.contact-card:hover,.contact-card:focus-visible{transform:translateY(-3px);border-color:var(--color-accent);box-shadow:0 14px 28px var(--shadow-soft)}.contact-icon{width:50px;height:50px;object-fit:contain;margin-bottom:.5rem}.contact-label{font-weight:600;font-size:1rem;color:var(--color-text)}.contact-handle{font-size:.9rem;color:var(--color-text-secondary)}a.contact-cv-button{display:inline-block;padding:.9rem 2.8rem;border-radius:999px;font-weight:600;font-size:.95rem;text-decoration:none;background-color:var(--color-accent);color:var(--color-bg);border:1px solid transparent;box-shadow:0 12px 25px var(--shadow-soft);transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease}a.contact-cv-button:hover{transform:translateY(-2px);background-color:var(--color-accent-hover);box-shadow:0 18px 35px var(--shadow-soft)}a.contact-cv-button:focus-visible{outline:2px solid var(--color-accent-hover);outline-offset:4px}@media(max-width:768px){.contact-title{margin-bottom:2.5rem}.contact-grid{gap:2.5rem}.contact-card{padding:.8rem}}.hero{width:100%;height:750px;display:flex;flex-direction:column;padding:2rem;box-sizing:border-box;overflow:hidden;background-color:var(--color-bg);color:var(--color-text)}.hero-layout{flex:1;display:grid;grid-template-columns:1fr 1fr}.hero-text{padding:4rem 3rem;display:flex;flex-direction:column;justify-content:center;gap:1.7rem}.hero-eyebrow{font-size:.9rem;letter-spacing:.15em;text-transform:uppercase;line-height:1.4;color:var(--color-text-secondary)}.hero-title{margin:0}.hero-title span{display:block}.hero-tagline{font-size:.95rem;max-width:32rem;color:var(--color-text)}.hero-buttons{display:flex;gap:1rem;flex-wrap:wrap}.hero-meta{font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;color:var(--color-text-secondary)}.hero-image-wrapper{background:var(--color-bg-card);display:flex;border-radius:16px;border:1px solid var(--color-border);box-shadow:0 10px 30px var(--shadow-soft);overflow:hidden}.hero-image{width:100%;height:100%;object-fit:cover;object-position:center}:root[data-theme=dark] .hero-image-wrapper{filter:brightness(.9)}@media(min-width:1200px){.hero{max-width:1400px;margin:0 auto;padding-inline:2rem}.hero-layout{grid-template-columns:1fr 1fr;align-items:center}.hero-text{max-width:550px}}@media(max-width:900px){.hero-layout{grid-template-columns:1fr}.hero-text{padding:2.5rem 1.5rem 1.5rem}.hero-image-wrapper{height:260px;margin:0 1.5rem 1.5rem}.hero-scroll-hint{padding-inline:1.5rem}}@media(max-width:600px){.hero{height:auto;padding:1.5rem 1rem 2rem}.hero-text{padding:2rem 0 1.5rem}.hero-buttons{flex-direction:column;align-items:flex-start}}.project-card{background:var(--color-bg-card);border:2px solid var(--color-border);border-radius:12px;font:inherit;padding:1.5rem;text-align:center;color:var(--color-text);max-width:420px;display:flex;flex-direction:column;gap:1rem;box-shadow:0 10px 30px var(--shadow-soft);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.project-card:hover{transform:translateY(-4px);border-color:var(--color-accent);box-shadow:0 14px 36px var(--shadow-soft)}.project-image img{width:100%;border-radius:8px;object-fit:cover}.project-title{font-size:1.3rem;font-weight:600;color:var(--color-text)}.project-description{font-size:.95rem;line-height:1.5;margin-bottom:.5rem;color:var(--color-text-secondary)}.project-icon-link{display:inline-flex;align-items:center;justify-content:center;padding:.3rem;border-radius:8px;transition:opacity .25s ease,transform .25s ease}.project-icon-link:hover,.project-icon-link:focus-visible{opacity:.8;transform:translateY(-2px)}.project-icon{width:30px;height:30px;object-fit:contain;transition:filter .3s ease}:root[data-theme=light] .project-icon{filter:brightness(0) saturate(0) contrast(1)}:root[data-theme=dark] .project-icon{filter:brightness(1.8)}.project-techs{font-size:.95rem;letter-spacing:.05em;font-weight:500;color:var(--color-text)}.project-btn{margin-top:auto;display:inline-block;border:2px solid var(--color-border);padding:.6rem 1.3rem;text-decoration:none;color:var(--color-text);font-weight:500;border-radius:8px;transition:background-color .2s ease,color .2s ease,border-color .2s ease}.project-btn:hover{background:var(--color-accent);color:var(--color-bg);border-color:var(--color-accent)}.projects-section{padding:4rem 2rem;background-color:var(--color-bg);color:var(--color-text)}.projects-title{text-align:center;margin-bottom:3rem;letter-spacing:.15em;text-transform:uppercase}.projects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:2rem;justify-items:center}.modal-overlay{position:fixed;inset:0;display:flex;justify-content:center;align-items:center;padding:1.5rem;z-index:1000}:root[data-theme=light] .modal-overlay{background-color:#00000073}:root[data-theme=dark] .modal-overlay{background-color:#000000bf}.modal{position:relative;max-width:1000px;width:100%;max-height:90vh;overflow-y:auto;padding:2rem 2.5rem;border-radius:24px;border:1px solid var(--color-border);box-shadow:0 25px 60px var(--shadow-soft)}:root[data-theme=light] .modal{background-color:var(--color-bg-card);color:var(--color-text)}:root[data-theme=dark] .modal{background-color:#1a1a1ad9;color:var(--color-text);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.modal-title{margin-bottom:1.5rem;font-size:1.8rem;text-align:center}.modal-video{width:100%;border-radius:16px;margin-bottom:1.5rem}.modal-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;margin-bottom:1.5rem}.modal-columns h4{margin-bottom:.5rem;font-size:1rem;text-transform:uppercase;letter-spacing:.08em;color:var(--color-text-secondary)}.modal-columns p{font-size:.95rem;line-height:1.5}.modal-techs{text-align:center;font-weight:600;letter-spacing:.08em;font-size:.9rem;opacity:.9}.modal-close{position:absolute;top:1rem;right:1.2rem;border:none;background:transparent;color:var(--color-text);font-size:2rem;line-height:1;cursor:pointer}.modal-close:hover,.modal-close:focus-visible{color:var(--color-accent)}@media(max-width:768px){.modal{padding:1.5rem}.modal-columns{grid-template-columns:1fr}}.lang-switch{display:inline-flex;gap:.4rem}.lang-switch button{min-width:2.6rem;padding:.25rem .9rem;border-radius:999px;border:1px solid var(--color-border);background-color:transparent;color:var(--color-text);font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;cursor:pointer;transition:background-color .2s ease,color .2s ease,border-color .2s ease}.lang-switch button.is-active{background-color:var(--color-accent);color:var(--color-bg);border-color:var(--color-accent)}.lang-switch button:hover{border-color:var(--color-accent)}.lang-switch button:focus-visible{outline:2px solid var(--color-accent-hover);outline-offset:3px}.theme-toggle{padding:.5rem;border-radius:999px;border:1px solid var(--color-border);background:transparent;color:var(--color-text);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .15s ease}.theme-toggle:hover{background-color:var(--color-accent);color:var(--color-bg);border-color:var(--color-accent);transform:translateY(-1px)}.theme-toggle:active{transform:translateY(0)}.theme-toggle:focus-visible{outline:2px solid var(--color-accent-hover);outline-offset:3px}.icon-viewport{display:inline-block;width:24px;height:24px;overflow:hidden;vertical-align:middle}.icon-stack{display:inline-flex;flex-direction:column;transition:transform .45s ease;will-change:transform}.icon{width:24px;height:24px;display:block;pointer-events:none}:root[data-theme=light] .icon-stack{transform:translateY(0)}:root[data-theme=dark] .icon-stack{transform:translateY(-50%)}:root[data-theme=dark] .theme-toggle img{filter:invert(1) brightness(1.5)}@media(max-width:480px){.theme-toggle{padding:.4rem}}.navbar-shell{position:fixed;top:12px;left:0;right:0;display:flex;justify-content:center;z-index:1000;pointer-events:none;padding-inline:.75rem}.navbar-pill{pointer-events:auto;display:flex;align-items:center;gap:2rem;padding:.75rem 2.5rem;border-radius:999px;max-width:980px;width:100%;background:var(--color-navbar);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 14px 40px var(--shadow-soft)}.navbar-brand{font-weight:700;text-decoration:none;color:var(--color-text);white-space:nowrap}.navbar-menu{display:flex;gap:1.8rem;font-size:.95rem}.navbar-menu a{text-decoration:none;color:var(--color-text-secondary);white-space:nowrap}.navbar-menu a:hover{color:var(--color-text)}.navbar-menu a:focus-visible,.navbar-brand:focus-visible{outline:2px solid var(--color-accent);outline-offset:3px;border-radius:4px}.navbar-actions{display:flex;align-items:center;gap:.75rem;margin-left:auto}@media(max-width:900px){.navbar-pill{padding:.6rem 1.6rem;gap:1.4rem}.navbar-menu{gap:1.2rem;font-size:.9rem}}@media(max-width:700px){.navbar-pill{flex-wrap:wrap;row-gap:.4rem;justify-content:center;padding:.6rem 1rem}.navbar-brand{flex:1 0 100%;text-align:center}.navbar-menu{order:2;flex:1 0 100%;justify-content:center;flex-wrap:wrap;gap:1rem;text-align:center}.navbar-actions{order:3;width:100%;justify-content:center;margin-left:0}}@media(max-width:430px){.navbar-pill{padding-inline:.9rem}.navbar-menu{font-size:.85rem;gap:.8rem}}.scroll-up{position:fixed;right:calc(16px + env(safe-area-inset-left,0px));bottom:calc(95px + env(safe-area-inset-bottom,0px));z-index:1000;padding:1rem;border-radius:50%;cursor:pointer;display:flex;opacity:0;transform:translateY(20px);pointer-events:none;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#ffffff1f;border:1px solid var(--color-border);box-shadow:0 8px 20px var(--shadow-soft);transition:opacity .5s ease,transform .5s ease,background-color .2s ease,box-shadow .3s ease}:root[data-theme=dark] .scroll-up{background:#ffffff14;border-color:var(--color-border)}.scroll-up:hover{background:var(--color-accent);box-shadow:0 12px 26px var(--shadow-soft);transform:translateY(-3px)}.scroll-up:hover svg{transform:translateY(-2px)}.scroll-up:active{transform:translateY(0);box-shadow:0 6px 12px var(--shadow-soft)}.scroll-up:focus-visible{outline:3px solid var(--color-accent);outline-offset:.4rem}.scroll-up-icon{width:22px;height:22px;pointer-events:none;transition:transform .25s ease}:root[data-theme=dark] .scroll-up-icon{filter:invert(1) brightness(1.6)}.scroll-up.visible{opacity:1;transform:translateY(0);pointer-events:auto}.scroll-up.hidden{opacity:0;pointer-events:none;transform:translateY(10px)}@media(max-width:480px){.scroll-up{padding:.8rem;bottom:calc(12px + env(safe-area-inset-bottom,0px));right:calc(12px + env(safe-area-inset-left,0px))}}
