/* ============================================================
   CREEVEY LAB — Main Stylesheet
   ============================================================ */

/* ============================================================
   COLOUR PALETTES — uncomment one block, comment the others
   ============================================================

--- OPTION 1: Current (QUB Navy + Teal) --- ACTIVE BELOW ---

--- OPTION 2: Forest Green + Gold ---
:root {
  --navy:        #1a3a2a;
  --navy-dark:   #0f2418;
  --navy-light:  #24503a;
  --teal:        #8b6914;
  --teal-light:  #c49a1e;
  --teal-bg:     #fdf8e8;
}

--- OPTION 3: Deep Purple + Cyan ---
:root {
  --navy:        #2d1b69;
  --navy-dark:   #1e1248;
  --navy-light:  #3d2888;
  --teal:        #0891b2;
  --teal-light:  #22d3ee;
  --teal-bg:     #ecfeff;
}

--- OPTION 4: Charcoal + Emerald ---
:root {
  --navy:        #1c2b20;
  --navy-dark:   #111a14;
  --navy-light:  #263d2c;
  --teal:        #059669;
  --teal-light:  #10b981;
  --teal-bg:     #ecfdf5;
}

--- OPTION 5: Midnight + Coral ---
:root {
  --navy:        #1e3a5f;
  --navy-dark:   #142944;
  --navy-light:  #2a5080;
  --teal:        #e05c3a;
  --teal-light:  #f07d5a;
  --teal-bg:     #fef0eb;
}

============================================================ */

:root {
  --navy:        #1e3a5f;
  --navy-dark:   #142944;
  --navy-light:  #2a5080;
  --teal:        #e05c3a;
  --teal-light:  #f07d5a;
  --teal-bg:     #fef0eb;
  --white:       #ffffff;
  --off-white:   #f8f9fb;
  --grey-100:    #f1f3f5;
  --grey-200:    #e9ecef;
  --grey-400:    #ced4da;
  --grey-600:    #6c757d;
  --grey-800:    #343a40;
  --grey-900:    #212529;
  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm:   0 1px 3px rgba(0,33,71,0.1);
  --shadow-md:   0 4px 16px rgba(0,33,71,0.12);
  --shadow-lg:   0 8px 32px rgba(0,33,71,0.15);
  --radius:      10px;
  --transition:  0.2s ease;
  --max-width:   1200px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--grey-900); line-height: 1.6; background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-light); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem; max-width: var(--max-width); margin: 0 auto; height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-logo-text { font-size: 1.25rem; font-weight: 700; color: var(--white); letter-spacing: -0.02em; }
.nav-logo-text span { color: var(--teal-light); }
.nav-links { display: flex; list-style: none; gap: 0.25rem; }
.nav-links a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  padding: 0.4rem 0.75rem; border-radius: 6px; transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white); background: rgba(255,255,255,0.1);
}
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  color: var(--white); padding: 6rem 1.5rem 5rem; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(240,125,90,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: var(--max-width); margin: 0 auto; }
.hero-tag {
  display: inline-block;
  background: rgba(240,125,90,0.2); color: var(--teal-light);
  border: 1px solid rgba(240,125,90,0.4);
  padding: 0.3rem 0.9rem; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800;
  line-height: 1.1; letter-spacing: -0.03em;
  margin-bottom: 1.25rem; max-width: 700px;
}
.hero h1 em { font-style: normal; color: var(--teal-light); }
.hero-desc {
  font-size: 1.1rem; line-height: 1.7; color: rgba(255,255,255,0.8);
  max-width: 600px; margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15); flex-wrap: wrap;
}
.hero-stat-num { font-size: 2rem; font-weight: 800; color: var(--teal-light); display: block; line-height: 1; }
.hero-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.3rem; }

/* Hero background image */
.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: invert(1) hue-rotate(200deg) saturate(0.5) brightness(0.65);
  opacity: 0.45;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(20, 41, 68, 1.0)  0%,
    rgba(20, 41, 68, 0.88) 45%,
    rgba(20, 41, 68, 0.25) 100%
  );
  z-index: 1;
}
.hero-inner { position: relative; z-index: 2; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; border-radius: 8px;
  font-weight: 600; font-size: 0.9rem; text-decoration: none;
  transition: all var(--transition); border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--teal-light); color: var(--white); border-color: var(--teal-light); }
