.stem-home-entry {
  padding: clamp(6rem, 11vw, 11rem) var(--pad);
  color: #f3f6f7;
  background: #0a2a43;
  border-bottom: 1px solid rgba(103, 199, 232, .32);
}

.stem-home-entry h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(4rem, 10vw, 10rem);
  letter-spacing: -.07em;
  line-height: .85;
}

.stem-home-subtitle {
  margin: 1.5rem 0 0;
  color: #67c7e8;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.8rem, 4vw, 3.8rem);
  font-style: italic;
}

.stem-home-themes {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .7rem;
  margin: 1.25rem 0 0;
  color: rgba(243, 246, 247, .8);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 700;
}

.stem-home-themes b {
  color: #67c7e8;
}

.stem-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.stem-page .stem-hero {
  display: flex;
  min-height: 92svh;
  align-items: center;
  overflow-x: hidden;
  padding: clamp(8rem, 14vw, 14rem) var(--pad) clamp(6rem, 10vw, 10rem);
  background: #061522;
}

.stem-hero-inner {
  width: min(100%, 82rem);
  min-width: 0;
}

.stem-program-label {
  margin: 0 0 1rem;
  color: #67c7e8;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.stem-page .stem-hero h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(4.5rem, 12vw, 11rem);
  letter-spacing: -.075em;
  line-height: .8;
}

.stem-page .stem-rooted {
  margin: 2rem 0 0;
  color: #67c7e8;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  font-style: italic;
}

.stem-page .stem-themes {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .7rem;
  margin: 1rem 0 0;
  color: rgba(243, 246, 247, .82);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
}

.stem-page .stem-themes b {
  color: #2e86b7;
}

.stem-learning-areas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid rgba(103, 199, 232, .32);
}

.stem-learning-areas div {
  padding: 1.5rem;
  border-right: 1px solid rgba(103, 199, 232, .32);
  border-bottom: 1px solid rgba(103, 199, 232, .32);
}

.stem-learning-areas div:nth-child(even) {
  border-right: 0;
}

.stem-learning-areas dt {
  color: #67c7e8;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.stem-learning-areas dd {
  margin: .65rem 0 0;
  color: rgba(243, 246, 247, .82);
}

.stem-framework-list strong {
  color: #f3f6f7;
}

.stem-framework-list > div {
  grid-template-columns: 1fr;
}

.stem-framework-list small {
  display: block;
  margin-top: .3rem;
  color: rgba(243, 246, 247, .72);
  font-size: .9rem;
}

@media (max-width: 760px) {
  .stem-home-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .stem-home-actions .button {
    justify-content: space-between;
  }

  .stem-learning-areas {
    grid-template-columns: 1fr;
  }

  .stem-learning-areas div,
  .stem-learning-areas div:nth-child(even) {
    border-right: 0;
  }
}

@media (max-width: 1100px) {
  .stem-page .terry-actions .button {
    max-width: calc(100% - 1.25rem);
  }
}

@media (max-width: 500px) {
  .stem-hero-inner {
    width: calc(100vw - 2.5rem);
    max-width: calc(100vw - 2.5rem);
  }

  .stem-home-entry h2,
  .stem-page .stem-hero h1 {
    font-size: clamp(3rem, 17vw, 5rem);
  }

  .stem-page .stem-themes {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .stem-page .terry-actions {
    width: 100%;
    min-width: 0;
  }

  .stem-page .terry-actions .button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    gap: 1rem;
    white-space: normal;
  }
}
