/** Common Styles **************************************************/

body.homepage .fade {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

body.homepage .fade:not(.fade-static) {
  transform: translateY(40px);
}

body.homepage .fade.init {
  opacity: 1;
  transform: translateY(0);
}

footer {
  overflow: hidden;
}

/** Desktop Small & Large **********/
@media all and (min-width: 1025px) {
  body.homepage header {
    transform: translateY(-100%);
    transition: background 0.35s, transform 0.6s ease 0.35s;
  }

  body.homepage.homepage-noanimate header {
    transition: background 0.35s;
    transform: translateY(0);
  }

  body.homepage.homepage-init header {
    transform: translateY(0);
  }
}

/** Homepage **************************************************/

/** Hero **************************************************/

section#homepage-hero {
  align-items: center;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

section#homepage-hero::after {
  background-color: rgb(0 0 0 / 30%);
  content: "";
  inset: 0;
  position: absolute;
}

section#homepage-hero div.container {
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

section#homepage-hero strong,
section#homepage-hero ul li {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section#homepage-hero strong {
  display: block;
  font-family: "MercuryDisplay";
  text-align: center;
  transition-delay: 0.95s;
}

section#homepage-hero ul li {
  transition-delay: 1.6s;
  position: relative;
}

section#homepage-hero ul li:hover a {
  transform: translateY(-10px);
}

section#homepage-hero ul li a {
  align-items: center;
  color: #fff;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s ease;
}

section#homepage-hero ul li a::before {
  display: none;
}

section#homepage-hero ul li a img {
  display: block;
}

section#homepage-hero ul li a small {
  display: block;
  font-family: "Benton Sans Bd", "Helvetica", Arial, sans-serif;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}

body.homepage-init section#homepage-hero strong,
body.homepage-init section#homepage-hero ul li {
  opacity: 1;
  transform: translateY(0);
}

/** Mobile & Tablet **********/
@media all and (max-width: 1024px) {
  section#homepage-hero {
    min-height: calc((var(--vh, 1vh) * 100) - 60px);
  }

  section#homepage-hero.vh {
    height: calc((var(--vh, 1vh) * 100) - 60px);
  }

  section#homepage-hero div.container {
    height: auto;
    padding: 60px 0;
  }
}

/** Mobile **********/
@media all and (max-width: 767px) {
  section#homepage-hero strong {
    font-size: 31px;
    line-height: 41px;
    margin-bottom: 40px;
  }

  section#homepage-hero ul li:not(:last-of-type) {
    margin-bottom: 25px;
  }

  section#homepage-hero ul li a img.explore {
    margin-bottom: 8px;
    width: 39px;
  }

  section#homepage-hero ul li a img.apply {
    margin-bottom: 12px;
    width: 32px;
  }

  section#homepage-hero ul li a img.speak {
    margin-bottom: 14px;
    width: 29px;
  }

  section#homepage-hero ul li a small {
    font-size: 12px;
    letter-spacing: 0.17em;
    line-height: 18px;
  }

  section#homepage-hero sub,
  section#homepage-hero sub + span {
    display: none;
  }
}

/** Tablet & Desktop **********/
@media all and (min-width: 768px) {
  section#homepage-hero div.container {
    flex: 1;
  }

  section#homepage-hero ul {
    align-items: flex-end;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
  }

  section#homepage-hero ul li:nth-child(2)::before,
  section#homepage-hero ul li:nth-child(2)::after {
    border-left: 1px solid #fff;
    content: "";
    display: block;
    height: 42px;
    position: absolute;
    top: calc(50% - 21px);
  }

  section#homepage-hero ul li:nth-child(2)::before {
    left: 0;
  }

  section#homepage-hero ul li:nth-child(2)::after {
    right: 0;
  }

  section#homepage-hero ul li a img.explore {
    margin-bottom: 14px;
    width: 46px;
  }

  section#homepage-hero ul li a img.apply {
    margin-bottom: 21px;
    width: 37px;
  }

  section#homepage-hero ul li a img.speak {
    margin-bottom: 23px;
    width: 35px;
  }

  section#homepage-hero ul li a small {
    flex: 1;
    font-size: 13px;
    letter-spacing: 0.19em;
    line-height: 21px;
    white-space: pre-line;
  }

  section#homepage-hero sub {
    font-size: 11px;
    font-weight: bold;
    left: 50%;
    letter-spacing: 0.19em;
    line-height: 14px;
    opacity: 0;
    position: absolute;
    text-transform: uppercase;
    z-index: 2;
    transform: translateX(-50%, 40px, 0);
    transition: opacity 0.8s ease 2s, transform 0.8s ease 2s;
  }

  section#homepage-hero sub + span {
    display: block;
    height: 0;
    left: calc(50% - 1px);
    overflow: hidden;
    position: absolute;
    transition: height 1.6s ease 2.6s;
    width: 1px;
    z-index: 2;
  }

  section#homepage-hero sub + span::before,
  section#homepage-hero sub + span::after {
    border-left-style: solid;
    border-left-width: 1px;
    content: "";
    display: block;
    position: absolute;
  }

  section#homepage-hero sub + span::before {
    border-left-color: #fff;
    top: 0;
  }

  section#homepage-hero sub + span::after {
    border-left-color: #646567;
  }

  body.homepage-init section#homepage-hero sub {
    opacity: 1;
    transform: translate3d(-50%, 0, 0);
  }
}

