@font-face {
  font-family: Inter;
  src: url('/assets/inter-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #fefefd; --ink: #202020; --body: #4e4e50; --muted: #606060; --line: #e6e5e2; --surface: #f3f3f3;
  --gold: #796341; --green: #546f61; --focus: #356b9d; --gutter: clamp(20px, 5vw, 54px);
  font: 100%/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-text-size-adjust: 100%;
}
:root[data-theme="dark"] {
  color-scheme: dark; --bg: #101011; --ink: #f2f1ed; --body: #cdcdce; --muted: #adadad; --line: #29292a;
  --surface: #232323; --gold: #c0a783; --green: #a6bbae; --focus: #92c7f5;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark; --bg: #101011; --ink: #f2f1ed; --body: #cdcdce; --muted: #adadad; --line: #29292a;
    --surface: #232323; --gold: #c0a783; --green: #a6bbae; --focus: #92c7f5;
  }
}
* { box-sizing: border-box; }
body { -webkit-font-smoothing: antialiased; margin: 0; background: var(--bg); color: var(--body); }
[hidden] { display: none !important; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2, h3, strong { color: var(--ink); }
h1, h2, h3 { font-weight: 540; letter-spacing: -.025em; line-height: 1.3; text-wrap: pretty; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 55%, transparent); text-underline-offset: .23em; }
a:hover, summary:hover, button:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 3px; }
button, input, select { color: inherit; font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
ul, ol { list-style: none; padding: 0; }
.shell { width: min(calc(100% - var(--gutter) * 2), 62.5rem); margin-inline: auto; }
.skip { position: fixed; top: 5px; left: 12px; z-index: 15; padding: 9px 18px; background: var(--bg); transform: translateY(-180%); }
.skip:focus { transform: none; }
.topbar { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
body.home .topbar { position: sticky; top: 0; z-index: 3; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); }
.brand { color: var(--ink); text-decoration: none; font-size: 1.18rem; font-weight: 650; letter-spacing: -.045em; }
.topbar nav, .link-line, .footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem; }
.topbar nav a { font-size: .875rem; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.topbar nav a:hover, .topbar nav [aria-current="page"], .link-line a:hover, .section-head a:hover, .plain-link:hover, .footer a:hover { text-decoration: underline; }
.topbar nav [aria-current="page"] { color: var(--ink); text-underline-offset: .36em; }
.icon { width: 1em; height: 1em; flex: none; vertical-align: -.12em; }
.icon-button { background: transparent; border: 0; padding: 6px; display: inline-grid; place-items: center; min-height: 36px; min-width: 30px; }
.icon-button svg { width: 18px; height: 18px; }
.link-line a, .section-head a, .plain-link { display: inline-flex; align-items: center; gap: .25em; text-decoration: none; }
.hero { display: grid; grid-template-columns: minmax(0,1.22fr) minmax(0,1fr); grid-template-areas: "intro journey" "highlights highlights"; align-items: start; gap: clamp(24px,3vw,40px) clamp(32px,6vw,80px); padding-top: clamp(28px,3.2vw,46px); }
.intro { grid-area: intro; }
.identity { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.identity .portrait { width: clamp(5.25rem,8vw,6.75rem); }
.intro h1 { font-size: clamp(1.75rem, 2.65vw, 2.16rem); font-weight: 520; line-height: 1.17; letter-spacing: -.041em; }
.intro .role { font-size: clamp(1.05rem,1.66vw,1.215rem); color: var(--ink); line-height: 1.4; letter-spacing: -.015em; margin: .55rem 0 .95rem; }
.intro .link-line { font-size: .8125rem; color: var(--ink); row-gap: .45rem; }
.intro-bio { max-width: 45ch; margin-bottom: .85rem; }
.journey { grid-area: journey; }
.journey-head, .section-head { display: flex; justify-content: space-between; gap: .8rem; align-items: baseline; }
.journey-head { margin-bottom: .55rem; }
.journey-head h2 { font-size: .975rem; }
.text-button { padding: 2px 0; min-height: 30px; background: none; border: none; color: var(--muted); font-size: .8125rem; }
.chevron:after, .career summary .years:after {
  content: ''; display: inline-block; width: 5px; height: 5px; border-right: 1px solid; border-bottom: 1px solid;
  transform: rotate(45deg); margin: 0 2px 3px 6px;
}
.chevron[aria-expanded="true"]:after, .career details[open] .years:after { transform: rotate(225deg); margin-bottom: 0; }
.career { position: relative; }
.career:before { content: ''; position: absolute; top: 15px; bottom: 28px; left: 12px; width: 1px; background: var(--line); }
.career li { position: relative; padding-left: 36px; margin-top: .62rem; }
.career li:first-child { margin-top: 0; }
.career .mark { position: absolute; left: 2px; top: 3px; width: 21px; height: 21px; object-fit: contain; background: var(--bg); }
.mark.education { color: var(--muted); padding: 2px; }
.career-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; column-gap: .45rem; line-height: 1.5; list-style: none; }
summary { cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.career summary:hover .employer { text-decoration: underline; text-underline-offset: 3px; }
.employer { font-size: .91rem; font-weight: 510; color: var(--ink); }
.years { font-size: .79rem; color: var(--muted); }
.career-role { grid-column: 1 / -1; font-size: .825rem; }
.career-details { font-size: .875rem; line-height: 1.6; margin: .55rem 0 .8rem; max-width: 47ch; }
.highlights { grid-area: highlights; padding: .8rem clamp(.9rem,2vw,1.3rem) .95rem; border: 1px solid var(--line); border-radius: .65rem; background: color-mix(in srgb,var(--surface) 30%,var(--bg)); }
.highlights-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .35rem 1rem; margin-bottom: .65rem; }
.highlights-head h2, .highlights-head a { font-size: .8125rem; font-weight: 480; color: var(--body); letter-spacing: 0; }
.credential-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.credential { display: flex; gap: .65rem; align-items: flex-start; padding-right: .6rem; }
.credential + .credential { border-left: 1px solid var(--line); padding-left: clamp(.7rem,1.6vw,1.125rem); }
.credential > .icon { width: 34px; height: 34px; padding: 6px; border-radius: 7px; color: var(--gold); border: 1px solid color-mix(in srgb,currentColor 42%,transparent); background: color-mix(in srgb,currentColor 5%,transparent); }
.credential:last-child > .icon { color: var(--green); }
.credential h3 { font-size: 1.075rem; font-weight: 490; }
.credential p, .credential a { font-size: .8125rem; line-height: 1.5; }
.credential p { color: var(--muted); margin: .12rem 0 0; }
.home-section { margin-top: clamp(28px,3vw,40px); scroll-margin-top: 80px; }
.columns { display: grid; grid-template-columns: minmax(0,1.48fr) minmax(0,1fr); gap: 2.3rem clamp(32px,5vw,64px); }
.section-head { margin-bottom: 1.25rem; }
.section-head h2 { font-size: 1.125rem; font-weight: 510; }
.section-head a { font-size: .8125rem; color: var(--muted); white-space: nowrap; }
.compact-list li + li { border-top: 1px solid var(--line); padding-top: 1.05rem; margin-top: 1.15rem; }
.subject { font-size: .75rem; font-weight: 450; letter-spacing: .055em; text-transform: uppercase; color: var(--muted); margin-bottom: .32rem; }
.compact-list h3 { font-size: 1.1rem; font-weight: 500; }
.compact-list h3 a, .project-row h3 a, .publication h3 a, .project-tile, .index-list a { text-decoration: none; }
.compact-list h3 a:hover, .project-row h3 a:hover, .publication h3 a:hover, .project-tile:hover h3, .index-list a:hover { text-decoration: underline; }
.compact-list .summary { font-size: .93rem; margin-top: .34rem; }
.compact-list .meta { margin-top: .4rem; font-size: .8125rem; color: var(--muted); }
.compact-list .secondary h3, .secondary-list h3 { font-size: 1rem; }
.resources { display: flex; gap: .45rem 1rem; align-items: baseline; flex-wrap: wrap; font-size: .8125rem; margin-top: .4rem; }
.tile-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.7rem 1.55rem; }
.project-tile { display: block; }
.project-tile img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: top; background: #f6f6f3; border: 1px solid var(--line); border-radius: 5px; }
.project-tile h3 { margin-top: .6rem; font-size: 1rem; }
.project-tile p, .reading p { color: var(--muted); font-size: .875rem; line-height: 1.55; margin-top: .3rem; }
.reading { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.75rem 2.5rem; }
.reading h3 { font-size: 1.02rem; }
.footer { display: flex; align-items: center; flex-wrap: wrap; gap: 1.45rem; padding: 1.35rem 0; margin-top: 3.5rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.footer nav { margin-left: auto; gap: 1rem; }
.footer a { text-decoration: none; }
.footer label { display: flex; align-items: center; gap: .45rem; }
select { background-color: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: .25rem .45rem; }
.page { width: min(calc(100% - var(--gutter) * 2),46.25rem); margin: clamp(34px,4vw,64px) auto 0; min-height: 53vh; }
.page.directory { max-width: 49rem; }
.page h1 { font-weight: 525; font-size: clamp(1.9rem,3.6vw,2.55rem); line-height: 1.15; letter-spacing: -.045em; }
.page .lede { font-size: 1.08rem; line-height: 1.55; margin-top: .75rem; max-width: 66ch; }
.page-heading { margin-bottom: 2.8rem; }
.page-heading .link-line { margin-top: 1rem; font-size: .9rem; }
.content-section { scroll-margin-top: 2rem; margin: 2.6rem 0; }
.content-section > h2, .prose h2 { font-size: 1.4rem; font-weight: 530; margin: 0 0 1rem; }
.publication h3, .project-row h3 { font-size: 1.19rem; font-weight: 520; }
.publication .meta, .byline, .project-row .meta { color: var(--muted); font-size: .86rem; margin: .35rem 0; }
.project-row p, .publication p { margin-top: .4rem; }
.timeline > li { display: grid; grid-template-columns: minmax(95px,22%) minmax(0,1fr); gap: 1rem; padding: 1.15rem 0; border-top: 1px solid var(--line); }
.timeline > li > span { color: var(--muted); font-size: .875rem; }
.timeline h3 { font-size: 1.1rem; }
.timeline .position { font-size: .98rem; margin-top: .18rem; color: var(--ink); }
.timeline p, .timeline .plain-link { margin-top: .5rem; }
.timeline .plain-link { font-size: .875rem; text-decoration: underline; }
.publication, .project-row { padding: 1.18rem 0; border-top: 1px solid var(--line); }
.contribution-status { margin: .7rem 0 1.1rem; font-size: .875rem; color: var(--muted); }
.circuit-sources { display: grid; gap: .45rem; margin-top: 1rem; }
.circuit-sources li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem 1rem; }
.circuit-sources li > span { min-width: 10rem; font-size: .875rem; font-weight: 520; color: var(--ink); }
.circuit-sources .resources { margin: 0; font-size: .875rem; }
.filter-bar { display: grid; grid-template-columns: 1fr minmax(8.8rem,36%); gap: 1rem; }
.filter-bar label { font-size: .875rem; display: grid; gap: .33rem; color: var(--ink); }
input[type="search"], .filter-bar select { width: 100%; border: 1px solid var(--line); padding: .55rem .7rem; border-radius: 5px; background-color: var(--bg); color: var(--ink); min-height: 42px; font-size: 1rem; }
.filter-status { display: flex; align-items: center; justify-content: space-between; font-size: .865rem; color: var(--muted); margin: .6rem 0 1.5rem; }
#clear-projects { text-decoration: underline; }
.crumb { display: inline-flex; gap: 5px; align-items: center; font-size: .865rem; margin-bottom: 1.3rem; color: var(--muted); text-decoration: none; }
.crumb:hover { text-decoration: underline; }
.article .page-heading { margin-bottom: 2.35rem; }
.byline { margin-top: .7rem; }
.prose { font-size: 1.0625rem; line-height: 1.8; }
.prose h2 { margin: 2rem 0 .65rem; }
.prose p + p { margin-top: 1rem; }
.article-foot { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .94rem; }
.project-cover { margin: 1.7rem 0; }
.project-cover img { display: block; width: 100%; height: auto; max-height: 29rem; object-fit: contain; border: 1px solid var(--line); border-radius: 5px; background: #f4f4f1; }
.portrait { display: block; width: clamp(104px,19vw,152px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 1px solid var(--line); }
.course-list { list-style: disc; padding-left: 1.15rem; margin-top: .4rem; }
.course-list li { padding: .12rem 0; }
.article-foot h2 { margin-bottom: .55rem; font-size: 1.125rem; }
.about-head { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: clamp(14px,3vw,36px); }
.index-list { display: grid; gap: .6rem; }
dialog { margin: clamp(30px,13vh,100px) auto; width: min(590px,calc(100% - 30px)); max-height: 75dvh; padding: 0; border: 1px solid var(--line); background: var(--bg); color: var(--body); border-radius: 10px; box-shadow: 0 20px 80px #0003; }
dialog::backdrop { background: #0007; }
.search-head { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1.2rem 0; }
.search-head h2 { font-size: 1.08rem; }
.search-field { padding: .4rem 1.2rem .65rem; }
.search-status { color: var(--muted); font-size: .8125rem; padding: 0 1.2rem .5rem; }
#search-results { padding: 0 .65rem .8rem; max-height: 43dvh; overflow-y: auto; }
.search-result { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; padding: .5rem .55rem; text-decoration: none; border-radius: 4px; }
.search-result:hover, .search-result:focus { background: var(--surface); }
.search-result-title { display: block; color: var(--ink); font-size: .95rem; font-weight: 530; }
.search-result-description { display: block; color: var(--muted); font-size: .8125rem; }
.search-result-type { font-size: .77rem; color: var(--muted); white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 680px) {
  .identity { flex-direction: row; align-items: center; gap: .85rem; margin-bottom: 1rem; }
  .identity .portrait { width: clamp(3.875rem,15vw,5.5rem); flex: none; }
  .identity .role { margin: .25rem 0 0; }
  .topbar { min-height: 60px; gap: .65rem; }
  .topbar nav { gap: .72rem; }
  .hero { grid-template-columns: 1fr; grid-template-areas: "intro" "highlights" "journey"; gap: 1.75rem; }
  .columns { grid-template-columns: 1fr; }
  .tile-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .section-head { margin-bottom: .95rem; }
  .footer { gap: .7rem 1rem; margin-top: 2.6rem; }
  .page-heading { margin-bottom: 2rem; }
}
@media (max-width: 560px) {
  .credential-grid { grid-template-columns: 1fr; }
  .credential + .credential { border-left: 0; border-top: 1px solid var(--line); margin-top: .6rem; padding: .6rem 0 0; }
  .topbar { flex-wrap: wrap; gap: 0 .45rem; padding: .28rem 0; }
  .topbar nav { gap: .55rem; }
  .topbar nav a { font-size: .81rem; }
  .topbar .icon-button { padding: 3px; min-width: 21px; }
  .brand { font-size: 1.05rem; }
  .highlights { padding: .75rem .9rem; }
  .intro .link-line { gap: .95rem; }
  .timeline > li { grid-template-columns: 1fr; gap: .15rem; }
  .reading { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: 1fr; }
  .footer nav { margin-left: 0; }
  .prose { font-size: 1rem; }
}
@media (max-width: 380px) {
  .topbar nav { width: 100%; justify-content: space-between; }
  .tile-grid { grid-template-columns: 1fr; }
}
.blogs { margin-top: clamp(2rem,4vw,3.75rem); }
.archive-header { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; margin-bottom: clamp(1.4rem,3vw,2.3rem); }
.archive-header h1 { font-size: clamp(2rem,3vw,2.75rem); line-height: 1.13; font-weight: 560; letter-spacing: -.045em; }
.archive-header p { margin-top: .55rem; line-height: 1.55; }
.archive-header nav { color: var(--muted); font-size: .875rem; gap: 1.15rem; }
.archive { border-top: 1px solid var(--line); }
.archive-row {
  position: relative;
  display: grid;
  grid-template-columns: clamp(5.75rem,8vw,7rem) clamp(6rem,9vw,8.125rem) minmax(0,1fr) 1.1rem;
  grid-template-areas: "thumb meta copy cue";
  gap: clamp(1rem,2vw,1.85rem);
  align-items: center;
  padding: .65rem clamp(.65rem,1vw,1rem);
  border-bottom: 1px solid var(--line);
}
.archive-row:focus-within { background: color-mix(in srgb,var(--focus) 10%,var(--bg)); }
@media (hover: hover) {
  .archive-row:hover { background: color-mix(in srgb,var(--focus) 10%,var(--bg)); }
  .archive-row:hover .archive-cue { color: var(--focus); }
}
.archive-thumb { grid-area: thumb; display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; background: var(--surface); }
.archive-copy { grid-area: copy; min-width: 0; }
.archive-copy h2 { font-family: Georgia, Cambria, "Times New Roman", serif; font-weight: 400; font-size: clamp(1.22rem,1.65vw,1.48rem); line-height: 1.23; letter-spacing: -.022em; overflow-wrap: anywhere; }
.archive-headline { text-decoration: none; }
.archive-headline::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.archive-headline:focus-visible { outline: none; }
.archive-headline:focus-visible::after { outline: 2px solid var(--focus); outline-offset: -2px; }
.archive-copy .summary { color: var(--muted); font-size: .9375rem; line-height: 1.45; margin-top: .37rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.archive-meta { grid-area: meta; display: flex; flex-direction: column; align-items: flex-start; gap: .16rem; }
.archive-meta time { font-size: .875rem; font-variant-numeric: tabular-nums; color: var(--focus); }
.archive-note { position: relative; z-index: 2; display: inline-flex; align-items: center; min-height: 24px; color: var(--muted); font-size: .8125rem; }
.archive-cue { grid-area: cue; width: 1.1rem; height: 1.1rem; color: var(--muted); }
.archive-row:focus-within .archive-cue, .blog-post .byline a:hover { color: var(--ink); }
.blog-post .crumb { margin-bottom: 1.5rem; }
.blog-post h1 { max-width: 34ch; font-size: clamp(1.75rem,2.5vw,2.25rem); font-weight: 550; line-height: 1.3; letter-spacing: -.032em; text-wrap: balance; }
.blog-post .byline { margin-top: 1rem; }
@media (max-width: 680px) {
  .archive-row { grid-template-columns: clamp(3.5rem,15vw,4.5rem) minmax(0,1fr); grid-template-areas: "thumb meta" "thumb copy"; gap: .15rem .85rem; padding: .8rem .25rem; align-items: start; }
  .archive-thumb { margin-top: .2rem; }
  .archive-meta { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 0 .75rem; }
  .archive-copy h2 { font-size: 1.2rem; line-height: 1.3; }
  .archive-copy .summary { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .archive-cue { display: none; }
}
.reading h3 a { text-decoration: none; }
.reading h3 a:hover { text-decoration: underline; }
.prose section:first-child > h2:first-child { margin-top: 0; }

.project-row h3 a { display: block; width: fit-content; max-width: 100%; }
.resources > a { display: inline-flex; align-items: center; gap: .25rem; }
.quiet-label { color: var(--muted); }
