:root {
  --black: #000000;
  --white: #ffffff;
  --graph-bg: #f6f3ee;
  --panel-bg: #fbf9f5;
  --text-main: #1f1a17;
  --text-muted: #6b635c;
  --border-soft: rgba(31, 26, 23, 0.12);
  --shadow-soft: 0 26px 60px rgba(31, 26, 23, 0.08);
  --node-first-fill: #c96f37;
  --node-first-stroke: #8e4520;
  --node-contrib-fill: #8ea5a0;
  --node-contrib-stroke: #4d6760;
  --area-agents: rgba(201, 111, 55, 0.10);
  --area-plms: rgba(88, 120, 162, 0.10);
  --area-biomedical: rgba(104, 145, 118, 0.10);
  --heading-font: "orpheus-pro", Georgia, "Times New Roman", serif;
  --body-font: "adobe-garamond-pro", Garamond, Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--black);
  color: var(--white);
  font-family: var(--body-font);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

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

.landing-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

.landing-background,
.landing-background::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.landing-background {
  z-index: -2;
  background:
    radial-gradient(ellipse at 73% 47%, rgba(255, 255, 255, 0.12), transparent 52%),
    radial-gradient(ellipse at 87% 4%, rgba(255, 255, 255, 0.12), transparent 35%),
    linear-gradient(110deg, #000 0%, #040404 45%, #0b0b0b 100%);
}

.landing-background::after {
  content: "";
  z-index: -1;
  background:
    radial-gradient(ellipse at 18% 78%, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08) 22%, transparent 42%),
    radial-gradient(ellipse at 73% 47%, rgba(255, 255, 255, 0.08), transparent 52%),
    radial-gradient(ellipse at 87% 4%, rgba(255, 255, 255, 0.10), transparent 35%);
  filter: blur(28px);
}

.landing-network {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.landing-grid {
  width: min(100%, 1500px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 8.2vh 4vw 7vh;
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: 11px;
  align-items: center;
}

.landing-copy {
  grid-column: 1 / span 10;
  align-self: center;
  padding-bottom: 0;
  transform: translateY(clamp(58px, 10vh, 108px));
}

.landing-copy h1,
.landing-copy h2,
.fellowship,
.landing-summary {
  margin: 0;
}

.landing-copy h1,
.landing-copy h2 {
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 400;
  letter-spacing: 0;
}

.landing-copy h1 {
  margin-bottom: 35px;
  font-size: clamp(4rem, 5.1vw, 5.7rem);
  line-height: 1.04;
}

.fellowship {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(1.18rem, 1.55vw, 1.5rem);
  line-height: 1.2;
}

.landing-copy h2 {
  max-width: 470px;
  font-size: clamp(2.85rem, 3.9vw, 4.55rem);
  line-height: 1.12;
}

.landing-summary {
  margin-top: 18px;
  color: #fff;
  font-size: clamp(1.35rem, 1.85vw, 1.85rem);
  line-height: 1.2;
  font-weight: 700;
}

.landing-links {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 12px;
  margin-left: 108px;
  min-height: 40px;
  padding: 0 9px;
}

.landing-links::before {
  content: "";
  position: absolute;
  inset: -2px -11px;
  z-index: -1;
  border: 6px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.22);
  mix-blend-mode: lighten;
  filter: blur(15px);
}

.landing-links a {
  width: 33px;
  height: 33px;
  display: inline-grid;
  place-items: center;
  color: #000;
  transition: opacity 140ms ease;
}

.landing-links a:hover,
.landing-links a:focus-visible {
  opacity: 0.58;
}

.landing-links svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.scholar-icon {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  color: #000;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.portrait-orb {
  grid-column: 14 / span 10;
  justify-self: center;
  align-self: center;
  width: min(42vw, 485px);
  aspect-ratio: 1 / 1;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  transform: translateY(-14px);
}

.portrait-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 51%;
}

@media (max-width: 980px) {
  .landing-page {
    overflow: visible;
  }

  .landing-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-template-rows: auto auto;
    align-content: start;
    min-height: 100vh;
    padding: 6vw;
  }

  .landing-copy {
    grid-column: 1 / -1;
    padding-bottom: 0;
  }

  .landing-copy h1 {
    margin-bottom: 22px;
    font-size: clamp(3.4rem, 13vw, 5.2rem);
  }

  .fellowship {
    margin-bottom: 10px;
  }

  .landing-copy h2 {
    max-width: 9ch;
    font-size: clamp(2.65rem, 10.4vw, 4.2rem);
  }

  .landing-summary {
    margin-top: 0;
  }

  .landing-links {
    margin-left: 0;
    margin-top: 12px;
  }

  .portrait-orb {
    grid-column: 1 / -1;
    width: min(82vw, 430px);
    margin: 72px auto 0;
    transform: none;
  }
}

@media (max-width: 640px) {
  .landing-grid {
    padding: 8vw 6vw 70px;
  }

  .landing-copy h1 {
    font-size: clamp(3.2rem, 15vw, 4.7rem);
  }

  .landing-copy h2 {
    max-width: 8.5ch;
    font-size: clamp(2.4rem, 11vw, 3.9rem);
  }

  .fellowship {
    font-size: 1.12rem;
  }

  .landing-summary {
    font-size: 1.18rem;
  }

  .portrait-orb {
    width: min(86vw, 390px);
  }
}
