:root {
  --black: #000;
  --near-black: #111;
  --charcoal: #252525;
  --ink: #1b1b1b;
  --text: #333;
  --muted: #555;
  --blue: #005ea8;
  --blue-dark: #003f73;
  --green: #4d8d2a;
  --green-dark: #2f6b1f;
  --gold: #f7c548;
  --gray-5: #f7f7f7;
  --gray-10: #f0f0f0;
  --gray-20: #dfe1e2;
  --gray-30: #c9c9c9;
  --white: #fff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Source Sans Pro Web", "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.wrap {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 1000;
  padding: 8px 12px;
  color: #000;
  background: var(--gold);
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.official-strip {
  min-height: 23px;
  color: #1a1a1a;
  background: #f8f8f8;
  border-bottom: 1px solid #d6d7d9;
  font-size: 12px;
}

.official-strip__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 23px;
}

.official-strip a {
  margin-left: 4px;
  color: #005ea8;
  font-weight: 700;
}

.dot-mark {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: inset 0 0 0 3px #d6e9f8;
}

.masthead {
  color: var(--white);
  background: var(--black);
}

.masthead__top {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) 230px minmax(360px, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 104px;
}

.identity {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--white);
}

.identity:hover,
.identity:focus {
  text-decoration: none;
}

.identity__mark {
  display: grid;
  place-items: center;
  width: 86px;
  height: 44px;
  color: #000;
  background: var(--white);
  border-left: 9px solid var(--green);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
}

.identity__text {
  display: grid;
  gap: 1px;
  max-width: 380px;
}

.identity__text strong {
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.identity__text span {
  color: #d7d7d7;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
}

.time-panel {
  justify-self: center;
  min-width: 210px;
  padding: 7px 12px 8px;
  text-align: center;
  border-top: 1px solid #777;
  border-bottom: 1px solid #777;
}

.time-panel span,
.time-panel small {
  display: block;
  color: #cfcfcf;
  font-size: 11px;
  line-height: 1.2;
}

.time-panel strong {
  display: block;
  margin: 2px 0;
  color: var(--white);
  font-family: "Courier New", Courier, monospace;
  font-size: 18px;
  letter-spacing: 0;
}

.header-tools {
  justify-self: end;
  width: min(100%, 450px);
}

.utility-links {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 12px;
}

.utility-links a {
  color: #e9e9e9;
  font-weight: 700;
}

.search-box {
  display: grid;
  grid-template-columns: 1fr 78px;
  height: 32px;
}

.search-box label,
.wide-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.search-box input,
.wide-search input {
  min-width: 0;
  border: 0;
  padding: 0 10px;
  font: inherit;
  font-size: 14px;
}

.search-box button,
.wide-search button {
  border: 0;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
}

.main-nav {
  border-top: 1px solid #1c1c1c;
  border-bottom: 1px solid #303030;
}

.main-nav__inner {
  display: flex;
  position: relative;
  min-height: 38px;
  overflow: visible;
}

.nav-item {
  position: relative;
  flex: 0 0 auto;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  color: var(--white);
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  line-height: inherit;
  border-left: 1px solid #333;
  cursor: pointer;
}

.nav-item:last-child .nav-link {
  border-right: 1px solid #333;
}

.nav-link:hover,
.nav-link:focus,
.nav-item.is-open .nav-link {
  color: var(--white);
  background: #1c1c1c;
  text-decoration: none;
}

.mega-menu {
  display: none;
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 0;
  width: min(720px, calc(100vw - 40px));
  grid-template-columns: minmax(0, .95fr) minmax(260px, 1.05fr);
  gap: 28px;
  padding: 28px 32px;
  color: var(--white);
  background: #245f9f;
  box-shadow: 0 10px 20px rgba(0,0,0,.35);
}

.mega-menu--right {
  right: 0;
  left: auto;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu,
.nav-item.is-open .mega-menu {
  display: grid;
}

.mega-menu h2 {
  color: var(--white);
  font-size: 28px;
}

.mega-menu h2::after {
  background: var(--white);
}

.mega-menu p {
  max-width: 360px;
  margin: 14px 0 0;
  color: #eef5fb;
}

.mega-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.35);
}

.mega-menu li {
  border-bottom: 1px solid rgba(255,255,255,.35);
}

.mega-menu a {
  display: block;
  padding: 11px 0;
  color: var(--white);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 395px;
  color: var(--white);
  background: var(--black);
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.88) 38%, rgba(0,0,0,.52) 70%, rgba(0,0,0,.28) 100%),
    url("/assets/lab-research.jpg") center right / cover no-repeat;
  opacity: .95;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 58px 0 64px;
  max-width: var(--max);
}

.eyebrow,
.card-kicker {
  margin: 0 0 12px;
  color: #d8d8d8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 520px;
  margin: 0;
  color: var(--white);
  font-size: clamp(40px, 5vw, 58px);
  line-height: .98;
  letter-spacing: 0;
  font-weight: 900;
}

