:root {
    color-scheme: light;
    --paper: #fafaf8;
    --ink: #202020;
    --muted: #656565;
    --rule: #c4c4c0;
    --wash: #ebebe8;
    --serif: Cambria, Georgia, "Times New Roman", serif;
    --sans: Arial, Helvetica, sans-serif;
    --content: 797px;
    --side: clamp(180px, 17.5vw, 252px);
    --gap: clamp(38px, 6.1vw, 87px);
    --gutter: clamp(20px, 3.1vw, 44px);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 22px; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 1.1875rem/1.53 var(--serif);
}
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; overflow-wrap: break-word; }
h1 {
    font-size: clamp(2.45rem, 4.4vw, 3.9375rem);
    line-height: 1.07;
    letter-spacing: -.027em;
}
h2 { font-size: clamp(1.95rem, 3.45vw, 2.7rem); line-height: 1.09; letter-spacing: -.034em; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.55rem); line-height: 1.18; letter-spacing: -.019em; }
h4 { font-size: 1.22rem; line-height: 1.22; }
p { max-width: 65ch; }
p + p { margin-top: .65em; }
a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
    overflow-wrap: anywhere;
}
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
q { quotes: "“" "”" "‘" "’"; }
html[lang="sr-Latn"] q:lang(sr-Latn) { quotes: "„" "“" "‚" "‘"; }
button, select {
    border: 1px solid var(--muted);
    border-radius: 0;
    padding: .62em .78em;
    color: var(--ink);
    background: var(--paper);
    font: 400 .875rem/1.15 var(--sans);
}
button { cursor: pointer; }
button:hover, select:hover { background: var(--wash); }
select { max-width: 100%; min-width: 0; }
.visually-hidden, .skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.skip-link {
    position: fixed;
    z-index: 2000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    background: var(--paper);
}
.layout {
    width: min(100% - var(--gutter) * 2, var(--side) + var(--gap) + var(--content));
    margin: 0 auto;
    display: grid;
    align-items: start;
    grid-template-columns: var(--side) minmax(0, 1fr);
    column-gap: var(--gap);
    padding: 34px 0 clamp(70px, 11vw, 150px);
}
.sidebar { position: sticky; top: 34px; }
.site-header { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.wordmark { display: block; font-size: clamp(1.875rem, 2.73vw, 2.4375rem); line-height: 1.09; font-weight: 700; text-decoration: none; }
.stripes { display: flex; gap: 3.4px; margin: 22px 0 0 1px; }
.stripes i { width: 29px; height: 8.5px; background: #222; }
.stripes i:nth-child(2) { background: #505050; }
.stripes i:nth-child(3) { background: #808080; }
.stripes i:nth-child(4) { background: #aaa; }
.stripes i:nth-child(5) { background: #d0d0d0; }
#site-nav { display: grid; justify-items: start; margin: 50px 0 0 1px; gap: 19px; }
#site-nav a { color: var(--muted); font-size: clamp(1.16rem, 1.66vw, 1.5rem); line-height: 1.26; text-decoration: none; }
#site-nav a:hover, #site-nav [aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: .37em; }
#site-nav [aria-current="page"] { font-weight: 700; text-decoration-thickness: 2px; }
.language-switch { display: flex; align-items: baseline; gap: 10px; margin: 90px 0 0 1px; color: var(--muted); font: 1.25rem/1.4 var(--serif); }
.language { text-decoration: none; }
a.language:hover { color: var(--ink); text-decoration: underline; }
.language[aria-current] { color: var(--ink); font-weight: 700; }
.sidebar-profiles { display: grid; justify-items: start; gap: 8px; list-style: none; padding: 0; margin: 81px 0 0 1px; color: var(--muted); font: 1rem/1.3 var(--sans); }
.sidebar-profiles a { text-decoration: none; }
.sidebar-profiles a:hover { color: var(--ink); text-decoration: underline; }
main { min-width: 0; padding-top: 21px; }
main:focus { outline: 0; }
.page-header { margin-bottom: clamp(38px, 6vw, 85px); }
.lede { font-size: clamp(1.25rem, 2.5vw, 1.68rem); line-height: 1.32; max-width: 46ch; margin-top: 20px; }
main section + section, #career-text { margin-top: clamp(42px, 6vw, 76px); }
main section > h2 { margin-bottom: .6em; }
main section > h3:not(:first-child) { margin-top: 1.05em; }
.hero-role { font-size: clamp(1.2rem, 2vw, 1.8125rem); line-height: 1.17; margin-top: 10px; }
.hero .affiliation { margin-top: 7px; font-size: clamp(.875rem, 1.24vw, 1.125rem); line-height: 1.35; }
.profile-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 30.34%);
    align-items: start;
    gap: clamp(22px, 3vw, 43px);
    margin-top: clamp(26px, 3.2vw, 46px);
}
.profile-intro:not(:has(.portrait)) { grid-template-columns: minmax(0, 57ch); }
.profile-copy { font-size: clamp(1.125rem, 1.46vw, 1.3125rem); line-height: 1.35; }
.profile-copy p + p { margin-top: 1.05em; }
.portrait img { width: 100%; aspect-ratio: 142 / 173; object-fit: cover; }
.portrait figcaption { margin-top: 10px; color: var(--muted); font-size: .9375rem; line-height: 1.3; text-align: center; }
@media screen {
    #profile-heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
main .work-areas { margin-top: clamp(18px, 1.25vw, 24px); }
.work-areas h2 { font-size: clamp(1.9rem, 2.83vw, 2.5625rem); }
.work-areas ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px clamp(20px, 3vw, 43px); padding: 0; list-style: none; }
.work-areas a { font-size: clamp(1.28rem, 2vw, 1.8125rem); line-height: 1.2; }
.work-areas p { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.1875rem); line-height: 1.35; margin-top: .28em; }
@media (hover: hover) and (pointer: fine) {
    .portrait img, .documentary img { filter: grayscale(100%); }
    .portrait a:is(:hover, :focus-visible) img, .documentary a:is(:hover, :focus-visible) img { filter: none; }
}
.home-section { max-width: 650px; }
.home-section > p:not(.meta) { font-size: 1.23rem; }
.profile-links { margin: 1.2rem 0 .85rem; }
.meta, .date, .reference-number {
    color: var(--muted);
    font: .82rem/1.46 var(--sans);
    overflow-wrap: anywhere;
}
.date, .reference-number { font-variant-numeric: tabular-nums; }
.entry, .bibliography > li, .location-list > li { margin: 0 0 1.3rem; }
.entry > *, .entry > div > * { margin-bottom: .25em; }
.entry .meta + p:not(.meta) { margin-top: .35em; }
.dated { display: grid; grid-template-columns: minmax(115px, 21%) minmax(0, 1fr); gap: 18px; }
.dated > .date { padding-top: .36em; }
.periods { margin: .55em 0; }
.periods .dated { gap: 14px; align-items: baseline; }
.periods .dated + .dated { margin-top: .25rem; }
.inline-links, .course-list, .bibliography, .location-list {
    list-style: none;
    padding: 0;
}
.inline-links { display: flex; flex-wrap: wrap; column-gap: 1.05em; row-gap: .2em; align-items: baseline; }
.inline-links:empty { display: none; }
.resource { font-size: .93rem; }
.text-list { padding-left: 1.15em; }
.text-list li + li { margin-top: .35em; }
.course-list { margin-top: 22px; }
.timeline-note { margin-bottom: .85rem; }
.timeline-scroll { overflow-x: auto; padding: 7px 0 12px; }
.timeline { display: block; width: 100%; min-width: 700px; color: var(--ink); }
.timeline-grid { stroke: var(--rule); stroke-width: .7; }
.timeline-label, .timeline-year { fill: var(--ink); font-family: var(--sans); font-size: 12px; }
.timeline-year { fill: var(--muted); font-size: 11px; }
.timeline-band { stroke: currentColor; stroke-width: 6; }
.timeline-band.study { stroke-width: 8; }
.timeline-band.union { stroke-width: 4; }
.timeline-band.independent, .timeline-band.resolution { stroke-dasharray: 4 2; }
.timeline-band.raf:not(.is-ongoing) { stroke: var(--muted); }
.timeline-alt { font-size: .91rem; margin-top: .6rem; }
.publication-filter, .map-options { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .8rem; margin: 1.1rem 0 1.4rem; font: .84rem/1.3 var(--sans); }
.bibliography { margin-top: 1rem; }
.bibliography > li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: .55rem; }
.bibliography > li:target .reference-number { font-weight: 700; color: var(--ink); }
.bibliography > li > div { min-width: 0; }
.reference-number { padding-top: .37em; }
.reference-meta { margin-top: .4em; }
.citation-link { margin-left: .35em; }
.subheading + .book { margin-top: .8rem; }
.book { display: flex; gap: 1.2rem; align-items: start; justify-content: space-between; }
.book > div { min-width: 0; }
.book-cover { width: clamp(54px, 14vw, 92px); flex: 0 0 auto; }
.original-title { font-size: 1rem; }
.expertise dt { font-weight: 700; }
.documentary, .video-thumbnail { width: min(100%, 350px); margin: .8em 0; }
.documentary figcaption { margin-top: .4em; }
.project-codes { margin-top: .6em; }
.map-interactive { margin: 1rem 0; }
#career-map { height: clamp(290px, 49vw, 430px); background: #e4e1d8; }
#career-map .leaflet-tile-pane { filter: grayscale(1); }
#career-map .leaflet-control, #career-map .leaflet-popup-content-wrapper { border-radius: 0; box-shadow: none; }
#career-map .leaflet-control-zoom a { border-radius: 0; }
#career-map .leaflet-popup-content { font: .88rem/1.45 var(--sans); width: min(200px, 53vw); }
#career-map .leaflet-popup-content p { margin: .55em 0; }
#career-map .map-marker { display: grid; place-items: center; background: transparent; }
.map-marker span { width: 11px; height: 11px; border: 2px solid white; outline: 1px solid #252525; background: #252525; border-radius: 50%; }
.map-marker:focus-visible span { outline: 2px solid #252525; outline-offset: 2px; }
#map-status:not(:empty) { margin-top: .55rem; }
.location-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem 2rem; margin-top: 1.5rem; }
.location-list > li { margin: 0; }
.location-list h3 { margin-bottom: .3em; }
.location-list .inline-links { margin-top: .5rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.25rem; align-items: start; }
.gallery-grid figure { min-width: 0; }
.gallery-grid a { display: block; width: fit-content; }
.gallery-grid figcaption { margin-top: .4em; font-size: 1rem; }
.gallery-grid figcaption .meta { display: block; }
@media (max-height: 810px) {
    .sidebar { position: static; }
}
@media (max-width: 800px) {
    .layout { display: block; padding-top: 20px; }
    .sidebar { position: static; margin-bottom: 38px; }
    main { padding-top: 0; }
    .stripes { margin-top: 12px; gap: 2px; }
    .stripes i { width: 20px; height: 5px; }
    #site-nav { margin-top: 16px; }
    #site-nav a { padding: 5px 0; }
    #site-nav[hidden] ~ .sidebar-profiles { display: none; }
    .menu-button { min-height: 40px; }
    .language-switch { margin-top: 14px; font-size: 1rem; }
    .language { display: inline-grid; place-items: center; min-width: 28px; min-height: 32px; }
    .sidebar-profiles { display: flex; flex-wrap: wrap; margin-top: 12px; gap: 8px 16px; }
}
@media (max-width: 510px) {
    .profile-intro, .profile-intro:not(:has(.portrait)) { grid-template-columns: minmax(0, 1fr); }
    .portrait { grid-row: 1; width: min(58%, 220px); }
    main .work-areas { margin-top: 32px; }
    .work-areas ul { grid-template-columns: 1fr; gap: 20px; }
    .dated { display: block; }
    .dated > .date { margin-bottom: .3em; }
    .periods .dated + .dated { margin-top: .55em; }
    .location-list, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem .85rem; }
    .location-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
