  @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=Playfair+Display:wght@400;600;700&display=swap');

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f8;
  --bg-card: #ffffff;
  --bg-card-hover: #fafafc;
  --text-primary: #1a1a2e;
  --text-secondary: #555568;
  --text-muted: #8888a0;
  --accent: #c41230;
  --accent-light: #a8102a;
  --accent-glow: rgba(196,18,48,0.08);
  --border: rgba(0,0,0,0.08);
  --border-light: rgba(0,0,0,0.14);
  --font-body: 'DM Sans', sans-serif;
  --font-display: 'Playfair Display', serif;
  --max-width: 1200px;
  --nav-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-light); text-decoration: none; transition: color .2s; }
a:hover { color: #e8344f; }
img { max-width: 100%; height: auto; }

/* ── NAV ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
}
.nav-logo img { height: 40px; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--text-secondary); font-size: .875rem; font-weight: 500;
  letter-spacing: .03em; text-transform: uppercase; transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--accent); transition: width .3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-primary); margin: 5px 0; transition: .3s; }

/* ── HERO ── */
.hero {
  min-height: 85vh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-height) + 4rem) 2rem 4rem;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #f8f8fc 0%, #eeeef5 50%, #f0f0f8 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, var(--accent-glow) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(200,200,240,0.15) 0%, transparent 50%);
}
.hero-content { position: relative; max-width: 900px; text-align: center; }
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700; line-height: 1.15; margin-bottom: 1.5rem;
  color: var(--text-primary);
}
.hero p { font-size: 1.15rem; color: var(--text-secondary); max-width: 700px; margin: 0 auto 2rem; }
.hero-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--accent); color: #fff; padding: .9rem 2rem;
  border-radius: 6px; font-weight: 600; font-size: .95rem;
  transition: transform .2s, box-shadow .2s;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--accent-glow); color: #fff; }
.hero-cta svg { width: 18px; height: 18px; }

/* ── SECTIONS ── */
.section { padding: 6rem 2rem; max-width: var(--max-width); margin: 0 auto; }
.section-dark { background: var(--bg-secondary); max-width: 100%; }
.section-dark .section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-label {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .15em;
  color: var(--accent); font-weight: 600; margin-bottom: .75rem;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700; margin-bottom: 1rem; line-height: 1.2;
}
.section-subtitle { color: var(--text-secondary); font-size: 1.05rem; max-width: 650px; margin-bottom: 3rem; }
.section-divider { width: 60px; height: 3px; background: var(--accent); margin-bottom: 2rem; border-radius: 2px; }

/* ── CARDS ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 2rem; transition: transform .3s, border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-light); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: .75rem; }
.card p { color: var(--text-secondary); font-size: .95rem; }

/* ── PEOPLE GRID ── */
.people-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.person-card {
  width: 240px;
  text-align: center;
}
.person-card img {
  width: 140px; height: 140px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--border); margin-bottom: 1rem;
  transition: border-color .3s, transform .3s;
}
.person-card:hover img { border-color: var(--accent); transform: scale(1.05); }
.person-card h4 { font-size: .95rem; font-weight: 600; margin-bottom: .25rem; }
.person-card .role { font-size: .8rem; color: var(--text-secondary); }
.person-card .year { font-size: .75rem; color: var(--text-muted); }

/* ── RESEARCH CARDS ── */
.research-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 2.5rem; margin-bottom: 2rem;
  transition: transform .3s, box-shadow .3s;
}
.research-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.research-card:nth-child(even) { direction: rtl; }
.research-card:nth-child(even) > * { direction: ltr; }
.research-card.no-image { grid-template-columns: 1fr; }
.research-card img { width: 100%; border-radius: 8px; }
.research-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: .75rem; }
.research-card p { color: var(--text-secondary); font-size: .95rem; }

