/* ============================================================
   CHAN LAB  —  Neural Circuits & Neurotechnology Laboratory
   West Virginia University, Rockefeller Neuroscience Institute
   style.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --navy:        #002D62;
  --navy-dark:   #001A3A;
  --circuit:     #1B6DB8;
  --circuit-lt:  #4A91D9;
  --circuit-pale:#E6F0FA;
  --gold:        #EAAA00;
  --gold-dim:    #C99300;
  --white:       #FFFFFF;
  --ghost:       #F5F7FA;
  --ink:         #131E2E;
  --steel:       #5B7082;
  --divider:     #DDE3EC;
  --success:     #1E7A4A;
  --success-bg:  #E7F4ED;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', -apple-system, system-ui, sans-serif;

  --nav-h:     68px;
  --r:         8px;
  --r-lg:      16px;
  --max-w:     1160px;
  --section-y: 84px;

  --sh-sm: 0 1px 4px rgba(0,0,0,.06);
  --sh:    0 4px 18px rgba(0,0,0,.09);
  --sh-lg: 0 14px 44px rgba(0,0,0,.13);
  --ease:  0.22s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--circuit); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--navy); }
ul { list-style: none; }
button { font-family: inherit; }

/* ── Layout helpers ─────────────────────────────────────────── */
.wrap    { width: min(var(--max-w), 100% - 2.5rem); margin-inline: auto; }
.section { padding: var(--section-y) 0; }
.alt     { background: var(--ghost); }
.center  { text-align: center; }

/* ── Typography ─────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--circuit);
  margin-bottom: .6rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: .85rem;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--steel);
  line-height: 1.78;
  max-width: 620px;
  margin-bottom: 2.5rem;
}
.section-lead.wide { max-width: 800px; }
.center .section-lead { margin-inline: auto; }

/* ── Nav ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
  box-shadow: var(--sh-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(var(--max-w), 100% - 2.5rem);
  margin-inline: auto;
}
.nav-brand { display: flex; flex-direction: column; gap: 1px; text-decoration: none; }
.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.01em;
  line-height: 1;
}
.nav-brand-sub {
  font-size: .62rem;
  font-weight: 500;
  color: var(--steel);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .2rem;
}
.nav-links a {
  display: block;
  padding: .42rem .9rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--r);
  transition: all var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--circuit-pale);
  color: var(--navy);
}
.nav-links a.active { font-weight: 600; }
.nav-links .nav-join {
  background: var(--navy);
  color: var(--white) !important;
  border-radius: var(--r);
  padding: .42rem 1.1rem;
  font-weight: 600;
  transition: background var(--ease);
}
.nav-links .nav-join:hover {
  background: var(--circuit);
  color: var(--white);
}
.nav-links .nav-support {
  background: var(--gold);
  color: var(--navy) !important;
  border-radius: var(--r);
  padding: .42rem 1.1rem;
  font-weight: 700;
  transition: background var(--ease), opacity var(--ease);
}
.nav-links .nav-support:hover {
  opacity: .88;
  color: var(--navy);
}

/* ── Funder pill (Bridi-style) ───────────────────────────────── */
.funder-pill {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem 1rem;
  background: var(--ghost);
  border: 1.5px solid var(--divider);
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.funder-pill:hover {
  border-color: var(--blue);
  box-shadow: 0 2px 12px rgba(27,109,184,.12);
}
.funder-pill-agency {
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--navy);
  color: #fff;
  border-radius: 4px;
  padding: .15rem .45rem;
  flex-shrink: 0;
}
.funder-pill-name {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--divider);
  border-radius: var(--r);
  cursor: pointer;
  padding: .4rem .55rem;
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--navy-dark);
  overflow: hidden;
  padding-top: var(--nav-h);
}
#neural-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .45;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 25% 65%, rgba(27,109,184,.55) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 80% 20%, rgba(74,145,217,.25) 0%, transparent 55%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 4rem 0;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.4rem;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.02em;
  margin-bottom: 1.4rem;
  max-width: 820px;
}
.hero-title mark {
  background: none;
  color: var(--gold);
}
.hero-tag {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.78);
  max-width: 560px;
  line-height: 1.72;
  margin-bottom: 2.4rem;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: 2.8rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem 1rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  cursor: default;
  transition: all var(--ease);
  text-decoration: none;
}
.pill:hover {
  background: rgba(255,255,255,.18);
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.pill svg { width: 13px; height: 13px; flex-shrink: 0; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .72rem 1.55rem;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  border-radius: var(--r);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--ease);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dim);
  border-color: var(--gold-dim);
  color: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(234,170,0,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.38);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.65);
  color: var(--white);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--circuit);
  border-color: var(--circuit);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-border {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-border:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-sm {
  padding: .5rem 1.1rem;
  font-size: .82rem;
}

/* ── Page Hero (interior pages) ─────────────────────────────── */
.page-hero {
  background: linear-gradient(140deg, var(--navy-dark) 0%, var(--circuit) 100%);
  padding: calc(var(--nav-h) + 3.5rem) 0 3rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.page-hero-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .7rem;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: .9rem;
}
.page-hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,.78);
  max-width: 560px;
  line-height: 1.75;
}

