/* ============================================================
   Root variables
   ============================================================ */
:root {
  --navy:   #0d1b2a;
  --navy2:  #162032;
  --navy3:  #1e2f45;
  --gold:   #f4a830;
  --gold2:  #e09520;
  --white:  #ffffff;
  --light:  #f5f7fa;
  --muted:  #8a9ab5;
  --text:   #d0daea;
  --card:   #19293d;
  --border: #253650;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.35);
  --transition: 0.25s ease;
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold2); }

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

h1, h2, h3, h4 { color: var(--white); line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 0.95rem; font-weight: 600; }

p { margin-bottom: 1rem; }

ul { list-style: none; }

section { padding: 90px 0; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 48px;
}

.section-title h2 { margin-bottom: 8px; }

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

/* ============================================================
   Navigation
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13, 27, 42, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

#navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.5); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-links a.active { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover { background: var(--gold2) !important; transform: translateY(-1px); }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: var(--navy2);
    padding: 20px 24px 28px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
}

/* ============================================================
   Hero
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(244,168,48,0.06) 0%, transparent 70%),
              linear-gradient(160deg, var(--navy) 0%, var(--navy2) 100%);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(244,168,48,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.hero-text .eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero-text h1 { margin-bottom: 8px; }

.hero-text h1 span { color: var(--gold); }

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.hero-subtitle .dot { color: var(--gold); opacity: 0.5; }

.hero-tagline {
  font-size: 1rem;
  color: var(--text);
  max-width: 560px;
  margin-bottom: 36px;
  font-style: italic;
  opacity: 0.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244,168,48,0.3);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.hero-socials {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 20px;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(244,168,48,0.06);
}

.social-link svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Profile photo */
.hero-photo-wrap {
  position: relative;
  flex-shrink: 0;
}

.hero-photo {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(244,168,48,0.1), var(--shadow);
}

.hero-photo-placeholder {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--navy3);
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(244,168,48,0.1), var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
  padding: 20px;
}

.hero-photo-placeholder svg { width: 48px; height: 48px; opacity: 0.4; }

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-inner > *:last-child { order: -1; }
  .hero-photo, .hero-photo-placeholder { width: 180px; height: 180px; margin: 0 auto; }
  .hero-subtitle, .hero-actions, .hero-socials { justify-content: center; }
  .hero-tagline { margin: 0 auto 36px; }
}

/* ============================================================
   About
   ============================================================ */
#about { background: var(--navy2); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text p { color: var(--text); }

.about-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.about-label.industry { background: rgba(244,168,48,0.15); color: var(--gold); }
.about-label.academia { background: rgba(100,180,255,0.12); color: #7bb8f0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.stat-card .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card .label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.institutions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.inst-badge {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   USA Experience Timeline
   ============================================================ */
#usa-experience { background: var(--navy); }

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(244,168,48,0.1));
}

.timeline-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  position: relative;
  padding-bottom: 40px;
}

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

.timeline-dot {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  position: relative;
}

.timeline-dot svg { width: 22px; height: 22px; color: var(--gold); }

.timeline-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 18px;
  width: 16px;
  height: 2px;
  background: var(--border);
}

.timeline-period {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.timeline-role {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.timeline-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(244,168,48,0.1);
  color: var(--gold);
  border: 1px solid rgba(244,168,48,0.2);
}

.tag.blue {
  background: rgba(100,180,255,0.08);
  color: #7bb8f0;
  border-color: rgba(100,180,255,0.2);
}

.tag.green {
  background: rgba(80,200,130,0.08);
  color: #5dc98a;
  border-color: rgba(80,200,130,0.2);
}

.timeline-photo-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.photo-placeholder {
  width: 90px;
  height: 70px;
  border-radius: 6px;
  background: var(--navy3);
  border: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--muted);
  font-size: 0.65rem;
  text-align: center;
  padding: 6px;
  cursor: pointer;
}

.photo-placeholder svg { width: 20px; height: 20px; opacity: 0.4; }

@media (max-width: 600px) {
  .timeline::before { left: 20px; }
  .timeline-item { grid-template-columns: 46px 1fr; gap: 16px; }
  .timeline-dot { width: 42px; height: 42px; }
}

/* ============================================================
   Research Expertise Cards
   ============================================================ */
#research { background: var(--navy2); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.research-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.research-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(244,168,48,0.12);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(244,168,48,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-icon svg { width: 22px; height: 22px; color: var(--gold); }

.research-card h3 { margin-bottom: 8px; }
.research-card p { font-size: 0.875rem; color: var(--muted); margin: 0; }

@media (max-width: 900px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cards-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Skills
   ============================================================ */
#skills { background: var(--navy); }

.skills-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.skill-group h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  transition: border-color var(--transition), color var(--transition);
}

.pill:hover { border-color: var(--gold); color: var(--gold); }

@media (max-width: 640px) { .skills-groups { grid-template-columns: 1fr; } }

/* ============================================================
   Selected Publications
   ============================================================ */
#publications-home { background: var(--navy2); }

.pub-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pub-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: start;
  transition: border-color var(--transition);
}

.pub-card:hover { border-color: var(--gold); }

