/* Make the school's purpose immediately legible, without shrinking the brand. */
.leap-header {
  height: 96px;
}

.leap-header .header-wrap {
  gap: 26px;
}

.leap-header .leap-brand {
  gap: 12px;
  min-width: 0;
}

.leap-header .leap-brand > span {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 19px;
  font-size: 34px;
  line-height: 1;
}

.leap-header .brand-credit {
  display: block;
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding-left: 18px;
  border-left: 1px solid #b2cca445;
  font-family: var(--jp);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
  white-space: nowrap;
  color: #bdccbc;
}

.leap-header .brand-operator {
  display: block;
  font-size: 12px;
}

.leap-header .brand-school {
  display: block;
  margin-top: 3px;
  color: #ebf0e4;
  font-size: 13px;
  font-weight: 600;
}

.leap-header .leap-brand > i {
  align-self: center;
  font-size: 23px;
}

.leap-header .desktop-nav {
  gap: 21px;
}

.hero-inner {
  height: auto;
  min-height: clamp(860px, calc(100svh - 96px), 1060px);
}

.hero-school-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 14px;
  width: fit-content;
  max-width: 100%;
  color: #e4edde;
  font-size: clamp(21px, 2.05vw, 28px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -.035em;
  text-shadow: 0 2px 22px #06140f70;
}

.hero-school-title > span,
.hero-school-title > strong {
  display: block;
}

.hero-school-title > strong {
  color: #d3fa76;
  font-size: clamp(29px, 2.65vw, 38px);
  font-weight: 700;
  letter-spacing: -.04em;
}

.hero-copy {
  padding-top: 32px;
  padding-bottom: 35px;
}

@media (max-width: 1250px) {
  .leap-header .desktop-nav {
    display: none;
  }

  .leap-header .menu-toggle {
    display: grid;
  }

  .leap-header .header-actions {
    margin-left: auto;
  }
}

@media (max-width: 800px) {
  html {
    scroll-padding-top: 134px;
  }

  .leap-header {
    height: 116px;
  }

  .leap-header .header-wrap {
    position: relative;
    align-items: flex-start;
    width: calc(100% - 32px);
    gap: 15px;
    padding-top: 13px;
  }

  .leap-header .leap-brand {
    position: static;
    align-items: center;
    gap: 8px;
    min-height: 42px;
  }

  .leap-header .leap-brand > span {
    display: block;
    font-size: 30px;
  }

  .leap-header .leap-brand img {
    width: 22px;
    height: 31px;
  }

  .leap-header .leap-brand > i {
    font-size: 22px;
  }

  .leap-header .brand-credit {
    display: block;
    position: absolute;
    left: 0;
    bottom: 11px;
    width: 100%;
    padding: 0;
    border: 0;
    line-height: 1.5;
    white-space: normal;
  }

  .leap-header .brand-school {
    margin-top: 2px;
    font-size: 13px;
  }

  .leap-header .header-actions {
    align-items: center;
    gap: 10px;
  }

  .leap-header .header-cta {
    min-height: 42px;
    padding: 8px;
    gap: 8px;
    font-size: 12px;
  }

  .leap-header .header-cta > span {
    font-size: 19px;
  }

  .leap-header .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero-inner {
    min-height: clamp(860px, calc(100svh - 116px), 1060px);
  }

  .hero-school-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    font-size: 22px;
    line-height: 1.5;
  }

  .hero-school-title > strong {
    font-size: 33px;
  }
}

@media (max-width: 700px) {
  .hero-inner {
    min-height: 0;
    padding-top: 28px;
  }

  .hero-school-title {
    font-size: clamp(18px, 4.9vw, 22px);
  }

  .hero-school-title > strong {
    font-size: clamp(28px, 7.4vw, 34px);
  }

  .hero-copy {
    padding-top: 27px;
    padding-bottom: 285px;
  }
}
