/* ============================================================
   SCI:FI LAB — Design System
   George Mason University
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&family=Inter:wght@400;500;600&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --color-primary:    #294C8A;
  --color-accent:     #3BB7E4;
  --color-accent-dk:  #1a9fd0;
  --color-secondary:  #264886;
  --color-background: #ffffff;
  --color-text:       #1a1a2e;
  --color-text-muted: #5a5a7a;
  --color-card:       #f8f9fa;
  --color-border:     #264886;
  --color-hero-dark:  #1c3366;

  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius:    12px;
  --radius-sm: 6px;
  --shadow:    0 4px 20px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 40px rgba(0,0,0,0.12);
  --container: 1160px;
  --nav-h:     68px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ── Container ───────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #1a3260;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-logo img { height: 38px; width: auto; }
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.nav-logo-text span { color: var(--color-accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links li a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}
.nav-links li a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-links li a.active { color: var(--color-accent); background: rgba(59,183,228,0.12); }
.nav-links li.nav-cta a {
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
  padding: 0.45rem 1.1rem;
}
.nav-links li.nav-cta a:hover {
  background: #fff;
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.1s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: #3BB7E4;
  color: var(--color-primary);
  border-color: #3BB7E4;
}
.btn-primary:hover {
  background: var(--color-accent-dk);
  border-color: var(--color-accent-dk);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #3BB7E4;
  border-color: #3BB7E4;
}
.btn-outline:hover {
  background: #3BB7E4;
  color: var(--color-primary);
}

.btn-secondary {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
}
.btn-secondary:hover { background: var(--color-primary); border-color: var(--color-primary); }

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--color-primary);
  background-image:
    radial-gradient(ellipse at 60% 40%, rgba(59,183,228,0.08) 0%, transparent 60%),
    url('images/hero/neuron.jpg');
  background-size: cover;
  background-position: center;
  min-height: 580px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(41,76,138,0.90) 0%, rgba(38,72,134,0.78) 100%);
}
.hero .container { position: relative; z-index: 1; padding-top: 5rem; padding-bottom: 5rem; }
.hero-inner { max-width: 680px; }

.hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(59,183,228,0.15);
  border: 1px solid rgba(59,183,228,0.35);
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-wordmark {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.hero-wordmark .colon { color: var(--color-accent); }

.hero-tagline {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: rgba(255,255,255,0.9);
  font-weight: 400;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.hero-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin-bottom: 2.25rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   PAGE HERO (sub-pages) — neuron background
   ============================================================ */
.page-hero {
  background: linear-gradient(
    rgba(26, 50, 96, 0.85),
    rgba(26, 50, 96, 0.85)
  ), url('images/hero/neuron.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 220px;
  display: flex;
  align-items: center;
  padding: 4rem 0 3.5rem;
  text-align: center;
}
.page-hero .container { width: 100%; }
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
}
.page-hero p {
  color: #E0E0E0;
  max-width: 580px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ============================================================
   SECTION TYPOGRAPHY
   ============================================================ */
section { padding: 5rem 0; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

/* ============================================================
   HOOK CARDS (homepage)
   ============================================================ */
.hooks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.hook-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.hook-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--color-accent);
}
.hook-icon {
  font-size: 1.6rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.hook-icon i { font-size: 1.6rem; }
.hook-question {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.hook-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.hook-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}
.hook-link:hover { text-decoration: underline; }

/* ============================================================
   NEWS CARDS — horizontal newspaper list style
   ============================================================ */
.news-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
  align-items: stretch !important;
  margin-top: 2.5rem;
}

.news-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  min-height: 110px !important;
  max-height: none !important;
  border-radius: 10px !important;
  border: 1px solid #e0e0e0 !important;
  overflow: visible !important;
  background: white !important;
  padding: 12px !important;
  gap: 12px !important;
  transition: box-shadow 0.2s, transform 0.2s;
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-1px); }

.news-card-img {
  width: 80px !important;
  height: 80px !important;
  min-width: 80px !important;
  min-height: 80px !important;
  max-width: 80px !important;
  max-height: 80px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  flex-shrink: 0 !important;
}

.news-card-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  align-self: stretch !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.news-date {
  color: #3BB7E4 !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  margin-bottom: 2px !important;
}

