*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: oklch(98.5% 0.004 95);
  --bg2: oklch(96% 0.006 95);
  --ink: oklch(18% 0.01 250);
  --ink2: oklch(42% 0.01 250);
  --ink3: oklch(62% 0.01 250);

  --green:  oklch(44% 0.14 155);
  --coral:  oklch(62% 0.19 25);
  --amber:  oklch(72% 0.19 75);
  --teal:   oklch(62% 0.17 188);
  --purple: oklch(58% 0.19 290);
  --blue:   oklch(60% 0.19 248);

  --green-l:  oklch(93% 0.06 155);
  --coral-l:  oklch(94% 0.07 25);
  --amber-l:  oklch(95% 0.08 75);
  --teal-l:   oklch(93% 0.06 188);
  --purple-l: oklch(93% 0.07 290);
  --blue-l:   oklch(93% 0.07 248);

  --radius: 14px;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253,251,248,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1.5px solid oklch(90% 0.006 95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 60px;
  transition: box-shadow .2s;
}
nav.scrolled { box-shadow: 0 2px 24px oklch(0% 0 0 / 0.06); }
.nav-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.nav-logo-badge { display: flex; gap: 2px; align-items: center; }
.nav-logo-badge span { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink2);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--green); border-bottom-color: var(--green); }

