/* ── RESET ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Jost', sans-serif; font-size: 16px; background: white; color: black; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { display: block; }
ul { list-style: none; }

/* ── HEADER ──────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: white; border-bottom: 1px solid #e5e5e5;
  padding: 16px 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.header-logo { height: 42px; width: auto; }
.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: 0.08em;
}

/* ── MAIN NAV (desktop) ──────────────────────────── */
.main-nav { display: flex; align-items: center; }
.main-nav-list { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.main-nav-item { position: relative; }
.main-nav-link {
  font-family: 'Jost', sans-serif;
  font-size: 15px; font-weight: 600; color: black;
  text-decoration: none; display: block; padding: 10px 14px;
  letter-spacing: 0.04em; white-space: nowrap;
}
.main-nav-link:hover { text-decoration: underline; }
.main-nav-link.active { font-weight: 800; }
.nav-dropdown li a.active { font-weight: 700; }
/* Invisible bridge so hover stays alive while mouse moves into dropdown */
.main-nav-item::after {
  content: ''; position: absolute;
  top: 100%; left: 0; right: 0; height: 16px;
}
.nav-dropdown {
  display: none; list-style: none;
  position: absolute; top: calc(100% + 16px); left: 0;
  background: white; border: 1px solid #e5e5e5;
  min-width: 200px; max-width: 230px; padding: 4px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08); z-index: 300;
  max-height: calc(100vh - 80px); overflow-y: auto;
}
.main-nav-item:hover .nav-dropdown { display: block; }
.main-nav-item:last-child .nav-dropdown,
.main-nav-item:nth-last-child(2) .nav-dropdown { left: auto; right: 0; }
/* Projects dropdown: single column, allow scroll for all 13 items */
/* Publications dropdown: single column, allow scroll for all items */
.nav-dropdown li a {
  display: block; padding: 7px 16px;
  font-size: 14px; font-weight: 500; color: black; white-space: normal; line-height: 1.3;
}
.nav-dropdown li a:hover { background: #f4f4f4; }
.nav-la-now-toggle {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 16px; cursor: pointer;
  font-size: 14px; font-weight: 500; color: black;
  user-select: none;
}
.nav-la-now-toggle:hover { background: #f4f4f4; }
.nav-la-now-toggle::after {
  content: ''; display: inline-block; flex-shrink: 0;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); margin-bottom: 3px;
  transition: transform 0.2s;
}
.nav-la-now-toggle.open::after { transform: rotate(225deg); margin-bottom: -1px; }
.nav-la-now-item { display: none; }
.nav-la-now-item.open { display: block; }
.nav-col .nav-la-now-toggle {
  padding: 0; margin-top: 0;
  font-size: 15px; font-weight: 600; background: none;
}
.nav-col .nav-la-now-toggle:hover { background: none; text-decoration: underline; }
.nav-col .nav-la-now-item { display: none; }
.nav-col .nav-la-now-item.open { display: block; }

/* ── MEGA NAV ────────────────────────────────── */
.mega-nav {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: white; padding: 32px 48px 48px; overflow-y: auto;
}
.mega-nav.open { display: flex; flex-direction: column; }
.mega-nav-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 48px; flex-shrink: 0;
}
.mega-nav-header .logo { height: 52px; width: auto; }
.close-btn { background: none; border: none; cursor: pointer; font-size: 24px; line-height: 1; }
.mega-nav-links { display: flex; gap: 80px; flex-wrap: wrap; flex-shrink: 0; }
.nav-col { display: flex; flex-direction: column; }
.nav-col-title { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 24px; cursor: pointer; color: #888; }
.nav-col-title:hover { text-decoration: underline; }
.nav-col ul { display: flex; flex-direction: column; gap: 20px; }
.nav-col ul li { font-size: 15px; font-weight: 600; cursor: pointer; max-width: 200px; line-height: 1.3; }
.nav-col ul li a { display: block; }
.nav-col ul li:hover { text-decoration: underline; }

/* ── HERO ────────────────────────────────────── */
.hero {
  position: relative; width: 100%; height: 900px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: #d9d9d9; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-logo-wrap {
  position: absolute; left: 50%; top: calc(50% - 160px);
  transform: translate(-50%, -50%);
}
.hero-logo { height: 105px; width: auto; }

/* ── PROJECTS SECTION ────────────────────────── */
.projects-section { max-width: 1440px; margin: 64px auto 0; padding: 0 48px 80px; }
.projects-section .section-header { margin-bottom: 48px; }

/* ── PHOTO GRID ──────────────────────────────── */
.photo-grid {
  display: flex; flex-direction: column; gap: 24px;
}
.photo-row { display: flex; gap: 24px; }
.photo-cell { flex: 1; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.photo-row.row-1 .photo-cell { height: auto; }
.photo-row.row-2 .photo-cell, .photo-row.row-3 .photo-cell { height: auto; }
.photo-grid:not(.pub-grid) .photo-img-wrap,
.research-cards-grid .photo-img-wrap { width: 100%; height: 220px; position: relative; overflow: hidden; flex-shrink: 0; }
.photo-grid:not(.pub-grid) .photo-img-wrap img,
.research-cards-grid .photo-img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.photo-cell-linked {
  position: relative; overflow: hidden; display: flex; flex-direction: column; text-decoration: none;
}
.photo-cell-linked img {
  display: block;
  position: relative;
  flex: 1;
  min-height: 0;
  inset: auto;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.pub-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.pub-grid .photo-row { display: contents; }
.pub-grid .photo-row .photo-cell { aspect-ratio: 2/3; height: auto; flex: none; }
.pub-grid .photo-row .photo-cell:has(.photo-img-wrap) { aspect-ratio: unset; overflow: visible; }
.pub-grid .photo-img-wrap { aspect-ratio: 2/3; width: 100%; position: relative; overflow: hidden; flex-shrink: 0; }
.pub-grid .photo-img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.photo-cell-linked:hover img { transform: scale(1.03); }
.photo-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.4);
  opacity: 0; transition: opacity 0.3s;
}
.photo-label {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: block;
  background: white;
  color: #1a1a1a;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  padding: 10px 12px;
  line-height: 1.3;
  border-top: 1px solid #e5e5e5;
}
.photo-cell-linked:hover .photo-overlay { opacity: 1; }

/* ── ABOUT ───────────────────────────────────── */
.about-section { max-width: 1440px; margin: 0 auto; padding: 64px 48px 0; }
.about-intro { font-size: 18px; line-height: 1.35; margin-bottom: 24px; font-weight: 400; }
.about-intro strong { font-weight: 700; }
.about-body { font-size: 17px; line-height: 1.55; font-weight: 400; }
.about-body a { text-decoration: underline; }

/* ── HERO ABOUT DARK BAND ────────────────────── */
.hero-about {
  padding: 72px 280px; position: relative; flex-shrink: 0;
  align-self: center; width: fit-content;
  background: rgba(0,0,0,0.85);
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-about.visible { transform: translateY(0); }
.hero-about-inner {
  display: flex; flex-direction: column; gap: 40px; align-items: flex-start;
  color: white; text-align: left;
}
.hero-about-text { display: flex; flex-direction: column; gap: 20px; }
.hero-about-intro { font-size: 22px; line-height: 1.6; font-weight: 700; margin: 0; }
.hero-about-body { font-size: 18px; line-height: 1.6; font-weight: 400; margin: 0; }
.hero-btn { font-size: 15px; padding: 7px 28px; }

/* ── BUTTON ──────────────────────────────────── */
.btn-outline {
  display: inline-block; padding: 7px 28px;
  border: 1px solid #525252; border-radius: 26px;
  font-family: 'Jost', sans-serif; font-size: 15px; font-weight: 500;
  letter-spacing: 0.05em;
  background: white; color: black; cursor: pointer; transition: background 0.15s;
  text-decoration: none; text-transform: capitalize;
}
.btn-outline:hover { background: #f4f4f4; }
.btn-outline-white { border-color: white; color: white; background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

/* ── TEXT LINK BUTTON ────────────────────────── */
.btn-text {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  font-family: 'Jost', sans-serif; font-size: 14px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: black; text-decoration: none;
  border-bottom: 1.5px solid black; padding-bottom: 2px;
  transition: opacity 0.2s;
}
.btn-text::after { content: '→'; letter-spacing: 0; font-size: 15px; }
.btn-text:hover { opacity: 0.5; }

/* ── SECTION HEADER ──────────────────────────── */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 34px; font-weight: 700; margin-bottom: 16px; }
.underline-bar { display: none; }
.underline-bar-sm { width: 48px; height: 3px; background: white; }

/* ── UNIVERSITY GRID ─────────────────────────── */
.uni-section { max-width: 1440px; margin: 64px auto 0; padding: 0 48px; }
.uni-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.uni-row-bottom { display: flex; gap: 24px; justify-content: center; margin-bottom: 40px; }
.uni-row-bottom .uni-card { width: calc(33.33% - 16px); }
.uni-row-last { grid-column: 1 / -1; display: flex; gap: 24px; justify-content: center; }
.uni-row-last .uni-card { flex: 0 0 calc(33.33% - 16px); }
.uni-card { position: relative; display: flex; flex-direction: column; height: auto; overflow: hidden; background: white; }
.uni-card img { width: 100%; height: 220px; flex: none; object-fit: cover; }
.uni-overlay { display: none; }
.uni-label {
  position: static; inset: auto;
  display: block; flex-shrink: 0;
  background: white; color: black;
  font-size: 17px; font-weight: 600;
  text-align: left; padding: 10px 12px;
  line-height: 1.3; z-index: auto;
  border-top: 1px solid #e5e5e5;
}
.see-more-wrap { text-align: center; margin-top: 32px; }

/* ── PEOPLE (LANDING) ────────────────────────── */
.research-cards-section { max-width: 1440px; margin: 64px auto 0; padding: 0 48px 80px; }
.research-cards-section .section-header { margin-bottom: 48px; }
.research-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.research-card { height: auto; }
.research-card-label { font-weight: 600; }

.people-section { max-width: 1440px; margin: 64px auto 0; padding: 0 48px; }
.people-grid { display: flex; gap: 24px; justify-content: center; }
.person-card {
  position: relative; width: 440px; height: 480px;
  overflow: hidden; flex-shrink: 0; display: block;
}
.person-card img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: top center; transition: transform 0.3s;
}
.person-card::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0.4); opacity: 0; transition: opacity 0.3s;
}
.person-card:hover::after { opacity: 1; }
.person-card:hover img { transform: scale(1.03); }
.person-info { position: absolute; bottom: 24px; left: 24px; right: 24px; display: flex; align-items: center; gap: 14px; z-index: 1; }
.person-bar { width: 3px; height: 56px; background: white; flex-shrink: 0; }
.person-text { color: white; font-size: 18px; font-weight: 500; display: flex; flex-direction: column; gap: 8px; }
.person-text p:first-child { font-size: 24px; font-weight: 700; }
.person-text p:last-child { font-size: 16px; font-weight: 400; }

