@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Serif+Display:ital@0;1&family=IBM+Plex+Mono:wght@400;500;700&display=swap');

:root {
  --primary:       #003DA5;
  --primary-lt:    #1A5CC8;
  --accent:        #D64B38;
  --navy:          #0B1629;
  --navy-mid:      #14243F;
  --slate:         #556070;
  --slate-lt:      #8E9BAD;
  --border:        #E2E8F2;
  --surface:       #F5F7FA;
  --white:         #FFFFFF;
  --font:          'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif:    'DM Serif Display', Georgia, serif;
  --font-mono:     'IBM Plex Mono', 'Courier New', monospace;
  --nav-h:         68px;
  --r-sm:          6px;
  --r-md:          12px;
  --r-lg:          18px;
  --r-xl:          24px;
  --r-2xl:         36px;
  --shadow-sm:     0 1px 4px rgba(0,0,0,.07);
  --shadow-md:     0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:     0 12px 48px rgba(0,0,0,.14);
  --max-w:         1280px;
  --pdim:          rgba(0,61,165,.09);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ── Type Scale ── */
h1, h2, h3 { font-family: var(--font-serif); line-height: 1.1; font-weight: 400; }
h4, h5, h6 { font-family: var(--font); font-weight: 700; }
.eyebrow {
  display: inline-block; font-size: .6875rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--primary);
  margin-bottom: .75rem;
}
.sec-title {
  font-family: var(--font-serif);
  font-size: clamp(1.625rem, 3.5vw, 2.5rem);
  font-weight: 400; line-height: 1.1; letter-spacing: -.01em; color: var(--navy);
}
.sec-title em { font-style: italic; color: var(--navy); }

/* ── Layout Helpers ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.bg-surface { background: var(--surface); }
.bg-navy { background: var(--navy); }
.divider { height: 1px; background: var(--border); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .9rem; padding: .75rem 1.625rem;
  border-radius: var(--r-sm); transition: all .2s; cursor: pointer;
  border: none; font-family: var(--font);
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-lt); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); background: var(--pdim); color: var(--primary); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-sm { padding: .5rem 1.1rem; font-size: .8125rem; }
.arrow-link {
  display: inline-flex; align-items: center; gap: .375rem;
  font-size: .875rem; font-weight: 600; color: var(--primary); transition: gap .2s;
}
.arrow-link:hover { gap: .625rem; }
.arrow-link .ms { font-size: 1rem; }

/* ── Tags ── */
.tag { display: inline-block; font-size: .5625rem; font-weight: 700; padding: .2rem .5rem; border-radius: 4px; border: 1px solid transparent; }
.tag-blue  { background:#EEF4FF; color:#1D4ED8; border-color:#BFDBFE; }
.tag-green { background:#F0FDF4; color:#15803D; border-color:#BBF7D0; }
.tag-orange{ background:#FFF7ED; color:#C2410C; border-color:#FED7AA; }
.tag-grey  { background:var(--surface); color:var(--slate); border-color:var(--border); }

/*NAVIGATION*/
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); height: var(--nav-h);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo img { height: 2.375rem; width: auto; }
.nav-links { display: flex; align-items: center; }
.nav-links a {
  font-size: .8125rem; font-weight: 500; color: var(--slate);
  padding: .5rem .875rem; border-radius: var(--r-sm);
  transition: color .15s, background .15s; white-space: nowrap;
}
.nav-links a:hover { color: var(--navy); background: var(--surface); }
.nav-links a.active { color: var(--primary); font-weight: 700; background: var(--pdim); }
.nav-cta { display: flex; align-items: center; gap: .75rem; }
.nav-sign-in {
  font-size: .75rem; font-weight: 700; color: #fff;
  padding: .4rem .875rem; border-radius: var(--r-sm);
  background: var(--primary); border: none;
  transition: background .2s; white-space: nowrap; line-height: 1;
}
.nav-sign-in:hover { background: #0057B8; }
.nav-hamburger {
  display: none; align-items: center; justify-content: center;
  padding: .5rem; border-radius: var(--r-sm); background: var(--surface); color: var(--navy);
}
.nav-hamburger .ms { font-size: 1.5rem; }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: var(--white); flex-direction: column; padding: 1.5rem 1.5rem 2rem; gap: 2rem;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border); }
.mobile-menu nav a {
  font-size: 1rem; font-weight: 500; color: var(--navy);
  padding: .9rem .25rem; border-bottom: 1px solid var(--border); display: block;
}
.mobile-menu nav a.active { color: var(--primary); font-weight: 700; }
.mobile-menu-footer { padding-top: 1.5rem; border-top: 1px solid var(--border); }
.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .5rem; border-radius: 50%; background: var(--surface); cursor: pointer;
}

/*HERO SLIDER*/
.hero { position: relative; overflow: hidden; background: var(--navy); }
.hero-track { display: flex; will-change: transform; transition: transform .85s cubic-bezier(.77,0,.175,1); }
.hero-slide {
  min-width: 100%; position: relative;
  display: flex; align-items: flex-end;
  min-height: calc(100svh - var(--nav-h)); max-height: 860px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.07); transition: transform 10s ease-out;
}
.hero-slide.is-active .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(11,22,41,.12) 0%,
    rgba(11,22,41,.5) 45%,
    rgba(11,22,41,.93) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 4rem 0 5.5rem; max-width: 760px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.24);
  color: rgba(255,255,255,.92); font-size: .6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .18em;
  padding: .4rem 1rem; border-radius: 9999px; margin-bottom: 1.75rem;
}
.hero-pill .ms { font-size: .875rem; }
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 400; color: #fff; line-height: 1.06;
  letter-spacing: -.02em; margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: #fff; }
