/* Homepage specific styling goes here. Excluded on all subpages */
/* For most builds, this stylesheet should be wiped and started fresh */

/* PRELOADER */
.preloader-outer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9;
  width: 100%;
  height: 100vh;
  background-color: var(--color-white);
  transition: opacity 600ms ease-out;
}

.preloader-outer.active {
  visibility: visible !important;
}

.preloader-outer.preloader-remove {
  opacity: 0;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.preloader-inner p {
  margin-bottom: 15px;
}

.preloader-inner p:last-of-type {
  margin: 0;
}

.preloader-part {
  margin: 20px;
  display: none;
}

.preloader-part-left.active {
  display: block;
  -webkit-animation: fadeinright 800ms ease-out;
  animation: fadeInRight 800ms ease-out;
}

.preloader-part-right.active {
  display: block;
  -webkit-animation: fadeinleft 500ms ease-out;
  animation: fadeInLeft 500ms ease-out;
}

/* HERO */
.hero {
  padding-top: 110px;
  padding-bottom: 179px;
  position: relative;
  min-height: 620px;
  height: 90vh;
  text-align: center;
  background-image: url('../images/hero-bg.jpg');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  overflow: hidden;
}

.hero .row {
  max-width: calc(1070px + var(--gutter-size) * 2);
}

.hero:before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: linear-gradient(319.61deg, rgba(24, 43, 75, 0) 37.65%, rgba(24, 43, 75, 0.53) 74.6%);
  content: '';
  pointer-events: none;
}

.hero-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-family-heading), sans-serif;
  color: var(--color-white);
}

.hero-title {
  margin-bottom: 6px;
  font-size: 3.75rem;
  text-transform: uppercase;
  color: inherit;
  overflow: hidden;
  line-height: 1.05;
  letter-spacing: -0.188rem;
}

.hero-title span {
  animation-delay: 700ms;
  display: block;
}

.hero-title em {
  display: block;
  font-style: normal;
  color: var(--color-secondary);
}

.hero-subtitle {
  margin-bottom: 5px;
  font-size: 1.375rem;
  text-transform: uppercase;
  overflow: hidden;
  line-height: 1.2;
}

.hero-subtitle span {
  display: block;
  animation-delay: 1200ms;
}

.hero-tagline {
  font-size: 0.813rem;
  overflow: hidden;
  animation-delay: 1700ms;
}

.hero-tagline span {
  display: block;
}

.hero .button {
  min-width: 170px;
  animation-delay: 2200ms;
}

.hero .button:hover,
.hero .button:focus-visible {
  background-color: var(--color-gray);
}


.hero-image {
  position: absolute;
  bottom: -95px;
  bottom: 20px;
  left: 50%;
  width: 340px;
  height: 290px;
  pointer-events: none;
  animation-delay: 2500ms;
  transform: translateX(-50%);
}

.hero-image svg {
  width: 100%;
  height: 100%;
}

.hero-image-mask {
  animation-delay: 3000ms;
}

.hero-tagline {
  color: var(--color-white);
}

@media screen and (min-width: 768px) {
  .hero {
    padding-top: 72px;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    text-align: left;
    min-height: 620px;
    height: auto;
  }

  .hero:before {
    background: linear-gradient(319.61deg, rgba(24, 43, 75, 0) 37.65%, rgba(24, 43, 75, 0.53) 74.6%);
  }

  .hero-title {
    margin-bottom: 4px;
    font-size: 4.375rem;
    line-height: 1;
    letter-spacing: -0.188rem;
  }

  .hero-subtitle {
    margin-bottom: 11px;
    font-size: 1.5rem;
  }

  .hero-tagline {
    margin-bottom: 24px;
    font-size: 1rem;
    letter-spacing: -0.006rem;
  }

  .hero-image {
    bottom: 0;
    width: 586px;
    height: 514px;
    transform: translateX(0);
  }

  .hero-image svg {
    width: auto;
    height: auto;
  }

}

@media screen and (min-width: 1025px) {
  .hero {
    min-height: 730px;
  }

  .hero-title {
    font-size: 6.25rem;
    letter-spacing: -0.313rem;
  }

  .hero-subtitle {
    font-size: 2.125rem;
  }

  .hero-tagline {
    font-size: 1.188rem;
    letter-spacing: -0.025rem;
  }

  .hero-image {
    margin-left: -18px;
    width: 686px;
    height: 614px;
  }
}