.pub-year {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold);
  min-width: 40px;
  padding-top: 2px;
}

.pub-info h3 { font-size: 0.95rem; margin-bottom: 6px; color: var(--white); }

.pub-meta { font-size: 0.8rem; color: var(--muted); }
.pub-meta .journal { font-style: italic; }

.pub-doi {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  white-space: nowrap;
  transition: border-color var(--transition), color var(--transition);
  flex-shrink: 0;
}

.pub-doi:hover { border-color: var(--gold); color: var(--gold); }
.pub-doi svg { width: 12px; height: 12px; }

.pub-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 24px;
  transition: gap var(--transition);
}

.pub-all-link:hover { gap: 12px; color: var(--gold2); }
.pub-all-link svg { width: 16px; height: 16px; }

@media (max-width: 640px) {
  .pub-card { grid-template-columns: 1fr; }
  .pub-year { min-width: unset; }
}

/* ============================================================
   Documents
   ============================================================ */
#documents { background: var(--navy); }

.doc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.doc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: border-color var(--transition), transform var(--transition);
  text-decoration: none;
}

.doc-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.doc-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(244,168,48,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-icon svg { width: 24px; height: 24px; color: var(--gold); }

.doc-card h3 { color: var(--white); font-size: 1rem; }
.doc-card p { font-size: 0.82rem; color: var(--muted); margin: 0; }

.doc-download {
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 8px;
}

.doc-download svg { width: 14px; height: 14px; }

@media (max-width: 700px) { .doc-cards { grid-template-columns: 1fr; } }

/* ============================================================
   Gallery
   ============================================================ */
#gallery { background: var(--navy2); }

.gallery-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 500px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item .caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(13,27,42,0.9));
  padding: 24px 14px 12px;
  font-size: 0.78rem;
  color: var(--white);
  font-weight: 500;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
  padding: 16px;
}

.gallery-placeholder svg { width: 28px; height: 28px; opacity: 0.35; }

@media (max-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   Contact
   ============================================================ */
#contact { background: var(--navy); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 { font-size: 1.2rem; margin-bottom: 16px; }
.contact-info p { color: var(--muted); font-size: 0.9rem; }

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color var(--transition), transform var(--transition);
}

.contact-link-item:hover {
  border-color: var(--gold);
  transform: translateX(4px);
  color: var(--gold);
}

.contact-link-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(244,168,48,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-link-icon svg { width: 18px; height: 18px; color: var(--gold); }

.contact-link-text { font-size: 0.85rem; font-weight: 500; }
.contact-link-sub { font-size: 0.72rem; color: var(--muted); margin-top: 1px; }

/* Contact form */
.contact-form-wrap { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }

.contact-form-wrap h3 { font-size: 1.1rem; margin-bottom: 24px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }

.form-group label { font-size: 0.78rem; font-weight: 600; color: var(--muted); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 11px 14px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }

.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); opacity: 0.7; }

.form-group select option { background: var(--navy2); }

.form-submit {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.form-submit:hover { background: var(--gold2); transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-status {
  font-size: 0.82rem;
  text-align: center;
  margin-top: 12px;
  min-height: 20px;
}

.form-status.success { color: #5dc98a; }
.form-status.error { color: #f07070; }

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: var(--navy2);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo { font-weight: 800; font-size: 1rem; color: var(--white); }
.footer-logo span { color: var(--gold); }

.footer-text { font-size: 0.8rem; color: var(--muted); }

.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.8rem; color: var(--muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}

/* ============================================================
   Publications page
   ============================================================ */
.pub-page-header {
  padding: 120px 0 60px;
  background: var(--navy2);
  border-bottom: 1px solid var(--border);
}

.metrics-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric .val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.metric .lbl { font-size: 0.75rem; color: var(--muted); font-weight: 500; }

.pub-section { padding: 60px 0 40px; }
.pub-section + .pub-section { padding-top: 0; }

.pub-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.pub-list { display: flex; flex-direction: column; gap: 12px; }

.pub-entry {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color var(--transition);
}

.pub-entry:hover { border-color: rgba(244,168,48,0.4); }

.pub-entry-title { font-size: 0.92rem; font-weight: 600; color: var(--white); margin-bottom: 6px; }

.pub-entry-meta { font-size: 0.8rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.pub-entry-meta .journal { font-style: italic; }

.pub-entry-meta .year-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(244,168,48,0.15);
  color: var(--gold);
  white-space: nowrap;
}

.pub-entry-meta a {
  color: var(--muted);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition);
}

.pub-entry-meta a:hover { color: var(--gold); }
.pub-entry-meta a svg { width: 12px; height: 12px; }

.conf-entry {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
}

.conf-year {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold);
  min-width: 36px;
  padding-top: 2px;
}

.conf-title { font-size: 0.85rem; color: var(--white); margin-bottom: 4px; }
.conf-venue { font-size: 0.78rem; color: var(--muted); font-style: italic; }

/* ============================================================
   Utility
   ============================================================ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 32px;
  transition: color var(--transition), gap var(--transition);
}

.back-link:hover { color: var(--gold); gap: 12px; }
.back-link svg { width: 16px; height: 16px; }

.divider { height: 1px; background: var(--border); margin: 0; }
