:root {
  --bg: #ffffff;
  --bg-2: #f6f3ee;
  --bg-gradient-start: #ffffff;
  --bg-gradient-end: #f6f3ee;
  --ink: #151d19;
  --muted: #2f3a35;
  --accent: #b4531a;
  --accent-2: #1f5b4c;
  --accent-3: #caa46a;
  --card: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.95);
  --line: rgba(29, 41, 36, 0.14);
  --shadow: 0 12px 24px rgba(22, 32, 28, 0.12);
  --radius: 18px;
  --btn-bg: #1f5b4c;
  --btn-ink: #ffffff;
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  color: var(--ink);
  background-color: var(--bg);
  background-image: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
  line-height: 1.6;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  transition: background-color 0.25s ease, color 0.25s ease, background-image 0.25s ease;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 12;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-logo {
  width: 66px;
  height: 66px;
}

.brand-text {
  display: grid;
  gap: 0.2rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}

.brand-role {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-left: auto;
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.15rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.nav-links a.is-active {
  color: var(--accent);
}

.nav-links a.is-active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  transform: translateY(-1px);
}

.section {
  padding: 2rem 0;
  scroll-margin-top: 90px;
}

#research.section {
  padding-top: 1.2rem;
}

.eyebrow {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-2);
  margin-bottom: 0.85rem;
}

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.45rem;
  line-height: 1.2;
}

.hero {
  padding-top: 4.5rem;
}

#profile.section {
  padding-bottom: 0.8rem;
}

.hero-lab-banner {
  margin-bottom: 0.9rem;
  margin-top: 0.9rem;
  padding: 0.1rem 0;
  text-align: center;
  color: var(--ink);
}

.hero-lab-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.hero-lab-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
}

.hero-positions-text {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
}

.hero-positions-text strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-lab-text a {
  display: inline-block;
  margin-left: 0.7rem;
  padding-left: 0.9rem;
  color: var(--accent);
  font-weight: 700;
  position: relative;
}

.hero-lab-text a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.45rem;
  height: 1px;
  background: currentColor;
}

.hero-lab-text a::after {
  content: "\2197";
  margin-left: 0.28rem;
  font-size: 0.92em;
}

.hero-lab-text a:hover,
.hero-lab-text a:focus-visible {
  color: var(--accent-2);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 1.8rem;
  align-items: center;
}

.hero-panel {
  background: var(--card);
  border-radius: 26px;
  padding: 1.6rem 1.7rem 1.1rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.page-hero {
  padding-bottom: 1.2rem;
}

.page-hero-panel {
  display: grid;
  gap: 1.4rem;
}

.page-head {
  margin-bottom: 0;
  max-width: 860px;
}

.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 3.2vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 0.85rem;
}

.page-intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.page-summary p + p {
  margin-top: 0.8rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 3.6vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-tagline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.8rem;
  letter-spacing: 0.01em;
}

.role-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.role-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: grid;
  gap: 0.2rem;
}

.role-card + .role-card {
  border-left: 1px solid var(--line);
  padding-left: 1rem;
}

.role-title {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
}

.role-org {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.35;
}

.role-org-line {
  display: block;
}

@media (max-width: 900px) {
  .role-columns {
    grid-template-columns: 1fr;
  }

  .role-card + .role-card {
    border-left: none;
    padding-left: 0;
  }

  .email-columns {
    grid-template-columns: 1fr;
  }

  .email-columns span + span {
    padding-left: 0;
  }
}

.email-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.email-columns span + span {
  padding-left: 1rem;
}

.hero-divider {
  height: 1px;
  margin: 0.5rem 0 0.6rem;
  background: linear-gradient(90deg, transparent, rgba(29, 41, 36, 0.35), transparent);
  position: relative;
}

.hero-divider::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(180, 83, 26, 0.15);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 0.7rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.2rem;
}

.hero-actions .btn {
  padding: 0.5rem 1.05rem;
  font-size: 0.92rem;
}

.hero-actions .btn.ghost {
  color: var(--muted);
}

.hero-actions .btn.ghost:hover,
.hero-actions .btn.ghost:focus-visible {
  color: var(--accent-2);
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(31, 91, 76, 0.12);
  color: var(--accent-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 18px rgba(31, 91, 76, 0.2);
}

.btn:hover,
.btn:focus-visible {
  color: var(--btn-ink);
  transform: translateY(-1px);
}

.btn.ghost {
  background: rgba(31, 91, 76, 0.08);
  color: var(--ink);
  border-color: rgba(31, 91, 76, 0.18);
  box-shadow: none;
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  background: rgba(31, 91, 76, 0.16);
}

.hero-highlights {
  display: grid;
  gap: 1rem;
}

.highlight {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
}

.highlight span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.hero-side {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.portrait-card {
  width: min(280px, 100%);
  display: grid;
  gap: 0.6rem;
}

.photo-focus {
  width: min(280px, 100%);
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}

.focus-inline {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

.focus-label {
  display: inline-block;
  margin-right: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
}


.portrait-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.portrait-frame img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.portrait-meta {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.quick-list {
  display: grid;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.quick-list strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-head {
  margin-bottom: 1.8rem;
  max-width: 760px;
}

#research .section-head {
  max-width: 100%;
}

#projects .section-head {
  margin-bottom: 0.8rem;
}

#awards .section-head {
  margin-bottom: 0.8rem;
}

#tools .section-head {
  margin-bottom: 0.8rem;
}

#publications .section-head {
  margin-bottom: 0.8rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.4vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
}

