*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--bg: #fafafa;--bg-surface: #f0f0f0;--bg-hover: rgba(0, 0, 0, .03);--border: #e5e7eb;--text: #1a1a1a;--text-heading: #111;--text-muted: #6b7280;--text-faint: #9ca3af;--link: #2563eb;--tag-bg: rgba(37, 99, 235, .1);--tag-text: #2563eb;--card-border: #e5e7eb;--card-border-hover: #d1d5db;--thumbnail-bg: #e5e7eb;--nav-line: #9ca3af;--nav-line-active: #111;--nav-text: #6b7280;--nav-text-active: #111}:root[data-theme=dark]{--bg: #0f0f0f;--bg-surface: #1a1a1a;--bg-hover: rgba(255, 255, 255, .03);--border: #1a1a1a;--text: #e5e7eb;--text-heading: #f9fafb;--text-muted: #6b7280;--text-faint: #4b5563;--link: #60a5fa;--tag-bg: rgba(96, 165, 250, .1);--tag-text: #60a5fa;--card-border: #1a1a1a;--card-border-hover: #2a2a2a;--thumbnail-bg: #1a1a1a;--nav-line: #6b7280;--nav-line-active: #f9fafb;--nav-text: #6b7280;--nav-text-active: #f9fafb}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--bg: #0f0f0f;--bg-surface: #1a1a1a;--bg-hover: rgba(255, 255, 255, .03);--border: #1a1a1a;--text: #e5e7eb;--text-heading: #f9fafb;--text-muted: #6b7280;--text-faint: #4b5563;--link: #60a5fa;--tag-bg: rgba(96, 165, 250, .1);--tag-text: #60a5fa;--card-border: #1a1a1a;--card-border-hover: #2a2a2a;--thumbnail-bg: #1a1a1a;--nav-line: #6b7280;--nav-line-active: #f9fafb;--nav-text: #6b7280;--nav-text-active: #f9fafb}}html{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:1.6;color:var(--text);background:var(--bg);scroll-behavior:smooth;transition:color .2s,background-color .2s}body{min-height:100vh}a{color:var(--text);text-decoration:none}a:hover{color:var(--text-heading)}h1,h2,h3{line-height:1.2;color:var(--text-heading)}h1{font-size:2.5rem;font-weight:700}h2{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--text-heading);margin-bottom:1rem}h3{font-size:1rem;font-weight:600;color:var(--text-heading)}p{color:var(--text-muted);margin-bottom:.5rem}ul{list-style:none;padding:0}.theme-toggle{position:fixed;top:1.25rem;right:1.25rem;z-index:100;background:none;border:none;cursor:pointer;width:48px;height:26px;border-radius:13px;background:var(--border);padding:0;transition:background .3s}.theme-toggle .toggle-track{position:relative;width:100%;height:100%;display:block}.theme-toggle .toggle-thumb{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:var(--bg);transition:transform .3s ease,background .3s;display:flex;align-items:center;justify-content:center}:root[data-theme=dark] .theme-toggle .toggle-thumb,.toggle-thumb.is-dark{transform:translate(22px)}.theme-toggle .icon{width:12px;height:12px;fill:var(--text-muted);transition:fill .3s}.home-layout{display:flex;max-width:1100px;margin:0 auto;padding:0 1.5rem;gap:4rem}.sidebar{position:sticky;top:0;width:45%;max-width:420px;height:100vh;display:flex;flex-direction:column;justify-content:space-between;padding:6rem 0;flex-shrink:0}.profile-photo{width:80%;border-radius:8px;object-fit:cover;margin-bottom:1.5rem}.sidebar-header h1{margin-bottom:.25rem}.sidebar-header .subtitle{font-size:1.1rem;color:var(--text);font-weight:500;margin-bottom:.5rem}.sidebar-header .tagline{color:var(--text-muted);font-size:.95rem;line-height:1.5;max-width:300px}.section-nav{display:flex;flex-direction:column;gap:.75rem;margin-top:3rem;position:relative}.section-nav a{display:flex;align-items:center;gap:.75rem;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--nav-text);transition:color .3s}.section-nav a:before{content:"";display:inline-block;width:2rem;height:1px;background:var(--nav-line);transition:width .3s ease,background .3s ease}.section-nav a:hover,.section-nav a.active{color:var(--nav-text-active)}.section-nav a:hover:before,.section-nav a.active:before{width:4rem;background:var(--nav-line-active)}.social-links{display:flex;gap:1.25rem;margin-top:auto}.social-links a{color:var(--text-muted);transition:color .15s}.social-links a:hover{color:var(--text-heading)}.main-content{flex:1;padding:6rem 0;min-width:0}.main-content section{margin-bottom:4rem;scroll-margin-top:1rem}.entry{padding:1rem;border-radius:6px;margin-bottom:.5rem;transition:background .2s,transform .2s}.entry:hover{background:var(--bg-hover);transform:translate(4px)}a.entry-link{display:block;text-decoration:none;color:inherit;cursor:pointer}.legacy-dropdown{margin-top:1.5rem}.legacy-dropdown summary{cursor:pointer;font-size:.9rem;color:var(--text-muted);padding:.5rem 0;list-style:none}.legacy-dropdown summary:before{content:"▸ "}.legacy-dropdown[open] summary:before{content:"▾ "}.legacy-dropdown summary::-webkit-details-marker{display:none}.entry-header{display:flex;gap:1rem;align-items:baseline;margin-bottom:.25rem}.entry-date{font-size:.8rem;color:var(--text-muted);white-space:nowrap;min-width:90px}.entry-title{font-size:1rem;font-weight:600;color:var(--text-heading)}.entry-subtitle{color:var(--text-muted);font-size:.9rem;margin-bottom:0;padding-left:calc(90px + 1rem)}.tag{display:inline-block;background:var(--tag-bg);color:var(--tag-text);padding:.15rem .5rem;border-radius:999px;font-size:.75rem;margin:.15rem}.tags{padding-left:calc(90px + 1rem);margin-top:.25rem}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem}.project-card{display:block;color:inherit;text-decoration:none;border:1px solid var(--card-border);border-radius:6px;padding:1rem;transition:background .2s,border-color .2s,transform .2s,box-shadow .2s}.project-card:hover{background:var(--bg-hover);border-color:var(--card-border-hover);transform:translateY(-3px);box-shadow:0 4px 12px #00000026}.project-card .thumbnail{background:var(--thumbnail-bg);width:100%;aspect-ratio:16/9;border-radius:4px;margin-bottom:.75rem;display:flex;align-items:center;justify-content:center;color:var(--text-faint);font-size:.85rem}.project-card h3{margin-bottom:.25rem}.project-page{max-width:720px;margin:0 auto;padding:3rem 1.5rem}.project-page h1{font-size:2rem;margin-bottom:.5rem}.project-page section{margin-bottom:2rem}.back-link{display:inline-block;color:var(--link);font-size:.9rem;margin-bottom:2rem}.back-link:hover{text-decoration:underline}.prev-next-sidebar{display:flex;flex-direction:column;gap:.5rem;font-size:.85rem}.prev-next-sidebar a{color:var(--link)}.prev-next-sidebar a:hover{text-decoration:underline}.prev-next{display:flex;justify-content:space-between;margin-top:3rem;padding-top:1rem;border-top:1px solid var(--border);font-size:.9rem}.prev-next a{color:var(--link)}.prev-next a:hover{text-decoration:underline}.main-content img:not(.lightbox-img):not(.carousel-track img){transition:filter .2s ease}.main-content img:not(.lightbox-img):not(.carousel-track img):hover{filter:brightness(.7)}.project-page img,.main-content section>img{width:100%;max-width:500px;border-radius:6px;margin:.5rem 0}.main-content .image-grid img{width:100%;border-radius:6px;margin:.5rem 0}.project-page .image-caption{font-size:.8rem;color:var(--text-muted);font-style:italic;margin-bottom:1rem}.project-page .image-grid,.main-content .image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.75rem;margin:1rem 0}.project-page .image-grid img,.main-content .image-grid img{margin:0}.media-placeholder{background:var(--bg-surface);border:1px solid var(--card-border-hover);border-radius:6px;padding:2rem;text-align:center;color:var(--text-faint);margin:1rem 0}footer{padding:1.5rem;font-size:.8rem;color:var(--text-faint);text-align:center}@keyframes stagger-in{0%{opacity:0}to{opacity:1}}.main-content section .entry,.main-content section .project-card{animation:stagger-in .4s ease both}.main-content section .entry:nth-child(1),.main-content section .project-card:nth-child(1){animation-delay:0s}.main-content section .entry:nth-child(2),.main-content section .project-card:nth-child(2){animation-delay:.06s}.main-content section .entry:nth-child(3),.main-content section .project-card:nth-child(3){animation-delay:.12s}.main-content section .entry:nth-child(4),.main-content section .project-card:nth-child(4){animation-delay:.18s}.main-content section .entry:nth-child(5),.main-content section .project-card:nth-child(5){animation-delay:.24s}.main-content section .entry:nth-child(6),.main-content section .project-card:nth-child(6){animation-delay:.3s}@media(max-width:768px){.home-layout{flex-direction:column;gap:0;padding:0 1rem}.sidebar{position:relative;width:100%;max-width:none;height:auto;padding:3rem 0 1rem}.section-nav{flex-direction:row;flex-wrap:wrap;gap:.5rem;margin-top:1.5rem}.section-nav a:before{width:1rem}.section-nav a:hover:before,.section-nav a.active:before{width:2rem}.profile-photo{width:80px;margin-bottom:1rem}.social-links{margin-top:1.5rem}.main-content{padding:2rem 0}.main-content section{margin-bottom:3rem}.entry-header{flex-direction:column;gap:0}.entry-subtitle,.tags{padding-left:0}.project-grid{grid-template-columns:1fr}}.sun-icon[data-astro-cid-x3pjskd3],.moon-icon[data-astro-cid-x3pjskd3]{position:absolute;width:12px;height:12px;color:var(--text-muted);transition:opacity .2s}.sun-icon[data-astro-cid-x3pjskd3]{opacity:1}.moon-icon[data-astro-cid-x3pjskd3]{opacity:0}:root[data-theme=dark] .sun-icon[data-astro-cid-x3pjskd3]{opacity:0}:root[data-theme=dark] .moon-icon[data-astro-cid-x3pjskd3]{opacity:1}@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .sun-icon[data-astro-cid-x3pjskd3]{opacity:0}:root:not([data-theme=light]) .moon-icon[data-astro-cid-x3pjskd3]{opacity:1}:root:not([data-theme=light]) .toggle-thumb[data-astro-cid-x3pjskd3]{transform:translate(22px)}}
