.people-shell {
  --ink: var(--brand-ink);
  --acid: var(--brand-gold);
  --bone: var(--brand-bone);
  --paper: var(--brand-paper);
  --muted: var(--brand-muted);
  --surface-muted: var(--brand-wash);
  --panel-dark: var(--brand-oxblood);
  --line: var(--brand-line);
  --directory-type-meta: clamp(.78125rem, calc(.74rem + .14vw), .875rem);
  --directory-leading-meta: 1.45;
  --academic-section-title: var(--type-section);
  --academic-group-title: clamp(1.5rem, calc(1.32rem + .8vw), 1.75rem);
  background: var(--bone);
  color: var(--ink);
}

.people-shell main { overflow: hidden; }
.people-page { min-height: 100vh; }
.people-page > section { scroll-margin-top: 88px; }
.people-nav nav .is-current::after { transform: scaleX(1); }

/* Field Notes — selected People-page direction */
.people-c { background: var(--bone); color: var(--ink); }

.p-c-hero {
  display: grid;
  min-height: 400px;
  align-items: end;
  padding: 125px 6vw 52px;
  border-bottom: 4px solid var(--ink);
}

.p-c-label {
  margin: 0 0 28px;
  color: var(--brand-crimson);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: .1em;
}

.p-c-hero h1 {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-size: var(--type-display);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .92;
  overflow-wrap: normal;
  hyphens: none;
}

.p-c-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  padding: 0 6vw 135px;
}

.p-c-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
  padding: 65px 40px 65px 0;
  border-right: 1px solid var(--line);
}

.p-c-sidebar img { width: 62px; height: 62px; object-fit: contain; }
.p-c-sidebar > p { margin: 55px 0 18px; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: var(--directory-type-meta); font-weight: 500; line-height: var(--directory-leading-meta); letter-spacing: .08em; text-transform: uppercase; }
.p-c-sidebar nav { display: flex; flex-direction: column; }
.p-c-sidebar nav a { padding: 13px 0; border-top: 1px solid var(--line); font-family: "IBM Plex Mono", monospace; font-size: var(--directory-type-meta); font-weight: 500; line-height: var(--directory-leading-meta); text-transform: uppercase; }
.p-c-sidebar nav a:last-child { border-bottom: 1px solid var(--line); }
.p-c-sidebar nav a:hover { color: var(--brand-crimson); }

.p-c-directory { min-width: 0; padding: 65px 0 0 5vw; }
.p-c-group { scroll-margin-top: 120px; }
.p-c-group + .p-c-group { margin-top: 86px; }

.academic-section-heading,
.academic-group-heading {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: baseline;
  padding-bottom: 13px;
  border-bottom: 2px solid var(--ink);
}
.academic-section-heading { margin-bottom: 30px; }
.academic-group-heading { margin-bottom: 20px; border-bottom-width: 1px; }
.academic-section-heading > span:first-child,
.academic-group-heading > span:first-child {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: var(--type-micro);
  font-weight: 500;
  line-height: 1.45;
  text-transform: uppercase;
}
.academic-section-heading > span:first-child { color: var(--brand-crimson); }
.academic-group-heading > span:first-child { color: var(--muted); }
.academic-section-heading > :is(h2,h3,strong),
.academic-group-heading > :is(h2,h3,strong) {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  text-transform: none;
}
.academic-section-heading > :is(h2,h3,strong) {
  font-size: var(--academic-section-title);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.academic-group-heading > :is(h2,h3,strong) {
  font-size: var(--academic-group-title);
  letter-spacing: -.025em;
  line-height: 1.15;
}

.p-c-row {
  --profile-row-height: 116px;
  display: grid;
  grid-template-columns: 62px minmax(145px, .8fr) minmax(190px, 1.05fr) minmax(210px, 1.2fr) 44px;
  grid-template-rows: minmax(var(--profile-row-height), auto);
  gap: 20px;
  align-items: center;
  min-width: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background-color .2s ease;
}

.p-c-row:hover,
.p-c-row:focus-within,
.p-c-row.is-expanded { background: color-mix(in srgb, var(--surface-muted) 72%, transparent); }

.p-c-row:hover .p-c-row-toggle,
.p-c-row:focus-within .p-c-row-toggle { background: var(--acid); }

.p-c-principal-row {
  grid-template-columns: 62px minmax(145px, 1fr) auto;
  padding-right: 18px;
  cursor: pointer;
}

.p-c-principal-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: var(--brand-crimson);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(12px, .74vw, 14px);
  font-weight: 500;
  letter-spacing: .035em;
  text-transform: uppercase;
  white-space: nowrap;
}

.p-c-principal-link span {
  font-size: 18px;
  transition: transform .2s ease;
}

