/*
 * Leipzig Bioengineering Group
 * University of Akron
 * Stylesheet — University of Akron Navy & Gold
 */

/* ─────────────────────────────────────────────
   1. CUSTOM PROPERTIES
────────────────────────────────────────────── */
:root {
  /* University of Akron Brand Colors */
  --navy:        #002B5C;
  --navy-dark:   #001A3A;
  --navy-mid:    #0A3D7A;
  --navy-light:  #1A5490;
  --gold:        #E4B429;
  --gold-light:  #F5CC55;
  --gold-dark:   #B89020;
  --gold-pale:   #FDF5D5;

  /* Neutrals */
  --white:       #FFFFFF;
  --off-white:   #F7F8FA;
  --gray-100:    #EEF0F5;
  --gray-200:    #D8DCE8;
  --gray-400:    #8E97AD;
  --gray-600:    #4A5568;
  --gray-700:    #2D3748;
  --gray-800:    #1A202C;

  /* Typography */
  --font:        'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max-w:       1200px;
  --nav-h:       72px;

  /* Shadows */
  --shadow-xs:   0 1px 2px rgba(0,43,92,0.06);
  --shadow-sm:   0 2px 6px rgba(0,43,92,0.10);
  --shadow-md:   0 4px 16px rgba(0,43,92,0.13);
  --shadow-lg:   0 8px 32px rgba(0,43,92,0.16);
  --shadow-xl:   0 16px 48px rgba(0,43,92,0.20);

  /* Border radius */
  --r-sm:   4px;
  --r:      8px;
  --r-lg:   12px;
  --r-xl:   20px;
  --r-full: 9999px;

  /* Transitions */
  --t-fast: 0.15s ease;
  --t:      0.25s ease;
  --t-slow: 0.40s ease;
}

/* ─────────────────────────────────────────────
   2. RESET & BASE
────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--navy); text-decoration: none; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ─────────────────────────────────────────────
   3. LAYOUT
────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section        { padding: 5rem 0; }
.section-light  { background: var(--off-white); }
.section-white  { background: var(--white); }
.section-navy   { background: var(--navy); color: var(--white); }
.section-dark   { background: var(--navy-dark); color: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.section-navy  .section-header h2,
.section-dark  .section-header h2 { color: var(--white); }

.section-header p {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}
.section-navy  .section-header p,
.section-dark  .section-header p { color: rgba(255,255,255,0.7); }

.section-header .gold-line {
  display: block;
  width: 56px;
  height: 4px;
  background: var(--gold);
  border-radius: var(--r-full);
  margin: 1rem auto 0;
}

/* ─────────────────────────────────────────────
   4. NAVIGATION
────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition: background var(--t), box-shadow var(--t);
}
.navbar.scrolled,
.navbar.solid {
  background: var(--navy-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand */
.nav-brand a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
}
.brand-logo {
  width: 44px; height: 44px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  line-height: 1;
}
/* ─────────────────────────────────────────────
   SITE BANNER (full-width header below nav)
────────────────────────────────────────────── */
.site-banner {
  padding-top: var(--nav-h); /* clear fixed nav */
  background: #000;
  line-height: 0;
  width: 100%;
}
.site-banner img {
  width: 100%;
  height: auto;
  display: block;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 700; font-size: 0.92rem; }
.brand-uni  { font-size: 0.68rem; color: var(--gold-light); opacity: 0.9; }

/* Nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  color: rgba(255,255,255,0.82);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  position: relative;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-link.active { color: var(--white); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0.75rem; right: 0.75rem;
  height: 2px;
  background: var(--gold);
  border-radius: var(--r-full);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: var(--r-full);
  transition: transform var(--t), opacity var(--t);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────────────────────────
   5. BUTTONS
────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--t);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold, 0 4px 20px rgba(228,180,41,0.4));
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.82rem; }

/* ─────────────────────────────────────────────
   6. HERO SECTION
────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--nav-h) - 200px);
  background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Microscopy hero background (homepage) */
.hero.hero-microscopy {
  background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-mid) 100%);
}

