@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --navy: #1a2235;
  --navy-mid: #243048;
  --grey-dark: #4a5568;
  --grey-mid: #8a96a8;
  --grey-light: #e8ecf1;
  --off-white: #f7f8fa;
  --white: #ffffff;
  --accent: #2e6da4;
  --accent-light: #d6e8f7;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  background: var(--white);
  color: var(--navy);
  line-height: 1.7;
  font-size: 16px;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--grey-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 64px;
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* ── PAGE HERO ── */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 5rem 3rem 4rem;
}

.page-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  max-width: 700px;
}

.page-hero p {
  margin-top: 1rem;
  color: var(--grey-mid);
  max-width: 560px;
  font-size: 1.05rem;
}

/* ── MAIN CONTENT ── */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 3rem;
}

section {
  margin-bottom: 4rem;
}

h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

p { color: var(--grey-dark); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── DIVIDER ── */
.divider {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 2rem;
}

/* ── HOME HERO ── */
.home-hero {
  background: var(--navy);
  color: var(--white);
  padding: 7rem 3rem 6rem;
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,109,164,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.home-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.home-hero .eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.2rem;
}

.home-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 400;
  line-height: 1.1;
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.home-hero h1 em {
  font-style: italic;
  color: var(--grey-mid);
}

.home-hero .tagline {
  font-size: 1.1rem;
  color: #a0aec0;
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover { background: #245a8a; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  margin-left: 1rem;
  color: rgba(255,255,255,0.85);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); transform: translateY(-1px); }

/* ── HOME CARDS ── */
.home-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5px;
  background: var(--grey-light);
  border-top: 1.5px solid var(--grey-light);
}

.home-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  text-decoration: none;
  transition: background 0.2s;
}

.home-card:hover { background: var(--off-white); }

.home-card .card-icon {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.home-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.home-card p {
  font-size: 0.88rem;
  color: var(--grey-mid);
  margin: 0;
}

/* ── PEOPLE GRID ── */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
}

.person-card {
  text-align: center;
}

.person-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--grey-light);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--grey-mid);
  overflow: hidden;
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-card h3 { font-size: 0.95rem; }

.person-card .role {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}

.person-card p {
  font-size: 0.82rem;
  color: var(--grey-mid);
  margin: 0;
}

.people-section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--grey-light);
}

/* ── PUBLICATIONS ── */
.pub-list { list-style: none; }

.pub-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--grey-light);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  align-items: start;
}

.pub-year {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  padding-top: 0.15rem;
  letter-spacing: 0.04em;
}

.pub-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.pub-authors {
  font-size: 0.83rem;
  color: var(--grey-mid);
  margin-bottom: 0.2rem;
}

.pub-journal {
  font-size: 0.83rem;
  color: var(--grey-dark);
  font-style: italic;
}

.pub-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.pub-link:hover { text-decoration: underline; }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-block h3 {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 0.75rem;
}

.contact-block p, .contact-block a {
  font-size: 0.95rem;
  color: var(--grey-dark);
  text-decoration: none;
}

.contact-block a:hover { color: var(--accent); }

.map-embed {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 2px;
  margin-top: 2rem;
  filter: grayscale(20%);
}

/* ── RESEARCH AREAS ── */
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.research-card {
  background: var(--off-white);
  padding: 2rem;
  border-left: 3px solid var(--accent);
}

.research-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.research-card p {
  font-size: 0.9rem;
  margin: 0;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: var(--grey-mid);
  text-align: center;
  padding: 2.5rem 3rem;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

footer a { color: var(--grey-mid); text-decoration: none; }
footer a:hover { color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 1.5rem; }
  .nav-links { gap: 1.5rem; }
  .home-hero, .page-hero { padding: 4rem 1.5rem 3rem; }
  main { padding: 3rem 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .btn-outline { margin-left: 0; margin-top: 0.75rem; display: inline-block; }
}