/* ── Stats Banner ───────────────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 500;
}

/* ── Research Cards ─────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 1.5rem;
}
.rcard {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--divider);
  padding: 1.8rem 1.75rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--ease);
  text-decoration: none;
  color: inherit;
  display: block;
}
.rcard::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--navy), var(--circuit-lt));
  opacity: 0;
  transition: opacity var(--ease);
}
.rcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}
.rcard:hover::before { opacity: 1; }
.rcard-icon {
  width: 46px;
  height: 46px;
  background: var(--circuit-pale);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.3rem;
}
.rcard-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .55rem;
  line-height: 1.25;
}
.rcard-desc {
  font-size: .88rem;
  color: var(--steel);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.tag-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag {
  font-size: .68rem;
  font-weight: 500;
  padding: .22rem .65rem;
  background: var(--ghost);
  color: var(--steel);
  border-radius: 100px;
  border: 1px solid var(--divider);
}

/* ── Research Detail Pages ──────────────────────────────────── */
.theme-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--divider);
  align-items: start;
}
.theme-block:last-child { border-bottom: none; }
.theme-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--divider);
  line-height: 1;
  margin-bottom: .5rem;
}
.theme-label {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}
.theme-text {
  font-size: .95rem;
  color: var(--steel);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.topic-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.topic-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9rem;
  color: var(--ink);
  line-height: 1.5;
}
.topic-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--circuit);
  flex-shrink: 0;
  margin-top: .6rem;
}

/* ── People ─────────────────────────────────────────────────── */
.people-section-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--circuit-pale);
  padding-bottom: .65rem;
  margin: 2.5rem 0 1.5rem;
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
}
.person-card {
  text-align: center;
  padding: 1.4rem 1rem 1.2rem;
  border-radius: var(--r-lg);
  border: 1px solid transparent;
  transition: all var(--ease);
}
.person-card:hover {
  background: var(--ghost);
  border-color: var(--divider);
  transform: translateY(-2px);
}
.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto .9rem;
  background: linear-gradient(135deg, var(--circuit-pale), var(--navy));
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--divider);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 130px; height: 130px; font-size: 2.1rem; }
.person-name {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .2rem;
}
.person-role { font-size: .78rem; color: var(--steel); line-height: 1.45; }
.person-tag {
  display: inline-block;
  margin-top: .55rem;
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .2rem .6rem;
  background: var(--circuit-pale);
  color: var(--circuit);
  border-radius: 100px;
}
.collab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.collab-card {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--divider);
  border-radius: var(--r);
  transition: all var(--ease);
}
.collab-card:hover {
  border-color: var(--circuit-pale);
  box-shadow: var(--sh-sm);
}
.collab-name {
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .2rem;
}
.collab-inst {
  font-size: .78rem;
  color: var(--steel);
  line-height: 1.5;
}