.btn-primary:hover {
  background: #c94d2a; border-color: #c94d2a; color: var(--white);
  transform: translateY(-1px); box-shadow: 0 4px 12px rgba(224,92,58,0.4);
}
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline:hover {
  background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7);
  color: var(--white); transform: translateY(-1px);
}
.btn-secondary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy-light); border-color: var(--navy-light); color: var(--white); transform: translateY(-1px); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 5rem 1.5rem; }
.section-alt { background: var(--off-white); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-label {
  display: inline-block; color: var(--teal);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; color: var(--navy);
  letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 1rem;
}
.section-desc { font-size: 1.05rem; color: var(--grey-600); line-height: 1.7; }
.section-cta { text-align: center; margin-top: 2.5rem; }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white); padding: 4rem 1.5rem 3rem; text-align: center;
}
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 0.75rem;
}
.page-header p { font-size: 1.1rem; color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto; }

/* ============================================================
   RESEARCH CARDS
   ============================================================ */
.research-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; max-width: var(--max-width); margin: 0 auto;
}
.research-card {
  background: var(--white); border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--grey-200);
  transition: all var(--transition); position: relative; overflow: hidden;
}
.research-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: var(--teal); transform: scaleY(0); transition: transform var(--transition);
  transform-origin: bottom;
}
.research-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.research-card:hover::before { transform: scaleY(1); }
.research-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.research-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; line-height: 1.3; }
.research-card p { font-size: 0.9rem; color: var(--grey-600); line-height: 1.6; }
.research-card .tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.tag {
  background: var(--teal-bg); color: var(--teal);
  font-size: 0.72rem; font-weight: 600;
  padding: 0.2rem 0.6rem; border-radius: 4px; letter-spacing: 0.02em;
}

/* Research full page theme blocks */
.research-theme { margin-bottom: 5rem; }
.research-theme-header {
  display: flex; align-items: center; gap: 1.25rem;
  padding-bottom: 1.5rem; margin-bottom: 2rem;
  border-bottom: 2px solid var(--grey-200);
}
.research-theme-icon { font-size: 3rem; flex-shrink: 0; }
.research-theme-header h2 {
  font-size: 1.75rem; font-weight: 800; color: var(--navy);
  letter-spacing: -0.02em; margin-bottom: 0.35rem;
}
.research-theme-header p { color: var(--grey-600); font-size: 1rem; line-height: 1.6; }

/* ============================================================
   PI CARD
   ============================================================ */
.pi-card {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-radius: var(--radius); padding: 2.5rem; color: var(--white);
  display: grid; grid-template-columns: auto 1fr; gap: 2rem;
  align-items: start; max-width: var(--max-width); margin: 0 auto 3rem;
}
.pi-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700; color: var(--white); flex-shrink: 0; overflow: hidden;
}
.pi-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.pi-info h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.3rem; }
.pi-title { color: var(--teal-light); font-weight: 600; margin-bottom: 0.25rem; }
.pi-institution { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-bottom: 1rem; }
.pi-info p { font-size: 0.95rem; color: rgba(255,255,255,0.85); line-height: 1.7; margin-bottom: 1.25rem; }
.pi-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.pi-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px; color: var(--white); font-size: 0.82rem; font-weight: 600;
  text-decoration: none; transition: all var(--transition);
}
.pi-link:hover { background: rgba(255,255,255,0.2); color: var(--white); }

/* ============================================================
   TEAM GRID
   ============================================================ */
.team-section-label {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1.5rem;
}
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem; max-width: var(--max-width); margin: 0 auto;
}
.team-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.75rem 1.5rem; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--grey-200);
  transition: all var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700; color: var(--white); overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.team-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.team-card .role { font-size: 0.8rem; color: var(--teal); font-weight: 600; margin-bottom: 0.75rem; }
.team-card p { font-size: 0.82rem; color: var(--grey-600); line-height: 1.5; }
.team-links { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem; }
.team-link {
  width: 30px; height: 30px; border-radius: 50%; background: var(--grey-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey-600); font-size: 0.75rem; text-decoration: none;
  transition: all var(--transition);
}
.team-link:hover { background: var(--navy); color: var(--white); }

