footer{background:var(--bg-footer);width:100%;display:flex;justify-content:center;align-items:center;text-align:center;padding:2.5rem 15% 2.5rem;border-top:1px solid rgba(255,255,255,.2);color:var(--text-light);box-sizing:border-box}footer>div{width:min(1100px,100%);margin:0 auto;display:flex;justify-content:center;align-items:center;gap:1rem;flex-wrap:wrap;text-align:center}footer>div{width:min(1100px,100%);margin:0 auto;display:flex;justify-content:center;align-items:center;gap:1rem;flex-wrap:wrap;text-align:center}.footer-left{display:inline-flex;align-items:center;justify-content:left;flex-wrap:nowrap;gap:.5rem}.footer-left svg{cursor:pointer}.footer-right{display:inline-flex;align-items:center;justify-content:right}footer h2{margin-bottom:.75rem;font-size:1.8rem}footer p{margin:.3rem 0}footer hr{border:none;border-top:1px solid rgba(255,255,255,.2);margin:1.5rem 0}@media (max-width:640px){footer{display:block;padding:1.5rem 1rem;text-align:center}footer>div{gap:.6rem;width:100%}.footer-left{flex-wrap:wrap;justify-content:center;text-align:center;line-height:1.4}.footer-right{width:100%;justify-content:center}footer h2{font-size:1.5rem}}nav{position:fixed;top:0;width:100%;min-height:64px;background-color:var(--bg-nav);display:flex;justify-content:space-between;align-items:center;padding:0 1rem;z-index:1000;box-shadow:0 2px 10px rgba(0,0,0,.5)}.nav-brand{display:flex;align-items:center;z-index:2}.nav-brand img{height:42px;width:42px;object-fit:cover;border-radius:50%;box-shadow:0 0 10px 2px #000;cursor:pointer}.nav-links{display:flex;align-items:center;gap:.25rem}nav a{color:#fff;text-decoration:none;margin:0 15px;font-weight:700;text-transform:uppercase;font-size:1.2rem;padding:10px 16px;transition:all .2s ease;border-radius:5px;text-shadow:0 0 5px rgba(0,0,0,.7)}nav a:hover{background:rgba(0,0,0,.1)}.menu-toggle{display:none;border:none;background:0 0;color:#fff;font-size:1.6rem;cursor:pointer;padding:.25rem .5rem}@media (max-width:900px){nav{justify-content:center;position:fixed}.menu-toggle{display:flex;align-items:center;justify-content:center;position:absolute;right:1rem;top:50%;transform:translateY(-50%);z-index:4}.nav-brand{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3}.nav-links{display:flex;flex-direction:column;position:absolute;top:100%;left:0;right:0;background-color:var(--bg-nav);padding:0 1rem 0;z-index:2;max-height:0;overflow:hidden;opacity:0;transform:translateY(-8px);pointer-events:none;transition:max-height .3s ease,opacity .25s ease,transform .3s ease,padding .3s ease;box-shadow:0 8px 20px rgba(0,0,0,.2)}nav.open .nav-links{max-height:260px;opacity:1;transform:translateY(0);padding:.5rem 1rem 1rem;pointer-events:auto}nav.open{padding-bottom:.5rem}nav.open .nav-brand{top:50%;transform:translate(-50%,-50%)}.nav-links a{width:100%;margin:0;padding:.8rem 1rem;text-align:left;opacity:0;transform:translateY(-6px);transition:opacity .2s ease,transform .2s ease}nav.open .nav-links a{opacity:1;transform:translateY(0);transition:all .2s ease}}.section-img{z-index:-1;opacity:1;position:absolute;right:-10vh;height:100%;top:5vh;pointer-events:none;-webkit-filtesr:drop-shadow(5px 5px 5px #222);filter:drop-shadow(5px 5px 5px #222);transition:opacity .5s ease}header,section{min-height:100vh;box-sizing:border-box;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;isolation:isolate}@keyframes navDropIn{from{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes heroFadeIn{from{opacity:0;transform:translateX(24px)}to{opacity:1;transform:translateX(0)}}@keyframes heroImageFadeIn{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}section{padding:calc(70px + 64px) 15% 60px}header{padding:100px 15% 60px}header>*,section>*{position:relative;z-index:1}section h2{font-size:2.5rem;margin-bottom:20px}.hero{text-align:left;position:relative;overflow:visible}.main-nav{animation:navDropIn .7s ease-out both}.hero-content{display:flex;align-items:center;justify-content:space-between;gap:2rem;width:100%;position:relative;z-index:1}.hero-text{flex:1 1 0;max-width:620px}.hero h1{font-size:clamp(3rem, 12vw, 6rem);margin:0;line-height:.9;animation:heroFadeIn .8s ease-out .15s both}.hero p{font-size:1.25rem;max-width:600px;color:var(--ctx-hr);animation:heroFadeIn .8s ease-out .3s both}.hero img{flex:0 0 auto;width:min(34vw,600px);max-width:600px;aspect-ratio:1/1;object-fit:cover;border-radius:100%;filter:drop-shadow(0 0 10px black);-webkit-filter:drop-shadow(0 0 10px black);animation:heroImageFadeIn .9s ease-out .25s both}.reveal{opacity:0;transform:translateY(28px);transition:opacity .7s ease,transform .7s ease;will-change:opacity,transform}.reveal.is-visible{opacity:1;transform:translateY(0)}.about{padding:calc(70px + 64px) 15% 0;text-align:center}.about hr{border:1px solid var(--ctx-hr);margin:20px 0}.about-content{max-width:600px;font-size:1.2rem}.upper{text-align:left;display:flex;flex-wrap:wrap;align-items:flex-start;gap:2rem}.about-content{flex:1 1 320px}.teaching{flex:1 1 320px;max-width:480px;font-style:italic;text-align:center;margin:0 auto}.teaching-gallery{display:flex;flex-direction:column;align-items:center;gap:.75rem}.teaching-gallery img{width:100%;max-width:600px;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:20px;filter:drop-shadow(0 0 10px black);-webkit-filter:drop-shadow(0 0 10px black)}.teaching-controls{display:flex;align-items:center;justify-content:center;gap:.75rem;color:var(--text-dark);font-weight:700}.gallery-btn{border:none;background:var(--bg-nav);color:#fff;width:2.2rem;height:2.2rem;border-radius:50%;cursor:pointer;box-shadow:0 4px 10px rgba(0,0,0,.16);transition:transform .2s ease}.gallery-btn:hover{transform:translateY(-2px)}.lower{margin-top:20px;color:var(--text-dark-muted);text-align:justify;font-style:italic}.lower:after{content:"";display:inline-block;width:100%}.project-grid{display:grid;grid-template-columns:1fr;gap:2rem;z-index:1}.project-list{display:flex;flex-direction:column;gap:15px;height:70vh;overflow-y:scroll;padding:20px}.project-item{background:var(--ctx-bg);padding:1.5rem;border-radius:10px;cursor:pointer;transition:.3s;color:#fff}.project-item:hover{background:var(--ctx-hover-bg);transform:translateX(10px)}.project-item h3{text-shadow:0 0 5px #000;padding-bottom:10px}.preview-box{background:var(--bg-footer);border-radius:15px;padding:20px;color:#fff;display:flex;flex-direction:column;box-shadow:0 10px 30px rgba(0,0,0,.3);height:70vh}.preview-box img{width:100%;height:50%;object-fit:cover;border-radius:10px;margin-bottom:15px}#about{background-color:var(--bg-about);box-shadow:0 -25px 20px -20px var(--bg-about)}#projects{background-color:var(--bg-projects);box-shadow:0 -25px 20px -20px var(--bg-projects)}#contact{box-shadow:0 -25px 20px -20px var(--bg-footer)}@media (min-width:1024px){.project-grid{grid-template-columns:1fr 1fr}}@media (max-width:1100px){.hero-content{gap:1.5rem}.hero img{width:min(30vw,320px)}}@media (max-width:900px){section{padding:calc(80px + 64px) 7% 60px}header{padding:90px 7% 60px}.hero{text-align:center;align-items:center}.hero-content{flex-direction:column;align-items:center}.hero-text{max-width:100%}.hero h1,.hero p{text-align:center;max-width:100%}.hero img{width:min(80vw,360px);margin-top:1.5rem}.about{padding:calc(80px + 64px) 7% 0}.about-content,.lower,.upper{text-align:center}.upper{flex-direction:column;align-items:center}.teaching{width:100%;margin-top:2rem;display:flex;flex-direction:column;align-items:center}.teaching-gallery{width:min(100%,420px)}.teaching img{width:100%}}@media (max-width:640px){section{padding:calc(80px + 64px) 5% 60px}header{padding:80px 5% 60px}section h2{font-size:2rem}.hero h1{font-size:clamp(2.2rem, 12vw, 3rem)}.hero p{font-size:1rem}.project-list{height:auto;max-height:50vh}.preview-box{height:auto}.preview-box img{height:220px}}.stew{text-decoration:none;font-weight:600;background:linear-gradient(120deg,#f60,#0fc,#f60);background-size:200% auto;background-clip:text;-webkit-background-clip:text;animation:gradientFlow 4s linear infinite;color:inherit;-webkit-text-fill-color:inherit;transition:-webkit-text-fill-color .4s ease,filter .4s ease,transform .2s ease;display:inline-block}.stew:hover{-webkit-text-fill-color:transparent;filter:drop-shadow(0 0 5px #ff6600);transform:translateY(-1px)}@keyframes gradientFlow{0%{background-position:0 center}100%{background-position:200% center}}