.news-source {
  color: #888 !important;
  font-size: 0.7rem !important;
  text-transform: uppercase !important;
  margin-bottom: 4px !important;
  line-height: 1.3;
}

.news-headline {
  font-family: var(--font-head);
  color: #294C8A !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  line-height: 1.3 !important;
  margin-bottom: 8px !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

.news-desc { display: block; font-size: 0.82rem; color: var(--color-text-muted); line-height: 1.55; margin-top: 6px; }
.news-desc.hidden { display: none !important; }

.news-read-more {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  margin-top: auto;
}
.news-read-more:hover { text-decoration: underline; }

/* Read More button inside news cards — compact, left-aligned */
.news-card .read-more-btn {
  width: auto !important;
  padding: 5px 12px !important;
  font-size: 0.8rem !important;
  margin-top: auto !important;
  align-self: flex-start !important;
  border-radius: 5px !important;
}

/* ============================================================
   TEAM CARDS
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.team-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.team-card-img-wrap { padding: 1.5rem 1.5rem 0.75rem; }
.team-card-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  border: 3px solid var(--color-border);
}
.team-card-photo-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), #1a2a4a);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  border: 3px solid var(--color-border);
}
.team-card-body { padding: 0 1rem 1.25rem; }
.team-card-name {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}
.team-card-role { font-size: 0.78rem; color: var(--color-text-muted); margin-bottom: 0.15rem; }
.team-card-years { font-size: 0.72rem; color: var(--color-text-muted); margin-bottom: 0.6rem; }
.team-card-current {
  font-size: 0.78rem;
  color: var(--color-accent);
  font-style: italic;
  margin-bottom: 0.5rem;
  padding: 0 0.5rem;
  line-height: 1.4;
}

/* PI compact card */
.pi-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 480px;
  box-shadow: var(--shadow);
}
.pi-card-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--color-border);
}
.pi-card-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.2rem;
}
.pi-card-title { font-size: 0.82rem; color: var(--color-text-muted); margin-bottom: 0.75rem; line-height: 1.4; }

/* ============================================================
   RESEARCH CARDS
   ============================================================ */
.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.research-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.research-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--color-accent);
}
.research-number { font-size: 0.72rem; font-weight: 700; color: var(--color-accent); letter-spacing: 0.08em; margin-bottom: 0.3rem; }
.research-theme { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); margin-bottom: 0.6rem; }
.research-question {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.9rem;
  line-height: 1.3;
}
.research-desc { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.65; margin-bottom: 1rem; }
.research-methods { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.method-tag {
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(59,183,228,0.10);
  color: var(--color-secondary);
  border: 1px solid rgba(59,183,228,0.30);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}
.research-papers h4 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); margin-bottom: 0.4rem; }
.research-papers ul { padding-left: 1rem; list-style: disc; }
.research-papers ul li { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 0.35rem; line-height: 1.5; }

/* ============================================================
   METHODS BAR
   ============================================================ */
.methods-bar {
  padding: 2.5rem 0;
  background: #111a30;
}
.methods-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}
.method-item { text-align: center; }
.method-icon {
  font-size: 1.6rem;
  color: var(--color-accent);
  margin-bottom: 0.4rem;
  display: block;
}
.method-label { font-size: 0.8rem; font-weight: 600; color: var(--color-accent); display: block; }
.method-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.1); }

/* ============================================================
   ACCORDIONS
   ============================================================ */
.acc-wrap { display: flex; flex-direction: column; gap: 0.4rem; }
.acc-item { border-radius: var(--radius-sm); overflow: hidden; }

.acc-header {
  width: 100%;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  padding: 0.9rem 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  border-radius: var(--radius-sm);
  transition: background 0.18s;
  font-family: inherit;
}
.acc-header:hover { background: #edf0f4; }
.acc-header.open {
  background: #edf0f4;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border-bottom-color: transparent;
}

.acc-arrow {
  font-size: 0.7rem;
  color: var(--color-accent);
  transition: transform 0.22s;
  display: inline-block;
  width: 14px;
  flex-shrink: 0;
}
.acc-header.open .acc-arrow { transform: rotate(90deg); }
.acc-title { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: var(--color-text); flex: 1; }
.acc-count { font-size: 0.85rem; font-weight: 700; color: var(--color-accent); white-space: nowrap; }

.acc-body {
  display: none;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: #fff;
}
.acc-year {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 1rem 0 0.35rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--color-card);
}
.acc-year:first-child { margin-top: 0; }
.acc-pub {
  font-size: 0.83rem;
  color: var(--color-text-muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--color-card);
  line-height: 1.55;
}
.acc-pub:last-child { border-bottom: none; }