/* News */
.news-list { display: flex; flex-direction: column; gap: 2rem; max-width: 800px; margin: 0 auto; }
.news-list-home { gap: 1.5rem; }
.news-item { border-bottom: 1px solid var(--grey-200); padding-bottom: 2rem; }
.news-item:last-child { border-bottom: none; }
.news-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.news-date { font-size: 0.82rem; color: var(--grey-600); }
.news-tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.2em 0.6em; border-radius: 999px; }
.news-tag-publication { background: #dbeafe; color: #1e40af; }
.news-tag-graduation  { background: #dcfce7; color: #166534; }
.news-tag-award       { background: #fef9c3; color: #854d0e; }
.news-tag-grant       { background: #fce7f3; color: #9d174d; }
.news-tag-event       { background: #ede9fe; color: #5b21b6; }
.news-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; }
.news-title a { color: var(--navy); text-decoration: none; }
.news-title a:hover { color: var(--teal); }
.news-author { font-size: 0.82rem; color: var(--grey-600); margin-bottom: 0.4rem; }
.news-summary { font-size: 0.9rem; color: var(--grey-700); line-height: 1.6; }
.news-read-more { font-size: 0.85rem; font-weight: 600; color: var(--teal); text-decoration: none; display: inline-block; margin-top: 0.5rem; }
.news-read-more:hover { color: var(--teal-light); }
.news-single-body { max-width: 700px; margin: 0 auto; font-size: 1rem; line-height: 1.8; color: var(--grey-800); }

/* Group photo */
.group-photo { max-width: 900px; margin: 0 auto 0.25rem; padding: 0 1.5rem; }
.group-photo img { width: 100%; border-radius: var(--radius); box-shadow: 0 4px 20px rgba(0,0,0,0.12); display: block; }

/* Join Us box */
.join-box {
  background: var(--off-white); border-radius: var(--radius);
  padding: 2.5rem; text-align: center; border: 1px solid var(--grey-200);
  margin-top: 3rem;
}
.join-box h2 { color: var(--navy); font-size: 1.5rem; margin-bottom: 0.75rem; }
.join-box p { color: var(--grey-600); max-width: 500px; margin: 0 auto 1.5rem; }

/* ============================================================
   SOFTWARE
   ============================================================ */
.software-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem; max-width: var(--max-width); margin: 0 auto;
}
.software-card {
  background: var(--white); border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--grey-200);
  transition: all var(--transition); display: flex; flex-direction: column;
}
.software-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.software-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.software-card p { font-size: 0.875rem; color: var(--grey-600); line-height: 1.6; flex: 1; margin-bottom: 1rem; }
.software-links { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.software-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.78rem; font-weight: 600; color: var(--teal);
  border: 1px solid var(--teal); padding: 0.25rem 0.6rem;
  border-radius: 4px; text-decoration: none; transition: all var(--transition);
}
.software-link:hover { background: var(--teal); color: var(--white); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; max-width: var(--max-width); margin: 0 auto;
}
.contact-info h2 { font-size: 1.4rem; font-weight: 700; color: var(--navy); margin-bottom: 1.5rem; }
.contact-item { display: flex; gap: 0.9rem; margin-bottom: 1.25rem; align-items: flex-start; }
.contact-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact-item strong { display: block; font-size: 0.78rem; color: var(--grey-600); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.2rem; }
.contact-item a, .contact-item span { color: var(--grey-900); font-size: 0.95rem; }
.contact-item a:hover { color: var(--teal); }
.contact-map {
  background: var(--grey-100); border-radius: var(--radius);
  border: 1px solid var(--grey-200); overflow: hidden; min-height: 300px;
  display: flex; align-items: center; justify-content: center;
}
.contact-map iframe { width: 100%; height: 100%; min-height: 360px; border: none; display: block; }

/* ============================================================
   PROJECTS
   ============================================================ */
.proj-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.25rem; margin-bottom: 1rem;
}
.proj-card {
  background: var(--white); border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--grey-200);
  transition: all var(--transition); display: flex; flex-direction: column; gap: 0.75rem;
}
.proj-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.proj-card-top { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.proj-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--grey-900); line-height: 1.4; flex: 1; }
.proj-shortname { display: block; font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 0.2rem; }
.proj-card p { font-size: 0.85rem; color: var(--grey-600); line-height: 1.6; flex: 1; }
.proj-meta {
  display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center;
  padding-top: 0.75rem; border-top: 1px solid var(--grey-200); margin-top: auto;
}
.proj-funder { font-size: 0.75rem; font-weight: 600; color: var(--navy); }
.proj-value { font-size: 0.75rem; font-weight: 700; color: var(--teal); margin-left: auto; }
.proj-dates { font-size: 0.72rem; color: var(--grey-600); width: 100%; }

