
/* Import fonts used on the site; the HTML should include the matching link or you may import here */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Merriweather:wght@700;900&display=swap');

:root {
  /* Light theme with cyan and yellow accent palette */
  --bg: #ffffff;
  --bg-gradient: linear-gradient(135deg, #f6f9fc 0%, #ffffff 100%);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  --text: #1a1f36;
  --muted: #64748b;
  --accent: #06b6d4; /* vibrant cyan */
  --accent-light: #fbbf24; /* bright yellow */
  --accent-gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  --container: 1140px; /* wider container for modern look */
  --header-bg: rgba(255, 255, 255, 0.8);
  --surface: var(--glass-bg);
  --border: rgba(226, 232, 240, 0.8);
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --hover-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  --hover-transform: translateY(-5px);
  
  /* Modern spacing units */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Typography */
  --heading-line-height: 1.3;
  --body-line-height: 1.7;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #071023;
    --bg-gradient: linear-gradient(to bottom right, #071023, #0c1832);
    --bg-pattern: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zm32.284 0L49.8 6.485 48.384 7.9l-7.9-7.9h2.83zM16.686 0L10.2 6.485 11.616 7.9l7.9-7.9h-2.83zm20.97 0l9.315 9.314-1.414 1.414L34.828 0h2.83zM22.344 0L13.03 9.314l1.414 1.414L25.172 0h-2.83zM32 0l12.142 12.142-1.414 1.414L30 .828 17.272 13.556l-1.414-1.414L28 0h4zM.284 0l28 28-1.414 1.414L0 2.544V0h.284zM0 5.373l25.456 25.455-1.414 1.415L0 8.2V5.374zm0 5.656l22.627 22.627-1.414 1.414L0 13.86v-2.83zm0 5.656l19.8 19.8-1.415 1.413L0 19.514v-2.83zm0 5.657l16.97 16.97-1.414 1.415L0 25.172v-2.83zM0 28l14.142 14.142-1.414 1.414L0 30.828V28zm0 5.657L11.314 44.97 9.9 46.386l-9.9-9.9v-2.828zm0 5.657L8.485 47.8 7.07 49.212 0 42.143v-2.83zm0 5.657l5.657 5.657-1.414 1.415L0 47.8v-2.83zm0 5.657l2.828 2.83-1.414 1.413L0 53.456v-2.83zM54.627 60L30 35.373 5.373 60H8.2L30 38.2 51.8 60h2.827zm-5.656 0L30 41.03 11.03 60h2.828L30 43.858 46.142 60h2.83zm-5.656 0L30 46.686 16.686 60h2.83L30 49.515 40.485 60h2.83zm-5.657 0L30 52.343 22.344 60h2.83L30 55.172 34.828 60h2.83zM32 60l-2-2-2 2h4zM59.716 0l-28 28 1.414 1.414L60 2.544V0h-.284zM60 5.373L34.544 30.828l1.414 1.415L60 8.2V5.374zm0 5.656L37.373 33.656l1.414 1.414L60 13.86v-2.83zm0 5.656l-19.8 19.8 1.415 1.413L60 19.514v-2.83zm0 5.657l-16.97 16.97 1.414 1.415L60 25.172v-2.83zM60 28L45.858 42.142l1.414 1.414L60 30.828V28zm0 5.657L48.686 44.97l1.415 1.415 9.9-9.9v-2.828zm0 5.657L51.515 47.8l1.414 1.413 7.07-7.07v-2.83zm0 5.657l-5.657 5.657 1.414 1.415L60 47.8v-2.83zm0 5.657l-2.828 2.83 1.414 1.413L60 53.456v-2.83zM39.9 16.385l1.414-1.414L30 3.658 18.686 14.97l1.415 1.415 9.9-9.9 9.9 9.9zm-2.83 2.828l1.415-1.414L30 9.313 21.515 17.8l1.414 1.413 7.07-7.07 7.07 7.07zm-2.827 2.83l1.414-1.416L30 14.97l-5.657 5.657 1.414 1.415L30 17.8l4.242 4.242zm-2.83 2.827l1.415-1.414L30 20.626l-2.828 2.83 1.414 1.414L30 23.456l1.414 1.414zM56.87 59.414L58.284 58 30 29.716 1.716 58l1.414 1.414L30 32.544l26.87 26.87z' fill='%23FFFFFF' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
    --text: #e6eef8;
    --muted: #9aa8bd;
    --accent: #22d3ee; /* bright cyan for dark mode */
    --accent-light: #fcd34d; /* bright yellow for dark mode */
    --header-bg: transparent;
    --surface: transparent;
    --border: #22303f;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Adjusts scroll position to account for fixed header */
}

body {
  background: #ffffff url('/assets/images/bunny_shootingstar.png') no-repeat center center fixed;
  background-size: cover;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #f7fafc;
  margin: 0;
  min-height: 100vh;
  font-size: 16px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-md);
  position: relative;
}

.site-header {
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-smooth);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-title {
  margin: 0;
  font-family: 'Merriweather', serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
}

.site-nav {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.site-nav a:hover {
  color: var(--text);
  text-decoration: underline;
  background: transparent;
}

.site-nav a.active {
  color: var(--text);
  font-weight: 600;
  position: relative;
}

.site-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  transform: scaleX(1);
  transition: transform 0.3s ease;
}

.hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.profile-section {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.profile-info {
  flex: 1;
}

.profile-info h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.profile-info h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #06b6d4;
  margin: 0 0 0.25rem;
}

.profile-info h2::after {
  display: none;
}

.profile-info h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 1.5rem;
}