.hero-desc {
  font-size: 1.0625rem; color: rgba(255,255,255,.72);
  line-height: 1.78; max-width: 540px; margin-bottom: 2.5rem;
}
.hero-btns { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* Slide controls */
.hero-ctrl {
  position: absolute; bottom: 2.25rem; left: 0; right: 0; z-index: 10;
}
.hero-ctrl-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; gap: 1.25rem;
}
.hero-dots { display: flex; gap: .5rem; }
.hero-dot {
  height: 3px; width: 1.75rem; border-radius: 9999px;
  background: rgba(255,255,255,.3); border: none; cursor: pointer;
  transition: all .3s ease; padding: 0;
}
.hero-dot.active { background: #fff; width: 3rem; }
.hero-navs { display: flex; gap: .5rem; margin-left: auto; }
.hero-nav-btn {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.1); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s;
}
.hero-nav-btn:hover { background: rgba(255,255,255,.22); }
.hero-nav-btn .ms { font-size: 1.125rem; }

/*THEMATIC FOCUS SLIDER */
.theme-wrap { overflow: hidden; position: relative; }
.theme-track { display: flex; gap: 1.125rem; transition: transform .6s cubic-bezier(.4,0,.2,1); will-change: transform; }
.theme-card {
  flex: 0 0 calc(25% - .9rem); min-width: 0;
  border-radius: var(--r-lg); overflow: hidden;
  position: relative; aspect-ratio: 3/4;
  background: var(--navy); cursor: pointer;
}
.theme-card-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .7s ease;
}
.theme-card:hover .theme-card-img { transform: scale(1.07); }
.theme-card-grad {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(11,22,41,.95) 100%);
}
.theme-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.75rem 1.5rem; }
.theme-icon {
  width: 2.5rem; height: 2.5rem; border-radius: var(--r-sm);
  background: rgba(0,61,165,.6); border: 1px solid rgba(0,61,165,.4);
  display: flex; align-items: center; justify-content: center; margin-bottom: .875rem;
}
.theme-icon .ms { font-size: 1.125rem; color: #7BAEFF; }
.theme-card h3 { font-family: var(--font); font-weight: 700; font-size: .9375rem; color: #fff; margin-bottom: .3rem; }
.theme-card p { font-size: .75rem; color: rgba(255,255,255,.62); line-height: 1.55; }
.theme-nav { display: flex; align-items: center; gap: .75rem; margin-top: 2rem; justify-content: flex-end; }
.theme-nav-btn {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 1.5px solid var(--border); background: var(--white); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s;
}
.theme-nav-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--pdim); }
.theme-nav-btn .ms { font-size: 1.125rem; }
@media (max-width: 1024px) { .theme-card { flex: 0 0 calc(33.333% - .75rem); } }
@media (max-width: 768px)  { .theme-card { flex: 0 0 calc(50% - .5625rem); } }
@media (max-width: 480px)  { .theme-card { flex: 0 0 88%; } }

/*PARTNERS — name */
.partners-row {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 3rem 4.5rem;
}
.partner-item {
  display: flex; flex-direction: column; align-items: center; gap: .625rem;
  opacity: .55; filter: grayscale(1); transition: opacity .25s, filter .25s;
  cursor: pointer;
}
.partner-item:hover { opacity: 1; filter: grayscale(0); }
.partner-item img { height: 2.375rem; width: auto; object-fit: contain; max-width: 140px; }
.partner-item span { font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--slate); }

/*NEWS GRID*/
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.news-card { background: var(--white); display: flex; flex-direction: column; transition: background .2s; }
.news-card:hover { background: var(--surface); }
.news-thumb { height: 200px; background-size: cover; background-position: center; background-color: var(--surface); }
.news-body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; gap: .625rem; }
.news-cat-row { display: flex; align-items: center; justify-content: space-between; }
.news-cat { font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); }
.news-date { font-family: var(--font-mono); font-size: .5625rem; color: var(--slate-lt); }
.news-card h3 { font-family: var(--font); font-weight: 700; font-size: 1rem; color: var(--navy); line-height: 1.45; }
.news-card p { font-size: .875rem; color: var(--slate); line-height: 1.72; flex: 1; }

