@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400&display=swap");

:root {
  --blue: #2f4ed8;
  --blue-hover: #6f83e8;
  --teal: #0f6f72;
  --orange: #f28c28;
  --text: #263238;
  --heading: #24333c;
  --footer: #34384f;
  --footer-text: #d3d7e2;
  --border: #dce1e8;
  --container: 1440px;
  --hero-position: center 35%;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 25px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--blue-hover);
  text-decoration: underline;
}

.container {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  width: auto;
  height: auto;
  padding: 0.55rem 0.8rem;
  background: var(--heading);
  color: #ffffff;
}

.site-header {
  position: relative;
  z-index: 20;
  background: #ffffff;
  box-shadow: 0 1px 15px rgba(50, 50, 93, 0.18);
}

.header-row {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-name {
  margin: 0;
  color: var(--blue);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

.site-name a {
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.site-nav a {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  color: var(--heading);
  font-size: 1.02rem;
  line-height: 1.4;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--blue);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--blue);
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  cursor: pointer;
}

.hero {
  width: 100%;
  aspect-ratio: 10 / 3;
  background-image: url("home/hero.png");
  background-position: var(--hero-position);
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border);
}

.home-information {
  margin-top: 40px;
  margin-bottom: 28px;
}

.info-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
}

.info-row + .info-row {
  margin-top: 1.4rem;
}

.info-column {
  min-width: 0;
}

h2 {
  margin: 0 0 0.7rem;
  color: var(--teal);
  font-size: 1.16rem;
  font-weight: 500;
  line-height: 1.25;
}

.profile-text,
.research-text {
  font-size: 0.86rem;
  line-height: 1.56;
}

.profile-text p,
.research-text p {
  margin: 0 0 0.85rem;
}

.position-title {
  display: block;
  margin-bottom: 0.06rem;
  color: var(--heading);
  font-weight: 700;
}

.news-list,
.publication-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-item {
  display: grid;
  grid-template-columns: 4.4rem minmax(0, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.72rem;
  font-size: 0.72rem;
  line-height: 1.45;
}

.news-date {
  color: var(--heading);
  font-style: italic;
  white-space: nowrap;
}

.publication-item {
  margin-bottom: 0.7rem;
  font-size: 0.72rem;
  line-height: 1.4;
}

.publication-authors {
  color: var(--heading);
}

.publication-title {
  font-weight: 700;
}

.publication-venue {
  font-style: italic;
}

.publication-links {
  margin-left: 0.2rem;
  white-space: nowrap;
}

.navigation-grid {
  margin-top: 62px;
  margin-bottom: 42px;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 34px;
}

.navigation-tile {
  text-align: center;
}

.navigation-tile img {
  width: 55%;
  max-width: 260px;
  margin: 0 auto 8px;
  transition: transform 160ms ease;
}

.navigation-tile a {
  display: inline-block;
  font-size: 1.08rem;
}

.navigation-tile:hover img {
  transform: translateY(-8px);
}

.site-footer {
  background: var(--footer);
  color: var(--footer-text);
}

.footer-row {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 27px;
  padding: 10px 0;
}

.footer-row a,
.footer-row span {
  color: var(--footer-text);
  font-size: 0.7rem;
  text-decoration: none;
}

.footer-row a:hover,
.footer-row a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

.footer-divider {
  color: #7f8498;
}

:focus-visible {
  outline: 3px solid rgba(47, 78, 216, 0.32);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  html {
    font-size: 21px;
  }

  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .header-row {
    min-height: 76px;
  }

  .site-name {
    font-size: 1.5rem;
  }

  .site-nav a {
    padding-inline: 9px;
    font-size: 0.9rem;
  }

  .info-row {
    gap: 30px;
  }
}

@media (max-width: 767.98px) {
  html {
    font-size: 19px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-row {
    min-height: 68px;
  }

  .site-name {
    font-size: 1.42rem;
  }

  .menu-button {
    display: block;
    padding: 0.35rem;
  }

  .site-nav {
    position: fixed;
    inset: 68px 0 0;
    z-index: 30;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1rem;
    background: var(--blue);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    justify-content: center;
    padding: 0.65rem;
    color: #ffffff;
    font-size: 1.15rem;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a[aria-current="page"] {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
  }

  body.menu-open {
    overflow: hidden;
  }

  .hero {
    min-height: 220px;
    aspect-ratio: auto;
  }

  .home-information {
    margin-top: 28px;
  }

  .info-row {
    grid-template-columns: 1fr;
  }

  .info-column + .info-column {
    margin-top: 1.2rem;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 0.08rem;
  }

  .tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 18px;
  }

  .navigation-tile img {
    width: 68%;
  }

  .footer-divider {
    display: none;
  }
}

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

  .navigation-tile img {
    width: 55%;
  }
}

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

  .navigation-tile img {
    transition: none;
  }
}

