:root {
  color-scheme: light;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f8fafc;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.65;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-deep: #1e3a8a;
  --accent-purple: #7c3aed;
  --accent-teal: #0d9488;
  --accent-gold: #d97706;
  --accent-rose: #e11d48;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-solid: #ffffff;
  --surface-alt: #f1f5f9;
  --text: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --border: rgba(148, 163, 184, 0.25);
  --border-subtle: rgba(226, 232, 240, 0.8);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 5%, rgba(37, 99, 235, 0.12), transparent 30%),
    radial-gradient(circle at 90% 12%, rgba(124, 58, 237, 0.1), transparent 28%),
    radial-gradient(circle at 50% 90%, rgba(13, 148, 136, 0.08), transparent 35%),
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
  overflow-x: hidden;
}

body > * {
  position: relative;
  z-index: 1;
}

/* Page Loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  background: radial-gradient(circle at center, #0f172a 0%, #020617 100%);
  color: white;
  transition: opacity 500ms ease, visibility 500ms ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-photo {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.loader-ring {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: #38bdf8;
  border-right-color: #a855f7;
  animation: spin 0.9s linear infinite;
}

.loader-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f8fafc;
}

.loader-subtext {
  font-size: 0.85rem;
  color: #94a3b8;
  letter-spacing: 0.05em;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

a:hover {
  color: var(--primary-dark);
}

button, input, textarea {
  font: inherit;
}

.container {
  width: min(1220px, calc(100% - 2.5rem));
  margin: 0 auto;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

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

.brand-photo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.brand-role {
  font-size: 0.76rem;
  color: var(--text-subtle);
  font-weight: 500;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-full);
  transition: all 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-dark);
}

.nav-btn-cv {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%) !important;
  color: white !important;
  padding: 0.5rem 1rem !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  margin-left: 0.5rem;
}

.nav-btn-cv:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  background: white;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #334155;
  border-radius: 999px;
  transition: all 200ms ease;
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.ambient-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.65;
  animation: float 12s ease-in-out infinite alternate;
}

.orb-one {
  width: 320px;
  height: 320px;
  top: -5rem;
  right: -4rem;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22), transparent 70%);
}

.orb-two {
  width: 260px;
  height: 260px;
  left: -4rem;
  bottom: 1rem;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.18), transparent 70%);
  animation-duration: 14s;
}

.orb-three {
  width: 220px;
  height: 220px;
  left: 45%;
  top: 10%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.14), transparent 70%);
  animation-duration: 16s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(25px, 20px) scale(1.08); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 3rem;
  align-items: start;
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary-deep);
  border: 1px solid rgba(37, 99, 235, 0.18);
}

.hero-pill.gold {
  background: rgba(217, 119, 6, 0.1);
  color: #b45309;
  border-color: rgba(217, 119, 6, 0.25);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.eyebrow {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin: 0 0 0.5rem;
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 0.75rem;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.hero-affiliation {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-deep);
  margin: 0 0 1.25rem;
  line-height: 1.45;
}

.hero-description {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 200ms ease;
  text-decoration: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: white;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.button-primary:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

.button-secondary {
  background: white;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.button-secondary:hover {
  background: #f8fafc;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.button-ghost {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary-dark);
}

.button-ghost:hover {
  background: rgba(37, 99, 235, 0.15);
  color: var(--primary-deep);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
}

.contact-links a,
.contact-links span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.contact-links a:hover {
  color: var(--primary);
}

/* Hero Panel Right */
.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.panel-card {
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.panel-card:hover {
  box-shadow: var(--shadow-lg);
}

.profile-visual-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 249, 0.9));
}

.profile-photo-shell {
  width: 6.8rem;
  height: 6.8rem;
  min-width: 6.8rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid white;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
  position: relative;
  background: #e2e8f0;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-photo-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  background: #dbeafe;
}

.profile-photo-shell.fallback-visible .profile-photo-fallback {
  display: flex;
}