.grid-two,
.grid-three,
.grid-four {
  display: grid;
  gap: 1.2rem;
}

.grid-two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-three {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-four {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.3rem;
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(22, 32, 28, 0.08);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.news-card {
  padding: 0;
  overflow: hidden;
}

.news-figure {
  margin: 0;
}

.news-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.news-figure figcaption {
  padding: 0.75rem 1.2rem 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.news-copy {
  padding: 0.85rem 1.2rem 1.2rem;
}

.news-kicker {
  margin-bottom: 0.35rem;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.news-copy h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
}

.news-copy p:last-child {
  color: var(--muted);
}

.research-shell {
  display: grid;
  gap: 1.2rem;
}

.research-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1.08fr) minmax(0, 1fr);
  gap: 1.3rem;
  align-items: start;
}

.research-support {
  padding: 0.2rem 0 0;
}

.support-label {
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.funder-cloud {
  position: relative;
  min-height: 330px;
}

.funder-logo {
  --logo-x: 0px;
  --logo-y: 0px;
  position: absolute;
  left: var(--logo-left, 0px);
  top: var(--logo-top, 0px);
  width: var(--logo-width, auto);
  display: inline-block;
  transform: translate(var(--logo-x), var(--logo-y));
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.funder-logo:hover,
.funder-logo:focus-visible {
  transform: translate(var(--logo-x), calc(var(--logo-y) - 2px));
  opacity: 0.92;
}

.funder-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
}

.funder-anrf {
  --logo-left: 196px;
  --logo-top: 18px;
  --logo-width: 242px;
  --logo-x: 0.2rem;
}

.funder-anrf img {
  width: 242px;
}

.funder-moefcc {
  --logo-left: 8px;
  --logo-top: 0px;
  --logo-width: 146px;
  --logo-y: 0.1rem;
}

.funder-moefcc img {
  width: 146px;
}

.funder-schmidt {
  --logo-left: 28px;
  --logo-top: 148px;
  --logo-width: 210px;
  --logo-x: -0.1rem;
}

.funder-schmidt img {
  width: 210px;
}

.funder-ird {
  --logo-left: 18px;
  --logo-top: 238px;
  --logo-width: 270px;
  --logo-x: 0.3rem;
}

.funder-ird img {
  width: 270px;
}

.funder-oxford {
  --logo-left: 286px;
  --logo-top: 178px;
  --logo-width: 170px;
  --logo-x: 0.45rem;
}

.funder-oxford img {
  width: 170px;
}

.research-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.research-cards-vertical {
  grid-template-columns: 1fr;
}

.research-card {
  background: var(--card);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.research-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.research-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.research-output {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.8rem 1.1rem;
  box-shadow: var(--shadow);
}

.research-output p {
  margin: 0;
  color: var(--muted);
}

.output-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 600;
}

.spectrum {
  display: grid;
  gap: 0.5rem;
}

.spectrum span {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(31, 91, 76, 0.2);
  color: var(--ink);
  font-size: 0.85rem;
  background: rgba(31, 91, 76, 0.08);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag-chip {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(180, 83, 26, 0.1);
  color: var(--accent);
}

@media (max-width: 960px) {
  .research-layout {
    grid-template-columns: 1fr;
  }

  .research-support {
    padding: 0;
  }

  .funder-cloud {
    position: static;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.35rem 0.15rem;
  }

  .funder-logo {
    position: static;
    width: fit-content;
  }

  .funder-anrf {
    grid-column: 1 / span 8;
    width: 250px;
    --logo-x: 0.15rem;
    --logo-y: 0px;
  }

  .funder-anrf img {
    width: 250px;
  }

  .funder-moefcc {
    grid-column: 9 / span 4;
    justify-self: center;
    width: 104px;
    --logo-x: 0px;
    --logo-y: 0.1rem;
  }

  .funder-moefcc img {
    width: 104px;
  }

  .funder-schmidt {
    grid-column: 2 / span 8;
    justify-self: center;
    width: 220px;
    --logo-x: -0.15rem;
    --logo-y: 0px;
  }

  .funder-schmidt img {
    width: 220px;
  }

  .funder-ird {
    grid-column: 1 / span 9;
    width: 255px;
    --logo-x: 0.25rem;
    --logo-y: 0px;
  }

  .funder-ird img {
    width: 255px;
  }

  .funder-oxford {
    grid-column: 6 / span 6;
    justify-self: center;
    width: 190px;
    --logo-x: 0.3rem;
    --logo-y: 0px;
  }

  .funder-oxford img {
    width: 190px;
  }

  .research-cards {
    grid-template-columns: 1fr;
  }
}

.card h3 {
  font-family: var(--font-display);
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
}

.list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
}

.list li {
  position: relative;
  padding-left: 1.1rem;
}

.list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.45rem;
}

.focus-card {
  border-top: 3px solid var(--card-accent, var(--accent));
  background: var(--card);
}

.project-card {
  border-left: 3px solid var(--card-accent, var(--accent));
  background: var(--card);
}

.project-list {
  display: grid;
  margin-top: 0.2rem;
}

.project-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0.8rem 0;
  background: transparent;
  align-items: start;
}