/** Tablet & Desktop SM **********/
@media all and (min-width: 768px) and (max-width: 1280px) {
  section#homepage-hero strong {
    font-size: 37px;
    line-height: 45px;
  }

  section#homepage-hero sub {
    bottom: 30px;
  }

  section#homepage-hero sub + span {
    top: calc(100% - 25px);
  }

  section#homepage-hero sub + span::before {
    height: 25px;
  }

  section#homepage-hero sub + span::after {
    top: 25px;
  }
}

/** Tablet LG & Desktop **********/
@media all and (min-width: 961px) {
  section#homepage-hero strong {
    white-space: pre-line;
  }
}

/** Tablet **********/
@media all and (min-width: 768px) and (max-width: 1024px) {
  section#homepage-hero {
    padding-bottom: 29px;
  }

  section#homepage-hero strong {
    margin-bottom: 42px;
  }

  section#homepage-hero ul li {
    padding: 0 44px;
  }

  section#homepage-hero sub + span::after {
    height: 56px;
  }

  body.homepage-init section#homepage-hero sub + span {
    height: 81px;
  }
}

/** Desktop Small & Large **********/
@media all and (min-width: 1025px) {
  section#homepage-hero {
    min-height: calc(100vh);
  }

  section#homepage-hero ul li {
    padding: 0 62px;
  }
}

/** Desktop Small **********/
@media all and (min-width: 1025px) and (max-width: 1280px) {
  section#homepage-hero {
    padding: 155px 0 44px;
  }

  section#homepage-hero strong {
    margin-bottom: 40px;
  }

  section#homepage-hero sub + span::after {
    height: 80px;
  }

  body.homepage-init section#homepage-hero sub + span {
    height: 105px;
  }
}

/** Desktop Large **********/
@media all and (min-width: 1281px) {
  section#homepage-hero {
    padding: 155px 0 53px;
  }

  section#homepage-hero strong {
    font-size: 46px;
    line-height: 56px;
    margin-bottom: 50px;
  }

  section#homepage-hero sub {
    bottom: 39px;
  }

  section#homepage-hero sub + span {
    top: calc(100% - 32px);
  }

  section#homepage-hero sub + span::before {
    height: 32px;
  }

  section#homepage-hero sub + span::after {
    height: 100px;
    top: 32px;
  }

  body.homepage-init section#homepage-hero sub + span {
    height: 132px;
  }
}

/** Ticker **************************************************/

section#homepage-ticker {
  letter-spacing: 0.02em;
  position: relative;
}

section#homepage-ticker::after {
  border-bottom-color: #222;
  border-bottom-style: solid;
  bottom: 0;
  content: "";
  display: block;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}

section#homepage-ticker h2 {
  color: #a37e27;
  font-family: "Benton Sans";
  font-weight: bold;
  text-align: center;
}

section#homepage-ticker h2::before {
  display: none;
}

section#homepage-ticker p {
  font-family: "MercuryDisplay";
  text-align: center;
}

section#homepage-ticker p strong {
  font-weight: bold;
}

section#homepage-ticker p em {
  font-style: italic;
}

section#homepage-ticker p a {
  color: inherit;
}

section#homepage-ticker p a::before {
  border-bottom-color: #222;
  z-index: 2;
}

section#homepage-ticker p a::after {
  border-bottom: 1px solid #222;
  content: "";
  display: block;
  left: 0;
  position: absolute;
  transition: opacity 0.2s ease-out 0.5s;
  width: 100%;
}

section#homepage-ticker p a:hover::after {
  opacity: 0;
  transition: none;
}

/** Mobile & Tablet **********/
@media all and (max-width: 1024px) {
  section#homepage-ticker h2 {
    font-size: 20px;
    line-height: 27px;
  }

  section#homepage-ticker::after {
    border-width: 2px;
    width: 32px;
  }

  section#homepage-ticker p {
    font-size: 22px;
    line-height: 31px;
  }
}