.profile-photo-caption h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.3rem;
  color: #0f172a;
}

.profile-photo-caption p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 0.6rem;
  line-height: 1.4;
}

.profile-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.badge-accent {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: #e0e7ff;
  color: #3730a3;
}

.hero-feature-card {
  border-left: 4px solid var(--primary);
}

.hero-feature-card h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

.feature-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

.stats-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.25rem;
  text-align: center;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-value {
  font-size: 1.55rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  line-height: 1.3;
}

/* Sections Common */
.section {
  padding: 5rem 0 3rem;
}

.section-heading {
  margin-bottom: 2.75rem;
}

.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}

.section-heading p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0;
}

.section-subheading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 2rem 0 1rem;
}

/* Card Grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

/* Info Cards (Highlights) */
.info-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 220ms ease;
  position: relative;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.35);
}

.info-card.highlight-card {
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
  border-color: rgba(37, 99, 235, 0.3);
}

.info-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.info-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #0f172a;
}

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

/* Timeline Cards */
.timeline-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all 220ms ease;
  position: relative;
}

.timeline-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.4);
}

.timeline-card.current {
  border-left: 5px solid var(--primary);
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

.timeline-card.postdoc-card {
  border-left: 5px solid var(--accent-purple);
  background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
}

.timeline-card.highlight-edu {
  border-left: 5px solid var(--accent-gold);
}

.timeline-card header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.timeline-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  color: #0f172a;
}

.role-badge {
  display: inline-block;
  width: 100%;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.role-badge.prestigious {
  color: var(--accent-purple);
}

.role-badge.gold-badge {
  color: #b45309;
}

.role-badge.phd-badge {
  color: #047857;
}

.tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--surface-alt);
  color: var(--text-subtle);
}

.meta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-deep);
  margin: 0 0 0.85rem;
}

.thesis-box {
  background: rgba(37, 99, 235, 0.05);
  border-left: 3px solid var(--primary);
  padding: 0.85rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem;
  margin: 0.75rem 0;
  color: #1e293b;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.tag-list span {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

/* Skills Cards */
.skill-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.skill-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.skill-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 1rem;
  color: #0f172a;
}

.skill-list-bullet {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.skill-list-bullet li {
  position: relative;
  padding-left: 1.25rem;
}

.skill-list-bullet li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
}

.cultural-card {
  background: linear-gradient(135deg, #ffffff 0%, #fdf4ff 100%);
  border-color: rgba(217, 70, 239, 0.2);
}

.cultural-pills {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

.cultural-pill {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 0.88rem;
  background: white;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(217, 70, 239, 0.2);
}

.cultural-pill strong {
  color: #a21caf;
}

.cultural-pill span {
  color: var(--text-muted);
}

.language-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}

.language-card strong {
  display: block;
  font-size: 1.1rem;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.language-card span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Award Cards */
.award-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 220ms ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.award-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.35);
}

.award-card.gold-border {
  border: 2px solid #f59e0b;
  background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
}

.award-card.highlight {
  border-color: rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
}

.award-trophy {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.award-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: #0f172a;
}

.award-issuer {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin: 0 0 0.5rem;
}

.award-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 1rem;
  flex-grow: 1;
}

.award-year {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--surface-alt);
  color: var(--text-subtle);
  align-self: flex-start;
}

/* Publication Section */
.pub-summary-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.pub-summary-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: center;
}

.pub-num {
  font-size: 2rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: -0.02em;
}

.pub-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #94a3b8;
}

.pub-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.pub-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pub-tab {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 180ms ease;
}

.pub-tab:hover {
  background: var(--surface-alt);
  color: var(--text);
}

.pub-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.pub-search-wrap {
  position: relative;
  width: min(360px, 100%);
}

.pub-search-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.4rem;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: white;
  color: var(--text);
  outline: none;
  transition: all 180ms ease;
}