/* Theme badges */
.proj-theme-badge {
  font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.6rem;
  border-radius: 20px; letter-spacing: 0.04em; white-space: nowrap;
}
.theme-amr         { background: #fee2e2; color: #991b1b; }
.theme-food        { background: #dcfce7; color: #166534; }
.theme-environment { background: #dbeafe; color: #1e40af; }
.theme-clinical    { background: #ede9fe; color: #5b21b6; }
.theme-surveillance{ background: #fef3c7; color: #92400e; }
.theme-biosecurity { background: #f1f5f9; color: #334155; }
.badge-sm { font-size: 0.65rem; padding: 0.15rem 0.5rem; }

/* Role badge */
.proj-role { font-size: 0.7rem; font-weight: 800; padding: 0.2rem 0.55rem; border-radius: 4px; white-space: nowrap; }
.role-pi  { background: var(--navy); color: var(--white); }
.role-coi { background: var(--grey-200); color: var(--grey-800); }

/* Completed list */
.proj-completed-list { display: flex; flex-direction: column; gap: 0.6rem; }
.proj-completed-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.9rem 1.1rem; background: var(--white);
  border: 1px solid var(--grey-200); border-radius: 8px;
  font-size: 0.875rem;
}
.proj-completed-content { flex: 1; }
.proj-completed-content strong { display: block; color: var(--grey-900); font-weight: 600; }
.proj-completed-meta { font-size: 0.78rem; color: var(--grey-600); }

@media (max-width: 768px) {
  .proj-grid { grid-template-columns: 1fr; }
  .proj-completed-item { flex-wrap: wrap; }
}

/* ============================================================
   PUBLICATIONS
   ============================================================ */
.pub-profile-card {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: var(--white); border-radius: var(--radius);
  padding: 2rem; border: 1px solid var(--grey-200);
  box-shadow: var(--shadow-sm); text-decoration: none;
  color: inherit; transition: all var(--transition);
}
.pub-profile-card:hover {
  box-shadow: var(--shadow-md); transform: translateY(-3px);
  border-color: var(--teal); color: inherit;
}
.pub-profile-icon { font-size: 2.5rem; flex-shrink: 0; line-height: 1; }
.pub-profile-card h2 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.pub-profile-card p { font-size: 0.875rem; color: var(--grey-600); line-height: 1.6; margin-bottom: 0.75rem; }
.pub-profile-link { font-size: 0.85rem; font-weight: 700; color: var(--teal); }
.pub-profile-card:hover .pub-profile-link { color: var(--teal-light); }

@media (max-width: 600px) {
  .pub-profile-card { grid-column: span 1; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); padding: 3rem 1.5rem; }
.footer-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem;
}
.footer-brand h3 { color: var(--white); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.footer-brand p, .footer-brand address { font-size: 0.75rem; line-height: 1.6; font-style: normal; }
.footer h4 { color: var(--white); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.85rem; text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: var(--teal-light); }
.footer-bottom {
  max-width: var(--max-width); margin: 2rem auto 0; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem;
}
.footer-bottom a { color: var(--teal-light); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; background: var(--navy);
    padding: 1rem; box-shadow: 0 4px 16px rgba(0,0,0,0.2); z-index: 99;
  }
  .nav { position: relative; }
  .nav-hamburger { display: flex; }

  .hero { padding: 3.5rem 1.5rem 3rem; }
  .section { padding: 3.5rem 1.5rem; }

  .pi-card { grid-template-columns: 1fr; text-align: center; }
  .pi-avatar { margin: 0 auto; }
  .pi-links { justify-content: center; }

  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .research-grid, .team-grid, .software-grid { grid-template-columns: 1fr; }
}