/* ── ALUMNI LIST ── */
.alumni-section h3 { font-size: 1.15rem; font-weight: 700; color: var(--accent); margin: 2rem 0 1rem; }
.alumni-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: .4rem; }
.alumni-item { color: var(--text-secondary); font-size: .9rem; padding: .4rem 0; border-bottom: 1px solid var(--border); }
.alumni-item a { color: var(--accent-light); }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-block h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: .5rem; }
.contact-block p { color: var(--text-secondary); font-size: .95rem; } 
.contact-block a { color: var(--accent-light); font-size: .95rem; }
.contact-block { margin-bottom: 2rem; }
.join-section h3 { font-size: 1.2rem; font-weight: 700; color: var(--accent); margin: 2rem 0 .75rem; }
.join-section p { color: var(--text-secondary); font-size: .95rem; margin-bottom: 1rem; }

/* ── MEDIA / NEWS ── */
.media-item {
  display: flex; gap: 1.5rem; padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.media-item h4 { font-size: 1rem; font-weight: 600; margin-bottom: .25rem; }
.media-item p { color: var(--text-secondary); font-size: .875rem; }
.media-item .source { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }

/* ── VIDEO GRID ── */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 1.5rem; }
.video-card { background: var(--bg-card); border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.video-card iframe { width: 100%; aspect-ratio: 16/9; border: none; display: block; }
.video-card .video-label { padding: 1rem 1.25rem; font-size: .9rem; color: var(--text-secondary); }

/* ── OUTREACH ── */
.outreach-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; margin-bottom: 2rem;
}
.outreach-item img { width: 100%; max-height: 350px; object-fit: cover; }
.outreach-body { padding: 2rem; }
.outreach-body h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .75rem; }
.outreach-body p { color: var(--text-secondary); font-size: .95rem; }

/* ── FOOTER ── */
.site-footer {
  background: #1a1a2e; border-top: 1px solid var(--border);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem;
}
.footer-inner p { color: #a0a0b0; font-size: .85rem; }
.footer-inner img { height: 32px; opacity: .6; }

/* ── PAGE HEADER ── */
.page-header {
  padding: calc(var(--nav-height) + 4rem) 2rem 3rem;
  max-width: var(--max-width); margin: 0 auto;
}
.page-header h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; margin-bottom: .5rem;
}
.page-header p { color: var(--text-secondary); font-size: 1.05rem; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp .6s ease both; }
.fade-up-1 { animation-delay: .1s; }
.fade-up-2 { animation-delay: .2s; }
.fade-up-3 { animation-delay: .3s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .research-card { grid-template-columns: 1fr; }
  .research-card:nth-child(even) { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .alumni-list { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: var(--nav-height); left: 0; right: 0; background: var(--bg-primary); flex-direction: column; padding: 2rem; gap: 1.5rem; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { min-height: 70vh; }
  .people-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1.5rem; }
  .video-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
}

/* ── DEI PILLARS ── */
.dei-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.dei-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
  padding: 1.5rem; border-left: 3px solid var(--accent);
}
.dei-card h4 { font-size: .95rem; font-weight: 700; margin-bottom: .5rem; }
.dei-card p { color: var(--text-secondary); font-size: .875rem; }

/* ── CAROUSEL ── */
.photo-carousel { position: relative; overflow: hidden; border-radius: 12px; margin-bottom: 3rem; max-height: 600px; }
.photo-carousel img { width: 100%; height: 600px; object-fit: cover; display: none; }
.photo-carousel img.active { display: block; }
.carousel-controls { position: absolute; bottom: 1rem; right: 1rem; display: flex; gap: .5rem; }
.carousel-controls button {
  background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.3);
  color: #fff; width: 72px; height: 72px; border-radius: 50%;
  cursor: pointer; font-size: 2rem; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.carousel-controls button:hover { background: var(--accent); }

/* ── GALLERY ── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.gallery-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); transition: transform .3s; cursor: pointer; }
.gallery-grid img:hover { transform: scale(1.03); }