.project-item + .project-item {
  border-top: 1px solid rgba(29, 41, 36, 0.08);
}

.project-copy {
  min-width: 0;
}

.project-item h3 {
  font-size: 1rem;
  line-height: 1.4;
}

.project-meta {
  display: grid;
  gap: 0.3rem;
  align-content: start;
}

.project-tag {
  padding: 0.18rem 0.45rem;
  border-radius: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(31, 91, 76, 0.06);
  color: var(--accent-2);
  width: fit-content;
}

.project-funder {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.project-more {
  margin-top: 0.5rem;
  color: var(--muted);
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.tag {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(202, 164, 106, 0.2);
  color: var(--accent-2);
}

.pub-list {
  list-style: none;
  display: grid;
  margin-top: 0.2rem;
}

.pub-item {
  padding: 0.75rem 0;
  background: transparent;
  display: grid;
  gap: 0.2rem;
}

.pub-item + .pub-item {
  border-top: 1px solid rgba(29, 41, 36, 0.08);
}

.pub-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: baseline;
}

.pub-year,
.pub-journal {
  font-size: 0.82rem;
  color: var(--muted);
}

.pub-year {
  color: var(--accent-2);
  font-weight: 600;
}

.pub-journal {
  font-style: italic;
}

.pub-title {
  line-height: 1.45;
  color: var(--ink);
}

.pub-title:hover,
.pub-title:focus-visible {
  color: var(--accent);
}

#projects .container,
#awards .container,
#publications .container {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.recognition-list {
  list-style: none;
  display: grid;
  margin-top: 0.2rem;
}

.recognition-item {
  padding: 0.7rem 0;
  background: transparent;
  line-height: 1.45;
}

.recognition-item + .recognition-item {
  border-top: 1px solid rgba(29, 41, 36, 0.08);
}

.recognition-item strong {
  display: inline;
  margin-right: 0;
  font-size: 1rem;
  color: var(--ink);
}

.contact-card {
  background: var(--card);
}

.contact-card p {
  color: var(--muted);
}

.contact-card a {
  color: var(--accent-2);
  font-weight: 600;
}

.site-footer {
  padding: 3rem 0 2.6rem;
  background: var(--card);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-intro {
  margin-bottom: 2rem;
  max-width: 720px;
}

.footer-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.2vw, 2.4rem);
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .page-intro-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    background: var(--card);
    padding: 1.6rem;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    flex-direction: column;
    background: var(--card);
    padding: 1rem 1.2rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 4rem;
  }

  .page-head h1 {
    font-size: 2.2rem;
  }

  .research-support {
    padding: 0;
  }

  .funder-cloud {
    gap: 0.25rem 0.1rem;
  }

  .funder-anrf {
    grid-column: 1 / span 9;
    width: 210px;
  }

  .funder-moefcc {
    grid-column: 9 / span 3;
    width: 92px;
  }

  .funder-schmidt {
    grid-column: 2 / span 9;
    width: 190px;
  }

  .funder-ird {
    grid-column: 1 / span 10;
    width: 220px;
  }

  .funder-oxford {
    grid-column: 5 / span 7;
    width: 170px;
  }

  .funder-anrf img {
    width: 210px;
  }

  .funder-moefcc img {
    width: 92px;
  }

  .funder-schmidt img {
    width: 190px;
  }

  .funder-ird img {
    width: 220px;
  }

  .funder-oxford img {
    width: 170px;
  }

  .hero-lab-banner {
    margin-top: 0.75rem;
  }

  .hero-lab-text a {
    display: block;
    width: fit-content;
    margin: 0.45rem auto 0;
    padding-left: 0.8rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .portrait-card {
    width: 100%;
  }

  .project-item {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .project-meta {
    grid-auto-flow: column;
    justify-content: start;
    gap: 0.4rem;
  }

  #projects .container,
  #awards .container,
  #publications .container {
    padding: 0;
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