/* ── PERSON BIO PAGE ─────────────────────────── */
.person-bg-top { background: black; }

/* ── EDUCATION / ASSOCIATION CARD ────────────── */
.edu-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 700px; }

/* ── AWARDS GRID ─────────────────────────────── */
.awards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.award-year { font-size: 13px; font-weight: 400; min-width: 40px; color: #525252; padding-top: 2px; }
.award-content { display: flex; flex-direction: column; gap: 4px; }
.award-name { font-size: 16px; font-weight: 600; color: black; line-height: 1.3; margin: 0; }
.award-detail { font-size: 14px; color: #525252; line-height: 1.4; margin: 0; }

/* ── ASSOCIATIONS GRID ───────────────────────── */
.assoc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.assoc-card p { font-size: 14px; font-weight: 400; line-height: 1.4; }


/* ── STAFF GRID ──────────────────────────────── */
.staff-inner { max-width: 1440px; margin: 0 auto; padding: 0 48px; display: flex; flex-direction: column; gap: 64px; }
.staff-block { display: flex; flex-direction: column; gap: 36px; }
.staff-block-header { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.staff-block-title { font-size: 34px; font-weight: 700; text-align: center; }
.staff-block-desc { font-size: 16px; color: #525252; text-align: center; max-width: 520px; margin: 0 auto; line-height: 1.4; }

/* ── PROJECT PAGE ────────────────────────────── */
.project-page { max-width: 1440px; margin: 0 auto; }
.project-header { max-width: 875px; margin: 0 auto; padding: 64px 48px 40px; display: flex; flex-direction: column; gap: 40px; }
.project-header-inner { display: flex; flex-direction: column; gap: 24px; }
.project-accent { display: none; }
.project-title { font-size: 36px; font-weight: 700; line-height: 1.1; }
.project-subtitle { font-size: 15px; color: #525252; font-style: italic; line-height: 1.5; }
.project-intro { font-size: 17px; line-height: 1.45; }
.project-intro strong { font-weight: 700; }
.project-blockquote {
  border: 1px solid #e5e5e5; border-left: 3px solid black;
  padding: 20px 40px; font-size: 15px; line-height: 1.6; max-width: 865px;
}
.project-image-placeholder { background: #d9d9d9; width: 100%; }
.project-body { max-width: 1440px; margin: 0 auto; padding: 48px 48px; display: flex; flex-direction: column; gap: 64px; }
.project-body p { font-size: 17px; line-height: 1.6; }
.project-body ul, .project-body ol { font-size: 17px; line-height: 1.6; padding-left: 24px; }
.project-body-text { font-size: 17px; line-height: 1.6; max-width: 1263px; }
.project-section { display: flex; flex-direction: column; gap: 24px; }
.project-section > p { }
.project-section-title { font-size: 24px; font-weight: 500; line-height: 1.3; margin: 0; }
.project-section-text { font-size: 17px; line-height: 1.55; }
.project-row { display: flex; gap: 40px; align-items: flex-start; }
.project-row > * { min-width: 0; }
.project-row img { display: block; object-fit: cover; height: auto; max-width: 100%; }

/* ── RESEARCH PAGE ───────────────────────────── */
.research-page { max-width: 1440px; margin: 0 auto; padding: 64px 48px 80px; display: flex; flex-direction: column; gap: 24px; }
.research-title { font-size: 36px; font-weight: 700; line-height: 1.1; }
.research-body { display: flex; flex-direction: column; gap: 40px; }
.research-image-block { display: flex; flex-direction: column; gap: 24px; }
.research-image-block img { width: 100%; height: auto; display: block; }
.research-caption { font-size: 15px; font-style: italic; color: #525252; line-height: 1.6; }
.research-text { font-size: 17px; line-height: 1.6; }
.research-text strong { font-weight: 700; }
.research-text p + p { margin-top: 16px; }
.research-split { display: flex; gap: 40px; align-items: flex-start; }
.research-split-img { flex: 0 0 auto; width: 49%; }
.research-split-img img { width: 100%; height: auto; display: block; }
.research-split-text { flex: 1; font-size: 17px; line-height: 1.6; }
.research-split-text p + p { margin-top: 16px; }
.research-split-text ul { margin-left: 24px; list-style: disc; }
.research-split-text li { margin-bottom: 12px; line-height: 1.6; }
/* Publication detail pages */
.pub-page { max-width: 1440px; margin: 0 auto; padding: 64px 48px 120px; display: flex; flex-direction: column; gap: 32px; }
.pub-page .pub-title { font-size: 36px; font-weight: 700; line-height: 1.1; margin: 0; }
.pub-img-full { width: 100%; display: block; }
.pub-img-full.cropped { max-height: 580px; object-fit: cover; object-position: center; }
.pub-body { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.pub-split-body .btn-outline { align-self: flex-start; }
.pub-body p, .pub-split-body p { font-size: 15px; line-height: 1.7; margin: 0; }
.pub-split { display: flex; gap: 48px; align-items: flex-start; }
.pub-split-img { flex: 0 0 44%; max-width: 44%; }
.pub-split-img img { width: 100%; height: auto; display: block; }
.pub-split-body { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.pub-subtitle { font-weight: 600; }
.pub-section-head { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.btn-learn-more { display: inline-block; background: #1a1a1a; color: white; text-decoration: none; padding: 12px 24px; border-radius: 999px; font-size: 14px; font-weight: 500; margin-top: 8px; }
.btn-learn-more:hover { background: #333; }

@media (max-width: 768px) {
  .research-split { flex-direction: column; }
  .research-split-img { width: 100%; }
}

/* ── ADVISORY BOARD ──────────────────────────── */
.advisory-section { max-width: 1440px; margin: 0 auto; padding: 0 48px 80px; display: flex; flex-direction: column; gap: 24px; }
.advisory-section .section-header { text-align: left; }
.advisory-section .underline-bar { margin: 0; }
.advisory-title { font-size: 24px; font-weight: 500; }
.advisory-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.advisory-card { display: flex; flex-direction: column; gap: 4px; border: 1px solid #e5e5e5; border-left: 3px solid black; padding: 16px 25px; min-height: 100px; justify-content: center; }
.advisory-card-name { font-size: 16px; font-weight: 400; color: black; line-height: 1.4; }
.advisory-card-role { font-size: 14px; color: #525252; line-height: 1.4; }

/* ── PARTNERS & ADVISORS PAGE ────────────────── */
.pa-section-title { font-size: 34px; font-weight: 700; margin: 0 0 32px; text-align: center; }
.pa-partner-logos { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: center; }
.pa-partner-logo { flex: 1 1 100px; max-width: 160px; display: flex; align-items: center; }
.pa-partner-logo img { width: 100%; height: auto; max-height: 70px; object-fit: contain; display: block; }
.pa-support-text { display: flex; flex-direction: column; gap: 20px; font-size: 15px; line-height: 1.7; text-align: center; max-width: 960px; margin: 0 auto; }
.pa-support-text p { margin: 0; }
.pa-support-text a { color: black; }
.pa-board-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pa-board-card { border: 2px solid #e5e5e5; background: white; display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 36px 24px 32px; }
.pa-board-photo { width: 190px; height: 190px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.pa-board-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pa-board-info { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
.pa-board-name { font-size: 17px; font-weight: 500; color: black; margin: 0; }
.pa-board-institution { font-size: 13px; font-weight: 600; color: black; margin: 0; letter-spacing: 0.02em; }
.pa-board-role { font-size: 13px; color: #525252; line-height: 1.5; margin: 0; }
.pa-advisors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pa-advisors-grid .researcher-name { border: 2px solid #e5e5e5; background: white; padding: 18px 12px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 400; text-align: center; min-height: 72px; }

/* ── PAGE HEADER (inner pages) ───────────────── */
.page-hero { background: #fafafa; padding: 64px 48px; text-align: center; }
.page-hero h1 { font-size: 36px; font-weight: 700; margin-bottom: 16px; }
.page-content { max-width: 1440px; margin: 0 auto; padding: 64px 48px 80px; }

/* ── CONTACT ─────────────────────────────────── */
.page-heading { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.page-accent-bar { display: none; }
.page-title { font-size: 36px; font-weight: 700; line-height: 1.1; margin: 0; }

.contact-section { max-width: 1440px; width: 100%; box-sizing: border-box; margin: 0 auto; padding: 64px 48px; flex: 1; }
.contact-section h2 { font-size: 34px; font-weight: 700; margin: 0; }
.contact-section p { font-size: 17px; font-weight: 400; line-height: 1.7; }
.contact-section a { text-decoration: underline; color: black; }

/* ── FOOTER ──────────────────────────────────── */
/* ── HOME PAGE BUTTONS (filled) ─────────────── */
.page-home .btn-outline { background: black; color: white; border-color: black; }
.page-home .btn-outline:hover { background: #333; border-color: #333; }
.page-home .btn-outline-white { background: white; color: black; border-color: white; }
.page-home .btn-outline-white:hover { background: #e5e5e5; border-color: #e5e5e5; }

/* ── HOME PAGE LEFT ALIGNMENT ────────────────── */
.page-home .section-header { text-align: left; margin-bottom: 0; }
.page-home .underline-bar { margin: 0; }
.page-home .see-more-wrap { text-align: left; }
.page-home .people-content-wrap { width: fit-content; margin: 0 auto; }
.page-home .people-grid { justify-content: flex-start; }
.page-home .people-section .section-header { text-align: left; }
.page-home .people-section .underline-bar { margin: 0; }
.page-home .hero-about-inner { text-align: left; align-items: flex-start; }

.page-home .people-desc { max-width: 520px; }

/* ── HOME PAGE SPACING ───────────────────────── */
.page-home .projects-section,
.page-home .research-cards-section,
.page-home .uni-section { margin-top: 48px; padding-bottom: 0; }
.page-home .section-desc { margin-bottom: 40px; }

/* ── HOME PAGE PEOPLE BAND ───────────────────── */
.page-home .people-section {
  max-width: none;
  margin-top: 48px;
  padding: 48px 0;
  background: black;
}
.page-home .people-section .section-header h2 { color: white; }
.page-home .people-section .underline-bar { margin: 0; background: white; }
.page-home .people-section .btn-text { color: white; border-bottom-color: white; }
.people-desc { font-size: 17px; line-height: 1.6; color: white; margin: 0 0 40px; max-width: 480px; }
.section-desc { font-size: 17px; line-height: 1.6; color: #525252; margin: 0 0 40px; max-width: 480px; }
.people-inner { max-width: 1440px; margin: 0 auto; padding: 0 48px; }

/* ── RESEARCH NETWORK PAGE ────────────────────── */
.page-research-network .uni-section { max-width: 1440px; margin: 0 auto; padding: 64px 48px; }
.page-research-network .section-header { text-align: left; margin-bottom: 12px; }
.page-research-network .underline-bar { margin: 0; }
.page-research-network .section-desc { text-align: left; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 40px; }

/* ── RESEARCH STAFF PAGE ──────────────────────── */
.page-research-staff .staff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; max-width: none; padding: 0; }
.page-research-staff .researchers-grid { grid-template-columns: repeat(3, 1fr); }
.page-research-staff .staff-card { width: auto; }
.page-research-staff .staff-section:last-of-type { padding-bottom: 120px; }
.page-research-staff footer { margin-top: 0; }
.page-about-overview, .page-clientele { display: flex; flex-direction: column; min-height: 100vh; }
.page-about-overview footer, .page-clientele footer { margin-top: auto; }
.page-partners-advisors { background: #fafafa; }
.page-partners-advisors footer { margin-top: 0; }

footer { background: black; border-top: 1px solid #333; padding: 48px 0; margin-top: 48px; }
.footer-inner { max-width: 1440px; margin: 0 auto; padding: 0 48px; display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; }
.footer-logo { height: 56px; width: auto; flex-shrink: 0; filter: brightness(0) invert(1); }
.footer-links { display: flex; gap: 80px; }
.footer-col { display: flex; flex-direction: column; gap: 16px; }
.footer-col p, .footer-col a { font-size: 16px; font-weight: 400; line-height: 1.45; color: white; }
.footer-col a { text-decoration: none; }
.footer-copyright { font-size: 13px; font-weight: 400; color: white; }
.footer-copyright a { text-decoration: none; color: white; }

/* ── PROJECT ROW (responsive side-by-side layouts) ── */
.project-row { display: flex; }
.project-vol2-box { background: black; padding: 60px; display: flex; align-items: center; justify-content: center; }
.project-vol2-box > div { color: white; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; text-align: left; }
.project-img-pair { display: flex; gap: 20px; flex-shrink: 0; }

/* ── RESPONSIVE ──────────────────────────────── */

/* Large tablet (≤ 1100px) */
@media (max-width: 1100px) {
  .people-grid { gap: 24px; }
  .person-card { flex: 1; width: auto; min-width: 0; }
  .footer-top { gap: 80px; }
  .footer-links { gap: 60px; }
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .assoc-grid { grid-template-columns: repeat(2, 1fr); }
  .person-hero { padding: 60px 48px; gap: 40px; }
  .person-hero > img { height: 440px; }
  .person-content { padding: 60px 48px; }

  /* Project rows: allow images and divs to shrink proportionally */
  .project-row { gap: 24px; }
  .project-row img { flex-shrink: 1 !important; height: auto !important; }
  .project-row > div { flex-shrink: 1 !important; }
  .project-row > h2 { flex-shrink: 1 !important; width: auto !important; }
}

/* Tablet (≤ 900px) */
@media (max-width: 900px) {
  .site-header { padding: 14px 24px; }

  .hero { height: auto; min-height: 500px; }
  .hero-logo-wrap { top: 40%; }
  .hero-logo { height: 80px; }

  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .mega-nav { padding: 24px 24px 40px; }
  .mega-nav-links { gap: 32px; flex-wrap: wrap; }

  .hero-about { padding: 40px 24px; }
  .hero-about-intro { font-size: 16px; }
  .hero-about-body { font-size: 14px; }

  .projects-section { margin-top: 48px; padding: 0 24px; }

  .photo-row { flex-wrap: wrap; }
  .photo-cell { flex: 0 0 calc(50% - 8px); }
  .photo-row.row-1 .photo-cell { height: auto; }
  .photo-row.row-2 .photo-cell, .photo-row.row-3 .photo-cell { height: auto; }
  .photo-grid:not(.pub-grid) .photo-img-wrap,
  .research-cards-grid .photo-img-wrap { height: 180px; }
  .uni-card img { height: 180px; }

  .pub-grid { grid-template-columns: repeat(3, 1fr); }

  .research-cards-section { padding: 0 24px; }
  .research-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .research-card { height: auto; }

  .about-section { padding-top: 32px; }

  .uni-section { padding: 0 24px; }
  .uni-grid { grid-template-columns: repeat(2, 1fr); }

  .page-research-staff .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .page-research-staff .researchers-grid { grid-template-columns: repeat(2, 1fr); }

  .people-inner { padding: 0 24px; }
  .page-home .people-content-wrap,
  .page-people .people-content-wrap { width: 100%; }
  .page-home .people-section { padding: 60px 0; }
  .people-grid { flex-direction: column; align-items: center; gap: 16px; }
  .person-card { flex: none; width: 100%; height: 160px; }
  .page-people .person-card { height: 380px; }
  .page-home .person-card { height: 380px; }

  .person-hero { flex-direction: column; padding: 40px 24px; gap: 32px; }
  .person-hero > img { width: 100%; height: 420px; }
  .person-content { padding: 40px 24px; }

  .project-body { padding: 48px 24px; gap: 48px; }
  .advisory-section { padding: 0 24px 48px; }
  .contact-section { padding: 48px 24px; }
  .advisory-grid { grid-template-columns: 1fr; }

  /* Make all project body images fluid */
  .project-body img { width: 100% !important; max-width: 100% !important; height: auto !important; }
  /* Keep image pairs side-by-side */
  .project-img-pair img { width: calc(50% - 10px) !important; }

  /* Stack side-by-side project rows */
  .project-row { flex-direction: column !important; gap: 16px !important; }
  .project-row > * { width: 100% !important; max-width: 100% !important; flex-shrink: 1 !important; }
  .project-row img { height: auto !important; }

  /* Fix negative-margin bleed box */
  .project-vol2-box { padding: 32px 24px; }

  .research-page { padding: 48px 24px 80px; }
  .pub-page { padding: 40px 24px 80px; }
  .pub-split { flex-direction: column; }
  .pub-split-img { flex: none; max-width: 100%; width: 100%; }

  .footer-inner { padding: 0 32px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-links { gap: 40px; }

  .researchers-grid { grid-template-columns: repeat(2, 1fr); }
  .pa-board-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile (≤ 600px) */
@media (max-width: 768px) {
  .pa-advisors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pa-advisors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .pa-board-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero-logo-wrap { top: 35%; }
  .hero-logo { height: 60px; }

  .mega-nav-links { flex-direction: column; gap: 20px; }
  .nav-col-title { font-size: 10px; }
  .nav-col ul li { font-size: 14px; }

  .photo-row { flex-direction: column; }
  .photo-cell { flex: none; width: 100%; }
  .photo-row.row-1 .photo-cell { height: auto; }
  .photo-row.row-2 .photo-cell, .photo-row.row-3 .photo-cell { height: auto; }
  .photo-grid:not(.pub-grid) .photo-img-wrap,
  .research-cards-grid .photo-img-wrap { height: 200px; }
  .uni-card img { height: 200px; }
  .mobile-hide { display: none; }
  .research-cards-grid { grid-template-columns: 1fr; }
  .pub-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .about-intro { font-size: 16px; }
  .about-body { font-size: 14px; }
  .header-logo { height: 28px; }
  .hero-about { padding: 32px 16px; }
  .hero-about-body { display: none; }
  .hero-about-intro { font-size: 15px; }

  .page-research-staff .staff-grid { grid-template-columns: repeat(2, 1fr); }

  .research-cards-section { padding: 0 16px 48px; }
  .uni-section { padding: 0 16px; }
  .uni-grid { grid-template-columns: repeat(2, 1fr); }
  .page-home .uni-grid,
  .page-about-overview .uni-grid { grid-template-columns: 1fr; }
  .projects-section { padding: 0 16px 48px; }
  .project-body { padding: 32px 16px; }
  .advisory-section { padding: 0 16px 40px; }
  .pub-page { padding: 32px 16px 48px; }
  .page-research-staff .staff-section:last-of-type { padding-bottom: 48px; }

  .people-inner { padding: 0 16px; }
  .page-home .people-section { padding: 40px 0; }
  .person-card { height: 140px; }
  .page-people .person-card { height: 380px; }
  .page-home .person-card { height: 380px; }
  .person-info { left: 16px; right: 16px; bottom: 16px; }
  .person-text { font-size: 15px; gap: 4px; }
  .person-text p:first-child { font-size: 17px; }
  .person-text p:last-child { font-size: 14px; }

  .project-title { font-size: 24px; }
  .project-section-title { font-size: 17px; }
  .section-header h2 { font-size: 22px; }
  .person-hero-info h1 { font-size: 22px; }

  .footer-inner { padding: 0 24px; }
  .footer-links { flex-direction: column; gap: 16px; }

  .awards-grid, .assoc-grid { grid-template-columns: 1fr; }
  .edu-list, .teaching-list, .pub-list { grid-template-columns: 1fr; }
  .researchers-grid { grid-template-columns: 1fr; }
  .contact-section { padding: 40px 24px; }

  .project-vol2-box { margin: 0 -24px; padding: 24px 16px; }

  /* Culture Now: 2-col institution grid, 1-col project text */
  .inst-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .project-cols { grid-template-columns: 1fr !important; }
}


/* Project page section dividers */
.project-body > .project-section + .project-section { border-top: 1px solid #e5e5e5; padding-top: 32px; }

/* Page-specific top margin for index/overview pages — keep consistent 64px base */

/* Small mobile (≤ 480px) */
@media (max-width: 480px) {
  .project-img-pair { flex-direction: column !important; }
  .project-img-pair img { width: 100% !important; }
  .inst-grid { grid-template-columns: 1fr !important; }
  .person-card { height: 140px; }
  .page-people .person-card { height: 380px; }
  .page-home .person-card { height: 380px; }
  .contact-section { padding: 40px 16px; }
}

/* ── CONTACT PAGE ────────────────────────────── */
.contact-page { max-width: 1440px; margin: 0 auto; padding: 64px 48px; }
.contact-page-inner { display: flex; flex-direction: column; gap: 48px; }
.contact-details { display: flex; flex-direction: column; gap: 12px; }
.contact-details p { font-size: 16px; line-height: 1.6; }
.contact-details a { text-decoration: underline; color: black; }
.contact-map-placeholder { background: #d9d9d9; height: 400px; width: 100%; }

/* ── PERSON HERO (new layout) ────────────────── */
.person-hero {
  width: 100%; padding: 48px;
  display: flex; gap: 94px; align-items: flex-start; justify-content: center; background: black;
}
.person-hero > img { flex: 0 1 495px; min-width: 0; height: 480px; object-fit: cover; object-position: top center; }
.person-hero-info { display: flex; flex-direction: column; gap: 24px; flex: 0 1 495px; min-width: 0; }
.person-hero-name { display: flex; flex-direction: column; gap: 16px; }
.person-hero-info h1 { font-size: 36px; font-weight: 700; margin: 0; color: white; }
.person-roles { display: flex; flex-direction: column; gap: 20px; }
.person-role-item { display: flex; flex-direction: column; gap: 2px; }
.person-role-title { font-size: 14px; color: #aaa; line-height: 1.4; }
.person-role-org { font-size: 16px; color: white; line-height: 1.4; font-weight: 500; }

/* ── PERSON CONTENT SECTIONS ─────────────────── */
.person-content { max-width: 1440px; margin: 0 auto; padding: 64px 48px; display: flex; flex-direction: column; gap: 64px; }
.person-content .section-header { text-align: left; margin-bottom: 0; }
.person-content .section-header h2 { font-size: 24px; font-weight: 500; margin-bottom: 0; }
.person-content .underline-bar { margin: 0; }
.person-section { display: flex; flex-direction: column; gap: 24px; }

/* ── EDUCATION CARD VARIATIONS ───────────────── */
.edu-degree { font-size: 16px; font-weight: 400; color: black; line-height: 1.4; }
.edu-school { font-size: 14px; color: #525252; line-height: 1.4; }
.edu-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; border: 1px solid #e5e5e5; padding: 14px 20px; border-left: 3px solid black; }

/* ── AWARD CARD PLAIN ────────────────────────── */
.award-card { border: 1px solid #e5e5e5; padding: 14px 16px; display: flex; align-items: flex-start; gap: 12px; line-height: 1.4; }

/* ── ASSOC CARD PLAIN ────────────────────────── */
.assoc-card { border: 1px solid #e5e5e5; padding: 20px 24px; display: flex; align-items: flex-start; font-size: 16px; line-height: 1.4; }

/* ── TEACHING LIST ───────────────────────────── */
.teaching-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.teaching-card { border: 1px solid #e5e5e5; border-left: 3px solid black; padding: 16px 25px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.teaching-detail { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.teaching-detail p { font-size: 13px; color: #787878; line-height: 1.5; margin: 0; }
.teaching-role { font-size: 14px; color: #525252; }
.teaching-school { font-size: 16px; font-weight: 500; }

/* ── PUBLICATION LIST ────────────────────────── */
.pub-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pub-card { border: 1px solid #e5e5e5; border-left: 3px solid black; padding: 16px 25px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.pub-title { font-size: 15px; font-weight: 500; }
.pub-meta { font-size: 13px; color: #525252; }

/* ── PEOPLE PAGE: staff block dividers ──────── */
.page-people .staff-inner { gap: 0; }
.page-people .staff-block { padding: 32px 0; }
.page-people .staff-block:first-child { padding-top: 0; }
.page-people .staff-block + .staff-block { border-top: 1px solid #e5e5e5; }

/* ── PARTNERS PAGE: section dividers ────────── */
.page-partners-advisors .staff-section + .staff-section { border-top: 1px solid #e5e5e5; }

/* ── STAFF PAGE ──────────────────────────────── */
.staff-page { display: flex; flex-direction: column; gap: 0; }
.staff-section { padding: 80px 0; }
.page-research-staff .staff-section { background: #fafafa; }
.staff-section .section-header { margin-bottom: 48px; }
.staff-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.staff-card { width: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; background: white; border: 2px solid #e5e5e5; min-height: 100px; padding: 16px; }
.staff-photo-placeholder { width: 100%; height: 200px; background: #d9d9d9; }
.staff-info { display: flex; flex-direction: column; gap: 4px; }
.staff-name { font-size: 15px; font-weight: 600; }
.staff-role { font-size: 13px; color: #525252; }
.researchers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 720px; margin: 0 auto; padding: 0 24px; }
.researcher-name { font-size: 15px; font-weight: 500; text-align: center; padding: 8px 10px; border-bottom: 1px solid #e5e5e5; }

/* ── PROJECT PAGE (extra helpers) ───────────── */
.project-subtitle-questions { display: flex; flex-direction: column; gap: 8px; }
.project-question { font-size: 15px; font-style: italic; color: #525252; line-height: 1.5; }

/* ── PEOPLE PAGES RESPONSIVE (must come after base CSS) ── */
@media (max-width: 900px) {
  .person-hero { flex-direction: column; padding: 40px 32px; gap: 32px; align-items: flex-start; }
  .person-hero > img { flex: none; width: 100%; height: 420px; object-fit: cover; object-position: top center; }
  .person-hero-info { width: 100%; flex: none; }
  .person-content { padding: 40px 32px; }
}

@media (max-width: 600px) {
  .person-hero { padding: 24px 16px; gap: 20px; }
  .person-hero > img { flex: none; width: 100%; height: 380px; object-fit: cover; object-position: top center; }
  .person-roles { gap: 12px; }
  .person-content { padding: 32px 16px; }
  .awards-grid, .assoc-grid { grid-template-columns: 1fr; }
  .edu-list, .teaching-list, .pub-list { grid-template-columns: 1fr; }

  /* body text */
  .about-body, .person-section-text,
  .research-text, .research-split-text, .research-split p,
  .project-body p, .project-body ul, .project-body ol,
  .project-body-text, .project-section-text { font-size: 15px; }
  .section-desc { font-size: 15px; }
  .about-intro { font-size: 16px; }
}

/* ── MOBILE: always show image text (no hover on touch) ── */
@media (hover: none) {
  .photo-label,
  .uni-overlay, .uni-label { opacity: 1; }
}