/* ── Publications ───────────────────────────────────────────── */
.pub-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.pub-search {
  flex: 1;
  min-width: 220px;
  padding: .6rem 1rem;
  border: 1.5px solid var(--divider);
  border-radius: var(--r);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--ease);
}
.pub-search:focus {
  outline: none;
  border-color: var(--circuit);
}
.pub-year-group { margin-bottom: 2.75rem; }
.pub-year-header {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  padding-bottom: .7rem;
  border-bottom: 2px solid var(--circuit-pale);
  margin-bottom: 1.25rem;
}
.pub-item {
  padding: 1rem 0 1.05rem;
  border-bottom: 1px solid var(--ghost);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
}
.pub-item:last-child { border-bottom: none; }
.pub-title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .3rem;
  line-height: 1.5;
}
.pub-title a { color: var(--navy); }
.pub-title a:hover { color: var(--circuit); }
.pub-authors { font-size: .82rem; color: var(--steel); margin-bottom: .25rem; }
.pub-authors strong { color: var(--circuit); font-weight: 600; }
.pub-journal { font-size: .8rem; color: #7A8A9A; }
.pub-pmid-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .8rem;
  background: var(--ghost);
  border: 1px solid var(--divider);
  border-radius: var(--r);
  font-size: .72rem;
  font-weight: 600;
  color: var(--circuit);
  white-space: nowrap;
  transition: all var(--ease);
  text-decoration: none;
}
.pub-pmid-btn:hover {
  background: var(--circuit-pale);
  border-color: var(--circuit);
  color: var(--circuit);
}
.pub-loading {
  text-align: center;
  padding: 4rem;
  color: var(--steel);
}
.spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid var(--divider);
  border-top-color: var(--circuit);
  animation: spin .7s linear infinite;
  margin: 1rem auto 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pub-notice {
  padding: 1rem 1.25rem;
  background: var(--ghost);
  border-left: 4px solid var(--circuit);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: .85rem;
  color: var(--steel);
  margin-bottom: 1.5rem;
}

/* ── Technology ─────────────────────────────────────────────── */
.tech-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--divider);
}
.tech-feature:last-of-type { border-bottom: none; }
.tech-feature.reverse { direction: rtl; }
.tech-feature.reverse > * { direction: ltr; }
.tech-visual {
  border-radius: var(--r-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--circuit) 100%);
}
.tech-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 25%, rgba(255,255,255,.12) 0%, transparent 60%);
}
.tech-visual-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .1em;
  z-index: 2;
}
.tech-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.tech-badge {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--circuit);
  margin-bottom: .5rem;
}
.tech-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .9rem;
  line-height: 1.15;
}
.tech-text {
  font-size: .95rem;
  color: var(--steel);
  line-height: 1.78;
  margin-bottom: 1.4rem;
}
.spec-list {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-bottom: 1.5rem;
}
.spec-item {
  display: flex;
  gap: .7rem;
  font-size: .88rem;
  color: var(--ink);
  line-height: 1.5;
  align-items: flex-start;
}
.spec-item::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .65rem;
}
.future-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.future-card {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  transition: all var(--ease);
}
.future-card:hover {
  border-color: var(--circuit-lt);
  box-shadow: var(--sh);
  transform: translateY(-2px);
}
.future-card-icon { font-size: 1.75rem; margin-bottom: .75rem; }
.future-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}
.future-card-text { font-size: .83rem; color: var(--steel); line-height: 1.65; }

/* ── Clinical ───────────────────────────────────────────────── */
.clinical-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.clin-card {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: all var(--ease);
  position: relative;
  overflow: hidden;
}
.clin-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--navy), var(--circuit-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.clin-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh);
}
.clin-card:hover::after { transform: scaleX(1); }
.clin-icon { font-size: 2rem; margin-bottom: .9rem; }
.clin-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}
.clin-text { font-size: .875rem; color: var(--steel); line-height: 1.68; }
.differentiator {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--circuit) 100%);
  border-radius: var(--r-lg);
  color: var(--white);
  padding: 2.5rem 2rem;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.diff-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: .8rem;
}
.diff-text { font-size: .9rem; color: rgba(255,255,255,.8); line-height: 1.75; }
.diff-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.diff-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.diff-stat-label { font-size: .75rem; color: rgba(255,255,255,.65); margin-top: .3rem; line-height: 1.45; }