.p-c-principal-row:hover .p-c-principal-link span,
.p-c-principal-row:focus-visible .p-c-principal-link span { transform: translateX(5px); }

.p-c-row img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; object-position: var(--portrait-position, 50% 28%); filter: grayscale(.45) saturate(.65); }
.p-c-row h3 { margin: 0 0 5px; font-family: "DM Serif Display", serif; font-size: var(--type-card-title); font-weight: 400; line-height: 1.05; }
.p-c-row-name { min-width: 0; }
.p-c-row-role,
.p-c-row-focus { min-width: 0; margin: 0; color: var(--muted); font-family: "IBM Plex Mono", monospace; line-height: 1.55; overflow-wrap: anywhere; text-transform: uppercase; }
.p-c-row-role { font-size: clamp(12px, .75vw, 14px); font-weight: 500; letter-spacing: .015em; }
.p-c-row-focus { font-size: 12px; }
.p-c-row-focus { color: var(--ink); }

.p-c-row-detail span { display: block; margin-bottom: 5px; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 500; letter-spacing: .055em; text-transform: uppercase; }

.p-c-row--degrees {
  --profile-row-height: 132px;
  grid-template-columns: 62px minmax(155px, .72fr) minmax(0, 2.65fr) 44px;
}

.p-c-row--degrees > img { grid-column: 1; grid-row: 1; }
.p-c-row--degrees .p-c-row-name { grid-column: 2; grid-row: 1; }
.p-c-row--degrees .p-c-degree-strip { grid-column: 3; grid-row: 1; }
.p-c-row--degrees .p-c-row-toggle { grid-column: 4; grid-row: 1; }
.p-c-row--degrees .p-c-row-detail { grid-column: 2 / -1; grid-row: 2; grid-template-columns: minmax(0, 1fr) auto; }

.p-c-degree-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  min-width: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.p-c-degree {
  min-width: 0;
  min-height: 78px;
  padding: 11px 16px 12px;
  border-left: 1px solid var(--line);
  background: transparent;
}

.p-c-degree:first-child { border-left: 0; }
.p-c-degree span { display: block; margin-bottom: 6px; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 600; letter-spacing: .055em; text-transform: uppercase; }
.p-c-degree strong { display: block; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.p-c-degree small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.4; }

.p-c-row--student-degrees .p-c-degree.is-current { box-shadow: inset 0 2px 0 var(--brand-crimson); }
.p-c-row--student-degrees .p-c-degree.is-current span { color: var(--brand-crimson); }

/* Postdocs use the same compact degree grammar, with one stronger rule rather
   than a separate colour block. */
.p-c-row--postdoctoral-degrees .p-c-degree-strip { border-top: 2px solid var(--ink); }
.p-c-row--postdoctoral-degrees .p-c-degree span { color: var(--brand-crimson); }

.p-c-row-toggle {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 19px;
  line-height: 1;
  transition: background-color .2s ease, transform .2s ease;
}

.p-c-row-toggle:hover,
.p-c-row-toggle[aria-expanded="true"] { background: var(--acid); }
.p-c-row-toggle[aria-expanded="true"] { transform: rotate(45deg); }

.p-c-row-detail {
  display: grid;
  grid-column: 2 / -1;
  grid-row: 2;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  width: 100%;
  margin: -3px 0 18px;
  padding: 18px 22px;
  background: var(--surface-muted);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.p-c-row-detail[hidden] { display: none; }
.p-c-row-detail p { margin: 0; }
.p-c-row-detail a { justify-self: end; color: var(--ink); cursor: pointer; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }

.p-c-undergraduate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.p-c-row--undergraduate {
  --profile-row-height: auto;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 10px 14px;
  align-content: start;
  align-items: start;
  min-height: 126px;
  padding: 20px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  cursor: default;
}

.p-c-row--undergraduate:hover,
.p-c-row--undergraduate:focus-within { background: transparent; }
.p-c-row--undergraduate img { grid-column: 1; grid-row: 1 / span 2; width: 54px; height: 54px; }
.p-c-row--undergraduate .p-c-row-name { grid-column: 2; grid-row: 1; align-self: center; }
.p-c-undergraduate-affiliation { grid-column: 2 / -1; grid-row: 2; margin: 0; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 500; line-height: 1.55; text-transform: uppercase; }

.p-c-graduate-alumni {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.p-c-alumni-card {
  display: grid;
  min-height: 104px;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}

.p-c-alumni-card:nth-child(odd) { border-right: 1px solid var(--line); }
.p-c-alumni-card img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; filter: grayscale(.35) saturate(.7); }
.p-c-alumni-card strong { display: block; margin-bottom: 5px; font-size: 13px; }
.p-c-alumni-card em { display: block; color: var(--muted); font-size: 12px; font-style: normal; line-height: 1.45; }

.p-c-alumni-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.p-c-alumni-list p { display: grid; min-height: 88px; grid-template-columns: 34px 1fr; gap: 14px; align-content: center; margin: 0; padding: 14px 20px 14px 0; border-bottom: 1px solid var(--line); }
.p-c-alumni-list p.has-portrait { grid-template-columns: 34px 42px minmax(0, 1fr); align-items: center; }
.p-c-alumni-list p.has-portrait > img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; filter: grayscale(.35) saturate(.7); }
.p-c-placeholder-avatar { display: block; width: 42px; height: 42px; flex: none; }
.p-c-alumni-list p:nth-child(odd) { border-right: 1px solid var(--line); }
.p-c-alumni-list span { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 11px; }
.p-c-alumni-list strong { display: block; margin-bottom: 4px; font-size: 14px; }
.p-c-alumni-list em { color: var(--muted); font-size: 12px; font-style: normal; line-height: 1.45; }

