/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url(assets/fonts/dm-sans-latin-ext-italic.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url(assets/fonts/dm-sans-latin-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url(assets/fonts/dm-sans-latin-ext-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url(assets/fonts/dm-sans-latin-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/Manrope-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/Manrope-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/Manrope-SemiBold.ttf") format("truetype");
}
:root {
  --paper: #e8e5e3;
  --white: #ffffff;
  --ink: #000000;
  --muted: var(--ink);
  --accent: var(--ink);
  --heading: #555bab;
  --question-highlight: #e2c04a;
  --line: rgba(0, 0, 0, .2);
  --wash: var(--paper);
  --font: "DM Sans", "Manrope", "Helvetica Neue", Arial, sans-serif;
  --width: 1080px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .23em; }
a:hover { color: var(--accent); }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, video:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
button { font: inherit; }
::selection { background: var(--ink); color: var(--paper); }
.wrap { width: min(var(--width), calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 24px; padding: 10px 16px; background: var(--white); z-index: 20; }
.skip-link:focus { top: 12px; }
.site-header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.wordmark { display: inline-flex; align-items: center; flex-shrink: 0; gap: 16px; font-size: 38px; font-weight: 600; line-height: 1.1; text-decoration: none; letter-spacing: -1.2px; white-space: nowrap; }
.wordmark-logo { display: block; width: 72px; height: auto; flex: none; }
.wordmark-text { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.wordmark-name { display: block; }
.wordmark-affiliation { display: block; margin: 0; padding-left: 1.3502px; font-size: 17.66px; font-weight: 500; line-height: 1.3; letter-spacing: 0; color: var(--ink); }
nav { display: flex; flex-wrap: wrap; column-gap: 28px; row-gap: 8px; align-items: center; justify-content: flex-end; }
nav a { font-size: 22px; font-weight: 400; text-decoration: none; padding-block: 10px; border-bottom: 1px solid transparent; }
nav a:hover, nav a[aria-current="page"] { border-bottom-color: currentColor; }
.menu-toggle { display: none; }
.hero { --circuit-column-width: clamp(240px, 26vw, 300px); display: grid; grid-template-columns: minmax(0, 1fr) var(--circuit-column-width); align-items: center; column-gap: 48px; padding-block: 66px 64px; }
.hero-copy { min-width: 0; }
.hero-visual { margin: 0; min-width: 0; }
.hero-visual .attention-circuit { display: block; width: 100%; height: auto; aspect-ratio: 600 / 760; }
.hero-visual #pyramidal-neuron.is-highlighted { stroke: var(--question-highlight); }
.hero-visual #pyramidal-neuron.is-highlighted #pyramidal-soma { fill: var(--question-highlight); }
@media screen and (min-width: 851px) {
  /* Align the visible artwork, accounting for the SVG's transparent margins.
     Its old bottom is halfway down the row plus 0.54 times its original width.
     DM Sans's capital top sits about 0.195em below this heading's line-box top. */
  .hero-visual { --circuit-title-top: calc(clamp(42px, 4.9vw, 60px) * .195); position: relative; align-self: stretch; min-height: calc(var(--circuit-column-width) * 760 / 600); }
  .hero-visual .attention-circuit { position: absolute; left: 50%; top: var(--circuit-title-top); width: auto; max-width: none; height: calc((50% + var(--circuit-column-width) * .54 - var(--circuit-title-top)) * 760 / 643); transform: translate(-50%, -8.0263157895%); }
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 500; }
h1 { color: var(--heading); font-size: clamp(42px, 4.9vw, 60px); line-height: 1.14; letter-spacing: -.045em; margin-bottom: 26px; }
.hero-intro { font-size: clamp(21px, 2.3vw, 26px); line-height: 1.55; max-width: 790px; letter-spacing: -.3px; margin-bottom: 22px; }
.accent { color: var(--accent); }
.text-link { display: inline; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; font-size: 16px; line-height: 1.7; }
.text-link span { display: inline-block; margin-left: 5px; }
.hero-link { font-size: 18px; }
.section { padding-block: 56px; border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 24px; }
.page-title { color: var(--heading); font-size: clamp(34px, 3.65vw, 46px); line-height: 1.2; letter-spacing: -.03em; margin-bottom: 28px; }
.contact-section .page-title { max-width: 820px; margin-inline: auto; }
h2 { font-size: clamp(34px, 3.65vw, 46px); line-height: 1.2; letter-spacing: -.03em; color: var(--accent); margin-bottom: 0; }
.section-intro { max-width: 790px; font-size: 20px; line-height: 1.65; margin-bottom: 48px; }
.research-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.research-topic h3 { color: var(--accent); font-size: 23px; line-height: 1.3; letter-spacing: -.4px; margin: 0; text-align: left; text-wrap: balance; }
.question-line-break { display: none; }
@media (min-width: 851px) {
  .research-topic:nth-child(2) h3 { text-align: center; }
  .research-topic:last-child h3 { inline-size: max-content; max-inline-size: 100%; margin-inline-start: auto; text-align: left; }
  .question-line-break { display: initial; }
}
.question-text { box-decoration-break: clone; -webkit-box-decoration-break: clone; background-color: transparent; box-shadow: .1em 0 transparent, -.1em 0 transparent; transition: background-color .16s ease, box-shadow .16s ease; }
@media (hover: hover) {
  .research-topic:hover .question-text { background-color: var(--question-highlight); box-shadow: .1em 0 var(--question-highlight), -.1em 0 var(--question-highlight); }
}
@media (prefers-reduced-motion: reduce) { .question-text { transition: none; } }
.current-research { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line); }
.research-summary { width: 100%; }
.research-summary p { font-size: 17px; line-height: 1.7; margin: 0 0 18px; }
.research-summary p:last-child { margin-bottom: 0; }
.research-summary a { color: var(--heading); text-decoration-color: var(--line); }
.research-summary a:hover, .research-summary a:focus-visible { text-decoration-color: currentColor; }
.methods { width: 100%; margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line); }
.methods-copy { width: 100%; }
.methods-copy h2 { color: var(--heading); font-size: 38px; line-height: 1.2; letter-spacing: -.03em; margin-bottom: 24px; }
.methods-copy p { font-size: 17px; }
.methods-copy p:last-child { margin-bottom: 0; }
.methods-figure { margin: 28px 0 0; background: transparent; }
.methods-figure img { display: block; width: 100%; height: auto; }
.methods-figure figcaption { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--heading); text-align: right; }
.methods-figure figcaption a { color: inherit; text-decoration-color: var(--line); }
.methods-figure figcaption a:hover, .methods-figure figcaption a:focus-visible { text-decoration-color: currentColor; }
figcaption { color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 14px; }
.people-section { background: var(--paper); }
.people-section > .wrap { max-width: 800px; }
.team-intro { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
.pi-profile { display: grid; grid-template-columns: minmax(0, max-content) max-content; align-items: baseline; gap: 48px; width: 100%; min-width: 0; }
.pi-details { min-width: 0; }
.pi-profile .role { margin-bottom: 0; line-height: 1.5; }
.team-photo,
.news-gallery figure,
.news-side-photo,
.methods-motion {
  margin: 0 auto;
  min-width: 0;
  width: min(100%, 680px);
  padding: 6px;
  background: #faf9f7;
  border: 1px solid rgba(0, 0, 0, .10);
  box-shadow: 0 2px 7px rgba(0, 0, 0, .07);
}
.team-photo img { display: block; width: 100%; height: auto; }
.pi-profile h3 { font-size: 29px; letter-spacing: -.6px; color: var(--accent); line-height: 1.3; margin-bottom: 8px; }
.role { font-size: 17px; line-height: 1.6; margin-bottom: 18px; }
.profile-links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.profile-links .text-link { border-bottom: 0; padding-bottom: 0; text-decoration: none; line-height: 1.5; }
.profile-links .profile-link-label { display: inline; margin: 0; text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1px; text-underline-offset: .23em; }
.profile-links a:hover .profile-link-label, .profile-links a:focus-visible .profile-link-label { text-decoration-color: currentColor; }
.profile-links .bluesky-link { display: inline-flex; align-items: center; gap: 6px; }
.bluesky-icon { display: block; width: 18px; height: 18px; flex: none; }
.cv-placeholder { color: var(--accent); border-bottom-color: transparent; cursor: default; }
.team-roster { display: grid; gap: 28px; }
.team-group { min-width: 0; }
.team-group h3 { font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; color: var(--accent); margin: 0 0 12px; }
.people-list { display: grid; grid-template-columns: 1fr; gap: 8px; list-style: none; margin: 0; padding: 0; }
.people-list li { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 18px; min-width: 0; }
.person-name { display: block; font-size: 18px; font-weight: 500; line-height: 1.5; }
.comma-list { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.65; }
.comma-list .person-name { display: inline; white-space: nowrap; }
.person-detail { display: block; font-size: 18px; line-height: 1.5; color: var(--muted); margin: 0; }
.graduate-list { grid-template-columns: max-content minmax(0, 1fr); column-gap: 18px; }
.graduate-list li { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; }
.feed-section { border-top: 0; }
.publication-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.publication-heading > a { flex-shrink: 0; }
.publications-list { list-style: none; margin: 0; padding: 0; }
.publications-list > li { display: grid; grid-template-columns: 90px 1fr; gap: 22px; padding-block: 22px; border-top: 1px solid var(--line); }
.publications-list > li:first-child { border-top: 0; }
.publications-list > li[hidden] { display: none; }
.pub-year { color: var(--accent); font-size: 16px; padding-top: 4px; }
.publications-list h3 { font-size: 22px; line-height: 1.45; letter-spacing: -.25px; margin-bottom: 11px; }
.publications-list h3 a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); }
.publications-list h3 a:hover, .publications-list h3 a:focus-visible { color: var(--accent); text-decoration-color: currentColor; }
.authors { font-size: 15px; color: var(--muted); margin-bottom: 8px; line-height: 1.7; }
.journal { font-size: 15px; margin-bottom: 0; color: var(--accent); }
.pub-coverage { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--heading); }
.pub-coverage a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); }
.pub-coverage a:hover, .pub-coverage a:focus-visible { text-decoration-color: currentColor; }
.feed-toggle { display: block; width: fit-content; background: none; border: 0; border-bottom: 1px solid currentColor; color: var(--accent); padding: 8px 0; margin: 16px 0 0; font-size: 16px; cursor: pointer; }
.feed-toggle[hidden] { display: none; }
.news-section { max-width: 820px; }
.news-feed { max-width: 820px; }
.news-entry { padding-block: 4px; }
.news-entry[hidden] { display: none; }
.news-entry + .news-entry { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.news-date { display: block; font-size: 15px; font-weight: 500; color: var(--heading); margin-bottom: 10px; }
.news-entry h3 { font-size: clamp(21px, 2.3vw, 27px); line-height: 1.45; letter-spacing: -.02em; margin: 0; }
.news-toggle { color: var(--heading); }
.news-gallery { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 20px; margin-top: 24px; }
.news-gallery figure { width: fit-content; max-width: min(100%, 534px); margin: 0; }
.news-gallery img { display: block; width: auto; max-width: 100%; height: auto; }
/* Trim the top 110px of this 1200 × 937 photo without stretching it. */
.news-gallery .news-photo--mahi { width: 520px; aspect-ratio: 1200 / 827; height: auto; object-fit: cover; object-position: center bottom; }
.news-gallery figcaption { margin-top: 8px; font-size: 14px; line-height: 1.5; }
.news-gallery--pair { flex-wrap: nowrap; }
/* The 14px basis accounts for the frame; remaining width follows each image's ratio. */
.news-gallery--pair figure { flex: var(--photo-ratio, 1) 1 14px; }
.news-gallery--pair img { width: 100%; }
.news-item-with-photo { display: grid; grid-template-columns: minmax(0, 1fr) 180px; align-items: stretch; gap: 28px; }
.news-photo-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-width: 0; }
.news-photo-copy--welcome { justify-content: flex-start; gap: 12px; }
.news-photo-copy--welcome + .news-side-photo { transform: translateY(-8px); }
.news-side-photo { width: 100%; margin: 0; align-self: start; }
.news-side-photo img { display: block; width: 100%; height: auto; }
@media (max-width: 600px) {
  .news-item-with-photo { grid-template-columns: minmax(0, 1fr) 120px; gap: 18px; }
  .news-gallery--pair { flex-direction: column; align-items: center; }
  .news-gallery--pair figure { flex: 0 1 auto; width: min(100%, 534px); }
}
.contact-section { background: var(--wash); }
.contact-section .section-heading { text-align: left; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 820px; margin-inline: auto; column-gap: 40px; row-gap: 28px; }
.contact-copy { grid-column: 2; min-width: 0; text-align: left; }
.recruitment-contact { grid-column: 1; min-width: 0; display: grid; gap: 28px; align-content: start; }
.undergraduate-contact { grid-column: 1; min-width: 0; }
.recruitment-contact h3 { font-size: 24px; line-height: 1.3; letter-spacing: -.4px; margin: 0 0 12px; }
.recruitment-contact p { font-size: 17px; margin-bottom: 18px; }
.graduate-contact p:last-child { margin-bottom: 0; }
.graduate-contact a { text-decoration-color: var(--line); }
.graduate-contact a:hover, .graduate-contact a:focus-visible { text-decoration-color: currentColor; }
.undergraduate-contact .ra-openings { margin: 0 0 14px; font-size: 16px; line-height: 1.55; }
.ra-openings strong { color: var(--heading); font-weight: 700; letter-spacing: .035em; }
.application-link { font-size: 17px; }
.application-section:not(:target) { display: none; }
.application-layout { max-width: 820px; margin-inline: auto; }
.application-back { display: inline-block; margin-bottom: 24px; }
.application-intro { font-size: 17px; max-width: 680px; margin-bottom: 28px; }
.application-waitlist { font-size: 17px; max-width: 680px; margin-bottom: 16px; }
.application-fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 24px; row-gap: 24px; }
.form-field { min-width: 0; grid-column: span 3; }
.form-field-third { grid-column: span 2; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { display: block; font-size: 17px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea { display: block; width: 100%; min-height: 48px; padding: 11px 13px; font: inherit; font-size: 16px; line-height: 1.5; color: var(--ink); background: rgba(255,255,255,.45); border: 1px solid rgba(0,0,0,.4); border-radius: 3px; }
.form-field textarea { resize: vertical; }
.form-field input:focus-visible, .form-field select:focus-visible, .form-field textarea:focus-visible { outline: 2px solid var(--heading); outline-offset: 3px; }
.form-field input[type="file"] { padding: 8px; }
.form-field input[type="file"]::file-selector-button { font: inherit; margin-right: 12px; padding: 6px 10px; color: var(--ink); background: transparent; border: 1px solid var(--ink); border-radius: 2px; cursor: pointer; }
.field-help { font-size: 14px; line-height: 1.5; margin: -1px 0 10px; }
.field-error { font-size: 14px; line-height: 1.5; margin: 8px 0 0; font-weight: 600; }
.application-privacy { margin: 24px 0 18px; font-size: 14px; line-height: 1.6; }
.application-status { padding: 12px 14px; margin: 0 0 18px; border-left: 3px solid var(--heading); background: rgba(255,255,255,.35); font-size: 15px; line-height: 1.5; }
.application-submit { padding: 12px 20px; border: 1px solid var(--ink); border-radius: 3px; font: inherit; font-size: 17px; font-weight: 500; color: var(--ink); background: transparent; cursor: pointer; }
.application-submit:hover { background: rgba(255,255,255,.45); }
.application-submit:disabled { opacity: .55; cursor: not-allowed; }
.email-link { font-size: 17px; letter-spacing: 0; display: inline-block; margin-bottom: 12px; }
.contact-copy > p { font-size: 17px; }
address { font-size: 17px; font-style: normal; line-height: 1.75; margin-block: 20px; }
address a { text-decoration: none; color: inherit; }
.map-location { margin-bottom: 20px; }
.map-location strong { font-weight: 500; }
.contact-links { display: flex; justify-content: flex-start; flex-wrap: wrap; column-gap: 24px; row-gap: 14px; }
.contact-links .text-link { font-size: 15px; }
.map-panel { grid-column: 1 / -1; min-width: 0; }
.lab-map { width: 100%; height: 440px; background: #f7f7f7; isolation: isolate; z-index: 0; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
.lab-map:focus-visible { outline: 2px solid #333; outline-offset: 4px; }
.lab-map a, .lab-map a:hover { color: #333; }
.lab-map .leaflet-control-attribution { font-size: 10px; padding: 2px 5px; background: rgba(255,255,255,.88); }
.lab-map .leaflet-control-attribution a { text-decoration: none; }
.lab-map .leaflet-bar { border: 0; box-shadow: 0 1px 5px #0003; }
.lab-map .leaflet-bar a, .lab-map-reset button { width: 36px; height: 36px; line-height: 36px; color: #222; background: #fff; text-decoration: none; border: 0; }
.lab-map .leaflet-bar a:hover, .lab-map-reset button:hover { background: #eee; }
.lab-map .leaflet-bar a:first-child { border-bottom: 1px solid #ddd; }
.lab-map-reset button { display: grid; place-items: center; cursor: pointer; border-radius: 3px; padding: 0; }
.lab-map-label { background: transparent; border: 0; pointer-events: none; }
.lab-map-label span { display: block; transform: translate(-50%, -50%); text-align: center; font-size: 12px; line-height: 1.18; font-weight: 400; color: #707070; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; }
.lab-map-label.building-label span { color: #5a5a5a; }
.lab-map .lab-map-tooltip { background: transparent; box-shadow: none; border: 0; padding: 0 5px; font-size: 12px; font-weight: 500; color: #222; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; }
.lab-map .lab-map-tooltip::before { display: none; }
.lab-map-pin { background: transparent; border: 0; }
.lab-map-pin svg { display: block; }
.lab-map .leaflet-control-scale-line { border-color: #666; color: #555; background: #ffffffb8; }
@media (max-width: 1080px) {
  .wordmark { font-size: 30px; gap: 12px; }
  .wordmark-logo { width: 56px; }
  .wordmark-affiliation { font-size: 14.31px; padding-left: 1.081px; }
  nav { column-gap: 17px; }
  nav a { font-size: 18px; }
}
@media (max-width: 950px) {
  .wrap { width: calc(100% - 64px); }
  .site-header { align-items: flex-start; padding-block: 24px; min-height: 100px; gap: 20px; }
  .wordmark { font-size: 30px; }
  .wordmark-affiliation { font-size: 14.31px; padding-left: 1.081px; }
  nav { column-gap: 17px; padding-top: 1px; }
  nav a { font-size: 18px; }
  .hero { padding-block: 60px 54px; column-gap: 32px; }
  .research-topics { gap: 26px; }
}
@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { width: min(100%, 280px); justify-self: center; }
  .hero .wide-break { display: none; }
  .research-topics { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { position: relative; min-height: 96px; padding-block: 22px; flex-wrap: wrap; }
  .wordmark { font-size: 27px; }
  .wordmark-affiliation { font-size: 12.94px; padding-left: .98px; }
  .menu-toggle:not([hidden]) { display: flex; gap: 12px; padding: 5px 0 5px 12px; margin-left: auto; color: var(--accent); border: 0; background: none; font-size: 16px; align-items: center; cursor: pointer; }
  .menu-toggle span { font-size: 21px; line-height: 1; }
  nav { width: 100%; justify-content: flex-start; column-gap: 18px; row-gap: 4px; padding-top: 10px; }
  .js nav { display: none; }
  .js nav.is-open { display: flex; }
  nav a { font-size: 15px; }
  .hero { padding-block: 44px 42px; }
  h1 { font-size: clamp(38px, 7.4vw, 50px); line-height: 1.17; margin-bottom: 27px; letter-spacing: -.038em; }
  .wide-break { display: none; }
  .hero-intro { font-size: 21px; max-width: 560px; line-height: 1.6; }
  .section { padding-block: 40px; }
  h2 { font-size: 35px; }
  .section-intro { font-size: 18px; margin-bottom: 35px; }
  .research-topic h3 { font-size: 24px; }
  .current-research { margin-top: 36px; padding-top: 28px; }
  .methods { margin-top: 30px; padding-top: 28px; }
  .methods-copy h2 { font-size: 34px; }
  .contact-grid { grid-template-columns: 1fr; row-gap: 24px; }
  .team-intro { margin-bottom: 24px; }
  .publication-heading { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 24px; }
  .publications-list > li { grid-template-columns: 1fr; gap: 10px; padding-block: 20px; }
  .pub-year { font-size: 14px; }
  .publications-list h3 { font-size: 20px; }
  .contact-copy { grid-column: 1; }
  .lab-map { height: 340px; }
  .application-fields { grid-template-columns: 1fr; row-gap: 20px; }
  .form-field, .form-field-third { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .site-header { column-gap: 12px; }
  .wordmark { font-size: clamp(22px, 5.85vw, 27px); gap: 10px; }
  .wordmark-logo { width: 40px; }
  .wordmark-affiliation { font-size: calc(.502em - .614px); }
  .menu-toggle:not([hidden]) { gap: 8px; padding-left: 0; }
  .pi-profile { grid-template-columns: 1fr; align-items: start; gap: 14px; }
  .graduate-list { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .site-header { column-gap: 10px; }
  .wordmark { gap: 8px; }
  .wordmark-logo { width: 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  body { background: white; color: black; font-size: 11pt; }
  .wrap { width: 100%; }
  .site-header { min-height: 0; padding-bottom: 20px; }
  nav, .menu-toggle, .hero-link, video, .map-panel, .publications-toggle, .news-toggle { display: none !important; }
  .news-entry[hidden] { display: block; }
  .publications-list > li[hidden] { display: grid; }
  .hero, .section { padding-block: 25px; }
  .hero { grid-template-columns: 1fr; gap: 18px; }
  .hero-visual { width: 140px; justify-self: start; }
  h1 { font-size: 34pt; }
  h2 { font-size: 23pt; }
  .methods { padding-top: 20px; margin-top: 25px; }
  .research-topic, .publications-list li, .pi-profile { break-inside: avoid; }
}

/* Undergraduate application, shared with the hosted form. */
.application-honeypot { display: none; }
.application-fields[hidden] { display: none; }
.standalone-application { padding-block: 38px 64px; }
.application-brand { margin: 0 0 34px; font-size: 23px; font-weight: 600; line-height: 1.4; }
.application-brand span { display: block; font-size: 15px; font-weight: 400; margin-top: 3px; }
.application-status:focus { outline: none; }
.application-status a { display: block; width: fit-content; margin-top: 6px; }

/* Keep page names available to assistive technology without a visible title. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.research-questions-title { margin-bottom: 24px; }

/* Two-photon imaging beside the methods text. */
.methods-overview { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.methods-text, .methods-media { min-width: 0; }
.methods-motion { width: 100%; margin: 0; }
.methods-motion video { display: block; width: 100%; height: auto; aspect-ratio: 1; background: #fff; }
@media (max-width: 850px) {
  .methods-overview { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .methods-media { width: min(100%, 340px); justify-self: center; }
}

/* Center the framed animation against the complete text block. */
@media (min-width: 851px) {
  .methods-media { align-self: center; }
}