/*STATS STRIP — at bottom of sections*/
.stats-strip { background: var(--navy); border-top: 3px solid var(--primary); padding: 3.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-cell { text-align: center; padding: 0 2rem; border-right: 1px solid rgba(255,255,255,.08); }
.stat-cell:last-child { border-right: none; }
.stat-num { display: block; font-family: var(--font-serif); font-size: 2rem; color: #fff; line-height: 1; margin-bottom: .5rem; }
.stat-lbl { font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: rgba(255,255,255,.38); }

/*PEOPLE PAGE*/
.ppl-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.ppl-item {
  padding: 1.75rem 1.5rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: .5rem; transition: background .18s;
}
.ppl-item:hover { background: var(--surface); }
.ppl-avatar {
  width: 3rem; height: 3rem; border-radius: 50%;
  object-fit: cover; margin-bottom: .625rem;
  border: 2px solid var(--border); background: var(--surface);
}
.ppl-initials {
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--pdim); border: 2px solid rgba(0,61,165,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: .9375rem; font-weight: 700; color: var(--primary);
  margin-bottom: .625rem; font-family: var(--font);
}
.ppl-name { font-size: .9375rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.ppl-role { font-size: .8125rem; color: var(--slate); line-height: 1.4; }
.ppl-tags { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .25rem; }

/* Lab Lead card */
.lab-lead {
  display: flex; gap: 2rem; align-items: flex-start; padding: 2.5rem;
  border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--white);
  margin-bottom: 3rem;
}
.lab-lead-photo { width: 6rem; height: 6rem; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid rgba(0,61,165,.18); }
.lab-lead-init { width: 6rem; height: 6rem; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.75rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.lab-lead-info { flex: 1; }
.lab-lead-info h3 { font-family: var(--font); font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: .25rem; }
.lab-lead-role { font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); display: block; margin-bottom: .875rem; }
.lab-lead-info p { font-size: .9375rem; color: var(--slate); line-height: 1.7; }

/*ALUMNI — full-width image layout*/
.alumni-section-head { background: var(--navy); padding: 5rem 0 4rem; text-align: center; position: relative; overflow: hidden; }
.alumni-section-head::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(0,87,184,.12) 1px, transparent 1px); background-size: 28px 28px; }
.alumni-filter-bar { position: sticky; top: var(--nav-h); z-index: 50; background: var(--white); border-bottom: 1px solid var(--border); padding: .875rem 0; }
.filter-pills { display: flex; align-items: center; gap: .5rem; overflow-x: auto; padding-bottom: .125rem; scrollbar-width: none; }
.filter-pills::-webkit-scrollbar { display: none; }
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .4375rem 1rem; border-radius: 9999px; font-size: .75rem; font-weight: 600; cursor: pointer; border: 1.5px solid var(--border); background: var(--white); color: var(--slate); transition: all .2s; white-space: nowrap; }
.pill.active, .pill:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.alumni-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.alumni-entry { padding: 2rem 1.75rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 1.25rem; transition: background .2s; }
.alumni-entry:hover { background: var(--surface); }
.alumni-initials-badge { width: 3rem; height: 3rem; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .9375rem; font-weight: 700; color: var(--primary); background: var(--primary-dim); border: 1.5px solid rgba(0,87,184,.15); }
.alumni-entry-info h3 { font-family: var(--font-sans); font-size: .9375rem; font-weight: 700; color: var(--navy); }
.alumni-entry-info .degree { font-size: .75rem; color: var(--slate); margin: .125rem 0 .5rem; }
.alumni-entry-info .position { font-size: .8125rem; font-weight: 600; color: var(--primary); }
.alumni-entry-info .year-badge { display: inline-block; font-family: var(--font-mono); font-size: .5625rem; font-weight: 700; padding: .15rem .5rem; border-radius: 4px; background: var(--surface); color: var(--slate-lt); border: 1px solid var(--border); margin-top: .5rem; }

/*PAGE HERO*/
.page-hero { background: var(--navy); position: relative; overflow: hidden; padding: 5.5rem 0 4.5rem; }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,61,165,.12) 1px, transparent 1px);
  background-size: 30px 30px;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.25rem); }
.page-hero h1 em { color: #fff; }
.page-hero .desc { color: rgba(255,255,255,.64); font-size: 1.0625rem; max-width: 580px; margin-top: 1rem; line-height: 1.75; }

/*ABOUT PAGE*/
.vm-pair { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; }
.vm-dark { background: var(--navy); color: #fff; padding: 3rem; }
.vm-light { background: var(--white); padding: 3rem; }
.vm-lbl { font-size: .625rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; display: block; margin-bottom: 1.5rem; }
.vm-dark .vm-lbl { color: rgba(123,174,255,.8); }
.vm-light .vm-lbl { color: var(--primary); }
.vm-dark p { color: rgba(255,255,255,.68); font-size: 1rem; line-height: 1.8; }
.vm-light p { color: var(--slate); font-size: 1rem; line-height: 1.8; }
.vm-mission-big { font-family: var(--font-serif); font-size: 2.125rem; color: var(--primary); line-height: 1.15; margin-bottom: .5rem; }
.goals-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.goal-cell { background: var(--white); padding: 2rem; transition: background .2s; }
.goal-cell:hover { background: var(--surface); }
.goal-num { font-family: var(--font-mono); font-size: .625rem; font-weight: 700; color: var(--primary); display: block; margin-bottom: .75rem; }
.goal-cell h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; color: var(--navy); }
.goal-cell p { font-size: .875rem; color: var(--slate); line-height: 1.65; }
.bento { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px; gap: .875rem; }
.bento-item { border-radius: var(--r-lg); background-size: cover; background-position: center; background-color: var(--surface); }
.bento-item:first-child { grid-row: span 2; }

/*NEWS PAGE*/
.news-full { display: grid; grid-template-columns: 2fr 1fr; gap: 3.5rem; align-items: start; }
.news-list-item { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--border); transition: background .15s; }
.news-list-item:first-child { padding-top: 0; }
.nli-thumb { border-radius: var(--r-md); overflow: hidden; background-color: var(--surface); }
.nli-thumb img { width: 100%; height: 155px; object-fit: cover; display: block; }
.nli-thumb-ph { width: 100%; height: 155px; background: var(--surface); display: flex; align-items: center; justify-content: center; }
.nli-thumb-ph .ms { font-size: 2.5rem; color: var(--border); }
.nli-body { display: flex; flex-direction: column; gap: .625rem; }
.nli-cat { font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); }
.nli-body h2 { font-family: var(--font); font-size: 1.0625rem; font-weight: 700; color: var(--navy); line-height: 1.4; }
.nli-body p { font-size: .875rem; color: var(--slate); line-height: 1.7; }
.nli-meta { font-family: var(--font-mono); font-size: .5625rem; color: var(--slate-lt); }
.news-sidebar { position: sticky; top: calc(var(--nav-h) + 2rem); }
.sb-block { margin-bottom: 2.5rem; }
.sb-block h3 { font-family: var(--font); font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--slate-lt); margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 2px solid var(--border); }
.sb-item { padding: .875rem 0; border-bottom: 1px solid var(--border); }
.sb-item h4 { font-size: .875rem; font-weight: 600; color: var(--navy); line-height: 1.4; margin-bottom: .25rem; }
.sb-item span { font-size: .75rem; color: var(--slate-lt); }