.p-c-undergraduate-alumni-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p-c-undergraduate-alumni-list p,
.p-c-undergraduate-alumni-list p:nth-child(odd) { border-right: 1px solid var(--line); }
.p-c-undergraduate-alumni-list p:nth-child(3n) { border-right: 0; }

/* Alumni affiliation update drawer */
.p-c-group > .p-c-alumni-header { align-items: center; }
.p-c-update-open { min-height: 44px; padding: 10px 14px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font-family: "IBM Plex Mono", monospace; font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.p-c-update-open b { margin-left: 10px; font-size: 14px; font-weight: 400; }
.p-c-update-open:hover,.p-c-update-open:focus-visible { background: var(--acid); color: var(--ink); outline: 0; }

.p-c-update-dialog { position: fixed; inset: 0 0 0 auto; width: min(640px, 100%); max-width: none; height: 100dvh; max-height: none; margin: 0 0 0 auto; padding: 0; overflow: hidden; border: 0; outline: 0; background: transparent; color: var(--ink); }
.p-c-update-dialog::backdrop { background: rgba(26, 9, 14, .7); backdrop-filter: blur(3px); }
.p-c-update-dialog[open] { animation: p-c-drawer-in .24s ease-out; }
.p-c-update-panel { height: 100%; overflow-y: auto; padding-bottom: var(--safe-bottom); background: var(--bone); box-shadow: -28px 0 70px rgba(26, 9, 14, .26); }
.p-c-update-header { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 30px; align-items: start; padding: max(38px, var(--safe-top)) max(38px, var(--safe-right)) 34px max(38px, var(--safe-left)); background: var(--panel-dark); color: #fff; }
.p-c-update-header span,.p-c-update-success > span { color: var(--acid); font-family: "IBM Plex Mono", monospace; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.p-c-update-header h2 { max-width: 470px; margin: 20px 0 16px; font-family: "DM Serif Display", serif; font-size: clamp(42px, 5vw, 62px); font-weight: 400; letter-spacing: -.04em; line-height: .94; }
.p-c-update-header p { max-width: 470px; margin: 0; color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.65; }
.p-c-update-close { display: grid; width: 44px; height: 44px; place-items: center; padding: 0 0 3px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: transparent; color: #fff; font-size: 27px; font-weight: 300; cursor: pointer; }
.p-c-update-close:hover,.p-c-update-close:focus-visible { border-color: var(--acid); background: var(--acid); color: var(--ink); outline: 0; }
.p-c-update-form { padding: 30px 38px 42px; }
.p-c-update-honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.p-c-update-private-note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; margin: 0 0 30px; padding: 12px 14px; border-left: 3px solid var(--brand-crimson); background: var(--surface-muted); }
.p-c-update-private-note strong { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.p-c-update-private-note span { color: var(--muted); font-size: 13px; }
.p-c-update-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 18px; }
.p-c-update-fields label { display: block; min-width: 0; }
.p-c-update-fields label.is-full { grid-column: 1 / -1; }
.p-c-update-fields label > span { display: block; margin: 0 0 8px; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.p-c-update-fields input,.p-c-update-fields textarea { box-sizing: border-box; width: 100%; min-width: 0; padding: 12px 13px; border: 1px solid var(--line); border-radius: 0; background: color-mix(in srgb, var(--surface-muted) 74%, transparent); color: var(--ink); font: inherit; font-size: 13px; }
.p-c-update-fields textarea { resize: vertical; line-height: 1.5; }
.p-c-update-fields input:focus,.p-c-update-fields textarea:focus { border-color: var(--brand-crimson); outline: 2px solid rgba(215,172,100,.52); outline-offset: 0; }
.p-c-update-fields input[type="file"] { padding: 9px; font-size: 12px; }
.p-c-update-fields label > small { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.p-c-update-consent { display: grid; grid-template-columns: 17px minmax(0, 1fr); gap: 11px; align-items: start; margin: 28px 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.p-c-update-consent input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--brand-crimson); }
.p-c-update-actions { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--line); }
.p-c-update-actions p { margin: 0; color: var(--muted); font-size: 12px; }
.p-c-update-actions a { border-bottom: 1px solid currentColor; color: var(--ink); }
.p-c-update-actions button,.p-c-update-success button { padding: 14px 17px; border: 1px solid var(--acid); background: var(--acid); color: var(--ink); font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 500; text-transform: uppercase; cursor: pointer; }
.p-c-update-actions button:disabled { cursor: wait; opacity: .55; }
.p-c-update-error { margin: 14px 0 0; color: var(--brand-crimson); font-size: 13px; line-height: 1.5; }
.p-c-update-actions button span { margin-left: 12px; }
.p-c-update-actions button:hover,.p-c-update-actions button:focus-visible,.p-c-update-success button:hover,.p-c-update-success button:focus-visible { border-color: var(--ink); background: var(--ink); color: #fff; outline: 0; }
.p-c-update-success { display: none; min-height: 100%; box-sizing: border-box; flex-direction: column; align-items: flex-start; justify-content: center; padding: 60px 10%; }
.p-c-update-success h3 { margin: 28px 0 18px; font-family: "DM Serif Display", serif; font-size: clamp(42px, 6vw, 66px); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.p-c-update-success h3 b { font-weight: 400; }
.p-c-update-success p { max-width: 440px; margin: 0 0 34px; color: var(--muted); line-height: 1.7; }
.p-c-update-dialog.is-submitted .p-c-update-form { display: none; }
.p-c-update-dialog.is-submitted .p-c-update-success { display: flex; }

@keyframes p-c-drawer-in { from { opacity: .4; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }

/* Shared production group photography used by People and Join. */
.bmdl-group-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-muted);
}
.bmdl-group-photo > img,
.bmdl-group-photo > picture,
.bmdl-group-photo > picture > img {
  display: block;
  width: 100%;
  height: 100%;
}
.bmdl-group-photo > img,
.bmdl-group-photo > picture > img {
  object-fit: cover;
  object-position: 50% 50%;
}
.bmdl-group-photo figcaption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: end;
  padding: 48px 20px 18px;
  background: linear-gradient(transparent, rgba(32, 23, 25, .82));
  color: #fff;
  pointer-events: none;
}
.bmdl-group-photo figcaption span,
.bmdl-group-photo figcaption small { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .07em; line-height: 1.5; text-transform: uppercase; }
.bmdl-group-photo figcaption small { color: rgba(255, 255, 255, .82); text-align: right; }

.p-c-group-photo {
  display: grid;
  grid-template-columns: minmax(250px, .42fr) minmax(0, 1fr);
  gap: 5vw;
  align-items: start;
  padding: 0 6vw 135px;
}
.p-c-directory > .p-c-group-photo { grid-template-columns: minmax(210px,.38fr) minmax(0,1fr); gap: 3vw; margin: 86px 0; padding: 0; }
.p-c-directory > .p-c-group-photo .p-c-group-photo-copy { padding-top: 20px; }
.p-c-directory > .p-c-group-photo .p-c-group-photo-copy h2 { margin-top: 28px; font-size: clamp(28px,2.5vw,38px); line-height: 1.05; }
#p-c-alumni-directory > .p-c-group:first-child { margin-top: 0; }
.p-c-group-photo > .bmdl-group-photo { width: 100%; min-width: 0; aspect-ratio: 40 / 11; }
.p-c-group-photo-copy { padding-top: 30px; border-top: 2px solid var(--ink); }
.p-c-group-photo-copy > span { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .08em; }
.p-c-group-photo-copy h2 { margin: 35px 0 20px; font-family: "DM Serif Display", serif; font-size: var(--type-section); font-weight: 400; letter-spacing: -.04em; line-height: .96; }
.p-c-group-photo-copy p { max-width: 410px; margin: 0; color: var(--muted); font-size: var(--type-small); line-height: 1.75; }

.p-c-lab-life {
  margin: 0 0 108px;
  padding-top: 34px;
  border-top: 2px solid var(--ink);
  scroll-margin-top: 126px;
}
.p-c-lab-life-heading {
  grid-template-columns: 46px minmax(0, 1fr);
  margin-bottom: 30px;
  border-top: 0;
}
.p-c-lab-life-heading > span { padding-top: 4px; color: var(--brand-crimson); }
.p-c-lab-life-heading h2 { margin: 0; font-size: clamp(28px, 2.5vw, 38px); line-height: 1.05; text-transform: none; }
.p-c-lab-life-heading p { max-width: 610px; margin: 12px 0 0; color: var(--muted); font-size: var(--type-small); line-height: 1.7; }
.p-c-lab-life-gallery {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface-muted);
}
.p-c-lab-life-gallery:focus-visible { outline: 3px solid var(--brand-crimson); outline-offset: 4px; }
.p-c-lab-life-picture { display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel-dark); }
.p-c-lab-life-picture img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.p-c-lab-life-picture img.is-contained { object-fit: contain; }
.p-c-lab-life-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 74px;
  padding: 12px 14px 12px 20px;
  border-top: 1px solid var(--line);
}
.p-c-lab-life-meta > span:first-child { color: var(--ink); font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .045em; line-height: 1.5; text-transform: uppercase; }
.p-c-lab-life-controls { display: inline-flex; gap: 11px; align-items: center; }
.p-c-lab-life-controls button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 21px;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.p-c-lab-life-controls button:hover { background: var(--brand-crimson); color: #fff; transform: translateY(-1px); }
.p-c-lab-life-controls button:focus-visible { background: var(--brand-crimson); color: #fff; outline: 2px solid var(--brand-crimson); outline-offset: 3px; }
.p-c-lab-life-controls output { min-width: 72px; color: var(--ink); font-family: "IBM Plex Mono", monospace; font-size: 12px; font-style: normal; text-align: center; }
.p-c-lab-life-controls output b { color: var(--brand-crimson); font-weight: 500; }
.p-c-lab-life-controls output i { font-style: normal; }

.p-c-join {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 40px;
  align-items: end;
  padding: 95px 6vw 120px;
  background: var(--panel-dark);
  color: #fff;
}

.p-c-join span { align-self: start; color: var(--acid); font-family: "IBM Plex Mono", monospace; font-size: 11px; line-height: 1.6; text-transform: uppercase; }
.p-c-join h2 { margin: 0; font-family: "DM Serif Display", serif; font-size: clamp(55px, 6vw, 88px); font-weight: 400; letter-spacing: -.045em; line-height: .95; }
.p-c-join a { padding: 15px 18px; background: var(--acid); color: var(--ink); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.people-partners,.people-footer { position: relative; z-index: 2; }

/* Principal investigator — the same indexed, evidence-led grammar as People
   and Research, narrowed into a single editorial profile column. */
.pi-profile-page { padding: 0 6vw 120px; background: var(--bone); }
.pi-profile-frame { width: min(100%, 1380px); margin: 0 auto; }

.pi-profile-breadcrumb {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 142px 0 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.pi-profile-breadcrumb a { color: var(--ink); }
.pi-profile-breadcrumb a:hover { color: var(--brand-crimson); }

.pi-profile-header {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(36px, 5vw, 74px);
  align-items: start;
  padding: 56px 0 68px;
  border-bottom: 3px solid var(--ink);
}
.pi-profile-portrait { width: 172px; height: 172px; margin: 0; }
.pi-profile-portrait img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 50%; filter: grayscale(.35) saturate(.72); }
.pi-profile-intro h1 { margin: -7px 0 4px; font-family: "DM Serif Display", serif; font-size: clamp(50px, 4.5vw, 68px); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.pi-profile-role { margin: 0; color: var(--brand-crimson); font-family: "IBM Plex Mono", monospace; font-size: clamp(11px, .9vw, 13px); font-weight: 500; letter-spacing: .035em; text-transform: uppercase; }
.pi-profile-statement { max-width: 760px; margin: 34px 0 0; font-family: "DM Serif Display", serif; font-size: clamp(25px, 2.45vw, 36px); line-height: 1.18; }
.pi-profile-links { display: flex; flex-wrap: wrap; gap: 8px 0; margin-top: 34px; font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 500; letter-spacing: .055em; text-transform: uppercase; }
.pi-profile-links a { display: inline-flex; align-items: center; }
.pi-profile-links a + a::before { margin: 0 11px; color: var(--muted); content: "·"; }
.pi-profile-links a:hover { color: var(--brand-crimson); }

.pi-profile-section {
  display: grid;
  grid-template-columns: minmax(210px, .35fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 92px);
  padding: 64px 0 72px;
  border-bottom: 1px solid var(--line);
}
.pi-profile-section-heading { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-content: start; }
.pi-profile-section-heading span { padding-top: 2px; color: var(--brand-crimson); font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 500; }
.pi-profile-section-heading h2 { margin: 0; font-size: clamp(17px, 1.35vw, 21px); font-weight: 600; letter-spacing: -.015em; line-height: 1.25; text-transform: uppercase; }
.pi-profile-prose,.pi-profile-direction-list,.pi-profile-contributions,.pi-profile-timeline,.pi-profile-leadership,.pi-profile-connect-links { max-width: 920px; }
.pi-profile-prose p { margin: 0; color: var(--muted); font-size: var(--type-body); line-height: 1.82; }
.pi-profile-prose p + p { margin-top: 18px; }
.pi-profile-prose .pi-profile-question { margin-bottom: 25px; color: var(--ink); font-family: "DM Serif Display", serif; font-size: clamp(27px, 2.65vw, 39px); letter-spacing: -.025em; line-height: 1.16; }

.pi-profile-direction-list { border-top: 2px solid var(--ink); }
.pi-profile-direction-list a { display: grid; grid-template-columns: 120px minmax(0, 1fr) 24px; gap: 20px; align-items: center; padding: 21px 0; border-bottom: 1px solid var(--line); }
.pi-profile-direction-list a > span { color: var(--brand-crimson); font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.pi-profile-direction-list strong { font-family: "DM Serif Display", serif; font-size: clamp(22px, 2vw, 29px); font-weight: 400; line-height: 1.15; }
.pi-profile-direction-list b { justify-self: end; font-size: 19px; font-weight: 400; transition: transform .2s ease; }
.pi-profile-direction-list a:hover { color: var(--brand-crimson); }
.pi-profile-direction-list a:hover b { transform: translateX(4px); }

.pi-profile-contributions { margin: 0; padding: 0; border-top: 2px solid var(--ink); list-style: none; }
.pi-profile-contributions li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 18px; padding: 25px 0 27px; border-bottom: 1px solid var(--line); }
.pi-profile-contributions li > span { padding-top: 4px; color: var(--brand-crimson); font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 500; }
.pi-profile-contributions a { font-family: "DM Serif Display", serif; font-size: clamp(20px, 1.85vw, 27px); line-height: 1.22; }
.pi-profile-contributions a:hover { color: var(--brand-crimson); }
.pi-profile-contributions a b { font-family: "Manrope", sans-serif; font-size: 13px; font-weight: 500; }
.pi-profile-contributions small { display: block; margin-top: 7px; color: var(--brand-crimson); font-family: "IBM Plex Mono", monospace; font-size: 11px; font-weight: 500; letter-spacing: .045em; text-transform: uppercase; }
.pi-profile-contributions p { max-width: 760px; margin: 15px 0 0; color: var(--muted); font-size: 14px; line-height: 1.72; }
.pi-profile-contributions p strong { color: var(--ink); font-family: "IBM Plex Mono", monospace; font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }

.pi-profile-timeline { margin: 0; padding: 0; border-top: 2px solid var(--ink); list-style: none; }
.pi-profile-timeline li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 22px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.pi-profile-timeline li > span { color: var(--brand-crimson); font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.pi-profile-timeline strong { display: block; font-family: "DM Serif Display", serif; font-size: clamp(18px, 1.55vw, 23px); font-weight: 400; line-height: 1.15; }
.pi-profile-timeline p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.pi-profile-lead { max-width: 830px; margin: 0 0 35px; font-family: "DM Serif Display", serif; font-size: clamp(27px, 2.65vw, 39px); letter-spacing: -.025em; line-height: 1.16; }
.pi-profile-leadership-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-left: 1px solid var(--line); }
.pi-profile-leadership-grid > div { min-height: 165px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pi-profile-leadership-grid span { color: var(--brand-crimson); font-family: "IBM Plex Mono", monospace; font-size: 11px; font-weight: 500; letter-spacing: .055em; text-transform: uppercase; }
.pi-profile-leadership-grid p { margin: 20px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.pi-profile-programs-link { display: inline-flex; gap: 44px; align-items: center; margin-top: 28px; padding-bottom: 4px; border-bottom: 1px solid var(--ink); font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; }
.pi-profile-programs-link:hover { color: var(--brand-crimson); border-color: var(--brand-crimson); }

.pi-profile-connect { border-bottom: 3px solid var(--ink); }
.pi-profile-connect-links { border-top: 2px solid var(--ink); }
.pi-profile-connect-links a { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 500; letter-spacing: .055em; text-transform: uppercase; }
.pi-profile-connect-links a:hover { color: var(--brand-crimson); }
.pi-profile-connect-links b { font-size: 17px; font-weight: 400; }

@media (max-width: 1180px) {
  .p-c-layout { display: block; padding-inline: 5vw; }
  .p-c-sidebar { position: sticky; z-index: 15; top: 89px; display: flex; align-items: center; padding: 18px 0; overflow: hidden; border-right: 0; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bone) 94%, transparent); backdrop-filter: blur(14px); }
  .p-c-sidebar img,.p-c-sidebar > p { display: none; }
  .p-c-sidebar nav { overflow-x: auto; flex-direction: row; gap: 26px; scrollbar-width: none; }
  .p-c-sidebar nav::-webkit-scrollbar { display: none; }
  .p-c-sidebar nav a,.p-c-sidebar nav a:last-child { flex: 0 0 auto; padding: 4px 0; border: 0; white-space: nowrap; }
  .p-c-directory { padding-left: 0; }
}

@media (max-width: 880px) {
  .p-c-hero { display: block; min-height: auto; padding: 150px 5vw 75px; }
  .p-c-hero h1 { font-size: var(--type-display); }
  .p-c-row { grid-template-columns: 58px minmax(155px, 1fr) minmax(180px, 1fr) 44px; gap: 16px; }
  .p-c-principal-row { grid-template-columns: 58px minmax(155px, 1fr) auto; }
  .p-c-row-focus { display: none; }
  .p-c-row-detail { grid-column: 2 / -1; }
  .p-c-row--degrees { grid-template-columns: 58px minmax(0, 1fr) 44px; grid-template-rows: minmax(98px, auto) auto auto; }
  .p-c-row--degrees > img { grid-column: 1; grid-row: 1; }
  .p-c-row--degrees .p-c-row-name { grid-column: 2; grid-row: 1; }
  .p-c-row--degrees .p-c-degree-strip { grid-column: 1 / -1; grid-row: 2; margin-bottom: 16px; }
  .p-c-row--degrees .p-c-row-toggle { grid-column: 3; grid-row: 1; }
  .p-c-row--degrees .p-c-row-detail { grid-column: 1 / -1; grid-row: 3; }
  .p-c-row-detail { grid-template-columns: 1fr 1.3fr; }
  .p-c-row-detail a { grid-column: 1 / -1; justify-self: start; }
  .p-c-undergraduate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-c-undergraduate-alumni-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-c-undergraduate-alumni-list p:nth-child(3n) { border-right: 1px solid var(--line); }
  .p-c-undergraduate-alumni-list p:nth-child(even) { border-right: 0; }
  .p-c-row--undergraduate { grid-template-columns: 54px minmax(0, 1fr); gap: 10px 14px; }
  .p-c-join { grid-template-columns: 1fr auto; }
  .p-c-join span { grid-column: 1 / -1; }
  .p-c-group-photo { grid-template-columns: 1fr; }
  .p-c-directory > .p-c-group-photo { grid-template-columns: 1fr; }
  .p-c-group-photo > .bmdl-group-photo { aspect-ratio: 16 / 10; }
  .p-c-lab-life-picture { aspect-ratio: 16 / 10; }
  .pi-profile-header { grid-template-columns: 145px minmax(0, 1fr); gap: 34px; }
  .pi-profile-portrait { width: 130px; height: 130px; }
  .pi-profile-section { grid-template-columns: minmax(165px, .32fr) minmax(0, 1fr); gap: 34px; }
  .pi-profile-leadership-grid { grid-template-columns: 1fr; }
  .pi-profile-leadership-grid > div { min-height: 0; }
}

@media (max-width: 620px) {
  .p-c-hero { padding: 130px 24px 70px; }
  .p-c-hero h1 { font-size: var(--type-display); }
  .p-c-layout { padding: 0 24px 100px; }
  .p-c-sidebar { top: 73px; }
  .p-c-sidebar nav { gap: 20px; }
  .p-c-directory { padding-top: 45px; }
  .p-c-group + .p-c-group { margin-top: 68px; }
  .academic-section-heading,.academic-group-heading { grid-template-columns: 38px minmax(0,1fr); gap: 0; }
  .academic-section-heading { margin-bottom: 30px; }
  .academic-group-heading { margin-bottom: 18px; }
  .p-c-alumni-header .p-c-update-open { grid-column: 2; justify-self: start; margin-top: 14px; }
  .p-c-group > header p { display: none; }
  .p-c-row { --profile-row-height: 98px; grid-template-columns: 52px minmax(0, 1fr) 44px; gap: 14px; }
  .p-c-principal-row {
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 4px 14px;
    min-height: 110px;
    padding: 18px 0;
  }
  .p-c-principal-row img { grid-column: 1; grid-row: 1 / span 2; }
  .p-c-principal-row .p-c-row-name { grid-column: 2; grid-row: 1; align-self: end; }
  .p-c-principal-row .p-c-row-role { display: none; }
  .p-c-principal-link { grid-column: 2; grid-row: 2; justify-content: flex-start; align-self: start; }
  .p-c-row img { width: 52px; height: 52px; }
  .p-c-row-role,.p-c-row-focus { display: none; }
  .p-c-row-detail { grid-column: 1 / -1; grid-row: 2; margin-top: 0; }
  .p-c-row-detail a { display: block; margin: 10px 0 0; overflow-wrap: anywhere; }
  .p-c-row--degrees { grid-template-columns: 52px minmax(0, 1fr) 44px; grid-template-rows: minmax(86px, auto) auto auto; }
  .p-c-row--degrees .p-c-degree-strip { grid-template-columns: 1fr; grid-column: 1 / -1; grid-row: 2; margin-bottom: 14px; }
  .p-c-row--degrees .p-c-row-detail { grid-column: 1 / -1; grid-row: 3; }
  .p-c-row-detail { grid-template-columns: 1fr; }
  .p-c-row-detail a { grid-column: auto; }
  .p-c-undergraduate-grid { grid-template-columns: 1fr; }
  .p-c-row--undergraduate { grid-template-columns: 52px minmax(0, 1fr); min-height: 0; }
  .p-c-graduate-alumni { grid-template-columns: 1fr; }
  .p-c-alumni-card:nth-child(odd) { border-right: 0; }
  .p-c-alumni-list { grid-template-columns: 1fr; }
  .p-c-alumni-list p:nth-child(odd) { border-right: 0; }
  .p-c-undergraduate-alumni-list p,
  .p-c-undergraduate-alumni-list p:nth-child(3n) { border-right: 0; }
  .p-c-update-dialog { width: 100%; }
  .p-c-update-header { padding: max(28px, var(--safe-top)) max(24px, var(--safe-right)) 26px max(24px, var(--safe-left)); }
  .p-c-update-header h2 { font-size: 43px; }
  .p-c-update-form { padding: 24px; }
  .p-c-update-private-note { grid-template-columns: 1fr; gap: 4px; }
  .p-c-update-fields { grid-template-columns: 1fr; }
  .p-c-update-fields label.is-full { grid-column: auto; }
  .p-c-update-actions { align-items: stretch; flex-direction: column-reverse; }
  .p-c-update-actions button { width: 100%; }
  .p-c-join { display: block; padding: 80px 24px 105px; }
  .p-c-join h2 { margin: 35px 0; font-size: 54px; }
  .p-c-group-photo { gap: 30px; padding: 0 24px 100px; }
  .p-c-directory > .p-c-group-photo { margin: 68px 0; padding: 0; }
  .p-c-lab-life { margin-bottom: 82px; padding-top: 27px; }
  .p-c-lab-life-heading { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0; margin-bottom: 22px; }
  .p-c-lab-life-heading h2 { font-size: 30px; }
  .p-c-lab-life-heading p { font-size: 14px; }
  .p-c-lab-life-picture { aspect-ratio: 4 / 3; }
  .p-c-lab-life-meta { grid-template-columns: 1fr; gap: 11px; min-height: 0; padding: 15px; }
  .p-c-lab-life-meta > span:first-child { min-height: 36px; font-size: 11px; }
  .p-c-lab-life-controls { justify-content: space-between; }
  .p-c-lab-life-controls output { order: 2; }
  .p-c-lab-life-controls [data-lab-life-previous] { order: 1; }
  .p-c-lab-life-controls [data-lab-life-next] { order: 3; }
  .bmdl-group-photo figcaption { grid-template-columns: 1fr; gap: 3px; padding: 42px 14px 13px; }
  .bmdl-group-photo figcaption small { text-align: left; }
  .pi-profile-page { padding: 0 24px 82px; }
  .pi-profile-breadcrumb { padding-top: 112px; }
  .pi-profile-header { display: block; padding: 36px 0 48px; }
  .pi-profile-portrait { width: 94px; height: 94px; margin-bottom: 25px; }
  .pi-profile-intro h1 { margin-top: 0; font-size: 43px; }
  .pi-profile-role { margin-top: 7px; font-size: 12px; line-height: 1.55; }
  .pi-profile-statement { margin-top: 28px; font-size: 26px; }
  .pi-profile-links { margin-top: 28px; line-height: 1.8; }
  .pi-profile-section { display: block; padding: 48px 0 54px; }
  .pi-profile-section-heading { margin-bottom: 32px; }
  .pi-profile-prose .pi-profile-question,.pi-profile-lead { font-size: 28px; }
  .pi-profile-direction-list a { grid-template-columns: 78px minmax(0, 1fr) 18px; gap: 12px; padding: 18px 0; }
  .pi-profile-direction-list strong { font-size: 22px; }
  .pi-profile-contributions li { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
  .pi-profile-contributions a { font-size: 21px; }
  .pi-profile-timeline li { grid-template-columns: 90px minmax(0, 1fr); gap: 16px; }
  .pi-profile-timeline strong { font-size: 20px; }
  .pi-profile-leadership-grid { display: block; }
  .pi-profile-leadership-grid > div { min-height: 0; }
  .pi-profile-programs-link { gap: 20px; line-height: 1.5; }
}

@media (prefers-reduced-motion: reduce) {
  .p-c-row-toggle,.p-c-update-open,.p-c-principal-link span,.pi-profile-direction-list b { transition: none; }
  .p-c-update-dialog[open] { animation: none; }
}