/* Contact Links */
.contact-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #f8fafc;
  color: #334155;
  text-decoration: none;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  font-weight: 500;
  transition: all 0.2s ease;
}

.contact-links a:hover {
  background: #06b6d4;
  color: white;
  border-color: #06b6d4;
  transform: translateY(-1px);
}

/* Publication Buttons */
.project-publications {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.publication-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #1d4ed8 !important;
  color: white !important;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border: 2px solid #1d4ed8;
}

.publication-btn:hover {
  background: #1e40af !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

.publication-btn::before {
  content: "📄";
  margin-right: 0.25rem;
}

.press-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #dc2626 !important;
  color: white !important;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border: 2px solid #dc2626;
}

.press-btn:hover {
  background: #b91c1c !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.press-btn::before {
  content: "📰";
  margin-right: 0.25rem;
}

/* Subsection Publication Buttons */
.subsection-publications {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(226, 232, 240, 0.3);
}

.subsection-btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Intro Content within Hero */
.intro-content {
  margin-top: 3rem;
  padding-top: 3rem;
  color: #f7fafc;
  border-top: 1px solid rgba(226, 232, 240, 0.3);
}

.intro-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #f7fafc;
  margin: 0 0 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #06b6d4;
}

.intro-content p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #f7fafc;
  margin-bottom: 1.5rem;
}

.intro-content a {
  color: #06b6d4;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.intro-content a:hover {
  color: #fbbf24;
  text-decoration: underline;
}

.profile-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #e2e8f0;
  flex-shrink: 0;
}

.profile-photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(6, 182, 212, 0.3);
}

/* Contact information within the profile block */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.9rem;
}

.contact-label {
  font-weight: 600;
  color: #1a202c;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-item a {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: var(--accent-yellow);
  text-decoration: underline;
}

.contact-item span:not(.contact-label) {
  color: #2d3748;
  font-weight: 400;
}

.text-block h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text);
  background: var(--accent-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-block h2 {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 1.5rem;
  color: var(--accent-cyan);
}

.hero-right p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text);
  font-weight: 400;
}

.hero-right p.intro {
  font-size: 1.15rem;
  line-height: 1.7;
  font-weight: 300;
  color: var(--muted);
}