/*NOTES / COURSES PAGE*/
.course-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.course-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.course-card:hover { box-shadow: var(--shadow-md); }
.course-thumb { height: 180px; background-size: cover; background-position: center; background-color: var(--navy); position: relative; }
.course-thumb-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11,22,41,.75) 100%); }
.course-num { position: absolute; bottom: 1rem; left: 1.25rem; font-family: var(--font-mono); font-size: .5625rem; font-weight: 700; color: rgba(255,255,255,.7); letter-spacing: .1em; }
.course-body { padding: 1.5rem; }
.course-body h3 { font-family: var(--font); font-size: .9375rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; line-height: 1.4; }
.course-body p { font-size: .8125rem; color: var(--slate); line-height: 1.65; margin-bottom: 1.25rem; }
.course-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--border); }
.course-meta { font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-lt); }
.course-prog { width: 100%; margin: .75rem 0; }
.course-prog-bar { height: 4px; background: var(--border); border-radius: 9999px; overflow: hidden; }
.course-prog-fill { height: 100%; background: var(--primary); border-radius: 9999px; transition: width .5s; }
.course-prog-txt { font-family: var(--font-mono); font-size: .5625rem; color: var(--primary); font-weight: 700; margin-top: .375rem; display: block; }

/* Lab notes */
.notes-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.note-item { display: flex; align-items: center; gap: 1.25rem; padding: 1.125rem 1.5rem; border-bottom: 1px solid var(--border); background: var(--white); transition: background .15s; }
.note-item:last-child { border-bottom: none; }
.note-item:hover { background: var(--surface); }
.note-icon { width: 2.25rem; height: 2.25rem; border-radius: var(--r-sm); background: var(--pdim); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.note-icon .ms { font-size: 1.125rem; color: var(--primary); }
.note-info { flex: 1; }
.note-info h4 { font-size: .875rem; font-weight: 700; color: var(--navy); margin-bottom: .2rem; }
.note-info span { font-family: var(--font-mono); font-size: .5625rem; text-transform: uppercase; color: var(--slate-lt); }
.note-dl { display: flex; align-items: center; color: var(--primary); transition: color .15s; }
.note-dl:hover { color: var(--primary-lt); }
.note-dl .ms { font-size: 1.25rem; }

/*CONTACT*/
.form-field { display: flex; flex-direction: column; gap: .5rem; }
.form-field label { font-size: .8125rem; font-weight: 600; color: var(--navy); }
.form-field input, .form-field textarea, .form-field select {
  padding: .75rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--r-sm); font-size: .9375rem; font-family: var(--font);
  color: var(--navy); background: var(--white); outline: none;
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,61,165,.09);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-success { background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: var(--r-sm); padding: 1rem 1.25rem; color: #15803D; font-size: .9375rem; display: none; }

/* Contact info blocks */
.contact-info-item { display: flex; gap: 1.125rem; align-items: flex-start; padding: 1.5rem; border-bottom: 1px solid var(--border); }
.contact-info-item:last-child { border-bottom: none; }
.cinfo-icon { width: 2.5rem; height: 2.5rem; border-radius: var(--r-sm); background: var(--pdim); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cinfo-icon .ms { font-size: 1.125rem; color: var(--primary); }
.cinfo-lbl { font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-lt); display: block; margin-bottom: .25rem; }
.cinfo-val { font-size: .9375rem; color: var(--navy); }


/*DIRECTOR CARD*/
.director-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: flex-start;
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--white);
  margin-bottom: 2rem;
}
.director-photo {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid rgba(0,61,165,.18);
  background: var(--surface);
}
.director-initials {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.director-info h3 {
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .25rem;
}
.director-role-lbl {
  display: block;
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.director-info p {
  font-size: .9375rem;
  color: var(--slate);
  line-height: 1.78;
  margin-bottom: .875rem;
}
.director-skills {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
  margin: 1.25rem 0;
}
.director-interests {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.interests-label {
  font-size: .625rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--slate-lt) !important;
  margin-bottom: 1rem !important;
}
.interest-row {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .625rem;
  font-size: .875rem;
  color: var(--slate);
  line-height: 1.6;
}
.interest-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: .45rem;
}

/*TEAM MEMBERS GRID*/
.team-members-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.team-member-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--white);
  transition: background .2s, box-shadow .2s;
}
.team-member-card:hover {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.team-member-photo {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border);
}
.team-member-info { flex: 1; }

/* Responsive */
@media (max-width: 768px) {
  .director-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.75rem;
  }
  .team-members-grid {
    grid-template-columns: 1fr;
  }
}

