:root { --text:#2d332f; --muted:#666c64; --faint:#6f746b; --line:#e3e5dd; --accent:#526950; --page-width:640px; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:#faf9f6; color:var(--text); font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; font-size:14px; line-height:1.65; -webkit-font-smoothing:antialiased; }
::selection { background:#dfe6d9; }
a { color:inherit; text-decoration-thickness:1px; text-underline-offset:4px; }
a:hover { color:var(--accent); }
a:focus-visible { outline:2px solid var(--accent); outline-offset:5px; border-radius:2px; }
h1,h2,h3,p,ul,figure { margin:0; }
h1 { font-size:30px; line-height:1.25; font-weight:500; letter-spacing:-.035em; }
h2 { font-size:15px; line-height:1.5; font-weight:500; }
.page-shell { display:flex; flex-direction:column; width:calc(100% - 48px); min-height:100vh; min-height:100dvh; max-width:var(--page-width); margin:0 auto; }
.home-shell { max-width:660px; }
.page-shell > main { flex:1 0 auto; }
.skip-link { position:fixed; top:12px; left:16px; z-index:10; padding:8px 12px; color:var(--text); background:#fff; border:1px solid var(--line); transform:translateY(-160%); }
.skip-link:focus { transform:none; }
.language-switcher { display:flex; justify-content:flex-end; align-items:center; gap:1px; height:36px; margin-top:24px; font-size:11px; line-height:1; letter-spacing:.05em; }
.language-switcher a { display:inline-flex; align-items:center; justify-content:center; width:32px; height:36px; color:var(--muted); text-decoration:none; }
.language-switcher span { color:var(--faint); font-size:10px; }
.language-switcher a[aria-current="page"] { color:var(--accent); font-weight:600; text-decoration:underline; text-underline-offset:5px; }
.home-main { padding-top:24px; }
.profile { display:flex; align-items:flex-start; justify-content:space-between; gap:36px; }
.profile-copy { min-width:0; flex:1; }
.profile h1 { font-size:36px; letter-spacing:-.045em; }
.profile-name { display:flex; align-items:center; gap:12px; }
.profile-name > span { min-width:0; }
.sound-wave { display:block; flex:0 0 26px; color:var(--accent); opacity:.75; transform:translateY(3px); }
.sound-wave rect { fill:currentColor; transform-box:fill-box; transform-origin:center; }
.profile-photo { width:120px; flex:0 0 120px; padding-top:3px; }
.profile-photo img { display:block; width:120px; height:150px; border-radius:8px; object-fit:cover; object-position:center 35%; }
.role { margin-top:7px; color:var(--muted); font-size:15px; }
.intro { max-width:435px; margin-top:22px; color:var(--muted); }
.home-group { margin-top:40px; }
.home-group h2 { margin-bottom:14px; color:var(--accent); font-size:12px; font-weight:500; }
.project-entry { padding:17px 0; border-top:1px solid var(--line); }
.project-heading { display:flex; align-items:baseline; justify-content:space-between; gap:20px; }
.project-heading h3 { font-size:15px; font-weight:500; line-height:1.5; }
.project-heading a,.extra-links a { text-decoration:none; }
.project-heading a { display:inline-block; border-bottom:1px solid transparent; }
.project-heading a:hover { border-bottom-color:currentColor; }
.extra-links a:hover { text-decoration:underline; text-underline-offset:4px; }
.project-role { color:var(--muted); font-size:11px; white-space:nowrap; }
.project-entry p { max-width:540px; margin-top:7px; color:var(--muted); font-size:13px; }
.external-arrow { display:inline-block; margin-left:3px; color:var(--accent); font-size:12px; }
.additional-group { margin-top:25px; }
.extra-links { display:grid; gap:18px; padding:0; list-style:none; }
.extra-links a { font-size:14px; font-weight:500; }
.extra-links p { margin-top:4px; color:var(--muted); font-size:13px; }
.latest-notes { display:grid; gap:15px; }
.latest-note { display:flex; align-items:center; gap:14px; }
.latest-note-image { display:block; width:112px; min-height:70px; flex:0 0 112px; }
.latest-note-image img { display:block; width:112px; height:70px; border-radius:5px; object-fit:cover; }
.latest-note h3 { font-size:14px; font-weight:500; line-height:1.45; }
.latest-note h3 a { text-decoration:none; }
.latest-note h3 a:hover { text-decoration:underline; text-underline-offset:4px; }
.latest-note time { display:block; margin-top:4px; color:var(--faint); font-size:11px; }
.all-notes-link { display:inline-block; margin-top:20px; border-bottom:1px solid transparent; font-size:13px; font-weight:500; text-decoration:none; }
.all-notes-link:hover { border-bottom-color:currentColor; }
.site-footer { flex:0 0 auto; margin:64px 0 42px; padding-top:22px; border-top:1px solid var(--line); }
.contact-links { display:flex; flex-wrap:wrap; gap:10px 24px; font-size:13px; }
.contact-links a { color:var(--muted); }
.copyright { margin-top:28px; color:var(--faint); font-size:11px; }
.page-header { padding-top:14px; }
.page-nav { display:flex; align-items:center; justify-content:space-between; gap:20px; font-size:12px; }
.page-nav a { color:var(--muted); text-decoration:none; }
.page-nav a:hover { text-decoration:underline; }
.page-nav .back-link,.page-nav [aria-current="page"] { color:var(--text); }
.content-main { padding-top:54px; }
.page-intro { max-width:560px; margin-top:22px; color:var(--muted); }
.post-list { padding:0; margin-top:36px; list-style:none; }
.post-list li + li { margin-top:24px; }
.post-card { display:flex; gap:18px; align-items:flex-start; }
.post-list h2 { font-size:15px; font-weight:400; }
.post-list h2 a { text-decoration:none; }
.post-list h2 a:hover { text-decoration:underline; }
.post-list p { max-width:450px; margin-top:5px; color:var(--muted); font-size:13px; }
.post-list time { display:block; margin-top:5px; color:var(--faint); font-size:11px; }
.post-cover { width:180px; height:112px; flex:0 0 180px; border-radius:6px; object-fit:cover; }
.empty-notes { margin-top:36px; color:var(--muted); }
.article-header h1 { max-width:580px; font-size:30px; line-height:1.3; }
.article-header time { display:block; margin-top:14px; color:var(--muted); font-size:12px; }
.article-cover { display:block; width:100%; height:auto; max-height:390px; margin-top:28px; border-radius:8px; object-fit:cover; }
.article-body { margin-top:30px; font-size:15px; line-height:1.8; }
.article-body p + p { margin-top:18px; }
.article-body h2 { margin:30px 0 13px; font-size:17px; }
.article-body ul,.article-body ol { margin:18px 0; padding-left:22px; }
.article-body li + li { margin-top:8px; }
.article-body pre { margin:22px 0; padding:14px 18px; border-left:2px solid var(--faint); background:rgba(128,128,128,.04); white-space:pre-wrap; overflow-wrap:anywhere; font:inherit; font-size:14px; line-height:1.65; }
.article-body code { font:inherit; }
.article-back { display:inline-block; margin-top:36px; font-size:13px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (max-width:600px) { .profile-name{gap:8px}.sound-wave{width:22px;height:22px;flex-basis:22px} }
@media (max-width:600px) { .language-switcher{margin-top:12px}.home-main{padding-top:20px}.profile{gap:20px}.profile h1{font-size:30px}.profile-photo{width:88px;flex-basis:88px}.profile-photo img{width:88px;height:110px;border-radius:6px}.intro{max-width:380px}.project-heading{gap:12px}.page-nav{gap:14px;font-size:11px}.content-main{padding-top:40px}h1,.article-header h1{font-size:27px}.site-footer{margin-top:48px}.post-card{gap:14px}.post-cover{width:112px;height:78px;flex-basis:112px} }
@media (max-width:350px) { .page-shell{width:calc(100% - 40px)}.profile{gap:16px}.profile h1{font-size:28px}.profile-photo{width:68px;flex-basis:68px}.profile-photo img{width:68px;height:85px}.project-role{font-size:10px}.page-nav{gap:10px;font-size:10px}.latest-note-image,.latest-note-image img{width:88px}.latest-note-image img{height:58px}.post-cover{display:none} }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
@media (prefers-reduced-motion:no-preference) {
  .external-arrow { transition:transform 160ms ease-out; }
  a:focus-visible > .external-arrow { transform:translate(2px,-2px); }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  a:hover > .external-arrow { transform:translate(2px,-2px); }
  .profile-name:hover .sound-wave rect { animation:sound-wave 600ms ease-in-out 1; }
  .profile-name:hover .sound-wave rect:nth-child(2) { animation-delay:50ms; }
  .profile-name:hover .sound-wave rect:nth-child(3) { animation-delay:100ms; }
  .profile-name:hover .sound-wave rect:nth-child(4) { animation-delay:75ms; }
  .profile-name:hover .sound-wave rect:nth-child(5) { animation-delay:25ms; }
}
@keyframes sound-wave {
  0%,100% { transform:scaleY(1); }
  35% { transform:scaleY(.6); }
  65% { transform:scaleY(1.15); }
}