/* Sheer overlay for readability over background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  pointer-events: none;
  z-index: 0;
}

@media (prefers-color-scheme: dark) {
  .hero::before { background: rgba(3,10,20,0.6); }
}

.timeline {
  position: relative;
  margin: 2.5rem 0;
  padding-left: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.25rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 1rem;
  padding: 1rem 0;
  background: transparent;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border);
  transition: transform 0.12s ease;
}

.timeline-item:hover {
  transform: translateY(-1px);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.25rem;
  top: 1.1rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--accent);
}

.timeline-item .date {
  display: inline-block;
  padding: 0.12rem 0.5rem;
  background: transparent;
  color: var(--muted);
  border-radius: 0.6rem;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.timeline-item h3 {
  margin: 0 0 0.35rem;
  color: var(--text);
  font-family: 'Merriweather', serif;
  font-size: 1.125rem;
  font-weight: 700;
}

.project-details {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.project-details h4 {
  color: var(--text);
  margin-bottom: 0.6rem;
}

.project-details ul {
  list-style: none;
  padding: 0;
}

.project-details li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.project-details li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.press-links {
  margin-top: 1rem;
}

.press-links li {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  transition: all var(--transition-smooth);
}

.press-links li:hover {
  background: rgba(6, 182, 212, 0.15);
  transform: translateX(4px);
}

.press-links li::before {
  content: '📰';
  color: var(--accent);
}

.press-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

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

.figures-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
  align-items: start;
}

.figure-item {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: all var(--transition-smooth);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
}

.figure-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.figure-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0.5rem;
  background: #f9f9f9;
  border: 1px solid #e2e8f0;
}

.figure-caption {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.figure-caption strong {
  color: var(--text);
}

/* FRB Expanded Section Styling */
.frb-expanded {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(251, 191, 36, 0.05) 100%), var(--glass-bg);
  border: 2px solid rgba(6, 182, 212, 0.2);
  position: relative;
}

.frb-expanded::before {
  height: 6px;
  background: var(--accent-gradient);
  transform: scaleX(1);
}

.frb-overview {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(6, 182, 212, 0.1);
}

.frb-subsections {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.frb-subsection {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all var(--transition-smooth);
}

.frb-subsection:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.15);
}

.subsection-title {
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.subsection-highlights {
  margin: 1rem 0;
}

.subsection-highlights ul {
  list-style: none;
  padding: 0;
}

.subsection-highlights li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--muted);
  line-height: 1.6;
}

.subsection-highlights li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Text with wrapped figure layout */
.text-with-figure {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}

.text-content {
  flex: 1;
  min-width: 0;
}

.figure-wrap {
  flex: 0 0 45%;
  max-width: 45%;
}

.figure-wrap .figure-item {
  margin: 0;
  max-width: 100%;
}

.figure-wrap .figure-image {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .text-with-figure {
    flex-direction: column;
    gap: 1rem;
  }
  
  .figure-wrap {
    flex: none;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .frb-subsections {
    gap: 1.5rem;
  }
  
  .frb-subsection {
    padding: 1rem;
  }
  
  .subsection-title {
    font-size: 1.1rem;
  }
}

.publication-list {
  display: grid;
  gap: 0.75rem;
}

.publication-item {
  padding: 1rem 0;
  background: transparent;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border);
  transition: transform 0.12s ease;
}

.publication-item:hover {
  transform: translateY(-1px);
}

.publications-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.format-controls {
  display: flex;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent-gradient);
  color: #fff;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all var(--transition-smooth);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.2);
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.3);
}

.btn:hover::after {
  opacity: 1;
}

.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: none;
}

.btn.ghost:hover {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
}

@media (max-width: 768px) and (min-width: 481px) {
  .hero {
    gap: 1.5rem;
  }
  
  .profile-block {
    flex: 0 0 250px;
    max-width: 250px;
  }
  
  .text-block {
    flex: 0 0 350px;
    max-width: 350px;
  }
  
  .hero-block {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 0;
  }

  .profile-block {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .profile-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .text-block {
    width: 100%;
  }

  .profile-photo {
    width: 120px;
    height: 120px;
  }

  .text-block h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .intro {
    font-size: 1rem;
    line-height: 1.5;
  }
}

@media (prefers-color-scheme: dark) {
  .publication-item:hover {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.3);
  }
}

.loading {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
}

/* Subtle entrance animation for list items */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.timeline-item {
  animation: fadeIn 0.45s ease-out forwards;
  opacity: 0;
}

.timeline-item:nth-child(1) { animation-delay: 0.05s; }
.timeline-item:nth-child(2) { animation-delay: 0.12s; }
.timeline-item:nth-child(3) { animation-delay: 0.18s; }

/* Academic Components */

