@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;
  --slate: #17283e;
  --mint: #c6ebda;
  --coral: #f5a796;
  --white: #f6fbf8;
  --muted: #405567;
  --logo-colors: saturate(.62) hue-rotate(21deg) brightness(1.17);
  font-family: "Instrument Sans", Arial, sans-serif;
  color: var(--slate);
  background: var(--slate);
  -webkit-font-smoothing: antialiased;
}

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

body {
  background: var(--slate) url("/assets/biotech-glass.jpg") 72% 35% / cover no-repeat;
}

.shell {
  width: min(100% - 2 * clamp(1.25rem, 5vw, 5rem), 80rem);
  margin-inline: auto;
}

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

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

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  border-bottom: 1px solid rgb(23 40 62 / .14);
  background: rgb(239 249 244 / .94);
}

.header-inner { min-height: 5.3rem; }

.brand {
  display: block;
  width: clamp(8.35rem, 15vw, 12.1rem);
  mix-blend-mode: multiply;
}

.brand img {
  width: 100%;
  height: auto;
  filter: var(--logo-colors);
}

.site-header nav a {
  display: inline-block;
  padding-block: .55rem;
  border-bottom: 2px solid var(--coral);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 650;
}

.site-header nav a:hover { border-color: var(--slate); }

.hero {
  color: var(--white);
  background: linear-gradient(90deg, #17283e 0%, rgb(23 40 62 / .98) 24%, rgb(23 40 62 / .88) 43%, rgb(23 40 62 / .6) 63%, rgb(23 40 62 / .17) 100%);
}

.hero-inner {
  display: grid;
  align-items: center;
  min-height: clamp(34rem, 49vw, 45rem);
  padding-block: clamp(4.3rem, 7.5vw, 7.8rem);
}

.hero-copy::before {
  display: block;
  width: 2.85rem;
  height: 3px;
  margin-bottom: clamp(1.4rem, 2.7vw, 2.15rem);
  background: var(--coral);
  content: "";
}

.hero h1 {
  max-width: min(18ch, 65vw);
  font-size: clamp(2.7rem, 5.15vw, 5.3rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.055em;
  word-spacing: .025em;
  overflow-wrap: break-word;
}

.hero h1 span { color: var(--mint); }

.hero-copy p {
  max-width: 30rem;
  margin-top: clamp(1.35rem, 2.75vw, 2rem);
  color: #e1ece9;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.65;
}

.research {
  background: linear-gradient(90deg, rgb(242 250 246 / .98), rgb(230 247 237 / .91));
  scroll-margin-top: 1rem;
}

.research-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding-block: clamp(3.5rem, 6.5vw, 6.4rem);
}

.section-label {
  display: flex;
  align-items: center;
  gap: .65rem;
  align-self: start;
  padding-top: .6rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .74rem;
  font-weight: 700;
}

.section-label img {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
}

.research h2 {
  font-size: clamp(2rem, 3.7vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.09;
}

.research-copy p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.65;
  max-width: 36rem;
}

.site-footer {
  border-top: 1px solid rgb(198 235 218 / .2);
  background: rgb(23 40 62 / .95);
}

.footer-inner {
  min-height: 5rem;
  color: #e1ece9;
  font-size: .8rem;
}

@media (max-width: 48rem) {
  body { background-position: 65% 35%; }
  .header-inner { min-height: 4.45rem; }
  .hero {
    background: linear-gradient(115deg, rgb(23 40 62 / .98) 2%, rgb(23 40 62 / .88) 56%, rgb(23 40 62 / .55) 100%);
  }
  .hero-inner {
    min-height: 0;
    padding-block: 4rem 4.4rem;
  }
  .hero h1 {
    max-width: min(19ch, 100%);
    font-size: clamp(2.35rem, 7.2vw, 4.15rem);
  }
  .research-inner { grid-template-columns: 1fr; gap: 1rem; }
  .section-label { padding-top: 0; }
  .footer-inner { min-height: 4.55rem; }
}