.pub-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-subtle);
  pointer-events: none;
}

.publication-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.publication-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 220ms ease;
}

.publication-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
}

.publication-card.is-hidden {
  display: none !important;
}

.pub-card-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.65rem;
}

.pub-type-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pub-type-badge.published {
  background: #dcfce7;
  color: #15803d;
}

.pub-type-badge.review {
  background: #fef3c7;
  color: #b45309;
}

.pub-type-badge.chapter {
  background: #ede9fe;
  color: #6d28d9;
}

.pub-impact-badge {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid rgba(30, 64, 175, 0.2);
}

.pub-indexing-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  color: #475569;
}

.publication-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: #0f172a;
  line-height: 1.4;
}

.pub-authors {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 0.4rem;
  line-height: 1.45;
}

.publication-meta {
  font-size: 0.86rem;
  color: var(--primary-deep);
  margin: 0 0 0.65rem;
}

.pub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.pub-doi-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  transition: all 180ms ease;
}

.pub-doi-link:hover {
  background: var(--primary);
  color: white;
}

/* Conferences & Workshops */
.conference-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.conf-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.conf-icon {
  font-size: 1.8rem;
}

.conf-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  color: #0f172a;
}

.conf-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.conf-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.9rem;
  border-left: 2px solid rgba(37, 99, 235, 0.2);
  padding-left: 0.85rem;
}

.conf-list li strong {
  color: #0f172a;
  font-size: 0.94rem;
}

.conf-list li span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.conf-list li em {
  color: var(--primary-dark);
  font-style: normal;
  font-weight: 700;
}

/* Academic References */
.reference-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.ref-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ref-avatar {
  width: 3.25rem;
  height: 3.25rem;
  min-width: 3.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: white;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.ref-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.2rem;
  color: #0f172a;
}

.ref-role {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin: 0 0 0.2rem;
}

.ref-inst {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.ref-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
}

.ref-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
}

.ref-contacts a:hover {
  color: var(--primary);
}

/* Contact Section */
.contact-grid {
  align-items: start;
}

.contact-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
  color: #0f172a;
}

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

.contact-item strong {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.contact-item a {
  color: #0f172a;
  font-weight: 600;
}

.contact-item a:hover {
  color: var(--primary);
}

.contact-item address {
  font-style: normal;
  color: var(--text-muted);
  line-height: 1.5;
}

.personal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
  background: var(--surface-alt);
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: #1e293b;
  margin-top: 0.35rem;
}

.personal-grid span {
  font-weight: 700;
  color: var(--text-subtle);
}

.signature-block {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--text-muted);
}

.signature-img {
  max-width: 140px;
  filter: contrast(1.2);
}

.signature-block strong {
  font-size: 0.95rem;
  color: #0f172a;
}

.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-intro h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
  color: #0f172a;
}

.form-intro p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-row label {
  font-size: 0.84rem;
  font-weight: 700;
  color: #1e293b;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #f8fafc;
  color: var(--text);
  font-size: 0.92rem;
  outline: none;
  transition: all 180ms ease;
}

.form-row input:focus,
.form-row textarea:focus {
  background: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-status {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-deep);
  min-height: 1.2rem;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: white;
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
}

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

.footer-photo {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.footer-brand h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 0.2rem;
  color: white;
}

.footer-brand p {
  font-size: 0.84rem;
  color: #94a3b8;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-copy {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  font-size: 0.82rem;
  color: #64748b;
}

.footer-copy p {
  margin: 0 0 0.25rem;
}

.footer-sub {
  color: #94a3b8;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pub-summary-banner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem;
    gap: 0.5rem;
  }

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

  .nav-toggle {
    display: flex;
  }

  .nav-btn-cv {
    margin-left: 0;
    text-align: center;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .stats-card {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pub-summary-banner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .pub-summary-item {
    align-items: flex-start;
  }

  .pub-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .pub-search-wrap {
    width: 100%;
  }
}