/* Research Interests */
.research-intro {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.research-section-title {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 2rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.research-interests {
  margin: 2rem 0;
}

.interests-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.interests-list li {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  transition: transform 0.2s ease;
}

.interests-list li:hover {
  transform: translateY(-2px);
}

/* Publications */
.publication-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 1rem;
  border: 1px solid var(--glass-border);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.publication-item:hover {
  transform: var(--hover-transform);
  box-shadow: var(--hover-shadow);
}

.publication-item h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.35rem;
  margin: 0;
  line-height: var(--heading-line-height);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.publication-item .authors {
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.publication-item .venue {
  font-style: italic;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 500;
}

.publication-links {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.publication-links .btn {
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
}

/* Citation styles */
.citation-box {
  margin-top: 0.5rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 0.5rem;
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  white-space: pre-wrap;
  display: none;
}

.dark .citation-box {
  background: rgba(255, 255, 255, 0.03);
}

/* Research timeline enhanced */
.research-timeline {
  position: relative;
  margin: 2rem 0;
}

.research-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.research-item:last-child {
  border-bottom: none;
}

.research-item .period {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: var(--accent);
}

.research-content h3 {
  margin: 0 0 0.5rem;
  font-family: 'Merriweather', serif;
}

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

/* Project cards */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

/* Smaller research blocks for non-FRB projects */
.project-card:not(.frb-expanded) {
  padding: 1.5rem;
  min-height: auto;
}

.project-card:not(.frb-expanded) .figures-gallery {
  grid-template-columns: 1fr;
  gap: 1rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 2.5rem;
  transition: all var(--transition-smooth);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  position: relative;
  min-height: 300px;
  color: #1a1f36;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
}

.project-card:hover {
  transform: var(--hover-transform);
  box-shadow: var(--hover-shadow);
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card h3 {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  margin: 0 0 var(--space-md);
  background: var(--accent-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: var(--heading-line-height);
}

.project-meta {
  font-size: 0.875rem;
  color: #4a5568;
  margin-bottom: 1rem;
  font-weight: 500;
}

.project-card p {
  color: #2d3748;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.project-card li {
  color: #2d3748;
}

.project-card a {
  color: #06b6d4;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.project-card a:hover {
  color: #fbbf24;
  text-decoration: underline;
}

.project-card h4 {
  color: #1a202c;
  font-weight: 600;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.project-tag {
  padding: 0.25rem 0.75rem;
  background: var(--accent);
  color: white;
  border-radius: 1rem;
  font-size: 0.75rem;
}

/* Section styling for full-height scrolling */
section[id] {
  min-height: 100vh;
  padding: var(--space-xl) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-margin-top: 80px;
}

/* Enhanced section headers */
section h2 {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  margin: 3rem 0 2rem;
  position: relative;
  color: #f7fafc;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 3rem;
  height: 2px;
  background: var(--accent);
}

/* Contact section */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.contact-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}

.contact-card h3 {
  font-family: 'Merriweather', serif;
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

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

.contact-info a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info a:hover {
  color: var(--accent-light);
}

/* Responsive adjustments */
/* Outreach Section Styling */
.outreach-intro {
  color: #2d3748;
  font-size: 1.25rem;
  line-height: 1.7;
  margin: 2rem auto;
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 2px solid #06b6d4;
  border-radius: 2rem;
  position: relative;
  max-width: 800px;
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.15);
}

.outreach-intro::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-left: 2px solid #06b6d4;
  border-top: 2px solid #06b6d4;
  transform: rotate(45deg);
}

.publication-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.outreach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.outreach-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all var(--transition-smooth);
  box-shadow: var(--card-shadow);
  text-align: center;
  color: #1a1f36;
}

.outreach-item:hover {
  transform: var(--hover-transform);
  box-shadow: var(--hover-shadow);
}

.outreach-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.outreach-item h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #1a202c;
  font-weight: 600;
}

.outreach-item p {
  color: #2d3748;
  margin-bottom: 1.5rem;
  text-align: left;
  font-weight: 400;
}

.outreach-details ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.outreach-details li {
  color: #2d3748;
  font-weight: 400;
}

.outreach-details li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
}

.outreach-details li::before {
  content: '✨';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.outreach-contact {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.3) 0%, rgba(251, 191, 36, 0.3) 100%);
  border: 1px solid rgba(6, 182, 212, 0.4);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}

.outreach-contact h3 {
  font-family: 'Merriweather', serif;
  color: var(--accent);
  margin-bottom: 1rem;
}

.outreach-contact p {
  color: #ffffff;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .research-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .publication-links {
    flex-wrap: wrap;
  }
  
  .publication-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  section h2 {
    font-size: 1.75rem;
  }

  .project-card {
    padding: 1.25rem;
  }
  
  .outreach-item {
    padding: 1.5rem;
  }

  .figures-gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .figure-item {
    padding: 1rem;
  }
}