/* ── LAYOUT ── */
.container { max-width: 1400px; margin: 0 auto; padding: 0 48px; }
.page-section { padding: 100px 0; }
.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 48px;
}
.page-hero {
  padding: 80px 0 64px;
  border-bottom: 1.5px solid oklch(91% 0.005 250);
  margin-bottom: 64px;
}
.page-hero .section-label { margin-bottom: 12px; }
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ── BUTTONS ── */
.btn {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 4px 20px oklch(44% 0.14 155 / 35%); }
.btn-primary:hover { box-shadow: 0 8px 28px oklch(44% 0.14 155 / 45%); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid oklch(80% 0.01 250); }
.btn-outline:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 4px 20px oklch(0% 0 0 / 0.3); }
.btn-white:hover { box-shadow: 0 8px 32px oklch(0% 0 0 / 0.4); }
.btn-ghost { background: oklch(100% 0 0 / 0.07); color: #fff; border: 1.5px solid oklch(100% 0 0 / 0.15); }
.btn-ghost:hover { background: oklch(100% 0 0 / 0.12); }

/* ── TAG ── */
.tag {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1.5px solid transparent;
}

/* ── HERO (Home) ── */
.home-hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-blobs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.28; }
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.hero-eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}
.hero-eyebrow-text { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; color: var(--ink2); }
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.hero-title .yes {
  background: linear-gradient(135deg, var(--green), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { font-size: 18px; color: var(--ink2); max-width: 600px; line-height: 1.7; margin-bottom: 48px; text-wrap: pretty; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 56px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── MARQUEE ── */
.marquee-bar { background: var(--ink); padding: 14px 0; overflow: hidden; white-space: nowrap; }
.marquee-inner { display: inline-block; animation: marquee 28s linear infinite; }
.marquee-inner span { font-family: var(--font-mono); font-size: 13px; color: oklch(85% 0.005 250); margin: 0 28px; }
.marquee-inner .dot { color: var(--amber); margin: 0; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── RESEARCH PILLARS ── */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar-card {
  padding: 30px 28px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: transform .2s, box-shadow .2s;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px oklch(0% 0 0 / 0.07); }
.pillar-icon { font-size: 28px; margin-bottom: 16px; display: block; }
.pillar-card h3 { font-family: var(--font-head); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.pillar-card p { font-size: 14px; color: var(--ink2); line-height: 1.65; }

/* ── MISSION ── */
.mission-text {
  font-family: var(--font-head);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  max-width: 860px;
  text-wrap: pretty;
}
.mission-text strong { font-weight: 700; }
.mission-text .hl { padding: 1px 6px; border-radius: 4px; font-weight: 600; }

/* ── TIMELINE ── */
.timeline { position: relative; }
.timeline-line {
  position: absolute;
  left: 110px; top: 0; bottom: 0;
  width: 2px;
  background: oklch(88% 0.005 250);
}
.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0 36px;
  margin-bottom: 40px;
  position: relative;
}
.timeline-date { font-family: var(--font-mono); font-size: 12px; color: var(--ink3); padding-top: 4px; text-align: right; padding-right: 20px; }
.timeline-dot { position: absolute; left: 104px; top: 7px; width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid var(--bg); }
.timeline-body { padding: 0 0 40px 0; border-bottom: 1px solid oklch(91% 0.005 250); }
.timeline-item:last-child .timeline-body { border-bottom: none; }
.timeline-venue {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
}
.timeline-body h4 { font-family: var(--font-head); font-size: 16px; font-weight: 600; margin-bottom: 4px; line-height: 1.4; }
.timeline-body h4 a { color: var(--ink); text-decoration: none; }
.timeline-body h4 a:hover { color: var(--green); }
.timeline-body .authors { font-size: 13px; color: var(--ink3); }

/* ── PEOPLE ── */
.people-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.person-card {
  background: #fff;
  border: 1.5px solid oklch(91% 0.006 250);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  gap: 28px;
  transition: box-shadow .2s, transform .2s;
}
.person-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px oklch(0% 0 0 / 0.08); }
.person-photo-wrap { flex-shrink: 0; width: 120px; }
.person-photo-placeholder {
  width: 120px; height: 120px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
}
.person-role-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-top: 10px;
  text-align: center;
  width: 100%;
}
.person-info { flex: 1; min-width: 0; }
.person-info h3 { font-family: var(--font-head); font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.person-info .person-title { font-size: 13px; color: var(--ink3); margin-bottom: 2px; font-style: italic; }
.person-info .person-period { font-size: 11px; color: var(--ink3); margin-bottom: 12px; opacity: 0.55; letter-spacing: 0.03em; }
.person-info p { font-size: 14px; color: var(--ink2); line-height: 1.65; margin-bottom: 16px; text-wrap: pretty; }
.person-links { display: flex; gap: 10px; flex-wrap: wrap; }
.person-link {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1.5px solid oklch(85% 0.01 250);
  color: var(--ink2);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all .15s;
}
.person-link:hover { border-color: var(--green); color: var(--green); background: var(--green-l); }

/* ── PUBLICATIONS ── */
.pub-list { display: flex; flex-direction: column; gap: 0; }
.pub-item {
  padding: 28px 0;
  border-bottom: 1px solid oklch(91% 0.005 250);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 24px;
  align-items: start;
}
.pub-year { font-family: var(--font-mono); font-size: 13px; color: var(--ink3); padding-top: 3px; }
.pub-venue {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 6px;
}
.pub-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
  color: var(--ink);
  text-decoration: none;
  display: block;
}
.pub-title:hover { color: var(--green); }
.pub-authors { font-size: 13px; color: var(--ink3); }

/* ── JOIN US ── */
.joinus-wrap {
  background: var(--ink);
  border-radius: 24px;
  padding: 72px 80px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.joinus-blobs { position: absolute; inset: 0; pointer-events: none; }
.joinus-content { position: relative; z-index: 1; }
.joinus-content .section-label { color: oklch(70% 0.01 250); }
.joinus-content h2 { font-family: var(--font-head); font-size: clamp(28px,4vw,44px); font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 16px; text-wrap: pretty; }
.joinus-content p { color: oklch(72% 0.01 250); font-size: 16px; line-height: 1.7; max-width: 500px; }
.joinus-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.positions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 64px; }
.position-card {
  background: #fff;
  border: 1.5px solid oklch(91% 0.006 250);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s;
}
.position-card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px oklch(0% 0 0 / 0.07); }
.position-card h3 { font-family: var(--font-head); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.position-card p { font-size: 14px; color: var(--ink2); line-height: 1.65; }

/* ── FOOTER ── */
footer {
  padding: 40px 48px;
  border-top: 1.5px solid oklch(90% 0.006 95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-family: var(--font-head); font-size: 13px; color: var(--ink3); text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: 13px; color: var(--ink3); }

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .container { padding: 0 24px; }
  .pillars-grid, .positions-grid { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: 1fr; }
  .person-card { flex-direction: column; }
  .joinus-wrap { grid-template-columns: 1fr; padding: 40px 32px; }
  .timeline-line { left: 80px; }
  .timeline-item { grid-template-columns: 80px 1fr; }
  .timeline-dot { left: 74px; }
  footer { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
}