/* ── Join ───────────────────────────────────────────────────── */
.join-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.join-card {
  background: var(--white);
  border: 2px solid var(--divider);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  transition: all var(--ease);
}
.join-card:hover {
  border-color: var(--circuit);
  transform: translateY(-3px);
  box-shadow: var(--sh);
}
.join-who {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--circuit);
  margin-bottom: .5rem;
}
.join-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .75rem;
}
.join-desc { font-size: .875rem; color: var(--steel); line-height: 1.7; margin-bottom: 1.3rem; }
.join-reqs {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.5rem;
  padding-left: 0;
}
.join-req {
  font-size: .82rem;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  line-height: 1.5;
}
.join-req::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}
.contact-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  margin-top: 3rem;
  text-align: center;
}
.contact-box h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: .75rem;
}
.contact-box p { color: rgba(255,255,255,.78); margin-bottom: 1.5rem; font-size: .95rem; max-width: 480px; margin-inline: auto; }
.contact-box a { color: var(--gold); font-weight: 600; }
.contact-box a:hover { color: #fff; }

/* ── News ───────────────────────────────────────────────────── */
.news-filters {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: .38rem 1rem;
  border-radius: 100px;
  border: 1.5px solid var(--divider);
  background: var(--white);
  font-size: .78rem;
  font-weight: 500;
  color: var(--steel);
  cursor: pointer;
  transition: all var(--ease);
}
.filter-btn:hover, .filter-btn.on {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.news-list { display: flex; flex-direction: column; gap: 1.25rem; }
.news-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.5rem;
  padding: 1.4rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--r-lg);
  transition: all var(--ease);
}
.news-item:hover {
  border-color: var(--circuit-pale);
  box-shadow: var(--sh);
  transform: translateX(3px);
}
.news-date { text-align: center; padding-top: .2rem; }
.news-month { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--circuit); }
.news-day { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.news-year { font-size: .68rem; color: var(--steel); }
.nbadge {
  display: inline-block;
  font-size: .63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .18rem .6rem;
  border-radius: 100px;
  margin-bottom: .5rem;
}
.nb-grant  { background: var(--success-bg); color: var(--success); }
.nb-paper  { background: var(--circuit-pale); color: var(--circuit); }
.nb-award  { background: #FFF8E1; color: #9A6800; }
.nb-press  { background: #F4E8FB; color: #6A0FAD; }
.nb-event  { background: #FDE9E6; color: #9B2C10; }
.nb-people { background: #E6FBF0; color: #0E7A3E; }
.news-title { font-size: .95rem; font-weight: 600; color: var(--navy); margin-bottom: .35rem; line-height: 1.45; }
.news-desc { font-size: .85rem; color: var(--steel); line-height: 1.62; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.6);
  padding: 3.5rem 0 1.75rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .3rem;
}
.footer-brand-sub {
  font-size: .72rem;
  color: rgba(255,255,255,.42);
  line-height: 1.6;
  margin-bottom: .85rem;
}
.footer-addr { font-size: .8rem; line-height: 1.9; }
.footer-col-head {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  margin-bottom: .85rem;
}
.footer-links { display: flex; flex-direction: column; gap: .45rem; }
.footer-links a { font-size: .84rem; color: rgba(255,255,255,.58); transition: color var(--ease); }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.35); }
.footer-rni { font-size: .78rem; color: rgba(255,255,255,.35); display: flex; align-items: center; gap: .4rem; }

/* ── Utilities ──────────────────────────────────────────────── */
.mt-1  { margin-top: 1rem; }
.mt-2  { margin-top: 2rem; }
.mt-3  { margin-top: 3rem; }
.mb-2  { margin-bottom: 2rem; }
.divider-rule { border: none; border-top: 1px solid var(--divider); margin: 2.5rem 0; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.25rem;
    gap: .2rem;
    overflow-y: auto;
    box-shadow: var(--sh-lg);
    align-items: stretch;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    font-size: 1.05rem;
    padding: .75rem 1rem;
  }
  .nav-toggle { display: block; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-feature,
  .tech-feature.reverse { grid-template-columns: 1fr; direction: ltr; gap: 2rem; }
  .differentiator { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .theme-block { grid-template-columns: 1fr; gap: 1rem; }
  .theme-num { font-size: 2.5rem; }
}
@media (max-width: 600px) {
  :root { --section-y: 56px; }
  .hero-title { letter-spacing: -.01em; }
  .news-item { grid-template-columns: 72px 1fr; gap: 1rem; padding: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .pub-item { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