/* Interactive Outreach Presentation Styling */
.outreach-presentations {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin: 2rem 0;
}

.presentation-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.presentation-header {
  padding: 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(251, 191, 36, 0.1) 100%);
}

.presentation-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, #06b6d4 0%, #fbbf24 100%);
  border-radius: 1rem;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.presentation-logo {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  display: block;
}

.presentation-header h3 {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  color: #1a202c;
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.presentation-tagline {
  font-size: 1.125rem;
  color: #06b6d4;
  font-weight: 600;
  margin: 0;
  font-style: italic;
}

.slideshow-container {
  position: relative;
  max-width: 100%;
  margin: auto;
}

.outreach-slide {
  display: none;
  padding: 2rem;
  background: white;
}

.outreach-slide.active {
  display: block;
}

.slide-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.slide-text h4 {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  color: #1a202c;
  margin: 0 0 1rem;
  font-weight: 600;
}

.slide-text p {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #2d3748;
  margin-bottom: 1rem;
}

.slide-highlights {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.slide-highlights li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #4a5568;
  line-height: 1.6;
}

.slide-highlights li::before {
  content: "✨";
  position: absolute;
  left: 0;
  top: 0;
  color: #06b6d4;
}

.slide-image {
  text-align: center;
}

.presentation-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 2px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.photo-caption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #4a5568;
  font-style: italic;
}

.highlight-stat {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #06b6d4 0%, #fbbf24 100%);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2);
  margin-bottom: 1rem;
}

.stat-number {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* Navigation buttons */
.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(6, 182, 212, 0.8);
  color: white;
  border: none;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 1rem;
  cursor: pointer;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.slide-nav:hover {
  background: #06b6d4;
  transform: translateY(-50%) scale(1.1);
}

.slide-nav.prev {
  left: 1rem;
}

.slide-nav.next {
  right: 1rem;
}

/* Slide indicators */
.slide-dots {
  text-align: center;
  padding: 1rem 0;
  background: rgba(6, 182, 212, 0.05);
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 0.25rem;
  background-color: rgba(6, 182, 212, 0.3);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
  background-color: #06b6d4;
}

.presentation-footer {
  padding: 1.5rem 2rem;
  text-align: center;
  background: rgba(6, 182, 212, 0.05);
}

.event-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: white;
  text-decoration: none;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.event-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.4);
  background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .main-container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .slide-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .presentation-photo {
    height: 200px;
  }
  
  .slide-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    padding: 0.5rem;
  }
  
  .slide-nav.prev {
    left: 0.5rem;
  }
  
  .slide-nav.next {
    right: 0.5rem;
  }
  
  .presentation-header {
    padding: 1.5rem 1rem;
  }
  
  .presentation-icon {
    font-size: 2.5rem;
    padding: 0.75rem;
  }
  
  .presentation-header h3 {
    font-size: 1.5rem;
  }
  
  .outreach-slide {
    padding: 1rem;
  }
  
  .slide-text {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .outreach-contact {
    padding: 1.5rem;
    margin: 1rem 0;
  }
  
  .outreach-contact h3 {
    font-size: 1.4rem;
  }
  
  .research-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .research-item {
    padding: 1.5rem;
  }
  
  .research-item h4 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .main-container {
    padding: 0 0.75rem;
  }
  
  .presentation-header {
    padding: 1rem;
  }
  
  .presentation-header h3 {
    font-size: 1.3rem;
  }
  
  .presentation-tagline {
    font-size: 0.9rem;
  }
  
  .outreach-slide {
    padding: 0.75rem;
  }
  
  .slide-text {
    font-size: 0.9rem;
  }
  
  .slide-text p {
    margin-bottom: 1rem;
  }
  
  .presentation-photo {
    height: 180px;
  }
  
  .photo-caption {
    font-size: 0.8rem;
  }
  
  .outreach-contact {
    padding: 1rem;
  }
  
  .outreach-contact h3 {
    font-size: 1.2rem;
  }
  
  .outreach-contact p {
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}