/* Hex grid overlay */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='138.56'%3E%3Cpolygon points='40,0 80,20 80,60 40,80 0,60 0,20' fill='none' stroke='white' stroke-width='0.6'/%3E%3Cpolygon points='40,80 80,100 80,138.56 40,138.56 0,138.56 0,100' fill='none' stroke='white' stroke-width='0.6'/%3E%3C/svg%3E");
  opacity: 0.04;
}
/* Radial glow spots */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 15% 60%, rgba(228,180,41,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 30%, rgba(26,84,144,0.5) 0%, transparent 60%);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(228,180,41,0.12);
  color: var(--gold-light);
  border: 1px solid rgba(228,180,41,0.3);
  padding: 0.3rem 0.9rem;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.13;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
.hero-title span { color: var(--gold); }

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.hero-mission {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.85;
  margin-bottom: 2.25rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Stats panel */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: background var(--t), transform var(--t);
}
.stat-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.stat-number {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ─────────────────────────────────────────────
   7. RESEARCH HIGHLIGHT CARDS
────────────────────────────────────────────── */
.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.research-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative;
  overflow: hidden;
}
.research-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--gold);
  border-radius: var(--r-sm) 0 0 var(--r-sm);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t);
}
.research-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.research-card:hover::before { transform: scaleY(1); }
.research-card:hover .rc-icon { background: var(--navy); color: var(--gold); }

.rc-icon {
  width: 56px; height: 56px;
  background: var(--gold-pale);
  color: var(--navy);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background var(--t), color var(--t);
}
.rc-icon svg { width: 28px; height: 28px; }

.research-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.research-card p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.rc-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.rc-tag {
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-full);
}

.section-cta { text-align: center; margin-top: 2.5rem; }

/* ─────────────────────────────────────────────
   8. NEWS CARDS
────────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.news-card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-200);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.news-card-img {
  height: 160px;
  overflow: hidden;
  position: relative;
}
.news-card-img-inner {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.news-card-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}
.news-cat {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gold-dark);
  background: var(--gold-pale);
  padding: 0.15rem 0.55rem;
  border-radius: var(--r-full);
}
.news-date {
  font-size: 0.78rem;
  color: var(--gray-400);
}
.news-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.45;
}
.news-card p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.7;
  flex: 1;
}
.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 1rem;
  transition: color var(--t-fast), gap var(--t-fast);
}
.news-card-link:hover { color: var(--gold-dark); gap: 0.5rem; }

/* Section header with link */
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.section-header-row h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.section-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--t-fast);
}
.section-more:hover { color: var(--gold-dark); }

/* ─────────────────────────────────────────────
   9. PAGE HERO (interior pages)
────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-mid) 100%);
  padding: 3.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='138.56'%3E%3Cpolygon points='40,0 80,20 80,60 40,80 0,60 0,20' fill='none' stroke='white' stroke-width='0.6'/%3E%3C/svg%3E");
  opacity: 0.04;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-badge {
  display: inline-block;
  background: rgba(228,180,41,0.15);
  color: var(--gold-light);
  border: 1px solid rgba(228,180,41,0.3);
  padding: 0.25rem 0.8rem;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  line-height: 1.7;
}
.gold-underline {
  display: block;
  width: 56px; height: 4px;
  background: var(--gold);
  border-radius: var(--r-full);
  margin-top: 1.25rem;
}

/* ─────────────────────────────────────────────
   10. RESEARCH PAGE
────────────────────────────────────────────── */
.research-area {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.research-area:last-child { border-bottom: none; }
.research-area-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}
.research-area-inner.reverse { direction: rtl; }
.research-area-inner.reverse > * { direction: ltr; }