@media screen and (min-width: 1441px) {
  .hero {
    padding-top: 72px;
    min-height: 1040px;
  }

  .hero .row {
    max-width: calc(1540px + var(--gutter-size) * 2);
  }

  .hero-title {
    margin-bottom: 16px;
    font-size: 8.75rem;
    letter-spacing: -0.438rem;
  }

  .hero-subtitle {
    margin-bottom: 28px;
    font-size: 3rem;
  }

  .hero-tagline {
    margin-bottom: 28px;
    font-size: 1.5rem;
    letter-spacing: -0.031rem;
  }

  .hero-image {
    margin-left: -27px;
    width: 987px;
    height: 866px;
  }
}

/* INTRO */
.intro {
  padding-top: 24px;
  padding-bottom: 35px;
  font-size: 1.125rem;
  font-weight: 500;
  text-align: center;
  color: var(--color-blue);
  line-height: 1.67;
}

.intro .row {
  max-width: calc(911px + var(--gutter-size) * 2);
}

.intro p {
  margin-bottom: 33px;
}

.intro span {
  margin-bottom: 0;
  padding: 0 40px;
  display: inline-block;
  font-size: 1.5rem;
  font-family: var(--font-family-heading), sans-serif;
  position: relative;
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: -0.031rem;
}

.intro span em {
  display: block;
  font-style: normal;
}

.intro span:before,
.intro span:after {
  position: absolute;
  bottom: 13px;
  left: -144px;
  width: 169px;
  height: 1px;
  background-color: var(--color-blue);
  content: '';
  pointer-events: none;
}

.intro span:after {
  left: auto;
  right: -144px;
}

@media screen and (min-width: 768px) {
  .intro {
    padding-top: 108px;
    padding-bottom: 68px;
    font-size: 1.25rem;
    line-height: 1.55;
  }

  .intro p {
    margin-bottom: 28px;
  }

  .intro span:before {
    left: -167px;
  }

  .intro span:after {
    right: -167px;
  }

  .intro span em {
    display: inline-block;
  }
}

/* BUILT */
.built {
  padding-top: 46px;
  padding-bottom: 46px;
  position: relative;
  color: var(--color-white);
  background-color: var(--color-blue);
  text-align: center;
}

.built:after {
  position: absolute;
  bottom: -60px;
  left: 50%;
  z-index: 2;
  width: 2px;
  height: 90px;
  content: '';
  transform: translateX(-50%);
  pointer-events: none;
  background-color: var(--color-gray);
}

.built-text {
  position: relative;
  z-index: 1;
  font-size: 1.125rem;
  line-height: 1.62;
}

.built h2 {
  margin-bottom: 17px;
  font-size: 2.25rem;
  color: inherit;
  overflow: hidden;
  text-transform: uppercase;
}

.built h2 span {
  display: block;
}

.built p:last-of-type {
  margin-bottom: 0;
}

.built-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  pointer-events: none;
}

.built-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width: 768px) {
  .built {
    padding-top: 79px;
    padding-bottom: 93px;
  }

  .built:after {
    bottom: -80px;
    height: 120px;
  }

  .built h2 {
    margin-bottom: 9px;
    font-size: 2.813rem;
  }

  .built p {
    margin-right: auto;
    margin-left: auto;
    max-width: 850px;
  }
}

/* BUSINESS */
.business {
  position: relative;
  padding-top: 60px;
  padding-bottom: 60px;
  overflow: hidden;
}

.business-box {
  position: relative;
  z-index: 1;
  padding: 50px 25px;
  color: var(--color-white);
  text-align: center;
  background-color: var(--color-blue);
  overflow: hidden;
}

.business-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.business-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-text {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  line-height: 1.75;
}

.business h2 {
  margin-bottom: 4px;
  font-size: 2.25rem;
  line-height: 1.1;
  color: inherit;
  text-transform: uppercase;
}

.business-subheading {
  margin-bottom: 20px;
  font-family: var(--font-family-heading);
  font-size: 1.25rem;
  line-height: 1.3;
  text-transform: uppercase;
}

.business-text p {
  margin-bottom: 25px;
}

.business-text .button {
  min-width: 200px;
}

.business-text .button:hover,
.business-text .button:focus-visible {
  color: var(--color-black);
  background-color: var(--color-white);
}

.business-bottom {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 7rem;
  line-height: 1;
  letter-spacing: -2px;
  white-space: nowrap;
  pointer-events: none;
  color: rgba(50, 70, 104, 0.05);
  font-family: var(--font-family-heading);
}

@media screen and (min-width: 768px) {
  .business {
    padding-top: 80px;
    padding-bottom: 75px;
  }

  .business-box {
    padding: 75px 40px 65px;
  }

  .business-text {
    margin-right: auto;
    margin-left: auto;
    max-width: 580px;
  }

  .business h2 {
    font-size: 2.813rem;
  }

  .business-subheading {
    margin-bottom: 22px;
    font-size: 1.5rem;
  }

  .business-bottom {
    bottom: -40px;
    font-size: 9.375rem;
    letter-spacing: 9px;
  }
}

