﻿:root {
  --ink: #253e3e;
  --ink-strong: #153333;
  --muted: #586966;
  --ivory: #faf9f5;
  --surface: #ffffff;
  --surface-teal: #edf2ed;
  --teal: #24645c;
  --teal-dark: #174f48;
  --amber: #a24d30;
  --amber-soft: #f2e7dc;
  --line: #d7ddd5;
  --max: 1520px;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Aptos, "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 6rem; }
body { margin: 0; color: var(--ink); background: var(--ivory); font-family: var(--sans); font-size: 17px; line-height: 1.7; }
a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--amber); }
:focus-visible { outline: 3px solid var(--amber) !important; outline-offset: 4px; }
::selection { background: #d9e9e0; color: var(--ink-strong); }

.navbar { background: var(--ivory); border-bottom: 1px solid var(--line); padding-block: 1rem; }
.navbar-container { width: min(var(--max), calc(100% - 5rem)); margin-inline: auto; padding-inline: 0; }
.navbar-brand-container { margin-left: 0 !important; margin-right: auto !important; }
.navbar-brand { color: var(--ink-strong) !important; font-family: var(--display); font-size: 1.45rem; font-weight: 700; letter-spacing: -.035em; }
.navbar-nav { gap: .35rem; }
.navbar-nav .nav-link { color: var(--ink) !important; font-size: .86rem; font-weight: 600; }
.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover { color: var(--teal-dark) !important; text-decoration: underline; text-underline-offset: 7px; }
.profile-links { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; margin: .7rem 0 1rem; }
.profile-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-size: .82rem; font-weight: 650; text-decoration: underline; touch-action: manipulation; }
.profile-link:hover { text-decoration: underline; }
.profile-link i, .profile-link svg { display: inline-block; flex: none; width: 16px; height: 16px; font-size: 16px; line-height: 1; color: #24645c; fill: #24645c; }
.navbar-toggler { border-color: var(--line); min-height: 44px; min-width: 44px; }
.dropdown-menu { background: var(--surface); border: 1px solid var(--line); box-shadow: 0 12px 28px #15333312; padding: .5rem; max-width: min(25rem, calc(100vw - 3rem)); }
.dropdown-item { color: var(--ink-strong); white-space: normal; padding: .6rem .75rem; font-size: .88rem; }
.dropdown-item:hover, .dropdown-item:focus { color: var(--teal-dark); background: var(--surface-teal); }
#quarto-search { color: var(--ink-strong); }

#quarto-content { width: min(var(--max), calc(100% - 5rem)); margin-inline: auto; }
#quarto-content.page-columns { display: block; }
#quarto-content > main.content { width: 100%; min-width: 0; max-width: none; margin: 0; padding: 0 0 4rem; }
#quarto-content > main.content > section { margin-top: 2.5rem; }
#quarto-content > main.content > section > h2 { margin: 0 0 1.25rem; }
#quarto-content section, .quarto-figure, figure, figure > p, figure > p > a { min-width: 0; max-width: 100%; }
.quarto-title-block { display: none; }
h1, h2, h3, h4 { color: var(--ink-strong); line-height: 1.17; }
h1, h2 { font-family: var(--display); font-weight: 500; }
h1 { font-size: clamp(2.6rem, 5vw, 4.8rem); letter-spacing: -.045em; text-wrap: balance; }
h2 { margin-top: 4.5rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); font-size: clamp(1.9rem, 3vw, 2.6rem); letter-spacing: -.025em; }
h3 { font-family: var(--sans); font-size: 1.25rem; font-weight: 650; }
p { margin-bottom: 1.1rem; }

.hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, .9fr); gap: 0; align-items: stretch; margin-top: 1.5rem; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--surface-teal); }
.hero-copy { min-width: 0; padding: 2rem 2.2rem; }
.hero h1 { margin: .8rem 0 1rem; max-width: 800px; font-size: clamp(2.8rem, 3.7vw, 3.3rem); }
.hero-copy > p { max-width: 700px; color: var(--muted); font-size: 1.05rem; }
.hero-copy > .hero-role { color: var(--ink); font-size: .95rem; font-weight: 600; line-height: 1.65; max-width: 660px; }
.eyebrow, .project-index { color: var(--amber); font-size: .71rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow p { margin: 0; }
.hero-portrait { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 2rem; border: 0; }
.hero-portrait p { width: 100%; max-width: 400px; margin: 0; }
.hero-portrait img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 4px; }
.hero-actions, .contact-actions, .contact-links { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.7rem 0 1rem; }
.hero-actions > p, .contact-actions > p, .contact-links > p { display: flex; flex-wrap: wrap; gap: .65rem; margin: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid var(--teal-dark); border-radius: 3px; padding: .7rem 1.15rem; font-size: .87rem; font-weight: 650; text-decoration: none; transition: background-color 160ms, color 160ms; }
.button-primary { color: white; background: var(--teal-dark); }
.button-primary:hover, .button-primary:focus-visible { color: white; background: var(--ink-strong); }
.button-secondary { color: var(--teal-dark); background: transparent; }
.button-secondary:hover { color: var(--ink-strong); background: var(--surface-teal); }
.contact-strip, .meta-line { color: var(--muted); font-size: .83rem; }
.contact-strip { padding-top: .6rem; }
.section-lede { max-width: 790px; color: var(--muted); font-size: 1.04rem; margin-bottom: 2rem; }
.page-intro { max-width: 960px; color: var(--muted); font-size: 1.13rem; padding: 2.5rem 0 1rem; }
.page-intro h1 { margin: .8rem 0 1.5rem; }
.page-intro > p { max-width: 790px; }