.hero h1::after {
  content: "";
  display: block;
  width: 190px;
  height: 12px;
  margin-top: 12px;
  background: var(--green);
}

.hero p:not(.eyebrow) {
  max-width: 470px;
  margin: 21px 0 0;
  color: #e6e6e6;
  font-size: 17px;
}

.outline-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 26px;
  padding: 8px 14px;
  color: var(--white);
  border: 2px solid var(--green);
  background: rgba(77,141,42,.15);
  font-weight: 800;
}

.outline-link:hover,
.outline-link:focus {
  color: var(--white);
  background: var(--green-dark);
  text-decoration: none;
}

.what-we-do {
  padding: 56px 0 44px;
  background: var(--white);
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 58px;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(31px, 3.4vw, 47px);
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 900;
}

h2::after {
  content: "";
  display: block;
  width: 78px;
  height: 5px;
  margin-top: 12px;
  background: var(--green);
}

.split-intro p {
  max-width: 620px;
  margin: 18px 0 0;
  color: #343434;
}

.topic-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  column-gap: 30px;
  row-gap: 11px;
  padding-top: 18px;
}

.topic-links a {
  position: relative;
  display: block;
  padding: 4px 0 4px 19px;
  color: var(--blue);
  font-weight: 800;
  line-height: 1.2;
}

.topic-links a::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 5px;
  background: var(--green);
}

.topic-links a:nth-child(2n)::before {
  background: var(--gold);
}

.topic-links a:nth-child(3n)::before {
  background: var(--blue);
}

.program-strip {
  background: #e9ecef;
  border-top: 1px solid var(--gray-20);
  border-bottom: 3px solid var(--blue);
}

.program-strip__inner {
  display: grid;
  grid-template-columns: 300px 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.program-logo,
.program-tile {
  min-height: 116px;
  padding: 24px 26px;
  color: var(--ink);
  background: #f4f4f4;
  border-right: 1px solid #cfd2d4;
}

.program-logo {
  display: grid;
  place-content: center;
  text-align: center;
  background: var(--white);
}

.program-logo span {
  color: var(--blue-dark);
  font-size: 31px;
  font-weight: 900;
  line-height: 1;
}

.program-logo strong {
  color: var(--green-dark);
  font-size: 20px;
}

.program-tile strong,
.program-tile span {
  display: block;
}

.program-tile strong {
  color: var(--blue-dark);
  font-size: 18px;
}

.program-tile span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

.program-logo:hover,
.program-tile:hover {
  background: #fff;
  text-decoration: none;
}

.news-block {
  padding: 55px 0 62px;
  background: #f5f5f5;
}

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

.section-heading a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  color: var(--blue-dark);
  background: var(--white);
  border: 1px solid #b8c7d5;
  font-weight: 800;
}

.section-heading a:hover {
  background: #f8fbfd;
  text-decoration: none;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  gap: 22px;
}

.lead-card {
  display: grid;
  grid-template-columns: minmax(240px, .86fr) minmax(0, 1.14fr);
  min-height: 310px;
  background: var(--white);
  border-top: 6px solid var(--green);
  box-shadow: 0 1px 2px rgba(0,0,0,.16);
}

.lead-card img,
.small-news img,
.program-grid img,
.institute-panel__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead-card__body {
  padding: 24px 26px;
}

.card-kicker {
  color: var(--green-dark);
}

.lead-card h3,
.small-news h3 {
  margin: 0;
  line-height: 1.14;
}

.lead-card h3 {
  font-size: 29px;
}

.lead-card p:not(.card-kicker) {
  margin: 14px 0;
  color: var(--muted);
}

time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.small-news {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.small-news article {
  min-height: 0;
  background: var(--white);
  border-top: 5px solid var(--blue);
  box-shadow: 0 1px 2px rgba(0,0,0,.16);
}

.small-news img {
  height: 126px;
}

.small-news h3 {
  padding: 14px 14px 8px;
  font-size: 18px;
}

.small-news time {
  display: block;
  padding: 0 14px 14px;
}

.institute-panel {
  padding: 58px 0;
  background: var(--white);
}

.institute-panel__grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: stretch;
}

.institute-panel__image {
  min-height: 360px;
  background: #222;
}

.institute-panel__text {
  padding: 34px 38px;
  color: var(--white);
  background: var(--green-dark);
}

.institute-panel__text h2,
.institute-panel__text p,
.institute-panel__text a {
  color: var(--white);
}

.institute-panel__text h2::after {
  background: var(--white);
}

.institute-panel__text p {
  max-width: 620px;
  font-size: 18px;
}

.institute-panel__text ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.32);
}

.institute-panel__text li {
  border-bottom: 1px solid rgba(255,255,255,.32);
}

