:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #122a39;
  --muted: #53626a;
  --accent: #a64124;
  --line: #d7dfe2;
  --wash: #f1f5f6;
  --global-theme-color: var(--accent);
  --global-text-color: var(--ink);
  --global-text-color-light: var(--muted);
  --global-bg-color: var(--paper);
  --global-card-bg-color: var(--wash);
  --global-divider-color: var(--line);
}
html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #101d26;
  --ink: #eef3f5;
  --muted: #b1bfc7;
  --accent: #f0a185;
  --line: #344651;
  --wash: #192b37;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 2rem;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    1rem/1.65 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-underline-offset: 0.25em;
}
a:hover {
  color: var(--accent);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
button {
  cursor: pointer;
}
img {
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
  font-weight: 400;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.04em;
}
h3 {
  font-size: 1.5rem;
  letter-spacing: -0.025em;
}
p {
  margin-bottom: 1.2rem;
}
h1 {
  font-size: clamp(3.3rem, 6.3vw, 6rem);
}
h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}
[hidden] {
  display: none !important;
}
.shell {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 99;
  padding: 12px;
  background: var(--paper);
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 108px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.5;
  white-space: nowrap;
}
.wordmark small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.8rem;
}
.monogram {
  font-family: Georgia, serif;
  font-size: 2.9rem;
  font-weight: 400;
  letter-spacing: -0.12em;
  border-right: 1px solid var(--line);
  padding-right: 22px;
}
.monogram span {
  color: var(--accent);
}
.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 0.875rem;
}
.main-nav a {
  text-decoration: none;
  padding: 8px 0;
}
.main-nav a[aria-current] {
  color: var(--accent);
  box-shadow: 0 2px var(--accent);
}
.nav-contact {
  margin-left: 10px;
}
.theme-toggle {
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  width: 38px;
  min-width: 38px;
  height: 38px;
  font-size: 1.3rem;
  line-height: 1;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 23px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
  gap: 90px;
  padding: 76px 0 66px;
}
.hero h1 {
  margin-bottom: 27px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-statement {
  font-size: 1.55rem;
  line-height: 1.45;
  letter-spacing: -0.02em;
  max-width: 610px;
}
.hero-summary {
  color: var(--muted);
  max-width: 610px;
  line-height: 1.8;
}
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding: 14px 21px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 0.9rem;
}
.button:hover {
  background: var(--accent);
  color: var(--paper);
}
.text-link {
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
}
.profile-panel {
  padding-top: 4px;
}
.portrait {
  display: block;
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(0.8);
}
.affiliation {
  background: var(--wash);
  padding: 25px 28px 27px;
  border-top: 3px solid var(--accent);
}
.affiliation .eyebrow {
  display: block;
  margin-bottom: 12px;
}
.affiliation h2 {
  font-size: 1.65rem;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.affiliation p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 14px;
}
.affiliation a {
  font-size: 0.875rem;
}
.impact-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  padding: 29px 0;
  align-items: center;
  gap: 20px;
}
.impact-source .eyebrow {
  margin-bottom: 8px;
}
.impact-source a {
  font-size: 0.9rem;
}
.impact-source small {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 5px;
}
.metric {
  border-left: 1px solid var(--line);
  padding-left: 35px;
}
.metric strong {
  font-family: Georgia, serif;
  font-size: 3.4rem;
  font-weight: 400;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.metric span {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
}
.research-section {
  padding: 48px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 38px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading .eyebrow {
  margin-bottom: 17px;
}
.section-heading > .text-link {
  white-space: nowrap;
  margin-bottom: 5px;
}
.direction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}
.direction {
  border-top: 2px solid var(--ink);
  padding-top: 24px;
}
.index {
  font-size: 0.85rem;
  color: var(--muted);
  display: block;
  margin-bottom: 28px;
}
.direction .eyebrow {
  margin-bottom: 14px;
  line-height: 1.7;
}
.direction p {
  color: var(--muted);
}
.direction h3 {
  font-size: 1.55rem;
  margin-bottom: 18px;
}
.direction .methods {
  padding-top: 20px;
  font-size: 0.875rem;
  border-top: 1px solid var(--line);
  margin-top: 26px;
  color: var(--ink);
}
.highlight {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 35px;
  padding: 29px 0;
  border-top: 1px solid var(--line);
}
.highlight:last-child {
  border-bottom: 1px solid var(--line);
}
.paper-meta {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.875rem;
}
.paper-meta span:first-child {
  color: var(--muted);
}
.paper-meta span:last-child {
  font-weight: 600;
  color: var(--accent);
}
.highlight h3 {
  font-family: Georgia, serif;
  font-size: 1.65rem;
  line-height: 1.35;
  margin-bottom: 12px;
}
.highlight h3 a {
  text-decoration: none;
}
.highlight p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.925rem;
}
.current-section {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 70px;
  padding: 50px;
  background: var(--wash);
  border-top: 3px solid var(--ink);
}
.current-section h2 {
  font-size: 2.8rem;
}
.current-section .large-copy {
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--ink);
}
.current-section p {
  color: var(--muted);
}
.update-row {
  border-top: 1px solid var(--line);
  padding: 25px 0;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 35px;
}
.update-row time {
  font-size: 0.875rem;
  color: var(--accent);
}
.update-row h3 {
  font-size: 1.15rem;
  line-height: 1.5;
  margin-bottom: 8px;
  font-weight: 500;
}
.update-row p {
  color: var(--muted);
  margin-bottom: 0;
}
.contact-section {
  padding: 60px 0 70px;
  border-top: 2px solid var(--ink);
}
.contact-section h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}
.contact-section p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
}
.contact-email {
  font-family: Georgia, serif;
  font-size: clamp(1.25rem, 3vw, 2rem);
  overflow-wrap: anywhere;
}
.contact-section .link-row {
  font-size: 0.875rem;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
}
.footer-name {
  text-decoration: none;
  font-weight: 600;
}
.site-footer p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 8px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  font-size: 0.875rem;
}
.copyright {
  grid-column: 1/-1;
}
.page-heading {
  padding: 65px 0 42px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 42px;
}
.page-heading h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 20px;
}
.page-heading p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.15rem;
}
.page-content {
  padding-bottom: 75px;
}
.prose {
  max-width: 800px;
}
.prose h2 {
  font-size: 2.5rem;
  margin-top: 50px;
}
.prose h3 {
  margin-top: 30px;
}
.prose p,
.prose li {
  color: var(--muted);
}
.research-detail {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 50px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.research-detail h2 {
  font-size: 2.6rem;
}
.research-detail .eyebrow {
  padding-top: 8px;
}
.evidence {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  color: var(--muted);
}
.tool-panel {
  background: var(--wash);
  padding: 35px;
  margin-top: 40px;
}
.tool-panel h2 {
  font-size: 2rem;
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background: var(--wash);
  padding: 25px;
  margin-bottom: 25px;
}
.filter-bar label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.875rem;
  min-width: 150px;
}
.filter-bar label:first-child {
  flex: 1;
}
.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 9px 12px;
  border-radius: 0;
}
.results-status {
  font-size: 0.875rem;
  color: var(--muted);
}
.bibliography {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bibliography > li {
  margin: 0;
}
.publication-entry {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 25px;
}
.publication-entry h3 {
  font-family: Georgia, serif;
  line-height: 1.4;
  font-size: 1.45rem;
  margin: 12px 0;
}
.publication-entry h3 a {
  text-decoration: none;
}
.publication-entry .pub-meta {
  font-size: 0.8rem;
  color: var(--accent);
}
.publication-entry .authors {
  font-size: 0.875rem;
  color: var(--muted);
}
.publication-entry details {
  font-size: 0.875rem;
  margin-top: 16px;
}
.publication-entry pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--wash);
  padding: 20px;
  font-size: 0.8rem;
}
.pub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.875rem;
}
.cv-section {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 50px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}
.cv-section h2 {
  font-size: 2rem;
}
.cv-item {
  margin-bottom: 32px;
}
.cv-item h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.45;
}
.cv-item p {
  margin-bottom: 7px;
  color: var(--muted);
}
.cv-date {
  font-size: 0.8rem;
  color: var(--accent) !important;
}
.skill-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}
.skill-list li {
  font-size: 0.875rem;
  background: var(--wash);
  padding: 7px 11px;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.photo-grid figure {
  margin: 0;
}
.photo-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.photo-grid figcaption {
  padding: 12px 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.empty-results {
  padding: 30px;
  background: var(--wash);
}
@media (min-width: 1440px) {
  .hero {
    gap: 115px;
  }
}
@media (max-width: 1100px) {
  .shell {
    width: calc(100% - 56px);
  }
  .header-inner {
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px 0;
  }
  .main-nav {
    gap: 18px;
  }
  .wordmark {
    font-size: 0.875rem;
  }
  .hero {
    gap: 45px;
  }
  .portrait {
    height: 320px;
  }
  .hero-statement {
    font-size: 1.35rem;
  }
  .highlight {
    grid-template-columns: 190px 1fr;
  }
  .current-section {
    gap: 35px;
    padding: 35px;
  }
  .direction-grid {
    gap: 23px;
  }
}
@media (max-width: 800px) {
  .main-nav {
    order: 3;
    width: 100%;
    margin: 0;
    justify-content: space-between;
    gap: 13px;
    overflow-x: auto;
    font-size: 0.875rem;
  }
  .theme-toggle {
    margin-left: auto;
  }
  .nav-contact {
    margin-left: 0;
  }
  .hero {
    gap: 30px;
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 1fr);
    padding-top: 45px;
  }
  .hero h1 {
    font-size: 3.7rem;
  }
  .hero-statement {
    font-size: 1.2rem;
  }
  .portrait {
    height: 280px;
  }
  .affiliation {
    padding: 20px;
  }
  .affiliation h2 {
    font-size: 1.4rem;
  }
  .direction-grid {
    grid-template-columns: 1fr;
  }
  .index {
    margin-bottom: 15px;
  }
  .direction .methods {
    margin-top: 16px;
  }
  .research-section {
    padding: 45px 0;
  }
  .current-section {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .current-section h2 br {
    display: none;
  }
  .impact-strip {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 12px;
  }
  .metric {
    padding-left: 18px;
  }
  .metric strong {
    font-size: 2.7rem;
  }
  .research-detail,
  .cv-section {
    grid-template-columns: 170px 1fr;
    gap: 25px;
  }
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .shell {
    width: calc(100% - 36px);
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 35px;
    gap: 30px;
  }
  .hero h1 {
    font-size: 3.8rem;
  }
  .hero-statement {
    font-size: 1.35rem;
  }
  .profile-panel {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: stretch;
  }
  .portrait {
    height: 100%;
    min-height: 210px;
    object-position: center;
  }
  .affiliation {
    border-top: 0;
    border-left: 3px solid var(--accent);
    padding: 20px 17px;
  }
  .affiliation h2 {
    font-size: 1.4rem;
  }
  .impact-strip {
    grid-template-columns: repeat(3, 1fr);
    padding: 23px 0;
  }
  .impact-source {
    grid-column: 1/-1;
    margin-bottom: 12px;
  }
  .impact-source small {
    display: inline;
    margin-left: 12px;
  }
  .metric {
    padding-left: 15px;
  }
  .metric:nth-child(2) {
    border-left: 0;
    padding-left: 0;
  }
  .metric strong {
    font-size: 2.6rem;
  }
  .section-heading {
    display: block;
  }
  .section-heading > .text-link {
    display: inline-block;
    margin-top: 22px;
  }
  .highlight {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .paper-meta {
    flex-direction: row;
    gap: 15px;
  }
  .highlight h3 {
    font-size: 1.45rem;
  }
  .current-section {
    padding: 27px 23px;
  }
  .current-section h2 {
    font-size: 2.3rem;
  }
  .update-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .site-footer {
    grid-template-columns: 1fr;
  }
  .footer-links {
    gap: 18px;
  }
  .research-detail,
  .cv-section {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .page-heading {
    padding-top: 38px;
  }
  .photo-grid {
    gap: 16px;
  }
  .photo-grid img {
    height: 180px;
  }
  .main-nav a {
    white-space: nowrap;
  }
  .theme-toggle {
    width: 40px;
    height: 40px;
  }
  .link-row {
    gap: 18px;
  }
  .filter-bar {
    padding: 18px;
  }
  .filter-bar label {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .site-header,
  .theme-toggle,
  .filter-bar,
  .site-footer {
    display: none;
  }
  .shell {
    width: 100%;
  }
  .hero {
    padding: 20px 0;
  }
  body {
    color: #000;
    background: #fff;
  }
  .research-section {
    padding: 25px 0;
  }
  a {
    color: inherit;
  }
  .publication-entry,
  .cv-item {
    break-inside: avoid;
  }
}
.method-note {
  padding: 24px;
  background: var(--wash);
  margin: 25px 0;
}
.method-note summary {
  font-weight: 500;
  cursor: pointer;
}
.method-note p:first-of-type {
  margin-top: 20px;
}
.learning-equation {
  font-family: Georgia, serif;
  font-size: 1.35rem;
  border-block: 1px solid var(--line);
  padding-block: 20px;
}
.travel-story {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  border-top: 1px solid var(--line);
  padding: 35px 0;
}
.travel-story img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  margin-bottom: 20px;
}
.travel-story h3 {
  font-family: Georgia, serif;
  font-size: 2rem;
}
.travel-story p {
  color: var(--muted);
}
@media (max-width: 650px) {
  .travel-story {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.portrait-frame {
  height: 350px;
  overflow: hidden;
  background: var(--wash);
}
.portrait-frame .portrait {
  width: 100%;
  height: 100%;
  object-position: right 85%;
  transform: scale(2.1);
  transform-origin: 100% 70%;
}
@media (max-width: 1100px) {
  .portrait-frame {
    height: 320px;
  }
}
@media (max-width: 800px) {
  .portrait-frame {
    height: 280px;
  }
}
@media (max-width: 580px) {
  .portrait-frame {
    height: 100%;
    min-height: 235px;
  }
}

/* Research identity and responsive profile composition. */
.brand-symbol {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  color: var(--ink);
}
.brand-accent {
  fill: var(--accent);
}
.hero {
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 56px;
  padding: 46px 0 44px;
}
.profile-panel {
  width: 100%;
  max-width: 270px;
  justify-self: end;
  align-self: center;
}
.portrait-frame {
  width: 190px;
  height: 210px;
  min-height: 0;
  margin: 0 0 23px;
}
.portrait-frame .portrait {
  min-height: 0;
  object-position: right 85%;
  transform: scale(2.1);
  transform-origin: 100% 70%;
}
.affiliation {
  background: transparent;
  border-top: 1px solid var(--line);
  border-left: 0;
  padding: 22px 0 0;
}
.affiliation h2 {
  font-size: 1.5rem;
}
@media (max-width: 800px) {
  .hero {
    gap: 35px;
    grid-template-columns: minmax(0, 1.6fr) minmax(200px, 1fr);
  }
}
@media (max-width: 580px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .profile-panel {
    max-width: none;
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 20px;
    justify-self: start;
    border-top: 1px solid var(--line);
    padding-top: 22px;
  }
  .portrait-frame {
    width: 108px;
    height: 124px;
    min-height: 0;
    margin: 0;
  }
  .affiliation {
    border: 0;
    padding: 0;
  }
  .affiliation h2 {
    font-size: 1.4rem;
  }
  .affiliation .eyebrow {
    margin-bottom: 8px;
  }
}

.hero h1 {
  font-size: clamp(3rem, 5.5vw, 5rem);
  margin-bottom: 22px;
}
.hero .eyebrow {
  margin-bottom: 18px;
}
.hero-summary {
  line-height: 1.7;
}
.research-section + .research-section {
  padding-top: 16px;
}
.section-heading {
  margin-bottom: 28px;
}
.section-heading h2 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
}
.menu-toggle {
  display: none;
}
@media (max-width: 800px) {
  .hero h1 {
    font-size: 3.1rem;
  }
  .hero {
    gap: 32px;
  }
  .main-nav {
    overflow: visible;
    flex-wrap: wrap;
  }
}
@media (max-width: 580px) {
  .header-inner {
    gap: 12px;
    min-height: 82px;
    padding: 16px 0;
  }
  .wordmark {
    gap: 8px;
    font-size: 0.8rem;
  }
  .wordmark small {
    font-size: 0.7rem;
  }
  .brand-symbol {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }
  .theme-toggle {
    width: 32px;
    min-width: 32px;
    height: 32px;
    margin-left: 0;
    font-size: 1.1rem;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 7px 9px;
    font: inherit;
    font-size: 0.75rem;
  }
  .main-nav[data-open="false"] {
    display: none;
  }
  .main-nav {
    justify-content: flex-start;
    gap: 8px 22px;
    padding-top: 8px;
  }
  .hero {
    padding: 30px 0 32px;
    gap: 24px;
  }
  .hero h1 {
    font-size: clamp(2.35rem, 10.4vw, 3rem);
    margin-bottom: 20px;
  }
  .hero-statement {
    font-size: 1.2rem;
  }
  .hero .link-row {
    margin-top: 22px;
    gap: 16px;
  }
  .profile-panel {
    grid-template-columns: 116px 1fr;
    gap: 18px;
    align-items: center;
  }
  .portrait-frame {
    width: 116px;
    height: 140px;
  }
  .affiliation h2 {
    font-size: 1.25rem;
  }
  .affiliation p {
    font-size: 0.8rem;
  }
  .research-section {
    padding: 34px 0;
  }
  .research-section + .research-section {
    padding-top: 12px;
  }
}

/* Comfortable phone navigation and form controls. */
@media (max-width: 580px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px 44px;
    gap: 8px;
  }
  .wordmark {
    min-width: 0;
    white-space: normal;
  }
  .wordmark > span {
    min-width: 0;
  }
  .menu-toggle {
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
  }
  .theme-toggle {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }
  .main-nav {
    grid-column: 1 / -1;
  }
  .main-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .filter-bar input,
  .filter-bar select {
    font-size: 16px;
    min-height: 44px;
  }
  .pub-actions a,
  .pub-actions button,
  details summary {
    min-height: 44px;
    align-content: center;
  }
}