@media screen and (min-width: 1201px) {
  .business-bottom {
    bottom: -120px;
    font-size: 23.438rem;
    letter-spacing: -8px;
  }
}

/* IMAGE-TEXT */
.image-text {
  margin-bottom: 38px;
  padding-top: 30px;
  padding-bottom: 45px;
  background-color: rgba(50, 70, 104, 0.05);
}

.image-text-left {
  /* margin-right: calc(var(--gutter-size) * -1); */
  margin-bottom: 30px;
}

.image-text-left img {
  width: 100%;
}

.image-text h2 {
  margin-bottom: 21px;
  font-size: 2.25rem;
}

.image-text h2 span {
  display: block;
}

.image-text-content {
  padding-left: 28px;
  line-height: 1.8;
  position: relative;
}

.image-text-content p {
  margin-bottom: 21px;
}

.image-text-content:before {
  position: absolute;
  top: 7px;
  left: -1px;
  width: 3px;
  height: 0;
  content: '';
  pointer-events: none;
  background-color: var(--color-gray);
  transition: 1s .5s ease-out;
}

.image-text-content.animated:before {
  height: calc(100% - 7px);
}

.image-text-right br {
  display: none;
}

@media screen and (min-width: 768px) {
  .image-text {
    padding-top: 60px;
    padding-bottom: 60px;
    margin-bottom: 100px;
  }

  .image-text h2 {
    margin-bottom: 35px;
    font-size: 2.813rem;
  }

  .image-text-holder {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .image-text-left {
    width: 43%;
    order: 2;
  }

  .image-text-content {
    padding-left: 57px;
  }

  .image-text-left {
    margin-bottom: 0;
  }

  .image-text-left img {
    margin-left: auto;
    width: auto;
  }

  .image-text-right {
    padding-right: 25px;
    width: 57%;
    order: 1;
  }

  .image-text-right br {
    display: block;
  }
}

@media screen and (min-width: 1025px) {
  .image-text-holder {
    align-items: center;
  }
}

@media screen and (min-width: 1201px) {
  .image-text-left {
    margin-right: calc(var(--gutter-size) * -2);
  }
}

/* insight */
.insight {
  position: relative;
  padding-bottom: 85px;
  overflow: hidden;
}

.insight-holder {
  position: relative;
  z-index: 1;
}

.insight h2 {
  font-size: 2.25rem;
  margin-bottom: 30px;
}

.insight-text h3 {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  margin-bottom: 22px;
  font-family: var(--font-family-body);
}

.insight-item {
  font-size: 0.875rem;
  margin-bottom: 5px;
  color: var(--color-primary);
}

.insight-item i {
  margin-right: 8px;
  color: var(--color-primary);
}

.insight-item a {
  color: var(--color-secondary);
}

.insight-item a:focus,
.insight-item a:hover {
  color: var(--color-primary);
}

.insight-item:last-of-type {
  margin-bottom: 22px;
}

.insight-bottom {
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%);
  margin-left: -2px;
  font-size: 7rem;
  line-height: 1;
  letter-spacing: -2px;
  pointer-events: none;
  color: rgba(50, 70, 104, 0.05);
  font-family: var(--font-family-heading);
}

@media screen and (min-width: 768px) {
  .insight {
    padding-top: 50px;
    padding-bottom: 120px;
  }

  .insight-holder {
    display: flex;
    justify-content: space-between;
  }

  .insight-heading {
    width: 40%;
  }

  .insight h2 {
    font-size: 2.813rem;
    margin-bottom: 39px;
  }

  .insight-text {
    width: 49.5%;
  }

  .insight-text h3 {
    font-size: 1.5rem;
    margin-bottom: 14px;
  }

  .insight-item {
    margin-bottom: 4px;
  }

  .insight-item:last-of-type {
    margin-bottom: 0;
  }

  .insight-bottom {
    bottom: -40px;
    font-size: 9.375rem;
    letter-spacing: 9px;
  }
}

@media screen and (min-width: 1201px) {
  .insight {
    padding-bottom: 160px;
  }

  .insight-heading {
    width: 35%;
  }

  .insight-bottom {
    bottom: -120px;
    font-size: 23.438rem;
    letter-spacing: -8px;
    margin-left: -16px;
  }
}

@media screen and (min-width: 1441px) {
  .insight-bottom {
    margin-left: 2px;
  }
}