:root {
  --ink: #12201f;
  --muted: #5d6867;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #dfe5df;
  --teal: #007f78;
  --green: #65a33f;
  --coral: #d95f43;
  --gold: #d8a423;
  --blue: #2f6fb0;
  --shadow: 0 18px 50px rgba(22, 38, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(251, 250, 247, 0.9);
  border-bottom: 1px solid rgba(18, 32, 31, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  background: var(--teal);
  border-radius: 8px;
  box-shadow: inset -10px -10px 0 rgba(216, 164, 35, 0.32);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.95rem;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 12px;
  color: #263533;
  font-size: 0.91rem;
  font-weight: 650;
  border-radius: 8px;
}

.nav-links a:hover {
  background: rgba(0, 127, 120, 0.1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 82vh;
  padding: 154px clamp(20px, 5vw, 72px) 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: end;
  gap: clamp(28px, 6vw, 82px);
  overflow: hidden;
  background: #f6f2e9;
  border-bottom: 1px solid var(--line);
}

#biomedCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content,
.hero-facts {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 6.3rem);
  line-height: 0.98;
  font-weight: 800;
}

.hero-copy {
  max-width: 720px;
  margin: 28px 0 0;
  color: #30413f;
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  font-weight: 800;
  border-radius: 8px;
}

.primary-link {
  gap: 10px;
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.primary-link span {
  color: var(--gold);
  font-size: 1.05rem;
}

.secondary-link {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(18, 32, 31, 0.14);
}

.hero-facts {
  display: grid;
  gap: 16px;
  padding: 12px 0 12px 24px;
  border-left: 4px solid var(--teal);
}

.hero-facts div {
  padding: 18px 0;
  border-bottom: 1px solid rgba(18, 32, 31, 0.16);
}

.hero-facts div:last-child {
  border-bottom: 0;
}

.hero-facts span,
.hero-facts strong {
  display: block;
}

.hero-facts span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-facts strong {
  margin-top: 6px;
  font-size: clamp(1.28rem, 2vw, 1.75rem);
}

section {
  padding: 92px clamp(20px, 5vw, 72px);
}

.intro-band {
  background: var(--ink);
  color: #fff;
}

.intro-band .section-label {
  color: #f2c24d;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 90px);
}

.intro-grid h2,
.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
}

.intro-copy {
  display: grid;
  gap: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  line-height: 1.8;
}

.intro-copy p {
  margin: 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-heading .section-label {
  min-width: 150px;
  margin-bottom: 8px;
}

.topics-section {
  background: #ffffff;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.topic-grid article {
  min-height: 128px;
  padding: 22px;
  display: flex;
  align-items: end;
  color: #1d2c2a;
  line-height: 1.45;
  font-weight: 700;
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.topic-grid article:nth-child(4n + 1) {
  border-top: 5px solid var(--teal);
}

.topic-grid article:nth-child(4n + 2) {
  border-top: 5px solid var(--coral);
}

.topic-grid article:nth-child(4n + 3) {
  border-top: 5px solid var(--green);
}

.topic-grid article:nth-child(4n) {
  border-top: 5px solid var(--blue);
}

.dates-section {
  background: #f0f7f4;
}

.timeline {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  min-height: 212px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid #d5e4dc;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(25, 64, 55, 0.08);
}

.timeline li::before {
  counter-increment: step;
  content: "0" counter(step);
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: var(--teal);
  border-radius: 8px;
}

.timeline time,
.timeline span {
  display: block;
}

.timeline time {
  margin-bottom: 10px;
  color: var(--coral);
  font-size: 1.22rem;
  font-weight: 800;
}

.timeline span {
  color: #344440;
  line-height: 1.55;
  font-weight: 650;
}

.people-section {
  background: #fff;
}

.chair-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.person-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 20px;
  padding: 28px;
  background: #f9f8f2;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.person-avatar {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: var(--teal);
  border-radius: 8px;
}

.person-avatar.alt {
  background: var(--coral);
}

.person-body h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.affiliation {
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 700;
}

.person-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.person-links a {
  padding: 8px 10px;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 800;
  background: #fff;
  border: 1px solid #dfe8e5;
  border-radius: 8px;
}

.person-body p:last-child {
  margin: 0;
  color: #33413f;
  line-height: 1.72;
}

.committee-section {
  background: #f8faf7;
}

.committee-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.committee-list article {
  min-height: 174px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.committee-list strong {
  font-size: 1.08rem;
  line-height: 1.35;
}

.committee-list span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: #dce6e2;
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #f2c24d;
  font-weight: 800;
}

@media (max-width: 1060px) {
  .hero,
  .intro-grid,
  .chair-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-facts {
    max-width: 680px;
  }

  .topic-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .committee-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand {
    min-width: 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero {
    padding-top: 118px;
    padding-bottom: 44px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .hero-facts {
    padding-left: 18px;
  }

  section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section-heading {
    display: block;
  }

  .topic-grid,
  .timeline,
  .committee-list {
    grid-template-columns: 1fr;
  }

  .person-card {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: block;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
