:root {
  --paper: #f4f1ea;
  --paper-light: #faf8f3;
  --ink: #18201c;
  --muted: #626a65;
  --line: #c9cdc4;
  --accent: #8b3f31;
  --accent-soft: #e6d5cc;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-shell,
.site-header {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wordmark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.wordmark span {
  color: var(--accent);
}

nav {
  display: flex;
  gap: clamp(20px, 3vw, 42px);
}

nav a,
.header-contact,
.text-link,
.footer-links a {
  transition: color 180ms ease;
}

nav a:hover,
.header-contact:hover,
.text-link:hover,
.footer-links a:hover {
  color: var(--accent);
}

.header-contact {
  justify-self: end;
  display: inline-flex;
  gap: 7px;
}

.hero {
  min-height: 560px;
  padding: 90px 0 78px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(64px, 10vw, 150px);
  align-items: center;
}

.eyebrow,
.section-marker {
  margin: 0;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1,
.intro h2,
.section-heading h2,
.join h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.hero h1 {
  margin: 6px 0 8px;
  font-size: clamp(3.8rem, 7vw, 6.35rem);
  line-height: 0.92;
}

.academic-title {
  margin: 20px 0 0;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.08rem;
  letter-spacing: 0.02em;
}

.role {
  margin: 28px 0 2px;
  font-size: 1.08rem;
  font-weight: 700;
}

.affiliation {
  max-width: 500px;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.portrait-wrap {
  margin: 0;
  justify-self: end;
}

.portrait {
  display: block;
  width: 230px;
  height: 300px;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 2px;
  filter: saturate(0.86) contrast(0.98);
  box-shadow: 16px 16px 0 var(--accent-soft);
}

.intro {
  padding: 96px 0 60px;
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  gap: clamp(36px, 8vw, 116px);
  border-top: 1px solid var(--line);
}

.intro h2 {
  margin: 0 0 38px;
  font-size: clamp(2.45rem, 4.5vw, 3.85rem);
  line-height: 1.02;
}

.intro-body > p {
  max-width: 720px;
  margin: 0 0 24px;
  color: #3e4741;
  font-size: 1.02rem;
  line-height: 1.82;
}

.intro-body .intro-lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.28rem, 2.2vw, 1.62rem);
  line-height: 1.55;
}

.research {
  padding: 78px 0 110px;
  border-top: 1px solid var(--line);
}

.publications {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 52px;
}

.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(2.35rem, 4vw, 3.6rem);
  line-height: 1.03;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.research-card {
  min-height: 330px;
  padding: 32px 34px 30px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.research-card:first-child {
  padding-left: 0;
}

.research-card:last-child {
  padding-right: 0;
  border-right: 0;
}

.card-number {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.research-card h3 {
  margin: 44px 0 15px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.research-card p {
  max-width: 470px;
  margin: 0;
  color: #46504a;
  font-size: 0.95rem;
  line-height: 1.7;
}

.keywords {
  margin-top: auto;
  padding-top: 32px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.publication-heading {
  align-items: end;
}

.publication-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: -22px 0 18px;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.publication-note sup,
.equal-contribution,
.corresponding-author {
  position: relative;
  top: -0.16em;
  color: var(--accent);
  font-size: 0.72em;
  font-weight: 700;
  line-height: 0;
}

.text-link {
  display: inline-flex;
  gap: 7px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.publication-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.publication-list li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 24px;
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.publication-list li:last-child {
  border-bottom: 0;
}

.publication-year {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.publication-list p {
  max-width: 910px;
  margin: 0;
  color: #343d38;
  font-size: 0.93rem;
  line-height: 1.62;
}

.publication-list strong {
  color: var(--ink);
}

.publication-type {
  display: inline-block;
  margin-right: 7px;
  padding: 1px 6px 2px;
  border: 1px solid rgba(139, 63, 49, 0.48);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-transform: uppercase;
  vertical-align: 0.08em;
}

.publication-list a {
  color: var(--accent);
  font-size: 1rem;
  transition: transform 180ms ease;
}

.publication-list a:hover {
  transform: translate(2px, -2px);
}

.background {
  padding: 110px 0 124px;
  border-top: 1px solid var(--line);
}

.journey-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 470px);
  align-items: end;
  gap: 60px;
  margin-bottom: 70px;
}

.journey-intro {
  margin: 0;
  color: #46504a;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.5;
}

.journey-map {
  position: relative;
  margin: 0;
  padding: 34px clamp(26px, 5vw, 70px) 58px;
  overflow: hidden;
  border: 1px solid rgba(139, 63, 49, 0.2);
  border-radius: 2px;
  background:
    linear-gradient(rgba(24, 32, 28, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 32, 28, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 12% 22%, rgba(230, 213, 204, 0.48), transparent 25%),
    radial-gradient(circle at 84% 72%, rgba(230, 213, 204, 0.3), transparent 27%),
    var(--paper-light);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
}

.journey-route-key {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 17px;
  margin-bottom: 42px;
  color: #4d5651;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.journey-route-key span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.journey-route-key i {
  width: 20px;
  height: 2px;
  display: inline-block;
  background: var(--accent);
}

.journey-route-key .journey-key-visit i {
  height: 0;
  border-top: 1px dashed var(--accent);
  background: transparent;
}

.journey-route-key .journey-key-current i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.journey-timeline {
  position: relative;
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.journey-timeline::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 35px;
  width: 1px;
  background: linear-gradient(var(--accent), rgba(139, 63, 49, 0.28));
}

.journey-stop {
  position: relative;
  min-height: 132px;
  padding: 0 0 38px 94px;
}

.journey-stop:last-child {
  min-height: 0;
  padding-bottom: 0;
}

.journey-card {
  max-width: 720px;
  padding: 0 0 26px;
  border-bottom: 1px solid rgba(108, 116, 110, 0.18);
}

.journey-stop:last-child .journey-card {
  padding-bottom: 0;
  border-bottom: 0;
}

.journey-node {
  position: absolute;
  z-index: 3;
  top: 4px;
  left: 35px;
  width: 36px;
  height: 36px;
  transform: translateX(-50%);
  border: 1px solid rgba(139, 63, 49, 0.62);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--accent) 0 2.5px, transparent 3px),
    rgba(250, 248, 243, 0.96);
  box-shadow:
    0 0 0 5px rgba(250, 248, 243, 0.86),
    0 5px 14px rgba(24, 32, 28, 0.06);
}

.journey-node::before,
.journey-node::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.journey-node::before {
  inset: 6px;
  border: 1px solid rgba(139, 63, 49, 0.24);
}

.journey-node::after {
  display: none;
}

.journey-stop--major .journey-node::before {
  inset: 7px;
}

.journey-stop--minor .journey-node {
  left: 61px;
  width: 26px;
  height: 26px;
  border-style: dashed;
  background:
    radial-gradient(circle at center, rgba(139, 63, 49, 0.75) 0 2px, transparent 2.5px),
    rgba(250, 248, 243, 0.92);
  box-shadow: 0 0 0 4px rgba(250, 248, 243, 0.78);
}

.journey-stop--minor::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 35px;
  width: 26px;
  border-top: 1px dashed rgba(139, 63, 49, 0.7);
}

.journey-stop--minor .journey-card {
  margin-left: 26px;
  opacity: 0.74;
}

.journey-stop--minor .journey-node::before {
  display: none;
}

.journey-stop--minor .journey-node::after {
  display: none;
}

.journey-stop--current .journey-node {
  top: 0;
  width: 48px;
  height: 48px;
  border-color: var(--accent);
  background:
    radial-gradient(circle at center, var(--paper-light) 0 3px, transparent 3.5px),
    linear-gradient(145deg, #ad5146, #7f251f);
  box-shadow:
    0 0 0 5px rgba(250, 248, 243, 0.9),
    0 0 0 6px rgba(139, 63, 49, 0.14),
    0 8px 18px rgba(94, 42, 34, 0.15);
}

.journey-stop--current .journey-node::before {
  inset: 9px;
  border-color: rgba(250, 248, 243, 0.5);
}

.journey-stop--foundation .journey-card {
  opacity: 0.82;
}

.journey-stop--minor .journey-step {
  color: #806a65;
}

.journey-step {
  display: block;
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.journey-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 400;
  line-height: 1.1;
}

.journey-phase,
.journey-focus {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.journey-phase {
  color: #35403a;
  font-weight: 700;
}

.journey-focus {
  margin-top: 5px;
  color: var(--muted);
}

.journey-card-current h3,
.journey-card-current .journey-phase {
  color: var(--accent);
}

.support {
  padding: 72px 0 78px;
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(45px, 8vw, 110px);
  border-top: 1px solid var(--ink);
}

.support-heading h2 {
  max-width: 360px;
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.support-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.support-item {
  min-height: 180px;
  padding: 24px 0 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 35px;
  border-top: 4px solid var(--line);
}

.support-item-dfg {
  border-color: var(--accent);
}

.support-mark {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
}

.support-item h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.16rem;
  font-weight: 400;
  line-height: 1.2;
}

.support-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.join {
  padding: 105px 0 112px;
  border-top: 1px solid var(--line);
}

.join-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(50px, 10vw, 140px);
}

.join h2 {
  margin: 0 0 28px;
  font-size: clamp(3rem, 5.5vw, 4.8rem);
  line-height: 0.96;
}

.join-intro {
  max-width: 650px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.62rem);
  line-height: 1.55;
}

.join-details {
  padding-top: 12px;
}

.join-details p {
  margin: 0 0 36px;
  color: #3e4842;
  font-size: 0.95rem;
  line-height: 1.78;
}

.join-details .future-openings {
  margin-top: -8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 22px;
}

.contact-address {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.contact-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
  background: var(--ink);
  color: var(--paper-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease;
}

.contact-button:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.current-team {
  margin-top: 82px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.current-team-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.current-team-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 2.65rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.student-group-title {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.student-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.student-card {
  min-height: 210px;
  padding: 26px 28px 28px;
  border-right: 1px solid var(--line);
}

.student-card:first-child {
  padding-left: 0;
}

.student-card:last-child {
  padding-right: 0;
  border-right: 0;
}

.student-role,
.student-card .student-role {
  margin: 0 0 30px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.student-card h4 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  font-weight: 400;
  line-height: 1.12;
}

.student-card .student-project {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.student-hobby {
  margin: 18px 0 0;
  padding-top: 13px;
  border-top: 1px solid rgba(108, 116, 110, 0.18);
  color: #66706a;
  font-size: 0.8rem;
  line-height: 1.5;
}

.student-hobby span {
  margin-right: 0.45em;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.past-supervision {
  margin-top: 68px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.past-supervision > .section-marker {
  margin-bottom: 28px;
}

.medical-student-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.medical-student-card {
  min-height: 0;
  padding: 22px 24px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.medical-student-card:nth-child(3n + 1) {
  padding-left: 0;
}

.medical-student-card:nth-child(3n) {
  padding-right: 0;
  border-right: 0;
}

.medical-student-card:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.medical-student-card h4 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  font-weight: 400;
  line-height: 1.12;
}

.medical-student-card .student-project {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.site-footer {
  min-height: 170px;
  padding: 42px 0;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

.site-footer p {
  margin: 0;
}

.site-footer .footer-name {
  margin-bottom: 3px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.footer-links {
  display: flex;
  gap: 26px;
}

@media (max-width: 980px) {
  .journey-heading {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 52px;
  }

  .journey-intro {
    max-width: 620px;
  }

  .journey-map {
    padding: 30px 34px 46px;
  }

  .journey-route-key {
    justify-content: flex-start;
    margin-bottom: 38px;
  }

  .journey-timeline {
    width: 100%;
  }

  .journey-stop {
    min-height: 126px;
    padding-left: 86px;
  }

  .journey-card h3 {
    font-size: 1.55rem;
  }

  .support {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .support-heading h2 {
    max-width: 560px;
  }
}

@media (max-width: 760px) {
  .section-shell,
  .site-header {
    width: min(100% - 36px, 1180px);
  }

  .site-header {
    height: 70px;
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 48px 0 58px;
    grid-template-columns: 1fr 112px;
    gap: 20px;
    align-items: start;
  }

  .eyebrow {
    grid-column: 1 / -1;
    max-width: 270px;
  }

  .hero h1 {
    margin-top: 4px;
    font-size: clamp(2.75rem, 13vw, 3.75rem);
    line-height: 0.96;
  }

  .academic-title {
    margin-top: 16px;
    font-size: 0.92rem;
  }

  .role {
    margin-top: 22px;
    font-size: 0.94rem;
  }

  .affiliation {
    font-size: 0.86rem;
  }

  .portrait {
    width: 104px;
    height: 142px;
    box-shadow: 7px 7px 0 var(--accent-soft);
  }

  .intro {
    padding: 64px 0 46px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .background {
    padding: 76px 0 84px;
  }

  .support {
    padding: 60px 0 66px;
  }

  .support-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .support-item {
    min-height: 145px;
  }

  .journey-map {
    min-height: 0;
    padding: 24px 18px 34px;
  }

  .journey-route-key {
    flex-wrap: wrap;
    gap: 7px 12px;
    margin-bottom: 34px;
    font-size: 0.59rem;
  }

  .journey-timeline::before {
    left: 25px;
  }

  .journey-stop {
    min-height: 118px;
    padding: 0 0 34px 66px;
  }

  .journey-node {
    left: 25px;
    width: 32px;
    height: 32px;
  }

  .journey-stop--current .journey-node {
    width: 42px;
    height: 42px;
  }

  .journey-stop--minor .journey-node {
    left: 45px;
    width: 24px;
    height: 24px;
  }

  .journey-stop--minor::before {
    left: 25px;
    width: 20px;
  }

  .journey-stop--minor .journey-card {
    margin-left: 20px;
  }

  .journey-card h3 {
    font-size: 1.3rem;
  }

  .intro h2 {
    margin-bottom: 28px;
    font-size: clamp(2.1rem, 9vw, 2.8rem);
  }

  .section-heading h2 {
    font-size: clamp(2.1rem, 8.5vw, 2.75rem);
  }

  .join h2 {
    font-size: clamp(2.55rem, 11vw, 3.4rem);
  }

  .support-heading h2 {
    font-size: clamp(2rem, 8vw, 2.55rem);
  }

  .current-team-heading h3 {
    font-size: clamp(1.85rem, 7.5vw, 2.3rem);
  }

  .research {
    padding: 58px 0 76px;
  }

  .publications {
    padding: 76px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

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

  .research-card,
  .research-card:first-child,
  .research-card:last-child {
    min-height: 290px;
    padding: 28px 0;
    border-right: 0;
  }

  .research-card:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .research-card h3 {
    margin-top: 34px;
  }

  .publication-list li {
    grid-template-columns: 52px minmax(0, 1fr) 18px;
    gap: 12px;
  }

  .publication-list p {
    font-size: 0.9rem;
  }

  .join {
    padding: 76px 0 82px;
  }

  .join-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .join-details {
    padding-top: 0;
  }

  .current-team {
    margin-top: 62px;
  }

  .current-team-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

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

  .student-card,
  .student-card:first-child,
  .student-card:last-child {
    min-height: 0;
    padding: 24px 0 26px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .student-card:last-child {
    border-bottom: 0;
  }

  .past-supervision {
    margin-top: 52px;
  }

  .medical-student-grid {
    grid-template-columns: 1fr;
  }

  .medical-student-card,
  .medical-student-card:nth-child(3n + 1),
  .medical-student-card:nth-child(3n) {
    min-height: 0;
    padding: 18px 0 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .medical-student-card:last-child {
    border-bottom: 0;
  }

  .site-footer {
    min-height: 150px;
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 6px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