/* SIX-COLUMN-NAVIGATION-START */

.navigation-grid {
  margin-top: 54px;
  margin-bottom: 34px;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  align-items: end;
}

.navigation-tile {
  min-width: 0;
  padding: 0 10px;
  text-align: center;
}

.navigation-tile + .navigation-tile {
  border-left: 1px solid #dce1e8;
}

.navigation-tile a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  color: var(--teal);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
}

.navigation-tile img {
  width: 100%;
  max-width: none;
  height: 220px;
  margin: 0 0 8px;
  object-fit: contain;
  transform: scale(1.12);
  transform-origin: center bottom;
  transition: transform 160ms ease;
}

.navigation-tile:hover img,
.navigation-tile:focus-within img {
  transform: translateY(-11px);
}

@media (min-width: 900px) and (max-width: 1299.98px) {
  .tile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 40px;
  }

  .navigation-tile:nth-child(4) {
    border-left: 0;
  }

  .navigation-tile img {
    height: 230px;
  }
}

@media (min-width: 520px) and (max-width: 899.98px) {
  .tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 34px;
  }

  .navigation-tile:nth-child(odd) {
    border-left: 0;
  }

  .navigation-tile img {
    height: 210px;
  }
}

@media (max-width: 519.98px) {
  .tile-grid {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }

  .navigation-tile {
    border-left: 0 !important;
  }

  .navigation-tile img {
    width: 100%;
    max-width: 330px;
    height: 210px;
  }
}

/* SIX-COLUMN-NAVIGATION-END */

/* REFINED-NAVIGATION-ARTWORK-START */

.navigation-grid {
  margin-top: 42px;
  margin-bottom: 30px;
}

.navigation-tile {
  padding-right: 8px;
  padding-left: 8px;
}

.navigation-tile a {
  gap: 0;
  color: var(--teal);
  line-height: 1.05;
}

.navigation-tile img {
  width: 100%;
  height: 218px;
  margin: 0 0 5px;
  padding: 0;
  object-fit: contain;
  object-position: center bottom;
  transform: none;
}

.navigation-tile:hover img,
.navigation-tile:focus-within img {
  transform: translateY(-3px);
  filter: saturate(1.06);
}

@media (min-width: 1300px) {
  .navigation-tile img {
    height: 225px;
  }
}

@media (min-width: 900px) and (max-width: 1299.98px) {
  .navigation-tile img {
    height: 245px;
    margin-bottom: 5px;
  }
}

@media (min-width: 520px) and (max-width: 899.98px) {
  .navigation-tile img {
    height: 225px;
    margin-bottom: 5px;
  }
}

@media (max-width: 519.98px) {
  .navigation-tile img {
    height: 220px;
    margin-bottom: 5px;
  }
}

/* REFINED-NAVIGATION-ARTWORK-END */

/* NAVIGATION-VERTICAL-POSITION-START */

.navigation-tile {
  transform: translateY(-5px);
}

/* NAVIGATION-VERTICAL-POSITION-END */

/* NAVIGATION-ROW-OFFSET-START */

/* Move the six images and their labels upward together. */
.navigation-grid > .tile-grid {
  position: relative !important;
  top: -5px !important;
}

/* NAVIGATION-ROW-OFFSET-END */

/* FINAL-NAVIGATION-POSITION-START */

/* Move all six images and labels upward together. */
.navigation-grid .tile-grid {
  position: relative !important;
  top: -18px !important;
}

/* Remove the vertical separators completely. */
.navigation-grid .navigation-tile,
.navigation-grid .navigation-tile + .navigation-tile {
  border-left: 0 !important;
  border-right: 0 !important;
}

/* FINAL-NAVIGATION-POSITION-END */

/* FINAL-NAVIGATION-GEOMETRY-START */

/* Move images and labels 36px upward in total. */
.navigation-grid .tile-grid {
  position: relative !important;
  top: -36px !important;
}

/* Reduce the previous 30px white space below by 18px. */
.navigation-grid {
  margin-bottom: 12px !important;
  padding-bottom: 0 !important;
}

/* Keep all separators removed. */
.navigation-grid .navigation-tile,
.navigation-grid .navigation-tile + .navigation-tile {
  border-left: 0 !important;
  border-right: 0 !important;
}

/* FINAL-NAVIGATION-GEOMETRY-END */

/* ABOUT-PAGE-START */

.page-main {
  padding-top: 58px;
  padding-bottom: 72px;
}

