:root {
  --sky: #e7f4ff;
  --white: #ffffff;
  --ink: #0b263b;
  --teal: #0f4c81;
  --pale: #b2d8f7;
  --gray60: #5b6c7d;
  --gray05: #dbeaf4;
  --green: #0f7acb;
  --gray80: #3b4150;
  --blue: #4a83c5;
  --nav-height: 76px;
  --nav-padding-inline: clamp(1rem, 3vw, 2.75rem);
  --menu-font-size: 1.3rem;
  --menu-padding-block: 0.95rem;
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
    
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sky);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
    
    /* Header Navigation */
    .header-nav {
      background: var(--white);
      border-bottom: 1px solid rgba(0, 0, 0, 0.08);
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 5px 18px rgba(15, 76, 129, 0.12);
    }
    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 var(--nav-padding-inline);
      height: var(--nav-height);
      transition: padding 0.3s ease;
    }
    .nav-menu {
      align-items: center;
    }
    .nav-logo {
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--black);
      text-decoration: none;
      padding: 0.5rem 1rem;
      transition: all 0.3s ease;
      border-radius: 4px;
    }
    .nav-logo:hover {
      color: var(--green);
      background: var(--white);
    }
    .nav-logo.active {
      color: var(--black);
      background: var(--white);
    }
    .nav-menu {
      display: flex;
      list-style: none;
      align-items: start;
      gap: 2rem;
    
    }
    .nav-menu a {
      color: var(--ink);
      text-decoration: none;
      font-weight: 600;
      font-size: var(--menu-font-size);
      letter-spacing: 0.5px;
      padding: var(--menu-padding-block) 1.5rem;
      transition: all 0.25s ease;
      border-radius: 8px;
    }
    .nav-menu a:hover,
    .nav-menu a.active {
      color: var(--green);
      background: var(--white);
    }
    
    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 1.5rem;
      color: var(--black);
      cursor: pointer;
      padding: 0.5rem;
    }
    .mobile-menu-toggle:hover {
      color: var(--green);
    }
    
    /* Layout */
    .container {
      display: flex;
      flex: 1;
    }
    .container.home-layout {
      padding: 0 2rem;
      justify-content: center;
    }
    
    /* Sidebar */
    .sidebar {
      background: var(--white);
      padding: clamp(2rem, 5vw, 3rem) 2rem;
      border-right: 1px solid var(--gray05);
      position: sticky;
      top: 60px;
      width: 400px;
      height: calc(100vh - 60px);
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .profile-image img {
      width: clamp(100px, 20vw, 190px);
      height: auto;
      border-radius: 50%;
      object-fit: cover;
      display: block;
      margin: 0 auto 1rem;
      aspect-ratio: 1/1;
    }
    h1 {
      font-size: clamp(1.5rem, 4vw, 1.8rem);
      font-weight: 700;
      color: var(--black);
      margin-bottom: 0.5rem;
      text-align: center;
      letter-spacing: -0.01em;
    }
    .title {
      color: var(--gray60);
      font-size: clamp(0.8rem, 2vw, 0.9rem);
      margin-bottom: 2rem;
      text-align: center;
    }
    .contact-info {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      margin-bottom: 2rem;
      width: 100%;
      align-items: center;
    }
    .contact-info p {
      color: var(--gray60);
      font-size: 1.0rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
      justify-content: center;
    }
    .contact-info i {
      color: var(--gray60);
      font-size: 1.0rem;
      width: 16px;
      flex-shrink: 0;
    }
    .contact-info a {
      color: var(--black);
      text-decoration: none;
      transition: color 0.2s ease;
      word-break: break-word;
    }
    .contact-info a:hover, .contact-info a:focus {
      color: var(--green);
    }
    .social-links {
      display: flex;
      gap: 1rem;
      justify-content: center;
    }
    .social-links a {
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s ease;
      color: var(--gray60);
      text-decoration: none;
    }
    .social-links a:hover, .social-links a:focus {
      color: var(--green);
    }
    .social-links i {
      font-size: 20px;
    }
    
    /* Main Content */
    .main-and-footer {
      display: flex;
      flex-direction: column;
      flex: 1;
      width: calc(100% - 400px);
      max-width: 1400px;
      margin: 0 auto;
    }
    .home-layout .main-and-footer {
      width: 100%;
      max-width: 1100px;
      margin: 0 auto;
    }
    .main-content {
      padding: clamp(2rem, 5vw, 4rem);
      max-width: min(1000px, 80vw);
      flex: 1;
      overflow-y: auto;
      margin: 0 auto;
    }
    
    /* Page visibility */
    .page {
      display: none;
    }
    .page.active {
      display: block;
    }
    
    .bio {
      color: var(--gray80);
      font-size: clamp(1rem, 2vw, 1.05rem);
      line-height: 1.7;
      margin-bottom: 3rem;
      padding: 2rem;
      background: var(--white);
      border-radius: 8px;
      border: 1px solid var(--gray05);
      width: 100%;
      box-sizing: border-box;
    }
    .home-page {
      display: flex;
      flex-direction: column;
      gap: 2rem;
      padding: 0 2rem 3rem;
      flex: 1;
      max-width: 1400px;
      width: 100%;
      margin: 0 auto;
    }
    .hero-banner {
      position: relative;
      border-radius: 26px;
      min-height: 360px;
      overflow: hidden;
      background: linear-gradient(135deg, #fdfefe, #ecf3ff 35%, #e0efff 60%, #fefefe);
    }
    .hero-banner-pattern {
      position: absolute;
      inset: 0;
      background-image:
        radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.6), transparent 45%),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.5), transparent 55%),
        radial-gradient(circle at 40% 80%, rgba(15, 76, 129, 0.08), transparent 50%),
        repeating-linear-gradient(60deg, rgba(15, 76, 129, 0.15) 0, rgba(198, 123, 58, 0.2) 0.5px, transparent 0.5px, transparent 60px),
        repeating-linear-gradient(-60deg, rgba(15, 76, 129, 0.15) 0, rgba(198, 123, 58, 0.2) 0.5px, transparent 0.5px, transparent 60px),
        repeating-linear-gradient(90deg, rgba(15, 76, 129, 0.08) 0, rgba(15, 76, 129, 0.08) 1px, transparent 1px, transparent 60px),
        repeating-linear-gradient(0deg, rgba(15, 76, 129, 0.08) 0, rgba(15, 76, 129, 0.08) 1px, transparent 1px, transparent 60px);
      background-size: 220px 220px, 320px 320px, 200px 200px, 120px 120px, 120px 120px, 60px 60px, 60px 60px;
      mix-blend-mode: screen;
      opacity: 0.8;
    }
    .hero-banner-content {
      position: relative;
      z-index: 1;
      display: flex;
      justify-content: center;
      padding: clamp(2rem, 3vw, 3rem);
      height: 100%;
    }
    .hero-layout {
      width: min(1400px, 100% - 2rem);
      display: grid;
      grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
      gap: clamp(1.5rem, 3vw, 3rem);
      align-items: start;
    }
    .hero-about {
      min-width: 0;
      text-align: left;
    }
    .hero-profile-card {
      border-radius: 24px;
      background: rgba(255, 255, 255, 0.95);
      padding: clamp(1.5rem, 2vw, 2rem);
      box-shadow: 0 25px 50px rgba(15, 76, 129, 0.2);
      text-align: center;
      width: min(320px, 35vw);
    }
    .hero-profile-photo {
      width: 260px;
      height: 180px;
      border-radius: 18px;
      object-fit: cover;
      margin-bottom: 1rem;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    }
    .hero-profile-card h1 {
      font-size: 1.8rem;
      margin: 0.25rem 0;
      color: var(--ink);
    }
    .hero-title {
      margin: 0;
      color: var(--gray60);
      font-size: 0.95rem;
    }
    .hero-email a {
      color: var(--ink);
      text-decoration: none;
      font-weight: 600;
    }
    .hero-links {
      display: flex;
      justify-content: center;
      gap: 0.75rem;
      margin-top: 1rem;
    }
    .hero-scholar-links a:hover {
      transform: translateY(-2px);
      border-color: var(--green);
      color: var(--green);
    }
    .hero-about h2 {
      margin: 0;
      font-size: clamp(2rem, 4vw, 2.5rem);
      color: var(--ink);
    }
    .hero-about p {
      margin-bottom: 0.75rem;
      color: var(--gray60);
      line-height: 1.7;
    }
    .home-highlights {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 1.25rem;
    }
    .feature-card {
      background: var(--white);
      border-radius: 18px;
      padding: 1.8rem;
      border: 1px solid rgba(15, 76, 129, 0.08);
      box-shadow: 0 12px 30px rgba(15, 76, 129, 0.08);
    }
    .feature-card h3 {
      margin-top: 0;
      margin-bottom: 0.75rem;
      color: var(--ink);
      font-size: 1.25rem;
    }
    .feature-card ul {
      list-style: none;
      padding-left: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
      color: var(--gray80);
    }
    .feature-card span {
      color: var(--gray60);
      font-size: 0.95rem;
    }
    .feature-link a {
      color: var(--green);
      text-decoration: none;
      font-weight: 600;
    }
    .video-panel {
      background: var(--white);
      border-radius: 20px;
      padding: 2rem;
      box-shadow: 0 20px 50px rgba(15, 76, 129, 0.08);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }
    .video-panel video {
      width: 100%;
      border-radius: 16px;
      background: var(--gray05);
    }
    .video-caption {
      margin: 0;
      color: var(--gray60);
      text-align: center;
    }
    .download-bib {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-top: 1rem;
      padding: 0.65rem 1.2rem;
      border-radius: 999px;
      background: var(--ink);
      color: var(--white);
      font-size: 0.95rem;
      text-decoration: none;
      transition: transform 0.2s ease, background 0.2s ease;
    }
    .download-bib:hover {
      transform: translateY(-1px);
      background: var(--blue);
    }

    .research-page {
      display: flex;
      flex-direction: column;
      gap: 2rem;
      padding-bottom: 3rem;
      background: linear-gradient(180deg, rgba(231, 244, 255, 0.9) 0%, rgba(231, 244, 255, 0.2) 60%, transparent 100%);
      padding-top: 1rem;
    }

    .research-hero {
      position: relative;
      min-height: 360px;
      overflow: hidden;
      margin: 0;
      width: 100%;
      background: transparent;
      color: var(--white);
      box-shadow: none;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .research-hero-title {
      font-size: clamp(1.95rem, 3vw, 2.5rem);
      margin-bottom: 0.35rem;
      letter-spacing: -0.02em;
      line-height: 1.3;
      max-width: min(640px, 90vw);
      margin-left: auto;
      margin-right: auto;
    }
    .research-hero-subhead {
      font-size: clamp(1.3rem, 2.1vw, 1.75rem);
      font-weight: 500;
      letter-spacing: -0.01em;
      margin: 0;
      color: rgba(255, 255, 255, 0.92);
    }
    .research-hero p {
      font-size: 1rem;
      line-height: 1.6;
      color: rgba(255, 255, 255, 0.85);
    }
    .research-hero-media {
      position: absolute;
      inset: 0;
      background-image: linear-gradient(135deg, rgba(11, 38, 59, 0.4), rgba(15, 76, 129, 0.3)),
        url('images/research.png');
      background-size: cover;
      background-position: center;
    }
    .research-hero-copy {
      position: relative;
      padding: clamp(2rem, 4vw, 3rem);
      text-align: center;
      max-width: 720px;
      z-index: 1;
    }
    .research-eyebrow {
      letter-spacing: 0.4em;
      text-transform: uppercase;
      font-size: 0.8rem;
      margin-bottom: 0.5rem;
      color: rgba(255, 255, 255, 0.85);
    }

    .research-content {
      width: min(1100px, 100% - 3rem);
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 2rem;
      position: relative;
    }

    .research-content::after {
      content: '';
      position: absolute;
      inset: auto 8% 0 8%;
      height: 80%;
      z-index: -1;
      background: radial-gradient(circle at right, rgba(74, 131, 197, 0.25), transparent 65%),
        radial-gradient(circle at left, rgba(74, 131, 197, 0.25), transparent 60%);
      transform: translateY(50px);
    }

    .research-card {
      background: transparent;
      padding: 0;
      border: none;
      box-shadow: none;
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
      border-left: 4px solid rgba(15, 76, 129, 0.3);
      padding-left: 1.5rem;
    }
    .research-interest {
      display: grid;
      grid-template-columns: minmax(280px, 1fr) 1fr;
      gap: 2rem;
      align-items: center;
    }
    .research-interest figure,
    .ongoing-item figure {
      margin: 0;
      border-radius: 14px;
      overflow: hidden;
      border: none;
      box-shadow: 0 18px 35px rgba(15, 76, 129, 0.15);
    }
    .research-interest figure img,
    .ongoing-item figure img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      max-height: 320px;
    }
    .research-interest figure figcaption,
    .ongoing-item figure figcaption {
      font-size: 0.85rem;
      color: var(--gray60);
      padding: 0.6rem 0.75rem;
      background: rgba(255, 255, 255, 0.8);
    }
    .research-ongoing .research-section-header h2 {
      margin-bottom: 0.25rem;
    }
    .research-section-header p {
      color: var(--gray60);
      margin: 0;
      font-size: 0.95rem;
    }

    .ongoing-list {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }
    .ongoing-item {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 320px;
      gap: 1.75rem;
      align-items: center;
    }
    .ongoing-item h3 {
      margin: 0 0 0.6rem;
      font-size: 1.3rem;
      color: var(--ink);
    }
    .ongoing-item-copy p {
      margin: 0;
      line-height: 1.7;
      color: var(--gray80);
    }
    .research-card.research-interests {
      background: var(--white);
      border-radius: 24px;
      padding: clamp(1.5rem, 2vw, 2.5rem);
      width: min(1200px, 100% - 2rem);
      box-shadow: 0 25px 45px rgba(15, 76, 129, 0.15);
      border: none;
    }
    .interest-grid {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      margin-top: 1rem;
    }
    .interest-item {
      display: grid;
      grid-template-columns: minmax(0, 320px) 1fr;
      gap: 1.5rem;
      align-items: center;
      background: var(--white);
      border-radius: 18px;
      border: 1px solid var(--gray05);
      padding: 1.2rem;
      box-shadow: 0 20px 35px rgba(15, 76, 129, 0.1);
    }
    .interest-media {
      margin: 0;
      border-radius: 14px;
      overflow: hidden;
      border: none;
      box-shadow: 0 12px 25px rgba(15, 76, 129, 0.15);
    }
    .interest-media video,
    .interest-media img {
      width: 100%;
      height: 100%;
      max-height: 220px;
      display: block;
      object-fit: cover;
    }
    .interest-media figcaption {
      font-size: 0.85rem;
      color: var(--gray60);
      padding: 0.6rem 0.75rem;
      background: rgba(255, 255, 255, 0.85);
    }
    .interest-item-copy h3 {
      margin: 0 0 0.45rem;
      font-size: 1.35rem;
      color: var(--ink);
    }
    .interest-item-copy p {
      margin: 0;
      color: var(--gray80);
      line-height: 1.7;
    }

    @media (max-width: 900px) {
      .research-card.research-interests {
        width: 100%;
      }
      .interest-item {
        grid-template-columns: 1fr;
      }
      .interest-media video {
        max-height: 260px;
      }
    }
    .publication-page {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 1.5rem;
      padding: 1.5rem 0 3rem;
      background: var(--sky);
    }
    .publication-hero {
      width: 100%;
      border-radius: 0;
      overflow: hidden;
      position: relative;
      background-image:
        linear-gradient(135deg, rgba(15, 76, 129, 0.4), rgba(29, 130, 207, 0.35)),
        url("./images/publications.png");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      color: var(--white);
      padding: clamp(2rem, 4vw, 2.75rem);
      min-height: 280px;
      box-shadow: none;
      text-align: left;
      border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    }
    .publication-hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.35), transparent 55%);
      opacity: 0.6;
      pointer-events: none;
    }
    .publication-hero-content {
      position: relative;
      z-index: 1;
      max-width: 960px;
      margin: 0 auto;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 1rem;
    }
    .publication-hero h1 {
      font-size: clamp(2.5rem, 4vw, 3rem);
      margin-bottom: 0.5rem;
      letter-spacing: -0.02em;
    }
    .publication-hero p {
      color: rgba(255, 255, 255, 0.9);
      margin-bottom: 1.25rem;
      line-height: 1.7;
    }

    .publication-fun-lines {
      color: rgba(255, 255, 255, 0.95);
      font-size: clamp(1.3rem, 3vw, 1.6rem);
      line-height: 1.8;
      margin-bottom: 1.75rem;
      max-width: 760px;
      text-align: center;
      margin-left: auto;
      margin-right: auto;
    }

    .publication-hero .download-bib {
      margin-top: 0;
      background: #fff;
      color: var(--ink);
    }

    .publication-list {
      width: min(1200px, 100% - 2rem);
      margin: 0 auto 3rem;
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }
    .publication-group {
      padding-bottom: clamp(1.5rem, 2.5vw, 2rem);
    }
    .publication-group-header {
      margin-bottom: 1rem;
    }
    .publication-eyebrow {
      text-transform: uppercase;
      letter-spacing: 0.4em;
      font-size: 0.78rem;
      color: rgba(11, 38, 59, 0.7);
      margin-bottom: 0.35rem;
    }
    .publication-group-header h2 {
      margin: 0;
      font-size: clamp(1.9rem, 3vw, 2.3rem);
      color: var(--ink);
      letter-spacing: -0.02em;
    }
    .publication-group-header p {
      margin: 0.35rem 0 0;
      color: var(--gray60);
      max-width: 640px;
    }
    .publication-entries {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .publication-entry {
      padding: 0;
    }
    .publication-entry h3 {
      font-size: clamp(1.3rem, 2vw, 1.6rem);
      margin: 0 0 0.25rem;
      font-weight: 600;
    }
    .publication-entry h3 a {
      color: #6c3ce7;
      text-decoration: none;
      transition: color 0.2s ease;
    }
    .publication-entry h3 a:hover {
      color: #4a28a3;
    }
    .publication-authors {
      margin: 0;
      color: var(--gray60);
      font-style: normal;
      font-weight: 500;
    }
    .publication-meta {
      margin: 0;
      color: rgba(0, 0, 0, 0.55);
      letter-spacing: 0.35em;
      font-size: 0.85rem;
      text-transform: uppercase;
    }

    @media (max-width: 900px) {
      .research-hero {
        min-height: 320px;
      }
      .research-interest {
        grid-template-columns: 1fr;
      }
      .ongoing-item {
        grid-template-columns: 1fr;
      }
      .research-content {
        width: 100%;
      }
      .research-hero-copy {
        padding: 2rem;
      }
      .publication-hero {
        padding: 2rem;
      }
      .publication-list {
        width: 100%;
      }
    }
    @media (max-width: 900px) {
      .hero-layout {
        grid-template-columns: 1fr;
      }
      .hero-photo {
        width: 70%;
        max-width: 320px;
        margin: 0 auto;
        transform: none;
      }
    }
    .video-container {
      margin-bottom: 1.5rem;
    }
    .video-container video {
      width: 100%;
      border-radius: 8px;
      background: var(--gray05);
    }
    .video-caption {
      margin-top: 0.75rem;
      font-size: 0.95rem;
      color: var(--gray60);
      text-align: center;
    }
    section {
      background: var(--white);
      padding: 2.5rem;
      margin-bottom: 2rem;
      border-radius: 8px;
      border: 1px solid var(--gray05);
      transition: box-shadow 0.2s ease;
      width: 100%;
      box-sizing: border-box;
    }
    section:hover {
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
    section.publication-list {
      background: transparent;
      border: none;
      padding: 0;
      margin-bottom: 0;
      box-shadow: none;
    }
    .publication-list {
      width: min(1200px, 100% - 2rem);
      margin: 0 auto 3rem;
      display: flex;
      flex-direction: column;
      gap: 2rem;
      background: var(--white);
      border: 1px solid rgba(11, 38, 59, 0.08);
      border-radius: 28px;
      padding: clamp(2rem, 3vw, 2.75rem);
      box-shadow: 0 25px 45px rgba(11, 38, 59, 0.12);
    }
    h2 {
      font-size: clamp(1.3rem, 3vw, 1.5rem);
      color: var(--black);
      margin-bottom: 1.5rem;
      font-weight: 600;
      letter-spacing: -0.01em;
      position: relative;
      padding-bottom: 0.5rem;
    }
    h2::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 40px;
      height: 2px;
      background: var(--green);
    }
    ul {
      list-style: none;
    }
    li {
      color: var(--gray80);
      margin-bottom: 1.5rem;
      line-height: 1.7;
    }
    li:last-child {
      margin-bottom: 0;
    }
    li strong {
      color: var(--black);
      font-weight: 600;
      display: block;
      margin-bottom: 0.25rem;
    }
    li em {
      color: var(--gray60);
      font-style: normal;
      font-size: 0.95rem;
    }
    a {
      color: var(--green);
      text-decoration: none;
      transition: opacity 0.2s ease;
    }
    a:hover, a:focus {
      opacity: 0.7;
    }
    /* Focus visibility for keyboard users */
    a:focus-visible, button:focus-visible {
      outline: 2px solid var(--blue);
      outline-offset: 2px;
    }
    address {
      color: var(--gray80);
      font-style: normal;
      line-height: 1.8;
      font-size: clamp(0.85rem, 2vw, 1rem);
    }
    address strong {
      color: var(--black);
      font-weight: 600;
      font-size: clamp(0.9rem, 2.2vw, 1.05rem);
    }
    /* Graphical Abstracts */
    .paper-item {
      display: flex;
      gap: 1.5rem;
      align-items: flex-start;
    }
    .paper-content {
      flex: 1;
      min-width: 0;
    }
    .graphical-abstract {
      flex-shrink: 0;
      width: 300px;
      padding: 0.5rem;
      background: var(--white);
      border-radius: 6px;
    }
    .graphical-abstract img {
      width: 100%;
      height: auto;
      border-radius: 4px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .graphical-abstract img:hover {
      transform: scale(1.02);
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }

    @media (max-width: 768px) {
      .paper-item {
        flex-direction: column;
      }
      .graphical-abstract {
        width: 100%;
        max-width: 600px;
        margin: 1rem auto 0;
      }
    }
    /* Teaching Timeline */
    .teaching-timeline {
      position: relative;
      padding-left: 2rem;
    }
    .teaching-timeline::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      width: 2px;
      background: var(--gray05);
    }
    .teaching-item {
      position: relative;
      padding-bottom: 2rem;
    }
    .teaching-item::before {
      content: '';
      position: absolute;
      left: -2.5rem;
      top: 0;
      width: 12px;
      height: 12px;
      background: var(--green);
      border-radius: 50%;
      border: 3px solid var(--white);
      box-shadow: 0 0 0 3px var(--gray05);
    }
    .teaching-period {
      color: var(--green);
      font-weight: 600;
      margin-bottom: 0.5rem;
    }
    .teaching-title {
      font-size: clamp(1.1rem, 2.5vw, 1.3rem);
      color: var(--black);
      margin-bottom: 0.5rem;
    }
    .teaching-description {
      color: var(--black);
      line-height: 1.8;
    }
    .supervision-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1.5rem;
      margin-top: 1rem;
    }
    .supervision-grid article {
      background: rgba(255, 255, 255, 0.7);
      border-radius: 16px;
      padding: 1.25rem;
      box-shadow: 0 18px 35px rgba(15, 76, 129, 0.08);
      border: 1px solid rgba(15, 76, 129, 0.08);
    }
    .supervision-grid .masters-card {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: clamp(1rem, 2vw, 1.5rem);
    }
    .supervision-grid .masters-card .masters-content {
      flex: 1;
    }
    .supervision-grid .masters-photo {
      margin: 0;
      width: 180px;
      height: 220px;
      flex-shrink: 0;
      text-align: center;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .supervision-grid .masters-photo img {
      width: 100%;
      height: 180px;
      border-radius: 18px;
      display: block;
      object-fit: cover;
      box-shadow: 0 16px 30px rgba(15, 76, 129, 0.25);
    }
    .supervision-grid .masters-photo figcaption {
      margin-top: 0.6rem;
      font-size: 0.85rem;
      color: var(--gray60);
    }
    .supervision-grid h3 {
      margin-top: 0;
      margin-bottom: 0.75rem;
      color: var(--ink);
    }
    .supervision-grid ul {
      list-style: none;
      padding-left: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }
    .course-list {
      list-style: none;
      padding-left: 0;
      margin-top: 1rem;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }
    .course-list li {
      background: rgba(255, 255, 255, 0.82);
      border-radius: 14px;
      padding: 1rem 1.25rem;
      border: 1px solid rgba(15, 76, 129, 0.08);
      box-shadow: 0 12px 25px rgba(15, 76, 129, 0.08);
    }
    
    /* Footer */
    footer {
      padding: 1rem;
      background: var(--gray05);
      border-top: 1px solid var(--gray05);
      text-align: center;
      width: 100%;
    }

    /* skip-link styles removed */
    
    /* Responsive adjustments */
    @media (max-width: 968px) {
      .nav-menu {
        position: fixed;
        top: var(--nav-height);
        right: -250px;
        width: 250px;
        height: calc(100vh - var(--nav-height));
        background: var(--white);
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 0.5rem;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
      }
      .nav-menu.active {
        right: 0;
      }
      .mobile-menu-toggle {
        display: block;
      }
      .container {
        flex-direction: column;
      }
      .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--gray05);
        top: 0;
      }
      .main-and-footer {
        width: 100%;
      }
      .main-content {
        max-width: 95vw;
        padding: clamp(1.5rem, 4vw, 2.5rem);
      }
      .supervision-grid .masters-card {
        flex-direction: column;
      }
      .supervision-grid .masters-photo {
        width: 100%;
      }
    }
    
    @media (max-width: 600px) {
      .nav-container {
        padding: 0 1rem;
      }
      h1 {
        font-size: 1.5rem;
      }
      .title {
        font-size: 0.8rem;
      }
      .main-content {
        max-width: 98vw;
        padding: clamp(1rem, 3vw, 1.5rem);
      }
      section {
        padding: 1.5rem;
      }
      .bio {
        padding: 1.5rem;
      }
    }

    /* Respect reduced motion preferences */
    @media (prefers-reduced-motion: reduce) {
      .nav-menu { transition: none !important; }
      .graphical-abstract img { transition: none !important; }
    }

    @media (prefers-color-scheme: dark) {
      :root {
        --white: #181c20;
        --black: #f3f3f3;
        --green: #4ea1ff;
        --blue: #7ecfff;
        --gray05: #23272e;
        --gray60: #b7b7b7;
        --gray80: #e3e3e3;
        --surface: #23272e;
        --surface-hover: #26303a;
      }
      body {
        background: var(--gray05);
        color: var(--black);
      }
      .header-nav {
        background: var(--white);
        border-bottom-color: var(--green);
      }
      .sidebar, .bio, section, .graphical-abstract {
        background: var(--white);
        border-color: var(--surface);
      }
      .nav-menu {
        background: var(--white);
      }
      .nav-menu a:hover, .nav-menu a.active {
        color: var(--green);
        background: var(--surface-hover);
      }
      .contact-info p, .contact-info i, .title, .teaching-description, .teaching-title, .paper-content, address, li, .social-links a {
        color: var(--gray60);
      }
      h1, h2, .teaching-period, .teaching-title, .paper-content strong, address strong, li strong {
        color: var(--black);
      }
      a {
        color: var(--green);
      }
      a:hover, a:focus {
        opacity: 0.8;
      }
      /* skip-link styles removed */
      footer {
        background: var(--gray05);
        border-top: 1px solid var(--surface);
        color: var(--gray60);
      }
    }