/* Shared navigation; existing page layouts and chapter treatments stay intact. */
:root{--site-header-height:100px}
html,html:has(body.experience){scroll-padding-top:calc(var(--site-header-height) + 16px)}
.site-header,.experience .exp-header.site-header,.fieldnotes .site-header{height:auto;min-height:80px;padding:16px 6%;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;box-sizing:border-box}
.site-header .brand,.site-header .exp-brand{flex-shrink:0;font-size:13px;letter-spacing:2px;text-decoration:none;white-space:nowrap}
.site-header .site-links{display:flex;align-items:center;flex-wrap:wrap;gap:10px 24px;margin-left:auto;min-width:0}
.site-header .site-links a{display:inline-flex;align-items:center;min-height:32px;font-size:13px;line-height:1.4;text-decoration:none;white-space:nowrap}
.site-links a[aria-current=page]{text-decoration:underline;text-underline-offset:7px;text-decoration-thickness:1px}
.site-header .exp-control{min-height:32px;flex-shrink:0}
.site-header a:focus-visible,.site-header button:focus-visible{outline:2px solid currentColor;outline-offset:5px}
.firstward-page>.site-header{position:relative;z-index:31;background:#19171a;color:#eee4d9;border-bottom:1px solid #66514f;font-family:'Hanken Grotesk',Arial,sans-serif}
.firstward-page .bar{position:sticky}
.experience .chapter,.awards,.journal-article,.study,.firstward-page [id]{scroll-margin-top:16px}
.fieldnotes .research-sources a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.fieldnotes .method-flow tspan{white-space:pre}
@media(max-width:850px){
 .site-header,.experience .exp-header.site-header,.fieldnotes .site-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:14px 6%;min-height:105px}
 .site-header .site-links{grid-column:1/-1;grid-row:2;margin:0;justify-content:space-between;gap:6px 12px;width:100%}
 .site-header .site-links a{font-size:12px}
 .site-header .exp-control{grid-column:2;grid-row:1;font-size:11px}
 .experience .opening{padding-top:145px!important}
}
@media(max-width:360px){.site-header .site-links{gap:5px 8px}.site-header .site-links a{font-size:11px}}
@media(max-width:500px){
 .firstward-page .mmap button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px}
 .firstward-page .mmap button span{min-width:0;grid-column:1;grid-row:1;overflow-wrap:break-word}
 .firstward-page .mmap button small{white-space:normal;grid-column:1;grid-row:2}
 .firstward-page .mmap button::after{grid-column:2;grid-row:1/3}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}

/* Keep the introduction in normal flow so it clears the name at every height. */
.experience .opening{display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;gap:48px;padding-bottom:145px}
.experience .opening-bottom{position:relative;inset:auto;width:100%;flex-shrink:0}
.experience .opening-bottom p{max-width:38rem}
.experience .opening-bottom .begin{flex-shrink:0;white-space:nowrap}