.page-title {
  margin: 0 0 1.5rem;
  color: var(--blue);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.15;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 68px;
  align-items: start;
}

.about-content {
  min-width: 0;
}

.about-section + .about-section {
  margin-top: 2rem;
}

.about-section h2 {
  margin-bottom: 0.75rem;
  color: var(--teal);
  font-size: 1.2rem;
  font-weight: 500;
}

.about-section p {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.62;
}

.about-photo-column {
  position: sticky;
  top: 40px;
}

.about-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 26%;
  border-radius: 2px;
  box-shadow: 0 9px 28px rgba(36, 51, 60, 0.15);
}

.about-photo-caption {
  margin-top: 0.7rem;
  color: #68747b;
  font-size: 0.68rem;
  line-height: 1.45;
  text-align: center;
}

.about-details {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.about-details li {
  display: grid;
  grid-template-columns: 6.4rem minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  line-height: 1.45;
}

.about-details strong {
  color: var(--heading);
  font-weight: 600;
}

.research-interest-list {
  margin: 0.2rem 0 0;
  padding-left: 1.15rem;
}

.research-interest-list li {
  margin-bottom: 0.55rem;
  padding-left: 0.15rem;
  font-size: 0.84rem;
  line-height: 1.5;
}

.timeline {
  margin-top: 0.4rem;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0 0 1.25rem 1rem;
  border-left: 2px solid #d9e0fa;
}

.timeline-item::before {
  position: absolute;
  top: 0.34rem;
  left: -6px;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--blue);
  border-radius: 50%;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-years {
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}

.timeline-description {
  font-size: 0.78rem;
  line-height: 1.5;
}

.timeline-description strong {
  display: block;
  color: var(--heading);
  font-weight: 600;
}

.contact-panel {
  margin-top: 1rem;
  padding: 1.1rem 1.25rem;
  background: #f6f8ff;
  border-left: 4px solid var(--blue);
}

.contact-panel p {
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin-top: 0.75rem;
}

.contact-links a {
  font-size: 0.76rem;
}

@media (max-width: 1100px) {
  .about-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 44px;
  }
}

@media (max-width: 767.98px) {
  .page-main {
    padding-top: 36px;
    padding-bottom: 50px;
  }

  .page-title {
    font-size: 1.72rem;
  }

  .about-layout {
    display: flex;
    flex-direction: column;
    gap: 34px;
  }

  .about-photo-column {
    position: static;
    order: -1;
    width: min(100%, 420px);
    margin-inline: auto;
  }

  .about-details li {
    grid-template-columns: 1fr;
    gap: 0.12rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

/* ABOUT-PAGE-END */

/* BIOGRAPHY-TITLE-START */

.biography-title {
  margin: 0 0 0.8rem;
  color: var(--teal);
  font-size: 1.38rem;
  font-weight: 500;
  line-height: 1.2;
}

/* BIOGRAPHY-TITLE-END */



/* FINAL-CV-ALIGNMENT-STYLES-START */

.visually-hidden-heading {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.about-funding-note,
.research-programme-note {
  max-width: 980px;
  margin: 1rem 0 0;
  color: #536068;
  font-size: 0.78rem;
  line-height: 1.58;
}

.cv-aligned-about-section {
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid #dce1e8;
}

.cv-aligned-about-section h2 {
  margin: 0 0 1rem;
  color: #0f6f72;
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.3;
}

.cv-aligned-education-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cv-aligned-education-entry {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 25px;
  padding: 0 0 1.2rem;
}

.cv-aligned-education-entry
+ .cv-aligned-education-entry {
  padding-top: 1.2rem;
  border-top: 1px solid #e6e9ed;
}

.cv-aligned-education-entry:last-child {
  padding-bottom: 0;
}

.cv-aligned-education-date {
  color: #2f4ed8;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
}

.cv-aligned-education-entry h3 {
  margin: 0 0 0.22rem;
  color: #24333c;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.4;
}

.cv-aligned-education-entry p {
  margin: 0;
  color: #536068;
  font-size: 0.74rem;
  line-height: 1.52;
}

@media (max-width: 560px) {
  .cv-aligned-education-entry {
    display: block;
  }

  .cv-aligned-education-date {
    display: block;
    margin-bottom: 0.3rem;
  }
}

/* FINAL-CV-ALIGNMENT-STYLES-END */


/* HOME-PROFILE-H1-START */

.profile-name-heading {
  margin: 0 0 0.7rem;
  color: var(--teal);
  font-size: 1.16rem;
  font-weight: 500;
  line-height: 1.25;
}

/* HOME-PROFILE-H1-END */