/* Books accordion — blue highlight */
.acc-item.acc-books .acc-header {
  background: rgba(59,183,228,0.08);
  border-color: rgba(59,183,228,0.30);
}
.acc-item.acc-books .acc-header:hover { background: rgba(59,183,228,0.15); }
.acc-item.acc-books .acc-header.open { background: rgba(59,183,228,0.15); }
.acc-item.acc-books .acc-body {
  background: rgba(59,183,228,0.04);
  border-color: rgba(59,183,228,0.22);
}
.acc-item.acc-books .acc-count { color: var(--color-primary); }
.acc-item.acc-books .acc-arrow { color: var(--color-accent); }

/* ============================================================
   READ MORE / LESS BUTTON
   ============================================================ */
.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #3BB7E4;
  color: #fff !important;
  border: none;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.75rem;
  letter-spacing: 0.03em;
  transition: background 0.15s;
  font-family: var(--font-body);
}
.read-more-btn:hover { background: var(--color-accent-dk); }
.hidden { display: none !important; }

/* ============================================================
   FEATURED BOOK SECTION
   ============================================================ */
.featured-book {
  background: var(--color-primary);
  padding: 5rem 0;
}
.book-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: center;
}
.book-cover {
  background: linear-gradient(160deg, #0d2050 0%, #1a4080 100%);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.book-cover-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.book-cover-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  display: block;
  margin-bottom: 1rem;
}
.book-cover-pub { font-size: 0.75rem; color: rgba(255,255,255,0.5); display: block; }
.book-content .section-title { color: #fff; }
.book-content p { color: rgba(255,255,255,0.72); font-size: 0.9rem; margin-bottom: 0.6rem; }

/* ============================================================
   PI PROFILE PAGE
   ============================================================ */
.lc-wrap { background: #fff; padding: 2rem 0 4rem; }
.lc-section { padding: 1.75rem 0; border-bottom: 1px solid var(--color-border); }
.lc-section:last-child { border-bottom: none; }
.lc-h {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.lc-profile {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
}
.lc-photo { width: 200px; border-radius: 8px; box-shadow: var(--shadow-md); }
.lc-name { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--color-text); margin-bottom: 0.25rem; }
.lc-title { font-size: 0.95rem; color: var(--color-text-muted); margin-bottom: 1rem; line-height: 1.5; }
.lc-social { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.lc-social a {
  font-size: 1.35rem;
  color: var(--color-primary);
  padding: 0.3rem;
  border-radius: 4px;
  text-decoration: none;
  transition: color 0.15s;
  display: inline-flex;
  align-items: center;
}
.lc-social a:hover {
  color: var(--color-accent);
}
.lc-entry { font-size: 0.9rem; color: #374151; margin-bottom: 0.6rem; line-height: 1.6; }
.lc-entry em { font-style: italic; }
.lc-year { font-size: 0.95rem; font-weight: 700; color: var(--color-text); margin: 1rem 0 0.4rem; }

/* Books highlight */
.lc-books-bg {
  background: rgba(59,183,228,0.06);
  border: 1px solid rgba(59,183,228,0.22);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}

/* ============================================================
   SOCIAL LINKS
   ============================================================ */
.footer-social { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.footer-social a {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
  text-decoration: none;
}
.footer-social a:hover { color: var(--color-accent); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-block { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { font-size: 1.1rem; color: var(--color-accent); flex-shrink: 0; margin-top: 0.1rem; }
.contact-item-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}
.contact-item-value { font-size: 0.9rem; color: var(--color-text); line-height: 1.5; margin: 0; }
.map-embed { border-radius: var(--radius); overflow: hidden; margin: 1.5rem 0; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 280px; border: none; display: block; }

.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: #294C8A; margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #264886;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #3BB7E4;
  box-shadow: 0 0 0 3px rgba(59,183,228,0.15);
}
.form-group textarea { min-height: 130px; resize: vertical; }

#submit-btn {
  background: #294C8A;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}
#submit-btn:hover { background: #3BB7E4; }
#submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }

/* ============================================================
   CTA SECTIONS
   ============================================================ */
.participate-cta {
  background: var(--color-primary);
  padding: 4rem 0;
}
.participate-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.participate-cta h2 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.participate-cta p { color: rgba(255,255,255,0.75); max-width: 520px; }
.participate-cta .btn-primary { background: var(--color-accent); color: var(--color-primary); border-color: var(--color-accent); }
.participate-cta .btn-primary:hover { background: #fff; color: var(--color-primary); border-color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-secondary);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
  font-size: 0.85rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-brand p { line-height: 1.6; color: rgba(255,255,255,0.7); font-size: 0.82rem; }
.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.82rem; transition: color 0.15s; }
.footer-links a:hover { color: var(--color-accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.55); transition: color 0.15s; }
.footer-bottom a:hover { color: var(--color-accent); }
.footer-brand-name { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: #fff; }
.footer-brand-name .colon { color: var(--color-accent); }

/* ============================================================
   MEMBER CHIPS
   ============================================================ */
.member-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin: 1.5rem 0; }
.member-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.member-chip:hover { border-color: var(--color-accent); color: var(--color-accent); text-decoration: none; }
.chip-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--color-primary), #1a3060);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-accent);
}
.chip-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.section-cta { text-align: center; margin-top: 2.5rem; }
.dark-cta { background: var(--color-primary); padding: 4rem 0; text-align: center; }
.dark-cta h2 { font-family: var(--font-head); color: #fff; font-size: 1.75rem; margin-bottom: 1rem; }
.dark-cta p { color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto 2rem; }
.dark-cta .btn-primary { background: var(--color-accent); color: var(--color-primary); border-color: var(--color-accent); }
.dark-cta .btn-primary:hover { background: #fff; color: var(--color-primary); border-color: #fff; }

/* News page two-col layout */
.news-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: start; }
.news-sidebar-box {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.news-sidebar-box h3 { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--color-primary); }
.news-article-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}
.news-article-row:last-child { border-bottom: none; }
.news-article-thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.news-article-info { flex: 1; }
.news-article-date { font-size: 0.7rem; color: var(--color-accent); font-weight: 600; margin-bottom: 0.2rem; }
.news-article-title { font-family: var(--font-head); font-size: 0.85rem; font-weight: 700; color: var(--color-text); line-height: 1.3; margin-bottom: 0.3rem; }
.news-article-source { font-size: 0.7rem; color: var(--color-text-muted); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hooks-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .research-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .news-layout { grid-template-columns: 1fr; }
  .book-inner { grid-template-columns: 1fr; text-align: center; }
  .book-cover { max-width: 220px; margin: 0 auto; }
  .lc-profile { grid-template-columns: 1fr; }
  .lc-photo { width: 160px; }
  .participate-cta-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  section { padding: 3rem 0; }
  .news-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #1a3260;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1rem 1.5rem;
    gap: 0.25rem;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { padding: 0.65rem 0.75rem; display: block; }
  .nav-toggle { display: flex; }
  .site-nav { position: relative; }
}

@media (max-width: 400px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ROUND 1 — TYPOGRAPHY & VISUAL HIERARCHY
   ============================================================ */

/* Universal heading color */
h1, h2, h3, h4 { color: var(--color-primary); }

/* Section label — sharper tracking, uppercase weight */
.section-label {
  letter-spacing: 0.14em;
  font-weight: 800;
  font-size: 0.7rem;
}

/* Section title — tighter, stronger */
.section-title {
  letter-spacing: -0.025em;
  line-height: 1.15;
}

/* Page hero headings stay white */
.page-hero h1 { color: #ffffff; letter-spacing: -0.03em; font-weight: 700; }
.page-hero p  { color: #E0E0E0; }
.hero-wordmark { letter-spacing: -0.03em; }

/* Body text — tighter line-height for academic copy */
body { line-height: 1.62; }
p { margin-bottom: 0; }

/* All links consistent accent color */
a { color: var(--color-accent); }
a:hover { color: var(--color-accent-dk); }

/* ============================================================
   ROUND 1 — NAVIGATION REFINEMENT
   ============================================================ */
.nav-links li a {
  position: relative;
  letter-spacing: 0.01em;
}
.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
  border-radius: 1px;
}
.nav-links li a:hover::after { transform: scaleX(1); }
.nav-links li a.active::after { transform: scaleX(1); }
.nav-links li.nav-cta a::after { display: none; }

/* ============================================================
   ROUND 1 — BUTTON POLISH
   ============================================================ */
.btn {
  letter-spacing: 0.025em;
  font-size: 0.875rem;
}
.btn-primary {
  box-shadow: 0 2px 10px rgba(41,76,138,0.22);
}
.btn-primary:hover {
  box-shadow: 0 4px 18px rgba(59,183,228,0.30);
  transform: translateY(-2px);
}
.btn-outline {
  box-shadow: none;
}
.btn-outline:hover { box-shadow: 0 4px 18px rgba(41,76,138,0.18); }

/* ============================================================
   ROUND 1 — CARD DESIGN ENHANCEMENT
   ============================================================ */

/* Hook cards — stronger hover with left accent */
.hook-card {
  border-left: 3px solid transparent;
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
}
.hook-card:hover {
  border-left-color: var(--color-accent);
  box-shadow: 0 8px 32px rgba(41,76,138,0.12);
  transform: translateY(-4px);
}
.hook-icon { transition: transform 0.22s; }
.hook-card:hover .hook-icon { transform: scale(1.15); }

/* News cards — image zoom on hover */
.news-card { transition: box-shadow 0.22s, transform 0.22s; }
.news-card:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(41,76,138,0.14); }
.news-card-img { transition: transform 0.4s ease; }
.news-card:hover .news-card-img { transform: scale(1.04); }
.news-card { overflow: hidden; }

/* Team cards — photo border accent on hover */
.team-card { border-bottom: 3px solid transparent; transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s; }
.team-card:hover { border-bottom-color: var(--color-accent); box-shadow: 0 8px 32px rgba(41,76,138,0.12); }
.team-card-photo { transition: box-shadow 0.22s; border-color: #d4e0f0; }
.team-card:hover .team-card-photo { box-shadow: 0 0 0 3px var(--color-accent); border-color: var(--color-accent); }

/* Research cards — colored top bar */
.research-card {
  border-top: 3px solid var(--color-border);
  border-left: none;
  transition: box-shadow 0.22s, transform 0.22s, border-top-color 0.22s;
}
.research-card:hover { border-top-color: var(--color-primary); border-color: var(--color-border); border-top-color: var(--color-accent); }

/* Research number — styled as prominent badge */
.research-number {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  background: rgba(59,183,228,0.10);
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

/* ============================================================
   ROUND 2 — SECTION & SPACING IMPROVEMENTS
   ============================================================ */

/* Tighter section hero */
.page-hero { padding: 3.5rem 0 3rem; }

/* Section rhythm — alternating backgrounds */
section + section { border-top: none; }

/* Consistent section padding */
section { padding: 5rem 0; }

/* Sidebar boxes */
.news-sidebar-box {
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.news-sidebar-box h3 { color: var(--color-primary); font-size: 0.88rem; letter-spacing: 0.04em; text-transform: uppercase; }

/* News article rows — better spacing */
.news-article-title { color: var(--color-primary); }
.news-article-date { color: var(--color-accent); letter-spacing: 0.04em; font-size: 0.68rem; }

/* ============================================================
   ROUND 2 — PI PAGE REFINEMENTS
   ============================================================ */

/* PI profile photo */
#pi-content img[style*="200px"] {
  border: 3px solid #d4e0f0;
  transition: box-shadow 0.2s;
}
#pi-content img[style*="200px"]:hover { box-shadow: 0 8px 30px rgba(41,76,138,0.18); }

/* PI section titles */
.pi-section-title {
  letter-spacing: 0.08em;
  border-bottom-color: #d4e0f0;
}

/* PI entries */
.pi-entry { line-height: 1.65; color: #2d3748; }
.pi-year {
  color: var(--color-primary);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #e8edf5;
  padding-bottom: 0.2rem;
}

/* Accordion enhancements */
.acc-header { letter-spacing: 0.02em; }
.acc-title { color: var(--color-primary); letter-spacing: 0.01em; }
.acc-header:hover { background: #edf2fa; }
.acc-header.open { background: #edf2fa; border-bottom-color: transparent; }

/* ============================================================
   ROUND 2 — FOOTER REFINEMENT
   ============================================================ */
.site-footer { border-top: 4px solid var(--color-primary); }
.footer-brand-name { letter-spacing: -0.01em; font-size: 1.2rem; }
.footer-heading { letter-spacing: 0.12em; }

/* ============================================================
   ROUND 3 — FINAL POLISH
   ============================================================ */

/* Focus rings — accessibility */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Consistent transition on all interactive elements */
a, button, .btn, .team-card, .hook-card, .news-card, .research-card {
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* PI Social icons spacing */
.pi-social-row { gap: 1rem; }

/* Read More button polish */
.rm-btn {
  letter-spacing: 0.04em;
  transition: background 0.18s, transform 0.12s;
}
.rm-btn:hover { transform: translateY(-1px); }

/* Team card current position */
.team-card-current {
  color: var(--color-accent);
  font-weight: 500;
}

/* Section labels — accent color */
.section-label { color: var(--color-accent); }

/* PI page grid mobile fix */
@media (max-width: 700px) {
  #pi-content [style*="grid-template-columns:200px"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
    align-items: flex-start !important;
  }
  #pi-content [style*="grid-template-columns:200px"] img { width: 140px !important; }
}

/* Book inner responsive */
@media (max-width: 700px) {
  .book-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .book-cover-img-wrap img { max-width: 160px !important; }
}

/* Smooth image loading */
img { transition: opacity 0.3s ease; }

/* Contact icon size */
.contact-icon { font-size: 1.2rem; margin-top: 0.05rem; }

/* Consistent card radius */
.team-card, .hook-card, .news-card, .research-card { border-radius: var(--radius); }

/* Footer colon accent */
.footer-brand-name .colon { color: var(--color-accent); }

/* ============================================================
   DESIGN IMPROVEMENT LOOP — ROUNDS 1-3
   ============================================================ */

/* ── Round 1: Hero height & overlay consistency ─────────── */
.page-hero {
  min-height: 320px !important;
  height: 320px !important;
  max-height: 320px !important;
  overflow: hidden !important;
  padding: 1.5rem 0 !important;
  justify-content: center !important;
}

.page-hero .container {
  text-align: center !important;
  max-width: 800px !important;
  margin: 0 auto !important;
}
/* Same visual weight on all hero text */
.page-hero .section-label {
  color: #3BB7E4;
  letter-spacing: 0.16em;
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
}
.page-hero h1 { text-shadow: 0 2px 12px rgba(0,0,0,0.35); }
.page-hero p  { line-height: 1.65; max-width: 560px; }

/* ── Round 1: Typography refinements ─────────────────────── */
/* Consistent heading sizes across sections */
.section-title {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  margin-bottom: 0.6rem;
  line-height: 1.18;
}
.section-subtitle { font-size: 0.97rem; line-height: 1.68; }

/* Description text uniform line-height */
.hook-desc, .research-desc, .news-desc,
.team-card-role, .team-card-years { line-height: 1.55; }

/* Research card question — tighter for impact */
.research-question { font-size: 1.1rem; line-height: 1.28; }

/* ── Round 1: Read More button — universal standard ──────── */
.read-more-btn,
.rm-btn {
  background: #3BB7E4;
  color: #fff !important;
  border: none;
  padding: 0.45rem 1.15rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.18s, transform 0.12s;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
}
.read-more-btn:hover, .rm-btn:hover {
  background: var(--color-accent-dk);
  transform: translateY(-1px);
}

/* ── Round 2: Card grid refinements ──────────────────────── */
/* Uniform gap across all grids */
.team-grid   { gap: 1.25rem; }
.news-grid   { gap: 1.25rem; }
.hooks-grid  { gap: 1.25rem; }
.research-grid { gap: 1.5rem; }

/* Team card — tighten internal padding */
.team-card-img-wrap { padding: 1.25rem 1.25rem 0.6rem; }
.team-card-body     { padding: 0 1rem 1.1rem; }

/* Card shadow elevation system */
.team-card     { box-shadow: 0 1px 4px rgba(41,76,138,0.07); }
.hook-card     { box-shadow: 0 1px 4px rgba(41,76,138,0.07); }
.news-card     { box-shadow: 0 1px 4px rgba(41,76,138,0.07); }
.research-card { box-shadow: 0 1px 6px rgba(41,76,138,0.07); }

/* ── Round 2: PI section heading consistency ─────────────── */
/* Ensure every .pi-section-title has equal visual weight */
.pi-section-title {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  border-radius: 3px;
  padding: 0.55rem 1rem;
  margin-bottom: 1.1rem;
}

/* ── Round 2: News inline expand smooth animation ─────────── */
#news-visible .news-article-row,
#news-hidden  .news-article-row {
  transition: background 0.15s;
  border-radius: var(--radius-sm);
  padding: 0.85rem 0;
}
#news-visible .news-article-row:hover,
#news-hidden  .news-article-row:hover {
  background: rgba(59,183,228,0.04);
}
[id^="news-full-"] {
  animation: expandIn 0.22s ease forwards;
}
@keyframes expandIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Round 2: Contact page tightening ───────────────────── */
.contact-grid { gap: 2.5rem; }
.contact-info-block { gap: 1rem; }
.contact-item { gap: 0.85rem; }
.map-embed { margin: 1.25rem 0; }
.map-embed iframe { height: 260px; }

/* ── Round 3: Mobile 375px — final pass ──────────────────── */
@media (max-width: 480px) {
  /* Nav */
  .nav-logo-text { font-size: 1.1rem; }
  .nav-logo img  { height: 30px; }

  /* Hero */
  .page-hero { min-height: 180px !important; height: auto !important; max-height: none !important; padding: 3rem 0 2.5rem !important; }
  .page-hero h1 { font-size: 1.6rem; }
  .hero-wordmark { font-size: 2.4rem; }
  .hero-tagline  { font-size: 1.05rem; }
  .hero-ctas { flex-direction: column; gap: 0.75rem; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Cards stack */
  .team-grid    { grid-template-columns: 1fr 1fr; gap: 0.9rem; }
  .hooks-grid   { grid-template-columns: 1fr; }
  .news-grid    { grid-template-columns: 1fr; }

  /* Book section */
  .book-inner { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .homepage-img { max-width: 280px !important; }

  /* Footer */
  .footer-grid  { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  /* PI page */
  .pi-social-row { gap: 0.85rem; }
  .pi-social-row a { font-size: 1.25rem; }
}

@media (max-width: 375px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-card-photo, .team-card-photo-placeholder { width: 90px; height: 90px; }
  .btn { font-size: 0.82rem; padding: 0.6rem 1.1rem; }
}

/* ── Round 3: Focus & accessibility ──────────────────────── */
:focus-visible {
  outline: 2px solid #3BB7E4;
  outline-offset: 3px;
  border-radius: 3px;
}
button:focus-visible { outline-offset: 2px; }

/* ── Round 3: Smooth page transitions ────────────────────── */
.team-card, .hook-card, .news-card, .research-card,
.btn, .read-more-btn, .rm-btn, .nav-links li a {
  transition-duration: 0.18s;
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Round 3: Section alternation visual rhythm ──────────── */
/* Subtle top border on light sections for visual separation */
section[style*="background:#fff"] + section[style*="background:var(--color-card)"],
section[style*="background:var(--color-card)"] + section[style*="background:#fff"] {
  border-top: 1px solid rgba(41,76,138,0.06);
}

/* ── Round 3: PI books section consistent highlight ─────── */
.books-highlight {
  background: rgba(59,183,228,0.05);
  border: 1px solid rgba(59,183,228,0.2);
  border-radius: 4px;
  padding: 1rem 1.1rem;
}

/* ── Round 3: Placeholder avatar styling ─────────────────── */
.team-card-photo-placeholder {
  font-family: var(--font-head);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.15);
}

/* ── Round 3: News sidebar improvements ──────────────────── */
.news-sidebar-box { border-left-width: 4px; }

/* ── Quality check: All read-more-btn/rm-btn identical ───── */
.read-more-btn, .rm-btn,
#alumni-toggle-btn, #phd-toggle-btn, #intern-toggle-btn,
#news-toggle-btn {
  background: #3BB7E4;
  color: #fff !important;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.read-more-btn:hover, .rm-btn:hover,
#alumni-toggle-btn:hover, #phd-toggle-btn:hover, #intern-toggle-btn:hover,
#news-toggle-btn:hover {
  background: var(--color-accent-dk);
}

/* ============================================================
   TEAM CARDS — rebuilt structure
   ============================================================ */
.team-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 20px !important;
  border: 1px solid #264886 !important;
  border-radius: 12px !important;
  background: white !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.team-card .card-photo {
  width: 120px !important;
  height: 120px !important;
  margin-bottom: 15px !important;
  flex-shrink: 0 !important;
}

.team-card .card-photo img {
  width: 120px !important;
  height: 120px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  border: 3px solid #d4e0f0 !important;
}

.team-card .card-info {
  width: 100% !important;
  text-align: center !important;
}

.team-card h3 {
  color: #294C8A !important;
  font-weight: 700 !important;
  margin: 0 0 5px 0 !important;
  font-size: 1rem !important;
  font-family: var(--font-head) !important;
}

.team-card .card-role {
  color: #555 !important;
  margin: 0 0 3px 0 !important;
  font-size: 0.85rem !important;
}

.team-card .card-years {
  color: #888 !important;
  font-size: 0.78rem !important;
  margin: 0 !important;
}

.team-card .card-current {
  color: #3BB7E4 !important;
  font-style: italic !important;
  font-size: 0.8rem !important;
  margin-top: 6px !important;
  line-height: 1.4 !important;
}


/* ============================================================
   BUTTONS — dark navy default, teal on hover
   ============================================================ */
.btn-primary,
.btn-secondary,
.read-more-btn,
.rm-btn,
#alumni-toggle-btn, #phd-toggle-btn, #intern-toggle-btn,
#news-toggle-btn {
  background: #294C8A !important;
  background-color: #294C8A !important;
  color: #ffffff !important;
  border-color: #294C8A !important;
}

.btn-primary:hover,
.btn-secondary:hover,
.read-more-btn:hover,
.rm-btn:hover,
#alumni-toggle-btn:hover, #phd-toggle-btn:hover, #intern-toggle-btn:hover,
#news-toggle-btn:hover {
  background: #3BB7E4 !important;
  background-color: #3BB7E4 !important;
  color: #ffffff !important;
  border-color: #3BB7E4 !important;
}

.btn-outline {
  background: transparent !important;
  background-color: transparent !important;
  color: #294C8A !important;
  border: 2px solid #294C8A !important;
}

.btn-outline:hover {
  background: #294C8A !important;
  background-color: #294C8A !important;
  color: #ffffff !important;
}

/* ============================================================
   NAVIGATION — header fix
   ============================================================ */
.site-nav {
  background: #0a1628 !important;
  height: 75px !important;
  min-height: 75px !important;
}

.nav-logo img {
  height: 50px !important;
  width: auto !important;
}

.nav-logo-text {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

.nav-links li a {
  color: rgba(255,255,255,0.88) !important;
  font-size: 0.9rem !important;
}

.nav-links li a:hover {
  color: #3BB7E4 !important;
  background: rgba(255,255,255,0.06) !important;
}

.nav-links li a.active {
  color: #3BB7E4 !important;
  font-weight: 600 !important;
}

.nav-links li.nav-cta a {
  background: #3BB7E4 !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  padding: 0.5rem 1.25rem !important;
  font-weight: 600 !important;
}

.nav-links li.nav-cta a:hover {
  background: #ffffff !important;
  color: #0a1628 !important;
}

/* ============================================================
   HOMEPAGE HERO — reduced height
   ============================================================ */
.hero {
  min-height: 480px !important;
  max-height: 500px !important;
}

.hero .container {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.hero + section {
  margin-top: 0 !important;
}