.institute-panel__text a {
  display: block;
  padding: 12px 0;
  font-weight: 800;
}

.topics-page {
  padding: 54px 0 64px;
  background: var(--white);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.program-grid article {
  border-top: 5px solid var(--blue);
  background: var(--white);
}

.program-grid img {
  height: 148px;
}

.program-grid h3 {
  margin: 15px 0 8px;
  padding: 0 2px;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.14;
}

.program-grid p {
  margin: 0;
  padding: 0 2px 0;
  color: var(--muted);
  font-size: 14px;
}

.resources {
  padding: 58px 0;
  color: var(--white);
  background: var(--charcoal);
}

.resources h2,
.resources p {
  color: var(--white);
}

.resources h2::after {
  background: var(--gold);
}

.resources__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 54px;
}

.resources__grid p {
  max-width: 540px;
  color: #e0e0e0;
}

.resource-list {
  display: grid;
  gap: 12px;
}

.resource-list a {
  display: block;
  padding: 18px 20px;
  color: var(--white);
  background: #333;
  border-left: 6px solid var(--gold);
}

.resource-list a:hover {
  background: #3a3a3a;
  text-decoration: none;
}

.resource-list strong,
.resource-list span {
  display: block;
}

.resource-list strong {
  font-size: 20px;
}

.resource-list span {
  margin-top: 4px;
  color: #ddd;
}

.search-surface {
  padding: 52px 0;
  background: #f6f8fa;
  border-top: 1px solid var(--gray-20);
}

.wide-search {
  display: grid;
  grid-template-columns: 1fr 110px;
  max-width: 720px;
  height: 46px;
  margin-top: 20px;
  border: 1px solid var(--gray-30);
  background: var(--white);
}

.wide-search input {
  font-size: 16px;
}

.about {
  padding: 58px 0;
  background: var(--white);
}

.about__grid,
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 52px;
}

.about p,
.contact p {
  color: var(--muted);
  font-size: 17px;
}

.about h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 24px;
}

.about h3 + p {
  margin-top: 0;
}

.contact {
  padding: 48px 0;
  background: #e8eff5;
  border-top: 1px solid #cdd8e2;
}

.contact dl {
  margin: 0;
  padding: 22px 26px;
  background: var(--white);
  border-left: 7px solid var(--blue);
}

.contact dt {
  margin: 14px 0 3px;
  color: var(--ink);
  font-weight: 900;
}

.contact dt:first-child {
  margin-top: 0;
}

.contact dd {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 34px 0 28px;
  color: #d7d7d7;
  background: #262626;
}

.footer__main {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.25fr);
  gap: 40px;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 6px;
}

.footer-brand strong {
  color: var(--white);
  font-size: 30px;
  line-height: 1;
}

.footer-brand span {
  color: #d0d0d0;
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 9px 18px;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

.footer__legal {
  display: grid;
  gap: 6px;
  margin-top: 26px;
  padding-top: 20px;
  color: #c6c6c6;
  border-top: 1px solid #555;
  font-size: 12px;
}

.footer__legal a {
  margin-right: 16px;
  color: var(--white);
}

@media (max-width: 1080px) {
  .masthead__top {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 0;
  }

  .time-panel,
  .header-tools {
    justify-self: stretch;
    width: 100%;
  }

  .utility-links {
    justify-content: flex-start;
  }

  .split-intro,
  .news-layout,
  .institute-panel__grid,
  .resources__grid,
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .program-strip__inner {
    grid-template-columns: 1fr;
  }

  .program-logo,
  .program-tile {
    border-right: 0;
    border-bottom: 1px solid #cfd2d4;
  }

  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(100% - 28px, var(--max));
  }

  .official-strip__inner {
    align-items: flex-start;
    padding: 6px 0;
  }

  .identity {
    align-items: flex-start;
  }

  .identity__mark {
    width: 72px;
    height: 39px;
    font-size: 20px;
  }

  .identity__text strong {
    font-size: 24px;
  }

  .main-nav__inner {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .mega-menu {
    display: none !important;
  }

  .hero {
    min-height: 470px;
  }

  .hero__image {
    background:
      linear-gradient(180deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.84) 55%, rgba(0,0,0,.54) 100%),
      url("/assets/lab-research.jpg") center / cover no-repeat;
  }

  .hero__content {
    padding: 52px 0 66px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .topic-links,
  .small-news,
  .lead-card,
  .program-grid,
  .footer__main,
  .site-footer nav {
    grid-template-columns: 1fr;
  }

  .lead-card img {
    height: 205px;
  }

  .small-news img,
  .program-grid img {
    height: 165px;
  }

  .wide-search,
  .search-box {
    grid-template-columns: 1fr;
    height: auto;
  }

  .search-box input,
  .wide-search input,
  .search-box button,
  .wide-search button {
    min-height: 42px;
  }
}