/*FOOTER*/
.site-footer { background: var(--navy); padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2.5fr 1fr 1fr; gap: 4rem; padding-bottom: 3rem; margin-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand img { height: 2.5rem; margin-bottom: 1.375rem; }
.footer-brand p { font-size: .9rem; color: rgba(255,255,255,.55); line-height: 1.8; max-width: 22rem; }
.footer-col h4 { font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: rgba(255,255,255,.35); margin-bottom: 1.5rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .875rem; }
.footer-col li a { font-size: .875rem; color: rgba(255,255,255,.55); transition: color .15s; }
.footer-col li a:hover { color: #fff; }
.footer-col li { font-size: .875rem; color: rgba(255,255,255,.35); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: .75rem; color: rgba(255,255,255,.3); }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-size: .75rem; color: rgba(255,255,255,.3); transition: color .15s; }
.footer-links a:hover { color: rgba(255,255,255,.7); }

/*RESPONSIVE*/
@media (max-width: 1200px) {
  .alumni-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2) { border-right: none; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .ppl-grid { grid-template-columns: repeat(3,1fr); }
  .alumni-grid { grid-template-columns: repeat(2,1fr); }
  .goals-grid { grid-template-columns: 1fr 1fr; }
  .vm-pair { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-full { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-rows: 200px 200px; }
}
@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 3.5rem 0; }
  .hero-slide { min-height: 85svh; }
  .hero-title { font-size: 2rem; }
  .hero-desc { font-size: .9375rem; }
  .news-grid { grid-template-columns: 1fr; }
  .ppl-grid { grid-template-columns: 1fr 1fr; }
  .alumni-grid { grid-template-columns: 1fr 1fr; }
  .goals-grid { grid-template-columns: 1fr; }
  .lab-lead { flex-direction: column; padding: 1.75rem; }
  .lab-lead-photo, .lab-lead-init { width: 5rem; height: 5rem; }
  .bento { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .bento-item:first-child { grid-row: auto; height: 220px; }
  .bento-item { height: 180px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .news-list-item { grid-template-columns: 1fr; gap: 1rem; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr; }
  .news-full { gap: 2.5rem; }
}
@media (max-width: 540px) {
  .hero-slide { min-height: 90svh; }
  .ppl-grid { grid-template-columns: 1fr 1fr; }
  .alumni-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-cell { padding: 0 1.25rem; }
  .partners-row { gap: 2rem 2.5rem; }
}
@media (max-width: 400px) {
  .alumni-grid { grid-template-columns: 1fr; }
  .ppl-grid { grid-template-columns: 1fr; }
}
main { display: block; }
.section + .section { margin-top: 0; }
section { margin: 0; }
.stats-strip { margin: 0; }

/* ── Tag extras── */
.tag-purple { background:#f5f3ff; color:#6d28d9; border-color:#ddd6fe; }
.tag-slate  { background:var(--surface); color:var(--slate); border-color:var(--border); }

/* ── Research page hero ── */
.research-hero {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.research-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,61,165,.1) 1px, transparent 1px);
  background-size: 28px 28px;
}
.research-hero > .container { position: relative; z-index: 1; }
.research-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; color: #fff; margin-bottom: .75rem; }
.research-hero h1 span { color: #fff; }
.research-hero p { color: rgba(255,255,255,.6); font-size: .9375rem; max-width: 500px; line-height: 1.75; }
.hero-counters { display: flex; gap: 2.5rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-count-num { font-size: 2rem; font-weight: 800; color: #fff; font-family: var(--font-mono); display: block; }
.hero-count-lbl { font-size: .5rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: rgba(255,255,255,.4); display: block; }

/* ── Research body layout ── */
.research-body { padding: 3rem 0; background: #f8fafc; }
.research-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; }

/* ── Sidebar filters ── */
.sidebar-filters {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}
.filter-section { margin-bottom: 1.75rem; }
.filter-section:last-child { margin-bottom: 0; }
.filter-title {
  font-size: .5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--slate);
  margin-bottom: .875rem;
}
.filter-tabs { display: flex; flex-direction: column; gap: .25rem; }
.filter-tab {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .6rem .875rem;
  border-radius: var(--r-sm);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--slate);
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  text-decoration: none;
  transition: background var(--transition, .2s), color var(--transition, .2s);
}
.filter-tab:hover  { background: #f1f5f9; color: var(--navy); }
.filter-tab.active { background: rgba(0,61,165,.07); color: var(--primary); font-weight: 700; }
.filter-count {
  font-size: .625rem;
  font-weight: 700;
  background: #e2e8f0;
  color: var(--slate);
  padding: .15rem .5rem;
  border-radius: 9999px;
  white-space: nowrap;
}
.filter-tab.active .filter-count { background: var(--primary); color: #fff; }

/* Year filter scrollable area */
.year-filter-scroll {
  max-height: 270px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.year-filter-scroll::-webkit-scrollbar { width: 4px; }
.year-filter-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 9999px; }

/* Search box */
.search-box { position: relative; }
.search-box input {
  width: 100%;
  padding: .75rem .875rem .75rem 2.5rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: .875rem;
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  outline: none;
  transition: border-color .2s;
}
.search-box input:focus { border-color: var(--primary); }
.search-box .material-symbols-outlined {
  position: absolute;
  left: .75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: var(--slate);
  pointer-events: none;
}

/* ── Panel header ── */
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.panel-title { font-size: 1.25rem; font-weight: 700; color: var(--navy); }
.result-count { font-size: .75rem; color: var(--slate); }

/* ── Active filter banner ── */
.year-active-banner {
  background: rgba(0,61,165,.06);
  border: 1px solid rgba(0,61,165,.15);
  border-radius: var(--r-md);
  padding: .625rem 1rem;
  margin-bottom: 1.5rem;
  font-size: .8125rem;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}

/* ── Project cards ── */
.proj-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.proj-card:hover {}
.proj-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.proj-field-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .25rem .75rem;
  border-radius: 9999px;
  border: 1px solid;
}
.proj-title { font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.4; margin: .5rem 0; }
.proj-desc  { font-size: .875rem; color: var(--slate); line-height: 1.7; }
.proj-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.proj-footer-meta { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.proj-meta-item { font-size: .75rem; color: var(--slate); display: flex; align-items: center; gap: .3rem; }
.proj-meta-item .material-symbols-outlined { font-size: .875rem; }

/* Status variants */
.status-active   { background: rgba(34,197,94,.1); color: #16a34a; border-color: rgba(34,197,94,.25); }
.status-done     { background: #f1f5f9; color: #475569; border-color: #e2e8f0; }
.status-ongoing  { background: rgba(245,158,11,.1); color: #d97706; border-color: rgba(245,158,11,.25); }

/* ── Publication cards ── */
.pub-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}
.pub-card-top { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .875rem; }
.pub-card-meta { display: flex; flex-wrap: wrap; gap: .75rem; font-size: .75rem; color: var(--slate); margin-bottom: .875rem; }
.pub-card-meta span { display: flex; align-items: center; gap: .25rem; }
.pub-abstract { display: none; }
.pub-abstract.open { display: block; }
.pub-abstract p { font-size: .8125rem; color: var(--slate); line-height: 1.7; padding-top: .75rem; border-top: 1px solid var(--border); margin-top: .75rem; }

/* ── Grant cards ── */
.grant-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 2rem; margin-bottom: 1.25rem; }
.grant-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.grant-title { font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.4; max-width: 600px; }
.grant-amount { font-size: 1.5rem; font-weight: 800; color: var(--navy); font-family: var(--font-mono); white-space: nowrap; }
.grant-currency { font-size: .625rem; font-weight: 700; text-transform: uppercase; color: var(--slate); }
.grant-desc { font-size: .875rem; color: var(--slate); line-height: 1.7; margin-bottom: 1.25rem; }
.grant-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .75rem; color: var(--slate); padding-top: 1rem; border-top: 1px solid var(--border); }
.grant-meta span { display: flex; align-items: center; gap: .3rem; }
.progress-wrap { margin: 1rem 0; }
.progress-label { display: flex; justify-content: space-between; font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--slate); margin-bottom: .4rem; }
.progress-bar { height: 6px; background: #e2e8f0; border-radius: 9999px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--primary); border-radius: 9999px; }

/* ── Pagination ── */
.pagination { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 1.5rem 0; flex-wrap: wrap; }
.page-btn {
  min-width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  padding: 0 .5rem;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ── Empty state ── */
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--slate); }
.empty-state .material-symbols-outlined { font-size: 3rem; color: #cbd5e1; display: block; margin-bottom: 1rem; }

/* ── Project Detail: students grid ── */
.students-grid { display: flex; flex-direction: column; gap: .75rem; }
.student-item {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .875rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.student-initials {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .5rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9375rem;
  font-weight: 800;
  color: #fff;
}
.student-name { font-size: .875rem; font-weight: 600; color: var(--navy); }
.student-role { font-size: .6875rem; color: var(--slate); }

/* ── Project Detail: pcard & scard ── */
.pcard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.pcard h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-bottom: .875rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.pcard h2 .material-symbols-outlined { font-size: 1.1rem; color: var(--primary); }
.description-text { font-size: .9375rem; color: var(--slate); line-height: 1.85; }

.scard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.scard h3 { font-size: .875rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
.detail-row {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
}
.detail-row:last-child { border-bottom: none; }
.detail-row .material-symbols-outlined { font-size: .9rem; color: var(--primary); flex-shrink: 0; margin-top: .125rem; }
.detail-label { font-size: .5rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--slate); display: block; margin-bottom: .1rem; }
.detail-value { font-size: .8125rem; font-weight: 600; color: var(--navy); }

/* ── Lead / supervisor card ── */
.lead-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--surface);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}
.lead-photo  { width: 3.25rem; height: 3.25rem; border-radius: .625rem; object-fit: cover; }
.lead-initials {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: .625rem;
  background: linear-gradient(135deg, var(--primary), #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
}
.lead-name { font-size: .9375rem; font-weight: 700; color: var(--navy); display: block; }
.lead-role  { font-size: .6875rem; color: var(--slate); }

/* ── Related project items ── */
.rel-proj-item {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: .75rem;
  transition: background .15s;
}
.rel-proj-item:hover { background: var(--surface); }
.rel-proj-item h4 { font-size: .8125rem; font-weight: 700; color: var(--navy); margin-bottom: .3rem; line-height: 1.4; }
.rel-proj-item p  { font-size: .75rem; color: var(--slate); }

/* ── Project hero overrides ── */
.project-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.project-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 60%, rgba(14,165,233,.12) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(99,102,241,.1) 0%, transparent 40%);
}
.project-hero-inner { position: relative; z-index: 1; }
.project-field-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  font-size: .5625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
}
.project-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: 800px;
}
.project-meta-pills { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.7);
  font-size: .75rem;
  font-weight: 600;
  padding: .4rem .875rem;
  border-radius: 9999px;
}
.meta-pill .material-symbols-outlined { font-size: .9rem; }
.project-status-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .4rem .875rem;
  border-radius: 9999px;
}
.cohort-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .875rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.8);
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.5);
  font-size: .8125rem;
  font-weight: 600;
  margin-bottom: 2rem;
  transition: color .2s;
  text-decoration: none;
}
.back-link:hover { color: rgba(255,255,255,.85); }
.project-body { padding: 3rem 0; background: #f8fafc; }
.project-layout { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; }


.sd-hero {
  background: var(--navy);
  padding: 3rem 0 0;
  position: relative;
  overflow: hidden;
}
.sd-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,61,165,.13) 1px, transparent 1px);
  background-size: 28px 28px;
}
.sd-hero > .container { position: relative; z-index: 1; }

