@font-face {
  font-family: "Instrument Sans";
  src: url("assets/instrument-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #0b2635;
  --navy: #071d2a;
  --muted: #405760;
  --paper: #f6f6f0;
  --lime: #e5fa8b;
  --green: #39534e;
  --line: #d1dbd8;
  font-family: "Instrument Sans", Arial, sans-serif;
  line-height: 1.5;
  color: var(--ink);
  background: white;
}

*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, p, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }

.container {
  width: min(100% - clamp(2.5rem, 10vw, 10rem), 78rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 3;
  padding: .6rem 1rem;
  background: white;
  transform: translateY(-200%);
}

.skip-link:focus { transform: translateY(0); }

.masthead { background: #fff; }

.masthead-inner {
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: grid; place-items: center; }
.brand:hover img { opacity: .76; }
.brand img { width: 4rem; height: auto; }

.section-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.25rem);
  font-size: .9rem;
  font-weight: 600;
}

.section-links a { text-decoration: none; }
.section-links a:hover { text-decoration: underline; text-underline-offset: .25em; }

.hero {
  display: grid;
  grid-template: "hero" 1fr / minmax(0, 1fr);
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--navy);
}

.hero-inner {
  grid-area: hero;
  align-self: center;
  z-index: 1;
  pointer-events: none;
}

.hero-copy {
  width: fit-content;
  padding-block: clamp(4.5rem, 10vw, 9rem);
  pointer-events: auto;
}

.hero-visual {
  grid-area: hero;
  justify-self: end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 65%;
  background: #104351;
}

.hero-photo {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  object-position: 52% 48%;
  filter: saturate(.83);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy) 1%, rgb(7 29 42 / .5) 26%, transparent 59%);
  pointer-events: none;
}

.radar {
  position: absolute;
  left: 47%;
  top: 50%;
  width: min(27vw, 24rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgb(222 251 246 / .34);
  border-radius: 50%;
  background:
    linear-gradient(transparent calc(50% - .5px), rgb(222 251 246 / .30) calc(50% - .5px), rgb(222 251 246 / .30) calc(50% + .5px), transparent calc(50% + .5px)),
    linear-gradient(90deg, transparent calc(50% - .5px), rgb(222 251 246 / .30) calc(50% - .5px), rgb(222 251 246 / .30) calc(50% + .5px), transparent calc(50% + .5px));
}

.radar::before, .radar::after, .radar span {
  content: "";
  position: absolute;
  border: 1px solid rgb(222 251 246 / .34);
  border-radius: 50%;
}

.radar::before { inset: 15%; }
.radar::after { inset: 31%; }
.radar span { inset: 47%; border-color: var(--lime); }

.hero-visual figcaption {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 1rem;
  padding: .2rem .5rem;
  background: var(--navy);
  color: #e7f2ef;
  font-size: .72rem;
}

.hero-visual figcaption a { text-decoration: none; }
.hero-visual figcaption a:hover { text-decoration: underline; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--green);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: .43rem;
  height: .43rem;
  background: currentColor;
  border-radius: 50%;
  flex: 0 0 auto;
}

.hero .eyebrow { color: var(--lime); }

h1 {
  margin-top: 1.25rem;
  font-size: clamp(2.8rem, 6.15vw, 6.5rem);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.07em;
}

h1 span { color: var(--lime); }

.hero-description {
  max-width: 27rem;
  margin-top: 1.5rem;
  color: #e2ecee;
  font-size: clamp(1rem, 1.5vw, 1.19rem);
}

.project-link {
  display: inline-flex;
  gap: 1.65rem;
  align-items: center;
  margin-top: 1.75rem;
  padding: .8rem 1rem .8rem 1.15rem;
  border-radius: .3rem;
  color: var(--navy);
  background: var(--lime);
  font-size: .91rem;
  font-weight: 700;
  text-decoration: none;
}

.project-link:hover { background: #f3ffc5; }
.project-link:focus-visible { outline-color: #fff; }
.project-link span, .text-link span { font-size: 1.13em; }

.research {
  padding-block: clamp(3.5rem, 7vw, 6.25rem);
  background: var(--paper);
}

.research-inner {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: clamp(2rem, 8vw, 8rem);
  align-items: start;
}

.research h2 {
  max-width: 12ch;
  margin-top: 1rem;
  font-size: clamp(2.1rem, 4.1vw, 4.15rem);
  line-height: 1.01;
  font-weight: 600;
  letter-spacing: -.062em;
}

.section-intro {
  max-width: 30rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.text-link {
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
  width: fit-content;
  font-size: .9rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: .24em;
}

.text-link:hover { color: #386956; }
.research .text-link { margin-top: 1.2rem; }

.research-list { border-top: 1px solid var(--line); }
.research-list > div { padding-block: 1.08rem; border-bottom: 1px solid var(--line); }
.research-list dt { font-size: 1.17rem; font-weight: 700; letter-spacing: -.02em; }
.research-list dd { margin-top: .28rem; color: var(--muted); }

.partners { padding-block: clamp(3.5rem, 7vw, 6.25rem); }

.partners-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: 1.75rem;
}

.partners h2 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.055em;
}

.partners .section-intro { margin-top: .65rem; }

.partner-list {
  --tile-width: calc((100% - 4rem) / 5);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.partner-list li {
  flex: 0 0 var(--tile-width);
  min-width: 0;
}

.partner-list a {
  display: grid;
  grid-template-rows: 3.75rem auto;
  align-content: start;
  justify-items: center;
  gap: .8rem;
  min-height: 100%;
  padding: 1rem .7rem;
  border: 1px solid var(--line);
  border-radius: .3rem;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.partner-list a:hover { border-color: var(--green); background: var(--paper); }
.partner-list img { width: min(100%, 7.5rem); height: 100%; object-fit: contain; }

.funding { border-top: 1px solid var(--line); }

.funding-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  padding-block: 1.75rem;
}

.funding img { width: 7rem; height: auto; }
.funding h2 { font-size: 1rem; font-weight: 700; }
.funding p { margin-top: .28rem; color: var(--muted); font-size: .94rem; }

@media (max-width: 1050px) {
  .partner-list { --tile-width: calc((100% - 2rem) / 3); }
}

@media (max-width: 760px) {
  .hero { grid-template: "copy" auto "visual" auto / minmax(0, 1fr); }
  .hero-inner { grid-area: copy; }
  .hero-copy { padding-block: 3.5rem 2.5rem; }
  .hero-visual { grid-area: visual; width: 100%; min-height: clamp(13rem, 71vw, 29rem); }
  .hero-visual::after { background: linear-gradient(var(--navy), transparent 28%); }
  .radar { width: 43vw; }
  .research-inner { grid-template-columns: 1fr; }
  .partner-list { --tile-width: calc((100% - 1rem) / 2); }
  .funding-inner { grid-template-columns: auto 1fr; gap: .5rem 1.25rem; }
  .funding .text-link { grid-column: 2; }
  .funding img { width: 5.5rem; grid-row: span 2; }
}

@media (max-width: 390px) {
  .masthead-inner { min-height: 4.75rem; }
  .brand img { width: 3.1rem; }
  .section-links { gap: .75rem; font-size: .82rem; }
  h1 { font-size: clamp(2.48rem, 11.4vw, 2.8rem); }
}