/** Mobile **********/
@media all and (max-width: 767px) {
  section#homepage-ticker {
    padding: 47px 0 42px;
  }

  section#homepage-ticker p a::after {
    bottom: 2px;
  }
}

/** Tablet & Desktop **********/
@media all and (min-width: 768px) {
  section#homepage-ticker p a::after {
    bottom: 5px;
  }
}

/** Tablet **********/
@media all and (min-width: 768px) and (max-width: 1024px) {
  section#homepage-ticker {
    padding: 78px 0 40px;
  }
}

/** Desktop Small **********/
@media all and (min-width: 1025px) and (max-width: 1280px) {
  section#homepage-ticker {
    padding: 103px 054px;
  }

  section#homepage-ticker::after {
    border-width: 3px;
    width: 52px;
  }

  section#homepage-ticker h2 {
    font-size: 26px;
    line-height: 36px;
  }

  section#homepage-ticker p {
    font-size: 29px;
    line-height: 41px;
  }
}

/** Desktop Large **********/
@media all and (min-width: 1281px) {
  section#homepage-ticker {
    padding: 126px 0 76px;
  }

  section#homepage-ticker::after {
    border-width: 4px;
    width: 52px;
  }

  section#homepage-ticker h2 {
    font-size: 32px;
    line-height: 45px;
  }

  section#homepage-ticker p {
    font-size: 36px;
    line-height: 51px;
  }
}

/** All Programs **************************************************/

section.text-intro#all-programs ul li h3,
section.text-intro#all-programs ul li h4 {
  display: block;
  font-family: "Benton Sans";
  font-weight: bold;
}

section.text-intro#all-programs ul li h3::before {
  display: none;
}

section.text-intro#all-programs ul li a {
  color: #222;
}

section.text-intro#all-programs ul li a::before {
  border-bottom: 1px solid #222;
}

/** Mobile **********/
@media all and (max-width: 767px) {
  section.text-intro#all-programs h2 {
    font-size: 32px;
    line-height: 37px;
    margin-bottom: 30px;
  }

  section.text-intro#all-programs ul li {
    font-size: 13px;
    line-height: 24px;
  }

  section.text-intro#all-programs ul li:not(:last-of-type) {
    margin-bottom: 24px;
  }

  section.text-intro#all-programs ul li h3 {
    font-size: 19px;
    margin-bottom: 16px;
    line-height: 23px;
  }

  section.text-intro#all-programs ul li h4 {
    font-size: 14px;
  }
}

/** Tablet & Desktop **********/
@media all and (min-width: 768px) {
  section.text-intro#all-programs ul {
    align-items: flex-start;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
  }

  section.text-intro#all-programs ul li {
    width: calc(50% - 34px);
  }
}

/** Tablet & Desktop SM **********/
@media all and (min-width: 768px) and (max-width: 1280px) {
  section.text-intro#all-programs h2 {
    font-size: 37px;
    line-height: 43px;
  }

  section.text-intro#all-programs h2::before {
    border-top-width: 4px;
    top: -22px;
    width: 40px;
  }

  section.text-intro#all-programs ul li {
    font-size: 15px;
    line-height: 27px;
  }

  section.text-intro#all-programs ul li h3 {
    font-size: 22px;
    margin-bottom: 24px;
    line-height: 26px;
  }

  section.text-intro#all-programs ul li h4 {
    font-size: 16px;
    line-height: 18px;
  }
}

/** Tablet **********/
@media all and (min-width: 768px) and (max-width: 1024px) {
  section.text-intro#all-programs h2 {
    margin-bottom: 35px;
  }
}

/** Desktop Small **********/
@media all and (min-width: 1025px) and (max-width: 1280px) {
  section.text-intro#all-programs h2 {
    margin-bottom: 44px;
  }
}

/** Desktop Large **********/
@media all and (min-width: 1281px) {
  section.text-intro#all-programs h2 {
    font-size: 46px;
    line-height: 54px;
    margin-bottom: 63px;
  }

  section.text-intro#all-programs ul li {
    font-size: 18px;
    line-height: 13px;
    width: calc(50% - 34px);
  }

  section.text-intro#all-programs ul li h3 {
    font-size: 28px;
    margin-bottom: 24px;
    line-height: 34px;
  }

  section.text-intro#all-programs ul li h3:not(:first-child) {
    margin-top: 21px;
  }

  section.text-intro#all-programs ul li h4 {
    font-size: 20px;
    line-height: 23px;
  }

  section.text-intro#all-programs ul li a {
    line-height: 34px;
  }
}