.sd-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.5);
  font-size: .8125rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
  transition: color .2s;
  text-decoration: none;
}
.sd-back:hover { color: rgba(255,255,255,.9); }
.sd-back .material-symbols-outlined { font-size: 1rem; }

.sd-hero-inner {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding-bottom: 3.5rem;
}

.sd-hero-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--r-lg);
  background: rgba(0,61,165,.45);
  border: 1px solid rgba(0,87,184,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .25rem;
}
.sd-hero-icon .material-symbols-outlined {
  font-size: 1.75rem;
  color: #7BAEFF;
}

.sd-category {
  font-size: .5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: rgba(123,174,255,.85);
  margin-bottom: .625rem;
}

.sd-hero h1 {
  font-family: var(--font);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: .75rem;
}

.sd-tagline {
  font-size: 1rem;
  color: rgba(255,255,255,.62);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 1.75rem;
}

.sd-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
  margin-bottom: 2rem;
}
.sd-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .875rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  color: rgba(255,255,255,.72);
  font-size: .75rem;
  font-weight: 600;
}
.sd-pill .material-symbols-outlined { font-size: .875rem; }

.sd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.sd-hero-actions .btn {
  font-size: .8125rem;
  padding: .625rem 1.25rem;
}
.sd-hero-actions .btn .material-symbols-outlined { font-size: 1rem; }

