:root{--bp-xs:480px;--bp-sm:640px;--bp-md:768px;--bp-lg:1024px;--size-5:1.35rem;--size-4:1.2rem;--size-3:1.1rem}img,video,iframe{max-width:100%;height:auto}table{max-width:100%;overflow-x:auto}pre{overflow-x:auto}.prose{max-width:70ch;margin-inline:auto;line-height:1.6}html{font-size:16px}@media(min-width:768px){html{font-size:17px}}@media(min-width:1024px){html{font-size:18px}}h1{font-size:clamp(1.75rem,4vw,2.5rem)}.container{max-width:none;width:100%;margin-inline:auto;padding-inline:1rem}@media(min-width:768px){.container{padding-inline:2rem}}.profile-section{display:flex;flex-direction:column;gap:clamp(1.5rem,3vw,2rem)}.home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1rem,3vw,2rem)}.home-grid>*{height:auto;display:flex;flex-direction:column}.home-card{display:flex;flex-direction:column;gap:clamp(.75rem,2vw,1.25rem)}.about-card,.posts-card{position:relative}.profile-hero{display:grid;grid-template-columns:minmax(140px,280px)1fr;gap:clamp(1rem,3vw,2rem);align-items:center}.profile-avatar picture,.profile-avatar img{display:block}.profile-avatar{padding:0}.profile-avatar-inner{padding:0;overflow:hidden}.profile-avatar img{width:100%;height:auto;border:0;border-radius:0;background-color:initial}.profile-body h1{font-size:clamp(1.8rem,3vw,2.3rem)}.profile-tagline{margin:.25rem 0 .75rem;color:var(--foreground1);font-size:1.05rem}.profile-bio{margin:0 0 1rem}.profile-links{display:flex;flex-wrap:wrap;gap:.5rem}.profile-links a{text-decoration:none}.profile-links button,.article-content button{transition:transform .2s ease;cursor:pointer}.profile-links a:hover button,.article-content a:hover button{transform:translateY(-2px)}@media(max-width:900px){.home-grid{grid-template-columns:1fr}.profile-hero{grid-template-columns:1fr}.profile-avatar{max-width:260px;width:100%;margin-inline:auto}}.timeline-body{padding:1rem}.timeline-tree{list-style:none;padding:0;margin:0;font-family:var(--font-family)}.timeline-tree li{position:relative;padding-left:2rem;margin-bottom:1.5rem}.timeline-tree li:last-child{margin-bottom:0}.timeline-tree li::before{content:"";position:absolute;left:.5rem;top:0;bottom:-1.5rem;width:2px;background-color:var(--foreground2)}.timeline-tree li:last-child::before{height:.7rem;bottom:auto}.timeline-tree li::after{content:"";position:absolute;left:.5rem;top:.7rem;width:1rem;height:2px;background-color:var(--foreground2)}.timeline-item{display:flex;flex-direction:column;gap:.25rem}.timeline-head{display:flex;justify-content:space-between;align-items:flex-start;gap:.5rem;flex-wrap:wrap}.timeline-role{font-weight:700;font-size:1.1rem;color:var(--foreground0)}.timeline-meta{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;font-size:.9rem;color:var(--foreground1)}.timeline-company{font-weight:500}.timeline-summary{margin-top:.5rem;font-size:.95rem;line-height:1.5;color:var(--text)}.page-frame{display:flex;flex-direction:column;gap:clamp(1rem,2vw,1.5rem);padding:clamp(1rem,2vw,1.75rem);min-height:100vh}.page-frame>header,.page-frame>main,.page-frame>footer{margin:0}.page-frame>main{flex:1;display:flex;flex-direction:column}.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap}.brand{font-weight:700;text-decoration:none;color:var(--text);display:flex;align-items:center;gap:.5rem}.brand span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#nav-toggle{display:none;background:0 0;border:1px solid var(--surface0);color:var(--text);cursor:pointer;border-radius:4px;min-height:0;min-width:0;width:44px;height:44px;padding:0;font-size:1.5rem;line-height:1;align-items:center;justify-content:center}#nav-toggle:hover{background-color:var(--surface0)}#nav-links{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;margin-left:auto}#nav-links a{text-decoration:none;color:var(--text);padding:.5rem;border-radius:4px;transition:background-color .2s}@media(max-width:640px){#nav-toggle{display:flex;order:3}.brand{order:1;flex:1;min-width:0;margin-right:.5rem}.theme-switch-label{order:2}#nav-links{display:none;flex-direction:row;width:100%;margin-top:.5rem;gap:0;order:4;justify-content:center}#nav-links.show{display:flex}.nav-inner{flex-wrap:wrap;align-items:center}#nav-links a{flex:1;text-align:center}#nav-links button{width:100%;font-size:.875rem;padding:.4rem .6rem}}.posts-grid{display:flex;flex-direction:column;gap:1rem;flex:1;max-height:80vh;overflow-y:auto;padding:1rem;box-sizing:border-box;position:relative;min-height:0}@media(min-width:769px){.home-grid>.posts-card{height:0;min-height:100%}.home-grid .posts-grid{max-height:none}}.post-card-wrapper{flex-shrink:0}.posts-grid::-webkit-scrollbar{width:8px}.posts-grid::-webkit-scrollbar-track{background:var(--background0);border-radius:4px}.posts-grid::-webkit-scrollbar-thumb{background:var(--foreground2);border-radius:4px}.posts-grid::-webkit-scrollbar-thumb:hover{background:var(--foreground1)}.post-card{transition:transform .2s ease}.card-body{padding:1rem}.post-card:hover{transform:translateY(-2px)}.post-card .header span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:70%;flex-shrink:1}.article-content{padding:1rem 1ch;margin-top:1rem;line-height:1.6}.article-content h1,.article-content h2,.article-content h3,.article-content h4,.article-content h5,.article-content h6{margin-top:1.5rem;margin-bottom:.5rem}.article-content p{margin-bottom:1rem}.article-content pre{margin:1rem 0}.article-content ul,.article-content ol{margin:1rem 0;padding-left:2rem}.article-content blockquote{margin:1rem 0;padding-left:1rem;border-left:3px solid var(--surface0)}.article-content table{margin:1rem 0;width:100%}.post-card p{margin-top:.5rem;font-size:.9rem;line-height:1.5}@media(max-width:480px){.post-card p{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}}.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:.5rem}.code-box{position:relative}.code-box pre{padding:clamp(.75rem,2vw,1rem)}a:focus,button:focus{outline:2px solid var(--blue);outline-offset:2px}.skip-link{position:absolute;top:-40px;left:6px;background:var(--surface0);color:var(--text);padding:8px;text-decoration:none;border-radius:4px;transition:top .3s}.skip-link:focus{top:6px}@media(max-width:640px){header a,header button{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center}}