.research-visual {
  aspect-ratio: 4/3;
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.research-visual-icon {
  font-size: 6rem;
  opacity: 0.9;
}
.rv-te  { background: linear-gradient(135deg, #001A3A 0%, #002B5C 100%); }
.rv-nr  { background: linear-gradient(135deg, #0A3D7A 0%, #1A5490 100%); }
.rv-sci { background: linear-gradient(135deg, #002B5C 0%, #0A3D7A 100%); }
.rv-wh  { background: linear-gradient(135deg, #001A3A 0%, #0A3D7A 100%); }

.research-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.research-content .gold-line {
  width: 44px; height: 3px;
  background: var(--gold);
  border-radius: var(--r-full);
  margin-bottom: 1.25rem;
}
.research-content p { color: var(--gray-700); line-height: 1.8; margin-bottom: 1rem; }

.research-list {
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.research-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--gray-700);
}
.research-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.technique-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.technique-tag {
  background: var(--navy);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-full);
}

/* ─────────────────────────────────────────────
   11. PEOPLE PAGE
────────────────────────────────────────────── */
.pi-section { padding: 3rem 0 2rem; }
.pi-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  align-items: start;
}

.avatar-wrap { text-align: center; }
.avatar {
  width: 200px; height: 200px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  border: 4px solid var(--gold);
  overflow: hidden;
  position: relative;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-initials {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
}
.avatar-sm {
  width: 90px; height: 90px;
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--gold);
  overflow: hidden;
}
.avatar-sm img { width: 100%; height: 100%; object-fit: cover; }
.avatar-sm .avatar-initials { font-size: 1.4rem; }

.pi-name { font-size: 1.6rem; font-weight: 800; color: var(--navy); margin-bottom: 0.25rem; }
.pi-title { font-size: 0.9rem; color: var(--gray-600); margin-bottom: 1.5rem; }
.pi-bio { color: var(--gray-700); line-height: 1.8; margin-bottom: 1.5rem; }

.pi-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.pi-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--gray-100);
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-full);
  transition: background var(--t-fast), color var(--t-fast);
}
.pi-link:hover { background: var(--navy); color: var(--white); }

.pi-interests-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
}
.pi-interests {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.interest-tag {
  background: var(--gold-pale);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(228,180,41,0.3);
}

/* Team grid */
.team-section { padding: 2rem 0; }
.team-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.team-section-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin-left: 0.5rem;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}
.member-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.member-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.member-name { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.2rem; }
.member-degree { font-size: 0.8rem; color: var(--gray-600); margin-bottom: 0.5rem; }
.member-program { font-size: 0.75rem; color: var(--gold-dark); font-weight: 600; }
.member-project { font-size: 0.78rem; color: var(--gray-600); margin-top: 0.5rem; line-height: 1.55; }

/* Alumni */
.alumni-grid { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.25rem; }
.alumni-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  background: var(--off-white);
  border-radius: var(--r);
  border: 1px solid var(--gray-200);
  transition: background var(--t-fast);
}
.alumni-row:hover { background: var(--gray-100); }
.alumni-info { display: flex; flex-direction: column; }
.alumni-name { font-size: 0.92rem; font-weight: 600; color: var(--navy); }
.alumni-degree { font-size: 0.78rem; color: var(--gray-600); }
.alumni-now { font-size: 0.78rem; color: var(--gold-dark); font-weight: 600; }

/* ─────────────────────────────────────────────
   12. PUBLICATIONS PAGE
────────────────────────────────────────────── */
#pub-loader { text-align: center; padding: 3rem; }
.spinner {
  width: 44px; height: 44px;
  border: 4px solid var(--gray-200);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

#pub-error { display: none; text-align: center; padding: 3rem; color: var(--gray-600); }
#pub-error svg { margin: 0 auto 1rem; color: var(--gray-400); }

.pub-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--off-white);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-200);
}
.pub-stats { font-size: 0.88rem; color: var(--gray-600); }
.pub-stats strong { color: var(--navy); }
.pub-filter-group { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.pub-filter-label { font-size: 0.8rem; font-weight: 600; color: var(--gray-600); }
.year-btn {
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--white);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: all var(--t-fast);
}
.year-btn:hover, .year-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.pub-year-group { margin-bottom: 2.5rem; }
.pub-year-heading {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pub-year-count {
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.1rem 0.55rem;
  border-radius: var(--r-full);
  vertical-align: middle;
}

.pub-list { display: flex; flex-direction: column; gap: 0.75rem; }
.pub-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 1.4rem 1.5rem;
  transition: border-color var(--t), box-shadow var(--t);
  position: relative;
  padding-left: 2.5rem;
}
.pub-item:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.pub-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gold);
  border-radius: var(--r-sm) 0 0 var(--r-sm);
}