.sd-body {
  background: #f8fafc;
  padding: 3rem 0 5rem;
}

.sd-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

.sd-main { display: flex; flex-direction: column; gap: 1.5rem; }

.sd-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
}

.sd-block-title {
  font-family: var(--font);
  font-size: .875rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.sd-block-title .material-symbols-outlined { font-size: 1.1rem; color: var(--primary); }

.sd-prose {
  font-size: .9375rem;
  color: var(--slate);
  line-height: 1.85;
}

.sd-feature-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  list-style: none;
}
.sd-feature-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .875rem;
  color: var(--slate);
  line-height: 1.6;
}
.sd-feature-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: .45rem;
}

.sd-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .875rem;
}
.sd-gallery-item {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: zoom-in;
  position: relative;
  background: var(--surface);
  transition: transform .2s, box-shadow .2s;
}
.sd-gallery-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.sd-gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.sd-gallery-cap {
  padding: .625rem .875rem;
  font-size: .6875rem;
  color: var(--slate);
  line-height: 1.4;
  font-style: italic;
}

.sd-pub {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: .875rem;
  background: var(--surface);
}
.sd-pub:last-child { margin-bottom: 0; }
.sd-pub-title { font-size: .9375rem; font-weight: 700; color: var(--navy); line-height: 1.45; margin-bottom: .375rem; }
.sd-pub-authors { font-size: .8125rem; color: var(--slate); margin-bottom: .625rem; }
.sd-pub-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .75rem;
  color: var(--slate-lt);
}
.sd-pub-meta span { display: flex; align-items: center; gap: .3rem; }
.sd-pub-meta .material-symbols-outlined { font-size: .875rem; }
.sd-pub-doi { display: flex; align-items: center; gap: .3rem; color: var(--primary); font-weight: 600; text-decoration: none; }
.sd-pub-doi:hover { text-decoration: underline; }

.sd-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}

.sd-aside-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}

.sd-aside-title {
  font-size: .5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--slate-lt);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--border);
}

.sd-use-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
}
.sd-use-list li {
  font-size: .8125rem;
  color: var(--slate);
  padding: .625rem 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.55;
  padding-left: 1rem;
  position: relative;
}
.sd-use-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .95rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}
.sd-use-list li:last-child { border-bottom: none; }

.sd-quick-links {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.sd-quick-links a {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
  padding: .625rem .75rem;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color .2s, color .2s, background .2s;
  text-decoration: none;
}
.sd-quick-links a:hover { border-color: var(--primary); color: var(--primary); background: var(--pdim); }
.sd-quick-links a .material-symbols-outlined { font-size: 1rem; color: var(--primary); }

.sd-aside-cta {
  background: var(--navy);
  border-color: var(--navy);
  text-align: center;
}
.sd-cta-icon {
  display: block;
  font-size: 2rem;
  color: #7BAEFF;
  margin-bottom: .875rem;
}
.sd-aside-cta h3 { font-family: var(--font); font-size: .9375rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.sd-aside-cta p { font-size: .8125rem; color: rgba(255,255,255,.55); line-height: 1.6; margin-bottom: 1.25rem; }
.sd-aside-cta .sd-aside-title { color: rgba(255,255,255,.35); border-bottom-color: rgba(255,255,255,.1); }

.sd-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.92);
  align-items: center;
  justify-content: center;
}
.sd-lightbox.open { display: flex; }
.sd-lb-inner {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}
.sd-lb-inner img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--r-md);
  display: block;
}
.sd-lb-cap {
  color: rgba(255,255,255,.65);
  font-size: .8125rem;
  text-align: center;
  padding: .75rem 0 0;
  font-style: italic;
}
.sd-lb-close,
.sd-lb-prev,
.sd-lb-next {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  cursor: pointer;
  transition: background .2s;
  z-index: 10000;
}
.sd-lb-close:hover,
.sd-lb-prev:hover,
.sd-lb-next:hover { background: rgba(255,255,255,.22); }
.sd-lb-close { top: 1.5rem; right: 1.5rem; }
.sd-lb-prev { top: 50%; left: 1.5rem; }
.sd-lb-next { top: 50%; right: 1.5rem; }
.sd-lb-close .material-symbols-outlined,
.sd-lb-prev .material-symbols-outlined,
.sd-lb-next .material-symbols-outlined { font-size: 1.25rem; }