.education-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.education-card { min-width: 0; padding: 1.1rem 0; }
.education-card-head { display: flex; flex-direction: column-reverse; gap: 1.1rem; align-items: flex-start; }
.education-card-copy { min-width: 0; }
.education-period { display: block; margin-bottom: .7rem; color: var(--teal-dark); font-size: .73rem; font-weight: 700; }
.education-card h3 { font-family: var(--display); margin: 0 0 .6rem; font-size: 1.4rem; font-weight: 600; }
.education-card h3 { min-height: 2.4em; }
.education-organization { color: var(--muted); font-size: .9rem; }
.education-logo-frame { display: flex; width: 6rem; height: 3.5rem; align-items: center; justify-content: flex-start; }
.education-logo-frame img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.education-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.education-tag { display: inline-block; padding: .22rem .5rem; color: var(--teal-dark); background: var(--surface-teal); font-size: .69rem; line-height: 1.45; }
.education-gpa { background: var(--amber-soft); color: #7b3c29; }

.research-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
.research-card { display: flex; flex-direction: column; min-width: 0; padding: 1.5rem; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.research-card h2, .research-card h3 { min-height: 2.4em; margin: .8rem 0 1rem; padding: 0; border: 0; font-family: var(--display); font-size: 1.55rem; font-weight: 600; line-height: 1.2; }
.research-card h2 a, .research-card h3 a { color: var(--ink-strong); text-decoration: none; }
.research-card h2 a:hover, .research-card h3 a:hover { text-decoration: underline; }
.research-card p { color: var(--muted); font-size: .94rem; }
.work-preview { display: flex; flex: none; height: 260px; align-items: center; justify-content: center; overflow: hidden; margin: 0 0 1.2rem; padding: .7rem; border: 1px solid var(--line); background: #f7f8f5; }
.work-preview img { display: block; max-width: 100%; max-height: 100%; width: 100%; height: 100%; padding: 0; object-fit: contain; }
.research-card .research-card-action { margin: auto 0 0; padding-top: .8rem; }
.research-card .meta-line { margin-bottom: 1rem; font-size: .8rem; }
.card-link { display: inline-block; min-height: 32px; font-size: .85rem; font-weight: 650; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.capability-card { min-width: 0; padding: 1.75rem 2rem; background: var(--surface-teal); }
.capability-card h3 { margin: 0 0 .85rem; }
.capability-card p { margin: 0; color: var(--muted); font-size: .92rem; }

.timeline-grid, .timeline-grid-single { display: grid; grid-template-columns: 1fr; }
.timeline-item { position: relative; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.timeline-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; }
.timeline-item h3, .timeline-item h4 { margin: 0; font-size: 1.2rem; }
.timeline-item p { margin: .5rem 0 0; color: var(--muted); max-width: 100%; font-size: .96rem; }
.timeline-period { flex: none; color: var(--teal-dark); font-weight: 650; font-size: .84rem; }
.timeline-org { color: var(--muted); font-size: .92rem; }
.timeline-item-wide { max-width: 100%; }
.activity-grid, .result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; }
.activity-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.result-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.activity-card { min-width: 0; padding: 1.7rem; border: 1px solid var(--line); background: var(--surface); }
.activity-card h3 { margin-top: 1.1rem; }
.activity-card p { color: var(--muted); font-size: .94rem; }
.status-chip, .evidence-tag { display: inline-block; color: var(--teal-dark); font-size: .68rem; letter-spacing: .12em; font-weight: 700; }

.case-hero { padding: 3.2rem 0 1rem; }
.back-link { display: inline-block; min-height: 40px; margin-bottom: 1.5rem; font-size: .83rem; }
.case-hero h1 { max-width: 1100px; margin: 1.1rem 0 1.5rem; }
.case-hero > p { max-width: 860px; color: var(--muted); font-size: 1.08rem; }
.case-meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; margin-top: 2.5rem; background: var(--line); border: 1px solid var(--line); }
.case-meta-item { min-width: 0; padding: 1.5rem; overflow-wrap: anywhere; background: var(--surface-teal); font-size: .92rem; }
.case-meta-item p { margin-bottom: .5rem; }
.case-meta-item strong { color: var(--teal-dark); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; }
.result-card { min-width: 0; padding: 1.5rem; border-left: 2px solid var(--teal); background: var(--surface-teal); font-size: .96rem; }
.result-card p:last-child { margin: 0; }
.tool-line { margin: 2rem 0; padding: 1.1rem 1.5rem; border-left: 2px solid var(--amber); background: var(--amber-soft); font-size: .92rem; }
.tool-line p { margin: 0; }
.case-figure-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
.case-figure-grid:has(> :only-child) { grid-template-columns: 1fr; max-width: 1000px; margin-inline: auto; }
.case-figure-item { min-width: 0; }
.case-figure { display: block; width: 100%; max-width: 100%; height: auto; border: 1px solid var(--line); background: white; }
figure > p > .lightbox { display: block; width: 100%; max-width: 100%; }
figure { margin: 1rem 0 2rem; }
figcaption { color: var(--muted); font-size: .86rem; line-height: 1.6; }

.publication-row, .publication-detail, .talk-row { position: relative; padding: 1.8rem 0; border-top: 1px solid var(--line); }
.publication-row, .publication-detail { padding-left: 6rem; }
.publication-year { position: absolute; left: 0; color: var(--teal-dark); font-size: .85rem; font-weight: 700; }
.publication-row h3, .publication-detail h2 { margin: 0 0 .7rem; padding: 0; border: 0; font-family: var(--display); font-size: 1.45rem; font-weight: 600; }
.publication-row h3 a, .publication-detail h2 a { text-decoration: none; }
.publication-row h3 a:hover, .publication-detail h2 a:hover { text-decoration: underline; }
.publication-row p, .publication-detail p { color: var(--muted); font-size: .9rem; margin-bottom: .45rem; }
.text-link { display: inline-block; margin-top: 1.2rem; font-size: .9rem; font-weight: 650; }
.download-panel, .contact-panel { padding: clamp(1.5rem, 4vw, 3rem); background: var(--surface-teal); border: 1px solid var(--line); border-top: 3px solid var(--teal); }
.download-panel h2, .contact-panel h2 { border: 0; padding: 0; margin: .8rem 0 1rem; }
.download-panel > p, .contact-panel > p { max-width: 760px; }
.profile-pathways { margin-top: 3rem; }
.profile-pathways .button { margin: 0 .4rem .5rem 0; }
.nav-footer { border-top: 1px solid var(--line); background: var(--surface-teal); padding-block: 1.5rem; color: var(--muted); font-size: .8rem; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1.25fr) minmax(260px, .85fr); }
  .hero h1 { font-size: 3.1rem; }
  .navbar-nav { gap: 0; }
}
@media (max-width: 991px) {
  .navbar-container { width: calc(100% - 3rem); }
  .navbar-collapse { padding-top: 1rem; }
  .navbar-nav .nav-link { padding-block: .7rem; }
  .navbar-toggler-icon { filter: none; }
  .hero { grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr); }
  .hero-copy { padding: 1.5rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero-copy > p { font-size: .97rem; }
  .research-grid { grid-template-columns: 1fr; gap: 1rem; }
  .research-card h2, .research-card h3 { min-height: 0; }
  .education-grid { gap: 1rem; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  #quarto-content { width: calc(100% - 2.5rem); }
  .navbar-container { width: calc(100% - 2.5rem); }
  .navbar { padding-block: .7rem; }
  #quarto-content > main.content, #quarto-content section { min-width: 0; overflow-wrap: break-word; }
  .hero { grid-template-columns: 1fr; margin-top: .7rem; }
  .hero-copy { padding: 1.25rem; }
  .hero h1 { font-size: clamp(2rem, 8.6vw, 2.8rem); line-height: 1.12; margin-top: 1rem; }
  .hero-copy > .hero-role { font-size: .87rem; }
  .profile-links { gap: .25rem .75rem; }
  .profile-link { gap: .3rem; font-size: .75rem; }
  .hero-portrait { width: 100%; padding: .5rem 1.25rem 1.5rem; }
  .hero-portrait p { max-width: 260px; }
  .eyebrow { font-size: .65rem; letter-spacing: .1em; }
  h2 { margin-top: 3.2rem; }
  #quarto-content > main.content > section { margin-top: 2rem; }
  .hero-actions .button { flex-grow: 1; }
  .contact-strip { line-height: 2; }
  .page-intro { padding-top: 2.8rem; font-size: 1.04rem; }
  .page-intro h1, .case-hero h1 { font-size: clamp(2.35rem, 9vw, 3.2rem); overflow-wrap: break-word; }
  .education-grid, .research-grid, .card-grid, .activity-grid, .result-grid, .case-meta-grid, .case-figure-grid { grid-template-columns: 1fr; }
  .education-card { padding-block: 1.3rem; border-bottom: 1px solid var(--line); }
  .education-card-head { display: grid; grid-template-columns: minmax(0, 1fr) 4.5rem; gap: 1rem; }
  .education-logo-frame { width: 4.5rem; height: 3.6rem; }
  .education-card h3 { font-size: 1.35rem; }
  .education-tags { margin-top: .8rem; }
  .research-card { padding: 1.2rem; }
  .research-card h2, .research-card h3 { font-size: 1.5rem; }
  .research-card h3 { min-height: 0; }
  .work-preview { height: 205px; padding: .4rem; }
  .capability-card { padding: 1.5rem; }
  .timeline-heading { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .timeline-period { display: block; margin-bottom: .3rem; }
  .timeline-item h3, .timeline-item h4 { margin-right: 0; }
  .publication-row, .publication-detail { padding-left: 0; padding-top: 3rem; }
  .publication-year { top: 1rem; }
  .case-hero { padding-top: 2rem; }
  .case-hero > p { font-size: 1rem; }
  .case-meta-item { padding: 1.2rem; }
  .case-figure-grid { gap: 0; }
  .contact-links .button { flex-grow: 1; }
  .nav-footer { padding-inline: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
