/* An editorial portfolio. Shared foundations for every page. */
:root {
  color-scheme: light;
  --paper: #faf9f6; --paper-2: #f0eee8; --panel: #f0eee8;
  --ink: #272b27; --body: #444841; --muted: #74766d; --faint: #74766d;
  --rule: #dcded4; --rule-strong: #babeb0;
  --tone-blue: #2c6389; --tone-blue-soft: #e1ebf2;
  --tone-sage: #526d48; --tone-sage-soft: #e7ede2;
  --tone-teal: #216c68; --tone-teal-soft: #e1efeb;
  --tone-red: #983b32; --tone-red-text: #983b32; --tone-red-soft: #f1e5e1;
  --accent: var(--tone-teal); --accent-soft: var(--tone-teal-soft); --warm: #5d775d; --warm-soft: #e7ede2;
  /* The map legend and TOS bars share these five colour stops. */
  --scale-green: #4e7a55; --scale-olive: #7c9a55; --scale-yellow: #c79b33; --scale-clay: #c26a32; --scale-red: #a8452c;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --mono: 'IBM Plex Mono', Consolas, monospace;
  --wide: 1080px; --col: 720px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --paper: #20231f; --paper-2: #292d26; --panel: #292d26;
    --ink: #f1f0e9; --body: #c9ccc1; --muted: #a5ab9d; --faint: #a5ab9d;
    --rule: #3e4539; --rule-strong: #636d5d;
    --tone-blue: #9ab9d0; --tone-blue-soft: #2b3740;
    --tone-sage: #b0c29d; --tone-sage-soft: #303a2f;
    --tone-teal: #8fbeb6; --tone-teal-soft: #293c37;
    --tone-red: #b45444; --tone-red-text: #d17464; --tone-red-soft: #3f2e29;
    --accent: var(--tone-teal); --accent-soft: var(--tone-teal-soft); --warm: #aabd9c; --warm-soft: #303a2f;
  }
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --paper: #20231f; --paper-2: #292d26; --panel: #292d26;
  --ink: #f1f0e9; --body: #c9ccc1; --muted: #a5ab9d; --faint: #a5ab9d;
  --rule: #3e4539; --rule-strong: #636d5d;
  --tone-blue: #9ab9d0; --tone-blue-soft: #2b3740;
  --tone-sage: #b0c29d; --tone-sage-soft: #303a2f;
  --tone-teal: #8fbeb6; --tone-teal-soft: #293c37;
  --tone-red: #b45444; --tone-red-text: #d17464; --tone-red-soft: #3f2e29;
  --accent: var(--tone-teal); --accent-soft: var(--tone-teal-soft); --warm: #aabd9c; --warm-soft: #303a2f;
}
/* Section accents share the same neutral paper and ink. */
[data-tone='blue'] { --accent: var(--tone-blue); --accent-soft: var(--tone-blue-soft); }
[data-tone='sage'] { --accent: var(--tone-sage); --accent-soft: var(--tone-sage-soft); }
[data-tone='teal'] { --accent: var(--tone-teal); --accent-soft: var(--tone-teal-soft); }
[data-tone='red'] { --accent: var(--tone-red-text); --accent-soft: var(--tone-red-soft); }
[data-tone='neutral'] { --accent: var(--ink); --accent-soft: var(--paper-2); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--body); font: 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent-soft); color: var(--ink); }
a { color: inherit; text-decoration-color: var(--rule-strong); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .15s; }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
p + p { margin-top: 16px; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 400; line-height: 1.1; text-wrap: balance; }
strong { color: var(--ink); font-weight: 500; }
img { display: block; max-width: 100%; }
svg { display: block; }
code { font: .86em var(--mono); background: var(--paper-2); padding: 2px 5px; }
section, article { scroll-margin-top: 36px; }
.wrap { width: min(var(--wide), calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; background: var(--ink); color: var(--paper); padding: 12px 20px; z-index: 100; }
.skip-link:focus { top: 12px; }
.site-header { padding: 28px 0 22px; }
.nav-in { display: flex; align-items: center; gap: 30px; border-bottom: 1px solid var(--rule); padding-bottom: 24px; }
.home { --accent: var(--tone-teal); display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.home:focus-visible { color: var(--accent); }
.home .brand-mark { width: 28px; height: 28px; flex: none; color: var(--tone-teal); }
.site-header nav { display: flex; gap: 27px; margin-left: auto; align-items: center; }
.site-header nav a { font-size: 13px; text-decoration: none; }
.site-header nav a[aria-current='page'] { color: var(--accent); text-decoration: underline; text-underline-offset: 7px; }
.theme-button { background: none; border: 0; border-left: 1px solid var(--rule); padding: 0 0 0 24px; color: var(--muted); font-size: 12px; min-height: 24px; min-width: 52px; }
.theme-button:hover { color: var(--accent); }
.eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: .065em; text-transform: uppercase; color: var(--muted); }
.intro { padding: 64px 0 60px; }
.intro-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.intro h1 { font-size: clamp(66px, 8.8vw, 116px); letter-spacing: -.052em; line-height: 1; margin-top: 21px; }
.location { font-size: 12px; color: var(--muted); padding-bottom: 14px; }
.location span { display: block; }
.intro-body { display: grid; grid-template-columns: 1.12fr 1fr; gap: 72px; margin-top: 42px; align-items: center; }
.bio { max-width: 52ch; }
.bio .opening { font-size: 21px; line-height: 1.55; letter-spacing: -.025em; color: var(--ink); }
.bio .opening em { font-family: var(--serif); font-weight: 400; font-size: 1.17em; color: var(--accent); }
.bio > p:not(.opening) { font-size: 15px; line-height: 1.8; margin-top: 20px; }
.links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 26px; font-size: 13px; }
.links a { white-space: nowrap; }
.links .accent-link { color: var(--accent); }
.arrow { font-family: var(--sans); font-size: .87em; display: inline-block; margin-left: 4px; }
.icon-link { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.link-icon { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-link .arrow { margin-left: 0; }
.hero-figure { min-width: 0; position: relative; }
.hero-figure img, .hero-figure svg { width: 100%; aspect-ratio: 460 / 285; }
.hero-figure figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 11px; padding: 14px 0 0; border-top: 1px solid var(--rule); color: var(--muted); }
.hero-figure figcaption a { color: var(--accent); white-space: nowrap; }
.current-note { margin-top: 50px; display: flex; align-items: baseline; gap: 24px; font-size: 13px; border-top: 1px solid var(--rule); padding-top: 20px; }
.current-note .eyebrow { color: var(--accent); flex-shrink: 0; }
.current-note p { margin: 0; }
.section-heading { display: flex; gap: 24px; align-items: baseline; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid var(--ink); }
.section-heading h2 { font-size: 37px; letter-spacing: -.025em; }
.section-heading > p, .section-heading > a { font-size: 12px; color: var(--muted); }
.selected { padding-top: 18px; }
.work-row { display: grid; grid-template-columns: .88fr 1.12fr; gap: 60px; padding: 42px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.work-visual { background: var(--paper-2); min-width: 0; position: relative; }
.work-visual > img, .work-visual > svg { width: 100%; }
.work-copy .work-type { font-size: 11px; color: var(--accent); margin-bottom: 16px; }
.work-copy h3 { font-size: 32px; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 15px; }
.work-copy h3 a { text-decoration: none; }
.work-copy p { font-size: 14px; line-height: 1.75; }
.work-copy .byline { margin: 0 0 15px; color: var(--muted); font-size: 11px; }
.work-copy .links { margin-top: 20px; font-size: 12px; }
.work-copy .tools { margin-top: 20px; font: 10px/1.8 var(--mono); color: var(--muted); }
.map-visual { height: 298px; display: flex; align-items: center; justify-content: space-between; padding: 24px 38px; gap: 20px; }
.map-visual > img { height: 258px; width: auto; }
.map-key { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; font: 10px/1.7 var(--mono); color: var(--muted); }
.map-key strong { display: block; font: 25px var(--serif); color: var(--ink); margin-bottom: 3px; }
.map-key .eyebrow { font-size: 9px; color: var(--muted); }
.map-place-context { display: block; margin-top: 6px; text-transform: none; letter-spacing: 0; }
.place-context { display: block; margin-top: 8px; font: 400 13px/1.6 var(--sans); letter-spacing: 0; }
.scale { display: flex; gap: 3px; margin: 10px 0 5px; }
.scale i { display: block; height: 5px; width: 16px; background: var(--scale-green); }
.scale i:nth-child(2) { background: var(--scale-olive); }.scale i:nth-child(3) { background: var(--scale-yellow); }.scale i:nth-child(4) { background: var(--scale-clay); }.scale i:nth-child(5) { background: var(--scale-red); }
.system-visual { padding: 38px 32px; min-height: 245px; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.system-visual .eyebrow { font-size: 9px; }
.system-flow { display: flex; align-items: center; gap: 16px; color: var(--accent); }
.system-flow span { color: var(--ink); font: 24px var(--serif); border-block: 1px solid var(--rule-strong); padding: 18px 0; flex: 1; text-align: center; }
.system-visual > p:last-child { font: 10px/1.8 var(--mono); color: var(--muted); margin: 0; }
.more-project { display: flex; justify-content: space-between; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--rule); }
.more-project p { font-size: 13px; color: var(--muted); }
.more-project a { font-size: 13px; }
.research-section { padding: 78px 0; display: grid; grid-template-columns: .88fr 1.12fr; gap: 60px; border-bottom: 1px solid var(--rule); }
.research-section h2 { font-size: 38px; letter-spacing: -.025em; margin: 20px 0 24px; max-width: 14ch; }
.research-section .research-lede { font-size: 14px; max-width: 40ch; }
.research-questions { list-style: none; padding: 0; margin: 0; }
.research-questions li { padding: 21px 0; border-bottom: 1px solid var(--rule); }
.research-questions li:first-child { padding-top: 0; }
.research-questions li:last-child { padding-bottom: 0; border-bottom: 0; }
.research-questions h3 { font: 500 14px var(--sans); margin-bottom: 8px; }
.research-questions p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.about-section { padding: 76px 0 68px; }
.about-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: 60px; padding-top: 36px; }
.about-story > p { font-size: 14px; max-width: 43ch; }
.small-note { margin-top: 28px; font-size: 12px !important; color: var(--muted); }
.timeline { margin: 0; }
.timeline > div { display: grid; grid-template-columns: 100px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.timeline > div:first-child { padding-top: 0; }
.timeline > div:last-child { border: 0; }
.timeline dt { font-size: 11px; color: var(--muted); padding-top: 3px; }
.timeline dd { margin: 0; font-size: 12px; }
.timeline dd strong { display: block; font-size: 14px; font-weight: 500; }
.timeline dd span { display: block; color: var(--muted); margin-top: 3px; }
.skills-section { padding-bottom: 60px; }
.skills-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 60px; margin: 12px 0 0; }
.skills-list > div { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.skills-list dt { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 7px; }
.skills-list dd { margin: 0; font-size: 13px; line-height: 1.8; max-width: 68ch; }
.contact { border-top: 1px solid var(--ink); padding: 48px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 36px; }
.contact h2 { font-size: 34px; margin-bottom: 14px; }
.contact p { font-size: 13px; color: var(--muted); max-width: 45ch; }
.email-line { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.email-line a { color: var(--accent); font-size: 18px; }
.contact .phone-line { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 14px; color: var(--body); }
.copy-button { --accent: var(--tone-teal); display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: 0 0 30px; padding: 6px; background: none; border: 1px solid var(--rule); color: var(--muted); }
.copy-button:hover, .copy-button:focus-visible { color: var(--accent); border-color: var(--accent); }
.copy-status { min-height: 20px; font-size: 11px; margin-top: 5px; color: var(--accent); }
.contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 34px; font-size: 12px; padding-top: 8px; }
.contact-links a { --accent: var(--tone-teal); }
.contact-links a:focus-visible { color: var(--accent); text-decoration-color: currentColor; }
.site-footer { border-top: 1px solid var(--rule); padding: 21px 0 28px; display: flex; gap: 20px; justify-content: space-between; font-size: 10px; color: var(--muted); }
.site-footer p { margin: 0; }
.site-footer button { background: none; border: 0; padding: 0; color: var(--muted); font-size: 10px; text-decoration: underline; text-underline-offset: 3px; }
.site-footer button:hover { color: var(--accent); }
[data-tone] .eyebrow, [data-tone] .section-heading h2,
.research-section[data-tone] h2, .contact[data-tone] h2,
.skills-list [data-tone] dt, .research-questions [data-tone] h3 { color: var(--accent); }
.map-key strong { color: var(--accent); }
.system-flow > span { color: var(--tone-teal); }
.system-flow > span:last-of-type { color: var(--tone-blue); }

@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .map-visual > img { mix-blend-mode: normal; } }
:root[data-theme='dark'] .map-visual > img { mix-blend-mode: normal; }
@media (max-width: 980px) {
  .intro-body { gap: 36px; }
  .work-row, .research-section, .about-layout { gap: 36px; }
  .map-visual { padding: 22px; }
  .map-key .eyebrow { font-size: 8px; }
  .intro h1 { font-size: 92px; }
}
@media (max-width: 760px) {
  .skills-section { padding-bottom: 44px; }
  .skills-list { column-gap: 28px; }
  .wrap { width: calc(100% - 48px); }
  .site-header { padding: 18px 0; }
  .nav-in { gap: 20px; padding-bottom: 16px; }
  .site-header nav { gap: 16px; }
  .site-header nav a { font-size: 12px; }
  .home span { display: none; }
  .theme-button { padding-left: 14px; min-width: 42px; }
  .intro { padding: 40px 0; }
  .intro h1 { font-size: clamp(60px, 12vw, 90px); }
  .location { display: none; }
  .intro-body { grid-template-columns: 1fr; gap: 26px; margin-top: 24px; }
  .bio { max-width: 62ch; }
  .bio .opening { font-size: 20px; }
  .hero-figure { width: min(440px, 100%); margin: 0 auto; }
  .hero-figure img, .hero-figure svg { max-height: 245px; }
  .current-note { margin-top: 36px; gap: 16px; }
  .section-heading h2 { font-size: 32px; }
  .work-row { grid-template-columns: .85fr 1.15fr; gap: 28px; padding: 30px 0; }
  .work-copy h3 { font-size: 28px; }
  .map-visual { height: 250px; padding: 16px; }
  .map-visual > img { height: 210px; }
  .map-key { display: none; }
  .map-visual { justify-content: center; }
  .system-visual { padding: 24px 16px; }
  .system-flow { gap: 10px; }
  .system-flow span { font-size: 20px; }
  .research-section, .about-layout { grid-template-columns: 1fr; gap: 32px; }
  .research-section { padding: 52px 0; }
  .research-section h2 { max-width: none; font-size: 34px; }
  .research-section .research-lede, .about-story > p { max-width: 64ch; }
  .about-section { padding: 48px 0; }
  .contact { padding: 34px 0; }
}
@media (max-width: 540px) {
  .skills-list { grid-template-columns: 1fr; }
  .skills-list > div { padding: 17px 0; }
  .wrap { width: calc(100% - 40px); }
  .nav-in { gap: 10px; flex-wrap: wrap; }
  .home { flex: 1; }
  .site-header nav { order: 3; width: 100%; margin-top: 9px; justify-content: space-between; }
  .site-header nav a { padding: 6px 0; }
  .theme-button { min-height: 30px; }
  .intro { padding-top: 28px; }
  .intro h1 { font-size: clamp(58px, 14vw, 76px); margin-top: 17px; }
  .intro .eyebrow { font-size: 9px; }
  .intro-body { margin-top: 24px; }
  .hero-figure img, .hero-figure svg { max-height: 230px; }
  .current-note { align-items: flex-start; font-size: 12px; }
  .current-note .eyebrow { padding-top: 3px; }
  .section-heading { gap: 16px; padding-bottom: 17px; }
  .section-heading > p { font-size: 10px; }
  .work-row { grid-template-columns: 1fr; gap: 25px; padding: 30px 0 36px; }
  .work-visual { max-height: 290px; overflow: hidden; }
  .work-copy h3 { font-size: 30px; }
  .work-copy .work-type { margin-bottom: 11px; }
  .work-copy .tools { margin-top: 16px; }
  .map-key { display: flex; }
  .map-visual { justify-content: space-between; padding: 20px 38px; }
  .map-key .eyebrow { font-size: 9px; }
  .system-visual { min-height: 210px; padding: 26px; gap: 24px; }
  .system-flow span { font-size: 26px; }
  .more-project { flex-direction: column; gap: 10px; }
  .contact { flex-direction: column; gap: 26px; }
  .contact-links { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 0; }
  .site-footer { flex-wrap: wrap; gap: 12px; }
  .timeline > div { grid-template-columns: 84px 1fr; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print {
  .site-header, .theme-button, .copy-button, #to-term, #term { display: none !important; }
  :root { --paper: white; --ink: black; --body: #222; --muted: #555; }
  body { font-size: 11px; }
  .wrap { width: 100%; }
  .intro { padding: 20px 0; }
  .intro h1 { font-size: 60px; }
  .work-row, .research-section, .about-layout { break-inside: avoid; }
  a { text-decoration: none; }
}