.td-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 0;
}
.td-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--td-img);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.td-hero:hover::before { transform: scale(1); }
.td-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,22,41,.35) 0%, rgba(11,22,41,.92) 100%);
}
.td-hero > .container {
  position: relative;
  z-index: 2;
  padding-top: 3rem;
  padding-bottom: 3.5rem;
  width: 100%;
}
.td-hero-inner { max-width: 680px; }
.td-hero-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--r-md);
  background: rgba(0,61,165,.5);
  border: 1px solid rgba(0,87,184,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.td-hero-icon .material-symbols-outlined { font-size: 1.5rem; color: #7BAEFF; }
.td-hero h1 {
  font-family: var(--font);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: .75rem;
}
.td-tagline {
  font-size: 1rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
}

.td-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .875rem;
}
.td-method-card {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: .875rem;
  color: var(--slate);
  line-height: 1.55;
}
.td-method-icon { font-size: 1.125rem; color: var(--primary); flex-shrink: 0; margin-top: .05rem; }

.td-project-card {
  padding: 1.375rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  margin-bottom: .875rem;
  transition: background .2s, box-shadow .2s;
}
.td-project-card:hover { background: var(--white); box-shadow: var(--shadow-sm); }
.td-project-card:last-child { margin-bottom: 0; }
.td-project-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .5rem;
}
.td-project-title { font-size: .9375rem; font-weight: 700; color: var(--navy); line-height: 1.4; }
.td-project-summary { font-size: .8125rem; color: var(--slate); line-height: 1.65; }
.td-project-year {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-family: var(--font-mono);
  font-size: .5625rem;
  font-weight: 700;
  color: var(--slate-lt);
  margin-top: .625rem;
}
.td-project-year .material-symbols-outlined { font-size: .75rem; }

.td-outcome-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
}
.td-outcome-list li {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .8125rem;
  color: var(--slate);
  line-height: 1.55;
}
.td-outcome-list li:last-child { border-bottom: none; }
.td-outcome-dot { font-size: .875rem; color: var(--primary); flex-shrink: 0; margin-top: .1rem; }

.theme-card { cursor: pointer; }
.theme-card:hover .theme-card-img { transform: scale(1.07); }

@media (max-width: 1024px) {
  .sd-layout { grid-template-columns: 1fr; }
  .sd-sidebar { position: static; }
  .td-methods-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .sd-hero-inner { flex-direction: column; gap: 1.25rem; }
  .sd-gallery { grid-template-columns: 1fr; }
  .td-hero { min-height: 340px; }
}
@media (max-width: 540px) {
  .sd-lb-prev { left: .5rem; }
  .sd-lb-next { right: .5rem; }
}


/* ── Responsive ── */
@media (max-width: 1024px) {
  .research-layout { grid-template-columns: 220px 1fr; }
}
@media (max-width: 900px) {
  .research-layout { grid-template-columns: 1fr; }
  .sidebar-filters { position: static; }
  .project-layout  { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .proj-footer { flex-direction: column; align-items: flex-start; }
  .hero-counters { gap: 1.5rem; }
}






@media (max-width: 768px) {
  [style*="grid-template-columns:1fr 1fr;gap:5rem"] { display: block !important; }
  [style*="grid-template-columns:1fr 1fr;gap:5rem"] > * + * { margin-top: 3rem; }
  [style*="grid-template-columns:repeat(3,1fr);gap:1.25rem"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:repeat(3,1fr);gap:1px"] { grid-template-columns: 1fr 1fr !important; }
  [style*="grid-template-columns:repeat(3,1fr);gap:1.25rem"] { grid-template-columns: 1fr !important; }
  .cv-sidebar { display: none; }
  .cv-sidebar.open { display: block; }
}
@media (max-width: 640px) {
  .ppl-grid { grid-template-columns: 1fr 1fr !important; }
  .alumni-grid { grid-template-columns: 1fr 1fr !important; }
  [style*="grid-template-columns:repeat(3,1fr);gap:1px"] { grid-template-columns: 1fr !important; }
}
/* Ensure hero is full height on all browsers */
.hero-slide { min-height: min(calc(100vh - 68px), 860px); }
@supports (min-height: 100svh) { .hero-slide { min-height: min(calc(100svh - 68px), 860px); } }
/* News list item image responsive */
@media (max-width: 640px) {
  .news-list-item { grid-template-columns: 1fr !important; }
  .nli-thumb img { height: 200px; }
}
/* Project grid responsive */
@media (max-width: 900px) {
  [style*="grid-template-columns:repeat(3,1fr);gap:1.25rem"] { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 600px) {
  [style*="grid-template-columns:repeat(3,1fr);gap:1.25rem"] { grid-template-columns: 1fr !important; }
}
@media (max-width: 900px) { .course-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .course-grid { grid-template-columns: 1fr; } }
.hero + * { margin-top: 0; }

/* ── News page additions ── */
.news-filter-bar { display: flex; gap: .5rem; flex-wrap: wrap; }
.featured-news-card:hover > div { box-shadow: var(--shadow-md); }
.news-list-item-link { display: block; text-decoration: none; color: inherit; }
.nli-read-time { display: flex; align-items: center; gap: .3rem; font-size: .625rem; color: var(--slate-lt); font-weight: 600; }
.nli-read-time .material-symbols-outlined { font-size: .875rem; }
.nli-meta { font-size: .6875rem; color: var(--slate-lt); display: flex; align-items: center; gap: .375rem; flex-wrap: wrap; }
@media(max-width: 700px) {
  .featured-news-card > div { grid-template-columns: 1fr !important; }
  .featured-news-card > div > div:first-child { min-height: 200px !important; }
}