.pub-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 0.4rem;
}
.pub-title a { color: inherit; transition: color var(--t-fast); }
.pub-title a:hover { color: var(--navy-light); }

.pub-authors {
  font-size: 0.83rem;
  color: var(--gray-600);
  margin-bottom: 0.4rem;
  line-height: 1.5;
}
.pub-authors .highlight { color: var(--navy); font-weight: 600; }

.pub-journal {
  font-size: 0.83rem;
  color: var(--gray-500, #6b7280);
  font-style: italic;
}
.pub-journal .volume { font-style: normal; }

.pub-badges { display: flex; gap: 0.4rem; margin-top: 0.6rem; flex-wrap: wrap; }
.pub-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: var(--r-full);
}
.pub-badge-pubmed { background: #e3f0ff; color: #1e5faa; }
.pub-badge-doi    { background: var(--gold-pale); color: var(--gold-dark); }

/* ─────────────────────────────────────────────
   13. NEWS PAGE
────────────────────────────────────────────── */
.news-full-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.news-article {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: box-shadow var(--t);
}
.news-article:hover { box-shadow: var(--shadow-md); }
.news-article-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.news-article-body { padding: 1.75rem; }
.news-article-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
  line-height: 1.45;
}
.news-article-body .news-meta { margin-bottom: 0.75rem; }
.news-article-body p { font-size: 0.9rem; color: var(--gray-700); line-height: 1.8; }

/* Sidebar */
.news-sidebar { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
}
.category-list { display: flex; flex-direction: column; gap: 0.4rem; }
.category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.6rem;
  border-radius: var(--r);
  cursor: pointer;
  transition: background var(--t-fast);
  font-size: 0.88rem;
  color: var(--gray-700);
}
.category-item:hover { background: var(--gray-100); }
.category-count {
  background: var(--navy);
  color: var(--white);
  font-size: 0.7rem;
  padding: 0.1rem 0.5rem;
  border-radius: var(--r-full);
}

/* ─────────────────────────────────────────────
   14. LINKS PAGE
────────────────────────────────────────────── */
.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.links-group {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.links-group-header {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 0.95rem;
}
.links-group-header .lgh-icon {
  width: 32px; height: 32px;
  background: rgba(228,180,41,0.2);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
}
.link-items { padding: 0.5rem 0; }
.link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.4rem;
  transition: background var(--t-fast);
  border-bottom: 1px solid var(--gray-100);
}
.link-item:last-child { border-bottom: none; }
.link-item:hover { background: var(--off-white); }
.link-item-info { display: flex; flex-direction: column; gap: 0.15rem; }
.link-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--t-fast);
}
.link-item:hover .link-item-name { color: var(--navy-light); }
.link-item-desc { font-size: 0.78rem; color: var(--gray-400); }
.link-arrow { color: var(--gray-400); transition: transform var(--t-fast), color var(--t-fast); }
.link-item:hover .link-arrow { transform: translateX(3px); color: var(--navy); }

/* ─────────────────────────────────────────────
   15. FOOTER
────────────────────────────────────────────── */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  padding: 3.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-brand a { margin-bottom: 1rem; display: inline-flex; }
.footer-desc {
  font-size: 0.85rem;
  line-height: 1.8;
  margin-top: 1rem;
  color: rgba(255,255,255,0.55);
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 1.1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); transition: color var(--t-fast); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ─────────────────────────────────────────────
   16. ANIMATIONS & UTILITIES
────────────────────────────────────────────── */
.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

.tag {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-full);
}

/* ─────────────────────────────────────────────
   17. RESPONSIVE
────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .hero-text { max-width: 680px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .research-grid { grid-template-columns: 1fr; }
  .research-area-inner { grid-template-columns: 1fr; }
  .research-area-inner.reverse { direction: ltr; }
  .news-full-grid { grid-template-columns: 1fr; }
  .news-sidebar { position: static; }
  .links-grid { grid-template-columns: 1fr; }
  .pi-card { grid-template-columns: 1fr; }
  .pi-card .avatar { width: 140px; height: 140px; }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.25rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-link { width: 100%; padding: 0.6rem 1rem; }
  .nav-link.active::after { display: none; }

  .hero-stats { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .research-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .pub-controls { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
