:root {
  --bg: #fbfcff;
  --ink: #18212f;
  --muted: #57657d;
  --line: #d9e1ef;
  --card: rgba(255,255,255,0.82);
  --brand: #5b64ff;
  --brand-2: #00b8a9;
  --brand-3: #ff7aa2;
  --shadow: 0 18px 48px rgba(61, 83, 160, 0.12);
  --radius: 24px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(91,100,255,0.10), transparent 24%),
    radial-gradient(circle at left 15%, rgba(0,184,169,0.10), transparent 20%),
    var(--bg);
  line-height: 1.65;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(760px, 100%); }
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(251, 252, 255, 0.84);
  border-bottom: 1px solid rgba(217,225,239,0.75);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.95rem 0; }
.brand { display: flex; align-items: center; gap: 0.9rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand strong { display: block; font-size: 1rem; }
.brand small { display: block; color: var(--muted); font-size: 0.82rem; }
.brand-mark {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
  color: white; font-weight: 800; letter-spacing: 0.04em;
  box-shadow: var(--shadow);
}
.site-nav { display: flex; gap: 1rem; align-items: center; }
.site-nav a { color: var(--ink); font-weight: 600; }
.nav-toggle { display: none; border: 0; background: white; border-radius: 12px; padding: 0.55rem 0.7rem; font-size: 1rem; }
.hero { padding: 4.5rem 0 3rem; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; color: var(--brand); font-size: 0.8rem; font-weight: 800; margin: 0 0 1rem; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.8rem; }
h1 { font-size: clamp(2.3rem, 4vw, 4.4rem); }
h2 { font-size: clamp(1.6rem, 2vw, 2.35rem); }
h3 { font-size: 1.2rem; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.5rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.2rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #7886ff);
  color: white; font-weight: 700; box-shadow: var(--shadow);
}
.button:hover { text-decoration: none; opacity: 0.96; }
.hero-panel { position: relative; min-height: 320px; }
.gradient-orb { position: absolute; border-radius: 999px; filter: blur(8px); opacity: 0.9; }
.orb-a { inset: 10% auto auto 6%; width: 150px; height: 150px; background: rgba(0,184,169,0.24); }
.orb-b { inset: auto 8% 8% auto; width: 190px; height: 190px; background: rgba(255,122,162,0.22); }
.hero-card, .card, .spotlight, .stat-card, .embed-note {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(217,225,239,0.85);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card { padding: 1.5rem; position: absolute; inset: 14% 4% 8% 10%; }
.check-list, .link-list { padding-left: 1.1rem; margin: 0; }
.section { padding: 2rem 0 3.5rem; }
.section-soft { padding-top: 0.5rem; }
.section-head { max-width: 60ch; margin-bottom: 1.5rem; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.card { padding: 1.3rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat-card { padding: 1.3rem; text-align: center; }
.stat-card strong { display: block; font-size: 2rem; color: var(--brand); }
.stat-card span { color: var(--muted); font-size: 0.95rem; }
.two-col { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.2rem; align-items: start; }
.spotlight { padding: 1.4rem; }
.page-header { padding: 3rem 0 1rem; }
.content-body h2 { margin-top: 2rem; }
.content-body ul li { margin-bottom: 0.5rem; }
.content-body .grid-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; padding-left: 0; list-style: none; }
.content-body .grid-list li,
.content-body .grant-list li,
.content-body .person-list li { list-style: none; padding: 1rem 1.1rem; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 24px rgba(61, 83, 160, 0.06); }
.content-body .grant-list, .content-body .person-list { padding-left: 0; display: grid; gap: 1rem; }
.person-entry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}
.person-grid .person-card {
  display: grid;
  gap: 0.45rem;
}
.person-photo-wrap {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.person-entry .person-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
}
.person-card .person-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.pub-summary,
.pub-updated {
  color: var(--muted);
}
.pub-updated {
  margin-top: -0.35rem;
  font-size: 0.95rem;
}
.pub-profile-summary {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.9rem 1.1rem;
  margin: 1rem 0 1.2rem;
  box-shadow: 0 10px 24px rgba(61, 83, 160, 0.06);
}
.pub-profile-title {
  margin: 0;
  font-weight: 700;
}
.pub-profile-meta {
  margin: 0.2rem 0 0;
  color: var(--muted);
}
.pub-profile-stats {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}
.pub-list {
  margin: 1.4rem 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}
.pub-year-marker {
  margin: 0.1rem 0 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.35rem;
}
.pub-year-marker span {
  display: inline-block;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.02em;
}
.pub-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.95rem 1.1rem;
  box-shadow: 0 10px 24px rgba(61, 83, 160, 0.06);
}
.pub-title {
  margin: 0 0 0.35rem;
  font-weight: 700;
}
.pub-authors {
  margin: 0;
  font-size: 0.96rem;
}
.pub-meta-line {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.calendar-embed {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow);
}
.calendar-embed iframe {
  width: 100%;
  min-height: 680px;
  border: 0;
}
.map-embed {
  margin: 1.2rem 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-embed iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}
.embed-frame { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: white; box-shadow: var(--shadow); }
.embed-frame iframe { width: 100%; min-height: 980px; border: 0; }
.embed-note { padding: 1rem 1.2rem; margin: 1rem 0; }
.site-footer { padding: 2rem 0 3rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: 1rem; }
.text-link { font-weight: 700; }
@media (max-width: 960px) {
  .hero-grid, .two-col, .footer-grid { grid-template-columns: 1fr; }
  .card-grid, .stats-grid, .content-body .grid-list { grid-template-columns: repeat(2, 1fr); }
  .site-nav { display: none; position: absolute; top: calc(100% + 0.5rem); left: 1rem; right: 1rem; background: white; border: 1px solid var(--line); border-radius: 18px; padding: 1rem; box-shadow: var(--shadow); }
  .site-nav.open { display: grid; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 640px) {
  .card-grid, .stats-grid, .content-body .grid-list { grid-template-columns: 1fr; }
  .hero { padding-top: 3rem; }
}
